diff options
author | Laura Abbott <labbott@redhat.com> | 2017-05-04 21:45:47 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-08 10:39:13 +0300 |
commit | 7e491583dfec02d0b24990e603b7c5ec894dccd9 (patch) | |
tree | 54056b15ad24bbdfb43efaeb315450d2cd2277af /drivers/regulator | |
parent | e2aff44868ae60eccae806d3751077155675c2a4 (diff) | |
download | linux-7e491583dfec02d0b24990e603b7c5ec894dccd9.tar.xz |
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
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions