STRUCT I915_TTM_MEMCPY_ARG(9)
β¨ struct i915_ttm_memcpy_arg(9) β¨
Welcome to the Kernel API Manual page for struct i915_ttm_memcpy_arg(9), bestie. This is giving βtiny struct, big memcpy responsibilities,β and weβre gonna go through every single field together. π«Ά
π NAME π
struct i915_ttm_memcpy_arg β the argument for the bo memcpy functionality. Periodt. π
π¦ SYNOPSIS π¦
Hereβs the whole struct, exactly as it is, no edits because we respect the source:
struct i915_ttm_memcpy_arg {
union {
struct ttm_kmap_iter_tt tt;
struct ttm_kmap_iter_iomap io;
} _dst_iter, _src_iter;
struct ttm_kmap_iter *dst_iter;
struct ttm_kmap_iter *src_iter;
unsigned long num_pages;
bool clear;
struct i915_refct_sgt *src_rsgt;
struct i915_refct_sgt *dst_rsgt;
};
π§ Members π§
_dst_iterβ the storage space for the destination kmap iterator. Sheβs the reserved spot, okay? π_src_iterβ the storage space for the source kmap iterator. Matching energy. β¨dst_iterβ a pointer to the destination kmap iterator. Very βwhere weβre goingβ of it. πsrc_iterβ a pointer to the source kmap iterator. Very βwhere we came fromβ of it. π¦num_pagesβ the number of pages. Literally the page count, no cap. πΈclearβ whether to clear instead of copy. Thatβs the whole vibe check right there. πsrc_rsgtβ refcounted scatter-gather list of source memory. Fancy list, refcounted and everything. π₯dst_rsgtβ refcounted scatter-gather list of destination memory. Same energy, destination edition. π
π 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_work(9)i915_ttm_move(9)i915_gem_obj_copy_ttm(9)
Okay bestie, cute sign-off time π: this one comes from ./drivers/gpu/drm/i915/gem, dated October 2026, and itβs still out here being struct i915_ttm_memcpy_arg(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