sdma_v4_0_vm_copy_pte(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual β¨ this page is sdma_v4_0_vm_copy_pte β update PTEs by copying them from the GART. That's the whole main-character job, no cap π
β¨ SYNOPSIS β¨
void sdma_v4_0_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t src , unsigned count );
π ARGUMENTS π
ibβ the indirect buffer to fill with commands π«Άpeβ the addr of the page entry, iykyksrcβ the src addr to copy fromcountβ the number of page entries to update
π« DESCRIPTION π«
the way that this updates PTEs by copying them from the GART using sDMA (VEGA10) is lowkey iconic π₯ that's literally the vibe, fr fr.
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c π
the whole friend group:
sdma_v4_0_init_microcode(9)sdma_v4_0_ring_get_rptr(9)sdma_v4_0_ring_get_wptr(9)sdma_v4_0_ring_set_wptr(9)sdma_v4_0_page_ring_get_wptr(9)sdma_v4_0_page_ring_set_wptr(9)sdma_v4_0_ring_emit_ib(9)sdma_v4_0_ring_emit_hdp_flush(9)sdma_v4_0_ring_emit_fence(9)sdma_v4_0_gfx_enable(9)sdma_v4_0_rlc_stop(9)sdma_v4_0_page_stop(9)sdma_v4_0_ctx_switch_enable(9)sdma_v4_0_enable(9)sdma_v4_0_gfx_resume(9)sdma_v4_0_page_resume(9)sdma_v4_0_rlc_resume(9)sdma_v4_0_load_microcode(9)sdma_v4_0_start(9)sdma_v4_0_ring_test_ring(9)sdma_v4_0_ring_test_ib(9)sdma_v4_0_vm_write_pte(9)sdma_v4_0_vm_set_pte_pde(9)sdma_v4_0_ring_pad_ib(9)sdma_v4_0_ring_emit_pipeline_sync(9)sdma_v4_0_ring_emit_vm_flush(9)sdma_v4_0_emit_copy_buffer(9)sdma_v4_0_emit_fill_buffer(9)
xoxo, your Kernel API Manual bestie π source/version: ./drivers/gpu/drm/amd/amdgpu; date: October 2026. bye babes, go update those PTEs π¦β¨
π¦ 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