sdma_v5_0_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_0_vm_copy_pte(9) β€” a Kernel API Manual moment πŸŽ€

okay bestie, welcome to the sdma_v5_0_vm_copy_pte(9) page ✨ this one lives in the Kernel API Manual, and honestly she's a whole vibe: short, iconic, does exactly one job and does it slay.


✨ NAME ✨

sdma_v5_0_vm_copy_pte β€” literally updates PTEs by copying them over from the GART 🫢 no cap, that's the entire personality.


🌸 SYNOPSIS 🌸

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

see? she's void, she returns nothing, she simply is. main character energy fr fr πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's the rundown of everybody walking into this function πŸšΆβ€β™€οΈ

  • ib β€” the indirect buffer you're filling up with commands. she's the canvas, you're the artist 🎨
  • pe β€” the addr of the page entry. yes, addr, not address, we're keeping it exactly like that πŸ’€
  • src β€” the src addr to copy from. where the tea comes from β˜•
  • count β€” number of page entries to update. how many besties are getting updated in this batch πŸ‘―β€β™€οΈ

πŸ”₯ DESCRIPTION πŸ”₯

Update PTEs by copying them from the GART using sDMA (NAVI10). πŸ’…

that's it. that's the whole description. she's concise, she's efficient, she's booked and busy. NAVI10 girlies rise 🌈


⭐ SEE ALSO ⭐

the Kernel file, the whole source of truth:

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

and her entire friend group πŸ’– (seriously, this is the whole group chat, nobody gets left on read):


πŸ’€ friendly reminder that this page is dated October 2026 and comes from ./drivers/gpu/drm/amd/amdgpu β€” so like, screenshot the receipts, iykyk πŸ™ˆ

okay that's the page bestie, go forth and copy those PTEs πŸ§šβ€β™€οΈπŸ’– periodt. 🌟

πŸ“¦ where this page comes from