xe_guc_buf_flush(9)
β¨ xe_guc_buf_flush(9) β¨
okay so real talk, bestie, this is a page straight out of the Kernel API Manual and it's literally only one function long, so consider this a lil snack-sized manpage π it's giving short, sweet, and very much to the point.
πΈ NAME πΈ
xe_guc_buf_flush β copies the data from the sub-allocation over to the GPU memory π
that's it, that's the whole job, and honestly? she ate. no cap.
π¦ SYNOPSIS π¦
u64 xe_guc_buf_flush (const struct xe_guc_buf buf );
like yes, that's the whole signature. u64 going in as the return type, one const struct xe_guc_buf coming through the door. iconic. π
π ARGUMENTS π
bufβ thexe_guc_bufyou want to flush π«Ά that's the one getting sent off to the GPU memory, so make sure it's the one you actually meant, bestie, iykyk.
β RETURN β
returns a GPU address of the sub-allocation β¨ so like, you hand it a buf, and it hands you back the GPU address β a fair trade fr fr. π
π§ SEE ALSO π§
the kernel file <red>./drivers/gpu/drm/xe/xe_guc_buf.c</red> is where all the lore lives π and these are her friends, you should lowkey go read them too:
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_cpu_ptr(9)xe_guc_buf_gpu_addr(9)xe_guc_cache_gpu_addr_from_ptr(9)
go touch grass? no bestie, go touch xe_guc_buf.c instead π
that's the whole page, you're officially a xe_guc_buf_flush girlie now π mwah, and this lil drop came to you from <lavender>./drivers/gpu/drm/xe</lavender>, dated October 2026, signed off with xe_guc_buf_flush(9) at the bottom like a little bow π bye bestie!! πΈπ
π¦ 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