sdma_v7_1_inst_gfx_stop(9)
π sdma_v7_1_inst_gfx_stop(9)
okay so bestie, this is a page from the Kernel API Manual (section 9, the kernel API girlies) and it's all about sdma_v7_1_inst_gfx_stop β say that five times fast, i dare you. iykyk. π
β¨ NAME β¨
sdma_v7_1_inst_gfx_stop β stop the gfx async dma engines π
like literally. that's the whole vibe. she stops them. periodt.
π¦ SYNOPSIS π¦
void sdma_v7_1_inst_gfx_stop (struct amdgpu_device *adev , uint32_t
inst_mask );
so she takes two things, returns nothing (void, queen of not giving anything back), and yes the spacing in that signature is exactly as the universe intended it. copy it character for character, ngl. π
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer. your device. your main character. π«Άinst_maskβ the mask of dma engine instances to be disabled. think of it as a little checklist of which instances get the β¨ goodbye treatment β¨.
π DESCRIPTION π
Stop the gfx async dma ring buffers. π
that's it. that's the description. she's short, she's iconic, she does exactly one thing and does it well. not me simping for a function with a one-line description. π
π₯ SEE ALSO π₯
the whole friend group, fr fr β all of these are in the kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c and honestly? the roster ate:
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_rlc_stop(9)sdma_v7_1_inst_ctx_switch_enable(9)sdma_v7_1_inst_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)
lowkey go read the ones with resume in the name if you wanna know what happens after the stop. balance. π
π§ sign-off π§
this lil beauty lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's page sdma_v7_1_inst_gfx_stop(9) of the Kernel API Manual. slay, go stop some dma engines 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