si_dma_ring_get_wptr(9)
π« si_dma_ring_get_wptr(9) β like, the Kernel API Manual, bestie π«
Okay so real talk: this is a page from the Kernel API Manual, and it's all about grabbing the current write pointer. Short, sweet, and lowkey iconic. Let's get into it π«Ά
πΈ NAME πΈ
si_dma_ring_get_wptr β get the current write pointer β¨
π SYNOPSIS π
uint64_t si_dma_ring_get_wptr (struct amdgpu_ring *ring );
That's the whole vibe. One function, one pointer, one uint64_t coming back at you π
π¦ ARGUMENTS π¦
ringβ an amdgpu ring pointer. That's it, that's the arg πͺ©
π DESCRIPTION π
Get the current wptr from the hardware (SI). No cap, that's literally the whole description β it's giving "short and mysterious" and we respect it π₯
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/si_dma.c
And the whole friend group of related calls π:
si_dma_ring_get_rptr(9)si_dma_ring_emit_fence(9)si_dma_ring_test_ring(9)si_dma_ring_test_ib(9)si_dma_vm_copy_pte(9)si_dma_vm_write_pte(9)si_dma_vm_set_pte_pde(9)si_dma_ring_pad_ib(9)si_dma_ring_emit_pipeline_sync(9)si_dma_ring_emit_vm_flush(9)si_dma_emit_copy_buffer(9)si_dma_emit_fill_buffer(9)
Bestie note: this page is from ./drivers/gpu/drm/amd/amdgpu, and the manual footer says October 2026 β so yeah, it's timestamped and everything, periodt π
β¨
Stay slay, read your pointers, and don't forget to check the rptr too π§π
π¦ 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