Skip to content

Commit 2c1bc37

Browse files
thierryredingkrzk
authored andcommitted
iommu/arm-smmu: Use Tegra implementation on Tegra186
Tegra186 requires the same SID override programming as Tegra194 in order to seamlessly transition from the firmware framebuffer to the Linux framebuffer, so the Tegra implementation needs to be used on Tegra186 devices as well. Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20210603164632.1000458-7-thierry.reding@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
1 parent 8eb6859 commit 2c1bc37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/iommu/arm/arm-smmu/arm-smmu-impl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu)
211211
if (of_property_read_bool(np, "calxeda,smmu-secure-config-access"))
212212
smmu->impl = &calxeda_impl;
213213

214-
if (of_device_is_compatible(np, "nvidia,tegra194-smmu"))
214+
if (of_device_is_compatible(np, "nvidia,tegra194-smmu") ||
215+
of_device_is_compatible(np, "nvidia,tegra186-smmu"))
215216
return nvidia_smmu_impl_init(smmu);
216217

217218
smmu = qcom_smmu_impl_init(smmu);

0 commit comments

Comments
 (0)