[Intel-gfx] [PATCH v4] drm/i915: Initialize workarounds in logical ring mode too

Daniel Vetter daniel at ffwll.ch
Wed Nov 12 09:30:28 CET 2014


On Tue, Nov 11, 2014 at 06:59:52PM +0200, Mika Kuoppala wrote:
> Michel Thierry <michel.thierry at intel.com> writes:
> 
> > Following the legacy ring submission example, update the
> > ring->init_context() hook to support the execlist submission mode.
> >
> > v2: update to use the new workaround macros and cleanup unused code.
> > This takes care of both bdw and chv workarounds.
> >
> > v2.1: Add missing call to init_context() during deferred context creation.
> >
> > v3: Split init_context (emit) in legacy/lrc modes. For lrc, get the ringbuf
> > from the context (Mika/Daniel).
> >
> > v4: Merge init_context interfaces back, the legacy mode only needs the ring,
> > but the lrc mode needs the ring and context (Mika).

Cool, revised version already on the m-l, pls ignore my other reply ;-)

> >
> > Issue: VIZ-4092
> > Issue: GMIN-3475
> > Change-Id: Ie3d093b2542ab0e2a44b90460533e2f979788d6c
> > Cc: Deepak S <deepak.s at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> > Cc: Daniel Vetter <daniel at ffwll.ch>
> > Signed-off-by: Michel Thierry <michel.thierry at intel.com>
> > Signed-off-by: Arun Siluvery <arun.siluvery at linux.intel.com>
> 
> Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list