sdma_v7_0_ring_emit_ib(9)
π sdma_v7_0_ring_emit_ib β like, the whole Kernel API Manual page but make it cute π
okay so bestie, welcome to the Kernel API Manual entry for sdma_v7_0_ring_emit_ib, and yes we are reading kernel docs together, that's just the kind of friendship we have now π«Ά
β¨ NAME β¨
sdma_v7_0_ring_emit_ib β Schedule an IB on the DMA engine
like, you're literally telling the DMA engine "hey girl, here's a thing to do," and it goes and does it. main character behaviour honestly π
πΈ SYNOPSIS πΈ
void sdma_v7_0_ring_emit_ib (struct amdgpu_ring *ring , struct
amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
that's the whole signature bestie, void return, four args, no surprises π
π¦ ARGUMENTS π¦
ringβ an amdgpu ring pointer. this is the ring we're emitting onto, she's the venue for the whole event β¨jobβ the job we pull thevmidfrom. yes, that's the entire reason it's here, she has one job (get it? a job? π) and it's being the vmid sourceibβ the IB object we're scheduling. this is the actual thing going on the ring, the guest of honour πflagsβ literally unused. not deprecated, not reserved, just sitting there being unused. iconic of her honestly π
ngl, do not expect flags to do anything, because the docs say unused and the docs are the moment, periodt.
π DESCRIPTION π
Schedule an IB in the DMA ring. that's it, that's the vibe. you hand it an IB, it gets scheduled onto the DMA ring, and everybody moves on with their lives π
β SEE ALSO β
okay this list is long but I refuse to leave anyone out, everyone on this roster is getting their moment π
- the kernel file itself:
./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_rptr(9)sdma_v7_0_ring_get_wptr(9)sdma_v7_0_ring_set_wptr(9)sdma_v7_0_ring_emit_mem_sync(9)sdma_v7_0_ring_emit_hdp_flush(9)sdma_v7_0_ring_emit_fence(9)sdma_v7_0_gfx_stop(9)sdma_v7_0_rlc_stop(9)sdma_v7_0_ctx_switch_enable(9)sdma_v7_0_enable(9)sdma_v7_0_gfx_resume_instance(9)sdma_v7_0_gfx_resume(9)sdma_v7_0_rlc_resume(9)sdma_v7_0_load_microcode(9)sdma_v7_0_start(9)sdma_v7_0_ring_test_ring(9)sdma_v7_0_ring_test_ib(9)sdma_v7_0_vm_copy_pte(9)sdma_v7_0_vm_write_pte(9)sdma_v7_0_vm_set_pte_pde(9)sdma_v7_0_ring_pad_ib(9)sdma_v7_0_ring_emit_pipeline_sync(9)sdma_v7_0_ring_emit_vm_flush(9)sdma_v7_0_emit_copy_buffer(9)sdma_v7_0_emit_fill_buffer(9)
and that's the page!! π this lil gem lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, so likeβ¦ future slay?? we love a timestamp that's ahead of the curve β¨ stay hydrated, read your kernel docs, 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