sdma_v5_0_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_0_vm_set_pte_pde ✨

okay so this page lives in the Kernel API Manual bestie, and it's about one very specific little function, so let's get into it 🫢


🌸 NAME 🌸

sdma_v5_0_vm_set_pte_pde β€” update the page tables using sDMA ✨

like, that's the whole vibe. it updates page tables. with sDMA. iconic behavior honestly.


πŸŽ€ SYNOPSIS πŸŽ€

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

she takes a bunch of arguments and returns void β€” no return value, no drama, she just does the thing πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ib β€” the indirect buffer to fill with commands πŸ“ like this is where the commands go, bestie, she's writing into it
  • pe β€” addr of the page entry. yes, addr of the page entry. that's the address of the page entry, no cap
  • addr β€” dst addr to write into pe 🎯 the destination address that gets written into pe
  • count β€” number of page entries to update πŸ”’ how many page entries we're updating, fr fr
  • incr β€” increase next addr by incr bytes πŸ“ˆ every next addr goes up by this many bytes
  • flags β€” access flags πŸ”‘ the access flags, periodt

πŸ’– DESCRIPTION πŸ’–

Update the page tables using sDMA (NAVI10). 🧚✨

that's it, that's the description. short and sweet and lowkey perfect. NAVI10 is doing the sDMA thing, the page tables get updated, everyone slays.


πŸ”₯ SEE ALSO πŸ”₯

the kernel file where all this magic lives:

./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c

and her whole friend group, aka every sibling function in the family πŸ˜­πŸ‘‘


πŸ’€ tiny lil heads up bestie: this page is filed under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026. girlies stay booked and busy πŸ—“οΈβœ¨

k that's the whole page 🫢 mwah, go update some page tables responsibly, iykyk πŸ’œπŸŒΈ

πŸ“¦ where this page comes from