Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-11-20 Thread Jani Nikula
On Fri, 24 Oct 2014, Daniel Vetter wrote: > On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: >> From: Ville Syrjälä >> >> During a GPU reset we need to get pending page flip cleared out >> since the ring contents are gone and flip will never complete >> on its own.

Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-10-24 Thread Daniel Vetter
On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > During a GPU reset we need to get pending page flip cleared out > since the ring contents are gone and flip will never complete > on its own. This used to work until the mmio vs. CS flip race

Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-10-24 Thread Ville Syrjälä
On Fri, Oct 24, 2014 at 04:28:50PM +0200, Daniel Vetter wrote: > On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > During a GPU reset we need to get pending page flip cleared out > > since the ring contents are gone and flip will never

Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-10-24 Thread Ville Syrjälä
On Fri, Oct 24, 2014 at 01:40:35PM +0100, Chris Wilson wrote: > On Wed, May 28, 2014 at 01:10:55PM +0100, Chris Wilson wrote: > > On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > diff --git a/drivers/gpu/drm/i915/intel_display.c > > > b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-10-24 Thread Chris Wilson
On Wed, May 28, 2014 at 01:10:55PM +0100, Chris Wilson wrote: > On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: > > diff --git a/drivers/gpu/drm/i915/intel_display.c > > b/drivers/gpu/drm/i915/intel_display.c > > index 94ac51f..cb9dd8e 100644 > > --- a/drivers/gpu/dr

Re: [Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-05-28 Thread Chris Wilson
On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_display.c > index 94ac51f..cb9dd8e 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@

[Intel-gfx] [PATCH] drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

2014-05-27 Thread ville . syrjala
From: Ville Syrjälä During a GPU reset we need to get pending page flip cleared out since the ring contents are gone and flip will never complete on its own. This used to work until the mmio vs. CS flip race detection came about. That piece of code is looking for a specific surface address in the