linux/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
<<
>>
Prefs
   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_mock_sanitycheck) /* keep first (igt selfcheck) */
  19selftest(shmem, shmem_utils_mock_selftests)
  20selftest(fence, i915_sw_fence_mock_selftests)
  21selftest(scatterlist, scatterlist_mock_selftests)
  22selftest(syncmap, i915_syncmap_mock_selftests)
  23selftest(uncore, intel_uncore_mock_selftests)
  24selftest(ring, intel_ring_mock_selftests)
  25selftest(engine, intel_engine_cs_mock_selftests)
  26selftest(timelines, intel_timeline_mock_selftests)
  27selftest(requests, i915_request_mock_selftests)
  28selftest(objects, i915_gem_object_mock_selftests)
  29selftest(phys, i915_gem_phys_mock_selftests)
  30selftest(dmabuf, i915_gem_dmabuf_mock_selftests)
  31selftest(vma, i915_vma_mock_selftests)
  32selftest(evict, i915_gem_evict_mock_selftests)
  33selftest(gtt, i915_gem_gtt_mock_selftests)
  34selftest(hugepages, i915_gem_huge_page_mock_selftests)
  35selftest(contexts, i915_gem_context_mock_selftests)
  36selftest(buddy, i915_buddy_mock_selftests)
  37selftest(memory_region, intel_memory_region_mock_selftests)
  38