amdgpu_vm_pt_entries_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_pt_entries_mask(9)

okay so bestie, we're in the Kernel API Manual today and this little function is genuinely iconic. It's amdgpu_vm_pt_entries_mask, and no cap, it's the ✨mask✨ to get the entry number of a PD/PT. that's the whole vibe. periodt.


πŸŽ€ NAME πŸŽ€

amdgpu_vm_pt_entries_mask β€” the mask to get the entry number of a PD/PT 🫢


✨ SYNOPSIS ✨

uint32_t amdgpu_vm_pt_entries_mask (struct amdgpu_device *adev ,
unsigned int level );

like, that's it. two args, one uint32_t coming back at you. slay.


🌸 ARGUMENTS 🌸

  • adev β€” an amdgpu_device pointer, i.e. your whole GPU device situation. main character energy fr fr. πŸ”₯
  • level β€” the VMPT level. yes queen, tell her which level you're on. πŸ‘‘

πŸ’– RETURN πŸ’–

The mask you use to extract the entry number of a PD/PT from an address. that's the tea β€” one mask, one address, entry number extracted. it's giving "find your girl in the crowd". 😭✨


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, honestly. go say hi to all of them. πŸ«ΆπŸ’œ


and that's the page, bestie!! 🌈⭐ cute little sign-off time: this one comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's filed under amdgpu_vm_pt_entries_mask(9). mwah πŸ’‹ stay masked (the entry-number way, not the other way, we're post-2020 here) πŸŽ€πŸ’…

πŸ“¦ where this page comes from