STRUCT I915_DEPS(9)
β¨ 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 ofsingleinstead. iykyknum_depsβ the current number of dependency fences. like a headcount but for fences π§fences_sizeβ the size of thefencesarray, 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
- 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