xe_preempt_fence_create(9)
π NAME π
okay so this is the Kernel API Manual page for xe_preempt_fence_create, and it is literally your helper to create and arm a preempt fence. bestie, that's the whole vibe. π
β¨ SYNOPSIS β¨
here's the little summoning spell, exactly as written:
struct dma_fence * xe_preempt_fence_create (struct xe_exec_queue *q ,
u64 context , u32 seqno );
π ARGUMENTS π
qβ thestruct xe_exec_queueused for arming. main character energy fr fr.contextβ the dma-fence context used for arming. iconic.seqnoβ the dma-fence seqno used for arming. periodt.
π¦ DESCRIPTION π¦
Allocates and inserts the preempt fence into context's timeline, and registers e as the struct xe_exec_queue to be preempted. no cap, that's what it does.
πΈ RETURN πΈ
A pointer to the resulting struct dma_fence on success. An error pointer on error. In particular if allocation fails it returns ERR_PTR(-ENOMEM); π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_preempt_fence.c xe_preempt_fence_alloc(9),xe_preempt_fence_free(9),xe_preempt_fence_arm(9)
mwah π β source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· xe_preempt_fence_create(9) signing off, periodt. π
π¦ 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