r600_dma_ring_test(9)
πΈ r600_dma_ring_test(9) πΈ
okay so bestie, welcome to the Kernel API Manual β yes we're reading kernel docs together, this is our life now, and honestly? iconic. this page is r600_dma_ring_test(9) and it's a whole vibe π
β¨ NAME β¨
r600_dma_ring_test β a simple async dma engine test π
π¦ SYNOPSIS π¦
int r600_dma_ring_test (struct radeon_device *rdev , struct radeon_ring *ring );
that's the whole signature, no cap. two args, returns an int, we move π
πΈ ARGUMENTS πΈ
rdevβ aradeon_devicepointer. literally just the radeon device, your main character π«Άringβ aradeon_ringstructure that's holding the ring information. she's holding the info for the ring, that's her job β¨
π₯ DESCRIPTION π₯
so what does she do? she tests the DMA engine by writing β using the engine itself to write a value to memory. like, the engine writes the value, that's the test. the way that works is genuinely so satisfying ngl π§
this is for r6xx-SI btw, so keep that in mind π
and the returns: 0 for success, and an error for failure. that's it, that's the deal π
super simple, no drama β but if you get an error back, something in the DMA engine is not slaying and you should probably look into it π
π SEE ALSO π
kernel file ./drivers/gpu/drm/radeon/r600_dma.c β go read her, she's the source fr fr π
and the whole friend group π:
r600_dma_get_rptr(9)r600_dma_get_wptr(9)r600_dma_set_wptr(9)r600_dma_stop(9)r600_dma_resume(9)r600_dma_fini(9)r600_dma_is_lockup(9)r600_dma_fence_ring_emit(9)r600_dma_semaphore_ring_emit(9)r600_dma_ib_test(9)r600_dma_ring_ib_execute(9)r600_copy_dma(9)
mwah π this page lives in ./drivers/gpu/drm/radeon, and it was stamped October 2026 β so yeah, she's dated, she's official, she's r600_dma_ring_test(9) and she ate. periodt πβ¨
π¦ 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