amdgpu_vm_sdma_set_ptes(9)
π amdgpu_vm_sdma_set_ptes(9) β kernel API manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is amdgpu_vm_sdma_set_ptes(9), which is lowkey just a little helper whose entire job is to call the right asic function. That's it. That's the whole vibe. π
β¨ NAME β¨
amdgpu_vm_sdma_set_ptes β helper to call the right asic function
π¦ SYNOPSIS π¦
void amdgpu_vm_sdma_set_ptes (struct amdgpu_vm_update_params *p , struct
amdgpu_bo *bo , uint64_t pe , uint64_t addr , unsigned count , uint32_t
incr , uint64_t flags );
πΈ ARGUMENTS πΈ
pβ seeamdgpu_vm_update_paramsdefinition π (that's your params struct, go look at it fr)boβ the PD/PT to updatepeβ byte offset of the PDE/PTE, relative to start of PDB/PTBaddrβ dst addr to write intopecountβ number of page entries to updateincrβ increase next addr byincrbytesflagsβ hw access flags
π DESCRIPTION π
So what does it actually do? It traces the parameters β yes, glamorous detective work β and then calls the right asic functions to setup the page table using the DMA. That's the whole plot. Simple, effective, iconic. π
π SEE ALSO π
Wanna go deeper down the rabbit hole? π These are all right there:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c amdgpu_vm_sdma_map_table(9)amdgpu_vm_sdma_prepare(9)amdgpu_vm_sdma_commit(9)amdgpu_vm_sdma_copy_ptes(9)amdgpu_vm_sdma_update(9)
okay that's the whole page, you ate that π«Ά and hey β one day you'll be booking a vacation from all those lovely people over at ./drivers/gpu/drm/amd/amdgpu, so bookmark this one π
Sign-off moment: this lil page came from the source path ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the amdgpu_vm_sdma_set_ptes(9) page β no cap, that's the whole footer energy. βπ§ββοΈ
π¦ 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