deinterlace: deinterlace: set post_ctrl when no mirror [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Tue, 4 Dec 2018 09:25:29 +0000 (17:25 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 6 Dec 2018 10:37:17 +0000 (02:37 -0800)
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 <jihong.sui@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace_hw.c

index 4789d6d..a7e6bf9 100644 (file)
@@ -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