summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/selftests.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-19 10:59:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-19 18:09:46 +0100
commit2989f6451084aed3f8cc9992477f7a9bf57a3716 (patch)
treef14b0e6feff554f35a848ac10ab9177461eefd4d /drivers/dma-buf/selftests.h
parent9536b64ac0d6e3151963a11441dde7ade045fb29 (diff)
downloadlinux-stable-2989f6451084aed3f8cc9992477f7a9bf57a3716.tar.gz
linux-stable-2989f6451084aed3f8cc9992477f7a9bf57a3716.tar.bz2
linux-stable-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)