amdgpu_gtt_mgr_free_entries(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_gtt_mgr_free_entries

okay so bestie, welcome to the Kernel API Manual ✨ and today's main character is amdgpu_gtt_mgr_free_entries β€” a very real, very serious kernel function that is literally just here to free GART entries that aren't, like, associated with a GTT bo 🫢


✨ NAME ✨

amdgpu_gtt_mgr_free_entries β€” frees the GART entries that aren't associated with a GTT bo πŸŽ€


🌸 SYNOPSIS 🌸

void amdgpu_gtt_mgr_free_entries (struct amdgpu_gtt_mgr *mgr , struct drm_mm_node *mm_node );

no cap, that's the whole signature πŸ’€ returns nothing, takes two pointers, does exactly one job πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mgr β€” the GTT manager object πŸ’– like, the boss of the whole GTT operation, she's in charge
  • mm_node β€” the drm mm node you want to free πŸ“ this is the one getting evicted from the group chat

🌈 SEE ALSO 🌈

first up, the source file β€” go read her, she's iconic:

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c πŸ‘‘

and then the whole friend group, fr fr:


πŸ’€ reminder bestie: this frees GART entries not associated with a GTT bo β€” that's the whole vibe check of the function, don't go expecting it to do anything else πŸ™ˆ

and that's the page! mwah πŸ’‹ this lil number lives over in ./drivers/gpu/drm/amd/amdgpu, it's the October 2026 edition, and it's filed under amdgpu_gtt_mgr_free_entries(9) β€” slay, go free those entries, ily πŸ§šπŸ’œ

πŸ“¦ where this page comes from