summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-13 15:03:58 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-13 15:04:06 +0000
commit57b4d846bb5372231cd48655ad95657d2f7283c4 (patch)
tree2f7ea469d1ebed1caea5d73710b9ec3b82d91794
parent7a805c2f30da1d5738ff111355073286049ec903 (diff)
Revert "lib: Add i915 and drm-mm selftest headers from the kernel"
This reverts commit 5ca0da9f53023b9fcfd327a5f43bc7b0916b24b1.
-rw-r--r--lib/Makefile.sources3
-rw-r--r--lib/drm_mm_selftests.h24
-rw-r--r--lib/i915_live_selftests.h19
-rw-r--r--lib/i915_mock_selftests.h20
4 files changed, 0 insertions, 66 deletions
diff --git a/lib/Makefile.sources b/lib/Makefile.sources
index 151c3d96..6348487f 100644
--- a/lib/Makefile.sources
+++ b/lib/Makefile.sources
@@ -83,9 +83,6 @@ lib_source_list = \
uwildmat/uwildmat.c \
igt_kmod.c \
igt_kmod.h \
- drm_mm_selftests.h \
- i915_live_selftests.h \
- i915_mock_selftests.h \
$(NULL)
if HAVE_CHAMELIUM
diff --git a/lib/drm_mm_selftests.h b/lib/drm_mm_selftests.h
deleted file mode 100644
index 37bbdac5..00000000
--- a/lib/drm_mm_selftests.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* List each unit test as selftest(name, function)
- *
- * The name is used as both an enum and expanded as igt__name to create
- * a module parameter. It must be unique and legal for a C identifier.
- *
- * Tests are executed in order by igt/drm_mm
- */
-selftest(sanitycheck, igt_sanitycheck) /* keep first (selfcheck for igt) */
-selftest(init, igt_init)
-selftest(debug, igt_debug)
-selftest(reserve, igt_reserve)
-selftest(insert, igt_insert)
-selftest(replace, igt_replace)
-selftest(insert_range, igt_insert_range)
-selftest(align, igt_align)
-selftest(align32, igt_align32)
-selftest(align64, igt_align64)
-selftest(evict, igt_evict)
-selftest(evict_range, igt_evict_range)
-selftest(bottomup, igt_bottomup)
-selftest(topdown, igt_topdown)
-selftest(color, igt_color)
-selftest(color_evict, igt_color_evict)
-selftest(color_evict_range, igt_color_evict_range)
diff --git a/lib/i915_live_selftests.h b/lib/i915_live_selftests.h
deleted file mode 100644
index 18b174d8..00000000
--- a/lib/i915_live_selftests.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* List each unit test as selftest(name, function)
- *
- * The name is used as both an enum and expanded as subtest__name to create
- * a module parameter. It must be unique and legal for a C identifier.
- *
- * The function should be of type int function(void). It may be conditionally
- * compiled using #if IS_ENABLED(DRM_I915_SELFTEST).
- *
- * Tests are executed in order by igt/drv_selftest
- */
-selftest(sanitycheck, i915_live_sanitycheck) /* keep first (igt selfcheck) */
-selftest(uncore, intel_uncore_live_selftests)
-selftest(requests, i915_gem_request_live_selftests)
-selftest(objects, i915_gem_object_live_selftests)
-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)
diff --git a/lib/i915_mock_selftests.h b/lib/i915_mock_selftests.h
deleted file mode 100644
index be9a9ebf..00000000
--- a/lib/i915_mock_selftests.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* List each unit test as selftest(name, function)
- *
- * The name is used as both an enum and expanded as subtest__name to create
- * a module parameter. It must be unique and legal for a C identifier.
- *
- * The function should be of type int function(void). It may be conditionally
- * compiled using #if IS_ENABLED(DRM_I915_SELFTEST).
- *
- * Tests are executed in order by igt/drv_selftest
- */
-selftest(sanitycheck, i915_mock_sanitycheck) /* keep first (igt selfcheck) */
-selftest(scatterlist, scatterlist_mock_selftests)
-selftest(uncore, intel_uncore_mock_selftests)
-selftest(breadcrumbs, intel_breadcrumbs_mock_selftests)
-selftest(requests, i915_gem_request_mock_selftests)
-selftest(objects, i915_gem_object_mock_selftests)
-selftest(dmabuf, i915_gem_dmabuf_mock_selftests)
-selftest(vma, i915_vma_mock_selftests)
-selftest(evict, i915_gem_evict_mock_selftests)
-selftest(gtt, i915_gem_gtt_mock_selftests)