Lines Matching +full:sync +full:- +full:active
2 * sync fence wait tests
3 * Copyright 2015-2016 Collabora Ltd.
28 #include "sync.h"
36 int valid, active, signaled, ret; in test_fence_multi_timeline_wait() local
53 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
54 ASSERT(active == 3, "Fence signaled too early!\n"); in test_fence_multi_timeline_wait()
61 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
63 ASSERT(active == 2 && signaled == 1, in test_fence_multi_timeline_wait()
67 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
69 ASSERT(active == 1 && signaled == 2, in test_fence_multi_timeline_wait()
73 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
75 ASSERT(active == 0 && signaled == 3, in test_fence_multi_timeline_wait()