i915_gem_obj_copy_ttm(9)
okay bestie, this is i915_gem_obj_copy_ttm(9) from the Kernel API Manual β literally the page about copying the contents of one ttm-based gem object to another, and it is giving very specific kernel business π
β¨
πΈ NAME πΈ
i915_gem_obj_copy_ttm β copy the contents of one ttm-based gem object to another. that's the assignment, and it ate π
π¦ SYNOPSIS π¦
int i915_gem_obj_copy_ttm (struct drm_i915_gem_object *dst , struct
drm_i915_gem_object *src , bool allow_accel , bool intr );
π ARGUMENTS π
dstβ the destination object, aka the one receiving the copy, main character energy π«Άsrcβ the source object, aka the one the copy comes from, we love a reliable source β¨allow_accelβ Allow using the blitter. Otherwise TTM memcpy is used. bestie, it's giving βblitter if allowed, TTM memcpy otherwiseβ π₯intrβ Whether to perform waits interruptible:</se> yes, that colon is literally part of the original, and we respect it π
π NOTE π
The caller is responsible for assuring that the underlying TTM objects are populated if needed and locked. that's on you, bestie β no cap, don't skip the prep work π
β RETURN β
- Zero on success.
- Negative error code on error.
- If
intr == true, then it may return-ERESTARTSYSor-EINTR. so if you asked for interruptible waits, those are the plot twists π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_ttm_move.cβ Selftest failure modes for failsafe migration:(9) i915_ttm_adjust_domains_after_move(9)i915_ttm_adjust_gem_after_move(9)i915_ttm_move_notify(9)struct i915_ttm_memcpy_arg(9)struct i915_ttm_memcpy_work(9)i915_ttm_move(9)
and that's the page, bestie π source/version: ./drivers/gpu/drm/i915/gem, date: October 2026, manual: i915_gem_obj_copy_ttm(9). slay, bye πβ¨
π¦ 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