STRUCT I915_TTM_BUDDY_RESOURCE(9)
π NAME π
okay so this is the struct i915_ttm_buddy_resource(9) page β header-style struct i915_...ddy_resource(9) β straight outta the Kernel API Manual, and it's giving kernel-struct main character energy β¨.
The NAME section is literally just struct i915_ttm_buddy_resource followed by a dash and no summary text. That's it. No cap. π«Ά
bestie, the dash is not me forgetting a description β the original page has no description there.
β¨ SYNOPSIS β¨
Here's the struct in all its exact, character-for-character glory β don't let the indentation jump-scare you:
struct i915_ttm_buddy_resource {
struct ttm_resource base;
struct list_head blocks;
unsigned long flags;
unsigned long used_visible_size;
struct gpu_buddy *mm;
};
π§ Members π§
baseβstruct ttm_resourcebase class we extend. It's the base, and yeah, we extend it. πblocksβ the list ofstruct i915_buddy_blockfor this resource/allocation. The buddy-block roster, basically. πflagsβDRM_BUDDY_*_ALLOCATIONflags. That's the whole flag vibe check. π₯used_visible_sizeβ How much of this resource, if any, uses the CPU visible portion, in pages. Very demure, very page-counted. πΈmmβ thestruct i915_buddy_mmfor this resource. And yeah, the synopsis literally spells the pointer asstruct gpu_buddy *mm;β both versions are in the original page, so I'm keeping both. iykyk. π
π₯ Description π₯
Extends the struct ttm_resource to manage an address space allocation with one or more struct i915_buddy_block. That's the plot. It's a TTM resource glow-up that handles address space allocation using one or more buddy blocks. Periodt. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/i915_ttm_buddy_manager.h to_ttm_buddy_resource(9)
xoxo, bestie π β the source/version line is ./drivers/gpu/drm/i915, the date is October 2026, and the footer title/version vibe is struct i915_...ddy_resource(9). Cute. Slay. πβ¨
π¦ 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