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:17:18 +0000 (14:17 -0500)
commit61f33f6aa88388e36ff8ef27a40b4a173c1511d1
tree9aacaad051aea26067374a5f577e1945134ec4c4
parentc6d5245d41de3a9786707b34189c41d6412fd0ba
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