vdin: TvPlayer ANR when screen capture [1/1]

PD#SWPL-14561

Problem:
caused by enc v line check mechanism

Solution:
remove line check since it's unnecessary

Verify:
verified by t962x2_x301

Change-Id: Ic2578b99234ac001baf2e12314119e6a01b0a79c
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
This commit is contained in:
zhiwei.yuan
2019-09-25 16:22:43 +08:00
committed by Jianxin Pan
parent 99f210a1d7
commit ef2f2da521

View File

@@ -205,7 +205,8 @@ static int viuin_open(struct tvin_frontend_s *fe, enum tvin_port_e port)
default:
break;
}
viuin_check_venc_line(devp);
/*no need check here, will timeout sometimes*/
/*viuin_check_venc_line(devp);*/
if (port == TVIN_PORT_VIU1_VIDEO) {
/* enable hsync for vdin loop */
wr_bits_viu(VIU_MISC_CTRL1, 1, 28, 1);
@@ -316,7 +317,8 @@ static void viuin_close(struct tvin_frontend_s *fe)
{
struct viuin_s *devp = container_of(fe, struct viuin_s, frontend);
viuin_check_venc_line(devp);
/*no need check here, will timeout sometimes*/
/*viuin_check_venc_line(devp);*/
memset(&devp->parm, 0, sizeof(struct vdin_parm_s));
/*close the venc to vdin path*/
if (open_cnt)