xe_guc_buf_reserve(9)
π 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β thexe_guc_buf_cachewhere 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:
xe_guc_buf_cache_init(9)xe_guc_buf_cache_init_with_size(9)xe_guc_buf_cache_dwords(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)
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
- 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