]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Skip live timeline/suspend tests if wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 13 Apr 2019 12:58:20 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Apr 2019 10:58:19 +0000 (11:58 +0100)
commitf7cd3b5e879a6e0fe253564612e5f06d3bc8ada2
tree4f032394150de29fd26c1e4fbf6d9773dcf97be2
parent5b1a3cc4cfabb0d089a224df4743ad8b3030ff52
drm/i915/selftests: Skip live timeline/suspend tests if wedged

If the driver is wedged, we can not issue the requests to exercise the
timelines or the system across suspend, so skip the tests. live_hangcheck
is there to fail if we cannot recover.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190413125820.14112-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem.c
drivers/gpu/drm/i915/selftests/i915_timeline.c