r600_dma_get_wptr(9)
π r600_dma_get_wptr π
okay so this is a page from the Kernel API Manual (yes, the r600_dma_get_wptr(9) one, bestie, you're in the right place π«Ά) and it's honestly such a little snack of a function. Let's get into it.
β¨ NAME β¨
r600_dma_get_wptr β get the current write pointer π
πΈ SYNOPSIS πΈ
uint32_t r600_dma_get_wptr (struct radeon_device *rdev , struct
radeon_ring *ring );
like, it literally returns a uint32_t and takes two pointers, no cap π
π ARGUMENTS π
rdevβ radeon_device pointer π₯οΈ (the device, the whole vibe)ringβ radeon ring pointer π (the ring u care about)
π¦ DESCRIPTION π¦
Get the current wptr from the hardware (r6xx+). β¨
that's it, that's the whole function. it grabs the current write pointer straight from the hardware, and it's giving r6xx-and-later energy only, iykyk π
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/radeon/r600_dma.c π and honestly the whole friend group is iconic:
r600_dma_get_rptr(9)r600_dma_set_wptr(9)r600_dma_stop(9)r600_dma_resume(9)r600_dma_fini(9)r600_dma_is_lockup(9)r600_dma_ring_test(9)r600_dma_fence_ring_emit(9)r600_dma_semaphore_ring_emit(9)r600_dma_ib_test(9)r600_dma_ring_ib_execute(9)r600_copy_dma(9)
go read them all, they ate π₯
ngl this page is from ./drivers/gpu/drm/radeon, dated October 2026 β so like, future vibes only π°οΈβ¨ mwah, stan this manpage, bye bestie πππ¦
π¦ 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