osd: meson-axg: fix uboot logo flicker issue
authorpengcheng chen <pengcheng.chen@amlogic.com>
Mon, 16 Jul 2018 08:32:15 +0000 (16:32 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 17 Jul 2018 07:28:19 +0000 (00:28 -0700)
PD#170129: osd: meson-axg: fix uboot logo flicker issue

Change-Id: I1604d716b1cb0bcf3804b0c7c89df38276c0cc2f
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c

index 6da1cac..ab6f8b4 100644 (file)
@@ -7455,6 +7455,8 @@ void osd_init_hw(u32 logo_loaded, u32 osd_probe,
        if (osd_hw.osd_meson_dev.osd_ver == OSD_SIMPLE) {
                data32 = osd_reg_read(
                        hw_osd_reg_array[OSD1].osd_fifo_ctrl_stat);
+               /* bit[9:5]: HOLD_FIFO_LINES */
+               data32 &= ~(0x1f << 5);
                data32 |= 0x18 << 5;
                osd_reg_write(
                        hw_osd_reg_array[OSD1].osd_fifo_ctrl_stat, data32);