gpu: ion: Switch max num_heaps to 16 to work around an issue elsewere
authorRebecca Schultz Zavin <rebecca@android.com>
Mon, 25 Jun 2012 21:02:25 +0000 (14:02 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:50 +0000 (13:40 -0700)
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Change-Id: I3bcbc9c424086f5921a1641afeb16040deffcece

include/linux/ion.h

index 050a9a1570547a72f430baccaf11a940f3c7e289..ba09e704c195ca4f67d517085b1cea7a8351cc42 100644 (file)
@@ -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)