[PATCH v1] gpu: host1x: Skip IOMMU initialization if firewall is enabled
Thierry Reding
thierry.reding at gmail.com
Mon Jul 9 08:32:41 UTC 2018
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 at gmail.com>
> ---
> drivers/gpu/host1x/dev.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied to drm/tegra/fixes, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180709/edfd449c/attachment.sig>
More information about the dri-devel
mailing list