From: Clemens Ladisch <clemens@ladisch.de>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] fb: clean the penguin's dirty feet
Date: Mon, 10 Nov 2008 10:52:58 +0100 [thread overview]
Message-ID: <4918047A.5000902@ladisch.de> (raw)
When booting in a direct color mode, the penguin has dirty feet,
i.e., some pixels have the wrong color. This is caused by
fb_set_logo_directpalette() which does not initialize the last 32
palette entries.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
--- linux-2.6.orig/drivers/video/fbmem.c
+++ linux-2.6/drivers/video/fbmem.c
@@ -232,7 +232,7 @@ static void fb_set_logo_directpalette(st
greenshift = info->var.green.offset;
blueshift = info->var.blue.offset;
- for (i = 32; i < logo->clutsize; i++)
+ for (i = 32; i < 32 + logo->clutsize; i++)
palette[i] = i << redshift | i << greenshift | i << blueshift;
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
next reply other threads:[~2008-11-10 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 9:52 Clemens Ladisch [this message]
2008-11-11 12:27 ` [PATCH] fb: clean the penguin's dirty feet Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4918047A.5000902@ladisch.de \
--to=clemens@ladisch.de \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).