xe_guc_buf_...it_with_size(9)
πΈ xe_guc_buf_cache_init_with_size(9) πΈ
okay so bestie, welcome to the Kernel API Manual β aka the xe_guc_buf_...it_with_size(9) page, yes the name got cut off, she's mysterious like that π . This is the glow-up version of the GuC Buffer Cache initializer, and honestly? She ate. Let's get into it π
β¨ NAME β¨
xe_guc_buf_cache_init_with_size β literally just "Initialize the GuC Buffer Cache." but make it custom-sized, iykyk π¦
β SYNOPSIS β
here's the vibe check, no cap:
int xe_guc_buf_cache_init_with_size (struct xe_guc_buf_cache *cache ,
u32 size );
π«Ά ARGUMENTS π«Ά
cacheβ thexe_guc_buf_cacheyou're initializing. she's the main character here πsizeβ the size, in bytes. yes bestie, bytes, we're not out here guessing units π
π DESCRIPTION π
So it's giving xe_guc_buf_cache_init, right? Like, same energy, same family. except β and this is the iconic part β it lets the caller make the cache buffer larger, so you can fit larger objects in there. bigger buffer, bigger possibilities, periodt β¨π₯
π RETURN π
0on success π- or a negative error code on failure π (it happens, we recover, we move on)
π¦ SEE ALSO π¦
go read these, bestie, they're all linked and all slay:
- Kernel file
./drivers/gpu/drm/xe/xe_guc_buf.cπ xe_guc_buf_cache_init(9)xe_guc_buf_cache_dwords(9)xe_guc_buf_reserve(9)xe_guc_buf_from_data(9)xe_guc_buf_release(9)xe_guc_buf_sync_read(9)xe_guc_buf_flush(9)xe_guc_buf_cpu_ptr(9)xe_guc_buf_gpu_addr(9)xe_guc_cache_gpu_addr_from_ptr(9)
ngl, the whole family is worth a read β this one's just the one who showed up with a bigger buffer π
and that's the page!! π§ from ./drivers/gpu/drm/xe, dated October 2026, this was xe_guc_buf_...it_with_size(9) β mwah, study her, love her, use her responsibly ππ
π¦ 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