sdma_v4_4_2_gfx_resume(9)
π sdma_v4_4_2_gfx_resume(9) π
okay so bestie, welcome to the Kernel API Manual β this is the sdma_v4_4_2_gfx_resume(9) page and it's literally about waking up the async dma engines. yes that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
sdma_v4_4_2_gfx_resume β setup and start the async dma engines
like, wake the DMA engines up and get them going. that's the assignment. π
π SYNOPSIS π
void sdma_v4_4_2_gfx_resume (struct amdgpu_device *adev , unsigned int i , bool restore );
note the void bestie. she's a function. keep that in mind for later, iykyk π
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer. the main character device itself, fr fr.iβ the instance to resume. you're picking which one gets to wake up.restoreβ used to restorewptrwhen restart. so like, when you're restarting, this is the flag that says "put the write pointer back where it was." π―
πΈ DESCRIPTION πΈ
Set up the gfx DMA ring buffers and enable them. that's it, that's the whole thing β ring buffers get set up, then they get enabled, and the engines are alive. β¨
Return-wise: it says 0 for success, error for failure. (yes, the synopsis says void and the description says it returns 0 β that's what the page says, and i'm not gonna gaslight you about it, so both facts are staying right here. π)
π SEE ALSO π
the kernel file for all this lives at:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
and here's the whole friend group β every single one of them, no cap:
sdma_v4_4_2_init_microcode(9)sdma_v4_4_2_ring_get_rptr(9)sdma_v4_4_2_ring_get_wptr(9)sdma_v4_4_2_ring_set_wptr(9)sdma_v4_4_2_page_ring_get_wptr(9)sdma_v4_4_2_page_ring_set_wptr(9)sdma_v4_4_2_ring_emit_ib(9)sdma_v4_4_2_ring_emit_hdp_flush(9)sdma_v4_4_2_ring_emit_fence(9)sdma_v4_4_2_inst_gfx_stop(9)sdma_v4_4_2_inst_rlc_stop(9)sdma_v4_4_2_inst_page_stop(9)sdma_v4_4_2_inst_ctx_switch_enable(9)sdma_v4_4_2_inst_enable(9)sdma_v4_4_2_page_resume(9)sdma_v4_4_2_inst_rlc_resume(9)sdma_v4_4_2_inst_load_microcode(9)sdma_v4_4_2_inst_start(9)sdma_v4_4_2_ring_test_ring(9)sdma_v4_4_2_ring_test_ib(9)sdma_v4_4_2_vm_copy_pte(9)sdma_v4_4_2_vm_write_pte(9)sdma_v4_4_2_vm_set_pte_pde(9)sdma_v4_4_2_ring_pad_ib(9)sdma_v4_4_2_ring_emit_pipeline_sync(9)sdma_v4_4_2_ring_emit_vm_flush(9)sdma_v4_4_2_emit_copy_buffer(9)sdma_v4_4_2_emit_fill_buffer(9)sdma_v4_4_2_update_reset_mask(9)
π that's the page!! sourced from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β go off, kernel docs, you ate. mwah πβ¨
π¦ 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