summaryrefslogtreecommitdiff
path: root/drivers/video/rockchip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-14 14:03:01 -0600
committerSimon Glass <sjg@chromium.org>2016-05-27 10:23:08 -0600
commitb55e04a021ee256aaba118a547f13a4722538623 (patch)
tree0d7464ad66d2808c628cefbe6cafcec5a70ff471 /drivers/video/rockchip
parent56d6977121732e4efe6cd48872e874e40f4916a0 (diff)
downloadu-boot-imx-b55e04a021ee256aaba118a547f13a4722538623.zip
u-boot-imx-b55e04a021ee256aaba118a547f13a4722538623.tar.gz
u-boot-imx-b55e04a021ee256aaba118a547f13a4722538623.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'drivers/video/rockchip')
-rw-r--r--drivers/video/rockchip/rk_vop.c1
1 files changed, 1 insertions, 0 deletions
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;
}