msm: Enable MM heap to use CMA

Enable the MM heap on 8960, 8930, and 8064 to use CMA
instead of carved out memory. All allocations will come
from memory reserved as CMA instead of carved out memory.

Change-Id: I6190144564ce263fdad9ec74a85cfefca6089a0d
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
Laura Abbott 2012-12-05 11:49:59 -08:00 committed by Stephen Boyd
parent 50486cbd19
commit 2df1e5cd2c
3 changed files with 3 additions and 0 deletions

View file

@ -284,6 +284,7 @@ static struct ion_cp_heap_pdata cp_mm_apq8064_ion_pdata = {
.reusable = FMEM_ENABLED,
.mem_is_fmem = FMEM_ENABLED,
.fixed_position = FIXED_MIDDLE,
.is_cma = 1,
};
static struct ion_cp_heap_pdata cp_mfc_apq8064_ion_pdata = {

View file

@ -343,6 +343,7 @@ static struct ion_cp_heap_pdata cp_mm_msm8930_ion_pdata = {
.reusable = FMEM_ENABLED,
.mem_is_fmem = FMEM_ENABLED,
.fixed_position = FIXED_MIDDLE,
.is_cma = 1,
};
static struct ion_cp_heap_pdata cp_mfc_msm8930_ion_pdata = {

View file

@ -364,6 +364,7 @@ static struct ion_cp_heap_pdata cp_mm_msm8960_ion_pdata = {
.fixed_position = FIXED_MIDDLE,
.iommu_map_all = 1,
.iommu_2x_map_domain = VIDEO_DOMAIN,
.is_cma = 1,
};
static struct ion_cp_heap_pdata cp_mfc_msm8960_ion_pdata = {