From e023934a52b646dca7286b325d42dd5bf3a8ae92 Mon Sep 17 00:00:00 2001 From: Olav Haugan Date: Wed, 15 Feb 2012 15:41:48 -0800 Subject: [PATCH] gpu: ion: Lower IOMMU heap priority Video requires the IOMMU heap to be at a lower priority so that video can try to allocate from its MM carveout heap first and then if video needs more memory and the MM heap is exhausted it will automatically fall back on IOMMU heap. Change the priority of the IOMMU heap so video can fall back on IOMMU heap. Change-Id: Id1fc19e2c3af18ced028132d1a1bdb6a3935380f Signed-off-by: Olav Haugan --- include/linux/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ion.h b/include/linux/ion.h index 3d5ab53bd42..30e3950c107 100644 --- a/include/linux/ion.h +++ b/include/linux/ion.h @@ -63,12 +63,12 @@ enum ion_heap_type { enum ion_heap_ids { INVALID_HEAP_ID = -1, - ION_IOMMU_HEAP_ID = 4, ION_CP_MM_HEAP_ID = 8, ION_CP_MFC_HEAP_ID = 12, ION_CP_WB_HEAP_ID = 16, /* 8660 only */ ION_CAMERA_HEAP_ID = 20, /* 8660 only */ ION_SF_HEAP_ID = 24, + ION_IOMMU_HEAP_ID = 25, ION_QSECOM_HEAP_ID = 27, ION_AUDIO_HEAP_ID = 28,