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)
commit93c25fbdc30a6058115e7a9f3fa161f5a26f7043
tree8f4a892135b659824f7b9e54cef2a14ac03b3f44
parent53ef3969ddb88a2ee0b69d37f60bd2b1f02f23c9
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