cik_sdma_vm_copy_pages(9)
π cik_sdma_vm_copy_pages(9) β like, the kernel API manual bestie β¨
okay so welcome to the Kernel API Manual, page cik_sdma_vm_copy_pages(9) π yes the title is also the name, that's just how these pages roll, no notes π
πΈ NAME πΈ
cik_sdma_vm_copy_pages β update PTEs by copying them from the GART, literally that's the whole gig π«Ά
π¦ SYNOPSIS π¦
void cik_sdma_vm_copy_pages (struct radeon_device *rdev , struct
radeon_ib *ib , uint64_t pe , uint64_t src , unsigned count );
it's giving "void function, no return value, we just vibe and do the work" πβ¨
π ARGUMENTS π
rdevβ aradeon_devicepointer, i.e. the whole graphics device situation πibβ the indirect buffer we're filling with commands, she's the canvas fr fr π¨peβ addr of the page entry, that's the spot we're aiming at π―srcβ src addr to copy from, the origin story πcountβ number of page entries to update, so like, how many we're doing in one go β¨
π₯ DESCRIPTION π₯
So what it does: updates PTEs by copying them from the GART using sDMA (CIK). That's it, that's the whole tea βπ no cap, it's a short one and she ate π
heads up bestie, this is the CIK flavour specifically β the (CIK) is right there in the description and it's not decorative π
π§ SEE ALSO π§
bestie the whole friend group is here, all living in the kernel file ./drivers/gpu/drm/radeon/cik_sdma.c πΈ go say hi to:
cik_sdma_get_rptr(9)cik_sdma_get_wptr(9)cik_sdma_set_wptr(9)cik_sdma_ring_ib_execute(9)cik_sdma_hdp_flush_ring_emit(9)cik_sdma_fence_ring_emit(9)cik_sdma_semaphore_ring_emit(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_sdma_ctx_switch_enable(9)cik_sdma_enable(9)cik_sdma_gfx_resume(9)cik_sdma_rlc_resume(9)cik_sdma_load_microcode(9)cik_sdma_resume(9)cik_sdma_fini(9)cik_copy_dma(9)cik_sdma_ring_test(9)cik_sdma_ib_test(9)cik_sdma_is_lockup(9)cik_sdma_vm_write_pages(9)cik_sdma_vm_set_pages(9)cik_sdma_vm_pad_ib(9)
and that's the page!! π sign-off time: this lil masterpiece lives in ./drivers/gpu/drm/radeon and it's dated October 2026 β periodt, go read the source, ily, bye ππ¦π
π¦ 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