[Intel-gfx] [RFC 1/5] drm/i915: introduce logical_ring and lr_context naming

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 11 21:33:12 UTC 2019


Quoting Chris Wilson (2019-12-11 21:20:52)
> Quoting Daniele Ceraolo Spurio (2019-12-11 21:12:40)
> > +static void lr_context_init_reg_state(u32 *reg_state,
> > +                                     const struct intel_context *ce,
> > +                                     const struct intel_engine_cs *engine,
> > +                                     const struct intel_ring *ring,
> > +                                     bool close);
> 
> lrc. lrc should just be the register offsets and default context image.

Fwiw, I also put the w/a batch buffers into intel_lrc.c as they seemed
HW/lrc specific as opposed to being specialised for submission --
although we may want to do that at some point.
-Chris


More information about the Intel-gfx mailing list