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: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran 2019-04-18 16:52:35 -07:00 committed by Gerrit - the friendly Code Review server
parent eeaef40ed6
commit f7110eccc5

View File

@ -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,