sdma_v5_2_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_2_vm_copy_pte(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so you found the Kernel API Manual page for sdma_v5_2_vm_copy_pte and tbh you're about to understand it perfectly, periodt ✨


✨ NAME ✨

sdma_v5_2_vm_copy_pte β€” update PTEs by copying them from the GART πŸ¦‹

no cap, that's the whole vibe: PTEs get updated, and the way they get updated is copying them from the GART. iconic behavior honestly πŸ’–


🌸 SYNOPSIS 🌸

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

so it returns void (nothing, nada, it's giving "I do the work and I don't brag about it" πŸ’…) and it takes four things. let's meet them 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer you're filling with commands. that's literally its whole job, it's the canvas and you're the artist bestie 🎨
  • pe β€” the addr of the page entry. yes, addr, not address, we're keeping the original spelling fr fr πŸ™ˆ
  • src β€” the src addr to copy from. it's giving source material, main character energy πŸ‘‘
  • count β€” how many page entries are getting updated. the more the merrier lowkey 🌈

πŸ”₯ DESCRIPTION πŸ”₯

Update PTEs by copying them from the GART using sDMA ⭐

that's it. that's the whole description. short, sweet, and absolutely ate πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, go say hi:

./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c

and here's the whole friend group, the entire squad, not me listing all of them but I am, and every single one is invited to the group chat πŸ’–:


ok real talk, that's a LOT of friends but you gotta respect it, iykyk 🧚

and that's the page!! mwah πŸ’œ before you go β€” this one came from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026, so like, mark your calendars bestie, and remember: sdma_v5_2_vm_copy_pte(9), always and forever, slay πŸ“πŸŒΈ

πŸ“¦ where this page comes from