Re: [PATCH v1] gpu: host1x: Skip IOMMU initialization if firewall is enabled

From: Dmitry Osipenko
Date: Sat Jul 07 2018 - 07:07:16 EST


On Saturday, 19 May 2018 04:07:10 MSK Dmitry Osipenko wrote:
> Host1x's CDMA can't access the command buffers if IOMMU and Host1x
> firewall are enabled in the kernels config because firewall doesn't map
> the copied buffer into IOVA space. Fix this by skipping IOMMU
> initialization if firewall is enabled as firewall merges sparse cmdbufs
> into a single contiguous buffer and hence IOMMU isn't needed in this case.
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>

Thierry, please consider applying this patch.