amdgpu_vm_pt_descendant(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to the amdgpu_vm_pt_descendant(9) page from the Kernel API Manual β€” the function whose whole personality is go to child node. That’s it, that’s the assignment. No cap. πŸ’…


✨ SYNOPSIS ✨

bool amdgpu_vm_pt_descendant (struct amdgpu_device *adev , struct
       amdgpu_vm_pt_cursor *cursor );

It’s giving bool, it’s giving two arguments, it’s giving β€œlet me walk to the child node real quick.” πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” an amdgpu_device pointer. Yep, the device pointer, your main-character device situation. πŸ”₯
  • cursor β€” the current state. This is the β€œyou are here” marker for the walk, bestie. πŸ“

πŸ’« DESCRIPTION πŸ’«

Walk to the child node of the current node.

That’s the whole plot. You’ve got a current node, you’ve got a child node, and this function does the little walk from one to the other. The cursor is holding the current state while that happens. Periodt. ✨


πŸ‘‘ RETURN πŸ‘‘

Returns true if the walk was possible, and false otherwise. So like: possible = true, not possible = false. No maybe, no β€œit’s complicated,” no vibes-based ambiguity. 😌


🫢 SEE ALSO 🫢

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c β€” go peek, it’s right there.

Also in the group chat, in this exact order: 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_parent(9), amdgpu_vm_pt_start(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).


Signed with sparkles by the Kernel API Manual πŸ’– source path ./drivers/gpu/drm/amd/amdgpu, dated October 2026, page amdgpu_vm_pt_descendant(9) β€” mwah! πŸŽ€

πŸ“¦ where this page comes from