From 3d42fbd16792b7166c8f78868fec8fdbba4c9bf8 Mon Sep 17 00:00:00 2001 From: "shaochan.liu" Date: Mon, 5 Aug 2019 19:20:10 +0800 Subject: [PATCH] lcd: update hw_filter_time bypass config [1/1] PD#SWPL-8848 Problem: need update compatible filter bypass config Solution: update compatible filter bypass config Verify: t962x2_x301 Change-Id: I29a9642f2524da5106da8de78d99a9d4ceeeb0c8 Signed-off-by: shaochan.liu --- drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c b/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c index facd9d8f6756..ff466a8bac4b 100644 --- a/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c +++ b/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c @@ -568,14 +568,15 @@ static void lcd_vbyone_hw_filter(int flag) } else { temp = (vx1_conf->hw_filter_time >> 8) & 0x1; if (temp) { - LCDPR("%s: %d bypass for debug\n", - __func__, flag); - break; + lcd_vcbus_write(VBO_INFILTER_TICK_PERIOD_L, + 0xff); + lcd_vcbus_write(VBO_INFILTER_TICK_PERIOD_H, + 0x0); + lcd_vcbus_setb(VBO_INSGN_CTRL, 0x7, 8, 4); + lcd_vcbus_setb(VBO_INSGN_CTRL, 0x7, 12, 4); + LCDPR("%s: %d change to min for debug\n", + __func__, flag); } - lcd_vcbus_write(VBO_INFILTER_TICK_PERIOD_L, 0xff); - lcd_vcbus_write(VBO_INFILTER_TICK_PERIOD_H, 0x0); - lcd_vcbus_setb(VBO_INSGN_CTRL, 0x7, 8, 4); - lcd_vcbus_setb(VBO_INSGN_CTRL, 0x7, 12, 4); } break; default: