From: "Ville Syrjälä" <syrjala@sci.fi>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] aty128fb: RGB565 console color fix
Date: Fri, 14 May 2004 08:00:55 +0300 [thread overview]
Message-ID: <20040514050055.GC2693@sci.fi> (raw)
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
This patch fixes console colors in RGB565 mode on aty128fb.
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
[-- Attachment #2: aty128fb-2.6-rgb565.patch --]
[-- Type: text/plain, Size: 528 bytes --]
diff -urN linux-orig/drivers/video/aty/aty128fb.c linux/drivers/video/aty/aty128fb.c
--- linux-orig/drivers/video/aty/aty128fb.c 2004-05-13 21:54:36.114529808 +0300
+++ linux/drivers/video/aty/aty128fb.c 2004-05-14 07:16:21.258569072 +0300
@@ -2092,7 +2092,7 @@
pal[regno] = (regno << 10) | (regno << 5) | regno;
break;
case 16:
- pal[regno] = (regno << 11) | (regno << 6) | regno;
+ pal[regno] = (regno << 11) | (regno << 5) | regno;
break;
case 24:
pal[regno] = (regno << 16) | (regno << 8) | regno;
reply other threads:[~2004-05-14 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040514050055.GC2693@sci.fi \
--to=syrjala@sci.fi \
--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).