blob: 3d78030b269794b0efdcbe339e7bc254c5e46923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From 89d05e2c475630adda90240b70b0122df3680bf6 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 1374/1565] drm/amd/dal: Only run detection on shortpulse when
dealing with active dongle
Change-Id: Ia2f24e160411154134c8a78d541f56bc33081f6b
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:
--
1.9.1
|