sdma_v2_4_start(9)
π sdma_v2_4_start β NAME β¨
okay so bestie, welcome to sdma_v2_4_start, which is literally the function that does setup and start the async dma engines. that's it, that's the whole vibe. say it with me: setup. and. start. the. async. dma. engines. π
(also hi, this is a page from the Kernel API Manual, so you know it's legit kernel business, not me just making stuff up π)
π¦ SYNOPSIS π¦
int sdma_v2_4_start (struct amdgpu_device *adev );
no cap, that's the whole signature. one function, one argument, so clean, so iconic. β¨
πΈ ARGUMENTS πΈ
adevβ a pointer to anamdgpu_device. that's the one (1) thing you gotta hand it. give it the device, bestie. π«Ά
π DESCRIPTION π
so here's the tea: sdma_v2_4_start sets up the DMA engines and enables them (VI). that's the job. that's the mission. π₯
it returns 0 for success, and error for failure β so like, if you get a zero back you're slaying, and if you get an error back... not slaying, but now you know. π
lowkey important: 0 = success, error = failure. don't mix those up, i'm begging. π
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c β go read it, iykyk. π
and here's the whole friend group, all the related manpages, every single one, no skips:
sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_rptr(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_ib(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_enable(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_write_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)sdma_v2_4_emit_fill_buffer(9)
like, that's the entire crew, main character energy all around. π
and that's the page, bestie!! π§ this lil' diva lives out of ./drivers/gpu/drm/amd/amdgpu, it's part of the Kernel API Manual, and the date on the tin says October 2026 β so yes, we're reading docs from the future, and that's iconic. mwah, bye!! ππβ
π¦ 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