i915_gem_ob...o_gtt_domain(9)
π 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 movedwriteβ 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 π§
- kernel file
./drivers/gpu/drm/i915/gem/i915_gem_domain.cπ (this is where she lives, iykyk) i915_gem_object_set_to_wc_domain(9)i915_gem_object_set_cache_level(9)i915_gem_object_set_to_cpu_domain(9)i915_gem_set_domain_ioctl(9)
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
- 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