diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 21:41:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-17 21:44:00 +0100 |
commit | 49e083a29a0942309c877ea8e9275fa985a5bf25 (patch) | |
tree | 580ebbd902f5bcd2e316273f7d3f427b12980dfe /tests/gem_spin_batch.c | |
parent | 8910738e25fa701fcb6a1cebdfc6c7ea7e1213f7 (diff) |
igt/gem_spin_batch: Avoid interleave throttle within open spin batches
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101079
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_spin_batch.c')
-rw-r--r-- | tests/gem_spin_batch.c | 2 |
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)); |