cik_sdma_ring_test(9)
π cik_sdma_ring_test(9) π
okay so bestie, you found a page from the Kernel API Manual β welcome to cik_sdma_ring_test(9), and honestly? it's giving "small function, big responsibility." let's get into it π«Ά
β¨ NAME β¨
cik_sdma_ring_test β the simple async dma engine test, no cap. that's literally it. that's the whole name. slay.
π SYNOPSIS π
int cik_sdma_ring_test (struct radeon_device *rdev , struct radeon_ring
*ring );
yes, it takes two pointers and hands you back an int. iconic signature tbh.
πΈ ARGUMENTS πΈ
rdevβ aradeon_devicepointer π like, the whole radeon device situation right thereringβ aradeon_ringstructure that's holding all the ring information, she's the main character of this parameter list
π¦ DESCRIPTION π¦
so what does it actually do? it tests the DMA engine by using it β like, it writes an value to memory using the DMA engine itself. (CIK). that's the vibe check: can she write successfully or not π
returns 0 for success, error for failure. periodt. those are the only two outcomes, no in-between, no "it's complicated."
π SEE ALSO π
go check out the kernel file ./drivers/gpu/drm/radeon/cik_sdma.c β that's where the whole fam lives, and honestly the friend group is huge, so here's every single one of them:
cik_sdma_get_rptr(9)cik_sdma_get_wptr(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_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)
twenty-three siblings. twenty-three!! and every one of them is linked above, exactly as listed, no gatekeeping π
okay and the sign-off, because we always credit our sources π§
this little beauty came from the source tree at ./drivers/gpu/drm/radeon, dated October 2026, and it's page cik_sdma_ring_test(9) of the Kernel API Manual. go read the source bestie, it's right there β¨π
π¦ 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