]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited15c6395ba7fc4a54722634e3f29ff505421263
treeea6e28613f87741ac6b6274272853464597f0c72
parentb54787d2fa76aff3980a30051fe6e2b083bddcc6
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