From: Bencheng Jing Date: Wed, 20 Mar 2019 08:44:37 +0000 (+0800) Subject: di: disable cue for g12a [1/2] X-Git-Tag: hardkernel-4.9.236-104~1580 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=772f97d90e0e91f48d275031a7506cc9a7f30eeb;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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); }