From: Simon Glass Date: Sat, 14 May 2016 20:03:01 +0000 (-0600) Subject: rockchip: video: Flush the cache when the display is updated X-Git-Tag: v2016.07-rc1~69^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b55e04a021ee256aaba118a547f13a4722538623;p=u-boot rockchip: video: Flush the cache when the display is updated Enable this option to correct display artifacts when a write-back cache is in use. Signed-off-by: Simon Glass --- diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index a54af172ec..db09d9a41d 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -326,6 +326,7 @@ static int rk_vop_probe(struct udevice *dev) if (!ret) break; } + video_set_flush_dcache(dev, 1); return ret; }