diff options
author | 2022-03-23 16:45:39 +0200 | |
---|---|---|
committer | 2023-01-17 11:37:16 +0200 | |
commit | 6ce3563520be90a155706bafc186fc264a13850e (patch) | |
tree | 8c3c4adba67ab76fdb10a9e3e98498f573a853d4 /drivers/thunderbolt/test.c | |
parent | thunderbolt: Include the additional DP IN double word in debugfs dump (diff) | |
download | linux-6ce3563520be90a155706bafc186fc264a13850e.tar.gz linux-6ce3563520be90a155706bafc186fc264a13850e.tar.bz2 linux-6ce3563520be90a155706bafc186fc264a13850e.zip |
thunderbolt: Add support for DisplayPort bandwidth allocation mode
The USB4 spec defines an optional feature that allows the connection
manager to negotiate with the graphics through DPCD registers changes in
the bandwidth allocation dynamically. This is referred as "bandwidth
allocation mode" in the spec. The connection manager uses DP IN adapters
registers to communicate with the graphics, and also gets notifications
from these adapters when the graphics wants to change the bandwidth
allocation. Both the connection manager and the graphics driver needs to
support this.
We check if the DP IN adapter supports this and if it does enable it
before establishing a DP tunnel. Then we react on DP_BW notifications
coming from the DP IN adapter and update the bandwidth allocation
accordingly (within the maximum common capabilities the DP IN/OUT
support).
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/test.c')
0 files changed, 0 insertions, 0 deletions