selftests: ion: Add simple test with the vgem driver
authorLaura Abbott <labbott@redhat.com>
Fri, 16 Feb 2018 01:24:45 +0000 (17:24 -0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 6 Mar 2018 01:56:24 +0000 (18:56 -0700)
commitac93f7046a5371ff08268965c9a696bf97bec105
treeafcfa4adb7356a0212871f7d4595a593908c52d6
parent829dd7d642c90b641f14aed03a722a4d3e058083
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>
tools/testing/selftests/android/ion/Makefile
tools/testing/selftests/android/ion/config
tools/testing/selftests/android/ion/ionmap_test.c [new file with mode: 0644]