diff options
author | Samuel Pitoiset <[email protected]> | 2018-10-31 12:00:11 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-11-05 09:48:50 +0100 |
commit | c571ca7a08e08604bfb2bc17445437ab55090ff8 (patch) | |
tree | 045c0da07b44e9ac75bb9bd1a39bac0b9faad457 /src/amd/vulkan/radv_query.c | |
parent | b1b2dd06a7b777e862b525302b15bcaf407d3648 (diff) |
radv: replace si_emit_wait_fence() with radv_cp_wait_mem()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_query.c')
-rw-r--r-- | src/amd/vulkan/radv_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c index 87a9ddf8993..e5fed673d16 100644 --- a/src/amd/vulkan/radv_query.c +++ b/src/amd/vulkan/radv_query.c @@ -1309,7 +1309,8 @@ void radv_CmdCopyQueryPoolResults( uint64_t avail_va = va + pool->availability_offset + 4 * query; /* This waits on the ME. All copies below are done on the ME */ - si_emit_wait_fence(cs, avail_va, 1, 0xffffffff); + radv_cp_wait_mem(cs, WAIT_REG_MEM_EQUAL, + avail_va, 1, 0xffffffff); } } radv_query_shader(cmd_buffer, &cmd_buffer->device->meta_state.query.pipeline_statistics_query_pipeline, |