From 86da2f2557a014a35e1be2b1e89ae244344280ec Mon Sep 17 00:00:00 2001 From: ChiHun Won Date: Sat, 23 Jun 2018 09:05:41 +0900 Subject: [PATCH] fbdev: dpu20: fixed display blinking issue of 3FA0 video mode Change-Id: I1aa99cae7a53dc42f3a53e13bf24e0918e79454a Signed-off-by: ChiHun Won --- drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c b/drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c index 444338ea6d89..f1de610c39da 100644 --- a/drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c +++ b/drivers/video/fbdev/exynos/dpu20/panels/s6e3fa0_lcd_ctrl.c @@ -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) -- 2.20.1