diff options
author | Dave Airlie <[email protected]> | 2017-12-28 16:26:18 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-12-28 19:30:32 +1000 |
commit | 38e4467e99ad4ea6661ef0cfc54a9942bb872f66 (patch) | |
tree | cc1585d618f670e6404483719d060f85b3df9e5f /src | |
parent | ff75d3a9aa7e94e2e09b6121d5a0e78c730a1d82 (diff) |
radv: fix events on compute queues.
The event emission wasn't sending the correct packet for gfx8 compute
queues, which explains why it works on vega fine.
This fixes the mpv vulkan hang.
Fixes: ad61eac250 (radv: factor out eop event writing code. (v2))
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 6a89d4e568d..42468bceed2 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -4002,7 +4002,7 @@ static void write_event(struct radv_cmd_buffer *cmd_buffer, si_cs_emit_write_event_eop(cs, cmd_buffer->state.predicating, cmd_buffer->device->physical_device->rad_info.chip_class, - false, + radv_cmd_buffer_uses_mec(cmd_buffer), V_028A90_BOTTOM_OF_PIPE_TS, 0, 1, va, 2, value); |