sdma_v3_0_ring_emit_ib(9)
π sdma_v3_0_ring_emit_ib β like, the Kernel API Manual page you didn't know you needed π
okay bestie, gather round, because this is the Kernel API Manual entry for sdma_v3_0_ring_emit_ib, and honestly? it's giving "small function, big responsibilities." let's get into it β¨
πΈ NAME πΈ
sdma_v3_0_ring_emit_ib β Schedule an IB on the DMA engine. that's it, that's the whole name, and she ate π
β¨ SYNOPSIS β¨
void sdma_v3_0_ring_emit_ib (struct amdgpu_ring *ring , struct
amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
so it returns void (no receipts, no return value, she simply does the thing π«Ά) and takes four args. iconic signature ngl.
π¦ ARGUMENTS π¦
ringβ the amdgpu ring pointer π« like, the ring we're scheduling onto, bestie.jobβ the job we're pulling thevmidfrom π (yes, retrieve β that's her whole job here).ibβ the IB object we're about to schedule π this is the main character of the arg list fr fr.flagsβ unused π literally unused. not me including it anyway because it's in the signature. periodt.
π DESCRIPTION π
Schedule an IB in the DMA ring (VI). that's the whole description and it's lowkey iconic in its brevity β no cap, some manpages write paragraphs, this one said "say less" πβ¨
ngl this is the VI-generation DMA ring we're talking about, so keep that in mind π§
π₯ SEE ALSO π₯
first up, the source file herself:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
and now the whole friend group (no one left out, we don't do that here π):
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_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_start(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)
π reminder: flags is unused. i don't make the rules, i just hype them.
and that's the tea β this page lives in ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β so yeah, bookmark it, screenshot it, send it to the group chat, because sdma_v3_0_ring_emit_ib(9) said "I'll see you in October" and she meant it πβπ
π¦ 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