summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/selftests.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-09-24 17:10:19 +0200
committerChristian König <christian.koenig@amd.com>2021-10-22 14:19:51 +0200
commit1d51775cd3f51899ce85afab686c7f641ff32d4e (patch)
tree828fd1d7eac65d4dd3e7e58464d6370761971c70 /drivers/dma-buf/selftests.h
parentdrm/nouveau: use the new iterator in nouveau_fence_sync (diff)
downloadlinux-1d51775cd3f51899ce85afab686c7f641ff32d4e.tar.xz
linux-1d51775cd3f51899ce85afab686c7f641ff32d4e.zip
dma-buf: add dma_resv selftest v4
Just exercising a very minor subset of the functionality, but already proven useful. v2: add missing locking v3: some more cleanup and consolidation, add unlocked test as well v4: add a dma_resv_get_fences selftest Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v3) Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v3) Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-4-christian.koenig@amd.com
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 bc8cea67bf1e..97d73aaa31da 100644
--- a/drivers/dma-buf/selftests.h
+++ b/drivers/dma-buf/selftests.h
@@ -12,3 +12,4 @@
selftest(sanitycheck, __sanitycheck__) /* keep first (igt selfcheck) */
selftest(dma_fence, dma_fence)
selftest(dma_fence_chain, dma_fence_chain)
+selftest(dma_resv, dma_resv)