drm/i915: Add initial selftests for hang detection and resets
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:58 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:53 +0000 (20:46 +0000)
commit496b575e3ccbf6fbe57a674c721af43dc8826361
tree584e1923aa65efe6258ff5f9f847e35b985a61a2
parent7db4dceafa443f0b6c7df90f01b16ec8b9f8b25d
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
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_hangcheck.c
drivers/gpu/drm/i915/selftests/i915_live_selftests.h
drivers/gpu/drm/i915/selftests/intel_hangcheck.c [new file with mode: 0644]