[PATCH] EXA: add PrepareAccess() & FinishAccess() hooks

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Sep 3 15:17:03 PDT 2005


On Sat, 2005-09-03 at 15:15 -0400, Michel Dänzer wrote:
> On Sat, 2005-09-03 at 19:22 +1000, Benjamin Herrenschmidt wrote:
> > 
> > In addition, I added the size of the offscreen pixmaps to the private
> > structure for use by the drivers. I yet have to add an accessor though.
> > This is useful for setting up the surface registers on radeon among
> > others. Note that I still have to verify how to constraint offscreen
> > pixmap allocations to a driver provided granularity as the radeon
> > surfaces have alignment constraints.
> 
> Set card.pixmapOffsetAlign to the alignment required by surfaces, and
> round up the surface size to the next multiple of that.

Yup, I knew there was already something there, but it was late and I was
tired ;)

Thanks !

Ben.





More information about the xorg mailing list