aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch
new file mode 100644
index 00000000..fa90e3e8
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0127-drm-amd-display-remove-HDMI-deep-color-debug-flag.patch
@@ -0,0 +1,42 @@
+From 0e0e242ead625134188dd94f3ea84906f47f14ab Mon Sep 17 00:00:00 2001
+From: Tony Cheng <tony.cheng@amd.com>
+Date: Thu, 5 Jan 2017 12:59:34 -0500
+Subject: [PATCH 0127/4131] drm/amd/display: remove HDMI deep color debug flag
+
+Signed-off-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/dc.h | 1 -
+ drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 ---
+ 2 files changed, 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
+index 6400226..e8cb7a4 100644
+--- a/drivers/gpu/drm/amd/display/dc/dc.h
++++ b/drivers/gpu/drm/amd/display/dc/dc.h
+@@ -149,7 +149,6 @@ struct dc_debug {
+ bool disable_power_gate;
+ bool disable_clock_gate;
+ bool disable_dmcu;
+- bool disable_hdmi_deep_color;
+ bool disable_color_module;
+ };
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
+index 8114458..c083376 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
++++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
+@@ -949,9 +949,6 @@ bool dce110_link_encoder_construct(
+
+ enc110->base.transmitter = init_data->transmitter;
+
+- if (enc110->base.ctx->dc->debug.disable_hdmi_deep_color)
+- enc110->base.features.max_hdmi_deep_color = COLOR_DEPTH_888;
+-
+ /* set the flag to indicate whether driver poll the I2C data pin
+ * while doing the DP sink detect
+ */
+--
+2.7.4
+