dv: close afbc2 when playing sources with unnecessary el [1/1]
authorYi Zhou <yi.zhou@amlogic.com>
Tue, 15 Jan 2019 07:31:13 +0000 (15:31 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:13 +0000 (20:22 +0800)
commit34afdb958f57df0dae0b7bd8fea449578b742ece
tree0a924d94402214c19d5a703a4fa66c5793e8bf6f
parent9f334f9462517e80562be6820ad3aba45babb92f
dv: close afbc2 when playing sources with unnecessary el [1/1]

PD#SWPL-915

Problem:
DOLBY only sets the enhancement for the first frame ->
Vd sets cur_dispubf2 according to enhance ->
codec_mm keeps the last frame according to cur_dispbuf2,
so it fails -> AFBC2 access to the released content causes the trigger.

Solution:
close afbc2

Verify:
r321

Change-Id: I03c431a6ea11b8aabf97b1f0b21f717024be2f62
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/video_sink/video.c