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>
This commit is contained in:
Laura Abbott 2018-02-15 17:24:45 -08:00 • committed by Shuah Khan
commit ac93f7046a
3 changed files with 139 additions and 1 deletions