xe_exec_queu...st_fence_get(9)
π xe_exec_queue_tlb_inval_last_fence_get β the Kernel API Manual tea π«
okay bestie, so this is a page out of the Kernel API Manual (yes, that manual, the <italic>9</italic> one) and it's all about one little function with a very long name. stick with me π
β¨ NAME β¨
xe_exec_queue_tlb_inval_last_fence_get β literally just "get the last fence for TLB invalidation." that's the whole vibe. no cap π
πΈ SYNOPSIS πΈ
struct dma_fence * xe_exec_queue_tlb_inval_last_fence_get (struct
xe_exec_queue *q , struct xe_vm *vm , unsigned int type );
three args, one struct dma_fence * coming back at you. slay π
π¦ ARGUMENTS π¦
qβ the exec queue. the main character, honestly πvmβ the VM that the engine does a bind for. she's doing bind things, don't worry about it πtypeβ either the primary or the media GT. pick your fighter π₯
π DESCRIPTION π
so what does it actually do? it gets the last fence. and β important detail, bestie β it takes a ref π₯ that's it, that's the whole description, and honestly? iconic. short and confident. periodt.
β RETURN β
what you get back depends on the vibe check:
- last fence if it's not signaled π
- dma fence stub if it is signaled π
π§ SEE ALSO π§
okay so this is the part where the man page goes absolutely feral and links like every sibling this function has. buckle up, we're going down the whole family tree π³
the kernel file it lives in is ./drivers/gpu/drm/xe/xe_exec_queue.c β that's home base, iykyk π
and then, in order, no skipping (i would never):
Execution Queue(9)Multi Queue Group(9)xe_exec_queue_get_lrc(9)xe_exec_queue_lrc(9)xe_exec_queue_create(9)xe_exec_queue_create_class(9)xe_exec_queue_create_bind(9)xe_exec_queue_destroy(9)xe_exec_queue_fini(9)xe_exec_queue_assign_name(9)xe_exec_queue_lookup(9)xe_exec_queue_device_get_max_priority(9)xe_exec_queue_set_property_ioctl(9)xe_exec_queue_create_ioctl(9)xe_exec_queue_get_property_ioctl(9)xe_exec_queue_is_lr(9)xe_exec_queue_is_idle(9)xe_exec_queue_update_run_ticks(9)xe_exec_queue_kill(9)xe_exec_queue_destroy_ioctl(9)xe_exec_queue_last_fence_put(9)xe_exec_queue_last_fence_put_unlocked(9)xe_exec_queue_last_fence_get(9)xe_exec_queue_last_fence_get_for_resume(9)xe_exec_queue_last_fence_set(9)xe_exec_queue_tlb_inval_last_fence_put(9)xe_exec_queue_tlb_inval_last_fence_put_unlocked(9)xe_exec_queue_tlb_inval_last_fence_set(9)xe_exec_queue_contexts_hwsp_rebase(9)
like i said. the whole family. ate and left no crumbs π
fr fr bestie, this page comes straight out of ./drivers/gpu/drm/xe and it's dated October 2026 β so yes, we're reading docs from the future, that's just how we roll around here β°β¨
k byeee, go take that ref responsibly π π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms