amdgpu_gmc_agp_addr(9)
β¨ 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:
amdgpu_gmc_pdb0_alloc(9)amdgpu_gmc_get_pde_for_bo(9)amdgpu_gmc_set_pte_pde(9)amdgpu_gmc_vram_location(9)amdgpu_gmc_gart_location(9)amdgpu_gmc_agp_location(9)amdgpu_gmc_set_agp_default(9)amdgpu_gmc_fault_key(9)amdgpu_gmc_filter_faults(9)amdgpu_gmc_filter_faults_remove(9)amdgpu_gmc_tmz_set(9)amdgpu_gmc_noretry_set(9)amdgpu_gmc_init_pdb0(9)amdgpu_gmc_vram_mc2pa(9)amdgpu_gmc_vram_pa(9)
π 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
- 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