lcd: update hw_filter_time bypass config [1/1]
authorshaochan.liu <shaochan.liu@amlogic.com>
Mon, 5 Aug 2019 11:20:10 +0000 (19:20 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 6 Aug 2019 10:58:44 +0000 (03:58 -0700)
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 <shaochan.liu@amlogic.com>
drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c

index facd9d8..ff466a8 100644 (file)
@@ -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: