2019-11-11 17:27:16 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2020-01-03 10:45:16 +00:00
|
|
|
|
|
|
|
#ifndef selftest
|
|
|
|
#define selftest(x, y)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* List each unit test as selftest(name, function)
|
2019-11-11 17:27:16 +00:00
|
|
|
*
|
|
|
|
* The name is used as both an enum and expanded as subtest__name to create
|
|
|
|
* a module parameter. It must be unique and legal for a C identifier.
|
|
|
|
*
|
|
|
|
* The function should be of type int function(void). It may be conditionally
|
2020-06-05 07:19:53 -07:00
|
|
|
* compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST).
|
2019-11-11 17:27:16 +00:00
|
|
|
*
|
|
|
|
* Tests are executed in order by igt/i915_selftest
|
|
|
|
*/
|
|
|
|
selftest(engine_cs, intel_engine_cs_perf_selftests)
|
2020-04-22 08:42:03 +01:00
|
|
|
selftest(request, i915_request_perf_selftests)
|
2019-11-11 17:27:16 +00:00
|
|
|
selftest(blt, i915_gem_object_blt_perf_selftests)
|
2020-01-29 09:33:43 +00:00
|
|
|
selftest(region, intel_memory_region_perf_selftests)
|