From ba15f1581fbf3cca392a8cf5ed6f85e9c359c379 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 16 Nov 2013 16:27:58 +0100 Subject: [PATCH] videomixer: flush L2 after CPU framebuffer write --- software/videomixer/dvisamplerX.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/software/videomixer/dvisamplerX.c b/software/videomixer/dvisamplerX.c index 48e2b33ca..853e960c9 100644 --- a/software/videomixer/dvisamplerX.c +++ b/software/videomixer/dvisamplerX.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include @@ -122,7 +123,7 @@ void dvisamplerX_disable(void) void dvisamplerX_clear_framebuffers(void) { memset(&dvisamplerX_framebuffers, 0, sizeof(dvisamplerX_framebuffers)); - // TODO: empty bridge cache + flush_l2_cache(); } static int dvisamplerX_d0, dvisamplerX_d1, dvisamplerX_d2;