diff options
Diffstat (limited to 'gxp-dma-rmem.c')
-rw-r--r-- | gxp-dma-rmem.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gxp-dma-rmem.c b/gxp-dma-rmem.c index fc2a2e4..578735e 100644 --- a/gxp-dma-rmem.c +++ b/gxp-dma-rmem.c @@ -594,3 +594,22 @@ void gxp_dma_sync_sg_for_device(struct gxp_dev *gxp, struct scatterlist *sg, kunmap(sg_page(s)); } } + +struct sg_table * +gxp_dma_map_dmabuf_attachment(struct gxp_dev *gxp, uint core_list, + struct dma_buf_attachment *attachment, + enum dma_data_direction direction) +{ + dev_warn(gxp->dev, "%s not supported on systems without an IOMMU\n", + __func__); + return ERR_PTR(-ENOSYS); +} + +void gxp_dma_unmap_dmabuf_attachment(struct gxp_dev *gxp, uint core_list, + struct dma_buf_attachment *attachment, + struct sg_table *sgt, + enum dma_data_direction direction) +{ + dev_warn(gxp->dev, "%s not supported on systems without an IOMMU\n", + __func__); +} |