sdma_v2_4_ring_get_rptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v2_4_ring_get_rptr(9)

okay so this is a page from the Kernel API Manual, and it's literally about one tiny function that does one tiny thing, but bestie it's important okay 😀


✨ NAME ✨

sdma_v2_4_ring_get_rptr β€” get the current read pointer 🎯

🌸 SYNOPSIS 🌸

uint64_t sdma_v2_4_ring_get_rptr (struct amdgpu_ring *ring );

like, it returns a uint64_t and takes exactly one arg, no cap πŸ’–

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ring β€” amdgpu ring pointer πŸŽ€ the one and only thing you hand it, and yes it's a ring pointer from amdgpu, that's the whole vibe

πŸ‘‘ DESCRIPTION πŸ‘‘

Get the current rptr from the hardware (VI+). periodt ✨

that's it. that's the function. it reaches into the hardware, grabs the current read pointer, and hands it back to you as a uint64_t. VI+ only, so if you're on something older this is not your era πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the main character file itself lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c β€” go read it, iykyk πŸ“–

and here's the whole friend group, all of them, no one left out 🫢


and that's the whole page, bestie 🌈 this cutie lives in ./drivers/gpu/drm/amd/amdgpu, and the version of the page you're reading is dated October 2026 β€” so go get that read pointer, slay, and drink some water πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from