xe_vm_drm_exec_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ xe_vm_drm_exec_lock(9) β€” the kernel API manual, but make it cute

okay so bestie, welcome to xe_vm_drm_exec_lock from the Kernel API Manual πŸ’– this one's a little helper function and honestly she's giving "does one thing and does it well" energy πŸ‘‘


✨ NAME ✨

xe_vm_drm_exec_lock β€” locks the vm's resv using a drm_exec transaction πŸŽ€


🌸 SYNOPSIS 🌸

int xe_vm_drm_exec_lock (struct xe_vm *vm , struct drm_exec *exec );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vm β€” the vm whose resv we're locking. that's the whole vibe. 🫢
  • exec β€” the drm_exec transaction. she's the one running the show πŸ’…

⭐ DESCRIPTION ⭐

so basically this is a helper that locks the vm's resv as part of a drm_exec transaction ✨ that's it, that's the function. no cap, she's short and sweet πŸ“


πŸ”₯ RETURN πŸ”₯

returns 0 on success πŸŽ‰ and if it goes sideways? peep drm_exec_lock_obj for the error codes πŸ‘€


🌈 SEE ALSO 🌈

kernel file: ./drivers/gpu/drm/xe/xe_vm.c πŸ“

and the whole friend group, in the order they were introduced β€” not me listing every single one, but you gotta have the full squad 😭:


πŸ’€ reminder bestie: yesss this is a function page, it's not that deep, but locking correctness IS that deep. reader beware, respect the resv.

and that's the page!! 🧚 this masterpiece lives in ./drivers/gpu/drm/xe πŸ’– and it's dated October 2026 ⭐ slay, see you in the next release, mwah πŸ«ΆπŸ’…

πŸ“¦ where this page comes from