cayman_dma_get_wptr(9)
π cayman_dma_get_wptr π
okay so bestie, welcome to the cayman_dma_get_wptr(9) page β this one lives in the Kernel API Manual and honestly it's short, sweet, and does exactly what it says on the tin π
β¨ NAME β¨
cayman_dma_get_wptr β get the current write pointer
like, that's it. that's the whole job. a little pointer-fetching moment π
πΈ SYNOPSIS πΈ
uint32_t cayman_dma_get_wptr (struct radeon_device *rdev , struct
radeon_ring *ring );
so you call it, you hand it your stuff, and it gives you back a uint32_t. cute. functional. no notes β¨
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer π«Ά like, the whole device situationringβ aradeon_ringpointer π the ring in question, obviously
two pointers in, a write pointer out. main character energy fr fr π
π DESCRIPTION π
Get the current wptr from the hardware (cayman+).
ngl that's the entire description and it ate. no cap. it grabs the current write pointer straight from the hardware, and this is the cayman-and-later situation β so if you're on cayman+, this is your girl π
lowkey obsessed with how the hardware knows where the write pointer is and we just ask it. iconic.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/radeon/ni_dma.c β go read it, iykyk π and also these besties right here:
cayman_dma_get_rptr(9)cayman_dma_set_wptr(9)cayman_dma_ring_ib_execute(9)cayman_dma_stop(9)cayman_dma_resume(9)cayman_dma_fini(9)cayman_dma_is_lockup(9)cayman_dma_vm_copy_pages(9)cayman_dma_vm_write_pages(9)cayman_dma_vm_set_pages(9)cayman_dma_vm_pad_ib(9)
the whole radeon dma friend group honestly ππ
and that's the page bestie!! π this one's from ./drivers/gpu/drm/radeon in the Kernel API Manual, dated October 2026, and it's titled cayman_dma_get_wptr(9) β mwah, go get that write pointer π§ββοΈπ
β¨
π¦ 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