RFC drm/display/dp_tunnel: Add debugfs surface for BWA validation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/display/dp_tunnel: Add debugfs interface with info filedrivers/ include/ | +256 | 0 replies | |
| 2/7 | drm/display/dp_tunnel: Add bw_alloc_enable debugfs knobdrivers/ | +74 | 0 replies | |
| 3/7 | drm/display/dp_tunnel: Add bw_limit debugfs cap for BW pressure injectiondrivers/ | +75 | 0 replies | |
| 4/7 | drm/i915/dp_tunnel: Wire up DP tunnel debugfs from DRM coredrivers/ | +22 | 0 replies | |
| 5/7 | drm/i915/display: Expose DP tunnel debugfs under each connectordrivers/ drivers/ drivers/ | +44 | 0 replies | |
| 6/7 | drm/display/dp_tunnel: Sync SW allocated_bw after enabling BW allocdrivers/ | +16 | 0 replies | |
| 7/7 | drm/i915/dp_tunnel: Re-attach dp_tunnel debugfs to MST children on re-detectdrivers/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/7] drm/display/dp_tunnel: Add debugfs surface for BWA validation
Add a debugfs surface to the DRM display DP-tunnel core so IGT (kms_tbt) can drive deterministic tests of Bandwidth Allocation Mode on Thunderbolt / USB4 docks without depending on transient sink behaviour.
Three debugfs files are exposed per tunnel:
- info (read-only) estimated BW, allocated BW, DPRX caps, BWA state - bw_alloc_enable (r/w) toggle BWA on/off - bw_limit (r/w) inject a BW cap for mode-filtering pressure
Patches 1-3 add the DRM-core helpers, 4-5 wire them into i915, and 6-7 fix two latent BWA bugs found while testing:
- allocated_bw not synced after BWA enable (teardown loop)
- MST children lose dp_tunnel/ after tunnel re-detect
Companion IGT series (kms_tbt) posted separately.
Kunal Joshi (7):
drm/display/dp_tunnel: Add debugfs interface with info file drm/display/dp_tunnel: Add bw_alloc_enable debugfs knob drm/display/dp_tunnel: Add bw_limit debugfs cap for BW pressure
injection
drm/i915/dp_tunnel: Wire up DP tunnel debugfs from DRM core drm/i915/display: Expose DP tunnel debugfs under each connector drm/display/dp_tunnel: Sync SW allocated_bw after enabling BW alloc drm/i915/dp_tunnel: Re-attach dp_tunnel debugfs to MST children on
re-detect
drivers/gpu/drm/display/drm_dp_tunnel.c | 402 +++++++++++++++++- .../drm/i915/display/intel_display_debugfs.c | 22 + drivers/gpu/drm/i915/display/intel_dp.c | 11 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 11 + .../gpu/drm/i915/display/intel_dp_tunnel.c | 50 ++- include/drm/display/drm_dp_tunnel.h | 17 + 6 files changed, 511 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1