]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Skip using the GPU if wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 06:53:08 +0000 (07:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 10:24:13 +0000 (11:24 +0100)
commit1d48c2f5dbd4dc896dae7f4e12f70fecff804565
treeb168bf7e546e1367cb98bd2cf145f86c988f5710
parent08a8fba8310909822a4c90c1f2668232b1cd2687
drm/i915/selftests: Skip using the GPU if wedged

If the GPU is irrecoverably broken, we can not use it to dirty memory
and check for cache coherency with the CPU. All we can do is simply skip
over the GPU subtests and focus on the CPU domains (WC, WB) cache
management.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107127
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-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_coherency.c