xe_mem_pool_cpu_addr(9)
π xe_mem_pool_cpu_addr β NAME
okay so bestie, listen: xe_mem_pool_cpu_addr is literally just "Retrieve CPU address of manager pool." That's the whole gig. One job. Iconic behavior, honestly. β¨
(this is a page from the Kernel API Manual, section 9, so like β kernel-level stuff, iykyk π«Ά)
πΈ SYNOPSIS
void * xe_mem_pool_cpu_addr (struct xe_mem_pool *pool );
that's it, that's the whole call. one argument, returns a pointer, slay π
π ARGUMENTS
poolβ the memory pool. that's it. that's the one (1) thing you gotta hand over. it's astruct xe_mem_pool *, no cap. π
β RETURN
you get back the CPU virtual address of memory pool. so like, the address, but for the CPU. not the GPU. the CPU. stay focused bestie π§
heads up: it's void *, so the type system isn't gonna hold your hand β you gotta know what you're pointing at. main character responsibility fr fr π
π¦ SEE ALSO
like a whole friend group of related functions, and they're all gonna be at the function, so:
- Kernel file
./drivers/gpu/drm/xe/xe_mem_pool.cβ alsostruct xe_mem_pool(9) xe_mem_pool_init(9)xe_mem_pool_sync(9)xe_mem_pool_swap_shadow_locked(9)xe_mem_pool_sync_shadow_locked(9)xe_mem_pool_gpu_addr(9)β the GPU version of this whole situation, if that's more your vibexe_mem_pool_bo_swap_guard(9)xe_mem_pool_bo_flush_write(9)xe_mem_pool_bo_sync_read(9)xe_mem_pool_alloc_node(9)xe_mem_pool_insert_node(9)xe_mem_pool_free_node(9)xe_mem_pool_node_cpu_addr(9)β the node-level cousin of this exact function, obsessed πxe_mem_pool_dump(9)
okay and before you close the tab: this little manual page for xe_mem_pool_cpu_addr(9) lives under ./drivers/gpu/drm/xe and it's dated October 2026. cite it with respect. periodt ππ
π¦ 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