si_dma_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… si_dma_vm_copy_pte(9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in the Kernel API Manual, section 9, and the main character of today's episode is si_dma_vm_copy_pte. no cap, this one's a whole vibe. let's get into it 🫢


✨ NAME ✨

si_dma_vm_copy_pte β€” literally the function that updates PTEs by copying them from the GART πŸ’«


🌸 SYNOPSIS 🌸

void si_dma_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t
src , unsigned count );

that's the whole signature, copy it exactly, don't be weird about it πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer you're filling up with commands, bestie. it's giving "blank canvas, but make it GPU" πŸ–ŒοΈ
  • pe β€” the addr of the page entry. yes, addr, the original said addr, we keep addr 😌
  • src β€” the src addr to copy from. so like, where the good stuff lives πŸ”₯
  • count β€” how many page entries we're updating. the more the merrier fr fr 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? Update PTEs by copying them from the GART using DMA (SI). that's it, that's the tea β˜•βœ¨ short and iconic, just like this description. no notes. periodt. πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

the lore expands, and honestly? the supporting cast ate πŸ’–

like, go read them too, they're all connected iykyk πŸ§šβ€β™€οΈ


ngl this page is short but she's doing her best and that's main character energy πŸ’œ

and that's the whole page, bestie!! πŸ“ this one came from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” so mark your calendars, si_dma_vm_copy_pte(9) is out here living her best life. mwah πŸ’‹πŸŽ€πŸ’–

πŸ“¦ where this page comes from