drm/vgem: Enable dmabuf import interfaces
authorLaura Abbott <labbott@redhat.com>
Thu, 4 May 2017 18:45:48 +0000 (11:45 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 May 2017 07:39:13 +0000 (09:39 +0200)
commitaf33a9190d0226251e9cbc137c88a707b0bbe356
treeea6e28613f87741ac6b6274272853464597f0c72
parent7e491583dfec02d0b24990e603b7c5ec894dccd9
drm/vgem: Enable dmabuf import interfaces

Enable the GEM dma-buf import interfaces in addition to the export
interfaces. This lets vgem be used as a test source for other allocators
(e.g. Ion).

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493923548-20878-4-git-send-email-labbott@redhat.com
drivers/gpu/drm/vgem/vgem_drv.c
drivers/gpu/drm/vgem/vgem_drv.h