summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/dmabuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/dmabuf.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/dmabuf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/dmabuf.h b/drivers/gpu/nvgpu/common/linux/dmabuf.h
index d30ff5a5..8399eaaf 100644
--- a/drivers/gpu/nvgpu/common/linux/dmabuf.h
+++ b/drivers/gpu/nvgpu/common/linux/dmabuf.h
@@ -48,8 +48,10 @@ struct gk20a_dmabuf_priv {
48 u64 buffer_id; 48 u64 buffer_id;
49}; 49};
50 50
51struct sg_table *gk20a_mm_pin(struct device *dev, struct dma_buf *dmabuf); 51struct sg_table *gk20a_mm_pin(struct device *dev, struct dma_buf *dmabuf,
52 struct dma_buf_attachment **attachment);
52void gk20a_mm_unpin(struct device *dev, struct dma_buf *dmabuf, 53void gk20a_mm_unpin(struct device *dev, struct dma_buf *dmabuf,
54 struct dma_buf_attachment *attachment,
53 struct sg_table *sgt); 55 struct sg_table *sgt);
54 56
55int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev); 57int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev);