mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
iommu/tegra: Setup aperture
Each address space in the Tegra SMMU provides 4 GiB worth of addresses. Cc: Hiroshi Doyu <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
parent
e42391cd04
commit
471d9144b4
1 changed files with 5 additions and 0 deletions
|
|
@ -266,6 +266,11 @@ static int tegra_smmu_domain_init(struct iommu_domain *domain)
|
|||
|
||||
domain->priv = as;
|
||||
|
||||
/* setup aperture */
|
||||
domain->geometry.aperture_start = 0;
|
||||
domain->geometry.aperture_end = 0xffffffff;
|
||||
domain->geometry.force_aperture = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue