From: ChiHun Won Date: Sat, 23 Jun 2018 00:23:32 +0000 (+0900) Subject: [9610] fbdev: dpu20: changed dsim cmd allow setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=daea7e353c6a8962e7688f770e10aefbe62b46ad;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] fbdev: dpu20: changed dsim cmd allow setting Change-Id: I6b0847d21ae13f30ede6722f7dea973d9b0c1467 Signed-off-by: ChiHun Won --- 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) {