amdgpu_vm_pt_num_entries(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_pt_num_entries β€” like, the whole rundown ✨

okay so bestie, welcome to the Kernel API Manual entry for amdgpu_vm_pt_num_entries πŸŽ€ this is a lil function that tells you how many entries fit in a PD/PT and honestly? she's giving "quiet but essential" and we respect her for it 🫢


✨ NAME ✨

amdgpu_vm_pt_num_entries β€” returns the number of entries in a PD/PT πŸ’… (yes, that's page directory / page table, we love a good abbreviation moment)


🌸 SYNOPSIS 🌸

unsigned int amdgpu_vm_pt_num_entries (struct amdgpu_device *adev ,
unsigned int level );

she takes two things and gives you back an unsigned int, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” amdgpu_device pointer, aka the whole device vibe check πŸ–₯️✨
  • level β€” VMPT level, like which floor of the page-table building we're talking about 🏒

πŸ’– RETURN πŸ’–

The number of entries in a page directory or page table πŸŽ€ that's literally it, that's the whole answer, and she ate πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the group chat gets long, so buckle up bestie 🌈 there's a whole friend group here and you're meeting all of them, no skipping 😀

like, the whole amdgpu_vm_pt_* and amdgpu_vm_pte_* family tree is here and they're all iconic in their own way πŸ”₯ iykyk


ngl this page lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 πŸ“… so if you quote her, quote her with a timestamp bestie πŸ’œ

and that's the page!! mwah πŸ’‹ go read your page tables, drink water, and remember: every entry counts πŸ“πŸ§šβœ¨

πŸ“¦ where this page comes from