amdgpu_res_next(9)
π« 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
- 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