[PATCH] add EXA relocation function
jbarnes at virtuousgeek.org
Fri Dec 7 13:33:56 PST 2007
In order to avoid having a fixed offset for the EXA offscreen area (which is
nice if the driver is using TTM) drivers need to update the base offset of
EXA memory in EnterVT, and may need to update any private pointers they've
allocated as well (e.g. for the cursor or scanout buffers, etc.).
Since the server already kicks out all the pixmaps at VT switch time, the
relocation is trivial and will typically just involve the one, big free area
and any locked driver allocations; this function reflects that.
One possible enhancement would be to call back into a driver provided function
to update the private allocations, but it wouldn't really save any code...
Any thoughts on this?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1289 bytes
Desc: not available
More information about the xorg