summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2018-01-29 17:10:18 +0530
committerDeepak Kumar <dkumar@codeaurora.org>2018-01-30 10:52:46 +0530
commit7ca9a11f507a34f6e5a0d95b7ea4a7fe2c29a2ec (patch)
treeaaa0b3619519b2743d07a7dd08218829e1e6bcd7
parent959a0fa9aef65244a943c7f22602eba17d66efaf (diff)
msm: kgsl: Update global memory base to 0XFC000000 for 64bit kernel
KGSL memstore GPU address should be 32bit value for user mode graphics driver to successfully mmap device memstore. Move global memory base to 0XFC000000 from 0X100000000 for 64bit kernel to allow user mode graphics driver to successfully mmap memstore. Change-Id: Iadfbde5e2b13c1be943a272e424f6c5f05cc1b97 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
-rw-r--r--drivers/gpu/msm/kgsl_iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/msm/kgsl_iommu.h b/drivers/gpu/msm/kgsl_iommu.h
index c0f0058ff90e..a21e74f92d7c 100644
--- a/drivers/gpu/msm/kgsl_iommu.h
+++ b/drivers/gpu/msm/kgsl_iommu.h
@@ -25,7 +25,7 @@
*/
#define KGSL_IOMMU_GLOBAL_MEM_SIZE SZ_8M
#define KGSL_IOMMU_GLOBAL_MEM_BASE32 0xf8000000
-#define KGSL_IOMMU_GLOBAL_MEM_BASE64 0x100000000ULL
+#define KGSL_IOMMU_GLOBAL_MEM_BASE64 0xfc000000
#define KGSL_IOMMU_GLOBAL_MEM_BASE(__mmu) \
(MMU_FEATURE(__mmu, KGSL_MMU_64BIT) ? \