diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/dmabuf.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/dmabuf.h | 4 |
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 | ||
51 | struct sg_table *gk20a_mm_pin(struct device *dev, struct dma_buf *dmabuf); | 51 | struct sg_table *gk20a_mm_pin(struct device *dev, struct dma_buf *dmabuf, |
52 | struct dma_buf_attachment **attachment); | ||
52 | void gk20a_mm_unpin(struct device *dev, struct dma_buf *dmabuf, | 53 | void 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 | ||
55 | int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev); | 57 | int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev); |