sdma_v6_0_enable(9)
π sdma_v6_0_enable(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual, and today's main character is sdma_v6_0_enable π this one lives way down in the amdgpu mines and honestly? it's giving "small function, big responsibility" energy.
β¨ NAME β¨
sdma_v6_0_enable β stop the async dma engines π
(yes, the NAME says stop but the DESCRIPTION says halt or unhalt β we love a dual-threat icon, more on that below π)
πΈ SYNOPSIS πΈ
void sdma_v6_0_enable (struct amdgpu_device *adev , bool enable );
no return value, no drama, just vibes and a void π«Ά
π ARGUMENTS π
adevβ amdgpu_device pointer π« like, the whole GPU device situation, handed to you as a pointerenableβ enable/disable the DMA MEs π§ this little bool is literally the whole switch: flip it and the DMA MEs go one way or the other
π¦ DESCRIPTION π¦
Halt or unhalt the async dma engines. β¨ that's it, that's the function. it's a pause/unpause button for the async dma engines β press it and they stop, press it the other way and they un-stop. no cap.
fr fr the enable flag is doing all the emotional labour here, so mind what you pass π
π SEE ALSO π
the kernel file it lives in:
./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
and the whole friend group (ngl this squad is stacked):
sdma_v6_0_ring_get_rptr(9)sdma_v6_0_ring_get_wptr(9)sdma_v6_0_ring_set_wptr(9)sdma_v6_0_ring_emit_mem_sync(9)sdma_v6_0_ring_emit_hdp_flush(9)sdma_v6_0_ring_emit_fence(9)sdma_v6_0_gfx_stop(9)sdma_v6_0_rlc_stop(9)sdma_v6_0_ctxempty_int_enable(9)sdma_v6_0_gfx_resume_instance(9)sdma_v6_0_gfx_resume(9)sdma_v6_0_rlc_resume(9)sdma_v6_0_load_microcode(9)sdma_v6_0_start(9)sdma_v6_0_ring_test_ring(9)sdma_v6_0_vm_copy_pte(9)sdma_v6_0_vm_write_pte(9)sdma_v6_0_vm_set_pte_pde(9)sdma_v6_0_ring_emit_pipeline_sync(9)sdma_v6_0_emit_copy_buffer(9)sdma_v6_0_emit_fill_buffer(9)
like I said. stacked. π
before you go β the source/version line on this page is ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026, so if you're reading this from the future: hi bestie, hope the DMA MEs are behaving π
okay bye, go halt something (or unhalt it), ily ππ₯
π¦ 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