xe_guc_buf_sync_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” the xe_guc_buf you 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 πŸ”₯:


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