xe_tlb_inval_job_alloc_dep(9)
π xe_tlb_inval_job_alloc_dep(9) β kernel API manual, bestie edition
okay so real talk: this is a page from the kernel API manual for xe_tlb_inval_job_alloc_dep(9), and honestly? she's a tiny little function with one job and she does it. let's get into it π
β¨ NAME β¨
xe_tlb_inval_job_alloc_dep β the TLB invalidation job alloc dependency. yes that's her whole government name. very "my full legal name isβ¦" energy π
πΈ SYNOPSIS πΈ
int xe_tlb_inval_job_alloc_dep (struct xe_tlb_inval_job *job );
that's it. one arg, returns an int. she's lowkey minimal and we respect it π«Ά
π¦ ARGUMENTS π¦
jobβ the TLB invalidation job you're allocating a dependency for. like, the job. the one. main character energy, honestly π
π DESCRIPTION π
so what she actually does: this function allocates storage for a dependency in the TLB invalidation fence. that's the whole vibe. storage. for a dependency. in the fence β¨
now here's the part where you listen to me, bestie, because there are rules:
- call this at most once per job β one and done, no double-dipping π
- it must be paired with
xe_tlb_inval_job_pushbeing called with a real fence. like, the pairing is not optional, it's not a suggestion, it's the whole deal fr fr π₯
so: alloc the dep, then push with a real fence. together. as a set. iconic duo behavior π
β RETURN β
0on success π-errnoon failure π
yes, -errno, exactly like that, character for character. we don't fix what isn't broken, periodt.
π SEE ALSO π
the whole friend group, in kernel file ./drivers/gpu/drm/xe/xe_tlb_inval_job.c:
xe_tlb_inval_job_create(9)xe_tlb_inval_job_add_page_reclaim(9)xe_tlb_inval_job_push(9)xe_tlb_inval_job_get(9)xe_tlb_inval_job_put(9)
go read those too, iykyk π
ngl this one's short but the rules are load-bearing. at most once per job, and pair it with xe_tlb_inval_job_push + a real fence. don't skip the pairing, bestie, it's giving consequences π
and that's the whole page, mwah π this little gem lives over in ./drivers/gpu/drm/xe, dated October 2026, and she ate. no cap. ππ§π
π¦ 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