cik_sdma_vm_set_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cik_sdma_vm_set_pages(9) πŸ’–

okay so bestie, welcome to the cik_sdma_vm_set_pages(9) page β€” it's a Kernel API Manual entry and honestly it's a little baddie of a function. let's get into it πŸŽ€


✨ NAME ✨

cik_sdma_vm_set_pages β€” update the page tables using sDMA πŸ¦‹


🌸 SYNOPSIS 🌸

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

🫢 ARGUMENTS 🫢

literally every single one of them, no skipping, we're thorough here πŸ’…

  • rdev β€” the radeon_device pointer. it's giving "main character struct" πŸ‘‘
  • ib β€” the indirect buffer we're gonna fill up with commands ✨
  • pe β€” the addr of the page entry πŸŽ€
  • addr β€” the dst addr to write into pe πŸ¦‹
  • count β€” how many page entries we're updating, i.e. the number of them 🌸
  • incr β€” increase next addr by incr bytes, so it just keeps on stepping πŸšΆβ€β™€οΈ
  • flags β€” the access flags, iykyk πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

Update the page tables using sDMA (CIK). that's the whole vibe β€” short, sweet, iconic. periodt. ✨

ngl bestie this description is lowkey minimal but we're not out here inventing lore, we're just reporting the facts πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/radeon/cik_sdma.c β€” and then the whole squad, fr fr:


and that's the page bestie 🫢 it lives under ./drivers/gpu/drm/radeon, the version stamp says October 2026, and the header on top of it all is cik_sdma_vm_set_pages(9). slay, go update those page tables πŸ’…βœ¨

πŸ“¦ where this page comes from