summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gem_ctx_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
index 80ebce5d..b6ea71cf 100644
--- a/tests/gem_ctx_switch.c
+++ b/tests/gem_ctx_switch.c
@@ -120,7 +120,7 @@ static void single(int fd, uint32_t handle,
igt_while_interruptible(flags & INTERRUPTIBLE) {
for (int loop = 0; loop < 64; loop++) {
execbuf.rsvd1 = contexts[loop % 64];
- reloc.presumed_offset = 0;
+ reloc.presumed_offset = -1;
gem_execbuf(fd, &execbuf);
}
count += 64;