From c64af26fdb49171b8529836628c23fc7494c11ac Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 29 Dec 2011 17:00:29 +0200 Subject: [PATCH] gpu_neon: flush queues on upper level too --- plugins/gpu_neon/gpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/gpu_neon/gpu.c b/plugins/gpu_neon/gpu.c index 24f731e4..4b181061 100644 --- a/plugins/gpu_neon/gpu.c +++ b/plugins/gpu_neon/gpu.c @@ -272,8 +272,10 @@ static void start_vram_transfer(uint32_t pos_word, uint32_t size_word, int is_re if (is_read) gpu.status.img = 1; - else + else { + renderer_flush_queues(); renderer_invalidate_caches(gpu.dma.x, gpu.dma.y, gpu.dma.w, gpu.dma.h); + } log_io("start_vram_transfer %c (%d, %d) %dx%d\n", is_read ? 'r' : 'w', gpu.dma.x, gpu.dma.y, gpu.dma.w, gpu.dma.h); -- 2.39.5