sdma_v6_0_ring_set_wptr(9)
β¨ sdma_v6_0_ring_set_wptr(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a tiny little function page but it absolutely carries, and yes we're gonna read the whole thing together, no skimming, i'm watching you π
πΈ NAME πΈ
sdma_v6_0_ring_set_wptr β the one where we commit the write pointer π
π¦ SYNOPSIS π¦
void sdma_v6_0_ring_set_wptr (struct amdgpu_ring *ring );
that's it. that's the whole signature. no return value, it's giving void, it gives nothing back because it doesn't need to π
π ARGUMENTS π
ringβ an amdgpu ring pointer. literally just the amdgpu ring pointer. hand it over, that's the whole vibe check β¨
π DESCRIPTION π
Write the wptr back to the hardware. π«Ά
that's the whole description bestie, i'm not even playing β the manpage said it in one line and honestly? iconic. the write pointer (that's "wptr" for the people in the back π) gets written back to the hardware. that's the tea, no cap ββ¨
π₯ SEE ALSO π₯
first up, the source file, in case you wanna go read the real thing (you should, lowkey):
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
and now the whole friend group, all of these, in this exact order, don't come for me π:
sdma_v6_0_ring_get_rptr(9)sdma_v6_0_ring_get_wptr(9)sdma_v6_0_ring_emit_mem_sync(9)sdma_v6_0_ring_emit_hdp_flush(9)sdma_v6_0_ring_emit_fence(9)sdma_v6_0_gfx_stop(9)sdma_v6_0_rlc_stop(9)sdma_v6_0_ctxempty_int_enable(9)sdma_v6_0_enable(9)sdma_v6_0_gfx_resume_instance(9)sdma_v6_0_gfx_resume(9)sdma_v6_0_rlc_resume(9)sdma_v6_0_load_microcode(9)sdma_v6_0_start(9)sdma_v6_0_ring_test_ring(9)sdma_v6_0_vm_copy_pte(9)sdma_v6_0_vm_write_pte(9)sdma_v6_0_vm_set_pte_pde(9)sdma_v6_0_ring_emit_pipeline_sync(9)sdma_v6_0_emit_copy_buffer(9)sdma_v6_0_emit_fill_buffer(9)
like, that's the whole squad, get to know them π§ββοΈ
ok that's the page!! short and sweet and honestly kind of a slay π«
sign-off time π¬ this gem lives in ./drivers/gpu/drm/amd/amdgpu, it's the October 2026 edition, and the page name is sdma_v6_0_ring_set_wptr(9) β mwah, love u, bye ππ
π¦ 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