aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch
new file mode 100644
index 00000000..5f7e4317
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0473-drm-amd-display-Disable-PSR-entry-abort-to-prevent-i.patch
@@ -0,0 +1,33 @@
+From eca6fb20b8c19115c11ff52f374b24e04c3892e8 Mon Sep 17 00:00:00 2001
+From: Amy Zhang <Amy.Zhang@amd.com>
+Date: Wed, 24 May 2017 14:53:50 -0400
+Subject: [PATCH 0473/4131] 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>
+---
+ 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 5997764..79f3947 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.7.4
+