From: Michal Januszewski <spock@gentoo.org>
To: linux-kernel@vger.kernel.org
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: [announce 5/7] fbsplash - fbdev updates
Date: Tue, 8 Mar 2005 03:14:17 +0100 [thread overview]
Message-ID: <20050308021417.GF26249@spock.one.pl> (raw)
Fbcmap.c updates.
Signed-off-by: Michael Januszewski <spock@gentoo.org>
---
diff -Nru a/drivers/video/fbcmap.c b/drivers/video/fbcmap.c
--- a/drivers/video/fbcmap.c 2005-03-07 16:50:34 +01:00
+++ b/drivers/video/fbcmap.c 2005-03-07 16:50:34 +01:00
@@ -16,6 +16,7 @@
#include <linux/tty.h>
#include <linux/fb.h>
#include <linux/slab.h>
+#include "fbsplash.h"
#include <asm/uaccess.h>
@@ -235,6 +236,10 @@
info))
break;
}
+ fb_copy_cmap(cmap, &info->cmap);
+ if (fbsplash_active(info, vc_cons[fg_console].d) &&
+ info->fix.visual == FB_VISUAL_DIRECTCOLOR)
+ fbsplash_fix_pseudo_pal(info, vc_cons[fg_console].d);
return 0;
}
@@ -265,6 +270,9 @@
if (transp)
transp++;
}
+ if (fbsplash_active(info, vc_cons[fg_console].d) &&
+ info->fix.visual == FB_VISUAL_DIRECTCOLOR)
+ fbsplash_fix_pseudo_pal(info, vc_cons[fg_console].d);
return 0;
}
Live long and prosper.
--
Michal 'Spock' Januszewski Gentoo Linux Developer
cell: +48504917690 http://dev.gentoo.org/~spock/
JID: spock@im.gentoo.org freenode: #gentoo-dev, #gentoo-pl
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next reply other threads:[~2005-03-08 2:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-08 2:14 Michal Januszewski [this message]
2005-03-08 19:43 ` [announce 5/7] fbsplash - fbdev updates James Simmons
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=20050308021417.GF26249@spock.one.pl \
--to=spock@gentoo.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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).