drm/i915: Don't disable the GPU for older gen on wedging
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Jul 2018 08:50:33 +0000 (09:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Jul 2018 11:53:34 +0000 (12:53 +0100)
commitec5b65a97c60f482bd23d513ce8c398797d40156
treefc3670116f1f0d822ca3adf3fa6518719441756b
parent7ed43df720c007d60bee6d81da07bcdc7e4a55ae
drm/i915: Don't disable the GPU for older gen on wedging

If we issue a device level GPU reset on the older gen, it will disable
key components of the GMCH and the display engine. The purpose of
wedging is to simply prevent further GEM usage without disabling KMS, so
we need to be careful when we do issue the reset on wedging.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180726085033.4044-3-chris@chris-wilson.co.uk
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/i915/i915_gem.c