cik_sdma_vm_write_pages(9)
π 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β theradeon_devicepointer. 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 intope. where the data's actually going. πcountβ number of page entries to update. do the math, bestie. π’incrβ increase next addr byincrbytes. 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:
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_set_pages(9)cik_sdma_vm_pad_ib(9)
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
- 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