summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorFangzhi Zuo <Jerry.Zuo@amd.com>2020-09-02 16:04:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-09-15 17:52:42 -0400
commite9462a32792c46d5ce25cb2eb37dd8f8241c8c08 (patch)
tree2d9d05962d2f0325f30f1fe4b043ab843a610655 /drivers/gpu/drm/amd/display
parenta354b942b46326ff156d7f85e07ce2a632f04165 (diff)
downloadlinux-e9462a32792c46d5ce25cb2eb37dd8f8241c8c08.tar.bz2
drm/amd/display: Further fix of psr eDP p-state warning
[Why] psr doesn't get fully disabled before hitting hubbub1_wm_change_req_wa. [How] Pass TRUE to "wait" parameter to get psr fully disabled. Follow-Up fix to: dc: PSR eDP p-state warning occurs intermittently after unplug DP Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 7ab82d6a5630..f01610df8045 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -2986,7 +2986,7 @@ bool dc_set_psr_allow_active(struct dc *dc, bool enable)
if (enable && !link->psr_settings.psr_allow_active)
return dc_link_set_psr_allow_active(link, true, false);
else if (!enable && link->psr_settings.psr_allow_active)
- return dc_link_set_psr_allow_active(link, false, false);
+ return dc_link_set_psr_allow_active(link, false, true);
}
}