aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch
new file mode 100644
index 00000000..fc581480
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2709-drm-amd-display-Both-timing_sync-and-multisync-need-.patch
@@ -0,0 +1,35 @@
+From 89736fbf41a6fbe0a519d7996cadbbb0333ccdbc Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Mon, 30 Oct 2017 15:53:40 -0400
+Subject: [PATCH 2709/4131] drm/amd/display: Both timing_sync and multisync
+ need stream_count > 1
+
+Previous code threw a warning about misleading indentation
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Mikita Lipski <Mikita.Lipski@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 | 3 ++-
+ 1 file changed, 2 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 da8ca4d..ba2d51c 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -874,9 +874,10 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c
+ }
+ result = dc->hwss.apply_ctx_to_hw(dc, context);
+
+- if (context->stream_count > 1)
++ if (context->stream_count > 1) {
+ enable_timing_multisync(dc, context);
+ program_timing_sync(dc, context);
++ }
+
+ dc_enable_stereo(dc, context, dc_streams, context->stream_count);
+
+--
+2.7.4
+