Skip to content

Commit be9088a

Browse files
Ben Bensonpelwell
authored andcommitted
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 <ben.benson@raspberrypi.com>
1 parent a76b7b2 commit be9088a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/fbdev/core/fb_logo.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ static int fb_show_logo_line(struct fb_info *info, int rotate,
552552
region.height = info->var.yres;
553553
region.rop = ROP_COPY;
554554
info->fbops->fb_fillrect(info, &region);
555+
// Enforce only one draw of the logo
556+
n = 1;
555557
}
556558

557559
fb_do_show_logo(info, &image, rotate, n);

0 commit comments

Comments
 (0)