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

2014-11-12 Thread Daniel Vetter
On Tue, Nov 11, 2014 at 06:10:50PM +0200, Mika Kuoppala wrote: > Michel Thierry writes: > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h > > b/drivers/gpu/drm/i915/intel_ringbuffer.h > > index f0e7761..a6c4458 100644 > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.h > > +++ b/drivers/gpu/

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

2014-11-11 Thread Mika Kuoppala
Michel Thierry 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

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

2014-11-11 Thread Michel Thierry
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 deferre