xe_guc_cache...ddr_from_ptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is from the Kernel API Manual, and the function is xe_guc_cache_gpu_addr_from_ptr β€” it does a lookup of a GPU address using the pointer, bestie. That's the whole vibe. ✨

🌸 SYNOPSIS 🌸

the signature is giving:

u64 xe_guc_cache_gpu_addr_from_ptr (struct xe_guc_buf_cache *cache ,
       const void *ptr , u32 size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cache β€” the xe_guc_buf_cache with sub-allocations, iykyk.
  • ptr β€” the CPU pointer of the sub-allocation, fr fr.
  • size β€” the size of the data, periodt.

✨ RETURN ✨

It returns a GPU address on success, or 0 if the pointer was unrelated. no cap, that's the return situation πŸ’–

πŸ’… SEE ALSO πŸ’…

The kernel file is ./drivers/gpu/drm/xe/xe_guc_buf.c, and here's the squad:


okay bye bestie 🫢 β€” source/version situation is ./drivers/gpu/drm/xe, dated October 2026, and the footer tag is xe_guc_cache...ddr_from_ptr(9) πŸ’…βœ¨

πŸ“¦ where this page comes from