xe_guc_buf_...it_with_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 β€” the xe_guc_buf_cache you'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 🌈

  • 0 on 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:


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