From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: ioremap problem on highmem Date: Thu, 16 Oct 2003 12:09:30 +0200 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1066298970.646.123.camel@gaston> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AA55Q-0001cy-00 for ; Thu, 16 Oct 2003 03:10:28 -0700 Received: from pentafluge.infradead.org ([213.86.99.235]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1AA55M-00055u-Og for linux-fbdev-devel@lists.sourceforge.net; Thu, 16 Oct 2003 03:10:25 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: James Simmons Cc: Jon Smirl , Otto Solares , Linux Fbdev development list On Thu, 2003-10-16 at 01:17, James Simmons wrote: > > My main motivation for this is to have a single driver controlling the > > graphics hardware on DRI supported systems. This will eliminate the problem > > with saving hardware state between VT's. > > Unless you disable the VT console system you still have to to deal with > switching from KDTEXT to KDGRAPHICS and back again. Its also userlands > responiblity to save the console state and restore it. Which is a bit hellish... I would love a callback "restore" (or maybe just a set_par with a "force" attribute bypassing check of old par != new par that most drivers have that gets called on switch back from KDGRAPHICS to KDTEXT. In my experience, this is the only way to get things back properly after XFree with radeons. XFree _could_ probably be fixed, but it's a bit difficult, especially saving & restoring the entire 2D accel state, and you know how long it would take for an xfree fix to get in, while it's so easy for radeonfb to just put back its own settings... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php