r600_dma_fini(9)
π r600_dma_fini β like, the Kernel API Manual entry, bestie β¨
okay so picture this: we're deep in the kernel docs, section 9, and the star of the show is r600_dma_fini. she's the one who shows up at the end of the party and turns the lights off. iconic behaviour, honestly π
πΈ NAME πΈ
r600_dma_fini β tear down the async dma engine π«Ά
like, she dismantles it. the async dma engine? yeah, it's done, it's wrapping up, it's going home π
β SYNOPSIS β
void r600_dma_fini (struct radeon_device *rdev );
no cap, that's the whole signature. void in, void out β she returns nothing because she's mysterious like that π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer. literally just the radeon device pointer, that's it, that's the whole vibe π
β¨ DESCRIPTION β¨
Stop the async dma engine and free the ring πβ¨ β and yes bestie, that's the r6xx-through-evergreen generation, so if your hardware falls in that window, this is your girl.
so: the async dma engine gets stopped, and the ring gets freed. both things. in that order, presumably, because that's how it's written and we don't invent facts around here π
lowkey important: this is a tear down function β she's the fini to somebody's init, the goodbye to somebody's hello. do not expect the engine to be usable after this. that's the whole point, bestie π
π§ SEE ALSO π§
the kernel file lives at ./drivers/gpu/drm/radeon/r600_dma.c β go read it, iykyk π and while you're in there, here's 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_is_lockup(9)r600_dma_ring_test(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)
π the sign-off π
that's a wrap, bestie π this one lives over in ./drivers/gpu/drm/radeon, dated October 2026 β yes, that October 2026, she's from the future and she's still tearing down dma engines. main character energy fr fr πβ
periodt. go free that ring. π
π¦ 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