cayman_dma_vm_write_pages(9)
π 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β aradeon_devicepointer, 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 intopeβοΈcountβ how many page entries we're updating, like a headcount but for PTEs πincrβ increase next addr byincrbytes. 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:
cayman_dma_get_rptr(9)cayman_dma_get_wptr(9)cayman_dma_set_wptr(9)cayman_dma_ring_ib_execute(9)cayman_dma_stop(9)cayman_dma_resume(9)cayman_dma_fini(9)cayman_dma_is_lockup(9)cayman_dma_vm_copy_pages(9)cayman_dma_vm_set_pages(9)cayman_dma_vm_pad_ib(9)
π«Ά friendly reminder from me to you:peis the page entry address andaddris 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms