sdma_v3_0_emit_copy_buffer(9)
hiii bestie π welcome to the sdma_v3_0_emit_copy_buffer(9) page from the Kernel API Manual. this one is short and sweet, and yes, we are keeping every single detail. periodt.
πΈ NAME πΈ
sdma_v3_0_emit_copy_buffer β copy buffer using the sDMA engine
β¨ SYNOPSIS β¨
void sdma_v3_0_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t
src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t
copy_flags );
π ARGUMENTS π
ibβ indirect buffer to copy tosrc_offsetβ src GPU addressdst_offsetβ dst GPU addressbyte_countβ number of bytes to xfercopy_flagsβ unused
π¦ DESCRIPTION π¦
okay so this is the copy-GPU-buffers move using the DMA engine (VI) π . Itβs used by the amdgpu ttm implementation to move pages if registered as the asic copy callback. thatβs the whole vibe, bestie.
π₯ SEE ALSO π₯
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c sdma_v3_0_init_microcode(9)sdma_v3_0_ring_get_rptr(9)sdma_v3_0_ring_get_wptr(9)sdma_v3_0_ring_set_wptr(9)sdma_v3_0_ring_emit_ib(9)sdma_v3_0_ring_emit_hdp_flush(9)sdma_v3_0_ring_emit_fence(9)sdma_v3_0_gfx_stop(9)sdma_v3_0_rlc_stop(9)sdma_v3_0_ctx_switch_enable(9)sdma_v3_0_enable(9)sdma_v3_0_gfx_resume(9)sdma_v3_0_rlc_resume(9)sdma_v3_0_start(9)sdma_v3_0_ring_test_ring(9)sdma_v3_0_ring_test_ib(9)sdma_v3_0_vm_copy_pte(9)sdma_v3_0_vm_write_pte(9)sdma_v3_0_vm_set_pte_pde(9)sdma_v3_0_ring_pad_ib(9)sdma_v3_0_ring_emit_pipeline_sync(9)sdma_v3_0_ring_emit_vm_flush(9)sdma_v3_0_emit_fill_buffer(9)
k bye bestie π«Ά signing off from the ./drivers/gpu/drm/amd/amdgpu source/version corner, dated October 2026, on the sdma_v3_0_emit_copy_buffer(9) page πβ¨
π¦ 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