panvk: Only restrict iter scoreboards on v10

Now that all paths support indirect wait for iter scoreboards, we can
remove the previous limit.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35307>
This commit is contained in:
Mary Guillemard 2025-06-03 11:01:46 +02:00 committed by Marge Bot
parent cf8c71c0a0
commit 1879b33877

View file

@ -327,8 +327,13 @@ panvk_per_arch(create_device)(struct panvk_physical_device *physical_device,
device->csf.sb.all_mask = BITFIELD_MASK(device->csf.sb.count);
assert(device->csf.sb.count > PANVK_SB_ITER_START);
device->csf.sb.iter_count = device->csf.sb.count - PANVK_SB_ITER_START;
#if PAN_ARCH == 10
device->csf.sb.iter_count =
MIN2(device->csf.sb.count - PANVK_SB_ITER_START, PANVK_SB_ITER_COUNT);
MIN2(device->csf.sb.iter_count, PANVK_SB_ITER_COUNT);
#endif
device->csf.sb.all_iters_mask =
BITFIELD_RANGE(PANVK_SB_ITER_START, device->csf.sb.iter_count);
#endif