Module: Mesa
Branch: master
Commit: 0e72dea46fd36422955a843f6a707b5a70d657d9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e72dea46fd36422955a843f6a707b5a70d657d9

Author: Dave Airlie <[email protected]>
Date:   Tue Jun  6 10:39:16 2017 +1000

radv: fix write event eop on vega.

Typo here, fixes command submission hangs on vega

---

 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 22e67f9cc4..c91c7b9188 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to