panvk: Fix use of cs_sync64_wait in cmd_wait_event
The sync objects used by events are of type panvk_cs_sync32, making this mismatch hit an assert in cs_to_reg_tuple. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11886 Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31221>
This commit is contained in:
committed by
Marge Bot
parent
8f053e10de
commit
d63da63f3f
@@ -132,7 +132,7 @@ cmd_wait_event(struct panvk_cmd_buffer *cmdbuf, struct panvk_event *event,
|
||||
(j * sizeof(struct panvk_cs_sync32)));
|
||||
|
||||
cs_move32_to(b, seqno, 0);
|
||||
cs_sync64_wait(b, false, MALI_CS_CONDITION_GREATER, seqno, sync_addr);
|
||||
cs_sync32_wait(b, false, MALI_CS_CONDITION_GREATER, seqno, sync_addr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user