i915_live_selftests.h (2292B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef selftest 4#define selftest(x, y) 5#endif 6 7/* 8 * List each unit test as selftest(name, function) 9 * 10 * The name is used as both an enum and expanded as subtest__name to create 11 * a module parameter. It must be unique and legal for a C identifier. 12 * 13 * The function should be of type int function(void). It may be conditionally 14 * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST). 15 * 16 * Tests are executed in order by igt/i915_selftest 17 */ 18selftest(sanitycheck, i915_live_sanitycheck) /* keep first (igt selfcheck) */ 19selftest(uncore, intel_uncore_live_selftests) 20selftest(workarounds, intel_workarounds_live_selftests) 21selftest(gt_engines, intel_engine_live_selftests) 22selftest(gt_timelines, intel_timeline_live_selftests) 23selftest(gt_contexts, intel_context_live_selftests) 24selftest(gt_lrc, intel_lrc_live_selftests) 25selftest(gt_mocs, intel_mocs_live_selftests) 26selftest(gt_pm, intel_gt_pm_live_selftests) 27selftest(gt_heartbeat, intel_heartbeat_live_selftests) 28selftest(requests, i915_request_live_selftests) 29selftest(migrate, intel_migrate_live_selftests) 30selftest(active, i915_active_live_selftests) 31selftest(objects, i915_gem_object_live_selftests) 32selftest(mman, i915_gem_mman_live_selftests) 33selftest(dmabuf, i915_gem_dmabuf_live_selftests) 34selftest(vma, i915_vma_live_selftests) 35selftest(coherency, i915_gem_coherency_live_selftests) 36selftest(gtt, i915_gem_gtt_live_selftests) 37selftest(gem, i915_gem_live_selftests) 38selftest(evict, i915_gem_evict_live_selftests) 39selftest(hugepages, i915_gem_huge_page_live_selftests) 40selftest(gem_contexts, i915_gem_context_live_selftests) 41selftest(client, i915_gem_client_blt_live_selftests) 42selftest(gem_migrate, i915_gem_migrate_live_selftests) 43selftest(reset, intel_reset_live_selftests) 44selftest(memory_region, intel_memory_region_live_selftests) 45selftest(hangcheck, intel_hangcheck_live_selftests) 46selftest(execlists, intel_execlists_live_selftests) 47selftest(ring_submission, intel_ring_submission_live_selftests) 48selftest(perf, i915_perf_live_selftests) 49selftest(slpc, intel_slpc_live_selftests) 50selftest(guc, intel_guc_live_selftests) 51selftest(guc_multi_lrc, intel_guc_multi_lrc_live_selftests) 52/* Here be dragons: keep last to run last! */ 53selftest(late_gt_pm, intel_gt_pm_late_selftests)