Skip to content

Commit 8e1579a

Browse files
committed
thunderbolt: Increase DisplayPort Connection Manager handshake timeout
jira LE-1907 Rebuild_History Non-Buildable kernel-5.14.0-284.30.1.el9_2 commit-author Mika Westerberg <mika.westerberg@linux.intel.com> commit b6d572a It turns out that when plugging in VGA cable through USB-C to VGA/DVI dongle the Connection Manager handshake can take longer time, at least on Intel Titan Ridge based docks such as Dell WD91TB. This leads to following error in the dmesg: thunderbolt 0000:00:0d.3: 3:10: DP tunnel activation failed, aborting and the display stays blank (because we failed to establish the tunnel). For this reason increase the timeout to 3s. Reported-by: Koba Ko <koba.ko@canonical.com> Cc: stable@vger.kernel.org Acked-By: Yehezkel Bernat <YehezkelShB@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> (cherry picked from commit b6d572a) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent d7b070e commit 8e1579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thunderbolt/tunnel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static int tb_dp_xchg_caps(struct tb_tunnel *tunnel)
520520
* Perform connection manager handshake between IN and OUT ports
521521
* before capabilities exchange can take place.
522522
*/
523-
ret = tb_dp_cm_handshake(in, out, 1500);
523+
ret = tb_dp_cm_handshake(in, out, 3000);
524524
if (ret)
525525
return ret;
526526

0 commit comments

Comments
 (0)