treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / selftests / i915_perf_selftests.h
blob5a577a1332f59e00f072caec872b5fe9b536c7e4
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef selftest
4 #define selftest(x, y)
5 #endif
7 /*
8 * List each unit test as selftest(name, function)
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.
13 * The function should be of type int function(void). It may be conditionally
14 * compiled using #if IS_ENABLED(DRM_I915_SELFTEST).
16 * Tests are executed in order by igt/i915_selftest
18 selftest(engine_cs, intel_engine_cs_perf_selftests)
19 selftest(blt, i915_gem_object_blt_perf_selftests)