gpu: host1x: Use SMMU on Tegra124 and Tegra210
authorThierry Reding <treding@nvidia.com>
Wed, 25 Mar 2020 20:16:04 +0000 (21:16 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 28 Apr 2020 09:44:07 +0000 (11:44 +0200)
commit4010e729349fcab69183f338fe3743df17a473a0
treefcb55c4d7803676db62f18ec133e8da3a74e2311
parent501be6c1c72417eab05e7413671a38ea991a8ebc
gpu: host1x: Use SMMU on Tegra124 and Tegra210

Tegra124 and Tegra210 support addressing more than 32 bits of physical
memory. However, since their host1x does not support the wide GATHER
opcode, they should use the SMMU if at all possible to ensure that all
the system memory can be used for command buffers, irrespective of
whether or not the host1x firewall is enabled.

Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.c