amdgpu_dmabu...i_accessible(9)
π amdgpu_dmabu...i_accessible(9) β like, the Kernel API Manual page you didn't know you needed π¦
okay so bestie, welcome to the Kernel API Manual entry for amdgpu_dmabu...i_accessible(9) β yes the header is literally truncated like that, no cap, that's just how it's printed and we're not gonna pretend otherwise π. Buckle up, this one's a tiny lil boolean check and it's lowkey iconic.
β¨ NAME β¨
amdgpu_dmabuf_is_xgmi_accessible β the vibe check that tells you if xgmi is available for P2P transfer π₯
πΈ SYNOPSIS πΈ
bool amdgpu_dmabuf_is_xgmi_accessible (struct amdgpu_device *adev ,
struct amdgpu_bo *bo );
π ARGUMENTS π
adevβ theamdgpu_devicepointer of the importer π (i.e. the one doing the importing, main character energy)boβ the amdgpu buffer object π§
β RETURN β
True if the dmabuf is accessible over xgmi, false otherwise. That's it. That's the whole answer. Short king behavior fr fr π
Heads up bestie: it's a bool, so you're getting a yes-or-no, not a maybe. Don't @ me.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c β that's where the magic lives, go read it π«Ά
And the whole friend group of related pages, all invited to the group chat:
PRIME Buffer Sharing(9)dma_buf_attach_adev(9)amdgpu_dma_buf_attach(9)amdgpu_dma_buf_detach(9)amdgpu_dma_buf_pin(9)amdgpu_dma_buf_unpin(9)amdgpu_dma_buf_map(9)amdgpu_dma_buf_unmap(9)amdgpu_dma_buf_begin_cpu_access(9)amdgpu_gem_prime_export(9)amdgpu_dma_buf_create_obj(9)amdgpu_dma_buf_move_notify(9)amdgpu_gem_prime_import(9)
β§ο½₯οΎ: * sign-off szn * :οΎο½₯β§
this lil gem comes to you from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β yes, october twenty twenty-six, we're being so ahead of schedule, slay π
β¨ go forth and check your xgmi accessibility bestie, ily, bye π
π¦ 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