msm: kgsl: Change the base virtual address of MMU
Change the base virtual address of MMU to 0x10000000 instead of
0x66000000. Since, the IOMMU can map 2GB of address and the upper
address range from 0xC0000000 is reserved for global mappings, we
need to ensure that the base address plus the size of mapping
allowed i.e 2GB is less than 0xC0000000.
Change-Id: I90c121b25af64aeeb3d35d5597294785606fc2f2
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
diff --git a/drivers/gpu/msm/kgsl.h b/drivers/gpu/msm/kgsl.h
index 9f80a73..da3e4b2 100644
--- a/drivers/gpu/msm/kgsl.h
+++ b/drivers/gpu/msm/kgsl.h
@@ -44,7 +44,7 @@
#define KGSL_PAGETABLE_ENTRY_SIZE 4
/* Pagetable Virtual Address base */
-#define KGSL_PAGETABLE_BASE 0x66000000
+#define KGSL_PAGETABLE_BASE 0x10000000
/* Extra accounting entries needed in the pagetable */
#define KGSL_PT_EXTRA_ENTRIES 16