Implement multi-GPU DMA mappings for KFD
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/amdgpu: Rename kfd_bo_va_list to kfd_mem_attachmentdrivers/ drivers/ | +104 | 0 replies | |
| 2/9 | drm/amdgpu: Keep a bo-reference per-attachmentdrivers/ | +17 | 0 replies | |
| 3/9 | drm/amdgpu: Simplify AQL queue mappingdrivers/ | +48 | 0 replies | |
| 4/9 | drm/amdgpu: Add multi-GPU DMA mapping helpersdrivers/ drivers/ | +152 | 0 replies | |
| 5/9 | drm/amdgpu: DMA map/unmap when updating GPU mappingsdrivers/ | +29 | 0 replies | |
| 6/9 | drm/amdgpu: Move kfd_mem_attach outside reservationdrivers/ | +42 | 0 replies | |
| 7/9 | drm/amdgpu: Add DMA mapping of GTT BOsdrivers/ drivers/ | +75 | 0 replies | |
| 8/9 | drm/ttm: Don't count pages in SG BOs against pages_limitdrivers/ | +18 | 1 reply | |
| 9/9 | drm/amdgpu: Lock the attached dmabuf in unpopulatedrivers/ | +13 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] Implement multi-GPU DMA mappings for KFD
This patch series fixes DMA-mappings of system memory (GTT and userptr) for KFD running on multi-GPU systems with IOMMU enabled. One SG-BO per GPU is needed to maintain the DMA mappings of each BO.
I ran into some reservation issues when unmapping or freeing DMA-buf imports. There are a few FIXME comments in this patch series where I'm hoping for some expert advice. Patches 8 and 9 are some related fixes in TTM and amdgpu_ttm. I'm pretty sure patch 9 is not the right way to do this.
Felix Kuehling (9):
drm/amdgpu: Rename kfd_bo_va_list to kfd_mem_attachment drm/amdgpu: Keep a bo-reference per-attachment drm/amdgpu: Simplify AQL queue mapping drm/amdgpu: Add multi-GPU DMA mapping helpers drm/amdgpu: DMA map/unmap when updating GPU mappings drm/amdgpu: Move kfd_mem_attach outside reservation drm/amdgpu: Add DMA mapping of GTT BOs
drm/ttm: Don't count pages in SG BOs against pages_limit drm/amdgpu: Lock the attached dmabuf in unpopulate
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 18 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 535 ++++++++++++------ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 13 + drivers/gpu/drm/ttm/ttm_tt.c | 27 +- 4 files changed, 420 insertions(+), 173 deletions(-)
Signature · 6 lines
2.31.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel