PATCH: fbcon cruft removal.

Jones D (djones2@glam.ac.uk)
Wed, 21 Jul 1999 18:01:18 +0100


For some time, I've noticed that the framebuffer doesn't clear
the screen before drawing the penguin logo, so I've had this patch
in use for some time. Should apply to 2.2.x and 2.3.x

regards,

Dave.

diff -urN linux/drivers/video/fbcon.c linux.dj/drivers/video/fbcon.c
--- linux/drivers/video/fbcon.c Mon Mar 8 07:50:49 1999
+++ linux.dj/drivers/video/fbcon.c Thu Mar 25 02:04:00 1999
@@ -212,7 +212,7 @@

#ifdef CONFIG_MAC
/*
- * On the Macintoy, there may or may not be a working VBL int. We need to
prob
+ * On the Macintoy, there may or may not be a working VBL int. We need to
probe
*/
static int vbl_detected = 0;

@@ -1361,6 +1361,7 @@
p->dispsw->clear_margins(conp, p, 0);
if (logo_shown == -2) {
logo_shown = fg_console;
+ fbcon_clear(conp, 0, 0, LOGO_H, p->var.xres-LOGO_W);
fbcon_show_logo(); /* This is protected above by initmem_freed */
update_region(fg_console,
conp->vc_origin + conp->vc_size_row * conp->vc_top,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/