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)
committerLuan Yuan <luan.yuan@amlogic.com>
Fri, 15 Mar 2019 04:11:17 +0000 (12:11 +0800)
commitd275f05e95c0bff2fa09bc987533ff7f7bcc19ae
treeaf6cd2d1d806d7a0dd9e31789d7bce1f8b7ee654
parent50316b97801874291fefd42b75002bdf3b094977
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