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)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Dec 2018 06:51:49 +0000 (14:51 +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 7bc25f2..31b8fef 100644 (file)
@@ -2940,6 +2940,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