diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0886-drm-amd-dal-Fixed-active-dongle-not-light-up-issue.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0886-drm-amd-dal-Fixed-active-dongle-not-light-up-issue.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0886-drm-amd-dal-Fixed-active-dongle-not-light-up-issue.patch b/common/recipes-kernel/linux/files/0886-drm-amd-dal-Fixed-active-dongle-not-light-up-issue.patch new file mode 100644 index 00000000..46ba84f5 --- /dev/null +++ b/common/recipes-kernel/linux/files/0886-drm-amd-dal-Fixed-active-dongle-not-light-up-issue.patch @@ -0,0 +1,41 @@ +From d9a3ca6816f486312fee0a7639a1334b64463dd9 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Tue, 8 Mar 2016 15:18:18 -0500 +Subject: [PATCH 0886/1110] drm/amd/dal: Fixed active dongle not light up + issue. + +Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c +index 68a167b..0232956 100644 +--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c ++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c +@@ -480,8 +480,8 @@ static void detect_dp( + + /* DP active dongles */ + if (is_dp_active_dongle(link)) { ++ link->public.type = dc_connection_active_dongle; + if (!link->dpcd_caps.sink_count.bits.SINK_COUNT) { +- link->public.type = dc_connection_none; + /* + * active dongle unplug processing for short irq + */ +@@ -607,7 +607,9 @@ bool dc_link_detect(const struct dc_link *dc_link, bool boot) + &audio_support, boot); + + /* Active dongle downstream unplug */ +- if (link->public.type == dc_connection_none) ++ if (link->public.type == dc_connection_active_dongle ++ && link->dpcd_caps.sink_count. ++ bits.SINK_COUNT == 0) + return true; + + if (link->public.type == dc_connection_mst_branch) { +-- +2.7.4 + |