Skip to content

drm/xe: xe-only patches from the multi-device GPUSVM series

Thomas Hellström intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 8 repliesIn review
  2. v35 patches 4 repliesSuperseded
  3. v25 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches8 repliesSuperseded

Changes in v4 from the cover letter

- Rework the pinned kernel bo dma unmapping in Patch 5.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe: Introduce CONFIG_DRM_XE_GPUSVMdrivers/gpu/drm/xe/Kconfig drivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_device_types.h +6 more+98 -270 replies
2/5drm/xe/svm: Fix a potential bo UAFdrivers/gpu/drm/xe/xe_svm.c+5 -22 replies
3/5drm/xe/bo: Add a bo remove callbackdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h drivers/gpu/drm/xe/xe_bo_evict.c +3 more+140 -171 reply
4/5drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable devicesdrivers/gpu/drm/xe/xe_migrate.c+3 -20 replies
5/5drm/xe: Make the PT code handle placement per PTE rather than per vma / rangedrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_pt.c+70 -624 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostMatthew AuldHimal Prasad Ghimiray
1/5R-b
2/5R-b
3/5R-b R-b
4/5R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] drm/xe: xe-only patches from the multi-device GPUSVM series

A collection of misc patches that are prerequisites for the multi-device GPUSVM series but that are xe-only and can be merged separately.

Patch 1
- Improved conditional compilation for the Xe GPUSVM support Patch 2
- Fix a pontential UAF
Patch 3
- Adds a bo remove callback. In addition to GPUSVM this will improve on our device unbind support.
Patch 4
- A small fix for multi-gpu-svm support
Patch 5
- A change in implicit UAPI and needed for multi-gpu-svm support.

v2:
- Address review comments for Patch 3 (Matthew Auld)
- Fix system memory atomic access in Patch 5 (Intel CI) v3:
- Fix compilation errors on i386 with Patch 1.
- Don't introduce an additional pinned.external_evicted list in Patch 3 (Matthew Auld)
- Avoid the UAPI change in Patch 5.
v4:
- Rework the pinned kernel bo dma unmapping in Patch 5.

Thomas Hellström (5):
drm/xe: Introduce CONFIG_DRM_XE_GPUSVM
drm/xe/svm: Fix a potential bo UAF
drm/xe/bo: Add a bo remove callback
drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable
devices
drm/xe: Make the PT code handle placement per PTE rather than per vma
/ range

Thomas Hellström (5):
drm/xe: Introduce CONFIG_DRM_XE_GPUSVM
drm/xe/svm: Fix a potential bo UAF
drm/xe/bo: Add a bo remove callback
drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable
devices
drm/xe: Make the PT code handle placement per PTE rather than per vma
/ range

 drivers/gpu/drm/xe/Kconfig           |  16 +++-
 drivers/gpu/drm/xe/Makefile          |   2 +-
 drivers/gpu/drm/xe/xe_bo.c           |  66 +++++++++++---
 drivers/gpu/drm/xe/xe_bo.h           |   2 +
 drivers/gpu/drm/xe/xe_bo_evict.c     |  84 +++++++++++++++++-
 drivers/gpu/drm/xe/xe_bo_evict.h     |   3 +
 drivers/gpu/drm/xe/xe_device.c       |  10 ++-
 drivers/gpu/drm/xe/xe_device_types.h |  10 ++-
 drivers/gpu/drm/xe/xe_migrate.c      |   8 +-
 drivers/gpu/drm/xe/xe_pt.c           | 126 ++++++++++++++-------------
 drivers/gpu/drm/xe/xe_query.c        |   2 +-
 drivers/gpu/drm/xe/xe_svm.c          |  22 ++++-
 drivers/gpu/drm/xe/xe_svm.h          |  73 +++++++++++-----
 drivers/gpu/drm/xe/xe_vm.c           |   2 +-
 14 files changed, 316 insertions(+), 110 deletions(-)
Signature · 1 line
2.48.1