]> git.baikalelectronics.ru Git - kernel.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)
committerThierry Reding <treding@nvidia.com>
Thu, 6 Feb 2020 17:21:14 +0000 (18:21 +0100)
commitce66247803bf3eb56673056812cc598168840a10
treee2df14c2f3b2a9716453360e079d52af200266e4
parentd0a2eee87375232d926bbd761db5f00382ae3e69
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