videomixer: flush L2 after CPU framebuffer write

This commit is contained in:
Sebastien Bourdeauducq 2013-11-16 16:27:58 +01:00
parent c9e99dfca9
commit ba15f1581f
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include <irq.h>
#include <uart.h>
#include <time.h>
#include <system.h>
#include <hw/csr.h>
#include <hw/flags.h>
@ -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;