fbdev: dpu20: fixed display blinking issue of 3FA0 video mode
authorChiHun Won <chihun.won@samsung.com>
Sat, 23 Jun 2018 00:05:41 +0000 (09:05 +0900)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 25 Jun 2018 13:38:49 +0000 (22:38 +0900)
Change-Id: I1aa99cae7a53dc42f3a53e13bf24e0918e79454a
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c

index 444338ea6d89e7d2291f51bbd99820ce9685f933..f1de610c39dad93cba8317d6e8ca8a0cc5b01bd3 100644 (file)
@@ -137,10 +137,6 @@ void lcd_init(int id, struct decon_lcd *lcd)
        mdelay(20);
 
        if (lcd->mode == DECON_VIDEO_MODE) {
-               if (dsim_wr_data(id, MIPI_DSI_DCS_SHORT_WRITE, SEQ_DISPLAY_ON[0], 0) < 0)
-                       dsim_err("fail to send SEQ_DISPLAY_ON command.\n");
-               mdelay(120);
-
                if (dsim_wr_data(id, MIPI_DSI_DCS_SHORT_WRITE_PARAM, SEQ_TEST_KEY_ON_F2[0],
                                        SEQ_TEST_KEY_ON_F2[1]) < 0)
                        dsim_err("fail to send SEQ_TEST_KEY_ON_F2 command.\n");
@@ -167,6 +163,9 @@ void lcd_init(int id, struct decon_lcd *lcd)
                        dsim_err("fail to send SEQ_TE_ON command.\n");
                mdelay(12);
        }
+
+       if (lcd->mode == DECON_VIDEO_MODE)
+               mdelay(120);
 }
 
 void lcd_enable(int id)