mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user