summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-06-06 10:39:16 +1000
committerDave Airlie <[email protected]>2017-06-06 10:43:19 +1000
commit0e72dea46fd36422955a843f6a707b5a70d657d9 (patch)
tree853001980baac04bf3c90c01eebeeb033e7fc39d /src/amd
parent65477bae9cfb884463708de1869e4c3ad392a5f4 (diff)
radv: fix write event eop on vega.
Typo here, fixes command submission hangs on vega
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c2
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 22e67f9cc4d..c91c7b91880 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -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);