From afcf1763d30c237313515df60f75ae1bc210a67a Mon Sep 17 00:00:00 2001 From: Jihong Sui Date: Tue, 4 Dec 2018 17:25:29 +0800 Subject: [PATCH] deinterlace: deinterlace: set post_ctrl when no mirror [1/1] PD#SWPL-1076 Problem: Kplayer 4KDemo.mp4, show green screen. Solution: add DI_IF1_GEN_REG set when no mirror Verify: p212 Change-Id: I2cfb27068393832fb47498ebdb9b93349f1fe635 Signed-off-by: Jihong Sui --- drivers/amlogic/media/deinterlace/deinterlace_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/amlogic/media/deinterlace/deinterlace_hw.c b/drivers/amlogic/media/deinterlace/deinterlace_hw.c index 4789d6d..a7e6bf9 100644 --- a/drivers/amlogic/media/deinterlace/deinterlace_hw.c +++ b/drivers/amlogic/media/deinterlace/deinterlace_hw.c @@ -2944,6 +2944,7 @@ void di_hw_disable(bool mc_enable) /* DI inp(current data) switch to memory */ DI_Wr_reg_bits(VIUB_MISC_CTRL0, 0, 16, 1); } + DI_Wr(DI_POST_CTRL, 0); } /* * old pulldown windows share below ctrl -- 2.7.4