amdgpu_res_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« amdgpu_res_next(9) πŸ’«

ok so this is a page from the Kernel API Manual β€” your girl is about to walk you through amdgpu_res_next, and honestly bestie it's a tiny little function with one job and it does it flawlessly πŸ’…


✨ NAME ✨

amdgpu_res_next β€” advance the cursor 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void amdgpu_res_next (struct amdgpu_res_cursor *cur , uint64_t size );

no cap, that's the whole thing 🌸


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cur β€” the cursor you're advancing. your main character struct, literally ✨
  • size β€” number of bytes to move forward. how far we scootin', bestie πŸ’«

πŸ”₯ DESCRIPTION πŸ”₯

So what it does is: move the cursor size bytes forward, walking to the next node if necessary πŸ‘‘

like, the cursor gets shoved forward by size bytes and if that push takes it past where it's currently parked, it just hops over to the next node β€” no drama, no fight, it's giving "i know my purpose" energy fr fr πŸ’œ

it's a cursor. it advances. it's iconic. periodt πŸ’…


🧚 SEE ALSO 🧚

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h β€” the whole header where this lives, go read it iykwyk πŸ“–
  • amdgpu_res_first(9) β€” the one that starts you off πŸ“
  • amdgpu_res_cleared(9) β€” its sibling, also slay ✨

lowkey this one's short and sweet and that's exactly why we love her πŸ’–

ok that's the page!! this lives in ./drivers/gpu/drm/amd/amdgpu and the version vibes are stamped October 2026 β€” screenshot it, study it, love it, mwah πŸ˜­πŸ’œπŸ¦‹

πŸ“¦ where this page comes from