From 4495808fba883ba53383b1daca58cb34955efa99 Mon Sep 17 00:00:00 2001 From: Ben Benson Date: Wed, 27 Aug 2025 16:47:48 +0100 Subject: [PATCH] Splash Screen: bug fix Prevents fullscreen logos from being drawn multiple times. With small enough logos, the image would be drawn multiple times across the screen. Signed-off-by: Ben Benson --- drivers/video/fbdev/core/fb_logo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/core/fb_logo.c b/drivers/video/fbdev/core/fb_logo.c index 0cb7dbf3c27ab2..b68e912c369c13 100644 --- a/drivers/video/fbdev/core/fb_logo.c +++ b/drivers/video/fbdev/core/fb_logo.c @@ -552,6 +552,8 @@ static int fb_show_logo_line(struct fb_info *info, int rotate, region.height = info->var.yres; region.rop = ROP_COPY; info->fbops->fb_fillrect(info, ®ion); + // Enforce only one draw of the logo + n = 1; } fb_do_show_logo(info, &image, rotate, n);