USB4 DP tunneling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest23 patches 15 repliesIn review
- v123 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Give the description of rough working flow of USB4 DP tunneling
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | drm/amd/display: Update link encoder object creation.drivers/ drivers/ drivers/ | +80 | 2 replies | |
| 2/23 | drm/amd/display: USB4 DPIA enumeration and AUX Tunnelingdrivers/ drivers/ drivers/ +5 more | +120 | 0 replies | |
| 3/23 | drm/amd/display: Support for DMUB HPD and HPD RX interrupt handlingdrivers/ drivers/ drivers/ +2 more | +45 | 0 replies | |
| 4/23 | drm/amd/display: Support USB4 dynamic link encoder selection.drivers/ drivers/ | +3 | 1 reply | |
| 5/23 | drm/amd/display: Support USB4 for display endpoint control path.drivers/ drivers/ drivers/ | +182 | 1 reply | |
| 6/23 | drm/amd/display: Support DP tunneling when DPRX detectiondrivers/ drivers/ drivers/ +2 more | +79 | 1 reply | |
| 7/23 | drm/amd/display: Update training parameters for DPIA linksdrivers/ | +7 | 1 reply | |
| 8/23 | drm/amd/display: Support USB4 when DP link trainingdrivers/ drivers/ | +8 | 1 reply | |
| 9/23 | drm/amd/display: Implement DPIA training loopdrivers/ drivers/ drivers/ +1 more | +120 | 0 replies | |
| 10/23 | drm/amd/display: Implement DPIA link configurationdrivers/ drivers/ | +45 | 0 replies | |
| 11/23 | drm/amd/display: Implement DPIA clock recovery phasedrivers/ drivers/ | +453 | 2 replies | |
| 12/23 | drm/amd/display: Implement DPIA equalisation phasedrivers/ | +244 | 0 replies | |
| 13/23 | drm/amd/display: Implement end of training for hop in DPIA display pathdrivers/ drivers/ | +82 | 0 replies | |
| 14/23 | drm/amd/display: Support for SET_CONFIG processing with DMUBdrivers/ drivers/ drivers/ +5 more | +149 | 0 replies | |
| 15/23 | drm/amd/display: Read USB4 DP tunneling data from DPCDdrivers/ drivers/ drivers/ +1 more | +66 | 0 replies | |
| 16/23 | drm/amd/display: Add dpia debug optionsdrivers/ drivers/ drivers/ +2 more | +14 | 0 replies | |
| 17/23 | drm/amd/display: Support for SET_CONFIG processing with DMUBdrivers/ drivers/ drivers/ +2 more | +94 | 0 replies | |
| 18/23 | drm/amd/display: Fix DIG_HPD_SELECT for USB4 display endpointsdrivers/ | +9 | 0 replies | |
| 19/23 | drm/amd/display: Add debug flags for USB4 DP link trainingdrivers/ drivers/ drivers/ +1 more | +18 | 4 replies | |
| 20/23 | drm/amd/display: Fix for access for ddc pin and aux enginedrivers/ drivers/ drivers/ +1 more | +10 | 0 replies | |
| 21/23 | drm/amd/display: Deadlock/HPD Status/Crash Bug Fixdrivers/ | +24 | 0 replies | |
| 22/23 | drm/amd/display: Fix USB4 Aux via DMUB terminate unexpectedlydrivers/ | +2 | 0 replies | |
| 23/23 | drm/amd/display: USB4 bring up set correct addressdrivers/ | +1 | 0 replies |
Reviews trailers per patch
All 23 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jun Lei | Wayne Lin | Nicholas Kazlauskas | Jimmy Kizito | Meenakshikumar Somasundaram | Harry Wentland |
|---|---|---|---|---|---|---|
| Series | A-b | |||||
| 1/23 | R-b | A-b | A-b | |||
| 2/23 | A-b | A-b | R-b | |||
| 3/23 | R-b | A-b | A-b | |||
| 4/23 | R-b | A-b | A-b | |||
| 5/23 | R-b | A-b | A-b | |||
| 6/23 | R-b | A-b | A-b | |||
| 7/23 | R-b | A-b | A-b | |||
| 8/23 | R-b | A-b | A-b | |||
| 9/23 | R-b | A-b | A-b | |||
| 10/23 | R-b | A-b | A-b | |||
| 11/23 | R-b | A-b | A-b | |||
| 12/23 | R-b | A-b | A-b | |||
| 13/23 | R-b | A-b | A-b | |||
| 14/23 | R-b | A-b | A-b | |||
| 15/23 | R-b | A-b | A-b | |||
| 16/23 | A-b | A-b | R-b | |||
| 17/23 | A-b | R-b | ||||
| 18/23 | A-b | A-b | R-b | |||
| 19/23 | R-b | A-b | A-b | R-b | ||
| 20/23 | A-b | A-b | R-b | |||
| 21/23 | A-b | R-b | ||||
| 22/23 | A-b | R-b | ||||
| 23/23 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v2 00/23] USB4 DP tunneling
USB4 runs over USB-C and can tunnels USB3, PCIe and DP protocols.
A USB4 router is responsible for mapping Tunneled Protocol traffic to USB4 packets and routes packets through the USB4 Fabric. For this patchset, we have native DisplayPort able to be tunneled over USB4 Fabric.
E.g.
DP source -> DPIA (DP In Adapter) -> USB4 host router -> USB4 port -> USB4 device router -> DPOA (DP Out Adapter) -> DPTX -> DP sink
Briefly, there is a CM (Connection Manager) in USB subsystem which handles relevant USB4 channel configuratons. Our DMCUB is responsible for interacting with CM to control DPIA to enable Video Path & AUX Path. Once DPIA gets into Paired state, DP source is then having a constructed end-to-end path to interact with DP sink as the conventional way.
From DP Source perspective, the USB4 Fabric and the Adapters are either totally transparent or act as an LTTPR. Besides, due to constraints of USB4 protocols, AUX transactions under USB4 now is handled by DMCUB to meet USB4 protocol requirement.
Changes since v1:
* Give the description of rough working flow of USB4 DP tunneling
---
Jimmy Kizito (14):
drm/amd/display: Update link encoder object creation. drm/amd/display: Support USB4 dynamic link encoder selection. drm/amd/display: Support USB4 for display endpoint control path. drm/amd/display: Support DP tunneling when DPRX detection drm/amd/display: Update training parameters for DPIA links drm/amd/display: Support USB4 when DP link training. drm/amd/display: Implement DPIA training loop drm/amd/display: Implement DPIA link configuration drm/amd/display: Implement DPIA clock recovery phase drm/amd/display: Implement DPIA equalisation phase drm/amd/display: Implement end of training for hop in DPIA display
path
drm/amd/display: Read USB4 DP tunneling data from DPCD. drm/amd/display: Fix DIG_HPD_SELECT for USB4 display endpoints. drm/amd/display: Add debug flags for USB4 DP link training.
Jude Shih (4):
drm/amd/display: Support for SET_CONFIG processing with DMUB drm/amd/display: Deadlock/HPD Status/Crash Bug Fix drm/amd/display: Fix USB4 Aux via DMUB terminate unexpectedly drm/amd/display: USB4 bring up set correct address
Meenakshikumar Somasundaram (5):
drm/amd/display: USB4 DPIA enumeration and AUX Tunneling drm/amd/display: Support for DMUB HPD and HPD RX interrupt handling drm/amd/display: Support for SET_CONFIG processing with DMUB drm/amd/display: Add dpia debug options
drm/amd/display: Fix for access for ddc pin and aux engine.
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 106 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 12 +- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 17 +- drivers/gpu/drm/amd/display/dc/Makefile | 2 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 179 +++- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 81 +- .../gpu/drm/amd/display/dc/core/dc_link_ddc.c | 9 +- .../gpu/drm/amd/display/dc/core/dc_link_dp.c | 36 +- .../drm/amd/display/dc/core/dc_link_dpia.c | 945 ++++++++++++++++++ drivers/gpu/drm/amd/display/dc/core/dc_stat.c | 8 + drivers/gpu/drm/amd/display/dc/dc.h | 22 + drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 31 + drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 3 + .../display/dc/dcn31/dcn31_dio_link_encoder.c | 126 ++- .../drm/amd/display/dc/dcn31/dcn31_hwseq.c | 6 + .../drm/amd/display/dc/dcn31/dcn31_resource.c | 7 + drivers/gpu/drm/amd/display/dc/dm_helpers.h | 5 + .../gpu/drm/amd/display/dc/inc/core_types.h | 3 + .../gpu/drm/amd/display/dc/inc/dc_link_ddc.h | 1 + .../gpu/drm/amd/display/dc/inc/dc_link_dpia.h | 98 ++ drivers/gpu/drm/amd/display/dc/inc/resource.h | 1 + drivers/gpu/drm/amd/display/dc/os_types.h | 1 + drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 3 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 113 ++- .../gpu/drm/amd/display/dmub/src/dmub_dcn31.c | 1 + .../drm/amd/display/dmub/src/dmub_srv_stat.c | 16 + .../gpu/drm/amd/display/include/dal_asic_id.h | 2 +- 28 files changed, 1793 insertions(+), 42 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/core/dc_link_dpia.c create mode 100644 drivers/gpu/drm/amd/display/dc/inc/dc_link_dpia.h
Signature · 1 line
2.25.1