codec_mm: not to be blocked to wait scatter cache done [1/2]
authorHui Zhang <hui.zhang@amlogic.com>
Sat, 22 Dec 2018 08:55:43 +0000 (16:55 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 2 Jan 2019 02:53:37 +0000 (18:53 -0800)
commit6cf60a612dce9d4b7a3a860c6b0f150d89da8e1e
treeccbf239cd3eba4e9cd024605a328452f3fad2710
parent702e1414f392f73ca58710aad39001db47df3402
codec_mm: not to be blocked to wait scatter cache done [1/2]

PD#SWPL-2206

Problem:
decoding thread was blocked to wait scatter memory to be cached done. it
may take 30+ ms and lead to cts/vts fail

Solution:
not to wait scatter cached done. it save timing of system

Verify:
Verified U212

Change-Id: I75fa3e892e0b9b8023c07b62a31ebd43d3c92044
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c
include/linux/amlogic/media/codec_mm/codec_mm_scatter.h