diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:58 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:46:53 +0000 |
commit | 496b575e3ccbf6fbe57a674c721af43dc8826361 (patch) | |
tree | 584e1923aa65efe6258ff5f9f847e35b985a61a2 /drivers/gpu/drm/i915/selftests/i915_live_selftests.h | |
parent | 7db4dceafa443f0b6c7df90f01b16ec8b9f8b25d (diff) | |
download | lwn-496b575e3ccbf6fbe57a674c721af43dc8826361.tar.gz lwn-496b575e3ccbf6fbe57a674c721af43dc8826361.zip |
drm/i915: Add initial selftests for hang detection and resets
Check that we can reset the GPU and continue executing from the next
request.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-47-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_live_selftests.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_live_selftests.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h index eedd7901ce61..18b174d855ca 100644 --- a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h @@ -16,3 +16,4 @@ selftest(dmabuf, i915_gem_dmabuf_live_selftests) selftest(coherency, i915_gem_coherency_live_selftests) selftest(gtt, i915_gem_gtt_live_selftests) selftest(contexts, i915_gem_context_live_selftests) +selftest(hangcheck, intel_hangcheck_live_selftests) |