si_dma_emit_fill_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a uint32_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 πŸ’œ:


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