diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0812-drm-amd-dal-Fixed-HDMI-DVI-dongle-not-light-up-issue.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0812-drm-amd-dal-Fixed-HDMI-DVI-dongle-not-light-up-issue.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0812-drm-amd-dal-Fixed-HDMI-DVI-dongle-not-light-up-issue.patch b/common/recipes-kernel/linux/files/0812-drm-amd-dal-Fixed-HDMI-DVI-dongle-not-light-up-issue.patch new file mode 100644 index 00000000..4fa645a5 --- /dev/null +++ b/common/recipes-kernel/linux/files/0812-drm-amd-dal-Fixed-HDMI-DVI-dongle-not-light-up-issue.patch @@ -0,0 +1,37 @@ +From 8e75667d141c823d595bc3e4a0a47f285676a1a1 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Thu, 18 Feb 2016 13:42:55 -0500 +Subject: [PATCH 0812/1110] drm/amd/dal: Fixed HDMI-DVI dongle not light up + issue. + +Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/core/dc_resource.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c +index 5d9095e..18cddfd 100644 +--- a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c ++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c +@@ -747,6 +747,17 @@ static void set_stream_signal(struct pipe_ctx *pipe_ctx) + } + + pipe_ctx->signal = dc_sink->sink_signal; ++ ++ /* Down-grade pipe_ctx signal instead of sink singal from HDMI to DVI ++ * here based on audio info in stream. This allows DC to handle stream ++ * with or without audio on a HDMI connector. ++ * ++ * On a HDMI to DVI passive dongle, audio info is not available from the ++ * EDID and the signal is down-graded in pipe ctx. ++ */ ++ if (pipe_ctx->signal == SIGNAL_TYPE_HDMI_TYPE_A && ++ pipe_ctx->stream->public.audio_info.mode_count == 0) ++ pipe_ctx->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; + } + + enum dc_status map_resources( +-- +2.7.4 + |