i915_gem_to_ttm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_gem_to_ttm πŸ’…

okay bestie so this is a kernel API manual page, section 9 β€” it's i915_gem_to_ttm(9) and honestly it's giving "one tiny function, zero drama" and I'm obsessed πŸŽ€

✨ NAME ✨

i915_gem_to_ttm β€” converts a struct drm_i915_gem_object into a struct ttm_buffer_object. that's it. that's the whole vibe. slay πŸ’–

🌸 SYNOPSIS 🌸

struct ttm_buffer_object * i915_gem_to_ttm (struct drm_i915_gem_object
*obj );

literally just hand it a gem object and it hands you back the ttm buffer object, no cap ✨

πŸ¦‹ ARGUMENTS πŸ¦‹

  • obj β€” pointer to the gem object. that's your input, your main character, the thing you're converting 🫢

⭐ RETURN ⭐

it returns a pointer to the embedded struct ttm_buffer_object. not a copy, not a new one, the embedded one β€” iykyk πŸ˜­πŸ’œ

🧚 SEE ALSO 🧚

all of these are the friend group, go say hi 🌈


ngl this was a short one but we ate anyway πŸ’€βœ¨

so um yeah, that's the page! it lives under ./drivers/gpu/drm/i915/gem, it's dated October 2026, and it's from the Kernel API Manual β€” periodt. bye bestie, go convert some objects πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from