i915_ttm_bu...visible_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i915_ttm_buddy_man_visible_size πŸ’…

okay so welcome to the Kernel API Manual bestie, this one's a lil function from the i915 corner of the kernel and it's honestly so straightforward you're gonna slay it 🫢


🌸 NAME 🌸

i915_ttm_buddy_man_visible_size β€” literally returns the size of the CPU visible portion, and it returns it in pages πŸ“„βœ¨ no cap, that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

u64 i915_ttm_buddy_man_visible_size (struct ttm_resource_manager *man );

so it takes one arg and hands you back a u64 β€” the return type is a u64 and the function name is i915_ttm_buddy_man_visible_size, both exactly as written, don't @ me πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • man β€” the buddy allocator ttm manager πŸ’– that's it, that's the whole parameter list. it's giving "one job and she does it."

⭐ SEE ALSO ⭐

the whole buddy-manager friend group fr fr, init/fini/reserve/avail all in the same squad 🌈


πŸ’€ reminder bestie: this page tells you it returns the CPU visible portion in pages β€” pages, not bytes. keep that energy or your math will be a mess 😭

and that's the page!! πŸŽ€ written under ./drivers/gpu/drm/i915, dated October 2026, and yeah the header up top says i915_ttm_bu...visible_size(9) because kernel manpage titles love to truncate, iconic behavior honestly πŸ’… periodt βœ¨πŸ‘‘

πŸ“¦ where this page comes from