summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/Makefile
diff options
context:
space:
mode:
authorTvrtko Ursulin2018-12-03 13:50:11 +0100
committerTvrtko Ursulin2018-12-04 13:23:19 +0100
commit28d6ccce73bec983d5038f5cee1064957816cf44 (patch)
tree5d30412ee926742b08c564e8ff1d3436d31794a5 /drivers/gpu/drm/i915/Makefile
parentdrm/i915: Verify GT workaround state after GPU init (diff)
downloadkernel-qcow2-linux-28d6ccce73bec983d5038f5cee1064957816cf44.tar.gz
kernel-qcow2-linux-28d6ccce73bec983d5038f5cee1064957816cf44.tar.xz
kernel-qcow2-linux-28d6ccce73bec983d5038f5cee1064957816cf44.zip
drm/i915/selftests: Add tests for GT and engine workaround verification
Two simple selftests which test that both GT and engine workarounds are not lost after either a full GPU reset, or after the per-engine ones. (Including checks that one engine reset is not affecting workarounds not belonging to itself.) v2: * Rebase for series refactoring. * Add spinner for actual engine reset! * Add idle reset test as well. (Chris Wilson) * Share existing global_reset_lock. (Chris Wilson) v3: * intel_engine_verify_workarounds can be static. * API rename. (Chris Wilson) * Move global reset lock out of the loop. (Chris Wilson) v4: * Add missing rpm puts. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20181203125014.3219-5-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/Makefile')
-rw-r--r--drivers/gpu/drm/i915/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index 50a8fa8fce64..19b5fe5016bf 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -166,6 +166,7 @@ i915-$(CONFIG_DRM_I915_SELFTEST) += \
selftests/i915_random.o \
selftests/i915_selftest.o \
selftests/igt_flush_test.o \
+ selftests/igt_reset.o \
selftests/igt_spinner.o
# virtual gpu code