mbox series

[0/8] thunderbolt: Add support for DisplayPort bandwidth allocation mode

Message ID 20230105113559.68531-1-mika.westerberg@linux.intel.com
Headers show
Series thunderbolt: Add support for DisplayPort bandwidth allocation mode | expand

Message

Mika Westerberg Jan. 5, 2023, 11:35 a.m. UTC
Hi all,

This series implements an optional feature in USB4 spec called
DisplayPort bandwidth allocation mode. This allows the graphics driver
to negotiate with the Thunderbolt driver the bandwidth requirements
dynamically through DP IN adapters of the host router (graphics driver
uses DP AUX registers for this). This enables more "fine grained"
bandwidth allocation.

Mika Westerberg (8):
  thunderbolt: Use decimal port number in control and tunnel logs too
  thunderbolt: Log DP adapter type
  thunderbolt: Improve debug logging in tb_available_bandwidth()
  thunderbolt: Take CL states into account when waiting for link to come up
  thunderbolt: Increase timeout of DP OUT adapter handshake
  thunderbolt: Add functions to support DisplayPort bandwidth allocation mode
  thunderbolt: Include the additional DP IN double word in debugfs dump
  thunderbolt: Add support for DisplayPort bandwidth allocation mode

 drivers/thunderbolt/ctl.c     |  52 +++-
 drivers/thunderbolt/ctl.h     |   2 +
 drivers/thunderbolt/debugfs.c |   5 +-
 drivers/thunderbolt/switch.c  |  42 ++-
 drivers/thunderbolt/tb.c      | 504 ++++++++++++++++++++++++++++--
 drivers/thunderbolt/tb.h      |  37 +++
 drivers/thunderbolt/tb_msgs.h |  11 +-
 drivers/thunderbolt/tb_regs.h |  36 +++
 drivers/thunderbolt/tunnel.c  | 496 ++++++++++++++++++++++++++---
 drivers/thunderbolt/tunnel.h  |  18 ++
 drivers/thunderbolt/usb4.c    | 571 ++++++++++++++++++++++++++++++++++
 11 files changed, 1689 insertions(+), 85 deletions(-)

Comments

Mika Westerberg Jan. 17, 2023, 9:54 a.m. UTC | #1
On Thu, Jan 05, 2023 at 01:35:51PM +0200, Mika Westerberg wrote:
> Hi all,
> 
> This series implements an optional feature in USB4 spec called
> DisplayPort bandwidth allocation mode. This allows the graphics driver
> to negotiate with the Thunderbolt driver the bandwidth requirements
> dynamically through DP IN adapters of the host router (graphics driver
> uses DP AUX registers for this). This enables more "fine grained"
> bandwidth allocation.
> 
> Mika Westerberg (8):
>   thunderbolt: Use decimal port number in control and tunnel logs too
>   thunderbolt: Log DP adapter type
>   thunderbolt: Improve debug logging in tb_available_bandwidth()
>   thunderbolt: Take CL states into account when waiting for link to come up
>   thunderbolt: Increase timeout of DP OUT adapter handshake
>   thunderbolt: Add functions to support DisplayPort bandwidth allocation mode
>   thunderbolt: Include the additional DP IN double word in debugfs dump
>   thunderbolt: Add support for DisplayPort bandwidth allocation mode

All applied to thunderbolt.git/next.