rk312x:lcdc:

* set dither down according to primary screen face when DUAL display
	  for fix the color gradation of display

        Signed-off-by: zwl <zwl@rock-chips.com>
        Signed-off-by: xzj <xzj@rock-chips.com>
This commit is contained in:
zwl
2014-10-31 18:21:13 +08:00
parent 45166c7028
commit 24a2be857b

View File

@@ -1173,7 +1173,7 @@ static int rk312x_load_screen(struct rk_lcdc_driver *dev_drv, bool initscreen)
break;
}
if (lcdc_dev->soc_type == VOP_RK312X) {
switch (screen->face) {
switch (dev_drv->screen0->face) {
case OUT_P565:
face = OUT_P565;
mask = m_DITHER_DOWN_EN |