Loading drivers/gpu/msm/kgsl_iommu.c +6 −4 Original line number Diff line number Diff line Loading @@ -1003,11 +1003,13 @@ static int _setup_secure_context(struct kgsl_mmu *mmu) } iommu_pt = mmu->securepagetable->priv; if (!iommu_pt->attached) { ret = iommu_attach_device(iommu_pt->domain, ctx->dev); if (ret) { KGSL_CORE_ERR("Failed to attach, err %d\n", ret); goto done; } } ctx->default_pt = mmu->securepagetable; ret = iommu_domain_get_attr(iommu_pt->domain, DOMAIN_ATTR_CONTEXT_BANK, Loading Loading
drivers/gpu/msm/kgsl_iommu.c +6 −4 Original line number Diff line number Diff line Loading @@ -1003,11 +1003,13 @@ static int _setup_secure_context(struct kgsl_mmu *mmu) } iommu_pt = mmu->securepagetable->priv; if (!iommu_pt->attached) { ret = iommu_attach_device(iommu_pt->domain, ctx->dev); if (ret) { KGSL_CORE_ERR("Failed to attach, err %d\n", ret); goto done; } } ctx->default_pt = mmu->securepagetable; ret = iommu_domain_get_attr(iommu_pt->domain, DOMAIN_ATTR_CONTEXT_BANK, Loading