sdma_v2_4_ring_emit_ib(9)
π sdma_v2_4_ring_emit_ib(9) β like, the Kernel API Manual entry, bestie π
okay so this is from the Kernel API Manual, and it's about sdma_v2_4_ring_emit_ib β yes the whole name, we're being formal today β¨
β¨ NAME β¨
sdma_v2_4_ring_emit_ib β Schedule an IB on the DMA engine. That's it, that's the whole job description, and honestly? Iconic. π«Ά
πΈ SYNOPSIS πΈ
void sdma_v2_4_ring_emit_ib (struct amdgpu_ring *ring , struct
amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
like literally just those four params and it returns void, no cap. π
π¦ ARGUMENTS π¦
okay bestie let's go through these one by one, no skipping π₯
ringβ amdgpu ring pointer. this is the DMA ring we're dropping the IB onto π«jobβ the job to retrieve vmid from. yes we're digging the vmid out of it, that's the whole reason it's here πibβ the IB object to schedule. this is the main character of the function, fr fr πflagsβ unused. that's it. unused. collection of zero bits, we stan a consistent flag π
β DESCRIPTION β
Schedule an IB in the DMA ring (VI). π¦
that's the vibe. one sentence, zero fluff, ate and left no crumbs π
π SEE ALSO π
okay so first off, the kernel file itself lives at:
./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
and then the whole friend group, the entire sdma_v2_4_* squad, all here, all linked, all in the manual, iykyk π§:
sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_rptr(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_enable(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_start(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_write_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)sdma_v2_4_emit_fill_buffer(9)
like look at that roster. twenty-two whole entries. that's a full friend group chat right there ππ
and that's the page!! brought to you by the ./drivers/gpu/drm/amd/amdgpu source, version dated October 2026, forever living at sdma_v2_4_ring_emit_ib(9) πβ¨
π¦ 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