rk3188 lcdc:make sure turn off dither for 24bit display device
authoryxj <yxj@rock-chips.com>
Fri, 26 Apr 2013 03:58:36 +0000 (11:58 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 27 Apr 2013 03:42:08 +0000 (11:42 +0800)
drivers/video/rockchip/lcdc/rk3188_lcdc.c

index 9c490b41d5dc1fd18f8bb10772fd6c4c45fe2b33..8ac6fa3ad2e29ca660ec886030be5fcb9811588a 100644 (file)
@@ -503,6 +503,8 @@ static int rk3188_load_screen(struct rk_lcdc_device_driver *dev_drv, bool initsc
                        break;
                case OUT_P888:
                        face = OUT_P888;
+                       lcdc_msk_reg(lcdc_dev,DSP_CTRL0,m_DITHER_DOWN_EN | m_DITHER_UP_EN,
+                                       v_DITHER_DOWN_EN(0) | v_DITHER_UP_EN(0));
                        break;
                default:
                        printk("unsupported display output interface!\n");