aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch
new file mode 100644
index 00000000..a4ca98c8
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0671-drm-amd-display-Fix-eDP-panel-light-up.patch
@@ -0,0 +1,34 @@
+From 8e1f70ea4c72baf779892545e329971ad5261d77 Mon Sep 17 00:00:00 2001
+From: Roman Li <Roman.Li@amd.com>
+Date: Tue, 25 Jul 2017 14:50:44 -0400
+Subject: [PATCH 0671/4131] drm/amd/display: Fix eDP panel light-up
+
+ Power-down panel on disale only if sink exists
+ otherwise it fails edid read during init sequence
+
+Signed-off-by: Roman Li <Roman.Li@amd.com>
+Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@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 aac2420..5bdcd50 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
+@@ -114,7 +114,9 @@ void dp_disable_link_phy(struct dc_link *link, enum signal_type signal)
+
+ 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);
++ if (link->dpcd_sink_count)
++ link->link_enc->funcs->power_control(link->link_enc,
++ false);
+ }
+
+ link->link_enc->funcs->disable_output(link->link_enc, signal);
+--
+2.7.4
+