summaryrefslogtreecommitdiff
authorqianqian.cai <qianqian.cai@amlogic.com>2019-10-16 09:24:29 (GMT)
committer Jianxin Pan <jianxin.pan@amlogic.com>2019-10-21 09:30:46 (GMT)
commit8e8f6dbbdaa3e0532444d4e17b3fc23f61d8c936 (patch)
tree80fabcf44d9c10aa1e54583d402c886b89631209
parent5aadc0407c52584f10d3990d22e821f0b455f20c (diff)
downloadcommon-8e8f6dbbdaa3e0532444d4e17b3fc23f61d8c936.zip
common-8e8f6dbbdaa3e0532444d4e17b3fc23f61d8c936.tar.gz
common-8e8f6dbbdaa3e0532444d4e17b3fc23f61d8c936.tar.bz2
deintlace: PQ revert the set of di_belend_ctrl [1/2]
PD#SWPL-14508 Problem: HDMI480I/AV IN some issue you can see at the subtitle Solution: revert the setting of 85992 di_blend_ctrl ,bit16 from vlsi feijun Verify: verfy it on the marconi Change-Id: I78f6abd104d0953b6db7387900425175a436386b Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
Diffstat
-rw-r--r--drivers/amlogic/media/deinterlace/deinterlace_hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/amlogic/media/deinterlace/deinterlace_hw.c b/drivers/amlogic/media/deinterlace/deinterlace_hw.c
index 26d0b6c..a946912 100644
--- a/drivers/amlogic/media/deinterlace/deinterlace_hw.c
+++ b/drivers/amlogic/media/deinterlace/deinterlace_hw.c
@@ -3840,7 +3840,8 @@ void pulldown_vof_win_config(struct pulldown_detected_s *wins)
/* revert the setting of top two lines do weave for */
/* interlace video, suggest by vlsi-feijun */
DI_VSYNC_WR_MPEG_REG_BITS(DI_BLEND_CTRL,
- 0, 16, 1);
+ (wins->regs[0].win_ve > wins->regs[0].win_vs)
+ ? 1 : 0, 16, 1);
DI_VSYNC_WR_MPEG_REG_BITS(DI_BLEND_CTRL,
/*wins->regs[0].blend_mode*/
0x03, 8, 2);