diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0624-drm-amd-display-fix-DVI-connected-to-HDMI-connector-.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0624-drm-amd-display-fix-DVI-connected-to-HDMI-connector-.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0624-drm-amd-display-fix-DVI-connected-to-HDMI-connector-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0624-drm-amd-display-fix-DVI-connected-to-HDMI-connector-.patch new file mode 100644 index 00000000..4a5a34ca --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0624-drm-amd-display-fix-DVI-connected-to-HDMI-connector-.patch @@ -0,0 +1,34 @@ +From 8c530545844342b3fb3b2a566473825090f7004a Mon Sep 17 00:00:00 2001 +From: Charlene Liu <charlene.liu@amd.com> +Date: Mon, 17 Jul 2017 17:46:49 -0400 +Subject: [PATCH 0624/4131] drm/amd/display: fix DVI connected to HDMI + connector max tmds clock + +Signed-off-by: Charlene Liu <charlene.liu@amd.com> +Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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_link_encoder.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +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 812c299..5663d3d 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 +@@ -830,6 +830,12 @@ bool dce110_link_encoder_validate_dvi_output( + if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) + return false; + ++ /*connect DVI via adpater's HDMI connector*/ ++ if ((connector_signal == SIGNAL_TYPE_DVI_SINGLE_LINK || ++ connector_signal == SIGNAL_TYPE_HDMI_TYPE_A) && ++ signal != SIGNAL_TYPE_HDMI_TYPE_A && ++ crtc_timing->pix_clk_khz > TMDS_MAX_PIXEL_CLOCK) ++ return false; + if (crtc_timing->pix_clk_khz < TMDS_MIN_PIXEL_CLOCK) + return false; + +-- +2.7.4 + |