diff options
author | Rob Clark <rob@ti.com> | 2012-03-16 17:04:41 +0100 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@ti.com> | 2012-03-26 08:02:40 +0200 |
commit | f9a24d1ac9cb82baf5ec5efdb6580a9ce0bd5bfc (patch) | |
tree | 6dd135509fa938eb3c9f8adab6919110a6f01f2b /drivers/base/dma-buf.c | |
parent | dma-buf: pass flags into dma_buf_fd. (diff) | |
download | linux-f9a24d1ac9cb82baf5ec5efdb6580a9ce0bd5bfc.tar.xz linux-f9a24d1ac9cb82baf5ec5efdb6580a9ce0bd5bfc.zip |
dma-buf: add get_dma_buf()
Works in a similar way to get_file(), and is needed in cases such as
when the exporter needs to also keep a reference to the dmabuf (that
is later released with a dma_buf_put()), and possibly other similar
cases.
Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'drivers/base/dma-buf.c')
0 files changed, 0 insertions, 0 deletions