uvd_v6_0_ring_set_wptr(9)
π« uvd_v6_0_ring_set_wptr(9) π«
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function from the AMDGPU fam and it's short but she's important, no cap.
πΈ NAME πΈ
uvd_v6_0_ring_set_wptr β set write pointer, that's literally the whole job π
π¦ SYNOPSIS π¦
void uvd_v6_0_ring_set_wptr (struct amdgpu_ring *ring );
that's it. that's the whole signature. returns nothing (void), takes one pointer. clean, minimal, iconic π
π ARGUMENTS π
ringβ amdgpu_ring pointer π like, a pointer to astruct amdgpu_ring. that's the whole arg. she's the main character here, everything happens through her.
β¨ DESCRIPTION β¨
Commits the write pointer to the hardware π₯
fr fr that's it β it takes the write pointer and commits it to the hardware. no side quests, no extra params, just the commit. the way that this lil function just does its one thing is honestly so refreshing ππ«Ά
lowkey a reminder: this is the v6.0 UVD ring flavour specifically, so don't go mixing her up with the enc ring variants or the getters, iykyk π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/uvd_v6_0.cπ 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_enc_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)
that's the whole friend group, go say hi to all of them ππ§
π sign-off π
k bye bestie!! this page lives in ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 in the Kernel API Manual β go commit that write pointer and slay π
βπ
π¦ 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