1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* List each unit test as selftest(name, function) 3 * 4 * The name is used as both an enum and expanded as subtest__name to create 5 * a module parameter. It must be unique and legal for a C identifier. 6 * 7 * The function should be of type int function(void). It may be conditionally 8 * compiled using #if IS_ENABLED(DRM_I915_SELFTEST). 9 * 10 * Tests are executed in order by igt/drv_selftest 11 */ 12 selftest(sanitycheck, i915_live_sanitycheck) /* keep first (igt selfcheck) */ 13 selftest(uncore, intel_uncore_live_selftests) 14 selftest(workarounds, intel_workarounds_live_selftests) 15 selftest(timelines, i915_timeline_live_selftests) 16 selftest(requests, i915_request_live_selftests) 17 selftest(active, i915_active_live_selftests) 18 selftest(objects, i915_gem_object_live_selftests) 19 selftest(dmabuf, i915_gem_dmabuf_live_selftests) 20 selftest(coherency, i915_gem_coherency_live_selftests) 21 selftest(gtt, i915_gem_gtt_live_selftests) 22 selftest(gem, i915_gem_live_selftests) 23 selftest(evict, i915_gem_evict_live_selftests) 24 selftest(hugepages, i915_gem_huge_page_live_selftests) 25 selftest(contexts, i915_gem_context_live_selftests) 26 selftest(hangcheck, intel_hangcheck_live_selftests) 27 selftest(execlists, intel_execlists_live_selftests) 28 selftest(guc, intel_guc_live_selftest) 29