amdgpu_gmc_vram_mc2pa(9)
π amdgpu_gmc_vram_mc2pa(9) π
okay bestie, welcome to the Kernel API Manual entry for amdgpu_gmc_vram_mc2pa. this function is here to calculate vram buffer's physical address from MC address β no cap, that's the whole job, and it ate π
πΈ NAME πΈ
amdgpu_gmc_vram_mc2pa β calculate vram buffer's physical address from MC address π«Ά
β¨ SYNOPSIS β¨
uint64_t amdgpu_gmc_vram_mc2pa (struct amdgpu_device *adev , uint64_t
mc_addr );
π ARGUMENTS π
adevβ amdgpu_device pointer. yes bestie, that's the device pointer, main character struct energy πmc_addrβ MC address of buffer. the MC address you're handing in for the translation π
π¦ 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_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_pa(9)
mwah π source/version: ./drivers/gpu/drm/amd/amdgpu; manual: Kernel API Manual; date: October 2026. that's the page, bestie β go translate those addresses and slay β¨π
π¦ 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