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)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:28 +0000 (20:22 +0800)
commit5b49adddeb1887d9147cbb4f736d5243adc70f1e
treefcff9fc78ca0e4c4e14426f90805bb95570d0534
parenta89df5ec9e1e8cc0fe12de745c7cf8534e631302
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