diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/i915/gem_exec_nop.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/i915/gem_exec_nop.c b/tests/i915/gem_exec_nop.c index 357449c5..c17d672c 100644 --- a/tests/i915/gem_exec_nop.c +++ b/tests/i915/gem_exec_nop.c @@ -682,23 +682,6 @@ static void series(int fd, uint32_t handle, int timeout) time = elapsed(&start, &now) / count; igt_info("All (%d engines): %'lu cycles, average %.3fus per cycle [expected %.3fus]\n", nengine, count, 1e6*time, 1e6*((max-min)/nengine+min)); - - /* The rate limiting step should be how fast the slowest engine can - * execute its queue of requests, as when we wait upon a full ring all - * dispatch is frozen. So in general we cannot go faster than the - * slowest engine (but as all engines are in lockstep, they should all - * be executing in parallel and so the average should be max/nengines), - * but we should equally not go any slower. - * - * However, that depends upon being able to submit fast enough, and - * that in turns depends upon debugging turned off and no bottlenecks - * within the driver. We cannot assert that we hit ideal conditions - * across all engines, so we only look for an outrageous error - * condition. - */ - igt_assert_f(time < 2*sum, - "Average time (%.3fus) exceeds expectation for parallel execution (min %.3fus, max %.3fus; limit set at %.3fus)\n", - 1e6*time, 1e6*min, 1e6*max, 1e6*sum*2); } static void xchg(void *array, unsigned i, unsigned j) |
