[Intel-gfx] [PATCH 07/34] drm/i915: Refactor out intel_context_init()
Chris Wilson
chris at chris-wilson.co.uk
Tue Jan 22 12:48:07 UTC 2019
Quoting Mika Kuoppala (2019-01-22 12:39:08)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > +static inline void
> > +intel_context_init(struct intel_context *ce,
> > + struct i915_gem_context *ctx,
> > + struct intel_engine_cs *engine)
> > +{
> > + ce->gem_context = ctx;
> > +}
> > +
>
> Audience was also waiting intel_context_init_engines()
struct intel_context is the per-engine instance, and it's not actually
guaranteed that there will be a contiguous set :) One should always skip
to the end of the novel to find out it was the butler who did it.
-Chris
More information about the Intel-gfx
mailing list