xe_vm_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is xe_vm_lock(9) from the Kernel API Manual, and it does exactly one iconic thing: xe_vm_lock β€” Lock the vm's dma_resv object. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

int xe_vm_lock (struct xe_vm *vm , bool intr );

πŸŽ€ ARGUMENTS πŸŽ€

  • vm β€” The struct xe_vm whose lock is to be locked. like, this is the vm we're locking, no cap. πŸ”’
  • intr β€” Whether to perform any wait interruptible. so this bool decides if the wait can get interrupted. πŸ¦‹

πŸ¦‹ RETURN πŸ¦‹

  • 0 on success. slay. ✨
  • -EINTR if intr is true and the wait for a contended lock was interrupted. 😭
  • If intr is false, the function always returns 0. periodt. πŸ’…

🌈 SEE ALSO 🌈


mwah πŸ’… this lil page lives under ./drivers/gpu/drm/xe, and its date stamp is October 2026 β€” xe_vm_lock(9), that's a wrap, bestie. 🫢🌸

πŸ“¦ where this page comes from