Laura Abbott 7e491583df drm/prime: Introduce drm_gem_prime_import_dev
The existing drm_gem_prime_import function uses the underlying
struct device of a drm_device for attaching to a dma_buf. Some drivers
(notably vgem) may not have an underlying device structure. Offer
an alternate function to attach using any available device structure.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493923548-20878-3-git-send-email-labbott@redhat.com
2017-05-08 09:39:13 +02:00
..
2017-04-11 07:40:42 +10:00
2017-03-24 09:36:06 +01:00
2017-03-24 09:36:06 +01:00
2017-03-14 14:38:33 +01:00
2017-03-14 14:38:34 +01:00
2017-04-04 20:47:54 +02:00
2016-06-21 22:10:55 +02:00
2017-03-24 09:36:06 +01:00
2015-08-12 12:24:05 -04:00
2017-03-09 16:18:02 +01:00
2014-03-17 20:11:57 +01:00