amdgpu_gmc_set_pte_pde(9)
π 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β theamdgpu_devicepointer. 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:
amdgpu_gmc_pdb0_alloc(9)amdgpu_gmc_get_pde_for_bo(9)amdgpu_gmc_agp_addr(9)amdgpu_gmc_vram_location(9)amdgpu_gmc_gart_location(9)amdgpu_gmc_agp_location(9)amdgpu_gmc_set_agp_default(9)amdgpu_gmc_fault_key(9)amdgpu_gmc_filter_faults(9)amdgpu_gmc_filter_faults_remove(9)amdgpu_gmc_tmz_set(9)amdgpu_gmc_noretry_set(9)amdgpu_gmc_init_pdb0(9)amdgpu_gmc_vram_mc2pa(9)amdgpu_gmc_vram_pa(9)
xoxo, your amdgpu_gmc_set_pte_pde(9) bestie π β from ./drivers/gpu/drm/amd/amdgpu, dated October 2026. Periodt π«Ά
π¦ 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