From daea7e353c6a8962e7688f770e10aefbe62b46ad Mon Sep 17 00:00:00 2001 From: ChiHun Won Date: Sat, 23 Jun 2018 09:23:32 +0900 Subject: [PATCH] [9610] fbdev: dpu20: changed dsim cmd allow setting Change-Id: I6b0847d21ae13f30ede6722f7dea973d9b0c1467 Signed-off-by: ChiHun Won --- drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c b/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c index 816417e65add..d61ecc13e015 100644 --- a/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c +++ b/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c @@ -770,7 +770,7 @@ static void dsim_reg_set_porch(u32 id, struct decon_lcd *lcd) dsim_reg_set_vbp(id, lcd->vbp); dsim_reg_set_vfp(id, lcd->vfp); dsim_reg_set_stable_vfp(id, DSIM_STABLE_VFP_VALUE); - dsim_reg_set_cmdallow(id, DSIM_CMD_ALLOW_VALUE); + dsim_reg_set_cmdallow(id, lcd->vfp - DSIM_STABLE_VFP_VALUE - 3); dsim_reg_set_hbp(id, lcd->hbp); dsim_reg_set_hfp(id, lcd->hfp); dsim_reg_set_vsa(id, lcd->vsa); @@ -1399,7 +1399,7 @@ static void dsim_reg_set_config(u32 id, struct decon_lcd *lcd_info, dsim_reg_disable_hse(id, 0); dsim_reg_set_burst_mode(id, 1); dsim_reg_set_sync_inform(id, 0); - dsim_reg_enable_clocklane(id, 0); + dsim_reg_enable_clocklane(id, 1); } if (lcd_info->dsc_enabled) { -- 2.20.1