sdma_v5_2_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_2_vm_set_pte_pde β€” a little Kernel API Manual moment πŸŽ€

okay so bestie, we're in the Kernel API Manual today and this one is literally called sdma_v5_2_vm_set_pte_pde(9). yes that's a mouthful. no we're not shortening it. iykyk πŸ’–


✨ NAME ✨

sdma_v5_2_vm_set_pte_pde β€” update the page tables using sDMA

like... that's the whole vibe. page tables. sDMA. slay.


🌸 SYNOPSIS 🌸

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

she takes six args, returns nothing (void β€” no cap, she gives nothing back and honestly? iconic πŸ‘‘). copy it exactly, don't be cute with the types.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ib β€” indirect buffer to fill with commands. this is the lil container she's gonna stuff full of stuff, mwah 🫢
  • pe β€” addr of the page entry
  • addr β€” dst addr to write into pe
  • count β€” number of page entries to update
  • incr β€” increase next addr by incr bytes
  • flags β€” access flags

that's it, that's the whole roster. six little besties. πŸ’œ


πŸ”₯ DESCRIPTION πŸ”₯

Update the page tables using sDMA.

short. sweet. to the point. she said what she said and honestly the confidence?? main character energy fr fr πŸ’€βœ¨


🌈 SEE ALSO 🌈

first up, the source file she lives in (go say hi):

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c

and now the whole extended friend group πŸ’– β€” every single one, no skipping:

look at that list. that's a whole group chat. 🧚


πŸ’€ tiny reminder bestie: this is kernel API, so keep the signatures exactly as written β€” no renaming, no "fixing", no merging. the compiler does not care about your vibes (rude, i know).

and that's a wrap on this lil manpage date πŸ’…βœ¨ the source/version line lives at ./drivers/gpu/drm/amd/amdgpu and the date stamp is October 2026 β€” ok bye, go update those page tables, ily πŸ«ΆπŸ“πŸ’œ

πŸ“¦ where this page comes from