diff options
author | Yahan Zhou <yahan@google.com> | 2023-10-04 15:45:18 -0700 |
---|---|---|
committer | Yahan Zhou <yahan@google.com> | 2023-10-04 15:46:34 -0700 |
commit | 203ac186e2f30e6d668ef581de54455e20350601 (patch) | |
tree | daeb3273d18adbfbfa4547b27b54d6c965e414b5 | |
parent | e4355a9014f9fb33f388cfa70d7f51622a554a9f (diff) | |
download | goldfish-opengl-203ac186e2f30e6d668ef581de54455e20350601.tar.gz |
Create sync device before calling goldfish_sync_queue_work
dEQP-VK.wsi.android.maintenance1.* becomes flaky (instead of hard
failure) after the fix.
Bug: 300276632
Test: reduce logspam in dEQP-VK.wsi.android.maintenance1.*
Change-Id: Ib13a25fe87126d4d0ab1ba0fcbc489e897e111d5
Merged-In: If0c1896c6acef97db9ec3ae3abfe88eea333b42f
-rw-r--r-- | system/vulkan_enc/ResourceTracker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/vulkan_enc/ResourceTracker.cpp b/system/vulkan_enc/ResourceTracker.cpp index ce38dd7b..28bc110f 100644 --- a/system/vulkan_enc/ResourceTracker.cpp +++ b/system/vulkan_enc/ResourceTracker.cpp @@ -7241,6 +7241,7 @@ public: *fd = exec.handle.osHandle; } else { + ensureSyncDeviceFd(); goldfish_sync_queue_work( mSyncDeviceFd, get_host_u64_VkImage(image) /* the handle */, |