aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch
new file mode 100644
index 00000000..7978e156
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0655-drm-amd-display-Disable-4k-60-HDMI-on-DCE11.patch
@@ -0,0 +1,40 @@
+From eb076cfe0b9da32a52ce24215433ec7b5a1f4c16 Mon Sep 17 00:00:00 2001
+From: David Francis <David.Francis@amd.com>
+Date: Tue, 25 Sep 2018 11:23:31 -0400
+Subject: [PATCH 0655/2940] drm/amd/display: Disable 4k 60 HDMI on DCE11
+
+[Why]
+Carrizo and Stoney have severe corruption when trying to power
+4k 60 monitors over HDMI connectors that support 4k 60.
+
+Carrizo and Stoney require retimers and redrivers to support 4k 60
+over HDMI. This driver does not currently support these. Thus, 4k 60
+HDMI (and all other modes requiring over 300MHz) should be disabled.
+
+[How]
+Reduce the dce11 HDMI pixel clock cap to 300000kHz.
+
+Signed-off-by: David Francis <David.Francis@amd.com>
+Reviewed-by: Roman Li <Roman.Li@amd.com>
+Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
+index c5714ebb9cea..1a90e1a38055 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
+@@ -568,7 +568,7 @@ static struct input_pixel_processor *dce110_ipp_create(
+
+ static const struct encoder_feature_support link_enc_feature = {
+ .max_hdmi_deep_color = COLOR_DEPTH_121212,
+- .max_hdmi_pixel_clock = 594000,
++ .max_hdmi_pixel_clock = 300000,
+ .flags.bits.IS_HBR2_CAPABLE = true,
+ .flags.bits.IS_TPS3_CAPABLE = true
+ };
+--
+2.17.1
+