aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch
new file mode 100644
index 00000000..763bfa91
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0181-drm-amd-display-Make-sure-to-update-address-without-.patch
@@ -0,0 +1,32 @@
+From f286620b10d466c961389dace673b2c3ecd7afa7 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Tue, 24 Jan 2017 16:06:32 -0500
+Subject: [PATCH 0181/4131] drm/amd/display: Make sure to update address
+ without flip
+
+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 | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
+index c863bff..7571815 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -1568,7 +1568,9 @@ void dc_update_surfaces_for_stream(struct dc *dc,
+ surface, context);
+ context_timing_trace(dc, &context->res_ctx);
+ }
+- } else if (updates[i].flip_addr)
++ }
++
++ if (updates[i].flip_addr)
+ core_dc->hwss.update_plane_addr(core_dc, pipe_ctx);
+
+ if (update_type == UPDATE_TYPE_FAST)
+--
+2.7.4
+