media_module: add double cache in codec_mm_scatter [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Tue, 19 Mar 2019 12:11:58 +0000 (20:11 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:27:12 +0000 (14:27 +0800)
commitea172ec223382c2fa693577ac1e35506ca99ac0c
tree41eff18601c1e54c9113f74becdcdbf4b8fae433
parente9b39122e7d19fe6f0529bda41f1a11dc3baca7a
media_module: add double cache in codec_mm_scatter [1/1]

PD#SWPL-6677

Problem:
    Decocder allocation and free mmu memory spend a long time.

Solution:
    Add double cache to solve this problem.

Verify:
    Verified P212

Change-Id: I393ad47b921631a49f551b32e31fd776ff4dfeea
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c
include/linux/amlogic/media/codec_mm/codec_mm_scatter.h