Re: [PATCH v2 04/13] gpu: host1x: Use direct DMA with IOMMU API usage

2019-01-29 Thread Dmitry Osipenko
24.01.2019 21:02, 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 v2 04/13] gpu: host1x: Use direct DMA with IOMMU API usage

2019-01-24 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