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 dan...@ffwll.ch wrote: On Tue, May 27, 2014 at 09:33:09PM +0300, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com During a GPU reset we need to get pending page flip cleared out since the ring contents are gone and flip

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 ---

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

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ä ville.syrj...@linux.intel.com 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

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 @@