amdgpu_vm_pt_first_dfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to amdgpu_vm_pt_first_dfs(9) β€” the Kernel API Manual entry for the function that kicks off a deep first search. yes, deep first. we respect the original wording here πŸ’…βœ¨

πŸ’– NAME πŸ’–

amdgpu_vm_pt_first_dfs β€” start a deep first search. that's the name and the mission, periodt. 🫢

✨ SYNOPSIS ✨

here's the signature, copied exactly so nobody comes for me:

void amdgpu_vm_pt_first_dfs (struct amdgpu_device *adev , struct amdgpu_vm *vm , struct amdgpu_vm_pt_cursor *start , struct amdgpu_vm_pt_cursor *cursor );

it returns void, so there's no return value to obsess over. iconic behavior, honestly πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” the amdgpu_device structure. literally right there in the signature, bestie πŸ¦‹
  • vm β€” the amdgpu_vm structure. yes, that one πŸ’œ
  • start β€” an optional cursor to start with. optional! so don't panic 🌸
  • cursor β€” the state to initialize. it's giving "set me up so the traversal can begin" ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function starts a deep first traversal of the PD/PT tree. that's the whole description, and it ate. no cap. the PD/PT tree is the main character here, and this function is the one opening the curtain πŸ”₯πŸ‘‘

🌈 SEE ALSO 🌈

the kernel file is ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c, and here's the full see-also friend group β€” every single one, no skips:


signing off from ./drivers/gpu/drm/amd/amdgpu, October 2026, for amdgpu_vm_pt_first_dfs(9) β€” stay slay, stay curious, and hydrate before you traverse πŸ’œπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from