linux/drivers/gpu/drm/amd
Yongqiang Sun ceb9831dd6 drm/amd/display: WA for DF keeps awake after S0i3.
[Why]
DF keeps awake after S0i3 resume due to DRAM_STATE_CNTL
is set by bios command table during dcn init_hw.

[How]
As a work around, check STATE_CNTL status before init_hw,
if it is 0 before init_hw and set to 1 after init_hw,
change it to 0.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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>
2018-10-09 17:02:22 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Move out power up/down sdma out of smu 2018-10-09 17:00:38 -05:00
amdkfd drm/amdkfd: Remove the requirement for atomic Ops on vg20 2018-09-27 09:39:57 -05:00
display drm/amd/display: WA for DF keeps awake after S0i3. 2018-10-09 17:02:22 -05:00
include drm/amd/powerplay: helper interfaces for MGPU fan boost feature 2018-10-09 16:59:56 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD 2018-10-09 17:01:03 -05:00