aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch
new file mode 100644
index 00000000..641c89c2
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2594-drm-amd-display-LGD-panel-willl-flash-line-under-win.patch
@@ -0,0 +1,36 @@
+From 4f1df8209b86cf3c80e93806fb5decd30cd1f1dd Mon Sep 17 00:00:00 2001
+From: Hersen Wu <hersenxs.wu@amd.com>
+Date: Tue, 10 Oct 2017 16:28:02 -0400
+Subject: [PATCH 2594/4131] drm/amd/display: LGD panel willl flash line under
+ window
+
+Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Acked-by: Harry Wentland <Harry.Wentland@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+index ca4990d..6b4053c 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+@@ -1394,6 +1394,15 @@ static void power_down_encoders(struct dc *dc)
+ int i;
+ enum connector_id connector_id;
+ enum signal_type signal = SIGNAL_TYPE_NONE;
++
++ /* do not know BIOS back-front mapping, simply blank all. It will not
++ * hurt for non-DP
++ */
++ for (i = 0; i < dc->res_pool->stream_enc_count; i++) {
++ dc->res_pool->stream_enc[i]->funcs->dp_blank(
++ dc->res_pool->stream_enc[i]);
++ }
++
+ for (i = 0; i < dc->link_count; i++) {
+ connector_id = dal_graphics_object_id_get_connector_id(dc->links[i]->link_id);
+ if ((connector_id == CONNECTOR_ID_DISPLAY_PORT) ||
+--
+2.7.4
+