r600_copy_dma(9)
hi bestie π welcome to r600_copy_dma(9) from the Kernel API Manual β the page about copying pages with the DMA engine. no cap, it's a whole vibe.
π NAME π
r600_copy_dma β copy pages using the DMA engine β¨
β¨ SYNOPSIS β¨
struct radeon_fence * r600_copy_dma (struct radeon_device *rdev ,
uint64_t src_offset , uint64_t dst_offset , unsigned num_gpu_pages ,
struct dma_resv *resv );
π ARGUMENTS π
okay so here's the cast, bestie π«Ά
rdevβ aradeon_devicepointer. that's the radeon device, periodt.src_offsetβ the src GPU address. where the copy starts from, iykyk.dst_offsetβ the dst GPU address. where the copy lands.num_gpu_pagesβ number of GPU pages toxfer. yes,xfer, exactly like that πresvβ reservation object to sync to. gotta sync, bestie.
π¦ DESCRIPTION π¦
This one copies GPU paging with the DMA engine (r6xx). The radeon ttm implementation uses it to move pages when it's registered as the asic copy callback. that's the whole tea ββ¨
πΈ SEE ALSO πΈ
Kernel file ./drivers/gpu/drm/radeon/r600_dma.c
the whole squad of related pages:
r600_dma_get_rptr(9)r600_dma_get_wptr(9)r600_dma_set_wptr(9)r600_dma_stop(9)r600_dma_resume(9)r600_dma_fini(9)r600_dma_is_lockup(9)r600_dma_ring_test(9)r600_dma_fence_ring_emit(9)r600_dma_semaphore_ring_emit(9)r600_dma_ib_test(9)r600_dma_ring_ib_execute(9)
and that's the page bestie! signing off from the source/version path ./drivers/gpu/drm/radeon on October 2026 β it's giving Kernel API Manual realness, and r600_copy_dma(9) ate π
πβ¨
π¦ 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