amdgpu_vm_pt_parent(9)
okay bestie, welcome to the amdgpu_vm_pt_parent(9) page from the Kernel API Manual π«Ά this one is short and sweet, and yes, weβre keeping every single detail.
π NAME π
amdgpu_vm_pt_parent β get the parent page directory. periodt.
β¨ SYNOPSIS β¨
the signature is giving exactly this, no edits:
struct amdgpu_vm_bo_base * amdgpu_vm_pt_parent (struct amdgpu_vm_bo_base
*pt );
πΈ ARGUMENTS πΈ
ptβ the child page table. thatβs the whole mood.
π¦ DESCRIPTION π¦
okay so this is a helper that gets the parent entry for the child page table. it returns NULL if we are at the root page directory β yes, the root case is literally right there, donβt forget it π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c, and the whole friend group is:
amdgpu_vm_pt_level_shift(9)amdgpu_vm_pt_num_entries(9)amdgpu_vm_pt_entries_mask(9)amdgpu_vm_pt_size(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)
source/version ./drivers/gpu/drm/amd/amdgpu Β· date October 2026 β amdgpu_vm_pt_parent(9) is signing off, mwah ππ
π¦ 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