i915_ttm_move_notify(9)
π i915_ttm_move_notify(9) β the Kernel API Manual moment π
okay bestie, welcome to the <pink>Kernel API Manual</pink> β¨ β this one's about i915_ttm_move_notify, and ngl it's a lil function with a big job. π«Ά
πΈ NAME πΈ
i915_ttm_move_notify β bestie, it literally prepares an object for a move. that's the whole vibe. π«
π¦ SYNOPSIS π¦
int i915_ttm_move_notify (struct ttm_buffer_object *bo );
like, that's it. one argument, one int back, main character energy. π
β ARGUMENTS β
boβ the ttm buffer object. yes the WHOLE buffer object, she's the guest of honor at this party π
π₯ DESCRIPTION π₯
so what does she actually DO? okay so listen up:
This function prepares an object for move by:
- removing all GPU bindings π
- removing all CPU mappings π§Ή
- and finally, releasing the pages sg-table πβ¨
it's giving "clear the decks before the big move" and honestly? obsessed. the way she just unbinds everything so the object can travel light. π§π
π RETURN π
0if it slayed (successful) β- a negative error code on error π β so like, if you see a negative number, something went sideways, no cap.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_ttm_move.cβ go read the source, iykyk π - Selftest failure modes for failsafe migration:(9) π§ͺ
i915_ttm_adjust_domains_after_move(9)πi915_ttm_adjust_gem_after_move(9)πΈstruct i915_ttm_memcpy_arg(9)π¦struct i915_ttm_memcpy_work(9)π οΈi915_ttm_move(9)πi915_gem_obj_copy_ttm(9)π
like, the whole friend group fr fr π«Ά
lowkey reminder: this whole page lives in ./drivers/gpu/drm/i915/gem β don't @ me, that's just where she's at π
and that's the tea, bestie π΅ β this lil page is dated October 2026, ships out of ./drivers/gpu/drm/i915/gem, and it's brought to you by the Kernel API Manual. mwah πβ¨ stay slay, stay bound (until you gotta move) π
π¦ 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