sdma_v2_4_enable(9)
π sdma_v2_4_enable(9) β a Kernel API Manual moment β¨
okay so bestie, we're in the Kernel API Manual today and the star of the show is sdma_v2_4_enable π literally the little function that could. let's get into it π
β¨ NAME β¨
sdma_v2_4_enable β stop the async dma engines π
(no fr that's what it says, i'm not making this up π)
π¦ SYNOPSIS π¦
void sdma_v2_4_enable (struct amdgpu_device *adev , bool enable );
that's it. that's the whole signature. it's giving "small but mighty" energy ngl π
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer π«Ά like, the whole GPU device situation, hand it overenableβ toggles enable/disable on the DMA MEs β honestly a classic
π§ DESCRIPTION π§
halt or unhalt the async dma engines (VI) π₯ that's the whole vibe. you're either putting them on pause or hitting play again, no in-between, no half measures, periodt π
no cap, that's the entire description β short and iconic π
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c π and here's the whole friend group, all of them, every single one, i would never leave anyone out:
sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_rptr(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_ib(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_start(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_write_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)sdma_v2_4_emit_fill_buffer(9)
like look at that list. main character energy from every single one of them ππ
lowkey reminder: this page is served up from./drivers/gpu/drm/amd/amdgpuπ¦ dated October 2026, and it'ssdma_v2_4_enable(9)all the way down π slay, bye bestie! πβ¨
π¦ 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