]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: initialize p_state to proper value
authorJun Lei <Jun.Lei@amd.com>
Fri, 31 May 2019 19:14:13 +0000 (15:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:07 +0000 (14:18 -0500)
commitce8570a30ee6c562a7311083dbd9d51e337eaf3e
tree8f4a892135b659824f7b9e54cef2a14ac03b3f44
parent2b88c8a08c23aa3687e0131c315a88d709cc764c
drm/amd/display: initialize p_state to proper value

[why]
On some modes SMU will be in infinite loop state at boot, this is
because driver assumes p_state_support is false, but this is the
opposite of the assumed boot state by SMU.  we optimize away
notifying SMU about no pstate, and so they will get stuck

[how]
when we init clk manager, init pstate to true, so it matches driver load
assumption

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c