aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch
new file mode 100644
index 00000000..420a9d75
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5179-drm-amdgpu-display-disable-eDP-fast-boot-optimizatio.patch
@@ -0,0 +1,37 @@
+From e24afc5217e39de550f266f4ee4f7e777749c553 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 16 Aug 2018 15:35:21 -0500
+Subject: [PATCH 5179/5725] drm/amdgpu/display: disable eDP fast boot
+ optimization on DCE8
+
+Seems to cause blank screens.
+
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106940
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+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 3b4a9f9..2fa8d04 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
+@@ -1562,7 +1562,13 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
+ bool can_eDP_fast_boot_optimize = false;
+
+ if (edp_link) {
+- can_eDP_fast_boot_optimize =
++ /* this seems to cause blank screens on DCE8 */
++ if ((dc->ctx->dce_version == DCE_VERSION_8_0) ||
++ (dc->ctx->dce_version == DCE_VERSION_8_1) ||
++ (dc->ctx->dce_version == DCE_VERSION_8_3))
++ can_eDP_fast_boot_optimize = false;
++ else
++ can_eDP_fast_boot_optimize =
+ edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc);
+ }
+
+--
+2.7.4
+