mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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:
parent
eeaef40ed6
commit
f7110eccc5
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue