sdma_v7_0_vm_write_pte(9)
π sdma_v7_0_vm_write_pte(9) β¨
okay so bestie, welcome to the Kernel API Manual β this lil page is all about sdma_v7_0_vm_write_pte, and it's giving "manually write your PTEs" main character energy, no cap π«Ά
πΈ NAME πΈ
sdma_v7_0_vm_write_pte β update PTEs by writing them manually. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
void sdma_v7_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t value , unsigned count , uint32_t incr );
π ARGUMENTS π
ibβ the indirect buffer to fill with commands π like, this is where the commands go, periodt.peβ addr of the page entry. the actual location, iykyk.valueβ dst addr to write intopeπ₯ that's the destination, bestie.countβ number of page entries to update π yes queen, we're doing more than one.incrβ increase next addr byincrbytes. the step size, fr fr.
π¦ DESCRIPTION π¦
Update PTEs by writing them manually using sDMA. that's literally it ngl β manual PTE writing via sDMA, iconic β¨
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c π
sdma_v7_0_ring_get_rptr(9)sdma_v7_0_ring_get_wptr(9)sdma_v7_0_ring_set_wptr(9)sdma_v7_0_ring_emit_ib(9)sdma_v7_0_ring_emit_mem_sync(9)sdma_v7_0_ring_emit_hdp_flush(9)sdma_v7_0_ring_emit_fence(9)sdma_v7_0_gfx_stop(9)sdma_v7_0_rlc_stop(9)sdma_v7_0_ctx_switch_enable(9)sdma_v7_0_enable(9)sdma_v7_0_gfx_resume_instance(9)sdma_v7_0_gfx_resume(9)sdma_v7_0_rlc_resume(9)sdma_v7_0_load_microcode(9)sdma_v7_0_start(9)sdma_v7_0_ring_test_ring(9)sdma_v7_0_ring_test_ib(9)sdma_v7_0_vm_copy_pte(9)sdma_v7_0_vm_set_pte_pde(9)sdma_v7_0_ring_pad_ib(9)sdma_v7_0_ring_emit_pipeline_sync(9)sdma_v7_0_ring_emit_vm_flush(9)sdma_v7_0_emit_copy_buffer(9)sdma_v7_0_emit_fill_buffer(9)
and that's the whole page bestie π this one lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, straight from the Kernel API Manual β ty for coming to my ted talk, ily, slay πβ¨πΈ
π¦ 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