mem_info_gtt_used(9)
π mem_info_gtt_used π
okay bestie, this is mem_info_gtt_used(9) from the Kernel API Manual, and it's a short one β no cap. The amdgpu driver provides a sysfs API for reporting the current total amount of used GTT. The file mem_info_gtt_used is used for this, and it returns the current used size of the GTT block, in bytes. literally that's the whole vibe check π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c mem_info_gtt_total(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_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)
source/version: ./drivers/gpu/drm/amd/amdgpu Β· date: October 2026 β mwah, go read the source bestie π«Άβ¨
π¦ 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