deinterlace: open pulldown_enable debug node [1/1]
authorWenfeng Guo <wenfeng.guo@amlogic.com>
Fri, 7 Dec 2018 08:12:00 +0000 (16:12 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 12 Dec 2018 03:32:30 +0000 (19:32 -0800)
PD#SWPL-3003

Problem:
pulldown_enable constraintd by DEBUG_SUPPORT

Solution:
open pulldown_enable debug node

Verify:
TL1

Change-Id: Ib0a39a718f5e0f171bf9c1d850912bf4afa6a9d5
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c

index 111200b..c613cd9 100644 (file)
@@ -7420,6 +7420,8 @@ static void set_di_flag(void)
                use_2_interlace_buff = 0;
                di_force_bit_mode = 8;
        }
+       if (is_meson_tl1_cpu())
+               pulldown_enable = true;
        if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A))
                intr_mode = 3;
        if (di_pre_rdma_enable) {
@@ -7950,8 +7952,8 @@ module_param_named(overturn, overturn, bool, 0664);
 module_param_named(queue_print_flag, queue_print_flag, int, 0664);
 module_param_named(full_422_pack, full_422_pack, bool, 0644);
 module_param_named(cma_print, cma_print, bool, 0644);
-#ifdef DEBUG_SUPPORT
 module_param_named(pulldown_enable, pulldown_enable, bool, 0644);
+#ifdef DEBUG_SUPPORT
 #ifdef RUN_DI_PROCESS_IN_IRQ
 module_param_named(input2pre, input2pre, uint, 0664);
 module_param_named(input2pre_buf_miss_count, input2pre_buf_miss_count,