amdgpu_gmc_fault_key(9)
π amdgpu_gmc_fault_key π
okay bestie, welcome to the Kernel API Manual (section 9, we're fancy like that) β¨ this little cutie is called amdgpu_gmc_fault_key, and honestly? it's giving tiny function, big job energy. its whole personality is: get a hash key from a vm fault address and a pasid. that's it, that's the vibe π
β¨ SYNOPSIS β¨
uint64_t amdgpu_gmc_fault_key (uint64_t addr , uint16_t pasid );
so it takes two things and hands you back a uint64_t. lowkey iconic signature ngl π«Ά
πΈ ARGUMENTS πΈ
addrβ a 48 bit physical address, and it's gotta be page aligned, bestie (with 36 significant bits β that's the part that actually matters, iykyk) πpasidβ the 16 bit process address space identifier. yes, a whole 16 bits of "which process is this" energy π¦
π₯ SEE ALSO π₯
the kernel file lives right here, no cap:
./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
and here's the whole friend group, all of them, in order, don't skip anyone π
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_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)amdgpu_gmc_vram_pa(9)
bestie reminder: this is a <purple>kernel API</purple> page, so everything here is C-level, function-signature territory β not your average shell command, fr fr π
and that's the whole page π no extra lore, no hidden options, just address + pasid in, uint64_t out, slay. mwah π
πΈ
signed, sealed, delivered from ./drivers/gpu/drm/amd/amdgpu β October 2026 β amdgpu_gmc_fault_key(9) πβ¨
π¦ 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