xe_vm_set_validating(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ xe_vm_set_validating(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual β€” this page is all about xe_vm_set_validating(9), and it's lowkey iconic because it's literally about registering your task as currently making bos resident. let's get into it πŸ’–

✨ NAME ✨

xe_vm_set_validating β€” register this task as currently making bos resident πŸ’…

🌸 SYNOPSIS 🌸

the whole signature vibe is:

void xe_vm_set_validating (struct xe_vm *vm , bool allow_res_evict );

πŸŽ€ ARGUMENTS πŸŽ€

  • vm β€” Pointer to the vm or NULL. yes, NULL is right there in the description, bestie 🫢
  • allow_res_evict β€” Allow eviction of buffer objects bound to vm when validating. this is the eviction-permission moment ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: you're registering this task as currently making bos resident for the vm. periodt. the whole point is to avoid eviction by the same task of shared bos bound to the vm. it's giving "don't evict your own faves" energy πŸ”₯

⚠️ bestie, listen: call with the vm's resv lock held. no cap. not optional. 😭

🌈 SEE ALSO 🌈

go look at these, iykyk πŸ‘‘


mwah πŸ’‹ this page came from ./drivers/gpu/drm/xe, dated October 2026, and it's literally xe_vm_set_validating(9) β€” bye bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from