Browse Source

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 <[email protected]>
Veera Sundaram Sankaran 6 năm trước cách đây
mục cha
commit
f7110eccc5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      msm/msm_smmu.c

+ 2 - 0
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,