Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Use DRM_GPUVM helpers for the vm evict and exobj lists
@ 2023-12-12 10:01 Thomas Hellström
  2023-12-12 10:01 ` [PATCH v2 1/2] drm/xe: Use DRM GPUVM helpers for external- and evicted objects Thomas Hellström
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Thomas Hellström @ 2023-12-12 10:01 UTC (permalink / raw)
  To: intel-xe; +Cc: Rodrigo Vivi

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-12-12 16:15 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 10:01 [PATCH v2 0/2] Use DRM_GPUVM helpers for the vm evict and exobj lists Thomas Hellström
2023-12-12 10:01 ` [PATCH v2 1/2] drm/xe: Use DRM GPUVM helpers for external- and evicted objects Thomas Hellström
2023-12-12 16:16   ` Matthew Brost
2023-12-12 10:01 ` [PATCH v2 2/2] drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm Thomas Hellström
2023-12-12 10:26 ` ✓ CI.Patch_applied: success for Use DRM_GPUVM helpers for the vm evict and exobj lists Patchwork
2023-12-12 10:26 ` ✓ CI.checkpatch: " Patchwork
2023-12-12 10:28 ` ✓ CI.KUnit: " Patchwork
2023-12-12 10:35 ` ✓ CI.Build: " Patchwork
2023-12-12 10:35 ` ✓ CI.Hooks: " Patchwork
2023-12-12 10:37 ` ✓ CI.checksparse: " Patchwork
2023-12-12 11:07 ` ✗ CI.BAT: failure " Patchwork
2023-12-12 12:52 ` ✓ CI.Patch_applied: success for Use DRM_GPUVM helpers for the vm evict and exobj lists (rev2) Patchwork
2023-12-12 12:52 ` ✓ CI.checkpatch: " Patchwork
2023-12-12 12:53 ` ✓ CI.KUnit: " Patchwork
2023-12-12 13:01 ` ✓ CI.Build: " Patchwork
2023-12-12 13:01 ` ✓ CI.Hooks: " Patchwork
2023-12-12 13:02 ` ✓ CI.checksparse: " Patchwork
2023-12-12 13:37 ` ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox