aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch b/meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch
new file mode 100644
index 00000000..0f84b665
--- /dev/null
+++ b/meta-amdfalconx86/recipes-kernel/linux/files/0817-drm-amd-dal-blanking-fix.patch
@@ -0,0 +1,37 @@
+From ac0c42a42f2444f764a60b11a69ceffca975f94f Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Thu, 18 Feb 2016 18:56:19 -0500
+Subject: [PATCH 0817/1110] drm/amd/dal: blanking fix
+
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c | 12 +++++-------
+ 1 file changed, 5 insertions(+), 7 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+index d01a116..a642de4 100644
+--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+@@ -1448,13 +1448,11 @@ static void update_plane_addrs(struct dc *dc, struct resource_context *res_ctx)
+ PIPE_LOCK_CONTROL_SURFACE,
+ false);
+
+- if (pipe_ctx->flags.blanked) {
+- if (!pipe_ctx->tg->funcs->set_blank(pipe_ctx->tg, false)) {
+- dm_error("DC: failed to unblank crtc!\n");
+- BREAK_TO_DEBUGGER();
+- } else
+- pipe_ctx->flags.blanked = false;
+- }
++ if (!pipe_ctx->tg->funcs->set_blank(pipe_ctx->tg, false)) {
++ dm_error("DC: failed to unblank crtc!\n");
++ BREAK_TO_DEBUGGER();
++ } else
++ pipe_ctx->flags.blanked = false;
+ }
+ }
+
+--
+2.7.4
+