summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/selftests.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-19 11:59:27 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-19 19:09:46 +0200
commit2989f6451084aed3f8cc9992477f7a9bf57a3716 (patch)
treef14b0e6feff554f35a848ac10ab9177461eefd4d /drivers/dma-buf/selftests.h
parentdma-buf: Introduce selftesting framework (diff)
downloadlinux-2989f6451084aed3f8cc9992477f7a9bf57a3716.tar.xz
linux-2989f6451084aed3f8cc9992477f7a9bf57a3716.zip
dma-buf: Add selftests for dma-fence
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
Diffstat (limited to 'drivers/dma-buf/selftests.h')
-rw-r--r--drivers/dma-buf/selftests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma-buf/selftests.h b/drivers/dma-buf/selftests.h
index 44b44390d23a..5320386f02e5 100644
--- a/drivers/dma-buf/selftests.h
+++ b/drivers/dma-buf/selftests.h
@@ -10,3 +10,4 @@
* Tests are executed in order by igt/dmabuf_selftest
*/
selftest(sanitycheck, __sanitycheck__) /* keep first (igt selfcheck) */
+selftest(dma_fence, dma_fence)