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: NRob Clark <rob@ti.com> Reviewed-by: NDave Airlie <airlied@redhat.com> Reviewed-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NSumit Semwal <sumit.semwal@linaro.org>
Showing
想要评论请 注册 或 登录