drm/xe: Allow prefetch-only VM bind IOCTLs to use VM read lock

Prefetch-only VM bind IOCTLs do not modify VMAs or use userptr pages.
Downgrade vm->lock to read mode once setup is complete.

Lays the groundwork for prefetch IOCTLs to use threaded migration.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260806185202.3922432-3-matthew.brost@intel.com
This commit is contained in:
Matthew Brost 2026-08-06 11:51:52 -07:00
commit 53e76bde11
2 changed files with 33 additions and 5 deletions