From 148876d424cb26ad28f0a3333792da3558a39ac9 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 18 Feb 2019 14:49:52 +0100 Subject: [PATCH] turnip: Make tu6_emit_event_write shared. --- src/freedreno/vulkan/tu_cmd_buffer.c | 2 +- src/freedreno/vulkan/tu_private.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index f307c145e16..9022e2359ba 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -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, diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index c64d4ce4957..f9af1031aa9 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -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, -- 2.30.2