rk3188 lcdc:config done do by user space to sync in overlay mode
authoryxj <yxj@rock-chips.com>
Sun, 27 Jan 2013 03:10:44 +0000 (11:10 +0800)
committeryxj <yxj@rock-chips.com>
Mon, 28 Jan 2013 09:25:28 +0000 (17:25 +0800)
drivers/video/rockchip/lcdc/rk3188_lcdc.c

index 92314867302fac5aa550f97b0d507bb0b3519466..041ffe7964687900027f485f20822ed634e91f29 100644 (file)
@@ -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);