vcn_v3_0_dec_ring_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vcn_v3_0_dec_ring_get_wptr ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's a lil function called vcn_v3_0_dec_ring_get_wptr, and honestly? it's giving "small but mighty." let's get into it 🫢


🌸 NAME 🌸

vcn_v3_0_dec_ring_get_wptr β€” literally just get write pointer, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

uint64_t vcn_v3_0_dec_ring_get_wptr (struct amdgpu_ring *ring );

so you call it, you hand it a ring, and it hands you back a uint64_t. no cap, that's it πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • ring β€” an amdgpu_ring pointer, aka the ring you're asking about. that's the one and only thing you pass in πŸŒ€

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea β˜•: this function returns the current hardware write pointer. that's it. that's the whole description. iconic, honestly β€” no notes, no caveats, no weird edge cases mentioned. main character energy for a getter πŸ”₯


⭐ SEE ALSO ⭐

the kernel file where this lil guy lives:

  • ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c

and the whole friend group (iykyk) πŸ’«:

ngl the sibling energy here is unmatched β€” get_rptr, get_wptr, set_wptr, dec ring, enc ring… a whole family tree πŸ§šβ€β™€οΈ

πŸ’Œ okay that's the page!! this one came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's part of the Kernel API Manual β€” slay, go read the source, mwah πŸ“πŸ’…

πŸ“¦ where this page comes from