thunderbolt: Add DP OUT resource when DP tunnel is discovered
authorSanjay R Mehta <sanju.mehta@amd.com>
Thu, 4 Aug 2022 10:48:38 +0000 (05:48 -0500)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 15 Aug 2022 09:38:31 +0000 (12:38 +0300)
commitb60e31bf18a7064032dbcb73dcb5b58f8a00a110
treead87cc07df6cfbcdd13922dda2b76df959dc0b99
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
thunderbolt: Add DP OUT resource when DP tunnel is discovered

If the boot firmware implements a connection manager of its own it may
create a DisplayPort tunnel and will be handed off to Linux connection
manager, but the DP OUT resource is not saved in the dp_resource list.

This patch adds tunnelled DP OUT port to the dp_resource list once the
DP tunnel is discovered.

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Tested-by: Renjith Pananchikkal <Renjith.Pananchikkal@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c