si_dma_ring_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« si_dma_ring_get_wptr(9) β€” like, the Kernel API Manual, bestie πŸ’«

Okay so real talk: this is a page from the Kernel API Manual, and it's all about grabbing the current write pointer. Short, sweet, and lowkey iconic. Let's get into it 🫢


🌸 NAME 🌸

si_dma_ring_get_wptr β€” get the current write pointer ✨


πŸŽ€ SYNOPSIS πŸŽ€

uint64_t si_dma_ring_get_wptr (struct amdgpu_ring *ring );

That's the whole vibe. One function, one pointer, one uint64_t coming back at you πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ring β€” an amdgpu ring pointer. That's it, that's the arg πŸͺ©

πŸ’– DESCRIPTION πŸ’–

Get the current wptr from the hardware (SI). No cap, that's literally the whole description β€” it's giving "short and mysterious" and we respect it πŸ”₯


🌈 SEE ALSO 🌈

Kernel file: ./drivers/gpu/drm/amd/amdgpu/si_dma.c

And the whole friend group of related calls πŸ‘‘:


Bestie note: this page is from ./drivers/gpu/drm/amd/amdgpu, and the manual footer says October 2026 β€” so yeah, it's timestamped and everything, periodt πŸ’…βœ¨

Stay slay, read your pointers, and don't forget to check the rptr too πŸ§šπŸ’œ

πŸ“¦ where this page comes from