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

Michel Dänzer michel at daenzer.net
Sat Sep 3 12:15:58 PDT 2005


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.


-- 
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