[Intel-gfx] [PATCH 2/2] drm/i915: Add control flags to i915_handle_error()

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 20 15:04:39 UTC 2018


Quoting Michel Thierry (2018-03-20 14:11:03)
> On 3/20/2018 3:04 AM, Chris Wilson wrote:
> > Not all callers want the GPU error to handled in the same way, so expose
> > a control parameter. In the first instance, some callers do not want the
> > heavyweight error capture so add a bit to request the state to be
> > captured and saved.
> > 
> > v2: Pass msg down to i915_reset/i915_reset_engine so that we include the
> > reason for the reset in the dev_notice(), superseding the earlier option
> > to not print that notice.
> > v3: Stash the reason inside the i915->gpu_error to handover to the direct
> > reset from the blocking waiter.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Jeff McGee <jeff.mcgee at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> > Cc: Michel Thierry <michel.thierry at intel.com>
> 
> Reviewed-by: Michel Thierry <michel.thierry at intel.com>

Thanks for the pointing out the regression and the review,
pushed.
-Chris


More information about the Intel-gfx mailing list