vcn_v3_0_dec_ring_get_wptr(9)
β¨ 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β anamdgpu_ringpointer, 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) π«:
vcn_v3_0_early_init(9)vcn_v3_0_sw_init(9)vcn_v3_0_sw_fini(9)vcn_v3_0_hw_init(9)vcn_v3_0_hw_fini(9)vcn_v3_0_suspend(9)vcn_v3_0_resume(9)vcn_v3_0_mc_resume(9)vcn_v3_0_disable_clock_gating(9)vcn_v3_0_enable_clock_gating(9)vcn_v3_0_dec_ring_get_rptr(9)vcn_v3_0_dec_ring_set_wptr(9)vcn_v3_0_enc_ring_get_rptr(9)vcn_v3_0_enc_ring_get_wptr(9)vcn_v3_0_enc_ring_set_wptr(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms