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

Commit 47d0a481 authored by Deepak Kumar's avatar Deepak Kumar Committed by Anomalchik
Browse files

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: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 058e3552
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@
 */
 */
#define KGSL_IOMMU_GLOBAL_MEM_SIZE	SZ_8M
#define KGSL_IOMMU_GLOBAL_MEM_SIZE	SZ_8M
#define KGSL_IOMMU_GLOBAL_MEM_BASE32	0xf8000000
#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)	\
#define KGSL_IOMMU_GLOBAL_MEM_BASE(__mmu)	\
	(MMU_FEATURE(__mmu, KGSL_MMU_64BIT) ? \
	(MMU_FEATURE(__mmu, KGSL_MMU_64BIT) ? \