sdma_v2_4_vm_write_pte(9)
π sdma_v2_4_vm_write_pte(9) π
okay so bestie, welcome to the Kernel API Manual β this page is all about sdma_v2_4_vm_write_pte(9), and it is lowkey iconic for manual PTE updates. Let's get into it, no cap. β¨
πΈ NAME πΈ
sdma_v2_4_vm_write_pte β update PTEs by writing them manually. periodt. π
π¦ SYNOPSIS π¦
void sdma_v2_4_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 entryvalueβ dst addr to write intopecountβ number of page entries to updateincrβ increase next addr byincrbytes
π₯ DESCRIPTION π₯
So the vibe check here is simple: it updates PTEs by writing them manually using sDMA (CIK). That's the whole tea β manual PTE writing via sDMA (CIK), and it ate. π«Ά
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c π
sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_rptr(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_ib(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_enable(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_start(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)sdma_v2_4_emit_fill_buffer(9)
and that's the whole page, bestie π this cutie lives in ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and the page/title version is sdma_v2_4_vm_write_pte(9). bye and stay hydrated π
π¦ 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