diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0808-drm-amd-dal-Only-run-detection-on-shortpulse-when-de.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0808-drm-amd-dal-Only-run-detection-on-shortpulse-when-de.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0808-drm-amd-dal-Only-run-detection-on-shortpulse-when-de.patch b/common/recipes-kernel/linux/files/0808-drm-amd-dal-Only-run-detection-on-shortpulse-when-de.patch new file mode 100644 index 00000000..9e87e5f8 --- /dev/null +++ b/common/recipes-kernel/linux/files/0808-drm-amd-dal-Only-run-detection-on-shortpulse-when-de.patch @@ -0,0 +1,30 @@ +From 6deef291de42d06bd405bac162ea85342251c970 Mon Sep 17 00:00:00 2001 +From: Jun Lei <Jun.Lei@amd.com> +Date: Thu, 21 Jan 2016 14:08:25 -0500 +Subject: [PATCH 0808/1110] drm/amd/dal: Only run detection on shortpulse when + dealing with active dongle + +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c +index b8f7423..ed2add8 100644 +--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c ++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c +@@ -1527,8 +1527,9 @@ bool dc_link_handle_hpd_rx_irq(const struct dc_link *dc_link) + status = false; + } + +- if (hpd_irq_dpcd_data.bytes.sink_cnt.bits.SINK_COUNT +- != link->dpcd_sink_count) ++ if (link->public.type == dc_connection_active_dongle && ++ hpd_irq_dpcd_data.bytes.sink_cnt.bits.SINK_COUNT ++ != link->dpcd_sink_count) + status = true; + + /* reasons for HPD RX: +-- +2.7.4 + |