vpp: sr: correct the sr core0 enable switch operation [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Thu, 28 Feb 2019 19:16:45 +0000 (03:16 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 5 Mar 2019 01:41:48 +0000 (17:41 -0800)
commit1e4faec62bbd2c15344f0e6407eef0bf965eab38
tree531e33a8119df110d5cf7b1f56f31adc0277b800
parent9f4ad5e0d5a304170235d0606a911e42f2cdae01
vpp: sr: correct the sr core0 enable switch operation [1/1]

PD#SWPL-5113

Problem:
SR core0 enable switch register is latched as default. It
will cause the screen flicker when operating this bit in vsync.
Because the frame size will be out of sync with back-end module.

Solution:
1. For g12a, no latch ctrl. So did not disable sr core2 enable bit.
2. For g12b/tl1, disable the latch function.

Verify:
Verified on U212/w400/x301

Change-Id: I54027b71ef8a6066004b3bd32ed1633b4bfa351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/vpp.c