drm_gpuvm_bo_for_each_va(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie 🫢 you're looking at drm_gpuvm_bo_for_each_va(9) from the Kernel API Manual, and it's literally the iterator for walking a list of &drm_gpuva. yes, we're in kernel-graphics-girlie territory now πŸ’…βœ¨

🌸 NAME 🌸

drm_gpuvm_bo_for_each_va β€” iterator to walk over a list of &drm_gpuva πŸŽ€

✨ SYNOPSIS ✨

drm_gpuvm_bo_for_each_va (va__ , vm_bo__ );

πŸŽ€ ARGUMENTS πŸŽ€

  • va__ β€” the drm_gpuva structure you assign to on each iteration step πŸ¦‹
  • vm_bo__ β€” the drm_gpuvm_bo that the drm_gpuvas you're walking are associated with πŸ’–

πŸ’… DESCRIPTION πŸ’…

okay so this iterator walks over all the drm_gpuva structures associated with the drm_gpuvm_bo. that's the whole vibe: you loop, and each step hands you a drm_gpuva. iconic, honestly ✨

important bestie: the caller must hold the GEM's gpuva lock. this is not a β€œmaybe later” situation β€” lock it before you iterate, no cap πŸ”’πŸ’€

πŸ’– SEE ALSO πŸ’–

mwah πŸ’‹ β€” source/version is ./include/drm, date is October 2026, and the page is drm_gpuvm_bo_for_each_va(9). go be iconic with your iterators, bestie 🧚✨

πŸ“¦ where this page comes from