xe_vm_remove_exec_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

xe_vm_remove_exec_queue β€” bestie, this is the one that takes an exec queue off a VM πŸŽ€

Oh and hi, welcome to the Kernel API Manual, page xe_vm_remove_exec_queue(9) β€” buckle up πŸ¦‹


🌸 SYNOPSIS 🌸

void xe_vm_remove_exec_queue (struct xe_vm *vm , struct xe_exec_queue *q
);

Yep that's it, it returns void, it takes two pointers, it's giving "small function, big responsibilities" energy πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • vm β€” The VM. Literally, the virtual memory situation we're operating on 🫢
  • q β€” The exec_queue. The queue that's getting the boot πŸ‘‹

πŸ”₯ DESCRIPTION πŸ”₯

Ok so picture this: you've got an exec queue and you need it removed from the VM. That's the whole vibe. Call this, queue's gone from the VM, slay ✨

But β€” and this is the part where you gotta pay attention, no cap β€” the removal is skipped if the device does not have context based TLB invalidations πŸ’€ So like, if your hardware isn't doing that whole context-based TLB invalidation thing, nothing happens. It just... doesn't do the thing. Lowkey iconic of it honestly 🌈

So fr fr: same function call, two very different outcomes depending on your device's context based TLB invalidation situation. Vibe check your hardware first 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

So many siblings, it's basically a family reunion πŸ’œ The kernel file lives at ./drivers/gpu/drm/xe/xe_vm.c, and here's the full squad:

  • xe_vm_drm_exec_lock(9)
  • xe_vm_remove_compute_exec_queue(9)
  • xe_vm_kill(9)
  • xe_vm_validate_rebind(9)
  • xe_vm_bump_lru(9)
  • xe_vm_resume_rebind_worker(9)
  • xe_vm_add_fault_entry_pf(9)
  • xe_vm_range_rebind(9)
  • xe_vm_range_unbind(9)
  • xe_vma_mem_attr_copy(9)
  • xe_vm_lock_vma(9)
  • xe_vm_create_scratch(9)
  • xe_vm_find_vma_by_addr(9)
  • xe_vma_has_default_mem_attrs(9)
  • struct xe_vma_lock_and_validate_flags(9)
  • xe_vm_bind_kernel_bo(9)
  • xe_vm_lock(9)
  • xe_vm_unlock(9)
  • xe_vm_invalidate_vma_submit(9)
  • xe_vm_invalidate_vma(9)
  • xe_vma_need_vram_for_atomic(9)
  • xe_vm_alloc_madvise_vma(9)
  • xe_vm_find_cpu_addr_mirror_vma_range(9)
  • xe_vm_alloc_cpu_addr_mirror_vma(9)
  • xe_vm_add_exec_queue(9) β€” the reverse of us, the remover's nemesis 😭

Go read all of those, bestie. Not me telling you to read 25 manpages πŸ’… but like... do it.

Anyway, that's the page! Brought to you from ./drivers/gpu/drm/xe β€” dated October 2026, filed under xe_vm_remove_exec_queue(9) β€” mwah, bye, go remove some exec queues responsibly πŸ“πŸ’œ

πŸ“¦ where this page comes from