uvd_v6_0_enc_ring_set_wptr(9)
π uvd_v6_0_enc_ring_set_wptr (kernel API manual, bestie edition) π
Okay so bestie, we're in the kernel API manual today and this one is literally about the UVD v6.0 encoder ring β yes, that's the AMD video decode/encode block, and yes we're being β¨responsibleβ¨ about write pointers. Sit down, hydrate, let's go. π«Ά
β¨ NAME β¨
uvd_v6_0_enc_ring_set_wptr β set enc write pointer π
Like, that's the whole job. It sets the encoder's write pointer. Iconic, concise, no notes. π
πΈ SYNOPSIS πΈ
void uvd_v6_0_enc_ring_set_wptr (struct amdgpu_ring *ring );
No cap, that's it. One argument, returns nothing (void), and it's called uvd_v6_0_enc_ring_set_wptr. Copy-paste it exactly like that or the compiler will absolutely clock you. π
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer π. That's the ring struct, that's the one you're passing in, that's the whole vibe check. If you don't have a validamdgpu_ring *you should lowkey not be here tbh π.
β DESCRIPTION β
So what it actually does: it commits the enc write pointer to the hardware. π
That's the description, word for word, and honestly it's giving main character energy β short, confident, gets straight to the point. The write pointer gets committed. To the hardware. That's the tea β and that's the whole function. π₯
Bestie reminder: this is the enc variant. Don't be out here mixing it up with the non-enc ones in SEE ALSO, iykyk π
π SEE ALSO π
The kernel file lives at ./drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c β that's the source of truth, go read it. π
And here's the whole friend group, all the sibling functions, not a single one skipped because we don't do that here:
uvd_v6_0_enc_support(9)uvd_v6_0_ring_get_rptr(9)uvd_v6_0_enc_ring_get_rptr(9)uvd_v6_0_ring_get_wptr(9)uvd_v6_0_enc_ring_get_wptr(9)uvd_v6_0_ring_set_wptr(9)uvd_v6_0_enc_ring_test_ring(9)uvd_v6_0_enc_get_create_msg(9)uvd_v6_0_enc_get_destroy_msg(9)uvd_v6_0_enc_ring_test_ib(9)uvd_v6_0_hw_init(9)uvd_v6_0_hw_fini(9)uvd_v6_0_mc_resume(9)uvd_v6_0_start(9)uvd_v6_0_stop(9)uvd_v6_0_ring_emit_fence(9)uvd_v6_0_enc_ring_emit_fence(9)uvd_v6_0_ring_emit_hdp_flush(9)uvd_v6_0_ring_test_ring(9)uvd_v6_0_ring_emit_ib(9)uvd_v6_0_enc_ring_emit_ib(9)
Slay. The whole squad is accounted for. π
And that's a wrap, bestie! This lil page came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's titled uvd_v6_0_enc_ring_set_wptr(9) in the Kernel API Manual. Go commit that write pointer to the hardware, drink some water, and remember: π§ the ring is not gonna set its own wptr. 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