sdma_v4_0_enable(9)
π
sdma_v4_0_enable(9) β Kernel API Manual Energy β¨
okay bestie, welcome to the Kernel API Manual page for sdma_v4_0_enable(9) β weβre folding that manual name right in here because weβre cute like that. This is the kernel-side vibe check for the async DMA engines, and the signature is giving βone bool to rule them allβ energy. π«Ά
πΈ NAME πΈ
sdma_v4_0_enable β stop the async dma engines. Thatβs the official one-liner, and ngl itβs got main-character energy despite being a one-line summary. π
β¨ SYNOPSIS β¨
void sdma_v4_0_enable (struct amdgpu_device *adev , bool enable );
This is literally the whole call, bestie: void, takes an amdgpu_device *adev, and a bool enable. No cap. π
π¦ ARGUMENTS π¦
adevβ amdgpu_device pointer. This is your device pointer, the little handle to the AMDGPU device.enableβ enable/disable the DMA MEs. Itβs a bool, and itβs here to say whether the DMA MEs get enabled or disabled.
π DESCRIPTION π
This function halts or unhalts the async dma engines β specifically on VEGA10. Thatβs it. Thatβs the whole description. Itβs the on/off switch energy for those engines, and the (VEGA10) is important, so donβt come for me if youβre on some other chip. π
π SEE ALSO π
okay so the manpage points at the kernel file and a whole friend group of related sdma_v4_0_* functions. Gotta list every single one, because bestie we do not skip the boring parts. π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_init_microcode(9)sdma_v4_0_ring_get_rptr(9)sdma_v4_0_ring_get_wptr(9)sdma_v4_0_ring_set_wptr(9)sdma_v4_0_page_ring_get_wptr(9)sdma_v4_0_page_ring_set_wptr(9)sdma_v4_0_ring_emit_ib(9)sdma_v4_0_ring_emit_hdp_flush(9)sdma_v4_0_ring_emit_fence(9)sdma_v4_0_gfx_enable(9)sdma_v4_0_rlc_stop(9)sdma_v4_0_page_stop(9)sdma_v4_0_ctx_switch_enable(9)sdma_v4_0_gfx_resume(9)sdma_v4_0_page_resume(9)sdma_v4_0_rlc_resume(9)sdma_v4_0_load_microcode(9)sdma_v4_0_start(9)sdma_v4_0_ring_test_ring(9)sdma_v4_0_ring_test_ib(9)sdma_v4_0_vm_copy_pte(9)sdma_v4_0_vm_write_pte(9)sdma_v4_0_vm_set_pte_pde(9)sdma_v4_0_ring_pad_ib(9)sdma_v4_0_ring_emit_pipeline_sync(9)sdma_v4_0_ring_emit_vm_flush(9)sdma_v4_0_emit_copy_buffer(9)sdma_v4_0_emit_fill_buffer(9)
cute sign-off time, bestie: this page comes from source/version ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the page is sdma_v4_0_enable(9). slay. π
π¦ 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