sdma_v5_2_rlc_resume(9)
π sdma_v5_2_rlc_resume β like, the whole kernel-API-manual moment β¨
okay so bestie, welcome to the sdma_v5_2_rlc_resume(9) page, straight out of the Kernel API Manual π this one lives in the amdgpu corner of the kernel and it's genuinely so iconic, so let's get into it π
πΈ NAME πΈ
sdma_v5_2_rlc_resume β setup and start the async dma engines π₯
β SYNOPSIS β
int sdma_v5_2_rlc_resume (struct amdgpu_device *adev );
like, it takes one thing and gives you back an int. slay.
π ARGUMENTS π
adevβ anamdgpu_devicepointer π«Ά that's it, that's the whole argument list, and honestly? queen behavior.
π¦ DESCRIPTION π¦
so what it does: it sets up the compute DMA queues and enables them. that's the vibe π
returns 0 for success, and an error for failure β no cap, that's literally the contract π
π SEE ALSO π
the kernel file this lives in:
./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
and here comes the whole friend group, everyone's invited π«Άβ¨:
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_gfx_stop(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_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)
π reminder that this is kernel API realness β 0 means success, anything else means something went sideways, so do your vibe check on that return value, fr fr.
okay that's the whole page, mwah π this cutie came from ./drivers/gpu/drm/amd/amdgpu and the manual says October 2026, so like, future-dated icon behavior πβ¨ bye bestie, go set up those compute DMA queues π¦πΈπ
π¦ 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