brintos

brintos / linux-shallow public Read only

0
0
Text · 692 B · 058450d Raw
22 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2 3#ifndef selftest4#define selftest(x, y)5#endif6 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 create11 * 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 conditionally14 * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST).15 *16 * Tests are executed in order by igt/i915_selftest17 */18selftest(engine_cs, intel_engine_cs_perf_selftests)19selftest(request, i915_request_perf_selftests)20selftest(migrate, intel_migrate_perf_selftests)21selftest(region, intel_memory_region_perf_selftests)22