amdgpu_gmc_get_pde_for_bo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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