radv: fix write event eop on vega.
authorDave Airlie <airlied@redhat.com>
Tue, 6 Jun 2017 00:39:16 +0000 (10:39 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Jun 2017 00:43:19 +0000 (10:43 +1000)
Typo here, fixes command submission hangs on vega

src/amd/vulkan/radv_cmd_buffer.c

index 22e67f9cc4d8bbdca0d178ce9387401fc0ae2ac1..c91c7b918801c41ad86dfabe2fba2de70ec5ca97 100644 (file)
@@ -3300,7 +3300,7 @@ static void write_event(struct radv_cmd_buffer *cmd_buffer,
         * the stage mask. */
 
        si_cs_emit_write_event_eop(cs,
-                                  cmd_buffer->device->physical_device->rad_info.chip_class == CIK,
+                                  cmd_buffer->device->physical_device->rad_info.chip_class,
                                   false,
                                   EVENT_TYPE_BOTTOM_OF_PIPE_TS, 0,
                                   1, va, 2, value);