video_keeper: fixed unexpected green screen when seek

PD#162351:
	when start to toggle frame, the disable video cmd is set,
and seek immediately, play will be quit before enable video,
so keep failed and cur_dispbuf is uncertain, it may cause
unexpected green screen after seek

Change-Id: I62526b3dda0256d7a9476d378a13baffb4785bd6
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
This commit is contained in:
Hui Zhang
2018-05-03 17:53:49 +08:00
committed by Yixun Lan
parent 15549c90b6
commit dd68fe9b52

View File

@@ -829,11 +829,6 @@ static unsigned int vf_keep_current_locked(
return 0;
}
if (0 == (READ_VCBUS_REG(VPP_MISC + get_video_cur_dev()->vpp_off) &
VPP_VD1_POSTBLEND)) {
pr_info("keep exit is skip VPP_VD1_POSTBLEND\n");
return 0;
}
video_keeper_frame_keep_locked(cur_dispbuf,
cur_dispbuf_el);