Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261931AbVCHCRY (ORCPT ); Mon, 7 Mar 2005 21:17:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261845AbVCHCQ7 (ORCPT ); Mon, 7 Mar 2005 21:16:59 -0500 Received: from ipp23-131.piekary.net ([80.48.23.131]:60597 "EHLO spock.one.pl") by vger.kernel.org with ESMTP id S261776AbVCHCOS (ORCPT ); Mon, 7 Mar 2005 21:14:18 -0500 Date: Tue, 8 Mar 2005 03:14:17 +0100 From: Michal Januszewski To: linux-kernel@vger.kernel.org Cc: linux-fbdev-devel@lists.sourceforge.net Subject: [announce 5/7] fbsplash - fbdev updates Message-ID: <20050308021417.GF26249@spock.one.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 51 Fbcmap.c updates. Signed-off-by: Michael Januszewski --- 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 #include #include +#include "fbsplash.h" #include @@ -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/