diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 14:03:01 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-27 10:23:08 -0600 |
commit | b55e04a021ee256aaba118a547f13a4722538623 (patch) | |
tree | 0d7464ad66d2808c628cefbe6cafcec5a70ff471 /drivers/video/rockchip/rk_vop.c | |
parent | 56d6977121732e4efe6cd48872e874e40f4916a0 (diff) |
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/rk_vop.c')
-rw-r--r-- | drivers/video/rockchip/rk_vop.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |