diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-02-18 14:49:52 +0100 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:02:13 -0700 |
commit | 148876d424cb26ad28f0a3333792da3558a39ac9 (patch) | |
tree | 93a7a3fb4607d4507122ff41dce393aeef2803cb /src/freedreno | |
parent | 72384715873f3b7d5a4403e2381d8fbd896c891c (diff) |
turnip: Make tu6_emit_event_write shared.
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/vulkan/tu_cmd_buffer.c | 2 | ||||
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 6 |
2 files changed, 7 insertions, 1 deletions
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, |