sdma_v6_0_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

bestie, welcome to the Kernel API Manual page for sdma_v6_0_vm_set_pte_pde(9) β€” and what does it do? update the page tables using sDMA. That's the whole vibe, no cap.


✨ SYNOPSIS ✨

okay so here's the signature, copy it exactly or the compiler will absolutely side-eye you:

void sdma_v6_0_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe ,
       uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );

It's a void function, so there's no return value to obsess over. Slay.


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” indirect buffer to fill with commands. this is the buffer you're loading up, bestie.
  • pe β€” addr of the page entry. literally the address of the page entry.
  • addr β€” dst addr to write into pe. the destination address going into that page entry.
  • count β€” number of page entries to update. how many we're touching.
  • incr β€” increase next addr by incr bytes. the step size between addresses.
  • flags β€” access flags. the permission vibe check.

🌸 DESCRIPTION 🌸

Update the page tables using sDMA. It's giving "do exactly what it says on the tin" energy. No extra steps, no secret sauce β€” just page-table updating via sDMA. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c, and here's the whole squad of related functions β€” every single one, because we don't skip the friend group:


This iconic little page came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the Kernel API Manual entry for sdma_v6_0_vm_set_pte_pde(9) β€” periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from