sdma_v7_0_emit_fill_buffer(9)
β¨ sdma_v7_0_emit_fill_buffer β fill buffer using the sDMA engine β¨
okay so bestie, welcome to the <pink>sdma_v7_0_emit_fill_buffer</pink> page π
this is a Kernel API Manual entry, and honestly? it's giving "small function, big job" energy. no cap.
πΈ SYNOPSIS πΈ
void sdma_v7_0_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t
src_data , uint64_t dst_offset , uint32_t byte_count );
literally just one function, four args, void return β she doesn't even give you anything back, she just does the thing and dips π iconic behaviour fr fr.
π ARGUMENTS π
ibβ the indirect buffer you're filling, bestie. this is the container, the main character of the operation π«Άsrc_dataβ the actual value getting written into the buffer. it's auint32_t, so it's 32 bits of pure potential β¨dst_offsetβ the dst GPU address, aka where the magic lands π it's auint64_tbecause GPU addresses are fancy like thatbyte_countβ number of bytes to xfer. how much stuff are we moving? this tells you, queen π
π¦ DESCRIPTION π¦
Fill GPU buffers using the DMA engine.
that's it. that's the description. short, sweet, and confident β she said what she said π and honestly we stan a concise icon. so basically: you have a GPU buffer, you have some data, and the DMA engine does the filling for you. efficient. slay. π₯
β SEE ALSO β
the kernel file itself, so you can go read the source and feel like a detective π΅οΈββοΈ:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
and the whole friend group π«Ά β every one of these is invited to the party:
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_ib(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)
ok so like, quick vibe check: everything above is straight from the manpage β no invented lore, no fake flags, just the facts with extra sparkle π§
that's the whole page, bestie. the source lives under ./drivers/gpu/drm/amd/amdgpu, the manual is dated October 2026, and the whole thing is filed under the sdma_v7_0_emit_fill_buffer(9) name β so if you need to cite her, you know exactly where to point ππ mwah, go fill some buffers π
β¨
π¦ 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