amdgpu_vm_pt_num_entries(9)
π 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 π€
- the kernel file itself, right here:
./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.cποΈ amdgpu_vm_pt_level_shift(9)amdgpu_vm_pt_entries_mask(9)amdgpu_vm_pt_size(9)amdgpu_vm_pt_parent(9)amdgpu_vm_pt_start(9)amdgpu_vm_pt_descendant(9)amdgpu_vm_pt_sibling(9)amdgpu_vm_pt_ancestor(9)amdgpu_vm_pt_next(9)amdgpu_vm_pt_first_dfs(9)amdgpu_vm_pt_continue_dfs(9)amdgpu_vm_pt_next_dfs(9)amdgpu_vm_pt_clear(9)amdgpu_vm_pt_create(9)amdgpu_vm_pt_alloc(9)amdgpu_vm_pt_free(9)amdgpu_vm_pt_free_list(9)amdgpu_vm_pt_add_list(9)amdgpu_vm_pt_free_root(9)amdgpu_vm_pde_update(9)amdgpu_vm_pte_update_noretry_flags(9)amdgpu_vm_pte_fragment(9)amdgpu_vm_ptes_update(9)amdgpu_vm_pt_map_tables(9)
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
- 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