mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 01:04:07 +07: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)
|