amdgpu_gmc_vram_pa(9)
π amdgpu_gmc_vram_pa(9) β the Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual entry for amdgpu_gmc_vram_pa β yes that's the whole name, yes it's a mouthful, no we are not abbreviating it, it's iconic and it knows it π
β¨ NAME β¨
amdgpu_gmc_vram_pa β literally calculates a vram buffer object's physical address from the GPU's point of view π«Ά like, not the CPU's view, the GPU's view, the main character's view, okay?? π
πΈ SYNOPSIS πΈ
uint64_t amdgpu_gmc_vram_pa (struct amdgpu_device *adev , struct
amdgpu_bo *bo );
it's giving "two pointer arguments in, one uint64_t out" and honestly? slay. β¨
π ARGUMENTS π
adevβ anamdgpu_devicepointer π you know, the whole device vibe, the big one, the one that holds everything together.boβ anamdgpu buffer objectπ¦ the actual buffer we're out here doing address math for. no cap.
π¦ SEE ALSO π¦
first up, the kernel file where this lives, bestie β go read the source, it's right there:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
and now the whole friend group π the entire gmc cinematic universe:
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_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)
ngl that's a whole group chat and every single one of them is invited to the function-call party π₯
okay genuine vibe check moment: this page gives you theNAME, theSYNOPSIS, theARGUMENTSand theSEE ALSOβ that's it, that's the whole page. noDESCRIPTION, noRETURN VALUE, noERRORS, noEXAMPLES. don't come for me, I'm not inventing lore that isn't in the source π
and that's the whole page babes π
brought to you by ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β mwah, go read amdgpu_gmc.c, 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