From: Rebecca Schultz Zavin <rebecca@android.com>
Date: Mon, 25 Jun 2012 21:02:25 +0000 (-0700)
Subject: gpu: ion: Switch max num_heaps to 16 to work around an issue elsewere
X-Git-Tag: firefly_0821_release~4090^2~718
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f3851c7cdfe285f5eeefadf03359fd617019baf0;p=firefly-linux-kernel-4.4.55.git

gpu: ion: Switch max num_heaps to 16 to work around an issue elsewere

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Change-Id: I3bcbc9c424086f5921a1641afeb16040deffcece
---

diff --git a/include/linux/ion.h b/include/linux/ion.h
index 050a9a157054..ba09e704c195 100644
--- a/include/linux/ion.h
+++ b/include/linux/ion.h
@@ -37,7 +37,7 @@ enum ion_heap_type {
 	ION_HEAP_TYPE_CARVEOUT,
 	ION_HEAP_TYPE_CUSTOM, /* must be last so device specific heaps always
 				 are at the end of this enum */
-	ION_NUM_HEAPS = 32,
+	ION_NUM_HEAPS = 16,
 };
 
 #define ION_HEAP_SYSTEM_MASK		(1 << ION_HEAP_TYPE_SYSTEM)