Re: [PATCH v3 05/16] gpu: host1x: Use direct DMA with IOMMU API usage

2019-02-01 Thread Dmitry Osipenko
01.02.2019 16:28, Thierry Reding пишет: > From: Thierry Reding > > If we use the IOMMU API directly to map buffers into host1x' IOVA space, > we must make sure that the DMA API doesn't already set up a mapping, or > else translation will fail. > > The direct DMA API allows us to allocate memory

[PATCH v3 05/16] gpu: host1x: Use direct DMA with IOMMU API usage

2019-02-01 Thread Thierry Reding
From: Thierry Reding If we use the IOMMU API directly to map buffers into host1x' IOVA space, we must make sure that the DMA API doesn't already set up a mapping, or else translation will fail. The direct DMA API allows us to allocate memory that will not be mapped through an IOMMU automatically