i915_ttm_move(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_ttm_move(9) β€” like, the whole page, bestie

okay so this is a page from the Kernel API Manual, and the star of the show is i915_ttm_move(9) ✨ β€” literally the TTM move callback that i915 uses. yes, that i915. the GPU one. we're in the kernel, bestie, act accordingly πŸŽ€


🌸 NAME 🌸

i915_ttm_move β€” the TTM move callback that i915 uses. that's it, that's the tweet πŸ’–


✨ SYNOPSIS ✨

int i915_ttm_move (struct ttm_buffer_object *bo , bool evict , struct
ttm_operation_ctx *ctx , struct ttm_resource *dst_mem , struct ttm_place
*hop );

look at her. five arguments, returns an int, absolutely iconic πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the buffer object. the main character, honestly 🫢
  • evict β€” a bool telling you whether this is an eviction. yes or no, no in-between πŸ’€
  • ctx β€” pointer to a struct ttm_operation_ctx that says how the waits should be performed if waiting. like, it's giving "instructions for the waiting part" 😭
  • dst_mem β€” the destination ttm resource. where we're going πŸš—βœ¨
  • hop β€” if we need multihop, this says what temporary memory type to move to. a little layover flight, iykyk ✈️

⭐ RETURN ⭐

0 if successful, negative error code otherwise 🌈

(so like... zero = slay, negative = something went sideways, check the code πŸ’…)


πŸŽ€ SEE ALSO πŸŽ€


lowkey a whole reading list. go read them, bestie, they're all connected πŸ§šβ€β™€οΈ

okay that's the whole page, no cap πŸ’œ and for the cute sign-off: this little beauty lives under ./drivers/gpu/drm/i915/gem, dated October 2026 β€” so like, future vibes, but the facts are timeless πŸ¦‹πŸ’– see you in the next manpage, mwah 🫢✨

πŸ“¦ where this page comes from