si_dma_vm_write_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

si_dma_vm_write_pages(9) πŸ’…βœ¨

okay so bestie, this page is from the Kernel API Manual, and the function is literally si_dma_vm_write_pages. It’s giving β€œmanual PTE-writing, but make it DMA” energy, and I’m obsessed. 🫢

πŸ’– NAME πŸ’–

si_dma_vm_write_pages β€” update PTEs by writing them manually. no cap, that’s the whole vibe. ✨

✨ SYNOPSIS ✨

void si_dma_vm_write_pages (struct radeon_device *rdev , struct
radeon_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t
incr , uint32_t flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdev β€” a radeon_device pointer. literally the first thing it asks for. πŸ’–
  • ib β€” indirect buffer to fill with commands. bestie, it’s getting filled. 🫢
  • pe β€” addr of the page entry. yes, that pe. periodt. πŸ’…
  • addr β€” dst addr to write into pe. direct, no detours. 🌸
  • count β€” number of page entries to update. count ’em and update ’em. πŸ”₯
  • incr β€” increase next addr by incr bytes. math is mathing. ✨
  • flags β€” access flags. iconic little flags. πŸŽ€

🌸 DESCRIPTION 🌸

Update PTEs by writing them manually using the DMA (SI). That’s it, that’s the function β€” the manual-writing part is the main character here. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ bye bestie β€” source/version: ./drivers/gpu/drm/radeon, date: October 2026. πŸ¦‹πŸ’–

πŸ“¦ where this page comes from