Re: [PATCH, 2.4] Add logo drawing support for 8-bit mono
From: Thiemo Seufer <hidden>
Date: 2003-04-27 00:09:17
Thiemo Seufer wrote:
Hello Geert, this patch adds logo drawing support for mono visuals with 8 bits per pixel. The DECstation's PMAG-AA is such a card. 2.4 only, the 2.5 logo code is very different.
This patch is also needed to make it work. Thiemo diff -BurpNX /bigdisk/src/dontdiff linux-orig/drivers/video/fbcon.c linux/drivers/video/fbcon.c
--- linux-orig/drivers/video/fbcon.c Sat Jan 11 22:55:05 2003
+++ linux/drivers/video/fbcon.c Sat Apr 12 15:44:11 2003@@ -2328,7 +2329,9 @@ static int __init fbcon_show_logo( void } #endif #if defined(CONFIG_FBCON_CFB8) || defined(CONFIG_FB_SBUS) - if (depth == 8 && p->type == FB_TYPE_PACKED_PIXELS) { + if (depth == 8 && p->type == FB_TYPE_PACKED_PIXELS + && p->visual != FB_VISUAL_MONO10 + && p->visual != FB_VISUAL_MONO01) { /* depth 8 or more, packed, with color registers */ src = logo; -------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf