codec_mm: set enable_slot_from_sys to try one page

PD#170091: codec_mm: set enable_slot_from_sys to try one page

set enable_slot_from_sys to try one page

Change-Id: I53a50b666e7986abe1627a70b5112c234a6ce1ec
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
This commit is contained in:
rongrong zhou
2018-07-20 17:24:20 +08:00
committed by Yixun Lan
parent 09f3fbb011
commit 31b9813228

View File

@@ -2558,7 +2558,7 @@ static int codec_mm_scatter_mgt_alloc_in(struct codec_mm_scatter_mgt **psmgt)
smgt->reserved_block_mm_M = 64;
smgt->keep_size_PAGE = 20 * SZ_1M >> PAGE_SHIFT;
smgt->alloc_from_cma_first = 1;
smgt->enable_slot_from_sys = 1;
smgt->enable_slot_from_sys = 0;
smgt->support_from_slot_sys =
smgt->enable_slot_from_sys;
smgt->mem_flags = CODEC_MM_FLAGS_CMA_FIRST |