xe_preempt_fence_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct xe_exec_queue used 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 🌈


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· xe_preempt_fence_create(9) signing off, periodt. πŸŽ€

πŸ“¦ where this page comes from