thunderbolt: Reserve released DisplayPort bandwidth for a group for 10 seconds
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 9 Jan 2024 15:57:10 +0000 (17:57 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 16 Feb 2024 10:29:23 +0000 (12:29 +0200)
commit52a4490e89d7c4effe613d8dffd2ac0a2a786bd7
tree9097ba7fb7548b5eb52cccd6a951414931569483
parent769da9708ae62f3c0a491b67c9514a53e5769feb
thunderbolt: Reserve released DisplayPort bandwidth for a group for 10 seconds

The USB4 spec says that the Connection Manager should reserve the
bandwidth that is released in the same group for 10 seconds before it
can be shared with other groups. Add support for this. We also delay the
symmetric transition by that same 10 seconds to avoid any unnecessary
transitions (i.e if the released bandwidth is used by another
DisplayPort tunnel in the same group the link can stay asymmetric the
whole time).

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/domain.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h