[Intel-gfx] [PATCH] drm/i915: Ignore -EIO from __i915_wait_request() during mmio flip

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 11 13:01:08 PDT 2015


On Thu, Jun 11, 2015 at 07:14:28PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> When the GPU gets reset __i915_wait_request() returns -EIO to the
> mmio flip worker. Currently we WARN whenever we get anything other
> than 0. Ignore the -EIO too since it's a perfectly normal thing
> to get during a GPU reset.

Nak. I consider it is a bug in __i915_wait_request(). I am discussing
with Thomas Elf how to fix this wrt the next generation of individual
ring resets.

In the meantime I prefer a fix along the lines of
http://patchwork.freedesktop.org/patch/46607/ which addresses this and
more such as the false SIGBUSes.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list