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 <ohaugan@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
e18fa387de
commit
e023934a52
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user