amdgpu_gtt_..._bo_teardown(9)
π¦ amdgpu_gtt_..._bo_teardown(9) π¦
okay bestie, this page is from the Kernel API Manual, and it is highkey deep in AMD GPU internals. The main character is amdgpu_gtt_mgr_mark_bo_teardown, and its whole job is to exclude a BO from GART recovery. Periodt. π
π NAME π
amdgpu_gtt_mgr_mark_bo_teardownβ exclude a BO from GART recovery β¨
πΈ SYNOPSIS πΈ
void amdgpu_gtt_mgr_mark_bo_teardown (struct ttm_buffer_object *tbo );
π ARGUMENTS π
tboβ the TTM BO whose TT backing is about to be destroyed π like, it's on the way out, bestie.
π«Ά DESCRIPTION π«Ά
So here's the tea: keep the GART range allocated until the resource is freed, but make recovery treat it like a range without a BO so it isn't touched after TT teardown has started. no cap, that's the whole vibe. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
The whole squad, fr fr:
mem_info_gtt_total(9)mem_info_gtt_used(9)amdgpu_gtt_mgr_has_gart_addr(9)amdgpu_gtt_mgr_new(9)amdgpu_gtt_mgr_del(9)amdgpu_gtt_mgr_alloc_entries(9)amdgpu_gtt_mgr_free_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)
made with π from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β that's the source path + date from the footer, bestie. amdgpu_gtt_..._bo_teardown(9) out. πβ¨
π¦ 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