diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-01 13:29:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-01 14:38:07 +0000 |
commit | 276fb3d3f4bc0214454fe172106efce71c7b0ff0 (patch) | |
tree | d55699a8d2e086ecc72c4a33e82231a236fc539e /benchmarks/gem_exec_ctx.c | |
parent | bb35716d25999260c2cc491ed832a9a39f204dcb (diff) |
benchmarks/gem_exec_ctx: Fix fd switching between default contexts
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_exec_ctx.c')
-rw-r--r-- | benchmarks/gem_exec_ctx.c | 2 |
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: |