sdma_v6_0_ring_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« sdma_v6_0_ring_get_wptr(9) πŸ’«

okay bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs for fun now, this is who we are πŸ’…


✨ NAME ✨

sdma_v6_0_ring_get_wptr β€” get the current write pointer πŸŽ€


🌸 SYNOPSIS 🌸

uint64_t sdma_v6_0_ring_get_wptr (struct amdgpu_ring *ring );

like, that's it. that's the whole signature. she's tidy πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ring β€” amdgpu ring pointer. that's the one bb, hand her the ring and she'll do her thing 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

Get the current wptr from the hardware. no cap, that's literally the whole description β€” she reaches into the hardware and pulls the current write pointer back out for you, returns it as a uint64_t, and minds her own business ⭐


🌈 SEE ALSO 🌈

the whole squad, fr fr β€” first up the source file herself:

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c

and then the entire friend group 🫢:


and that's the page, bestie πŸ§šπŸ’œ straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, manual version 9 β€” k bye, love u, go read your write pointers responsibly πŸ“πŸ”₯

πŸ“¦ where this page comes from