Re: [Intel-gfx] [PATCH i-g-t v2 01/13] lib/sw_sync: Add helper functions for managing synchronization primitives

2016-09-14 Thread Robert Foss
On 2016-09-14 08:18 AM, Chris Wilson wrote: On Tue, Sep 13, 2016 at 11:40:18AM -0400, Robert Foss wrote: On 2016-09-13 07:03 AM, Chris Wilson wrote: Try: int __sw_sync_fence_create(int fd, int32_t seqno) /* int32_t not unsigned ? */ { struct sw_sync_create_fence_data data;

Re: [Intel-gfx] [PATCH i-g-t v2 01/13] lib/sw_sync: Add helper functions for managing synchronization primitives

2016-09-14 Thread Chris Wilson
On Tue, Sep 13, 2016 at 11:40:18AM -0400, Robert Foss wrote: > > > On 2016-09-13 07:03 AM, Chris Wilson wrote: > >Try: > > > >int __sw_sync_fence_create(int fd, int32_t seqno) /* int32_t not unsigned ? > >*/ > >{ > > > > struct sw_sync_create_fence_data data; > > > > memset(, 0,

Re: [Intel-gfx] [PATCH i-g-t v2 01/13] lib/sw_sync: Add helper functions for managing synchronization primitives

2016-09-13 Thread Robert Foss
On 2016-09-13 07:03 AM, Chris Wilson wrote: On Mon, Sep 12, 2016 at 06:08:30PM -0400, robert.f...@collabora.com wrote: From: Robert Foss Base functions to help testing the Sync File Framework (explicit fencing mechanism ported from Android). These functions allow

Re: [Intel-gfx] [PATCH i-g-t v2 01/13] lib/sw_sync: Add helper functions for managing synchronization primitives

2016-09-13 Thread Chris Wilson
On Mon, Sep 12, 2016 at 06:08:30PM -0400, robert.f...@collabora.com wrote: > From: Robert Foss > > Base functions to help testing the Sync File Framework (explicit fencing > mechanism ported from Android). > These functions allow you to create, use and destroy