[PATCH v2 0/2] Use DRM_GPUVM helpers for the vm evict and exobj lists
Thomas Hellström
thomas.hellstrom at linux.intel.com
Tue Dec 12 10:01:42 UTC 2023
The first patch replaces our driver-specific code with calls to DRM_GPUVM,
and selects to use the DRM_GPUVM fine-grained locking.
The second patch sets a flag that makes DRM_GPUVM assume dma_resv locking
instead, that we've previously using in the Xe driver.
v2:
- Don't lock all bos and validate on LR exec submissions (Matthew Brost)
- Add some kerneldoc
Thomas Hellström (2):
drm/xe: Use DRM GPUVM helpers for external- and evicted objects
drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm
drivers/gpu/drm/xe/xe_bo.c | 63 +++----
drivers/gpu/drm/xe/xe_exec.c | 74 ++------
drivers/gpu/drm/xe/xe_vm.c | 296 ++++++++-----------------------
drivers/gpu/drm/xe/xe_vm.h | 19 +-
drivers/gpu/drm/xe/xe_vm_types.h | 67 ++-----
5 files changed, 131 insertions(+), 388 deletions(-)
--
2.42.0
More information about the Intel-xe
mailing list