Add Carrizo support for amdkfd
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/radeon: Modify kgd_engine_type enum to match CZdrivers/ drivers/ | +4 | 0 replies | |
| 2/13 | drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interfaceMAINTAINERS drivers/ drivers/ +6 more | +364 | 0 replies | |
| 3/13 | drm/amdgpu: add amdgpu <--> amdkfd gfx7 interfaceMAINTAINERS drivers/ drivers/ +2 more | +687 | 0 replies | |
| 4/13 | drm/amdgpu: Add amdgpu <--> amdkfd gfx8 interfaceMAINTAINERS drivers/ drivers/ +4 more | +973 | 0 replies | |
| 5/13 | drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfigdrivers/ | +1 | 0 replies | |
| 6/13 | drm/amdkfd: add supported CZ devices PCI IDs to amdkfddrivers/ | +6 | 0 replies | |
| 7/13 | drm/amdkfd: add CP HWS packet headers for VIdrivers/ | +398 | 0 replies | |
| 8/13 | drm/amdkfd: add support for VI in MQD managerdrivers/ drivers/ | +248 | 0 replies | |
| 9/13 | drm/amdkfd: Add support for VI in DQMdrivers/ | +99 | 0 replies | |
| 10/13 | drm/amdkfd: fix runlist length calculationdrivers/ | +7 | 0 replies | |
| 11/13 | drm/amdkfd: Implement create_map_queues() for Carrizodrivers/ | +87 | 0 replies | |
| 12/13 | drm/amdkfd: Use generic defines in new amd headersdrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 13/13 | drm/amdkfd: Set correct doorbell packet type for Carrizodrivers/ drivers/ | +6 | 0 replies |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Yair Shachar |
|---|---|
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] Add Carrizo support for amdkfd
This patch-set adds Carrizo support for amdkfd, to allow running HSA applications on Carrizo.
To operate, it requires the presence of the recently published amdgpu.
While the official support for Kaveri is still being done using radeon, this patch-set includes support running HSA applications on Kaveri with amdgpu handling Kaveri. However, this should be regarded as best-effort only, as it is not tested, nor maintained.
To reiterate, The official and support way of running HSA applications on Kaveri is by using amdkfd and radeon.
It is important for me to mention that this patch-set does *not* modify the amdkfd IOCTLs in any way, shape or form. In addition, it doesn't change any other kernel-userspace interface (sysfs, kernel module params, etc.).
Please review.
Thanks,
Oded
Ben Goz (8):
drm/amdgpu: Add amdgpu <--> amdkfd gfx8 interface drm/amdkfd: add supported CZ devices PCI IDs to amdkfd drm/amdkfd: add CP HWS packet headers for VI drm/amdkfd: add support for VI in MQD manager drm/amdkfd: Add support for VI in DQM drm/amdkfd: fix runlist length calculation drm/amdkfd: Implement create_map_queues() for Carrizo drm/amdkfd: Set correct doorbell packet type for Carrizo
Oded Gabbay (5):
drm/radeon: Modify kgd_engine_type enum to match CZ drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interface drm/amdgpu: add amdgpu <--> amdkfd gfx7 interface drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig drm/amdkfd: Use generic defines in new amd headers
MAINTAINERS | 5 + drivers/gpu/drm/amd/amdgpu/Makefile | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 267 ++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 65 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 670 +++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 543 +++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 7 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 + drivers/gpu/drm/amd/amdgpu/cik.c | 11 +- drivers/gpu/drm/amd/amdgpu/cikd.h | 12 + drivers/gpu/drm/amd/amdgpu/vid.h | 5 + drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +- drivers/gpu/drm/amd/amdkfd/Makefile | 3 +- drivers/gpu/drm/amd/amdkfd/cik_regs.h | 11 - drivers/gpu/drm/amd/amdkfd/kfd_device.c | 7 +- .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 12 +- .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 103 +++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 20 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 249 +++++++- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 99 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 398 ++++++++++++ drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 1 + drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 3 +- drivers/gpu/drm/amd/include/vi_structs.h | 417 +++++++++++++ drivers/gpu/drm/radeon/radeon_kfd.c | 3 +- 28 files changed, 2899 insertions(+), 40 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h create mode 100644 drivers/gpu/drm/amd/include/vi_structs.h
Signature · 6 lines
2.4.3 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel