cayman_dma_vm_set_pages(9)
๐ cayman_dma_vm_set_pages (9) ๐
okay so bestie, welcome to the Kernel API Manual โจ this one's all about cayman_dma_vm_set_pages, and honestly? she's a whole mood. let's get into it ๐ซถ
๐ธ NAME ๐ธ
cayman_dma_vm_set_pages โ updating the page tables using the DMA, no cap ๐
โจ SYNOPSIS โจ
void cayman_dma_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 );
like, that's the whole vibe. void return, seven args, she's booked and busy ๐
๐ ARGUMENTS ๐
rdevโ theradeon_devicepointer, i.e. ur main character struct ๐ibโ the indirect buffer we're filling with commands, she's literally the canvas ๐จpeโ addr of the page entry (yes, the page entry, keep up bestie)addrโ the dst addr that gets written intope๐countโ how many page entries we're updating, gotta know the headcount ๐งฎincrโ bump the next addr byincrbytes, lil step-by-step energy ๐flagsโ the hw access flags, iykyk ๐ฅ
๐ฆ DESCRIPTION ๐ฆ
Update the page tables using the DMA (cayman/TN). that's it, that's the whole thing โ she updates page tables, she uses the DMA, she slays ๐โจ
๐ SEE ALSO ๐
Kernel file ./drivers/gpu/drm/radeon/ni_dma.c and her 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_write_pages(9)cayman_dma_vm_pad_ib(9)
and that's the tea, bestie ๐ this lil gem lives in ./drivers/gpu/drm/radeon, dated October 2026 โ go off, October 2026, you ate ๐โจ๐
๐ฆ 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