[Intel-gfx] [PATCH] drm/i915: Remove nested work in gpu error handling

Chris Wilson chris at chris-wilson.co.uk
Mon Feb 2 01:17:14 PST 2015


On Wed, Jan 28, 2015 at 05:03:14PM +0200, Mika Kuoppala wrote:
> @@ -2616,6 +2612,9 @@ void i915_handle_error(struct drm_device *dev, bool wedged,
>  	va_list args;
>  	char error_msg[80];
>  
> +	if (WARN_ON(mutex_is_locked(&dev_priv->dev->struct_mutex)))
> +		return;
> +

Oops, sorry, I should have realised this was wrong earlier. The mutex
breaking occurs later in i915_handle_error.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list