public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] penguin logo code
@ 2002-07-24 15:15 Geert Uytterhoeven
  2002-07-24 16:49 ` jbradford
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2002-07-24 15:15 UTC (permalink / raw)
  To: Marcelo Tosatti
  Cc: Linux Kernel Development, Linux Frame Buffer Device Development


### Comments for changeset
The penguin logo resides in normal RAM, not in frame buffer memory, so we must
not use fb_readb()

### Comments for drivers/video/fbcon.c
The penguin logo resides in normal RAM, not in frame buffer memory, so we must
not use fb_readb()

--- linux-2.4.19-rc3/drivers/video/fbcon.c	Fri Feb 22 16:28:32 2002
+++ linux-m68k-2.4.19-rc3/drivers/video/fbcon.c	Mon Jul 22 21:45:01 2002
@@ -2417,7 +2417,7 @@
 		else
 		    dst = fb + y1*line + x/8;
 		for( x1 = 0; x1 < LOGO_LINE; ++x1 )
-		    fb_writeb(fb_readb(src++) ^ inverse, dst++);
+		    fb_writeb(*src++ ^ inverse, dst++);
 	    }
 	    done = 1;
 	}

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

end of thread, other threads:[~2002-07-24 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 15:15 [PATCH] penguin logo code Geert Uytterhoeven
2002-07-24 16:49 ` jbradford
2002-07-24 16:51   ` Thunder from the hill
2002-07-24 16:54   ` Dave Jones
2002-07-24 17:32   ` Andreas Dilger

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