xe_guc_buf_sync_read(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual π β this one's about xe_guc_buf_sync_read, and what it does is literally copy the data from the GPU memory over to the sub-allocation. that's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
here's the exact shape of it, no cap:
void * xe_guc_buf_sync_read (const struct xe_guc_buf buf );
π ARGUMENTS π
bufβ thexe_guc_bufyou wanna sync π«Ά that's the one, that's the whole argument, we love a single-arg icon
β RETURN β
it hands you back a CPU pointer of the sub-allocation π so like, a pointer you can actually use from the CPU side. slay.
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/gpu/drm/xe/xe_guc_buf.c, and here's the whole friend group it runs with π₯:
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_flush(9)xe_guc_buf_cpu_ptr(9)xe_guc_buf_gpu_addr(9)xe_guc_cache_gpu_addr_from_ptr(9)
ngl this page is short and sweet β but every option, arg, and reference is right here, so you're not missing a single crumb π
mwah π that's the whole page! this lil guy comes from the source tree at ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_guc_buf_sync_read(9) β¨π go forth and sync those buffers, 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