mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
media: codec mm scatter used reserved first.
PD#155696: if have reserved used reserved first so we can init&play fast. Change-Id: Id3c5319acef88d373ac1bf76bbb26163ab0c12d5 Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
This commit is contained in:
@@ -593,7 +593,6 @@ static struct codec_mm_slot *codec_mm_slot_alloc(
|
||||
if (codec_mm_get_free_size() < try_alloc_size)
|
||||
try_alloc_size = codec_mm_get_free_size();
|
||||
mm = codec_mm_alloc(SCATTER_MEM, try_alloc_size, 0,
|
||||
CODEC_MM_FLAGS_CMA_FIRST |
|
||||
CODEC_MM_FLAGS_FOR_VDECODER |
|
||||
CODEC_MM_FLAGS_FOR_SCATTER |
|
||||
(smgt->tvp_mode ?
|
||||
|
||||
Reference in New Issue
Block a user