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)
committerThierry Reding <treding@nvidia.com>
Thu, 6 Feb 2020 17:21:14 +0000 (18:21 +0100)
commit2d9384ff91770a71bd1ff24c25952ef1187a0e9c
treee2df14c2f3b2a9716453360e079d52af200266e4
parentc472a0b0a1fd1688157b4ad6efc1c3fb8e571a53
drm/tegra: Relax IOMMU usage criteria on old Tegra

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>
drivers/gpu/drm/tegra/drm.c