mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
panvk: report queue lost timely when PANVK_DEBUG=sync
When PANVK_DEBUG=sync detects a failed job, report queue lost immediately. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32166>
This commit is contained in:
parent
c631f1d1b6
commit
a52ffa9f24
1 changed files with 1 additions and 1 deletions
|
|
@ -687,7 +687,7 @@ panvk_queue_submit(struct vk_queue *vk_queue, struct vk_queue_submit *submit)
|
|||
for (uint32_t i = 0; i < PANVK_SUBQUEUE_COUNT; i++) {
|
||||
if (debug_syncs[i].seqno != debug_sync_points[i] ||
|
||||
debug_syncs[i].error != 0)
|
||||
assert(!"Incomplete job or timeout\n");
|
||||
vk_queue_set_lost(&queue->vk, "Incomplete job or timeout");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue