19536b64aSChris Wilson /* SPDX-License-Identifier: MIT */ 29536b64aSChris Wilson /* List each unit test as selftest(name, function) 39536b64aSChris Wilson * 49536b64aSChris Wilson * The name is used as both an enum and expanded as subtest__name to create 59536b64aSChris Wilson * a module parameter. It must be unique and legal for a C identifier. 69536b64aSChris Wilson * 79536b64aSChris Wilson * The function should be of type int function(void). It may be conditionally 8684f1a1bSKees Cook * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST). 99536b64aSChris Wilson * 109536b64aSChris Wilson * Tests are executed in order by igt/dmabuf_selftest 119536b64aSChris Wilson */ 129536b64aSChris Wilson selftest(sanitycheck, __sanitycheck__) /* keep first (igt selfcheck) */ 132989f645SChris Wilson selftest(dma_fence, dma_fence) 14dc2f7e67SChris Wilson selftest(dma_fence_chain, dma_fence_chain) 15*64a8f92fSChristian König selftest(dma_fence_unwrap, dma_fence_unwrap) 161d51775cSChristian König selftest(dma_resv, dma_resv) 17