amdgpu_vm_sdma_copy_ptes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

amdgpu_vm_sdma_copy_ptes β€” copy the PTEs from mapping. That's the whole name section, bestie, and it's already giving main character energy ✨. This page is from the Kernel API Manual, section 9, so you know exactly what kind of kernel-API situation we're in 🫢.

✨ SYNOPSIS ✨

Okay so here's the exact signature, no cap:

       void amdgpu_vm_sdma_copy_ptes (struct amdgpu_vm_update_params *p ,
       struct amdgpu_bo *bo , uint64_t pe , unsigned count );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” see the amdgpu_vm_update_params definition. That's the whole lore for this one πŸ’….
  • bo β€” the PD/PT to update. Slay, we're updating a page directory / page table, iykyk.
  • pe β€” addr of the page entry. Literally the address of the page entry πŸ¦‹.
  • count β€” number of page entries to copy. Yes bestie, we're copying count of them πŸ”₯.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It traces the parameters and calls the DMA function to copy the PTEs. That's it β€” that's the function. Iconic minimalism 🌈. It is not out here doing extra side quests in this description; the whole vibe is: trace the parameters, call the DMA function, copy the PTEs, periodt πŸ’œ.

🌈 SEE ALSO 🌈

The kernel file is literally ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c, and these are the sibling functions you should also peek at πŸ‘€:


xoxo, your kernel girlie πŸ’œ β€” source/version: ./drivers/gpu/drm/amd/amdgpu, date: October 2026, page: amdgpu_vm_sdma_copy_ptes(9). bye bestie, go copy those PTEs πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from