sdma_v4_0_vm_copy_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual ✨ this page is sdma_v4_0_vm_copy_pte β€” update PTEs by copying them from the GART. That's the whole main-character job, no cap πŸ’…

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • ib β€” the indirect buffer to fill with commands 🫢
  • pe β€” the addr of the page entry, iykyk
  • src β€” the src addr to copy from
  • count β€” the number of page entries to update

πŸ’« DESCRIPTION πŸ’«

the way that this updates PTEs by copying them from the GART using sDMA (VEGA10) is lowkey iconic πŸ”₯ that's literally the vibe, fr fr.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 🌈

the whole friend group:


xoxo, your Kernel API Manual bestie πŸ’– source/version: ./drivers/gpu/drm/amd/amdgpu; date: October 2026. bye babes, go update those PTEs πŸ¦‹βœ¨

πŸ“¦ where this page comes from