[Intel-gfx] [PATCH v2] drm/i915: Skip HW reinitialisation on resume if still wedged

Chris Wilson chris at chris-wilson.co.uk
Sun Oct 15 20:31:23 UTC 2017


Quoting Chris Wilson (2017-10-15 15:37:25)
> If we fail to recover the HW state upon resume (i.e. our attempt to
> clear the wedged bit and reset during i915_gem_sanitize() fails), then
> skip the HW restart inside i915_gem_init_hw(). We will ultimately do the
> HW restart when successfully unwedging and resetting the HW later,
> but attempting to restore a wedged device upon resume is risky as the HW
> is in an unknown state.
> 
> v2: Suppress the error message when detecting the already wedged HW.
 
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103240
Testcase: igt/gem_eio/in-flight-suspend
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
-Chris


More information about the Intel-gfx mailing list