cik_sdma_vm_write_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_vm_write_pages(9) ✨

okay so bestie, listen β€” we're deep in the cik_sdma zone of the Kernel API Manual, and this one is literally about updating PTEs by writing them manually. no cap, that's the whole vibe. it's cik_sdma_vm_write_pages, and she's serving "I fill an indirect buffer with commands so you don't have to" energy. πŸŽ€


🌸 SYNOPSIS 🌸

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

like, that's the whole signature, copy-pasted exactly, no editing, we respect her. 🫢


✨ ARGUMENTS ✨

  • rdev β€” the radeon_device pointer. yes queen, your device handle. πŸ‘‘
  • ib β€” the indirect buffer we're gonna fill with commands. she's the canvas, we're the artist. 🎨
  • pe β€” addr of the page entry. that's the spot. πŸ“
  • addr β€” the dst addr to write into pe. where the data's actually going. πŸ’Œ
  • count β€” number of page entries to update. do the math, bestie. πŸ”’
  • incr β€” increase next addr by incr bytes. we're striding, not strolling. πŸšΆβ€β™€οΈ
  • flags β€” access flags. the permission slip, iykyk. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Update PTEs by writing them manually using sDMA (CIK). that's it, that's the whole description. she's concise, she's iconic, she didn't need to over-explain. ✨

ngl this is the "do it by hand" route β€” manual PTE writes via sDMA on CIK. no shortcuts, just vibes and commands. 🧚

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/radeon/cik_sdma.c β€” and honestly the whole cik_sdma extended universe is right here, bestie. it's giving family reunion:


and that's the page, bestie! πŸ’– straight from ./drivers/gpu/drm/radeon, dated October 2026, and it belongs to cik_sdma_vm_write_pages(9) β€” say it with your chest. mwah! πŸ«ΆπŸŽ€πŸŒ·

πŸ“¦ where this page comes from