u_queue: export util_queue_fence_signal
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:29 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 10:37:38 +0000 (11:37 +0100)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/u_queue.c
src/util/u_queue.h

index 3b05110e9f8aa548d301cbf560f0b9477361168d..33436e0749ad556a4a2f0122dd5c58c3bd4f29b9 100644 (file)
@@ -89,7 +89,7 @@ remove_from_atexit_list(struct util_queue *queue)
  * util_queue_fence
  */
 
-static void
+void
 util_queue_fence_signal(struct util_queue_fence *fence)
 {
    mtx_lock(&fence->mutex);
index 7a028ef0847058ce5d46643027e675150b3157c0..5a546e53fdca89bb8b9a9e3a6f788f40eda8e0b0 100644 (file)
@@ -57,6 +57,7 @@ struct util_queue_fence {
 void util_queue_fence_init(struct util_queue_fence *fence);
 void util_queue_fence_destroy(struct util_queue_fence *fence);
 void util_queue_fence_wait(struct util_queue_fence *fence);
+void util_queue_fence_signal(struct util_queue_fence *fence);
 
 static inline bool
 util_queue_fence_is_signalled(struct util_queue_fence *fence)