sdma_v2_4_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ sdma_v2_4_vm_copy_pte(9) β€” the Kernel API Manual, bestie edition ✨

okay so real talk, this is a page from the Kernel API Manual and the star of the show is sdma_v2_4_vm_copy_pte. she's a little function with one job and she does it flawlessly πŸ’…


✨ NAME ✨

sdma_v2_4_vm_copy_pte β€” literally updates PTEs by copying them out of the GART 🫢


🌸 SYNOPSIS 🌸

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

look at her. returns void, meaning she doesn't come back to tell you how it went β€” she just does it and dips 😭 main character energy fr


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer you're filling up with commands. she's the canvas, you're the artist πŸ–ŒοΈ
  • pe β€” addr of the page entry πŸ‘‘
  • src β€” the src addr you're copying from, iykyk 🌈
  • count β€” how many page entries we're updating. the more the merrier ngl πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Update PTEs by copying them from the GART using sDMA (CIK). that's it, that's the whole vibe. iconic, no notes, periodt ✨

ngl the original page gives us exactly one sentence here and honestly? she said what she said. don't come for me, I'm not adding lore that isn't canon πŸ™ˆ

πŸ’– SEE ALSO πŸ’–

that's 23 siblings and every single one of them is invited to the function family reunion πŸ§šπŸ’œ


πŸ’€ quick reminder bestie: this page lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's all about sdma_v2_4_vm_copy_pte(9). that's the whole receipt, don't lose it πŸ“

k bye, go copy some PTEs and slay πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from