From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: FB model basic issues (WAS: radeon, apertures & memory mapping) Date: Wed, 16 Mar 2005 22:08:08 +0200 Message-ID: <20050316200808.GB6651@sci.fi> References: <1110784327.5787.288.camel@gaston> <1110817205.4004.527.camel@localhost> <1110837171.5863.16.camel@gaston> <1110838356.4003.548.camel@localhost> <1110839873.5673.41.camel@gaston> <1110862777.4044.592.camel@localhost> <20050315060138.GA13064@sci.fi> <4236C770.8020101@hispeed.ch> <1110907029.4001.624.camel@localhost> <1110942559.24296.107.camel@gaston> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In-Reply-To: <1110942559.24296.107.camel@gaston> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xorg-bounces@lists.freedesktop.org Errors-To: xorg-bounces@lists.freedesktop.org Content-Type: text/plain; charset="iso-8859-1" To: Benjamin Herrenschmidt Cc: Michel =?iso-8859-1?Q?D=E4nzer?= , Jon Smirl , Linux Fbdev development list , dri-devel@lists.sourceforge.net, xorg@lists.freedesktop.org On Wed, Mar 16, 2005 at 02:09:18PM +1100, Benjamin Herrenschmidt wrote: >=20 > > It's ugly, but that's not the point. The point is that all deployed > > versions of X (and even current X.org CVS head still, in fact) make t= his > > assumption. >=20 > Oh, that's fine and that's not a problem. I will only repaint the > framebuffer on bit depth or line lenght changes. I'm trying to talk > about the _future_ here. That is support for dual head at the fbdev > level and other niceties. I don't see the current system slowly evolving into some superb future=20 system with an in kernel memory manager. The current APIs just have too=20 many limitations. I think the memory manager must be the foundation of=20 everything and after it's in place the fbdev API should be able to use it= .=20 The only change to simple fbdev apps would be that they can't get access=20 to any offscreen memory as they do now. Something like DirectFB would nee= d=20 to change to accomodate the new system but I don't see that as a problem. I think the best short term option for radeonfb is to simply follow=20 matroxfb's example and cut the memory into two parts. The cutoff point=20 should probably be configurable via a module option. --=20 Ville Syrj=E4l=E4 syrjala@sci.fi http://www.sci.fi/~syrjala/