media_module: mh264 avoid to use cache to do dma [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Wed, 11 Mar 2020 15:02:32 +0000 (23:02 +0800)
committerapollo.ling <apollo.ling@amlogic.com>
Fri, 13 Mar 2020 05:12:00 +0000 (13:12 +0800)
commit1e9dc7326a8cf1290030732b3a81c0c2cf7dfa7f
tree09221d6b5bb2acfa6ae36f71cc332d31e66a98de
parent65d43dcce9328fea9e56cf00bb19b5606983e33e
media_module: mh264 avoid to use cache to do dma [1/1]

PD#SWPL-19513

Problem:
in mh264 driver. the dma may use cache which may incur memory violation.

Solution:
in mh264 driver. use dma_alloc_coherent instead.

Verify:
X301

Change-Id: Id0a601178eb5873a0b803133bcc022388063646d
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c