deinterlace: enable pulldown for G12A/G12B [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Fri, 21 Jun 2019 08:23:35 +0000 (16:23 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 25 Jun 2019 05:29:56 +0000 (22:29 -0700)
PD#SWPL-10047

Problem:
enable pulldown for G12A/G12B

Solution:
enable pulldown;

Verify:
U212

Change-Id: I25f19868d64326ffba6694e6d3e365b3d6da7c00
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c

index 268c0e8..58d0715 100644 (file)
@@ -7943,8 +7943,12 @@ static void set_di_flag(void)
                use_2_interlace_buff = 0;
                di_force_bit_mode = 8;
        }
-       if (is_meson_tl1_cpu() || is_meson_tm2_cpu())
+       if (is_meson_tl1_cpu() || is_meson_tm2_cpu()
+               || is_meson_g12a_cpu()
+               || is_meson_g12b_cpu()
+               || is_meson_sm1_cpu())
                pulldown_enable = true;
+
        if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A))
                intr_mode = 3;
        if (di_pre_rdma_enable) {