si_dma_vm_write_pte(9)
π si_dma_vm_write_pte π
okay so welcome to the Kernel API Manual, section 9, bestie β this page is all about si_dma_vm_write_pte, and it is literally here to update PTEs by writing them manually. slay. β¨
πΈ NAME πΈ
si_dma_vm_write_pte β update PTEs by writing them manually. no cap, that's the whole assignment. π
β¨ SYNOPSIS β¨
void si_dma_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. fill it up, bestie π«Ά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 π¦
Update PTEs by writing them manually using DMA (SI). that's it, that's the vibe β manual PTE writing, DMA edition, SI girlies rise π β¨
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/si_dma.c β go peek, iykyk π
si_dma_ring_get_rptr(9)si_dma_ring_get_wptr(9)si_dma_ring_emit_fence(9)si_dma_ring_test_ring(9)si_dma_ring_test_ib(9)si_dma_vm_copy_pte(9)si_dma_vm_set_pte_pde(9)si_dma_ring_pad_ib(9)si_dma_ring_emit_pipeline_sync(9)si_dma_ring_emit_vm_flush(9)si_dma_emit_copy_buffer(9)si_dma_emit_fill_buffer(9)
mwah π this iconic little page comes from ./drivers/gpu/drm/amd/amdgpu and is dated October 2026 β periodt, go write those PTEs manually 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