[U-Boot] [PATCH 10/20] rockchip: video: Flush the cache when the display is updated

Simon Glass sjg at chromium.org
Sat May 14 22:03:01 CEST 2016


Enable this option to correct display artifacts when a write-back cache is
in use.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/video/rockchip/rk_vop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index a54af17..db09d9a 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;
 }
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list