sdma_v7_1_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sdma_v7_1_vm_set_pte_pde(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, and the whole vibe is: we're updating page tables with sDMA, bestie. let's get into it ✨


🌸 NAME 🌸

sdma_v7_1_vm_set_pte_pde β€” update the page tables using sDMA

like, that's literally the whole personality. it updates page tables. using sDMA. no cap πŸ’…


✨ SYNOPSIS ✨

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

void return, six arguments, zero notes. she's a void girlie β€” doesn't return a thing, just does the thing. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” indirect buffer to fill with commands 🧚 this is where all the little command bytes get poured in
  • pe β€” addr of the page entry (yes the arg is called pe and it holds an addr, iykyk)
  • addr β€” the dst addr that gets written into pe πŸ’–
  • count β€” how many page entries we're updating, like how many besties are coming to the party
  • incr β€” bump the next addr up by incr bytes each time, lil step-by-step walk 🌈
  • flags β€” access flags πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Update the page tables using sDMA. that's it, that's the sentence, she said what she said and she ate πŸ”₯

like fr fr β€” page tables get updated, and sDMA is the main character doing it. iconic behaviour only.


⭐ SEE ALSO ⭐

the kernel file in question, for the curious:

  • ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c

and the whole friend group, all in (9) flavour πŸ’œ:


πŸ’€ reminder bestie: the whole (9) crew above lives under ./drivers/gpu/drm/amd/amdgpu β€” that's the directory, that's the home base, don't lose it.

and that's the page!! brought to you by the ./drivers/gpu/drm/amd/amdgpu girlies, stamped October 2026, signed off by sdma_v7_1_vm_set_pte_pde(9) herself πŸ’…πŸŽ€βœ¨ slay, go update some page tables πŸ¦‹

πŸ“¦ where this page comes from