vcn_v2_0_enc_ring_get_rptr(9)
π vcn_v2_0_enc_ring_get_rptr(9) π
okay so bestie, welcome to the Kernel API Manual π β this little cutie lives in the kernel docs and it's here to explain one (1) very specific function to you. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
vcn_v2_0_enc_ring_get_rptr β get enc read pointer π
like... literally that's the whole job. it gets the enc read pointer. main character energy, zero notes. π
πΈ SYNOPSIS πΈ
uint64_t vcn_v2_0_enc_ring_get_rptr (struct amdgpu_ring *ring );
yup, that's it. it hands you back a uint64_t and it takes exactly one thing: a struct amdgpu_ring * named ring. screaming, crying, throwing up over how clean that signature is πβ¨
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer π« that's the whole parameter list. that's the whole vibe check. one pointer, and it better be anamdgpu_ringone, iykyk.
π DESCRIPTION π
so what does it do? it returns the current hardware enc read pointer. π₯
like β the hardware has a read pointer for the enc ring, and this function goes and gets the current one for you. that's it, that's the function, and honestly? iconic. no cap. π«Ά
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.cπ β the source file, go read it if you wanna see the realness 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_get_wptr(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_emit_fence(9)vcn_v2_0_enc_ring_emit_ib(9)
the whole friend group fr fr π literally go read all of them, they're all slaying in their own way π§
π friendly reminder bestie: everything here is exactly what the page says β no extra lore, no headcanons, no "I think it probably also does X." we do not make things up in this house. π
and that's the page!! a huge thank you to ./drivers/gpu/drm/amd/amdgpu for putting this out into the world, dated October 2026 β β mwah, kisses, periodt. ππ
π
π¦ 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