diff options
author | Laura Abbott <[email protected]> | 2017-05-04 11:45:47 -0700 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-05-08 09:39:13 +0200 |
commit | 7e491583dfec02d0b24990e603b7c5ec894dccd9 (patch) | |
tree | 54056b15ad24bbdfb43efaeb315450d2cd2277af /tools/lib/api/debug.c | |
parent | e2aff44868ae60eccae806d3751077155675c2a4 (diff) |
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 <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions