aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/android/ion/Makefile
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-02-15 17:24:45 -0800
committerShuah Khan <shuahkh@osg.samsung.com>2018-03-05 18:56:24 -0700
commitac93f7046a5371ff08268965c9a696bf97bec105 (patch)
treeafcfa4adb7356a0212871f7d4595a593908c52d6 /tools/testing/selftests/android/ion/Makefile
parentselftests: ion: Remove some prints (diff)
downloadlinux-dev-ac93f7046a5371ff08268965c9a696bf97bec105.tar.xz
linux-dev-ac93f7046a5371ff08268965c9a696bf97bec105.zip
selftests: ion: Add simple test with the vgem driver
Ion is designed to be a framework used by other clients who perform operations on the buffer. Use the DRM vgem client as a simple consumer. In conjunction with the dma-buf sync ioctls, this tests the full attach/map path for the system heap. Signed-off-by: Laura Abbott <labbott@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/android/ion/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/android/ion/Makefile b/tools/testing/selftests/android/ion/Makefile
index 96e0c448b39d..d23b6d537d8b 100644
--- a/tools/testing/selftests/android/ion/Makefile
+++ b/tools/testing/selftests/android/ion/Makefile
@@ -2,7 +2,7 @@
INCLUDEDIR := -I. -I../../../../../drivers/staging/android/uapi/
CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g
-TEST_GEN_FILES := ionapp_export ionapp_import
+TEST_GEN_FILES := ionapp_export ionapp_import ionmap_test
all: $(TEST_GEN_FILES)
@@ -14,3 +14,4 @@ include ../../lib.mk
$(OUTPUT)/ionapp_export: ionapp_export.c ipcsocket.c ionutils.c
$(OUTPUT)/ionapp_import: ionapp_import.c ipcsocket.c ionutils.c
+$(OUTPUT)/ionmap_test: ionmap_test.c ionutils.c