From f7110eccc52699f5191322d1f7a8a7479467c9f5 Mon Sep 17 00:00:00 2001 From: Veera Sundaram Sankaran Date: Thu, 18 Apr 2019 16:52:35 -0700 Subject: [PATCH] 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 --- msm/msm_smmu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msm/msm_smmu.c b/msm/msm_smmu.c index 8800fb0928e27..d61f3450228c5 100644 --- a/msm/msm_smmu.c +++ b/msm/msm_smmu.c @@ -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,