aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch
new file mode 100644
index 00000000..0036ca06
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2487-drm-amd-display-make-sure-BL-off-to-mainlink-off-has.patch
@@ -0,0 +1,34 @@
+From 36ad38ad0598476c051695a5c853f6b4ba21d633 Mon Sep 17 00:00:00 2001
+From: Charlene Liu <charlene.liu@amd.com>
+Date: Wed, 20 Sep 2017 14:06:24 -0400
+Subject: [PATCH 2487/4131] drm/amd/display: make sure BL off to mainlink off
+ has enough time
+
+Signed-off-by: Charlene Liu <charlene.liu@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 | 7 -------
+ 1 file changed, 7 deletions(-)
+
+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 14269c4..d686811 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
+@@ -819,13 +819,6 @@ void hwss_blacklight_control(
+ return;
+ }
+
+- if (!enable && !is_panel_backlight_on(hws)) {
+- dm_logger_write(ctx->logger, LOG_HW_RESUME_S3,
+- "%s: panel already powered down. Do nothing.\n",
+- __func__);
+- return;
+- }
+-
+ /* Send VBIOS command to control eDP panel backlight */
+
+ dm_logger_write(ctx->logger, LOG_HW_RESUME_S3,
+--
+2.7.4
+