]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Skip making an object busy if the GPU is wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 06:53:09 +0000 (07:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 10:24:31 +0000 (11:24 +0100)
commitacee2f0f71d4e2feee49185554421ff788cb25fe
tree3976532c75edeade9134a980d4480b297feea926
parent6a9bb972c99c21bba8934b7e0ff3ded778953314
drm/i915/selftests: Skip making an object busy if the GPU is wedged

If the GPU is wedged, we cannot make the object busy as trying to
submit a request will generate -EIO. Skip to the end of the test.

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