From 38e4467e99ad4ea6661ef0cfc54a9942bb872f66 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 28 Dec 2017 16:26:18 +1000 Subject: [PATCH] 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 Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2