si_dma_ring_pad_ib(9)
π si_dma_ring_pad_ib(9) β the Kernel API Manual tea π
okay so bestie, welcome to the si_dma_ring_pad_ib(9) page π this is kernel API manual territory, so grab your matcha and let's get into it.
β¨ NAME β¨
si_dma_ring_pad_ib β pad the IB to the required number of dw π«Ά
like, that's literally the whole job. it pads. the IB. to the required number of dw. no cap.
πΈ SYNOPSIS πΈ
void si_dma_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib
);
that's the whole signature, not me being lazy π it returns void, so don't go looking for a return value, there isn't one, periodt.
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer π like, the ring in question, that's the vibe.ibβ the indirect buffer to fill with padding β¨ this is the one getting padded, main character energy honestly.
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/si_dma.c β go read it, iykyk π§
and here's the whole friend group, all twelve of them, no one left out:
si_dma_ring_get_rptr(9)si_dma_ring_get_wptr(9)si_dma_ring_emit_fence(9)si_dma_ring_test_ring(9)si_dma_ring_test_ib(9)si_dma_vm_copy_pte(9)si_dma_vm_write_pte(9)si_dma_vm_set_pte_pde(9)si_dma_ring_emit_pipeline_sync(9)si_dma_ring_emit_vm_flush(9)si_dma_emit_copy_buffer(9)si_dma_emit_fill_buffer(9)
π reminder bestie: every single one of those is (9), as in kernel API section nine. don't @ me, that's just how the manual rolls.
okay that's the page!! π this gem comes to you straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's titled si_dma_ring_pad_ib(9) β slay, go pad some IB, ily, bye πππ₯
π¦ 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