sdma_v6_0_ring_get_wptr(9)
π« sdma_v6_0_ring_get_wptr(9) π«
okay bestie, welcome to the Kernel API Manual β yes we're reading kernel docs for fun now, this is who we are π
β¨ NAME β¨
sdma_v6_0_ring_get_wptr β get the current write pointer π
πΈ SYNOPSIS πΈ
uint64_t sdma_v6_0_ring_get_wptr (struct amdgpu_ring *ring );
like, that's it. that's the whole signature. she's tidy π
π¦ ARGUMENTS π¦
ringβ amdgpu ring pointer. that's the one bb, hand her the ring and she'll do her thing π«Ά
π DESCRIPTION π
Get the current wptr from the hardware. no cap, that's literally the whole description β she reaches into the hardware and pulls the current write pointer back out for you, returns it as a uint64_t, and minds her own business β
π SEE ALSO π
the whole squad, fr fr β first up the source file herself:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
and then the entire friend group π«Ά:
sdma_v6_0_ring_get_rptr(9)sdma_v6_0_ring_set_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)
and that's the page, bestie π§π straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, manual version 9 β k bye, love u, go read your write pointers responsibly ππ₯
π¦ 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