Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #ifndef selftest
0004 #define selftest(x, y)
0005 #endif
0006 
0007 /*
0008  * List each unit test as selftest(name, function)
0009  *
0010  * The name is used as both an enum and expanded as subtest__name to create
0011  * a module parameter. It must be unique and legal for a C identifier.
0012  *
0013  * The function should be of type int function(void). It may be conditionally
0014  * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST).
0015  *
0016  * Tests are executed in order by igt/i915_selftest
0017  */
0018 selftest(engine_cs, intel_engine_cs_perf_selftests)
0019 selftest(request, i915_request_perf_selftests)
0020 selftest(migrate, intel_migrate_perf_selftests)
0021 selftest(region, intel_memory_region_perf_selftests)