Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Apr 2002 08:27:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Apr 2002 08:27:48 -0400 Received: from mailhost.mipsys.com ([62.161.177.33]:11733 "EHLO mailhost.mipsys.com") by vger.kernel.org with ESMTP id ; Wed, 10 Apr 2002 08:27:47 -0400 From: To: Geert Uytterhoeven Cc: Peter Horton , Linux Kernel Development Subject: Re: [PATCH] Radeon frame buffer driver Date: Wed, 10 Apr 2002 14:27:50 +0100 Message-Id: <20020410132751.13616@mailhost.mipsys.com> In-Reply-To: X-Mailer: CTM PowerMail 3.1.2 F MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >Probably not (unless you can quote me on that :-) > >The color map is saved/restored in radeonfb_switch(). > >Gr{oetje,eeting}s, Yes, the console color map is, but isn't an fbdev app like MOL or X supposed to restore it's own colormap when switched back in ? Well, I may be able to quote you on this... >> - When using > 8 bit depth, who is supposed to set the linear >> gamma ramp ? (My understanding is that a client app is responsible >> to set it's own cmap properly, but it also looks like some apps >> rely on the default beeing set to a linear gamma ramp). Should >> I set it this way in set_par by default and then let the app >> eventually change it ? > >If your fbdev claims to be in truecolor mode, your fbdev should do it. >If your fbdev claims to be in directcolor mode, the application should do it >(if the app wants truecolor mode). Ok, actually, you weren't talking about console switch. Though I'm pretty sure MOL at least will properly restore it's colormap, I don't know for XFree. So Peter, it seems you have to save/restore it all finally. Ben. - 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/