]> 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)
commit93b6bd307a54ea62bfcf89748c80bd25b7bd3205
treed0a9ee6bec87a5e4d931a764bcef9f5a69e7ba46
parentce350c6e786ef4bc3a4ddb58f8bdf2e48219fdaa
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