summaryrefslogtreecommitdiff
path: root/tests/amdgpu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/amdgpu')
-rw-r--r--tests/amdgpu/amd_prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/amd_prime.c b/tests/amdgpu/amd_prime.c
index bb68ccf3..9bf298a4 100644
--- a/tests/amdgpu/amd_prime.c
+++ b/tests/amdgpu/amd_prime.c
@@ -348,7 +348,7 @@ static void amd_to_i915(int i915, int amd, amdgpu_device_handle device)
count = 0;
size = 64 << 10;
contexts = malloc(size * sizeof(*contexts));
- igt_until_timeout(5) {
+ igt_until_timeout(2) { /* must all complete within vgem timeout (10s) */
if (count == size) {
size *= 2;
contexts = realloc(contexts, size * sizeof(*contexts));