summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmy Zhang <Amy.Zhang@amd.com>2017-05-24 14:53:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:07:36 -0400
commitece22899a46551dcd8e9f3296ce1ec8ac9e07dc4 (patch)
tree09f5f42417eb23302b866c55d01e1239af70dc42
parent72dfad50179bb8c813d7c3a7ce149dafc4586fe6 (diff)
downloadlinux-ece22899a46551dcd8e9f3296ce1ec8ac9e07dc4.tar.bz2
drm/amd/display: Disable PSR entry abort to prevent intermittent freezes
Signed-off-by: Amy Zhang <Amy.Zhang@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c5
1 files changed, 5 insertions, 0 deletions
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
*/