drm/i915/selftests: Skip huge pages live tests if wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 06:53:13 +0000 (07:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 10:25:16 +0000 (11:25 +0100)
commit921d07d73ebf6d87064883d69fedd3d7e9e99538
tree21d82e0250148f361561bc1aae6362601ad5413c
parent7783decff5be6811a1a31df91b47fd2541b993d0
drm/i915/selftests: Skip huge pages live tests if wedged

We test the GPU handling of huge pages by submitting requests that write
into a huge page, but if the GPU is irrecoverably wedged we cannot
submit any requests. As the test expectedly fails, skip over it.

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-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/huge_pages.c