amdgpu_gtt_mgr_free_entries(9)
π 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 chargemm_nodeβ thedrmmm 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:
mem_info_gtt_total(9)mem_info_gtt_used(9)amdgpu_gtt_mgr_has_gart_addr(9)amdgpu_gtt_mgr_mark_bo_teardown(9)amdgpu_gtt_mgr_new(9)amdgpu_gtt_mgr_del(9)amdgpu_gtt_mgr_alloc_entries(9)amdgpu_gtt_mgr_recover(9)amdgpu_gtt_mgr_intersects(9)amdgpu_gtt_mgr_compatible(9)amdgpu_gtt_mgr_debug(9)amdgpu_gtt_mgr_init(9)amdgpu_gtt_mgr_fini(9)
π 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
- 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