amdgpu_gmc_agp_location(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the amdgpu device 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


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