sdma_v6_0_vm_write_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v6_0_vm_write_pte πŸ’…

okay so bestie, welcome to the sdma_v6_0_vm_write_pte(9) page β€” it's a Kernel API Manual moment, and honestly? iconic. this is the function that goes "fine, i'll write the PTEs myself" and honestly we respect the hustle 🫢


✨ NAME ✨

sdma_v6_0_vm_write_pte β€” update PTEs by writing them manually. that's the whole vibe. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

void sdma_v6_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t value , unsigned count , uint32_t incr );

like… look at that signature. it's giving structured. it's giving typed. we stan πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ib β€” the indirect buffer you're filling up with commands. think of it as the group chat where all the commands get dropped. πŸ“₯
  • pe β€” addr of the page entry. yes, the page entry. the main character of this whole operation πŸ‘‘
  • value β€” the dst addr to write into pe. literally just the destination address going in there. slay. ✨
  • count β€” number of page entries to update. how many we doing? this many. πŸ”’
  • incr β€” increase next addr by incr bytes. so each subsequent entry steps forward by this much. baby steps, but make it bytes πŸšΆβ€β™€οΈ

πŸ’œ DESCRIPTION πŸ’œ

Update PTEs by writing them manually using sDMA. that's it, that's the description. no fancy auto-magic, no "the hardware handles it" β€” we handle it, by hand, with sDMA. it's giving DIY energy and honestly? obsessed. πŸ’…


🌈 SEE ALSO 🌈

fr fr, go read these next, they're all in the same friend group of sdma_v6_0 functions and they all ate:

iykyk 😌


πŸ’€ reminder: this page literally just says "update PTEs by writing them manually using sDMA" and that's the entire documented behaviour β€” don't go inventing extra semantics, bestie, that's how you get bugs

okay that's the page!! it lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and its whole name-title-situation is sdma_v6_0_vm_write_pte(9). mwah πŸ’‹ bye bestie, go write some PTEs 🧚⭐

πŸ“¦ where this page comes from