amdgpu_vm_sdma_set_ptes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” see amdgpu_vm_update_params definition πŸ‘€ (that's your params struct, go look at it fr)
  • bo β€” the PD/PT to update
  • pe β€” byte offset of the PDE/PTE, relative to start of PDB/PTB
  • addr β€” dst addr to write into pe
  • count β€” number of page entries to update
  • incr β€” increase next addr by incr bytes
  • flags β€” 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:


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