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)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 3 Apr 2019 06:10:41 +0000 (23:10 -0700)
commit494bde076963288d6f986b8d98a5c1389b346b72
tree54abd6b3b4951b4fc4089f064a4351769176ad28
parentf2789c9a470bf8393664dedd06a57c1cee3fe2e7
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