xe_guc_cache...ddr_from_ptr(9)
π 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β thexe_guc_buf_cachewith 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:
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_buf_gpu_addr(9)
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
- 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