Move to IP driven device enumeration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest64 patches 9 repliesIn review
- v166 patches 39 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/64 | drm/amdgpu: move headless sku check into harvest functiondrivers/ drivers/ | +7 | 0 replies | |
| 2/64 | drm/amdgpu: add debugfs access to the IP discovery tabledrivers/ drivers/ | +6 | 0 replies | |
| 3/64 | drm/amdgpu: store HW IP versions in the driver structuredrivers/ drivers/ | +4 | 0 replies | |
| 4/64 | drm/amdgpu: fill in IP versions from IP discovery tabledrivers/ | +2 | 0 replies | |
| 5/64 | drm/amdgpu: add XGMI HWIPdrivers/ drivers/ | +2 | 0 replies | |
| 6/64 | drm/amdgpu/nv: export common IP functionsdrivers/ drivers/ | +3 | 0 replies | |
| 7/64 | drm/amdgpu: add initial IP enumeration via IP discovery tabledrivers/ drivers/ | +334 | 0 replies | |
| 8/64 | drm/amdgpu/sdma5.0: convert to IP version checkingdrivers/ | +15 | 0 replies | |
| 9/64 | drm/amdgpu/sdma5.2: convert to IP version checkingdrivers/ | +24 | 0 replies | |
| 10/64 | drm/amdgpu/gfx10: convert to IP version checkingdrivers/ | +190 | 0 replies | |
| 11/64 | drm/amdgpu: filter out radeon PCI device IDsdrivers/ | +637 | 0 replies | |
| 12/64 | drm/amdgpu: bind to any 0x1002 PCI diplay class devicedrivers/ | +15 | 0 replies | |
| 13/64 | drm/amdgpu/gmc10.0: convert to IP version checkingdrivers/ | +30 | 0 replies | |
| 14/64 | drm/amdgpu: Use IP discovery to drive setting IP blocks by defaultdrivers/ | +4 | 0 replies | |
| 15/64 | drm/amdgpu: drive nav10 from the IP discovery tabledrivers/ | +0 | 0 replies | |
| 16/64 | drm/amdgpu/gfxhub2.1: convert to IP version checkingdrivers/ | +3 | 0 replies | |
| 17/64 | drm/amdgpu/mmhub2.0: convert to IP version checkingdrivers/ | +32 | 0 replies | |
| 18/64 | drm/amdgpu/mmhub2.1: convert to IP version checkingdrivers/ | +3 | 0 replies | |
| 19/64 | drm/amdgpu/vcn3.0: convert to IP version checkingdrivers/ | +4 | 0 replies | |
| 20/64 | drm/amdgpu/athub2.0: convert to IP version checkingdrivers/ | +3 | 0 replies | |
| 21/64 | drm/amdgpu/athub2.1: convert to IP version checkingdrivers/ | +4 | 0 replies | |
| 22/64 | drm/amdgpu/navi10_ih: convert to IP version checkingdrivers/ | +5 | 0 replies | |
| 23/64 | drm/amdgpu/amdgpu_smu: convert to IP version checkingdrivers/ | +78 | 0 replies | |
| 24/64 | drm/amdgpu/smu11.0: convert to IP version checkingdrivers/ | +46 | 0 replies | |
| 25/64 | drm/amdgpu/navi10_ppt: convert to IP version checkingdrivers/ | +25 | 0 replies | |
| 26/64 | drm/amdgpu/sienna_cichlid_ppt: convert to IP version checkingdrivers/ | +12 | 0 replies | |
| 27/64 | drm/amdgpu/nv: convert to IP version checkingdrivers/ | +38 | 1 reply | |
| 28/64 | drm/amdgpu: drive all navi asics from the IP discovery tabledrivers/ | +0 | 3 replies | |
| 29/64 | drm/amdgpu/display/dm: convert to IP version checkingdrivers/ | +108 | 0 replies | |
| 30/64 | drm/amdgpu: add DCI HWIPdrivers/ drivers/ | +2 | 0 replies | |
| 31/64 | drm/amdgpu/soc15: export common IP functionsdrivers/ drivers/ | +3 | 1 reply | |
| 32/64 | drm/amdgpu: add initial IP discovery support for vega based partsdrivers/ | +387 | 0 replies | |
| 33/64 | drm/amdgpu/soc15: get rev_id in soc15_common_early_initdrivers/ | +1 | 0 replies | |
| 34/64 | drm/amdgpu: drive all vega asics from the IP discovery tabledrivers/ | +0 | 0 replies | |
| 35/64 | drm/amdgpu: default to true in amdgpu_device_asic_has_dc_supportdrivers/ | +3 | 0 replies | |
| 36/64 | drm/amdgpu/display/dm: convert RAVEN to IP version checkingdrivers/ | +6 | 0 replies | |
| 37/64 | drm/amdgpu/sdma4.0: convert to IP version checkingdrivers/ | +60 | 0 replies | |
| 38/64 | drm/amdgpu/hdp4.0: convert to IP version checkingdrivers/ | +8 | 0 replies | |
| 39/64 | drm/amdgpu/gfx9.0: convert to IP version checkingdrivers/ | +120 | 0 replies | |
| 40/64 | drm/amdgpu/amdgpu_psp: convert to IP version checkingdrivers/ | +58 | 0 replies | |
| 41/64 | drm/amdgpu/psp_v11.0: convert to IP version checkingdrivers/ | +22 | 0 replies | |
| 42/64 | drm/amdgpu/psp_v13.0: convert to IP version checkingdrivers/ | +8 | 0 replies | |
| 43/64 | drm/amdgpu/pm/smu_v11.0: update IP version checkingdrivers/ | +12 | 0 replies | |
| 44/64 | drm/amdgpu/pm/smu_v13.0: convert IP version checkingdrivers/ | +13 | 0 replies | |
| 45/64 | drm/amdgpu/pm/amdgpu_smu: convert more IP version checkingdrivers/ | +23 | 0 replies | |
| 46/64 | drm/amdgpu/amdgpu_vcn: convert to IP version checkingdrivers/ | +21 | 0 replies | |
| 47/64 | drm/amdgpu/vcn2.5: convert to IP version checkingdrivers/ | +2 | 0 replies | |
| 48/64 | drm/amdgpu/soc15: convert to IP version checkingdrivers/ | +88 | 0 replies | |
| 49/64 | drm/amd/display: fix error case handlingdrivers/ | +6 | 0 replies | |
| 50/64 | drm/amdgpu: add VCN1 hardware IPdrivers/ | +1 | 1 reply | |
| 51/64 | drm/amdgpu: add HWID of SDMA instance 2 and 3drivers/ | +2 | 0 replies | |
| 52/64 | drm/amdgpu: get VCN and SDMA instances from IP discovery tabledrivers/ | +14 | 1 reply | |
| 53/64 | drm/amdgpu/sdma: remove manual instance settingdrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 54/64 | drm/amdgpu/vcn: remove manual instance settingdrivers/ drivers/ drivers/ +1 more | +2 | 0 replies | |
| 55/64 | drm/amdgpu: get VCN harvest information from IP discovery tabledrivers/ drivers/ | +8 | 0 replies | |
| 56/64 | drm/amdgpu/ucode: add default behaviordrivers/ | +4 | 0 replies | |
| 57/64 | drm/amdgpu: add new asic_type for IP discoverydrivers/ include/ | +2 | 0 replies | |
| 58/64 | drm/amdgpu: set CHIP_IP_DISCOVERY as the asic type by defaultdrivers/ | +2 | 0 replies | |
| 59/64 | drm/amdgpu: convert IP version array to include instancesdrivers/ drivers/ drivers/ +26 more | +385 | 1 reply | |
| 60/64 | drm/amdgpu: clean up set IP functiondrivers/ | +540 | 0 replies | |
| 61/64 | drm/amdgpu: add support for SRIOV in IP discovery pathdrivers/ | +25 | 1 reply | |
| 62/64 | drm/amdkfd: clean up parameters in kgd2kfd_probedrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 63/64 | drm/amdkfd: convert kfd_device.c to use GC IP versiondrivers/ | +178 | 0 replies | |
| 64/64 | drm/amdgpu: add an option to override IP discovery table from a filedrivers/ drivers/ | +21 | 0 replies |
Reviews trailers per patch
63 of 64 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 00/64] Move to IP driven device enumeration
This patch set moves the driver to an IP driven discovery model rather than one tied to PCI device ids. This allows the GPU driver to claim all ATI PCI display class devices. The driver will then either load or not based on the IPs (GC, SDMA, DCN, VCN, etc.) that are enumerated on the device. All recent asics contain an IP discovery table which enumerates the number and version of all IPs on the board. This avoids the need to add new DIDs for new parts even if the driver would already otherwise support the new chip (i.e., support for all of the IPs are in place). It also better handles asics which have different numbers of instances of IPs. We can just use the IP discovery table rather than maintaining hardcoded information in the driver. Finally, we can avoid adding lots of asic type checks all over the driver to add a new asic if the IP version is already supported.
V2: integrate cleanups and reworks from initial review
Alex Deucher (62):
drm/amdgpu: move headless sku check into harvest function drm/amdgpu: add debugfs access to the IP discovery table drm/amdgpu: store HW IP versions in the driver structure drm/amdgpu: fill in IP versions from IP discovery table drm/amdgpu: add XGMI HWIP
drm/amdgpu/nv: export common IP functions
drm/amdgpu: add initial IP enumeration via IP discovery table drm/amdgpu/sdma5.0: convert to IP version checking drm/amdgpu/sdma5.2: convert to IP version checking drm/amdgpu/gfx10: convert to IP version checking drm/amdgpu: filter out radeon PCI device IDs
drm/amdgpu: bind to any 0x1002 PCI diplay class device drm/amdgpu/gmc10.0: convert to IP version checking drm/amdgpu: Use IP discovery to drive setting IP blocks by default drm/amdgpu: drive nav10 from the IP discovery table drm/amdgpu/gfxhub2.1: convert to IP version checking drm/amdgpu/mmhub2.0: convert to IP version checking drm/amdgpu/mmhub2.1: convert to IP version checking drm/amdgpu/vcn3.0: convert to IP version checking drm/amdgpu/athub2.0: convert to IP version checking drm/amdgpu/athub2.1: convert to IP version checking drm/amdgpu/navi10_ih: convert to IP version checking drm/amdgpu/amdgpu_smu: convert to IP version checking drm/amdgpu/smu11.0: convert to IP version checking drm/amdgpu/navi10_ppt: convert to IP version checking drm/amdgpu/sienna_cichlid_ppt: convert to IP version checking drm/amdgpu/nv: convert to IP version checking
drm/amdgpu: drive all navi asics from the IP discovery table drm/amdgpu/display/dm: convert to IP version checking drm/amdgpu: add DCI HWIP
drm/amdgpu/soc15: export common IP functions
drm/amdgpu: add initial IP discovery support for vega based parts drm/amdgpu/soc15: get rev_id in soc15_common_early_init drm/amdgpu: drive all vega asics from the IP discovery table drm/amdgpu: default to true in amdgpu_device_asic_has_dc_support drm/amdgpu/display/dm: convert RAVEN to IP version checking drm/amdgpu/sdma4.0: convert to IP version checking drm/amdgpu/hdp4.0: convert to IP version checking drm/amdgpu/gfx9.0: convert to IP version checking drm/amdgpu/amdgpu_psp: convert to IP version checking drm/amdgpu/psp_v11.0: convert to IP version checking drm/amdgpu/psp_v13.0: convert to IP version checking drm/amdgpu/pm/smu_v11.0: update IP version checking drm/amdgpu/pm/smu_v13.0: convert IP version checking drm/amdgpu/pm/amdgpu_smu: convert more IP version checking drm/amdgpu/amdgpu_vcn: convert to IP version checking drm/amdgpu/vcn2.5: convert to IP version checking drm/amdgpu/soc15: convert to IP version checking drm/amdgpu: add VCN1 hardware IP
drm/amdgpu: get VCN and SDMA instances from IP discovery table drm/amdgpu/sdma: remove manual instance setting drm/amdgpu/vcn: remove manual instance setting drm/amdgpu: get VCN harvest information from IP discovery table drm/amdgpu/ucode: add default behavior
drm/amdgpu: add new asic_type for IP discovery drm/amdgpu: set CHIP_IP_DISCOVERY as the asic type by default drm/amdgpu: convert IP version array to include instances drm/amdgpu: clean up set IP function
drm/amdgpu: add support for SRIOV in IP discovery path drm/amdkfd: clean up parameters in kgd2kfd_probe drm/amdkfd: convert kfd_device.c to use GC IP version drm/amdgpu: add an option to override IP discovery table from a file
Guchun Chen (2):
drm/amd/display: fix error case handling
drm/amdgpu: add HWID of SDMA instance 2 and 3
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 8 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 44 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 822 +++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 655 +++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 101 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 47 +- drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/athub_v2_1.c | 9 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 380 ++++---- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 227 ++--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 6 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 91 +- drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c | 15 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 73 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 6 +- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 13 +- drivers/gpu/drm/amd/amdgpu/nv.c | 91 +- drivers/gpu/drm/amd/amdgpu/nv.h | 2 + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 44 +- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 100 +-- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 32 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 51 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 163 ++-- drivers/gpu/drm/amd/amdgpu/soc15.h | 2 + drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 - drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 1 - drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 27 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 259 ++++-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 214 ++--- drivers/gpu/drm/amd/include/soc15_hw_ip.h | 2 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 124 ++- .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 50 +- .../amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 24 +- .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 96 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 22 +- include/drm/amd_asic_type.h | 1 + 43 files changed, 2702 insertions(+), 1147 deletions(-)
Signature · 1 line
2.31.1