STRUCT I915_GEM_ENGINES_ITER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct i915_...engines_iter(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is struct i915_gem_engines_iter πŸŽ€

✨ NAME ✨

struct i915_gem_engines_iter β€” literally just an iterator for an i915_gem_engines set. that's it. that's the whole vibe. it walks the set so you don't have to πŸšΆβ€β™€οΈπŸ’…

🌸 SYNOPSIS 🌸

here's the whole thing, no crumbs left behind:

struct i915_gem_engines_iter {
    unsigned int idx;
    const struct i915_gem_engines *engines;
 };

πŸ¦‹ Members πŸ¦‹

two members, both iconic, both doing their little job:

  • idx β€” the index into i915_gem_engines::engines. yes the name is doing a little echo thing, that's just how it is ✨
  • engines β€” the engine set being iterated. the whole reason we're here fr fr πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, i'm obsessed with all of them:

  • Kernel file ./drivers/gpu/drm/i915/gem/i915_gem_context_types.h
  • struct i915_gem_engines(9)
  • enum i915_gem_engine_type(9)
  • struct i915_gem_proto_engine(9)
  • struct i915_gem_proto_context(9)
  • struct i915_gem_context(9)

and that's the page!! 🫢 sourced straight from ./drivers/gpu/drm/i915/gem, dated October 2026, hanging out in manual section 9 as struct i915_...engines_iter(9). go iterate something, slay, bye πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from