]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/tegra: Relax IOMMU usage criteria on old Tegra
authorThierry Reding <treding@nvidia.com>
Tue, 4 Feb 2020 13:59:24 +0000 (14:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:37:14 +0000 (04:37 -0800)
commitd71c74b18ddc1235030f01f11f44ebb7b5d097fc
tree6f7604af22628d01faed43e6c324caa9fba58831
parent8420e2c10251dce6a23cda310ee244ed0cadcadd
drm/tegra: Relax IOMMU usage criteria on old Tegra

commit 2d9384ff91770a71bd1ff24c25952ef1187a0e9c upstream.

Older Tegra devices only allow addressing 32 bits of memory, so whether
or not the host1x is attached to an IOMMU doesn't matter. host1x IOMMU
attachment is only needed on devices that can address memory beyond the
32-bit boundary and where the host1x doesn't support the wide GATHER
opcode that allows it to access buffers at higher addresses.

Cc: <stable@vger.kernel.org> # v5.5
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/tegra/drm.c