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

From: Thierry Reding
Date: Mon Jul 09 2018 - 04:32:49 EST


On Sat, May 19, 2018 at 04:07:10AM +0300, 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>
> ---
> drivers/gpu/host1x/dev.c | 3 +++
> 1 file changed, 3 insertions(+)

Applied to drm/tegra/fixes, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature