amdgpu_vm_sdma_copy_ptes(9)
π 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 theamdgpu_vm_update_paramsdefinition. 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 copyingcountof 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 π:
amdgpu_vm_sdma_map_table(9)amdgpu_vm_sdma_prepare(9)amdgpu_vm_sdma_commit(9)amdgpu_vm_sdma_set_ptes(9)amdgpu_vm_sdma_update(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms