| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | | -/* List each unit test as selftest(name, function) |
|---|
| 2 | + |
|---|
| 3 | +#ifndef selftest |
|---|
| 4 | +#define selftest(x, y) |
|---|
| 5 | +#endif |
|---|
| 6 | + |
|---|
| 7 | +/* |
|---|
| 8 | + * List each unit test as selftest(name, function) |
|---|
| 3 | 9 | * |
|---|
| 4 | 10 | * The name is used as both an enum and expanded as subtest__name to create |
|---|
| 5 | 11 | * a module parameter. It must be unique and legal for a C identifier. |
|---|
| 6 | 12 | * |
|---|
| 7 | 13 | * The function should be of type int function(void). It may be conditionally |
|---|
| 8 | | - * compiled using #if IS_ENABLED(DRM_I915_SELFTEST). |
|---|
| 14 | + * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST). |
|---|
| 9 | 15 | * |
|---|
| 10 | | - * Tests are executed in order by igt/drv_selftest |
|---|
| 16 | + * Tests are executed in order by igt/i915_selftest |
|---|
| 11 | 17 | */ |
|---|
| 12 | 18 | selftest(sanitycheck, i915_mock_sanitycheck) /* keep first (igt selfcheck) */ |
|---|
| 19 | +selftest(shmem, shmem_utils_mock_selftests) |
|---|
| 13 | 20 | selftest(fence, i915_sw_fence_mock_selftests) |
|---|
| 14 | 21 | selftest(scatterlist, scatterlist_mock_selftests) |
|---|
| 15 | 22 | selftest(syncmap, i915_syncmap_mock_selftests) |
|---|
| 16 | 23 | selftest(uncore, intel_uncore_mock_selftests) |
|---|
| 24 | +selftest(ring, intel_ring_mock_selftests) |
|---|
| 17 | 25 | selftest(engine, intel_engine_cs_mock_selftests) |
|---|
| 18 | | -selftest(breadcrumbs, intel_breadcrumbs_mock_selftests) |
|---|
| 19 | | -selftest(timelines, i915_gem_timeline_mock_selftests) |
|---|
| 26 | +selftest(timelines, intel_timeline_mock_selftests) |
|---|
| 20 | 27 | selftest(requests, i915_request_mock_selftests) |
|---|
| 21 | 28 | selftest(objects, i915_gem_object_mock_selftests) |
|---|
| 29 | +selftest(phys, i915_gem_phys_mock_selftests) |
|---|
| 22 | 30 | selftest(dmabuf, i915_gem_dmabuf_mock_selftests) |
|---|
| 23 | 31 | selftest(vma, i915_vma_mock_selftests) |
|---|
| 24 | 32 | selftest(evict, i915_gem_evict_mock_selftests) |
|---|
| 25 | 33 | selftest(gtt, i915_gem_gtt_mock_selftests) |
|---|
| 26 | 34 | selftest(hugepages, i915_gem_huge_page_mock_selftests) |
|---|
| 27 | 35 | selftest(contexts, i915_gem_context_mock_selftests) |
|---|
| 36 | +selftest(buddy, i915_buddy_mock_selftests) |
|---|
| 37 | +selftest(memory_region, intel_memory_region_mock_selftests) |
|---|