aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSébastien Szymanski2018-09-10 09:58:58 +0200
committerAnatolij Gustschin2018-09-28 18:27:58 +0200
commit47b11c814ed75af32e4c1fe30d1f641080700c13 (patch)
tree7a7a63817a21c443896c40bce8f1d6082d004e50 /drivers/video
parent3bf65cb56cc844473146d977b21c64504f191aff (diff)
video: cfb_console: flush cache in display_rle8_bitmap
Otherwise BMP RLE8 images are not properly displayed. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/cfb_console.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 40110668a6b..636c3e8c184 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");