gpu: ion: Switch max num_heaps to 16 to work around an issue elsewere
Rebecca Schultz Zavin [Mon, 25 Jun 2012 21:02:25 +0000 (14:02 -0700)]
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Change-Id: I3bcbc9c424086f5921a1641afeb16040deffcece

include/linux/ion.h

index 2875a5a..138cafe 100644 (file)
@@ -38,7 +38,7 @@ enum ion_heap_type {
        ION_HEAP_TYPE_IOMMU,
        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)