drm/i915/selftests: reset engine self tests
authorMichel Thierry <michel.thierry@intel.com>
Tue, 20 Jun 2017 09:57:50 +0000 (10:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Jun 2017 20:00:30 +0000 (21:00 +0100)
commitabeb4def31d9c3dbf06052e65cd884730ec8667e
treef98d93005eccdfb751946f194618e2c47ed59e5d
parent061d06a21cd1e049f1f36fcf14d68893e9fb9493
drm/i915/selftests: reset engine self tests

Check that we can reset specific engines, also check the fallback to
full reset if something didn't work.

v2: rebase.
v3: use RESET_ENGINE_IN_PROGRESS flag.
v4: use I915_RESET_ENGINE flag.

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170615201828.23144-12-michel.thierry@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620095751.13127-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_hangcheck.c