Skip to contentSkip to conversation

video: cfb_console: flush cache in display_rle8_bitmap

PATCH New Sébastien Szymanski 2 participants 2 messages Sep 10, 2018 – Sep 27, 2018 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: cfb_console: flush cache in display_rle8_bitmap

Otherwise BMP RLE8 images are not properly displayed.

---
 drivers/video/cfb_console.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/video/cfb_console.c +4 -0
index 40110668a6..636c3e8c18 100644
@@ -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");
Signature · 1 line
2.16.4
#1 lore raw

PATCH 1/1 video: cfb_console: flush cache in display_rle8_bitmap

Quoted 6 lines · On Mon, 10 Sep 2018 09:58:58 +0200 Sébastien Szymanski sebastien.szymanski at…

Otherwise BMP RLE8 images are not properly displayed.

---
 drivers/video/cfb_console.c | 4 ++++
 1 file changed, 4 insertions(+)

Applied to u-boot-video/master, thanks!

--
Anatolij