thunderbolt: Add DP IN added last in the head of the list of DP resources
authorGil Fine <gil.fine@linux.intel.com>
Thu, 10 Aug 2023 20:18:23 +0000 (23:18 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 13 Oct 2023 05:49:14 +0000 (08:49 +0300)
commit274baf695b08d34230253a792fcb3d6790040ab6
tree3c7dfecd7db2b8f7d8567cb7d68446e2049eee00
parent8648c6465c025c488e2855c209c0dea1a1a15184
thunderbolt: Add DP IN added last in the head of the list of DP resources

If DP IN on device router exist, position it at the beginning of the DP
resources list, so that it is used before DP IN on host router. This way
external GPU will be prioritized when pairing DP IN and DP OUT for
DisplayPort tunnel setup.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c