STRUCT XE_JOB_PTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct xe_job_ptrs(9) πŸ¦‹

okay so this page is from the Kernel API Manual, and it's literally all about struct xe_job_ptrs β€” the per hw engine instance data. No cap, that's the vibe πŸ’….

✨ NAME ✨

struct xe_job_ptrs β€” per hw engine instance data. Slay.

🌸 SYNOPSIS 🌸

struct xe_job_ptrs {
    struct dma_fence *lrc_fence;
    struct dma_fence_chain *chain_fence;
    u64 batch_addr;
    u32 head;
};

πŸŽ€ Members πŸŽ€

bestie, the fence fields are pre-allocated and uninitialized β€” the manpage said it, not me. Don't get it twisted πŸ’–
  • lrc_fence β€” pre-allocated, uninitialized lrc fence. It's giving "allocated but not initialized yet," and that's exactly what the manpage says, periodt.
  • chain_fence β€” pre-allocated, uninitialized fence chain node. Same energy: pre-allocated, uninitialized, waiting for its moment ✨.
  • batch_addr β€” the batch buffer address. Short, sweet, iconic.
  • head β€” the tail pointer of the LRC (so head pointer of job) when the job was submitted. Yes, both of those pointer mentions are in the sentence, don't @ me 😭.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/xe/xe_sched_job_types.h and struct xe_sched_job(9) β€” go read those next, iykyk 🫢.


mwah πŸ’‹ this one's from the ./drivers/gpu/drm/xe source/version and dated October 2026. struct xe_job_ptrs(9), out πŸŽ€.

πŸ“¦ where this page comes from