STRUCT XE_JOB_PTRS(9)
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
- 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