si_dma_emit_fill_buffer(9)
π si_dma_emit_fill_buffer β bestie's guide to the sDMA fill vibe
okay so first things first: this page lives in the Kernel API Manual, section 9 (that's the kernel-API girlies, iykyk). Buckle up π
β¨ NAME β¨
si_dma_emit_fill_buffer β literally fills a buffer using the sDMA engine. that's the whole job. she's a one-trick pony and she ATE π
πΈ SYNOPSIS πΈ
void si_dma_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data ,
uint64_t dst_offset , uint32_t byte_count );
no return value, she just does it β¨ (returns void, so don't go looking for a status code, bestie, there isn't one π)
π¦ ARGUMENTS π¦
ibβ the indirect buffer you're copying to. this is where the command gets emitted, bestie π«Άsrc_dataβ the value you're writing into the buffer. it's auint32_t, so it's the actual data, not a pointer, no cap βdst_offsetβ the destination GPU address. GPU address specifically, not some lil CPU pointer, okay? πbyte_countβ how many bytes to xfer. that's "transfer" if you're being fancy π
π₯ DESCRIPTION π₯
So what she does is: fill GPU buffers using the DMA engine, and specifically the (VI) flavor of it. that's it, that's the vibe check β
ngl the description section on this one is short and mysterious β she's giving main character energy with minimal lore π§ but the facts are: GPU buffers, DMA engine, VI. periodt.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/si_dma.c β go read the source, it's right there π
and the whole si_dma friend group, all 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_pad_ib(9)si_dma_ring_emit_pipeline_sync(9)si_dma_ring_emit_vm_flush(9)si_dma_emit_copy_buffer(9)
and that's the whole page, bestie β¨ this icon comes straight out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yeah the footer's still gonna say si_dma_emit_fill_buffer(9) because the man page girlies don't change the footer for anyone ππ see u next time, 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