From ece22899a46551dcd8e9f3296ce1ec8ac9e07dc4 Mon Sep 17 00:00:00 2001 From: Amy Zhang Date: Wed, 24 May 2017 14:53:50 -0400 Subject: [PATCH] drm/amd/display: Disable PSR entry abort to prevent intermittent freezes Signed-off-by: Amy Zhang Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 59977640f938..79f3947a3ee1 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -1550,6 +1550,11 @@ bool dc_link_setup_psr(const struct dc_link *dc_link, */ psr_context.psr_level.bits.SKIP_SMU_NOTIFICATION = 1; + /* Complete PSR entry before aborting to prevent intermittent + * freezes on certain eDPs + */ + psr_context.psr_level.bits.DISABLE_PSR_ENTRY_ABORT = 1; + /* Controls additional delay after remote frame capture before * continuing power down, default = 0 */ -- 2.30.2