amdgpu_gmc_agp_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_gmc_agp_addr(9) ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this one's a lil function from the amdgpu GMC world, and honestly it's giving "where does this thing live in AGP space" energy πŸ’…


🌸 NAME 🌸

amdgpu_gmc_agp_addr β€” return the address in the AGP address space πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

uint64_t amdgpu_gmc_agp_addr (struct ttm_buffer_object *bo );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the TTM BO that needs the address, and no cap it must be in the GTT domain 😭 like that's not optional bestie, it's a requirement.

πŸ’« DESCRIPTION πŸ’«

So what this iconic lil function does is try to figure out how to access the BO through the AGP aperture πŸ”₯ like it's literally doing the detective work of "how do we get to this buffer object via AGP".

And if that's not possible? It returns AMDGPU_BO_INVALID_OFFSET β€” that's the "nope, can't do it" answer πŸ’€ so if you see that come back, you know the AGP route was a no-go.


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c β€” that's where the magic lives ✨

and the whole friend group:


πŸŽ€ that's the whole page bestie, short and sweet, we love a concise icon πŸ’…

and yeah β€” this one's from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, page amdgpu_gmc_agp_addr(9) 🌈 mwah, thanks for reading, ily, bye! πŸ’–βœ¨

πŸ“¦ where this page comes from