sdma_v2_4_ring_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sdma_v2_4_ring_get_wptr(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function from the AMDGPU squad and honestly? it's giving "small but iconic." let's get into it 🫢


🌸 NAME 🌸

sdma_v2_4_ring_get_wptr β€” get the current write pointer πŸ‘‘

✨ SYNOPSIS ✨

uint64_t sdma_v2_4_ring_get_wptr (struct amdgpu_ring *ring );

πŸŽ€ ARGUMENTS πŸŽ€

  • ring β€” amdgpu ring pointer πŸ’« literally just the ring you're poking at, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It gets the current wptr straight from the hardware (VI+). that's it. that's the whole vibe πŸ’… it's reaching into the silicon to ask "hey, where's the write pointer at rn?" and the hardware answers. highkey useful, lowkey adorable 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

the whole sdma_v2_4 friend group is here fr fr β€” go say hi to all of them πŸ§šπŸ’œ


and that's the page, bestie!! πŸ’– this cutie lives in ./drivers/gpu/drm/amd/amdgpu and the manual itself is dated October 2026 β€” screenshot it, frame it, slay πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from