Re: [Intel-gfx] [PATCH 2/3] drm/i915: Force the CS stall for invalidate flushes

2014-12-15 Thread Daniel Vetter
On Fri, Dec 12, 2014 at 09:20:49AM +, Chris Wilson wrote: > On Fri, Dec 12, 2014 at 11:09:15AM +0200, Ville Syrjälä wrote: > > On Thu, Dec 11, 2014 at 08:17:00AM +, Chris Wilson wrote: > > > In order to act as a full command barrier by itself, we need to tell the > > > pipecontrol to actual

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Force the CS stall for invalidate flushes

2014-12-12 Thread Ville Syrjälä
On Fri, Dec 12, 2014 at 09:20:49AM +, Chris Wilson wrote: > On Fri, Dec 12, 2014 at 11:09:15AM +0200, Ville Syrjälä wrote: > > On Thu, Dec 11, 2014 at 08:17:00AM +, Chris Wilson wrote: > > > In order to act as a full command barrier by itself, we need to tell the > > > pipecontrol to actual

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Force the CS stall for invalidate flushes

2014-12-12 Thread Chris Wilson
On Fri, Dec 12, 2014 at 11:09:15AM +0200, Ville Syrjälä wrote: > On Thu, Dec 11, 2014 at 08:17:00AM +, Chris Wilson wrote: > > In order to act as a full command barrier by itself, we need to tell the > > pipecontrol to actually stall the command streamer while the flush runs. > > We require the

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Force the CS stall for invalidate flushes

2014-12-12 Thread Ville Syrjälä
On Thu, Dec 11, 2014 at 08:17:00AM +, Chris Wilson wrote: > In order to act as a full command barrier by itself, we need to tell the > pipecontrol to actually stall the command streamer while the flush runs. > We require the full command barrier before operations like > MI_SET_CONTEXT, which cu

[Intel-gfx] [PATCH 2/3] drm/i915: Force the CS stall for invalidate flushes

2014-12-11 Thread Chris Wilson
In order to act as a full command barrier by itself, we need to tell the pipecontrol to actually stall the command streamer while the flush runs. We require the full command barrier before operations like MI_SET_CONTEXT, which currently rely on a prior invalidate flush. References: https://bugs.fr