sdma_v7_0_enable(9)
π sdma_v7_0_enable β from the Kernel API Manual, bestie
okay so real talk, we're in the Kernel API Manual today and the star of the show is sdma_v7_0_enable(9). yes the name is a mouthful. no you're not allowed to skip it. π«Ά
β¨ NAME β¨
sdma_v7_0_enable β stop the async dma engines
(yes, the name says enable and the tagline says stop. that's not me being messy, that's literally what the page says. iykyk π)
π SYNOPSIS π
void sdma_v7_0_enable (struct amdgpu_device *adev , bool enable );
it returns void, meaning it hands you nothing back. it just does the thing and leaves. main character energy honestly π
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer. your whole GPU device situation, one pointer, iconic.enableβ aboolthat says whether you're enabling or disabling the DMA MEs. it's giving "on or off, pick one" π¦
π¦ DESCRIPTION π¦
Halt or unhalt the async dma engines.
that's it. that's the whole vibe. you either halt them or you unhalt them, and enable is the little switch that decides which one you're doing. no cap, that's the entire description. π
π SEE ALSO π
first up, the source file itself, literally right here:
Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
and then the whole friend group, alphabetically-ish, all of them, no one left out π«Ά:
sdma_v7_0_ring_get_rptr(9)sdma_v7_0_ring_get_wptr(9)sdma_v7_0_ring_set_wptr(9)sdma_v7_0_ring_emit_ib(9)sdma_v7_0_ring_emit_mem_sync(9)sdma_v7_0_ring_emit_hdp_flush(9)sdma_v7_0_ring_emit_fence(9)sdma_v7_0_gfx_stop(9)sdma_v7_0_rlc_stop(9)sdma_v7_0_ctx_switch_enable(9)sdma_v7_0_gfx_resume_instance(9)sdma_v7_0_gfx_resume(9)sdma_v7_0_rlc_resume(9)sdma_v7_0_load_microcode(9)sdma_v7_0_start(9)sdma_v7_0_ring_test_ring(9)sdma_v7_0_ring_test_ib(9)sdma_v7_0_vm_copy_pte(9)sdma_v7_0_vm_write_pte(9)sdma_v7_0_vm_set_pte_pde(9)sdma_v7_0_ring_pad_ib(9)sdma_v7_0_ring_emit_pipeline_sync(9)sdma_v7_0_ring_emit_vm_flush(9)sdma_v7_0_emit_copy_buffer(9)sdma_v7_0_emit_fill_buffer(9)
like i said. the whole group chat. π
ngl this one is short and sweet β one function, two args, halt or unhalt. read it, love it, go read the other twenty-five pages. periodt π
and that's a wrap, bestie π this lil page lives in ./drivers/gpu/drm/amd/amdgpu, dropped as part of the Kernel API Manual, dated October 2026. go forth and unhalt responsibly. β¨ππ¦
π¦ 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