cayman_dma_vm_write_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cayman_dma_vm_write_pages(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's a (9) page, it lives in the Kernel API Manual, and its whole personality is manually writing page table entries. iconic behavior honestly.


✨ NAME ✨

cayman_dma_vm_write_pages β€” update PTEs by writing them manually πŸ’– (yes, by hand, like a craft project)


🌸 SYNOPSIS 🌸

void cayman_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 );

that's the whole squad right there, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” a radeon_device pointer, obvi. it's the device bestie πŸ’«
  • ib β€” the indirect buffer you're gonna fill with commands πŸŽ€
  • pe β€” addr of the page entry. the spot. the location. πŸ“
  • addr β€” the dst addr you're writing into pe ✍️
  • count β€” how many page entries we're updating, like a headcount but for PTEs πŸ‘‘
  • incr β€” increase next addr by incr bytes. little step-by-step moment 🐾
  • flags β€” hw access flags, lowkey important πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so the whole vibe: update PTEs by writing them manually using the DMA. that's on cayman/TN, iykyk. no magic auto-fill, you're literally doing it yourself πŸ’…βœ¨


🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/radeon/ni_dma.c β€” go read it, it's giving main character energy πŸ“–πŸ’«

and then the whole friend group:


🫢 friendly reminder from me to you: pe is the page entry address and addr is what you write into it. don't mix them up bestie, I'm begging πŸ™ˆ

and that's the whole page!! 🌟 brought to you by source/version ./drivers/gpu/drm/radeon, dated October 2026 β€” mwah, slay, see you in the next manpage πŸ“πŸ’…βœ¨

πŸ“¦ where this page comes from