public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] video: cfb_console: flush cache in display_rle8_bitmap
@ 2018-09-10  7:58 Sébastien Szymanski
  2018-09-27  8:33 ` Anatolij Gustschin
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Szymanski @ 2018-09-10  7:58 UTC (permalink / raw)
  To: u-boot

Otherwise BMP RLE8 images are not properly displayed.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
---
 drivers/video/cfb_console.c | 4 ++++
 1 file changed, 4 insertions(+)

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");
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 1/1] video: cfb_console: flush cache in display_rle8_bitmap
  2018-09-10  7:58 [U-Boot] [PATCH 1/1] video: cfb_console: flush cache in display_rle8_bitmap Sébastien Szymanski
@ 2018-09-27  8:33 ` Anatolij Gustschin
  0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2018-09-27  8:33 UTC (permalink / raw)
  To: u-boot

On Mon, 10 Sep 2018 09:58:58 +0200
Sébastien Szymanski sebastien.szymanski at armadeus.com wrote:

> Otherwise BMP RLE8 images are not properly displayed.
> 
> Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
> ---
>  drivers/video/cfb_console.c | 4 ++++
>  1 file changed, 4 insertions(+)

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

--
Anatolij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-27  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-10  7:58 [U-Boot] [PATCH 1/1] video: cfb_console: flush cache in display_rle8_bitmap Sébastien Szymanski
2018-09-27  8:33 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox