sdma_v2_4_ring_get_wptr(9)
π sdma_v2_4_ring_get_wptr(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function from the AMDGPU squad and honestly? it's giving "small but iconic." let's get into it π«Ά
πΈ NAME πΈ
sdma_v2_4_ring_get_wptr β get the current write pointer π
β¨ SYNOPSIS β¨
uint64_t sdma_v2_4_ring_get_wptr (struct amdgpu_ring *ring );
π ARGUMENTS π
ringβ amdgpu ring pointer π« literally just the ring you're poking at, no cap.
π¦ DESCRIPTION π¦
So what does it do? It gets the current wptr straight from the hardware (VI+). that's it. that's the whole vibe π it's reaching into the silicon to ask "hey, where's the write pointer at rn?" and the hardware answers. highkey useful, lowkey adorable π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c sdma_v2_4_init_microcode(9),sdma_v2_4_ring_get_rptr(9),sdma_v2_4_ring_set_wptr(9),sdma_v2_4_ring_emit_ib(9),sdma_v2_4_ring_emit_hdp_flush(9),sdma_v2_4_ring_emit_fence(9),sdma_v2_4_gfx_stop(9),sdma_v2_4_rlc_stop(9),sdma_v2_4_enable(9),sdma_v2_4_gfx_resume(9),sdma_v2_4_rlc_resume(9),sdma_v2_4_start(9),sdma_v2_4_ring_test_ring(9),sdma_v2_4_ring_test_ib(9),sdma_v2_4_vm_copy_pte(9),sdma_v2_4_vm_write_pte(9),sdma_v2_4_vm_set_pte_pde(9),sdma_v2_4_ring_pad_ib(9),sdma_v2_4_ring_emit_pipeline_sync(9),sdma_v2_4_ring_emit_vm_flush(9),sdma_v2_4_emit_copy_buffer(9),sdma_v2_4_emit_fill_buffer(9)
the whole sdma_v2_4 friend group is here fr fr β go say hi to all of them π§π
and that's the page, bestie!! π this cutie lives in ./drivers/gpu/drm/amd/amdgpu and the manual itself is dated October 2026 β screenshot it, frame it, 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