xe_guc_buf_gpu_addr(9)
β¨ xe_guc_buf_gpu_addr β¨
okay so bestie, welcome to the kernel API manual for xe_guc_buf_gpu_addr β this is a section 9 page from the Kernel API Manual, and honestly? it's a whole little vibe. it's short, it's sweet, it does exactly one thing, and it does it slayfully π
πΈ NAME πΈ
xe_guc_buf_gpu_addr β bestie, this one just obtains a GPU address of the sub-allocation. that's it. that's the whole personality. iconic behavior honestly π
π¦ SYNOPSIS π¦
u64 xe_guc_buf_gpu_addr (const struct xe_guc_buf buf );
yes that's the entire signature, no cap β it hands you back a u64, and it takes a const struct xe_guc_buf named buf. clean. minimal. main character energy β¨
π ARGUMENTS π
bufβ thexe_guc_bufto query π like, this is the thing you're asking about, girl. you hand it over and it's gonna tell you where it lives on the GPU.
π₯ RETURN π₯
it returns a GPU address of the sub-allocation. periodt. no complicated multi-value situation, no -errno dramatics described here β just the address, straight up π«Ά
ngl this page is tiny but that doesn't mean you skip the details, okay? a GPU address is a GPU address, and you need it π
π SEE ALSO π
so here's the group chat of related functions, and yes you should absolutely go read them too, iykyk π
- Kernel file
./drivers/gpu/drm/xe/xe_guc_buf.c xe_guc_buf_cache_init(9)xe_guc_buf_cache_init_with_size(9)xe_guc_buf_cache_dwords(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_cache_gpu_addr_from_ptr(9)
π§ sign-off π§
this lil masterpiece lives in ./drivers/gpu/drm/xe, and it's dated October 2026 β that's the source/version and date from the footer, mwah π go forth and query your GPU addresses, bestie, you're literally gonna ate this πβπ
π¦ 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