amdgpu_gmc_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_gmc_set_pte_pde(9) πŸ’…

okay so welcome to the Kernel API Manual page for amdgpu_gmc_set_pte_pde(9), bestie. We’re folding the manual name in right here near the top instead of copy-pasting the whole header line, because we’re cute AND efficient. This is the one that updates the page tables using the CPU β€” yes, the CPU is doing the little page-table glow-up. ✨

🌸 NAME 🌸

amdgpu_gmc_set_pte_pde β€” update the page tables using CPU 🫢

✨ SYNOPSIS ✨

Here’s the exact signature, bestie, so you can paste it with your whole chest:

int amdgpu_gmc_set_pte_pde (struct amdgpu_device *adev , void
*cpu_pt_addr , uint32_t gpu_page_idx , uint64_t addr , uint64_t flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” the amdgpu_device pointer. Your main character device struct πŸ‘‘
  • cpu_pt_addr β€” the CPU address of the page table. The CPU-side home address, iykyk 🏠
  • gpu_page_idx β€” the entry in the page table to update. Yes, this specific entry, bestie 🎯
  • addr β€” the dst addr to write into pte/pde. Literally the destination address going into the pte/pde πŸ’Œ
  • flags β€” the access flags. The permission-y accessory for the fit πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so the whole mood is: update the page tables using CPU. That’s it, that’s the function. No cap. The CPU is doing the page-table update, and honestly? Slay ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

go stalk these too, bestie:


xoxo, your amdgpu_gmc_set_pte_pde(9) bestie πŸ’– β€” from ./drivers/gpu/drm/amd/amdgpu, dated October 2026. Periodt 🫢

πŸ“¦ where this page comes from