cik_sdma_vm_copy_pte(9)
π cik_sdma_vm_copy_pte β Kernel API Manual β¨
okay so bestie, welcome to the cik_sdma_vm_copy_pte(9) page, live from the Kernel API Manual. this is the one about updating PTEs by copying them from the GART. short function, big job. let's get into it π«Ά
πΈ SYNOPSIS πΈ
void cik_sdma_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t
src , unsigned count );
that's the whole signature, no cap. void return β it just does the thing and dips π
π ARGUMENTS π
ibβ the indirect buffer you're filling with commands. this is the canvas, bestie π¨peβ addr of the page entry. the destination vibe β¨srcβ src addr to copy from. where the goods live πcountβ number of page entries to update. how many we doing? this many π
π¦ DESCRIPTION π¦
Update PTEs by copying them from the GART using sDMA (CIK).
that's it. that's the whole description. it's giving "confident, concise, main character energy" πβ¨ no extra lore, no side quests β the function literally updates PTEs by copying them from the GART via sDMA, and it's a CIK thing. periodt.
π SEE ALSO π
the whole friend group π«Ά starting with the file itself:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/cik_sdma.c
and now the icons, in order, no skips:
cik_sdma_init_microcode(9)cik_sdma_ring_get_rptr(9)cik_sdma_ring_get_wptr(9)cik_sdma_ring_set_wptr(9)cik_sdma_ring_emit_ib(9)cik_sdma_ring_emit_hdp_flush(9)cik_sdma_ring_emit_fence(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_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_start(9)cik_sdma_ring_test_ring(9)cik_sdma_ring_test_ib(9)cik_sdma_vm_write_pte(9)cik_sdma_vm_set_pte_pde(9)cik_sdma_ring_pad_ib(9)cik_sdma_ring_emit_pipeline_sync(9)cik_sdma_ring_emit_vm_flush(9)cik_sdma_emit_copy_buffer(9)cik_sdma_emit_fill_buffer(9)
like, the entire cik_sdma cinematic universe π go read them, iykyk.
ngl bestie, this page is short and sweet β every detail above is the whole page. no hidden gotchas, no scary caveats, just a PTE copy and a very long SEE ALSO list π
and that's a wrap! this one lives at ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β shoutout to the source and version, mwah π slay, 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