sdma_v3_0_start(9)
π sdma_v3_0_start β like, the whole kernel API manual energy, but make it make sense π
okay bestie, so this page lives in the Kernel API Manual (not a command you type, no cap, it's a kernel function π
) and it's literally called sdma_v3_0_start. let's get into it π«Ά
β¨ NAME β¨
sdma_v3_0_start β the glow-up moment where we setup and start the async dma engines β‘π
πΈ SYNOPSIS πΈ
int sdma_v3_0_start (struct amdgpu_device *adev );
that's it, that's the whole signature. one arg, one int back. main character energy honestly π
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer. yes. that's the entire description. girlies indrivers/gpu/drm/amd/amdgpuwere not feeling chatty that day ππ
π DESCRIPTION π
so what does it do? it sets up the DMA engines and enables them, specifically for VI π§β¨
and the return vibe check:
- returns
0for success β slay π - returns error for failure β not slay, but at least you know π
ngl this is the short one. the description is literally two sentences. but every word of it is here, periodt π₯
π SEE ALSO π
the kernel file, in all its glory:
./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
and the whole squad of sibling functions (yes all of them, i'm not skipping a single one π«Ά):
sdma_v3_0_init_microcode(9)sdma_v3_0_ring_get_rptr(9)sdma_v3_0_ring_get_wptr(9)sdma_v3_0_ring_set_wptr(9)sdma_v3_0_ring_emit_ib(9)sdma_v3_0_ring_emit_hdp_flush(9)sdma_v3_0_ring_emit_fence(9)sdma_v3_0_gfx_stop(9)sdma_v3_0_rlc_stop(9)sdma_v3_0_ctx_switch_enable(9)sdma_v3_0_enable(9)sdma_v3_0_gfx_resume(9)sdma_v3_0_rlc_resume(9)sdma_v3_0_ring_test_ring(9)sdma_v3_0_ring_test_ib(9)sdma_v3_0_vm_copy_pte(9)sdma_v3_0_vm_write_pte(9)sdma_v3_0_vm_set_pte_pde(9)sdma_v3_0_ring_pad_ib(9)sdma_v3_0_ring_emit_pipeline_sync(9)sdma_v3_0_ring_emit_vm_flush(9)sdma_v3_0_emit_copy_buffer(9)sdma_v3_0_emit_fill_buffer(9)
π tiny sign-off from the ./drivers/gpu/drm/amd/amdgpu corner of the universe, dated October 2026 β that's where this page comes from and when it was stamped, okay? iconic. bye bestie, go start those 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