[Intel-gfx] [PATCH] drm/i915: Skip switch-to-kernel-context on suspend when wedged

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 30 10:29:06 UTC 2017


Quoting Chris Wilson (2017-11-29 19:53:54)
> If the HW is already wedged, attempting to submit a request will
> generate an -EIO. If we tried this during suspend, we would abort
> whereas all we want to do is to go sleep and throw away the corrupt
> state.
> 
> Fixes: 5ab57c702069 ("drm/i915: Flush logical context image out to memory upon suspend")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
From irc,
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
-Chris


More information about the Intel-gfx mailing list