sdma_v5_0_ring_emit_ib(9)
π sdma_v5_0_ring_emit_ib β from the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the kernel docs, lowkey living your best life in the Kernel API Manual, and you stumble onto sdma_v5_0_ring_emit_ib. Bestie. This is the one. Let me put you on. π«Ά
πΈ NAME πΈ
sdma_v5_0_ring_emit_ib β schedule an IB on the DMA engine. That's it, that's the whole vibe. Main character energy fr fr.
β¨ SYNOPSIS β¨
void sdma_v5_0_ring_emit_ib (struct amdgpu_ring *ring , struct
amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
Not me obsessed with how it returns void β it just does the thing and dips, no feedback, iconic. π
π ARGUMENTS π
ringβ the amdgpu ring pointer. Your venue, your stage, the place where it all goes down. πjobβ the job you're pulling the vmid from. Yes, the vmid lives in here, don't ask, just trust. π₯ibβ the IB object you're scheduling. This is the actual little packet of work getting its moment. βflagsβ unused. Literally just vibing there in the signature, contributing nothing, and honestly? Respect. π
π¦ DESCRIPTION π¦
Schedule an IB in the DMA ring (NAVI10). That's the whole plot. Short, sweet, NAVI10-coded. π
π SEE ALSO π
The kernel file that started it all:
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
And the whole friend group, no cap, every single one of them:
sdma_v5_0_init_microcode(9)sdma_v5_0_ring_get_rptr(9)sdma_v5_0_ring_get_wptr(9)sdma_v5_0_ring_set_wptr(9)sdma_v5_0_ring_emit_mem_sync(9)sdma_v5_0_ring_emit_hdp_flush(9)sdma_v5_0_ring_emit_fence(9)sdma_v5_0_gfx_stop(9)sdma_v5_0_rlc_stop(9)sdma_v5_0_ctx_switch_enable(9)sdma_v5_0_enable(9)sdma_v5_0_gfx_resume_instance(9)sdma_v5_0_gfx_resume(9)sdma_v5_0_rlc_resume(9)sdma_v5_0_load_microcode(9)sdma_v5_0_start(9)sdma_v5_0_ring_test_ring(9)sdma_v5_0_ring_test_ib(9)sdma_v5_0_vm_copy_pte(9)sdma_v5_0_vm_write_pte(9)sdma_v5_0_vm_set_pte_pde(9)sdma_v5_0_ring_pad_ib(9)sdma_v5_0_ring_emit_pipeline_sync(9)sdma_v5_0_ring_emit_vm_flush(9)sdma_v5_0_emit_copy_buffer(9)sdma_v5_0_emit_fill_buffer(9)
The path where all this lore lives: ./drivers/gpu/drm/amd/amdgpu π§
Okay that's the whole page, you ate that, go schedule an IB responsibly bestie π
And that's a wrap! π This little gem comes from the Kernel API Manual, dated October 2026, with its source living at ./drivers/gpu/drm/amd/amdgpu β and the page itself is sdma_v5_0_ring_emit_ib(9). Byeee, 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