OSDN Git Service

drm/i915/selftests: Skip live_execlists if the GPU is terminally wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 11:45:10 +0000 (12:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 13:05:23 +0000 (14:05 +0100)
commit03bbc508a312d9f4833f1cb0f7b2da7517787b61
tree9efbb0e208246f372f2ea9bb3d0722651f8194f8
parent0fdbe58c4a0f8c2fa67e38a740ce6ff3cffa8c86
drm/i915/selftests: Skip live_execlists if the GPU is terminally wedged

If the GPU is irrecoverably wedged, we can not execute any requests
making testing execlists (request execution) pointless. Skip!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180706114510.18467-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_lrc.c