[PATCH v4 0/5] drm/xe: xe-only patches from the multi-device GPUSVM series
Thomas Hellström
thomas.hellstrom at linux.intel.com
Wed Mar 26 08:05:46 UTC 2025
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(-)
--
2.48.1
More information about the Intel-xe
mailing list