sdma_v2_4_vm_set_pte_pde(9)
β¨ NAME β¨
okay so welcome to the sdma_v2_4_vm_set_pte_pde(9) page from the Kernel API Manual, bestie π this one is literally about updating the page tables using sDMA, and it's giving very βsmall function, important jobβ energy.
sdma_v2_4_vm_set_pte_pde β update the page tables using sDMA. periodt. π«Ά
πΈ SYNOPSIS πΈ
here's the exact signature, no edits, no cap:
void sdma_v2_4_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );
π ARGUMENTS π
ibβ the indirect buffer you're filling with commands πpeβ the addr of the page entryaddrβ the dst addr to write intopecountβ how many page entries you're updatingincrβ bump the next addr byincrbytesflagsβ access flags
π¦ DESCRIPTION π¦
okay so the whole vibe is: update the page tables using sDMA (CIK) β¨ that's the function. short, sweet, and iconic. not me being obsessed with a tiny kernel helper, but here we are π«Ά
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
and these besties, fr fr:
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_write_pte(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)
π this iconic lil' page comes from the source/version sitch ./drivers/gpu/drm/amd/amdgpu and was dated October 2026 β mwah, 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