From 84c85ac2362cd9bd95bd7180daaa109d8ba0a1ab Mon Sep 17 00:00:00 2001 From: yxj Date: Sun, 27 Jan 2013 11:10:44 +0800 Subject: [PATCH] rk3188 lcdc:config done do by user space to sync in overlay mode --- drivers/video/rockchip/lcdc/rk3188_lcdc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/rockchip/lcdc/rk3188_lcdc.c b/drivers/video/rockchip/lcdc/rk3188_lcdc.c index 92314867302f..041ffe796468 100644 --- a/drivers/video/rockchip/lcdc/rk3188_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3188_lcdc.c @@ -134,7 +134,7 @@ static int win0_open(struct rk3188_lcdc_device *lcdc_dev,bool open) printk(KERN_INFO "no layer of lcdc%d is used,go to standby!\n",lcdc_dev->id); lcdc_msk_reg(lcdc_dev, SYS_CTRL,m_LCDC_STANDBY,v_LCDC_STANDBY(1)); } - lcdc_cfg_done(lcdc_dev); + //lcdc_cfg_done(lcdc_dev); } spin_unlock(&lcdc_dev->reg_lock); @@ -169,7 +169,7 @@ static int win1_open(struct rk3188_lcdc_device *lcdc_dev,bool open) lcdc_msk_reg(lcdc_dev,ALPHA_CTRL,m_WIN0_ALPHA_EN,v_WIN0_ALPHA_EN(0)); lcdc_msk_reg(lcdc_dev, SYS_CTRL,m_LCDC_STANDBY,v_LCDC_STANDBY(1)); } - lcdc_cfg_done(lcdc_dev); + //lcdc_cfg_done(lcdc_dev); } spin_unlock(&lcdc_dev->reg_lock); @@ -658,7 +658,7 @@ static int win0_display(struct rk3188_lcdc_device *lcdc_dev,struct layer_par *p { lcdc_writel(lcdc_dev, WIN0_YRGB_MST0, y_addr); lcdc_writel(lcdc_dev, WIN0_CBR_MST0, uv_addr); - lcdc_cfg_done(lcdc_dev); + //lcdc_cfg_done(lcdc_dev); } spin_unlock(&lcdc_dev->reg_lock); @@ -678,7 +678,7 @@ static int win1_display(struct rk3188_lcdc_device *lcdc_dev,struct layer_par *p if(likely(lcdc_dev->clk_on)) { lcdc_writel(lcdc_dev,WIN1_MST,y_addr); - lcdc_cfg_done(lcdc_dev); + //lcdc_cfg_done(lcdc_dev); } spin_unlock(&lcdc_dev->reg_lock); -- 2.34.1