xe_bb_alloc(9)
β¨ xe_bb_alloc(9) β¨
okay so this is a page from the Kernel API Manual β yes bestie, the kernel has lore too π
and today's main character is xe_bb_alloc.
πΈ NAME πΈ
xe_bb_alloc β allocates a brand new batch buffer structure, periodt β¨
π¦ SYNOPSIS π¦
struct xe_bb * xe_bb_alloc (struct xe_gt *gt );
π ARGUMENTS π
gtβ thexe_gt, obvs. that's the whole vibe of what you're handing in π«Ά
π DESCRIPTION π
So what it does: it allocates and initializes a new xe_bb structure, and it comes with an associated suballoc object attached β and that suballoc object is uninitialized, ngl, like it literally just rolled out of bed π.
β RETURN β
You get back the batch buffer structure β or an ERR_PTR(-ENOMEM) if the memory said "not today" ππ
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_bb.c xe_bb_init(9)
and that's the whole page, bestie β no cap, every detail's in there π§ββοΈπ
sign-off time π: this gem lives under ./drivers/gpu/drm/xe, dated October 2026, and it's brought to you straight from the Kernel API Manual β slay, go read xe_bb_init(9) next π
β¨
π¦ 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