]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: change zstate allow msg condition
authorEric Yang <Eric.Yang2@amd.com>
Wed, 30 Jun 2021 22:22:51 +0000 (18:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 18:35:46 +0000 (14:35 -0400)
commit324cd94f70ada84897607d31d88b8df66e2d11ff
treed0a9ee6bec87a5e4d931a764bcef9f5a69e7ba46
parent21afa9a640df8944d2f863a518844ba33560d0c9
drm/amd/display: change zstate allow msg condition

[Why]
PMFW message which previously thought to only control Z9 controls both
Z9 and Z10. Also HW design team requested that Z9 must only be supported
on eDP due to content protection interop.

[How]
Change zstate support condition to match updated policy

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c