i915_ttm_buddy_man_avail(9)
π NAME π
okay so bestie, welcome to i915_ttm_buddy_man_avail(9) from the Kernel API Manual β this one is literally just here to query the avail tracking for the manager. That's the whole assignment, no cap. π
β¨ SYNOPSIS β¨
void i915_ttm_buddy_man_avail (struct ttm_resource_manager *man , u64
*avail , u64 *visible_avail );
π ARGUMENTS π
manβ the buddy allocator ttm manager. That's the main character struct, periodt. πavailβ the total available memory in pages for the entire manager. Like, all of it, fr fr.visible_availβ the total available memory in pages for the CPU visible portion. Important heads-up: this will always give the same value asavailon configurations that don't have a small BAR. So if they match, don't panic, bestie β that's expected. π«Ά
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/i915_ttm_buddy_manager.c i915_ttm_buddy_man_init(9)i915_ttm_buddy_man_fini(9)i915_ttm_buddy_man_reserve(9)i915_ttm_buddy_man_visible_size(9)
mwah π this little icon came from ./drivers/gpu/drm/i915, and the footer date is October 2026 β go off, 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