mbox series

[v2,0/2] drm/gpuvm: Locking helpers

Message ID 20250616145958.167351-1-robin.clark@oss.qualcomm.com
Headers show
Series drm/gpuvm: Locking helpers | expand

Message

Rob Clark June 16, 2025, 2:59 p.m. UTC
First patch is just some cleanup.  The second patch adds helpers for
drivers to deal with "invisible" unmapped BO locking.  Ie. a VM_BIND
ioctl won't explicitly list BOs associated with unmapped/remapped VAs
making locking all the BOs involved in a VM_BIND ioclt harder than it
needs to be.  The helpers added solves that.

Rob Clark (2):
  drm/gpuvm: Fix doc comments
  drm/gpuvm: Add locking helpers

 drivers/gpu/drm/drm_gpuvm.c | 87 +++++++++++++++++++++++++++++++++++--
 include/drm/drm_gpuvm.h     |  8 ++++
 2 files changed, 92 insertions(+), 3 deletions(-)