sdma_v4_0_gfx_enable(9)
π sdma_v4_0_gfx_enable(9) β a Kernel API Manual moment
okay so bestie, welcome to the sdma_v4_0_gfx_enable(9) page, straight out of the Kernel API Manual β¨ this one's short and sweet, no cap β but it's lowkey important, so let's get into it π«Ά
β¨ NAME β¨
sdma_v4_0_gfx_enable β the function that enables the gfx async dma engines π₯ that's the whole vibe, that's the whole job π
πΈ SYNOPSIS πΈ
void sdma_v4_0_gfx_enable (struct amdgpu_device *adev , bool enable );
it returns void, so likeβ¦ don't go looking for a return value, she gives you nothing back and she's iconic for it π
π ARGUMENTS π
adevβ anamdgpu_devicepointer π literally just a pointer to the amdgpu device, bestie, nothing mysteriousenableβ aboolthat says whether to enable SDMA RB/IB control over the gfx async dma ring buffers (VEGA10) π yep, RB/IB control, the ring buffers, all of it β and that (VEGA10) is doing important work there, don't skip it π
π¦ SEE ALSO π¦
the kernel file lives right here, no gatekeeping:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
and here's the whole friend group, the entire sdma_v4_0 extended universe, iykyk π
sdma_v4_0_init_microcode(9)sdma_v4_0_ring_get_rptr(9)sdma_v4_0_ring_get_wptr(9)sdma_v4_0_ring_set_wptr(9)sdma_v4_0_page_ring_get_wptr(9)sdma_v4_0_page_ring_set_wptr(9)sdma_v4_0_ring_emit_ib(9)sdma_v4_0_ring_emit_hdp_flush(9)sdma_v4_0_ring_emit_fence(9)sdma_v4_0_rlc_stop(9)sdma_v4_0_page_stop(9)sdma_v4_0_ctx_switch_enable(9)sdma_v4_0_enable(9)sdma_v4_0_gfx_resume(9)sdma_v4_0_page_resume(9)sdma_v4_0_rlc_resume(9)sdma_v4_0_load_microcode(9)sdma_v4_0_start(9)sdma_v4_0_ring_test_ring(9)sdma_v4_0_ring_test_ib(9)sdma_v4_0_vm_copy_pte(9)sdma_v4_0_vm_write_pte(9)sdma_v4_0_vm_set_pte_pde(9)sdma_v4_0_ring_pad_ib(9)sdma_v4_0_ring_emit_pipeline_sync(9)sdma_v4_0_ring_emit_vm_flush(9)sdma_v4_0_emit_copy_buffer(9)sdma_v4_0_emit_fill_buffer(9)
like, that's the whole roster and every single one of them got an invite π
k bye bestie, this page came from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β go enable those engines, slay, and drink some water πβ¨πΈ
π¦ 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