dv: fix first frame garbage with dual dv [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Mon, 30 Dec 2019 16:09:21 +0000 (00:09 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 1 Jan 2020 02:27:46 +0000 (19:27 -0700)
commitd3b7a081f3b744a7a24a84bbf74865445651d4b4
tree7b85d961adb2d784270536cba2b30b7f2ba9d276
parent681c8616467e56ccd7c9a3767d7915e2b82c2fb0
dv: fix first frame garbage with dual dv [1/1]

PD#SWPL-19310

Problem:
When playing dual layer dv streaming, first frame
may display green. BL layer is out of sync with EL
layer.

Solution:
Fix the case which will toggle one more EL vframe incorrecly.

Verify:
Verified by AC214

Change-Id: I13b4a05716e800b8d25564a82d1d34d7198bf467
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c