mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 16:00:09 +01:00
Create sync device before calling goldfish_sync_queue_work
dEQP-VK.wsi.android.maintenance1.* becomes flaky (instead of hard failure) after the fix. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
parent
1019e5d4d8
commit
ba5cb9b65c
1 changed files with 1 additions and 0 deletions
|
|
@ -6754,6 +6754,7 @@ VkResult ResourceTracker::exportSyncFdForQSRILocked(VkImage image, int* fd) {
|
|||
|
||||
*fd = exec.handle.osHandle;
|
||||
} else {
|
||||
ensureSyncDeviceFd();
|
||||
goldfish_sync_queue_work(
|
||||
mSyncDeviceFd, get_host_u64_VkImage(image) /* the handle */,
|
||||
GOLDFISH_SYNC_VULKAN_QSRI /* thread handle (doubling as type field) */, fd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue