From 01e29ceb6defe6fea5c6ed480e129db13799eba8 Mon Sep 17 00:00:00 2001 From: Wenfeng Guo Date: Fri, 7 Dec 2018 16:12:00 +0800 Subject: [PATCH] deinterlace: open pulldown_enable debug node [1/1] 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 --- drivers/amlogic/media/deinterlace/deinterlace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/deinterlace/deinterlace.c b/drivers/amlogic/media/deinterlace/deinterlace.c index 111200b..c613cd9 100644 --- a/drivers/amlogic/media/deinterlace/deinterlace.c +++ b/drivers/amlogic/media/deinterlace/deinterlace.c @@ -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, -- 2.7.4