sdma_v5_0_emit_fill_buffer(9)
π sdma_v5_0_emit_fill_buffer β like, the kernel API manual page, bestie
okay so this is sdma_v5_0_emit_fill_buffer(9) from the Kernel API Manual and honestly? she's a small page but she SERVES. sit down, grab a strawberry drink π, and lemme walk you through it.
β¨ NAME β¨
sdma_v5_0_emit_fill_buffer β fill buffer using the sDMA engine π«Ά
π SYNOPSIS π
void sdma_v5_0_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t
src_data , uint64_t dst_offset , uint32_t byte_count );
that's it. that's the whole vibe. returns void, so no if (ret) energy here, she just does the thing π
πΈ ARGUMENTS πΈ
ibβ indirect buffer to fill. yes bestie, the buffer that's doing the filling is itself a buffer. it's giving inception, it's giving main character energy πsrc_dataβ value to write to buffer. the actual juice πdst_offsetβ dst GPU address. where on the GPU this whole thing lands πbyte_countβ number of bytes to xfer. how much we're moving, no cap π
π¦ DESCRIPTION π¦
Fill GPU buffers using the DMA engine (NAVI10). that's the whole description fr fr β she's concise, she's iconic, she doesn't over-explain herself π
ngl the manpage gives us exactly one line here and I'm not about to invent lore. NAVI10. DMA engine. buffers get filled. periodt. β¨
π SEE ALSO π
the whole friend group, in order, no one left out π«Ά:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 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_ib(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)
that's the whole page, bestie, you ate that π β¨
sign-off era: this lil beauty lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the header/footer keep it stamped as sdma_v5_0_emit_fill_buffer(9) β version 9, kernel API manual, iconic behavior only πππ
π¦ 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