cik_sdma_get_wptr(9)
π 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β aradeon_devicepointer, aka your radeon device bestie πringβ aradeon_ringpointer, 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:
cik_sdma_get_rptr(9)cik_sdma_set_wptr(9)cik_sdma_ring_ib_execute(9)cik_sdma_hdp_flush_ring_emit(9)cik_sdma_fence_ring_emit(9)cik_sdma_semaphore_ring_emit(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_sdma_ctx_switch_enable(9)cik_sdma_enable(9)cik_sdma_gfx_resume(9)cik_sdma_rlc_resume(9)cik_sdma_load_microcode(9)cik_sdma_resume(9)cik_sdma_fini(9)cik_copy_dma(9)cik_sdma_ring_test(9)cik_sdma_ib_test(9)cik_sdma_is_lockup(9)cik_sdma_vm_copy_pages(9)cik_sdma_vm_write_pages(9)cik_sdma_vm_set_pages(9)cik_sdma_vm_pad_ib(9)
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
- 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