iommu/arm-smmu-qcom: Skip the TTBR1 quirk for MSM8998 and SDM630
Similarly to MSM8996 DragonBoard 820c, MSM8998 and SDM630 are equipped with Adreno 5xx series, which doesn't have separate pagetables support at the moment of writing. Skip the TTBR1 quirk for these two SoCs as to get Adreno in a usable state.
This commit is contained in:
parent
f2e1fd09d4
commit
1d7018b903
1 changed files with 3 additions and 1 deletions
|
|
@ -199,7 +199,9 @@ static bool qcom_adreno_can_do_ttbr1(struct arm_smmu_device *smmu)
|
|||
{
|
||||
const struct device_node *np = smmu->dev->of_node;
|
||||
|
||||
if (of_device_is_compatible(np, "qcom,msm8996-smmu-v2"))
|
||||
if (of_device_is_compatible(np, "qcom,msm8996-smmu-v2") ||
|
||||
of_device_is_compatible(np, "qcom,msm8998-smmu-v2") ||
|
||||
of_device_is_compatible(np, "qcom,sdm630-smmu-v2"))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue