From 66467144d0f824115debcbb294e4fcb500990542 Mon Sep 17 00:00:00 2001 From: Aitor Camacho Date: Fri, 10 Mar 2023 17:41:36 +0100 Subject: [PATCH] Avoid watchdog timeout in dEQP-Vk.api.external.*.export_multiple_times_* Mentioned tests now take longer than watchdog's time limit for the interval. Affects: dEQP-VK.api.external.*.export_multiple_times_* Components: Vulkan VK-GL-CTS issue: 4331 Change-Id: I81abe9a30945cf2cfe4feb460f66a6dcdedbafcd --- external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp index 4c0ed0b..2c82482 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp @@ -1418,6 +1418,9 @@ tcu::TestStatus testSemaphoreMultipleExports (Context& context, { NativeHandle handle; + // Need to touch watchdog due to how long one iteration takes + context.getTestContext().touchWatchdog(); + if (transference == TRANSFERENCE_COPY) { submitAtomicCalculationsAndGetSemaphoreNative(context, vkd, *device, alloc, queue, queueFamilyIndex, *semaphore, config.externalType, handle); @@ -2487,6 +2490,9 @@ tcu::TestStatus testFenceMultipleExports (Context& context, { NativeHandle handle; + // Need to touch watchdog due to how long one iteration takes + context.getTestContext().touchWatchdog(); + if (transference == TRANSFERENCE_COPY) { submitAtomicCalculationsAndGetFenceNative(context, vkd, *device, alloc, queue, queueFamilyIndex, *fence, config.externalType, handle, exportNdx == 0 /* expect fence to be signaled after first pass */); -- 2.7.4