Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77abaf3c authored by Raghu Ananya Arabolu's avatar Raghu Ananya Arabolu
Browse files

msm: kgsl: Increase the SVM and non-SVM address space



Increase the SVM and non-SVM address space for 64 bit processes.
The SVM address space is increased from 4 GB to 252 GB. The non-SVM
address space is increased from 4 GB to 256 GB.

Change-Id: I7774cfdf59a2b00dc348d601b834d85059f12a86
Signed-off-by: default avatarRaghu Ananya Arabolu <rarabolu@codeaurora.org>
parent ab470e82
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -27,16 +27,12 @@
#define KGSL_IOMMU_SVM_BASE32		0x300000
#define KGSL_IOMMU_SVM_END32		(0xC0000000 - SZ_16M)

#define KGSL_IOMMU_VA_BASE64		0x500000000ULL
#define KGSL_IOMMU_VA_END64		0x600000000ULL
/*
 * Note: currently we only support 36 bit addresses,
 * but the CPU supports 39. Eventually this range
 * should change to high part of the 39 bit address
 * space just like the CPU.
 */
#define KGSL_IOMMU_SVM_BASE64		0x700000000ULL
#define KGSL_IOMMU_SVM_END64		0x800000000ULL
/* The CPU supports 39 bit addresses */
#define KGSL_IOMMU_SVM_BASE64		0x100000000ULL
#define KGSL_IOMMU_SVM_END64		0x4000000000ULL
#define KGSL_IOMMU_VA_BASE64		0x4000000000ULL
#define KGSL_IOMMU_VA_END64		0x8000000000ULL

#define CP_APERTURE_REG			0
#define CP_SMMU_APERTURE_ID		0x1B