drm/i915: Mark per-engine-reset as supported on gen7
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 11:08:02 +0000 (11:08 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 11:55:14 +0000 (11:55 +0000)
commit6f0f70cdaf872cd5146a4af96c179bf5d39703b5
tree2016763b7a0461b376d072359130a8d1b06a26c2
parent8fd7b58a21a32a25a42ba612d7be7ef2c4dc568d
drm/i915: Mark per-engine-reset as supported on gen7

The benefit of only resetting a single engine is that we leave other
streams of userspace work intact across a hang; vital for process
isolation. We had wired up individual engine resets for gen6, but only
enabled it from gen8; now let's turn it on for the forgotten gen7. gen6
is still a mystery as how to unravel some global state that appears to
be reset along with an engine (in particular the ppgtt enabling in
GFX_MODE).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119110802.22228-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c