lkml.org 
[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[announce 5/7] fbsplash - fbdev updates
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.031 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site