cik_sdma_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_get_wptr(9) β€” from the Kernel API Manual πŸŽ€

okay bestie, welcome to the group chat, today we're talking about cik_sdma_get_wptr and honestly? it's giving tiny but crucial. this one lives in the Kernel API Manual and it's about to be your new fave little function. ✨


✨ NAME ✨

cik_sdma_get_wptr β€” literally just gets you the current write pointer, no cap πŸ–ŠοΈπŸ’–


🌸 SYNOPSIS 🌸

uint32_t cik_sdma_get_wptr (struct radeon_device *rdev , struct
radeon_ring *ring );

like, that's the whole signature. copy it exactly, don't @ me 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” a radeon_device pointer, aka your radeon device bestie πŸŽ€
  • ring β€” a radeon_ring pointer, aka the ring in question πŸ’«

πŸ’œ DESCRIPTION πŸ’œ

Get the current wptr from the hardware (CIK+). that's it, that's the vibe. it's a getter, it does one thing, and it slays at it. periodt. πŸ‘‘

ngl this is the good kind of function: it asks the hardware for the current write pointer and hands it right back to you. no drama, no side quests. πŸ”₯

🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/radeon/cik_sdma.c and honestly the whole friend group shows up here:

like, the whole squad. iykyk πŸ’€πŸ’–


and that's the page!! sourced from ./drivers/gpu/drm/radeon, dated October 2026, and yes the header still says cik_sdma_get_wptr(9) β€” go off, little manpage. πŸ§šβ€β™€οΈβ­πŸŒΈ

πŸ“¦ where this page comes from