dmabuf_test: Use dumb ioctls for creating and mapping BOs

Like the vgem based test, use the dumb ioctls for creating and mapping
BOs.  Using minigbm means that we end up using DRM_IOCTL_I915_GEM_MMAP
on imported dma-bufs, which i915.ko doesn't support.

BUG=b:167236452
TEST=dmabuf_test passes

Change-Id: I5daa48069380e241c8671dbf021d83a10edeb8eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/2550658
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org>
1 file changed