diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2018-09-17 10:05:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-10-09 17:02:22 -0500 |
commit | ceb9831dd6e5dfb79f94b205eade4ecc29e26d60 (patch) | |
tree | 5d25c385351fc60f05b6702006f51f20bd3e8e64 /drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | |
parent | e15fc81f11854451ec8a8ed9168b8247e4e9a10b (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c')
0 files changed, 0 insertions, 0 deletions