thunderbolt: Increase DisplayPort Connection Manager handshake timeout
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 24 May 2023 07:41:57 +0000 (10:41 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 29 May 2023 09:49:00 +0000 (12:49 +0300)
commitb6d572aeb58a5e0be86bd51ea514c4feba996cc4
tree3296fc4d4f8b4f5b5821a2b71762c5c3056936ae
parent70c2e03e9aaf17496c63f6e42333c012f5ae5307
thunderbolt: Increase DisplayPort Connection Manager handshake timeout

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>
drivers/thunderbolt/tunnel.c