amdgpu_gmc_get_pde_for_bo(9)
π amdgpu_gmc_get_pde_for_bo(9) π
okay so bestie, we're in the Kernel API Manual today and the main character of this page is amdgpu_gmc_get_pde_for_bo β say it with me, it's a mouthful, but it eats, fr fr. This is the one that goes and fetches you the PDE for a BO. iconic behavior honestly π
β¨ SYNOPSIS β¨
void amdgpu_gmc_get_pde_for_bo (struct amdgpu_bo *bo , int level ,
uint64_t *addr , uint64_t *flags );
like yes it returns void, no it's not giving you a value back β it fills in your pointers, that's the whole vibe π
π¦ ARGUMENTS π¦
boβ the BO you want the PDE for. like, the actual buffer object, bestie. it's the star of the show πlevelβ the level in the PD hirarchy. yes, the spelling is hirarchy in the original and we're not touching it, it's iconic in its own way πaddrβ the resulting addr. this one's an output, so it gets written for you β¨flagsβ the resulting flags. also an output, also gets filled in, no cap π«Ά
πΈ DESCRIPTION πΈ
lowkey the whole job is this: get the address and flags to be used for a PDE (that's a Page Directory Entry, iykyk). that's it, that's the plot. she's a getter, she gets π
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c β go read it if you're feeling brave, it's giving main character energy π§
and here's the whole friend group, like a group chat you got added to:
amdgpu_gmc_pdb0_alloc(9)amdgpu_gmc_set_pte_pde(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)
ok that's the whole page, no filler, we ate and left no crumbs π
that's a wrap bestie!! mwah π this came to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the page itself is amdgpu_gmc_get_pde_for_bo(9) β slay, goodbye, see you in the next manpage π¦β¨
π¦ 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