STRUCT I915_DEPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct i915_deps(9) ✨

okay so this is a page from the Kernel API Manual bestie, and it's literally all about struct i915_deps β€” the little glow-up container that scoops up a whole bunch of dependencies and bundles them into a single dma-fence. it's giving "group project but everyone actually shows up" πŸ’…


🌸 NAME 🌸

struct i915_deps β€” Collect dependencies into a single dma-fence 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct i915_deps {
    struct dma_fence *single;
    struct dma_fence **fences;
    unsigned int num_deps;
    unsigned int fences_size;
    gfp_t gfp;
 };

no cap, that's the whole struct right there ⭐


πŸŽ€ Members πŸŽ€

  • single β€” the storage spot for the pointer when your collection is literally just one single fence. main character energy, no entourage needed πŸ’–
  • fences β€” the allocated array of fence pointers, used when you've got more than a single fence. but plot twist πŸ‘‘ β€” if it's not more than one, this points to the address of single instead. iykyk
  • num_deps β€” the current number of dependency fences. like a headcount but for fences 🧚
  • fences_size β€” the size of the fences array, measured in number of pointers. yes, pointers, not bytes, don't come for me πŸ™ˆ
  • gfp β€” the allocation mode. that's it, that's the whole vibe ✨

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/i915/i915_deps.h β€” go read it, it's iconic πŸ¦‹

fr fr that's everything, every field accounted for, nothing skipped πŸ’€βœ¨

mwah πŸ’‹ this page came from ./drivers/gpu/drm/i915 and it's dated October 2026 β€” struct i915_deps(9), bestie, periodt. πŸŽ€πŸ’œπŸ”₯

πŸ“¦ where this page comes from