drm/i915: Do a full device reset after being wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Sep 2018 08:33:33 +0000 (09:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Sep 2018 11:02:01 +0000 (12:02 +0100)
commit2bfbf6fed1a0f672726b0637b89b44d94dedd2b6
tree4fdd28f82fd2bf353883d1250aefb185425b020d
parent4f2c7337af638bd73fd1f247f84a85521a34b74c
drm/i915: Do a full device reset after being wedged

We only call unset_wedged on the global reset path (since it's a global
operation), so if we are terminally wedged and wish to reset, take the
full device reset path rather than the quicker individual engine resets.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180903083337.13134-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c