mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 00:38:06 +02:00
venus: fix a renderer side queue timeline bound race
Timeline assignment has been asynchronous upon vkGetDeviceQueue2. However, fence submission via vq can get ahead of it for things like ring and vq synchronization. This change fixes vkGetDeviceQueue2 to be synchronous instead, which is fine since it's off the critical path. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41582>
This commit is contained in:
parent
0be2d71ad1
commit
e6734ed39e
1 changed files with 2 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ vn_queue_init(struct vn_device *dev,
|
|||
};
|
||||
|
||||
VkQueue queue_handle = vn_queue_to_handle(queue);
|
||||
vn_async_vkGetDeviceQueue2(dev->primary_ring, vn_device_to_handle(dev),
|
||||
&device_queue_info, &queue_handle);
|
||||
vn_call_vkGetDeviceQueue2(dev->primary_ring, vn_device_to_handle(dev),
|
||||
&device_queue_info, &queue_handle);
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue