diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-17 12:42:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-17 15:03:41 +0000 |
commit | 03bc7397194c171287252fce92d5c43611347a69 (patch) | |
tree | 7afb4f8b95a0ed62270998f24244c4722cf56021 /lib/sw_sync.h | |
parent | 70f0700e60d66f8b25e33c8f5efe57cb3d4eb534 (diff) |
lib/sw_sync: Rename sync_fence_create()
It takes a sw_sync_timeline and returns a fence (it is a factory), so
call it sw_sync_timeline_create_fence() for better self-documentation.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/sw_sync.h')
-rw-r--r-- | lib/sw_sync.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sw_sync.h b/lib/sw_sync.h index d7629241..1724d6b6 100644 --- a/lib/sw_sync.h +++ b/lib/sw_sync.h @@ -34,10 +34,11 @@ void igt_require_sw_sync(void); int sw_sync_timeline_create(void); -int __sw_sync_fence_create(int fd, uint32_t seqno); -int sw_sync_fence_create(int fd, uint32_t seqno); void sw_sync_timeline_inc(int fd, uint32_t count); +int __sw_sync_timeline_create_fence(int fd, uint32_t seqno); +int sw_sync_timeline_create_fence(int fd, uint32_t seqno); + int sync_fence_merge(int fd1, int fd2); int sync_fence_wait(int fence, int timeout); int sync_fence_count(int fd); |