i915_gem_ob...o_gtt_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_gem_ob...o_gtt_domain(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little function from the i915 fam and she is literally here to move your stuff around, no cap 🫢


🌸 NAME 🌸

i915_gem_object_set_to_gtt_domain β€” moves a single object to the GTT read, and possibly write domain πŸŽ€

like… one (1) object, bestie. not a crowd. she's very focused πŸ’…


✨ SYNOPSIS ✨

int i915_gem_object_set_to_gtt_domain (struct drm_i915_gem_object *obj ,
bool write );

that's the whole vibe check: you hand her a struct drm_i915_gem_object * and a bool, she gives you back an int. iconic behavior honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • obj β€” the object to act on 🎯 this is your main character, the thing getting moved
  • write β€” ask for write access or read only πŸ™ˆ so you're basically telling her: do I just need to look at it, or am I gonna touch it too?

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• β€” this function returns when the move is complete, and that includes waiting on flushes to occur. like she will genuinely not come back to you until everything is done and dusted, flushes included. no half-finished moves, no "hmm I'll get to it later" energy. she ate and left no crumbs πŸ”₯

ngl bestie, she blocks. if you're calling her, you're waiting. plan your little group-chat schedule accordingly 😭

🧚 SEE ALSO 🧚

go read those too, they're all part of the same friend group πŸ’œ


aaaand that's the whole page, bestie 🌈 this cutie comes to you straight from ./drivers/gpu/drm/i915/gem, dated October 2026, and she'll always answer to the name i915_gem_ob...o_gtt_domain(9) πŸŽ€πŸ’– slay! ✨

πŸ“¦ where this page comes from