codec_mm: fixed some issues of the mem operation. [1/2]
authorNanxin Qin <nanxin.qin@amlogic.com>
Wed, 30 Jan 2019 03:42:22 +0000 (11:42 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 8 Mar 2019 08:29:41 +0000 (00:29 -0800)
commit4873fb86134949c92366016d39e9c267bde4ff8d
tree6bbe0591dea46b68c6a05a341d8cfc371ea4f13e
parent16d8d72a98d67e85e9d1cbaa00dc3087199a7000
codec_mm: fixed some issues of the mem operation. [1/2]

PD#SWPL-3593

Problem:
the memory data might be discordant.

Solution:
1. opitimize the mem mapping and change the page type to nocache.
2. modified the way of flush mem which from lowmem or highmem.

Verify:
x301

Change-Id: I82351c235915c98a86fd201c2ff3994e4d2085ec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm.c