sdma_v5_0_vm_write_pte(9)
π sdma_v5_0_vm_write_pte(9) π
okay so bestie, welcome to the Kernel API Manual page for sdma_v5_0_vm_write_pte(9) β yes, thatβs the whole title, and weβre folding it in right here at the top like a little name tag π«Ά. this one is short, sweet, and literally about updating PTEs by hand, so letβs get into it β¨.
π NAME π
sdma_v5_0_vm_write_pte β update PTEs by writing them manually π
β¨ SYNOPSIS β¨
void sdma_v5_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t value , unsigned count , uint32_t incr );
π¦ ARGUMENTS π¦
ibβ indirect buffer to fill with commands π οΈpeβ addr of the page entry πvalueβ dst addr to write intopeπ―countβ number of page entries to update π’incrβ increase next addr byincrbytes π
πΈ DESCRIPTION πΈ
okay so the whole vibe here is: update PTEs by writing them manually using sDMA (NAVI10) π . thatβs it, thatβs the function, and itβs giving very βdo it by hand, no capβ energy π«Ά.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.cπ sdma_v5_0_init_microcode(9)β¨sdma_v5_0_ring_get_rptr(9)β¨sdma_v5_0_ring_get_wptr(9)β¨sdma_v5_0_ring_set_wptr(9)β¨sdma_v5_0_ring_emit_ib(9)β¨sdma_v5_0_ring_emit_mem_sync(9)β¨sdma_v5_0_ring_emit_hdp_flush(9)β¨sdma_v5_0_ring_emit_fence(9)β¨sdma_v5_0_gfx_stop(9)β¨sdma_v5_0_rlc_stop(9)β¨sdma_v5_0_ctx_switch_enable(9)β¨sdma_v5_0_enable(9)β¨sdma_v5_0_gfx_resume_instance(9)β¨sdma_v5_0_gfx_resume(9)β¨sdma_v5_0_rlc_resume(9)β¨sdma_v5_0_load_microcode(9)β¨sdma_v5_0_start(9)β¨sdma_v5_0_ring_test_ring(9)β¨sdma_v5_0_ring_test_ib(9)β¨sdma_v5_0_vm_copy_pte(9)β¨sdma_v5_0_vm_set_pte_pde(9)β¨sdma_v5_0_ring_pad_ib(9)β¨sdma_v5_0_ring_emit_pipeline_sync(9)β¨sdma_v5_0_ring_emit_vm_flush(9)β¨sdma_v5_0_emit_copy_buffer(9)β¨sdma_v5_0_emit_fill_buffer(9)β¨
mwah π β source/version ./drivers/gpu/drm/amd/amdgpu, date October 2026, manual Kernel API Manual, page sdma_v5_0_vm_write_pte(9). bye bestie π«Ά
π¦ 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