]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs
authorGil Fine <gil.fine@linux.intel.com>
Tue, 1 Oct 2024 17:30:59 +0000 (17:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:30:00 +0000 (16:30 +0200)
commitae2d54f5e5e93702d7af8bc8d43687309d250cfd
treeb2062eb181583fbb0c016f3dd84f92322ffa10e5
parent6870e5b499f1d4fbc4ac4aacb3e64aad13b35924
thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs

[ Upstream commit 8648c6465c025c488e2855c209c0dea1a1a15184 ]

Currently we only create one DisplayPort tunnel even if there would be
more DP IN/OUT pairs available. Specifically this happens when a router
is unplugged and we check if a new DisplayPort tunnel can be created. To
cover this create tunnels as long as we find suitable DP IN/OUT pairs.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Qin Wan <qin.wan@hp.com>
Signed-off-by: Alexandru Gagniuc <alexandru.gagniuc@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/tb.c