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>
This commit is contained in:
Deepak Kumar 2018-01-29 17:10:18 +05:30
commit 7f1e705a11

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -25,7 +25,7 @@
*/
#define KGSL_IOMMU_GLOBAL_MEM_SIZE (20 * SZ_1M)
#define KGSL_IOMMU_GLOBAL_MEM_BASE32 0xf8000000
#define KGSL_IOMMU_GLOBAL_MEM_BASE64 TASK_SIZE_32
#define KGSL_IOMMU_GLOBAL_MEM_BASE64 0xfc000000
#define KGSL_IOMMU_GLOBAL_MEM_BASE(__mmu) \
(MMU_FEATURE(__mmu, KGSL_MMU_64BIT) ? \