summaryrefslogtreecommitdiff
path: root/tests/gem_spin_batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_spin_batch.c')
-rw-r--r--tests/gem_spin_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_spin_batch.c b/tests/gem_spin_batch.c
index 3f97074c..bb63fb38 100644
--- a/tests/gem_spin_batch.c
+++ b/tests/gem_spin_batch.c
@@ -43,7 +43,7 @@ static void spin(int fd, unsigned int engine, unsigned int timeout_sec)
spin = igt_spin_batch_new(fd, engine, 0);
while ((elapsed = igt_nsec_elapsed(&tv)) >> 30 < timeout_sec) {
- igt_spin_t *next = igt_spin_batch_new(fd, engine, 0);
+ igt_spin_t *next = __igt_spin_batch_new(fd, engine, 0);
igt_spin_batch_set_timeout(spin,
timeout_100ms - igt_nsec_elapsed(&itv));