xe_guc_buf_cache_dwords(9)
π xe_guc_buf_cache_dwords(9) π
okay so bestie, welcome to the Kernel API Manual β yes, that Kernel API Manual β and today's main character is xe_guc_buf_cache_dwords, a lil function that is literally just here to tell you how many dwords the GuC Buffer Cache can hold. no cap, that's the whole job. it's giving "small but mighty" β¨
πΈ NAME πΈ
xe_guc_buf_cache_dwords β the number of dwords the GuC Buffer Cache supports. that's it, that's the vibe π«Ά
π SYNOPSIS π
u32 xe_guc_buf_cache_dwords (struct xe_guc_buf_cache *cache );
like, you hand it a cache pointer, it hands you back a u32. a little exchange. a little transaction. iconic behavior honestly π
π¦ ARGUMENTS π¦
cacheβ thexe_guc_buf_cacheyou wanna query. that's the one. give it a poke and see what it says π
β RETURN β
it returns a size β specifically the size of the largest reusable buffer, measured in dwords. so like, dwords. not bytes. dwords. don't get it twisted bestie, the unit matters fr fr π₯
π§ SEE ALSO π§
Kernel file ./drivers/gpu/drm/xe/xe_guc_buf.c β go read it, it's right there, i believe in you π
xe_guc_buf_cache_init(9)xe_guc_buf_cache_init_with_size(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)
the whole friend group, assembled π
ngl this page lives at ./drivers/gpu/drm/xe in the kernel source, and it's dated October 2026 β so bestie, if you're reading this, hi from the future π
okay that's the whole page, go forth and query your buffer caches responsibly, mwah πππΈ
π¦ 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