aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch
new file mode 100644
index 00000000..fff9fd18
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0608-drm-amd-display-Fix-eDP-power-isn-t-off-when-lid-clo.patch
@@ -0,0 +1,33 @@
+From 097201473a7565fb020dd836fe61d6bec3686c81 Mon Sep 17 00:00:00 2001
+From: John Wu <john.wu@amd.com>
+Date: Wed, 12 Jul 2017 14:25:52 +0800
+Subject: [PATCH 0608/4131] drm/amd/display: Fix eDP power isn't off when lid
+ close
+
+Signed-off-by: John Wu <john.wu@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_link_hwss.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c
+index 4f46ff1..0092e70 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c
+@@ -112,8 +112,10 @@ void dp_disable_link_phy(struct core_link *link, enum signal_type signal)
+ if (!link->wa_flags.dp_keep_receiver_powered)
+ dp_receiver_power_ctrl(link, false);
+
+- if (signal == SIGNAL_TYPE_EDP)
++ if (signal == SIGNAL_TYPE_EDP) {
+ link->link_enc->funcs->backlight_control(link->link_enc, false);
++ link->link_enc->funcs->power_control(link->link_enc, false);
++ }
+
+ link->link_enc->funcs->disable_output(link->link_enc, signal);
+
+--
+2.7.4
+