sdma_v2_4_emit_fill_buffer(9)
β¨ NAME β¨
okay so bestie, this page lives in the Kernel API Manual, and the main character is sdma_v2_4_emit_fill_buffer β it's literally the βfill buffer using the sDMA engineβ function π
πΈ SYNOPSIS πΈ
void sdma_v2_4_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t
src_data , uint64_t dst_offset , uint32_t byte_count );
π ARGUMENTS π
ibβ the indirect buffer you're copying to π«Άsrc_dataβ the value that gets written into the buffer, no cap β¨dst_offsetβ the dst GPU address, and yes bestie it'sdst, notdestπbyte_countβ number of bytes to xfer π
π¦ DESCRIPTION π¦
Fill GPU buffers using the DMA engine (VI). That's the whole vibe β it's giving βDMA engine says fill it,β and honestly? Iconic. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_rptr(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_ib(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_enable(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_start(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_write_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)
and that's the whole page, bestie π«Ά huge shoutout to the source/version crew over at ./drivers/gpu/drm/amd/amdgpu, and this one's dated October 2026 β periodt πβ¨
π¦ 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