cik_sdma_vm_set_pages(9)
π 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β theradeon_devicepointer. 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 intopeπ¦countβ how many page entries we're updating, i.e. the number of them πΈincrβ increase next addr byincrbytes, 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:
cik_sdma_get_rptr(9)cik_sdma_get_wptr(9)cik_sdma_set_wptr(9)cik_sdma_ring_ib_execute(9)cik_sdma_hdp_flush_ring_emit(9)cik_sdma_fence_ring_emit(9)cik_sdma_semaphore_ring_emit(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_sdma_ctx_switch_enable(9)cik_sdma_enable(9)cik_sdma_gfx_resume(9)cik_sdma_rlc_resume(9)cik_sdma_load_microcode(9)cik_sdma_resume(9)cik_sdma_fini(9)cik_copy_dma(9)cik_sdma_ring_test(9)cik_sdma_ib_test(9)cik_sdma_is_lockup(9)cik_sdma_vm_copy_pages(9)cik_sdma_vm_write_pages(9)cik_sdma_vm_pad_ib(9)
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
- 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