diff mbox

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

Message ID 1463256198-3829-11-git-send-email-sjg@chromium.org
State Accepted
Commit b55e04a021ee256aaba118a547f13a4722538623
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass May 14, 2016, 8:03 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass May 27, 2016, 4:25 p.m. UTC | #1
On 14 May 2016 at 14:03, Simon Glass <sjg@chromium.org> wrote:
> 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 | 1 +
>  1 file changed, 1 insertion(+)

Applied to u-boot-dm.
diff mbox

Patch

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;
 }