benchmarks/gem_exec_ctx: Fix fd switching between default contexts

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-01-01 13:29:23 +00:00
parent bb35716d25
commit 276fb3d3f4

View File

@ -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: