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

Commit f7110ecc authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: set smmu cb domain attached during probe



Set the SMMU context-bank domain_attached flag and
the secure flag appropriately during MDP SMMU
context-bank probe as the mapping/attach is handled
by the SMMU driver during bootup.

Change-Id: I83c7a911d7e0d4986df7cc3e8975b6eb2720cec1
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent eeaef40e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -444,6 +444,8 @@ static int msm_smmu_probe(struct platform_device *pdev)
		dev_err(&pdev->dev, "iommu get domain for dev failed\n");
		return -EINVAL;
	}
	client->secure = domain->secure;
	client->domain_attached = true;

	if (!client->dev->dma_parms)
		client->dev->dma_parms = devm_kzalloc(client->dev,