Enable integration of KFD with DRM GEM_VA ioctl
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | drm/amdgpu: Fix possible null pointer dereferencedrivers/ | +2 | 1 reply | |
| 2/11 | drm/amdgpu: Reserve fences for VM updatedrivers/ | +4 | 0 replies | |
| 3/11 | drm/amdkfd: Improve amdgpu_vm_handle_moveddrivers/ drivers/ drivers/ +1 more | +18 | 1 reply | |
| 4/11 | drm/amdgpu: Attach eviction fence on allocdrivers/ | +48 | 0 replies | |
| 5/11 | drm/amdgpu: update mappings not managed by KFDdrivers/ | +22 | 0 replies | |
| 6/11 | drm/amdkfd: Move TLB flushing logic into amdgpudrivers/ drivers/ drivers/ +3 more | +57 | 0 replies | |
| 7/11 | drm/amdgpu: New VM state for evicted user BOsdrivers/ drivers/ | +21 | 0 replies | |
| 8/11 | drm/amdgpu: Auto-validate DMABuf imports in compute VMsdrivers/ drivers/ drivers/ +4 more | +164 | 0 replies | |
| 9/11 | drm/amdkfd: Export DMABufs from KFD using GEM handlesdrivers/ drivers/ drivers/ +1 more | +44 | 0 replies | |
| 10/11 | drm/amdkfd: Import DMABufs for interop through DRMdrivers/ drivers/ drivers/ | +52 | 0 replies | |
| 11/11 | drm/amdkfd: Bump KFD ioctl versioninclude/ | +2 | 0 replies |
Reviews trailers per patch
6 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Christian König |
|---|---|
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b |
| 4/11 | A-b |
| 5/11 | A-b |
| 6/11 | R-b |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] Enable integration of KFD with DRM GEM_VA ioctl
This patch series enables better integration of KFD memory management with the DRM GEM ioctl API. It allow managing virtual address mappings in compute VMs with the GEM_VA ioctl after importing DMABufs exported from KFD into libdrm.
This will enable more flexible virtual address management for ROCm user mode, better interoperability between compute and graphics, as well as sharing of memory between processes using DMABufs.
Felix Kuehling (11):
drm/amdgpu: Fix possible null pointer dereference drm/amdgpu: Reserve fences for VM update drm/amdkfd: Improve amdgpu_vm_handle_moved drm/amdgpu: Attach eviction fence on alloc drm/amdgpu: update mappings not managed by KFD drm/amdkfd: Move TLB flushing logic into amdgpu drm/amdgpu: New VM state for evicted user BOs drm/amdgpu: Auto-validate DMABuf imports in compute VMs drm/amdkfd: Export DMABufs from KFD using GEM handles drm/amdkfd: Import DMABufs for interop through DRM drm/amdkfd: Bump KFD ioctl version
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 40 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 22 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 207 ++++++++++++------ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 22 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 26 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 198 ++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 17 +- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 19 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 31 --- include/uapi/linux/kfd_ioctl.h | 3 +- 12 files changed, 424 insertions(+), 182 deletions(-)
Signature · 1 line
2.34.1