cayman_dma_set_wptr(9)
π
cayman_dma_set_wptr β bestie's guide to the header file cayman_dma_set_wptr(9) from the Kernel API Manual β¨
okay so this is cayman_dma_set_wptr, she's a kernel API function living in the 9 section of the manual, and honestly? she's short, she's sweet, she does exactly one thing. main character energy but make it minimal π
πΈ NAME πΈ
cayman_dma_set_wptr β commit the write pointer π
that's it. that's the whole job. she commits the wptr. iconic.
β¨ SYNOPSIS β¨
void cayman_dma_set_wptr (struct radeon_device *rdev , struct
radeon_ring *ring );
no cap, that's the whole signature β returns void, so she doesn't even give you a value back. she just does the thing and dips π¦
π ARGUMENTS π
rdevβ aradeon_devicepointer π«Ά (yep, the big device struct, you know her)ringβ aradeon_ringpointer π (the ring in question, obvs)
two pointers, that's the whole guest list. short and slay.
π₯ DESCRIPTION π₯
so what does she actually do? she writes the wptr back to the hardware π and this is specifically for cayman+ β the plus is load-bearing, iykyk β
like, that's genuinely the entire description. no hidden lore, no edge cases listed, no surprises. just wptr β hardware. periodt. π
π SEE ALSO π
okay this is where the friend group shows up β the whole squad lives in the kernel file ./drivers/gpu/drm/radeon/ni_dma.c, and honestly they all ate:
cayman_dma_get_rptr(9)β the getter twin of the read pointer, bestie behaviour πcayman_dma_get_wptr(9)β the other getter, the wptr one, she's the mirror πͺcayman_dma_ring_ib_execute(9)β executes the ring IB, she's busy πcayman_dma_stop(9)β stopping things πcayman_dma_resume(9)β and picking them back up πΈcayman_dma_fini(9)β the fini era πcayman_dma_is_lockup(9)β the vibe check for lockups πcayman_dma_vm_copy_pages(9)β vm page-copying duties π¦cayman_dma_vm_write_pages(9)β vm page-writing duties β¨cayman_dma_vm_set_pages(9)β vm page-setting duties π§cayman_dma_vm_pad_ib(9)β the padding one, lowkey underrated π
π‘ friendly reminder: every one of these references is a (9) page, so if you wanna know more, that's where you go. no guessing, no extrapolating from this page alone β she's a one-liner and she owns it π
mwah π that's the page! this lil writeup comes to you straight from the source tree at ./drivers/gpu/drm/radeon, dated October 2026, and the page itself is literally titled cayman_dma_set_wptr(9) (the title and the manual name, together forever). stay slay, stay committed to the 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