Revert "panvk: Set the submit mode to THREADED_ON_DEMAND"

This reverts commit aedb00ca08.
vk_device_init is able to set the submit mode correctly based on
vk_sync_type.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31720>
This commit is contained in:
Chia-I Wu
2024-10-17 09:05:03 -07:00
committed by Marge Bot
parent d3eb432155
commit 60ade50d2d

View File

@@ -210,7 +210,6 @@ panvk_per_arch(create_device)(struct panvk_physical_device *physical_device,
device->vk.command_dispatch_table = &device->cmd_dispatch;
device->vk.command_buffer_ops = &panvk_per_arch(cmd_buffer_ops);
device->vk.shader_ops = &panvk_per_arch(device_shader_ops);
device->vk.submit_mode = VK_QUEUE_SUBMIT_MODE_THREADED_ON_DEMAND;
device->kmod.allocator = (struct pan_kmod_allocator){
.zalloc = panvk_kmod_zalloc,