mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user