sdma_v7_1_inst_enable(9)
π sdma_v7_1_inst_enable(9) π
okay bestie, so this is a page straight outta the Kernel API Manual β yes, we're in kernel-land now, and yes you're gonna slay it π
This one's about sdma_v7_1_inst_enable, and tbh the vibe is very much "flip the async dma engines on or off, no biggie."
β¨ NAME β¨
sdma_v7_1_inst_enable β stop the async dma engines π
no fr, that's literally what the name section says: stop the async dma engines. (and yeah, before you @ me, the description below is a little more chill about it β it does both directions. stay with me π«Ά)
πΈ SYNOPSIS πΈ
void sdma_v7_1_inst_enable (struct amdgpu_device *adev , bool enable ,
uint32_t inst_mask );
like, it returns void β nothing comes back out, it's giving "I do the thing and I leave" energy β¨
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer π that's your whole GPU device situation, the main character of this function call nglenableβ theboolthat decides it all: enable/disable the DMA MEs π it's literally the on/off switch, iconicinst_maskβ mask of dma engine instances to be enabled π so you can pick which instances get the treatment, not all of them have to show up to the party
π DESCRIPTION π
Halt or unhalt the async dma engines π that's it, that's the whole bit. You're either putting them on pause or letting them breathe again, iykyk.
π SEE ALSO π
the kernel file lives here, bestie:
./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
and here's the whole friend group β every single one of these is a real entry you can go look up, no cap:
sdma_v7_1_ring_get_rptr(9)sdma_v7_1_ring_get_wptr(9)sdma_v7_1_ring_set_wptr(9)sdma_v7_1_ring_emit_ib(9)sdma_v7_1_ring_emit_mem_sync(9)sdma_v7_1_ring_emit_fence(9)sdma_v7_1_inst_gfx_stop(9)sdma_v7_1_inst_rlc_stop(9)sdma_v7_1_inst_ctx_switch_enable(9)sdma_v7_1_gfx_resume_instance(9)sdma_v7_1_inst_gfx_resume(9)sdma_v7_1_inst_rlc_resume(9)sdma_v7_1_inst_load_microcode(9)sdma_v7_1_inst_start(9)sdma_v7_1_ring_test_ring(9)sdma_v7_1_ring_test_ib(9)sdma_v7_1_vm_copy_pte(9)sdma_v7_1_vm_write_pte(9)sdma_v7_1_vm_set_pte_pde(9)sdma_v7_1_ring_pad_ib(9)sdma_v7_1_ring_emit_pipeline_sync(9)sdma_v7_1_ring_emit_vm_flush(9)sdma_v7_1_emit_copy_buffer(9)sdma_v7_1_emit_fill_buffer(9)
and that's the whole page, bestie!! π§ββοΈ this beauty ships from the source tree at ./drivers/gpu/drm/amd/amdgpu, version-dated October 2026 β so go forth, halt and unhalt those engines, and remember: main character energy only π
β¨π
π¦ 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