Loading drivers/media/platform/msm/sde/rotator/sde_rotator_smmu.c +8 −0 Original line number Diff line number Diff line Loading @@ -517,6 +517,7 @@ int sde_smmu_probe(struct platform_device *pdev) const struct of_device_id *match; struct sde_module_power *mp; char name[MAX_CLIENT_NAME_LEN]; int mdphtw_llc_enable = 1; u32 sid = 0; if (!mdata) { Loading Loading @@ -612,6 +613,13 @@ int sde_smmu_probe(struct platform_device *pdev) goto disable_power; } rc = iommu_domain_set_attr(sde_smmu->mmu_mapping->domain, DOMAIN_ATTR_USE_UPSTREAM_HINT, &mdphtw_llc_enable); if (rc) { SDEROT_ERR("couldn't enable rot pagetable walks: %d\n", rc); goto release_mapping; } if (smmu_domain.domain == SDE_IOMMU_DOMAIN_ROT_SECURE) { int secure_vmid = VMID_CP_PIXEL; Loading Loading
drivers/media/platform/msm/sde/rotator/sde_rotator_smmu.c +8 −0 Original line number Diff line number Diff line Loading @@ -517,6 +517,7 @@ int sde_smmu_probe(struct platform_device *pdev) const struct of_device_id *match; struct sde_module_power *mp; char name[MAX_CLIENT_NAME_LEN]; int mdphtw_llc_enable = 1; u32 sid = 0; if (!mdata) { Loading Loading @@ -612,6 +613,13 @@ int sde_smmu_probe(struct platform_device *pdev) goto disable_power; } rc = iommu_domain_set_attr(sde_smmu->mmu_mapping->domain, DOMAIN_ATTR_USE_UPSTREAM_HINT, &mdphtw_llc_enable); if (rc) { SDEROT_ERR("couldn't enable rot pagetable walks: %d\n", rc); goto release_mapping; } if (smmu_domain.domain == SDE_IOMMU_DOMAIN_ROT_SECURE) { int secure_vmid = VMID_CP_PIXEL; Loading