summaryrefslogtreecommitdiff
path: root/benchmarks/gem_exec_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/gem_exec_ctx.c')
-rw-r--r--benchmarks/gem_exec_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_exec_ctx.c b/benchmarks/gem_exec_ctx.c
index 58ebf0b4..312563c0 100644
--- a/benchmarks/gem_exec_ctx.c
+++ b/benchmarks/gem_exec_ctx.c
@@ -141,7 +141,7 @@ static int loop(unsigned ring, int reps, enum mode mode)
break;
case DEFAULT:
- fd = fds[count & 1];
+ fd = fds[loops & 1];
break;
case NOP: