vcn_v2_0_dec_ring_get_wptr(9)
π vcn_v2_0_dec_ring_get_wptr(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're literally in the kernel docs rn, and honestly? iconic. this one lives in ./drivers/gpu/drm/amd/amdgpu and ngl it's a tiny little function but it has main character energy. let's get into it π«Ά
β¨ NAME β¨
vcn_v2_0_dec_ring_get_wptr β get write pointer
likeβ¦ it gets the write pointer. that's the whole vibe. π
πΈ SYNOPSIS πΈ
uint64_t vcn_v2_0_dec_ring_get_wptr (struct amdgpu_ring *ring );
she returns a uint64_t and she takes exactly one (1) argument. no cap. β¨
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer. that's it, that's the argument. your ring. your girl. π
π DESCRIPTION π
Returns the current hardware write pointer.
fr fr that's the whole description β this function is short and she knows it. you hand her the ring, she hands you back the hardware's current write pointer as a uint64_t. lowkey elegant, highkey slay. π₯
π SEE ALSO π
the whole friend group, in order, because we do not leave anyone out π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9)vcn_v2_0_sw_init(9)vcn_v2_0_sw_fini(9)vcn_v2_0_hw_init(9)vcn_v2_0_hw_fini(9)vcn_v2_0_suspend(9)vcn_v2_0_resume(9)vcn_v2_0_mc_resume(9)vcn_v2_0_disable_clock_gating(9)vcn_v2_0_enable_clock_gating(9)vcn_v2_0_dec_ring_get_rptr(9)vcn_v2_0_dec_ring_set_wptr(9)vcn_v2_0_dec_ring_insert_start(9)vcn_v2_0_dec_ring_insert_end(9)vcn_v2_0_dec_ring_insert_nop(9)vcn_v2_0_dec_ring_emit_fence(9)vcn_v2_0_dec_ring_emit_ib(9)vcn_v2_0_enc_ring_get_rptr(9)vcn_v2_0_enc_ring_emit_fence(9)vcn_v2_0_enc_ring_emit_ib(9)
and that's the page bestie!! π this cutie comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and honestly? a whole era. go read your write pointers. i'm obsessed. πβ¨π¦πΈπ
π¦ 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