xe_guc_buf_reserve(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_guc_buf_reserve πŸ’…

okay bestie, welcome to the Kernel API Manual page for xe_guc_buf_reserve β€” this one is literally about reserving a new sub-allocation, no cap. ✨

🌸 NAME 🌸

xe_guc_buf_reserve β€” Reserve a new sub-allocation. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct xe_guc_buf xe_guc_buf_reserve (struct xe_guc_buf_cache *cache ,
u32 dwords );

πŸ“ ARGUMENTS πŸ“

  • cache β€” the xe_guc_buf_cache where you reserve the sub-allocation. πŸ’–
  • dwords β€” the requested size of the buffer in dwords. πŸ‘‘

✨ DESCRIPTION ✨

Use xe_guc_buf_is_valid to check if the returned buffer reference is valid. βœ…

You must use xe_guc_buf_release to release a sub-allocation β€” like, don’t just ghost it, bestie. 🫢

πŸ”₯ RETURN πŸ”₯

a xe_guc_buf of new sub-allocation. πŸ’…

🌈 SEE ALSO 🌈

The kernel file is ./drivers/gpu/drm/xe/xe_guc_buf.c, and the whole squad is:


xoxo from the ./drivers/gpu/drm/xe source tree, dated October 2026, on the xe_guc_buf_reserve(9) page πŸ’–βœ¨

πŸ“¦ where this page comes from