amdgpu_gmc_vram_mc2pa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ¦‹


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