turnip: Make tu6_emit_event_write shared.
authorBas Nieuwenhuizen <basni@chromium.org>
Mon, 18 Feb 2019 13:49:52 +0000 (14:49 +0100)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:02:13 +0000 (10:02 -0700)
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_private.h

index f307c145e166dd5ef40cc4d6b22d65085121087f..9022e2359ba37e87df6ac5e2867c0b17894d8d7e 100644 (file)
@@ -338,7 +338,7 @@ tu6_emit_marker(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
    tu_cs_emit_write_reg(cs, cmd->marker_reg, ++cmd->marker_seqno);
 }
 
-static void
+void
 tu6_emit_event_write(struct tu_cmd_buffer *cmd,
                      struct tu_cs *cs,
                      enum vgt_event_type event,
index c64d4ce49571092abb3f0ee4504b5e1136812e49..f9af1031aa98e875f27ccbfd9cd58cc8f3cebf35 100644 (file)
@@ -901,6 +901,12 @@ struct tu_cmd_buffer
    bool wait_for_idle;
 };
 
+void
+tu6_emit_event_write(struct tu_cmd_buffer *cmd,
+                     struct tu_cs *cs,
+                     enum vgt_event_type event,
+                     bool need_seqno);
+
 bool
 tu_get_memory_fd(struct tu_device *device,
                  struct tu_device_memory *memory,