aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch
new file mode 100644
index 00000000..0b2d14ad
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0685-drm-amd-display-fix-mpcc-idle-wait.patch
@@ -0,0 +1,29 @@
+From e73e1f71068874b489d55ec310c9b882be5fdb59 Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Wed, 26 Jul 2017 17:01:06 -0400
+Subject: [PATCH 0685/4131] drm/amd/display: fix mpcc idle wait
+
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dcn10/dcn10_mpc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
+index 246b60a..036f161 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
+@@ -71,7 +71,7 @@ static void mpc10_assert_idle_mpcc(struct mpc *mpc, int id)
+
+ ASSERT(!(mpc10->mpcc_in_use_mask & 1 << id));
+ REG_WAIT(MPCC_STATUS[id],
+- MPCC_BUSY, 0,
++ MPCC_IDLE, 1,
+ 1000, 1000);
+ }
+
+--
+2.7.4
+