aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch
new file mode 100644
index 00000000..6bf138b8
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0069-drm-amd-display-fix-hotplug-regression-after-code-re.patch
@@ -0,0 +1,33 @@
+From dac95255f9d13c246058819e8d3e833835823c3e Mon Sep 17 00:00:00 2001
+From: Roman Li <Roman.Li@amd.com>
+Date: Thu, 15 Dec 2016 11:51:09 -0500
+Subject: [PATCH 0069/4131] drm/amd/display: fix hotplug regression after code
+ refactor
+
+The condition logic of REG_WAIT in dce110_stream_encoder_dp_blank()
+got inverted after refactoring.
+
+Signed-off-by: Roman Li <Roman.Li@amd.com>
+Reviewed-by: Jordan Lazare <Jordan.Lazare@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/dce/dce_stream_encoder.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+index 0590e0a..b74a29b 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
++++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+@@ -635,7 +635,7 @@ static void dce110_stream_encoder_dp_blank(
+ */
+
+ REG_WAIT(DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS,
+- 1,
++ 0,
+ 10, max_retries);
+
+ ASSERT(retries <= max_retries);
+--
+2.7.4
+