From: Sébastien Szymanski Date: Mon, 10 Sep 2018 07:58:58 +0000 (+0200) Subject: video: cfb_console: flush cache in display_rle8_bitmap X-Git-Tag: v2018.11-rc1~26^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=47b11c814ed75af32e4c1fe30d1f641080700c13;p=oweals%2Fu-boot.git video: cfb_console: flush cache in display_rle8_bitmap Otherwise BMP RLE8 images are not properly displayed. Signed-off-by: Sébastien Szymanski --- diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 40110668a6..636c3e8c18 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -1297,6 +1297,10 @@ next_run: break; } } + + if (cfb_do_flush_cache) + flush_cache(VIDEO_FB_ADRS, VIDEO_SIZE); + return 0; error: printf("Error: Too much encoded pixel data, validate your bitmap\n");