cik_sdma_set_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cik_sdma_set_wptr(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for cik_sdma_set_wptr β€” yes that's the whole function name, yes it's a mouthful, no we're not shortening it, iykyk πŸ’…


✨ NAME ✨

cik_sdma_set_wptr β€” commit the write pointer πŸŽ€


🌸 SYNOPSIS 🌸

void cik_sdma_set_wptr (struct radeon_device *rdev , struct radeon_ring
*ring );

like, it returns void, it takes two pointers, it's giving "small function, big job" energy fr fr ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” a radeon_device pointer πŸ‘‘ your whole radeon device, the main character
  • ring β€” a radeon_ring pointer πŸŽ€ the specific ring we're doing this to

πŸ’œ DESCRIPTION πŸ’œ

so what it actually does: it writes the wptr (the write pointer, obvi) back to the hardware πŸ”₯ and ngl the parenthetical is doing a lot of work here β€” this is a CIK+ thing, so that's the era of hardware we're talking about 🫢

that's it. that's the function. short, sweet, slays, periodt πŸ’…


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/radeon/cik_sdma.c and honestly the whole cik_sdma family is right here, so let's go down the list bestie 😭

like, that's the whole squad πŸ§šπŸ’œ go read them too, they're all lowkey doing their own thing and we stan


and that's the page!! this icon was brought to you by ./drivers/gpu/drm/radeon, dated October 2026 β€” mwah, hope this helped bestie, go commit that write pointer πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from