]> git.sur5r.net Git - u-boot/commitdiff
rockchip: video: Flush the cache when the display is updated
authorSimon Glass <sjg@chromium.org>
Sat, 14 May 2016 20:03:01 +0000 (14:03 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 16:23:08 +0000 (10:23 -0600)
Enable this option to correct display artifacts when a write-back cache is
in use.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/rockchip/rk_vop.c

index a54af172ec066dbdd9262ec50b97a8a525216ca5..db09d9a41df76679aa2bcd1588231597fe7adbb6 100644 (file)
@@ -326,6 +326,7 @@ static int rk_vop_probe(struct udevice *dev)
                if (!ret)
                        break;
        }
+       video_set_flush_dcache(dev, 1);
 
        return ret;
 }