[Intel-gfx] [PATCH v8 03/20] drm/i915: Modify error handler for per engine hang recovery

Michel Thierry michel.thierry at intel.com
Tue Jun 6 18:51:06 UTC 2017


On 6/6/2017 3:16 AM, Chris Wilson wrote:
> I didn't think it was sensible to advertise reset-engine support without
> global reset (or the hangcheck to detect the error), and for the time
> being we can keep thinking of this as an integer rather than a set of
> flags.
> 
> So I was just thinking of
> 
> value = i915.enable_hangcheck && intel_has_gpu_reset(dev_priv);
> if (value && intel_has_reset_engine(dev_priv))
> 	value = 2;

reset-engine will depend on global reset (it uses gen8_reset_engines 
with the right engine_mask), so yes, lets use this.

Thanks


More information about the Intel-gfx mailing list