gmc_v8_0_mc_program(9)
π gmc_v8_0_mc_program(9) π
ok so bestie, welcome to the Kernel API Manual β¨ this one's a lil function page from the Linux kernel docs and honestly? it's short, it's sweet, and it does exactly one thing. let's get into it π«Ά
πΈ NAME πΈ
gmc_v8_0_mc_program β program the GPU memory controller π
like, that's the whole job. it programs the memory controller. main character energy, zero side quests.
β¨ SYNOPSIS β¨
void gmc_v8_0_mc_program (struct amdgpu_device *adev );
no return value, no drama β it's a void, so it just does the thing and leaves πβ¨
π ARGUMENTS π
adevβ amdgpu_device pointer π¦ that's it, that's the one argument. it's a pointer to theamdgpu_device, which is literally the whole GPU's vibe in struct form. iykyk.
π DESCRIPTION π
ok so what this actually does, no cap: it sets the location of vram, gart, and AGP in the GPU's physical address space π
and yes bestie, it says (VI) β that's the generation tag right there in the description, so this is the VI-flavored version. keep it in mind π
so like, three things get placed into the GPU's physical address space: vram, gart, and AGP. that's the whole paragraph fr fr β short and iconic, we love a concise queen π
π₯ SEE ALSO π₯
the receipts, the whole friend group, and the file it lives in πβ¨
- Kernel file
./drivers/gpu/drm/amd/amdgpu/gmc_v8_0.cπ¦ gmc_v8_0_init_microcode(9)gmc_v8_0_tonga_mc_load_microcode(9)gmc_v8_0_mc_init(9)gmc_v8_0_flush_gpu_tlb_pasid(9)gmc_v8_0_flush_gpu_tlb(9)gmc_v8_0_set_fault_enable_default(9)gmc_v8_0_set_prt(9)gmc_v8_0_gart_enable(9)gmc_v8_0_gart_disable(9)gmc_v8_0_vm_decode_fault(9)
like, go read the siblings when you're done here, they're all part of the same gmc_v8_0 fam and they all ate π
π
ngl this page is tiny but she's doing her job with zero complaints. read the siblings if you wanna see the whole friend group in action π§
ok that's the whole page, bestie!! π this one's from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β you'll see that stamped in the footer of the original, so consider this the cute sign-off version β¨ mwah, go program that memory controller πππ
π¦ 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