codec_mm: show current tvp flag [1/2]
authorTao Guo <tao.guo@amlogic.com>
Wed, 5 Dec 2018 06:39:36 +0000 (06:39 +0000)
committerLuan Yuan <luan.yuan@amlogic.com>
Fri, 7 Dec 2018 12:08:22 +0000 (20:08 +0800)
commit22e831d6f3bea01291e1a1f671fdb8a03639278d
treeed7ee53757d6e472980b40a70a56a6ca9fcf56e7
parent6dd8acd27f1812e982a6a12b058b0994c14c3210
codec_mm: show current tvp flag [1/2]

PD#OTT-937

Problem:
When kill mediacodec during playing drm, tvp memory not be freed

Solution:
Check tvp flag in kernel, free tvp memory if flag is not zero

Verify:
P212

Change-Id: I35cbb2808bf179710ec59bd5227995949946ee77
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm.c