mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
2989f64510
Exercise the dma-fence API exported to drivers. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190819095928.32091-2-chris@chris-wilson.co.uk
14 lines
534 B
C
14 lines
534 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* List each unit test as selftest(name, function)
|
|
*
|
|
* 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
|
|
* compiled using #if IS_ENABLED(DRM_I915_SELFTEST).
|
|
*
|
|
* Tests are executed in order by igt/dmabuf_selftest
|
|
*/
|
|
selftest(sanitycheck, __sanitycheck__) /* keep first (igt selfcheck) */
|
|
selftest(dma_fence, dma_fence)
|