drm/amdgpu: Simplify nbio doorbell range programming
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/amdgpu: Add common NBIO doorbell entry helpersdrivers/ drivers/ | +221 | 0 replies | |
| 2/13 | drm/amdgpu: Add nbio v6_3_2 doorbell layoutdrivers/ | +100 | 0 replies | |
| 3/13 | drm/amdgpu: Use common doorbell helpers in nbio v6_3_2drivers/ | +85 | 0 replies | |
| 4/13 | drm/amdgpu: Add nbio v4_3 doorbell layoutdrivers/ | +77 | 0 replies | |
| 5/13 | drm/amdgpu: Use common doorbell helpers in nbio v4_3drivers/ | +88 | 0 replies | |
| 6/13 | drm/amdgpu: Support doorbell range programming through smndrivers/ drivers/ | +25 | 0 replies | |
| 7/13 | drm/amdgpu: Use common doorbell helpers in nbio v7_9drivers/ | +204 | 0 replies | |
| 8/13 | drm/amdgpu: Use common doorbell helpers in nbio v7_11_5drivers/ | +158 | 0 replies | |
| 9/13 | drm/amdgpu: Add nbif v4_10_0 ip headersdrivers/ drivers/ | +676 | 0 replies | |
| 10/13 | drm/amdgpu: Add nbio v7_11_4 supportdrivers/ drivers/ drivers/ | +425 | 0 replies | |
| 11/13 | drm/amdgpu: Drop nbio v7_11_x support from nbif v6_3_1drivers/ drivers/ | +19 | 0 replies | |
| 12/13 | drm/amdgpu: Use common doorbell helpers in nbio v7_11_4drivers/ | +184 | 0 replies | |
| 13/13 | drm/amdgpu: Use common doorbell helpers in nbif v6_3_1drivers/ | +187 | 1 reply |
Reviews trailers per patch
5 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Likun Gao |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | R-b |
| 5/13 | R-b |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] drm/amdgpu: Simplify nbio doorbell range programming
Introduce common nbio helpers to build s2a doorbell entry values from per-generation field layouts and program them through either mmio or global SMN addresses.
Convert the nbio v4_3, v6_3_1, v6_3_2, v7_9, v7_11_4, v7_11_5 implementations
This removes duplicated register-field construction and access logic from the individual IP implementations. Future NBIO generations using the same s2a programming model can provide their field layout and client-to-port mapping while reusing the common validation and programming paths.
Hawking Zhang (13):
drm/amdgpu: Add common NBIO doorbell entry helpers drm/amdgpu: Add nbio v6_3_2 doorbell layout drm/amdgpu: Use common doorbell helpers in nbio v6_3_2 drm/amdgpu: Add nbio v4_3 doorbell layout drm/amdgpu: Use common doorbell helpers in nbio v4_3 drm/amdgpu: Support doorbell range programming through smn drm/amdgpu: Use common doorbell helpers in nbio v7_9 drm/amdgpu: Use common doorbell helpers in nbio v7_11_5 drm/amdgpu: Add nbif v4_10_0 ip headers drm/amdgpu: Add nbio v7_11_4 support
drm/amdgpu: Drop nbio v7_11_x support from nbif v6_3_1 drm/amdgpu: Use common doorbell helpers in nbio v7_11_4 drm/amdgpu: Use common doorbell helpers in nbif v6_3_1
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | 150 +++++ drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | 88 +++ drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c | 384 ++++++------ drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c | 265 +++++--- drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c | 324 +++++----- drivers/gpu/drm/amd/amdgpu/nbio_v7_11_4.c | 452 ++++++++++++++ drivers/gpu/drm/amd/amdgpu/nbio_v7_11_4.h | 32 + drivers/gpu/drm/amd/amdgpu/nbio_v7_11_5.c | 256 +++++--- drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c | 377 ++++++------ .../asic_reg/nbif/nbif_4_10_0_offset.h | 103 ++++ .../asic_reg/nbif/nbif_4_10_0_sh_mask.h | 573 ++++++++++++++++++ 13 files changed, 2307 insertions(+), 706 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v7_11_4.c create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v7_11_4.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_4_10_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_4_10_0_sh_mask.h
Signature · 1 line
2.17.1