[PATCH] add EXA relocation function
Jesse Barnes
jbarnes at virtuousgeek.org
Fri Dec 7 13:52:16 PST 2007
On Friday, December 07, 2007 1:33 pm Jesse Barnes wrote:
> 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?
Updated with a version bump and intel driver support.
Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exa-base-update-2.patch
Type: text/x-diff
Size: 1504 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071207/8e3b45a8/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i830-exa-relocation.patch
Type: text/x-diff
Size: 2192 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071207/8e3b45a8/attachment-0001.patch>
More information about the xorg
mailing list