cik_sdma_ring_test(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a radeon_device pointer πŸ’… like, the whole radeon device situation right there
  • ring β€” a radeon_ring structure 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:

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