sdma_v5_2_gfx_stop(9)
β¨ sdma_v5_2_gfx_stop(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β this is the glow-up of sdma_v5_2_gfx_stop(9), and it's lowkey iconic.
πΈ NAME πΈ
sdma_v5_2_gfx_stop β stop the gfx async dma engines π
Like, it literally shuts the whole vibe down. periodt.
π SYNOPSIS π
void sdma_v5_2_gfx_stop (struct amdgpu_device *adev , uint32_t inst_mask );
no cap, that's the whole signature. short king π«Ά
π ARGUMENTS π
adevβ amdgpu_device pointer β¨ it's giving "here's your whole GPU, bestie."inst_maskβ mask of dma engine instances to be disabled π― Stop the gfx async dma ring buffers.
so yeah, you hand it the device and a mask, and the gfx async dma ring buffers get stopped. that's the assignment, and it ate. π₯
π«Ά friendly reminder: inst_mask is the mask of dma engine instances to be disabled β plural instances, so don't come at it with the wrong mask, iykyk.
π¦ SEE ALSO π¦
the whole friend group π β Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c and all these siblings:
sdma_v5_2_ring_get_rptr(9)sdma_v5_2_ring_get_wptr(9)sdma_v5_2_ring_set_wptr(9)sdma_v5_2_ring_emit_ib(9)sdma_v5_2_ring_emit_mem_sync(9)sdma_v5_2_ring_emit_hdp_flush(9)sdma_v5_2_ring_emit_fence(9)sdma_v5_2_rlc_stop(9)sdma_v5_2_ctx_switch_enable(9)sdma_v5_2_enable(9)sdma_v5_2_gfx_resume_instance(9)sdma_v5_2_gfx_resume(9)sdma_v5_2_rlc_resume(9)sdma_v5_2_load_microcode(9)sdma_v5_2_start(9)sdma_v5_2_ring_test_ring(9)sdma_v5_2_ring_test_ib(9)sdma_v5_2_vm_copy_pte(9)sdma_v5_2_vm_write_pte(9)sdma_v5_2_vm_set_pte_pde(9)sdma_v5_2_ring_pad_ib(9)sdma_v5_2_ring_emit_pipeline_sync(9)sdma_v5_2_ring_emit_vm_flush(9)sdma_v5_2_emit_copy_buffer(9)sdma_v5_2_emit_fill_buffer(9)
π sign-off szn π β this page lives in ./drivers/gpu/drm/amd/amdgpu and it's stamped October 2026, sdma_v5_2_gfx_stop(9). that's the whole lore, bestie. mwah π go stop some gfx async dma engines π§ββοΈβ¨
π¦ 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