From 7543702e19b1cfabb3c50440dd8c5e58a553674b Mon Sep 17 00:00:00 2001 From: yxj Date: Thu, 21 Feb 2013 14:08:29 +0800 Subject: [PATCH] rk3066b lcdc:enable color key for win1,this will be used in pcba for camera test --- drivers/video/rockchip/lcdc/rk3066b_lcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/lcdc/rk3066b_lcdc.c b/drivers/video/rockchip/lcdc/rk3066b_lcdc.c index 283487251503..ce26a6f5566e 100755 --- a/drivers/video/rockchip/lcdc/rk3066b_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3066b_lcdc.c @@ -530,7 +530,7 @@ static int win1_set_par(struct rk3066b_lcdc_device *lcdc_dev,rk_screen *screen, LcdWrReg(lcdc_dev, WIN1_DSP_ST,v_DSP_STX(xpos) | v_DSP_STY(ypos)); LcdWrReg(lcdc_dev, WIN1_DSP_INFO,v_DSP_WIDTH(par->xsize) | v_DSP_HEIGHT(par->ysize)); // enable win1 color key and set the color to black(rgb=0) - LcdMskReg(lcdc_dev,WIN1_COLOR_KEY_CTRL, m_COLORKEY_EN | m_KEYCOLOR,v_COLORKEY_EN(0) | v_KEYCOLOR(0)); + LcdMskReg(lcdc_dev,WIN1_COLOR_KEY_CTRL, m_COLORKEY_EN | m_KEYCOLOR,v_COLORKEY_EN(1) | v_KEYCOLOR(0)); LcdWrReg(lcdc_dev,WIN1_VIR,v_VIRWIDTH(xvir)); //LCDC_REG_CFG_DONE(); -- 2.34.1