xe_guc_buf_cache_dwords(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the xe_guc_buf_cache you 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 πŸ’œ

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