amdgpu_gmc_fault_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘


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