sdma_v4_4_2_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v4_4_2_vm_set_pte_pde(9)

okay so bestie, this is a page from the Kernel API Manual and it's about one very specific little function called sdma_v4_4_2_vm_set_pte_pde β€” say that five times fast, I dare you 😭 β€” and it does exactly one job: it updates the page tables using sDMA. That's the whole vibe. Let's get into it. πŸ¦‹


✨ NAME ✨

sdma_v4_4_2_vm_set_pte_pde β€” update the page tables using sDMA πŸ’«


🌸 SYNOPSIS 🌸

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

like, yes, that's a lot of parameters. she's high-maintenance but she delivers πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • ib β€” the indirect buffer you're gonna fill up with commands 🫢 this is the canvas, bestie
  • pe β€” the addr of the page entry (yep, the page entry, she's specific)
  • addr β€” the dst addr that gets written into pe ✍️
  • count β€” how many page entries we're updating. the more the merrier fr fr
  • incr β€” bump the next addr up by incr bytes. little steps, iconic behavior πŸ‘‘
  • flags β€” the access flags 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

Update the page tables using sDMA. that's it. that's the whole description. short, sweet, and absolutely ate πŸ’… no cap, sometimes a function knows exactly what it is and doesn't need a whole essay about it.


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, bestie:

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

and here's the whole friend group β€” the entire sdma_v4_4_2 squad, all in one place πŸ’œ:


πŸŽ€ that's the entire page, bestie. go update those page tables. slay.

source/version: ./drivers/gpu/drm/amd/amdgpu β€” October 2026 ✨ mwah, catch you in the next manpage πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from