Skip to content

Use DRM_GPUVM helpers for the vm evict and exobj lists

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Don't lock all bos and validate on LR exec submissions (Matthew Brost)
- Add some kerneldoc

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Use DRM GPUVM helpers for external- and evicted objectsdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_vm.c +2 more+129 -3861 reply
2/2drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvmdrivers/gpu/drm/xe/xe_vm.c+2 -20 replies

Reviews trailers per patch

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

PatchRodrigo ViviMatthew Brost
1/2R-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Use DRM_GPUVM helpers for the vm evict and exobj lists

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(-)
Signature · 1 line
2.42.0