drm/i915: Clear wedged status upon resume
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Aug 2017 11:09:34 +0000 (12:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Aug 2017 15:56:38 +0000 (16:56 +0100)
commitf36325f3789c1cf7f0d795ff180cade25ec3a586
tree3320ad8c1633fec3f831bf665e0b207b73f95bdd
parentcad9946c2a4375386062131858881cfd30fc1b8f
drm/i915: Clear wedged status upon resume

When we wake up from suspend, the device has been powered down and
should come back afresh. We should be able to safely remove the wedged
status from the previous session and start afresh.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170826110935.10237-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem.c