[9610] fbdev: dpu20: changed dsim cmd allow setting
authorChiHun Won <chihun.won@samsung.com>
Sat, 23 Jun 2018 00:23:32 +0000 (09:23 +0900)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 25 Jun 2018 13:39:01 +0000 (22:39 +0900)
Change-Id: I6b0847d21ae13f30ede6722f7dea973d9b0c1467
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_reg.c

index 816417e65adddf1440870f0c35881109a9151a37..d61ecc13e01556e33822e2100756e1ece9aa0dec 100644 (file)
@@ -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) {