[PATCH] drm: etnaviv: avoid DMA API warning when importing buffers

Christoph Hellwig hch at lst.de
Wed Mar 13 18:43:18 UTC 2019


On Mon, Feb 25, 2019 at 10:54:24AM +0000, Russell King - ARM Linux admin wrote:
> > Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
> 
> Fixes: 78c47830a5cb ("dma-debug: check scatterlist segments")
> 
> not really that there's a problem with that commit, but it is where the
> warning was introduced.

Note that this is only true if the device can't ever be used without
an IOMMU, that is only dma-debug ever looks at the limit for this
particular instance.  Otherwise it also fixes a real bug going further
back.


More information about the etnaviv mailing list