From: Sebastien Bourdeauducq Date: Sat, 16 Nov 2013 15:27:58 +0000 (+0100) Subject: videomixer: flush L2 after CPU framebuffer write X-Git-Tag: 24jan2021_ls180~2799 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba15f1581fbf3cca392a8cf5ed6f85e9c359c379;p=litex.git videomixer: flush L2 after CPU framebuffer write --- diff --git a/software/videomixer/dvisamplerX.c b/software/videomixer/dvisamplerX.c index 48e2b33c..853e960c 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;