[PATCH xserver (v4) 06/10] Add fence sync driver interface

Keith Packard keithp at keithp.com
Mon Dec 6 17:14:43 PST 2010


On Mon, 6 Dec 2010 14:53:20 -0800, James Jones <jajones at nvidia.com> wrote:
> -Add fence sync objects
> 
> -Add fence sync devPrivates
> 
> -Add a X sync module screen private
> 
> -Add wrappable functions to create and destroy
>  fence sync objects
> 
> -Give fence sync objects wrappable functions to
>  trigger, test, and reset their 'triggered' value.
> 
> -Give fence sync objects wrappable functions to
>  notify driver when adding/removing triggers to/
>  from the sync object.
> 
> Signed-off-by: James Jones <jajones at nvidia.com>

> +    int 	    s;
> +
> +    for (s = 0; s < screenInfo.numScreens; s++)
> +	miSyncSetup(screenInfo.screens[s]);

Note that this is happening very late in the server initialization
process, and if drivers need to talk to the sync extension during
ScreenInit time, you'll need to handle that case. I can't tell if that
is required though.

So far so good, although mi fences look pretty boring at this point :-)

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101206/7523559f/attachment.pgp>


More information about the xorg-devel mailing list