From 772f97d90e0e91f48d275031a7506cc9a7f30eeb Mon Sep 17 00:00:00 2001 From: Bencheng Jing Date: Wed, 20 Mar 2019 16:44:37 +0800 Subject: [PATCH] di: disable cue for g12a [1/2] PD#SWPL-6142 Problem: disable cue for g12a Solution: disable cue for g12a Verify: U212 Change-Id: I276fa0b8605110b709feaceb6d23d9b566c16a44 Signed-off-by: Bencheng Jing --- drivers/amlogic/media/deinterlace/nr_drv.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/deinterlace/nr_drv.c b/drivers/amlogic/media/deinterlace/nr_drv.c index 73c91cf..5d41ea7 100644 --- a/drivers/amlogic/media/deinterlace/nr_drv.c +++ b/drivers/amlogic/media/deinterlace/nr_drv.c @@ -727,7 +727,12 @@ static void cue_process_irq(void) } void cue_int(void) { - if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A)) { + /*confirm with vlsi-liuyanling, G12a cue must be disabled*/ + if (is_meson_g12a_cpu()) { + cue_en = false; + cue_glb_mot_check_en = false; + } + if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12B)) { if (cue_en) Wr_reg_bits(NR2_CUE_MODE, 3, 10, 2); } -- 2.7.4