From b67de7b73195561767dd98218eb3e7a3a7b5023d Mon Sep 17 00:00:00 2001 From: Harshdeep Dhatt Date: Tue, 12 Dec 2017 11:35:51 -0700 Subject: [PATCH] msm: kgsl: Increase memstore size Increase the memstore size to 32k. Memstore has for long been limited to 200 contexts and now it will be 814. Change-Id: I1287669f0be38afe13ff8e386f5296e8f4e77627 Signed-off-by: Harshdeep Dhatt Signed-off-by: Archana Obannagari --- drivers/gpu/msm/kgsl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/msm/kgsl.h b/drivers/gpu/msm/kgsl.h index faf38d1d2293..ece8396acb68 100644 --- a/drivers/gpu/msm/kgsl.h +++ b/drivers/gpu/msm/kgsl.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2008-2016, 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 @@ -51,7 +51,7 @@ /* The number of memstore arrays limits the number of contexts allowed. * If more contexts are needed, update multiple for MEMSTORE_SIZE */ -#define KGSL_MEMSTORE_SIZE ((int)(PAGE_SIZE * 2)) +#define KGSL_MEMSTORE_SIZE ((int)(PAGE_SIZE * 8)) #define KGSL_MEMSTORE_GLOBAL (0) #define KGSL_PRIORITY_MAX_RB_LEVELS 4 #define KGSL_MEMSTORE_MAX (KGSL_MEMSTORE_SIZE / \ -- 2.11.0