si_dma_vm_copy_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ si_dma_vm_copy_pages(9) ✨

okay so bestie, welcome to the si_dma_vm_copy_pages page β€” it's in section 9 of the kernel API manual, and it's honestly a little baddie that just moves page table entries around πŸ’…


πŸ’– NAME πŸ’–

si_dma_vm_copy_pages β€” update PTEs by copying them from the GART 🫢


🌸 SYNOPSIS 🌸

void si_dma_vm_copy_pages (struct radeon_device *rdev , struct radeon_ib
*ib , uint64_t pe , uint64_t src , unsigned count );

like, it literally returns void, no cap β€” it's not coming back to tell you how it went 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • rdev β€” a radeon_device pointer, the whole device vibe check πŸ‘‘
  • ib β€” the indirect buffer you're filling with commands, it's giving "the actual to-do list" ✨
  • pe β€” addr of the page entry, that's where we're writing, periodt
  • src β€” src addr where to copy from, the origin story πŸ¦‹
  • count β€” number of page entries to update, so like how many we're doing πŸ’€

πŸ”₯ DESCRIPTION πŸ”₯

Update PTEs by copying them from the GART using the DMA (SI). 🧚

That's the whole thing bestie, that's the assignment β€” copy the page table entries straight out of the GART with the DMA on SI. iconic, lowkey efficient, ate 🌈


⭐ SEE ALSO ⭐

go read those too, iykyk πŸ’œ


ngl the source lives in ./drivers/gpu/drm/radeon and this one's dated October 2026 β€” so like, future girlie things fr fr. anyway that's the whole si_dma_vm_copy_pages(9) page, mwah πŸ’‹ πŸ“
πŸ“¦ where this page comes from