]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dma-buf: add get_dma_buf()
authorRob Clark <rob@ti.com>
Fri, 16 Mar 2012 16:04:41 +0000 (11:04 -0500)
committerSumit Semwal <sumit.semwal@ti.com>
Sun, 18 Mar 2012 09:37:37 +0000 (15:07 +0530)
commit98b4483c9bebaad5944c7788ef6a60d154e4ef0f
tree64f1986361ec6bdb70ad8efa7861c516046271cb
parent3f543446953d92dba5caa271296760399fc9c16b
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@ti.com>
include/linux/dma-buf.h