STRUCT I915_TTM_MEMCPY_ARG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🌈


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