amdgpu_gmc_set_agp_default(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_gmc_set_agp_default(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for amdgpu_gmc_set_agp_default β€” yes it's a mouthful, yes you'll be saying it in your sleep, and yes it's lowkey iconic πŸ’…


🌸 NAME 🌸

amdgpu_gmc_set_agp_default β€” sets the default AGP aperture value. that's it, that's the whole job, and she does it flawlessly πŸŽ€


⭐ SYNOPSIS ⭐

void amdgpu_gmc_set_agp_default (struct amdgpu_device *adev , struct
amdgpu_gmc *mc );

literally just hand her two structs and she handles the rest, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the amdgpu device structure, and she is holding all the necessary information for you. main character energy fr fr πŸ‘‘
  • mc β€” the memory controller structure, keeping all the memory information safe and cozy. she knows things πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” to disable the AGP aperture, you have to set the start to a larger value than the end. that's the trick, that's the whole vibe check, and it's giving "backwards but make it work" πŸ’€

this function sets the default value β€” which you can then override using amdgpu_gmc_agp_location if you wanna enable the AGP aperture on a specific chip. so think of it as setting the baseline and then doing whatever you want afterwards, obsessed honestly ✨


πŸ’– SEE ALSO πŸ’–

like, go read the whole friend group, they all slay in their own way 🌈


ngl bestie, this one's short and sweet β€” set the default, let the chip-specific override do its thing, and remember: start bigger than end means AGP aperture is off. periodt πŸ’…

and that's the page!! brought to you by the fine folks over at ./drivers/gpu/drm/amd/amdgpu, dated October 2026, living under the amdgpu_gmc_set_agp_default(9) header πŸ§šπŸ’– bye bestie, go read some kernel source πŸ“

πŸ“¦ where this page comes from