amdgpu_gmc_agp_location(9)
π amdgpu_gmc_agp_location(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for amdgpu_gmc_agp_location(9) β it's lowkey all about finding a home for the AGP BAR. β¨
πΈ NAME πΈ
amdgpu_gmc_agp_location β try to find AGP location. π
β¨ SYNOPSIS β¨
void amdgpu_gmc_agp_location (struct amdgpu_device *adev , struct
amdgpu_gmc *mc );
π«Ά ARGUMENTS π«Ά
adevβ theamdgpudevice structure holding all the necessary information. πmcβ the memory controller structure holding the memory information. π
π₯ DESCRIPTION π₯
okay so this function is gonna try to find a place for the AGP BAR in the MC address space. No cap, that's the whole mission. π
The AGP BAR gets assigned the largest available hole in the address space β biggest gap gets the spot, periodt. π
It should be called after the VRAM and GART locations are set up, bestie. So like, do those first, okay? π«Ά
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
amdgpu_gmc_pdb0_alloc(9)amdgpu_gmc_get_pde_for_bo(9)amdgpu_gmc_set_pte_pde(9)amdgpu_gmc_agp_addr(9)amdgpu_gmc_vram_location(9)amdgpu_gmc_gart_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)
kisses bestie π β this lil page comes from the kernel source at ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the manual for amdgpu_gmc_agp_location(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