sdma_v7_0_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdma_v7_0_vm_copy_pte(9) ✨

okay so bestie, welcome to the kernel API manual for sdma_v7_0_vm_copy_pte πŸ’… this is a page straight out of the kernel API manual and it's all about updating PTEs the slay way β€” by copying them from the GART. no cap.


🌸 SYNOPSIS 🌸

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

literally just four lil params and it returns void. she's lowkey effortless 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer you're filling with commands πŸ’– this is where the magic gets written.
  • pe β€” the addr of the page entry. yep, that's the spot ✨
  • src β€” the src addr to copy from. the source of truth, iykyk πŸ¦‹
  • count β€” number of page entries to update. how many we doing? that many πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

Update PTEs by copying them from the GART using sDMA. that's the whole vibe. the sDMA engine does the copying, the PTEs get updated, and everyone moves on with their day. periodt. πŸ‘‘


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c β€” go read her, she's iconic πŸ“–

and here's the whole friend group, fr fr:


mwah πŸ’‹ that's the page! sourced from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” go off bestie, you understood it fr fr πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from