cayman_dma_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a radeon_device pointer 🫢 like, the whole device situation
  • ring β€” a radeon_ring pointer πŸ’ 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:

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