aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch
new file mode 100644
index 00000000..46148565
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2760-drm-amd-display-Fix-Linux-after-optimize-frontend-pr.patch
@@ -0,0 +1,37 @@
+From 99d5b3f5d1ba90defe4a81fb94ab3675388253e4 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Wed, 8 Nov 2017 16:51:03 -0500
+Subject: [PATCH 2760/4131] drm/amd/display: Fix Linux after optimize frontend
+ programming
+
+We still require the update_plane_addr call in commit_planes_for_stream.
+
+Signed-off-by: Harry Wentland <harry.wentland@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.c | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
+index 4af3488..d4519a4 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -1275,11 +1275,8 @@ static void commit_planes_for_stream(struct dc *dc,
+ if (pipe_ctx->plane_state != plane_state)
+ continue;
+
+- if (update_type == UPDATE_TYPE_FAST) {
+- if (srf_updates[i].flip_addr)
+- dc->hwss.update_plane_addr(dc, pipe_ctx);
+- continue;
+- }
++ if (srf_updates[i].flip_addr)
++ dc->hwss.update_plane_addr(dc, pipe_ctx);
+ }
+ }
+
+--
+2.7.4
+