From: MingLiang Dong Date: Wed, 20 Feb 2019 07:15:44 +0000 (-0500) Subject: di: disable deghost refresh according to motion [1/1] X-Git-Tag: hardkernel-4.9.236-104~1436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3025ec21a2d1cca286570e8d2a8a6da255780f15;p=platform%2Fkernel%2Flinux-amlogic.git di: disable deghost refresh according to motion [1/1] PD#SWPL-6423 Problem: deghost refresh according to motion Solution: disable deghost refresh according to motion Verify: verify on TL1 Change-Id: Ic3647462e5f5686f6cc182c30797752ea72c013c Signed-off-by: MingLiang Dong --- diff --git a/drivers/amlogic/media/deinterlace/deinterlace_mtn.c b/drivers/amlogic/media/deinterlace/deinterlace_mtn.c index d539aeb..c5559e6 100644 --- a/drivers/amlogic/media/deinterlace/deinterlace_mtn.c +++ b/drivers/amlogic/media/deinterlace/deinterlace_mtn.c @@ -601,8 +601,9 @@ static void set_combing_regs(int lvl, int bit_mode) DI_Wr_reg_bits(DI_MTN_1_CTRL1, ((*combing_setting_values[lvl])[0] & combing_setting_masks[i]), 0, 24); - if (bit_mode != 10 && - combing_setting_registers[i] == NR2_MATNR_DEGHOST) + /*working on db, driver don't handle this*/ + if (((bit_mode != 10) || cpu_after_eq(MESON_CPU_MAJOR_ID_TL1)) + && combing_setting_registers[i] == NR2_MATNR_DEGHOST) break; else if (i < GXTVBB_REG_START) { /* TODO: need change to check if