Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e8a5f7e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: rotator: remove setting secure domain attribute at probe"

parents e9ae4852 1d9d2409
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -601,17 +601,6 @@ int sde_smmu_probe(struct platform_device *pdev)
		return -EINVAL;
	}

	if (smmu_domain.domain == SDE_IOMMU_DOMAIN_ROT_SECURE) {
		int secure_vmid = VMID_CP_PIXEL;

		rc = iommu_domain_set_attr(sde_smmu->rot_domain,
			DOMAIN_ATTR_SECURE_VMID, &secure_vmid);
		if (rc) {
			SDEROT_ERR("couldn't set secure pixel vmid\n");
			goto release_mapping;
		}
	}

	if (!dev->dma_parms)
		dev->dma_parms = devm_kzalloc(dev,
				sizeof(*dev->dma_parms), GFP_KERNEL);
@@ -629,8 +618,6 @@ int sde_smmu_probe(struct platform_device *pdev)
			smmu_domain.domain);
	return 0;

release_mapping:
	sde_smmu->rot_domain = NULL;
bus_client_destroy:
	sde_reg_bus_vote_client_destroy(sde_smmu->reg_bus_clt);
	sde_smmu->reg_bus_clt = NULL;