drm/i915: Mark the GPU as wedged without error on fault injection
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Jun 2018 13:45:58 +0000 (14:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Jun 2018 09:36:10 +0000 (10:36 +0100)
commit51e645b6652c997a68cbadf70e62a7b0c49e63a2
treeef4dee8bd4c9b16c549e3709ef49a05e5125f2c6
parent39e78234b0be7ae543db8c8ea3cd2e433b8a7bec
drm/i915: Mark the GPU as wedged without error on fault injection

If we have been instructed (by CI) to inject a fault to load the module
with a wedged GPU, do so quietly less we upset CI.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180607134558.31150-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c