[PATCH v2 00/42] drm/i915: drm/i915: Add Display Port tunnel BW allocation support

Imre Deak imre.deak at intel.com
Tue Jan 23 20:27:54 UTC 2024


Enable the DP tunnel BW allocation mode + related USB4 changes.

v2: Remove an unrelated drm/bridge patch.

Christophe JAILLET (1):
  thunderbolt: Remove usage of the deprecated ida_simple_xx() API

Gil Fine (1):
  thunderbolt: Add trace events support for the control channel

Imre Deak (20):
  drm/dp: Add drm_dp_max_dprx_data_rate()
  drm/dp: Add support for DP tunneling
  drm/i915/dp: Add support to notify MST connectors to retry modesets
  drm/i915/dp: Use drm_dp_max_dprx_data_rate()
  drm/i915/dp: Factor out intel_dp_config_required_rate()
  drm/i915/dp: Export intel_dp_max_common_rate/lane_count()
  drm/i915/dp: Factor out intel_dp_update_sink_caps()
  drm/i915/dp: Factor out intel_dp_read_dprx_caps()
  drm/i915/dp: Add intel_dp_max_link_data_rate()
  drm/i915/dp: Add way to get active pipes with syncing commits
  drm/i915/dp: Add support for DP tunnel BW allocation
  drm/i915/dp: Add DP tunnel atomic state and check BW limit
  drm/i915/dp: Account for tunnel BW limit in
    intel_dp_max_link_data_rate()
  drm/i915/dp: Compute DP tunel BW during encoder state computation
  drm/i915/dp: Allocate/free DP tunnel BW in the encoder enable/disable
    hooks
  drm/i915/dp: Handle DP tunnel IRQs
  drm/i915/dp: Call intel_dp_sync_state() always for DDI DP encoders
  drm/i915/dp: Suspend/resume DP tunnels
  drm/i915/dp: Enable DP tunnel BW allocation mode
  drm/i915/dp: Read DPRX for all short/long HPD pulses

Mika Westerberg (14):
  thunderbolt: Use DP_LOCAL_CAP for maximum bandwidth calculation
  thunderbolt: Re-calculate estimated bandwidth when allocation mode is
    enabled
  thunderbolt: Handle bandwidth allocation mode disable request
  thunderbolt: Log an error if DPTX request is not cleared
  thunderbolt: Fail the failed bandwidth request properly
  thunderbolt: Introduce tb_tunnel_direction_downstream()
  thunderbolt: Reserve released DisplayPort bandwidth for a group for 10
    seconds
  thunderbolt: No need to transition the link to symmetric during
    suspend
  thunderbolt: Make XDomain lane bonding comply with the USB4 v2 spec
  thunderbolt: Split out margining from USB4 port
  thunderbolt: Add sideband register access to debugfs
  thunderbolt: Make margining functions accept target and retimer index
  thunderbolt: Add receiver lane margining support for retimers
  HACK: thunderbolt: Add scheduling delay to the trace

Mohammad Rahimi (2):
  thunderbolt: Fix XDomain rx_lanes_show and tx_lanes_show
  thunderbolt: Fix rollback in tb_port_lane_bonding_enable() for lane 1

Sanath S (4):
  thunderbolt: Introduce tb_port_reset()
  thunderbolt: Introduce tb_path_deactivate_hop()
  thunderbolt: Make tb_switch_reset() support Thunderbolt 2, 3 and USB4
    routers
  thunderbolt: Reset topology created by the boot firmware

 drivers/gpu/drm/display/Kconfig               |   17 +
 drivers/gpu/drm/display/Makefile              |    2 +
 drivers/gpu/drm/display/drm_dp_helper.c       |   58 +
 drivers/gpu/drm/display/drm_dp_tunnel.c       | 1715 +++++++++++++++++
 drivers/gpu/drm/i915/Kconfig                  |   13 +
 drivers/gpu/drm/i915/Kconfig.debug            |    1 +
 drivers/gpu/drm/i915/Makefile                 |    3 +
 drivers/gpu/drm/i915/display/g4x_dp.c         |   28 +
 drivers/gpu/drm/i915/display/intel_atomic.c   |   10 +
 drivers/gpu/drm/i915/display/intel_ddi.c      |    9 +-
 drivers/gpu/drm/i915/display/intel_display.c  |   26 +-
 .../gpu/drm/i915/display/intel_display_core.h |    1 +
 .../drm/i915/display/intel_display_driver.c   |   20 +-
 .../drm/i915/display/intel_display_types.h    |    9 +
 drivers/gpu/drm/i915/display/intel_dp.c       |  362 ++--
 drivers/gpu/drm/i915/display/intel_dp.h       |   21 +-
 .../drm/i915/display/intel_dp_link_training.c |   33 +-
 .../drm/i915/display/intel_dp_link_training.h |    1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   18 +-
 .../gpu/drm/i915/display/intel_dp_tunnel.c    |  642 ++++++
 .../gpu/drm/i915/display/intel_dp_tunnel.h    |  131 ++
 drivers/gpu/drm/i915/display/intel_link_bw.c  |    5 +
 drivers/gpu/drm/i915/display/intel_tc.c       |    4 +-
 drivers/thunderbolt/Kconfig                   |   11 +-
 drivers/thunderbolt/Makefile                  |    1 +
 drivers/thunderbolt/ctl.c                     |   11 +
 drivers/thunderbolt/debugfs.c                 |  596 ++++--
 drivers/thunderbolt/domain.c                  |   11 +-
 drivers/thunderbolt/icm.c                     |    2 +-
 drivers/thunderbolt/lc.c                      |   45 +
 drivers/thunderbolt/nhi.c                     |   60 +-
 drivers/thunderbolt/nvm.c                     |    4 +-
 drivers/thunderbolt/path.c                    |   13 +
 drivers/thunderbolt/retimer.c                 |   49 +-
 drivers/thunderbolt/sb_regs.h                 |    4 +
 drivers/thunderbolt/switch.c                  |  138 +-
 drivers/thunderbolt/tb.c                      |  459 +++--
 drivers/thunderbolt/tb.h                      |   61 +-
 drivers/thunderbolt/tb_regs.h                 |    6 +
 drivers/thunderbolt/trace.h                   |  187 ++
 drivers/thunderbolt/tunnel.c                  |   80 +-
 drivers/thunderbolt/tunnel.h                  |    6 +
 drivers/thunderbolt/usb4.c                    |  230 ++-
 drivers/thunderbolt/xdomain.c                 |   77 +-
 include/drm/display/drm_dp.h                  |   61 +
 include/drm/display/drm_dp_helper.h           |    2 +
 include/drm/display/drm_dp_tunnel.h           |  270 +++
 include/linux/thunderbolt.h                   |    4 +
 48 files changed, 4850 insertions(+), 667 deletions(-)
 create mode 100644 drivers/gpu/drm/display/drm_dp_tunnel.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_tunnel.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_tunnel.h
 create mode 100644 drivers/thunderbolt/trace.h
 create mode 100644 include/drm/display/drm_dp_tunnel.h

-- 
2.39.2



More information about the Intel-gfx-trybot mailing list