sdma_v4_4_2_inst_enable(9)
π
sdma_v4_4_2_inst_enable(9) β Kernel API Manual, section 9 π
okay so bestie, gather round, because we're about to talk about the AMDGPU SDMA instance enable function and honestly it's kind of a big deal. this is sdma_v4_4_2_inst_enable from the Linux kernel API manual, section 9 (that's the kernel-functions section, iykyk), and it lives in ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c. no cap, this little void function is out here literally stopping and un-stopping async DMA engines. main character energy fr fr π
β¨ NAME β¨
sdma_v4_4_2_inst_enable β stop the async dma engines πΈ
π¦ SYNOPSIS π¦
void sdma_v4_4_2_inst_enable (struct amdgpu_device *adev , bool enable ,
uint32_t inst_mask );
that's the whole signature, copy it exactly, don't get creative with it π
π ARGUMENTS π
adevβ amdgpu_device pointer. the whole device vibe check right there, bestie π«Άenableβ enable/disable the DMA MEs. it's abool, so it's giving yes-or-no, on-or-off, no in-between πinst_maskβ mask of dma engine instances to be enabled. this is where you tell it which instances you're talking about π₯
β DESCRIPTION β
Halt or unhalt the async dma engines. that's it, that's the whole thing β but it's iconic πβ¨
like, lowkey that's a two-line description and she ate. one function, one job: halt them, or unhalt them. dive into it, bestie π
π SEE ALSO π
literally the entire sdma_v4_4_2 extended universe, and you KNOW we're listing every single one because we don't skip π§
Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.csdma_v4_4_2_init_microcode(9)sdma_v4_4_2_ring_get_rptr(9)sdma_v4_4_2_ring_get_wptr(9)sdma_v4_4_2_ring_set_wptr(9)sdma_v4_4_2_page_ring_get_wptr(9)sdma_v4_4_2_page_ring_set_wptr(9)sdma_v4_4_2_ring_emit_ib(9)sdma_v4_4_2_ring_emit_hdp_flush(9)sdma_v4_4_2_ring_emit_fence(9)sdma_v4_4_2_inst_gfx_stop(9)sdma_v4_4_2_inst_rlc_stop(9)sdma_v4_4_2_inst_page_stop(9)sdma_v4_4_2_inst_ctx_switch_enable(9)sdma_v4_4_2_gfx_resume(9)sdma_v4_4_2_page_resume(9)sdma_v4_4_2_inst_rlc_resume(9)sdma_v4_4_2_inst_load_microcode(9)sdma_v4_4_2_inst_start(9)sdma_v4_4_2_ring_test_ring(9)sdma_v4_4_2_ring_test_ib(9)sdma_v4_4_2_vm_copy_pte(9)sdma_v4_4_2_vm_write_pte(9)sdma_v4_4_2_vm_set_pte_pde(9)sdma_v4_4_2_ring_pad_ib(9)sdma_v4_4_2_ring_emit_pipeline_sync(9)sdma_v4_4_2_ring_emit_vm_flush(9)sdma_v4_4_2_emit_copy_buffer(9)sdma_v4_4_2_emit_fill_buffer(9)sdma_v4_4_2_update_reset_mask(9)
and that's the page, bestie π₯° straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, manual section 9 of the Kernel API Manual. go forth and enable (or disable, your call) those async dma engines responsibly. mwah ππ
π¦ 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