FB model basic issues (WAS: radeon, apertures & memory mapping)

Michel Dänzer michel at daenzer.net
Wed Mar 16 15:53:01 PST 2005


On Thu, 2005-03-17 at 10:28 +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2005-03-16 at 16:00 -0500, Michel Dänzer wrote:
> > On Wed, 2005-03-16 at 21:51 +0200, Ville Syrjälä wrote:
> > > 
> > > One thing just popped to my head though. If in the future we are going to 
> > > allow graphics cards to render to system memory, using the swapper will no 
> > > longer work. I don't see any other solution that having the CPU perform 
> > > the byte swapping.
> > 
> > Sane hardware should have a way to deal with this as well. Either way,
> > this is hardware specific, so it will probably have to be handled by the
> > hardware driver(s) somehow.
> 
> Of course, and radeonfb is what if not a hardware driver ?

Who said it was anything else? Is radeonfb gonna handle the offscreen
surfaces though? My point was that the hardware driver(s) should be
involved in the decision on what format/byte order/... should be used
for a surface, instead of just hardcoding fixed formats and having the
CPU do possibly unnecessary byte swapping.


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer




More information about the xorg mailing list