panvk/csf: Fix a wait-LS operation in finish_cs()

cs_wait_slots() expects a mask, cs_wait_slot() a slot ID.

Fixes: 5544d39f44 ("panvk: Add a CSF backend for panvk_queue/cmd_buffer")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
(cherry picked from commit c3ff3f2405)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32261>
This commit is contained in:
Boris Brezillon
2024-11-12 16:19:11 +01:00
committed by Dylan Baker
parent 1c6b2f701c
commit de9faec619
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ finish_cs(struct panvk_cmd_buffer *cmdbuf, uint32_t subqueue)
/* Overwrite the sync error with the first error we encountered. */
cs_store32(b, error, debug_sync_addr,
offsetof(struct panvk_cs_sync32, error));
cs_wait_slots(b, SB_ID(LS), false);
cs_wait_slot(b, SB_ID(LS), false);
}
}
}