summaryrefslogtreecommitdiff
path: root/lib/libdrm/tests/amdgpu/basic_tests.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-02-27 12:42:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-02-27 12:42:15 +0000
commit2df15e320e9b2d437bbaaa621230d88e1613a91e (patch)
treea2fc45dd2abba18a1e16d13b3106eed068478607 /lib/libdrm/tests/amdgpu/basic_tests.c
parent063b3c953168e33fb05bae894219ec61bc31d924 (diff)
Import libdrm 2.4.115
Diffstat (limited to 'lib/libdrm/tests/amdgpu/basic_tests.c')
-rw-r--r--lib/libdrm/tests/amdgpu/basic_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdrm/tests/amdgpu/basic_tests.c b/lib/libdrm/tests/amdgpu/basic_tests.c
index 42176c007..0e4a357bb 100644
--- a/lib/libdrm/tests/amdgpu/basic_tests.c
+++ b/lib/libdrm/tests/amdgpu/basic_tests.c
@@ -1293,7 +1293,7 @@ static void amdgpu_semaphore_test(void)
fence_status.ip_instance = 0;
fence_status.fence = ibs_request[1].seq_no;
r = amdgpu_cs_query_fence_status(&fence_status,
- 500000000, 0, &expired);
+ AMDGPU_TIMEOUT_INFINITE, 0, &expired);
CU_ASSERT_EQUAL(r, 0);
CU_ASSERT_EQUAL(expired, true);
@@ -1334,7 +1334,7 @@ static void amdgpu_semaphore_test(void)
fence_status.ip_instance = 0;
fence_status.fence = ibs_request[1].seq_no;
r = amdgpu_cs_query_fence_status(&fence_status,
- 500000000, 0, &expired);
+ AMDGPU_TIMEOUT_INFINITE, 0, &expired);
CU_ASSERT_EQUAL(r, 0);
CU_ASSERT_EQUAL(expired, true);