thunderbolt: Add bandwidth management for Display Port tunnels
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 26 Mar 2019 13:03:48 +0000 (16:03 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Sat, 2 Nov 2019 09:13:31 +0000 (12:13 +0300)
commita11b88add4401d006ab593c525c0dddc8ace7655
treef9665916fcc015190ca2614ad3dcee16ed320e33
parent8afe909b78e16ee4baecf78fd4e404aabf425f8c
thunderbolt: Add bandwidth management for Display Port tunnels

Titan Ridge supports Display Port 1.4 which adds HBR3 (High Bit Rate)
rates that may be up to 8.1 Gb/s over 4 lanes. This translates to
effective data bandwidth of 25.92 Gb/s (as 8/10 encoding is removed by
the DP adapters when going over Thunderbolt fabric). If another high
rate monitor is connected we may need to reduce the bandwidth it
consumes so that it fits into the total 40 Gb/s available on the
Thunderbolt fabric.

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