sdma_v3_0_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v3_0_vm_copy_pte(9) β€” kernel API manual, but make it make sense πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ this one's a function page, sdma_v3_0_vm_copy_pte(9), and honestly? it's giving "small function, big responsibilities." let's get into it πŸ¦‹


✨ NAME ✨

sdma_v3_0_vm_copy_pte β€” update PTEs by copying them from the GART πŸ’«


🌸 SYNOPSIS 🌸

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

no return value, no drama, just vibes and a void. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer you're filling with commands. this is your canvas, your little command scrapbook πŸ–ŒοΈ
  • pe β€” addr of the page entry. yes, addr, the manpage said it, we respect it 🫢
  • src β€” src addr to copy from. the origin point, the source material, the main character 🌟
  • count β€” number of page entries to update. how many PTEs we're touching, bestie β€” don't lose track 😀

πŸ’œ DESCRIPTION πŸ’œ

Update PTEs by copying them from the GART using sDMA (CIK).

that's literally it, that's the whole thing β€” but like, think about it? you're copying page table entries straight out of the GART with sDMA, and it's the CIK generation doing it. lowkey iconic πŸ”₯ no cap, this is the "just copy the PTEs" girlie of the sdma_v3_0 family and she knows her job πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, go say hi to it πŸ‘‹

  • ./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c

and now, the whole friend group β€” the entire sdma_v3_0 squad, in the order the page lists them, because we do NOT skip anyone in this house 🏠✨

twenty-three siblings and one file path, and we listed every single one πŸ’€ iykyk 🌈


ngl bestie, this one's short but she's specific β€” PTE copying via the GART with sDMA on CIK. memorize the arg order and you're golden πŸ‘‘

and that's a wrap!! 🎬 signed off from ./drivers/gpu/drm/amd/amdgpu, October 2026, on the sdma_v3_0_vm_copy_pte(9) page itself β€” slay, go fill that indirect buffer πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from