diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2018-10-10 14:43:48 +0100 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2018-11-20 13:27:47 +0000 |
commit | fdcdfa1e220c5070072d5dac9523cd105e7406c2 (patch) | |
tree | 876a1603d5be459df93c5f690058b01ec428860d /tests | |
parent | 68264891ceee34195839d82d4d87cbae08ef2431 (diff) |
tests/perf: buffer-fill: drop load helper usage
It makes the tests more reliable because the expected number of
reports is more acurate (given that we'll have almost no
context-switch reports).
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/perf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/perf.c b/tests/perf.c index 4f09aef7..72e00132 100644 --- a/tests/perf.c +++ b/tests/perf.c @@ -2377,9 +2377,6 @@ test_buffer_fill(void) int n_full_oa_reports = oa_buf_size / report_size; uint64_t fill_duration = n_full_oa_reports * oa_period; - load_helper_init(); - load_helper_run(HIGH); - igt_assert(fill_duration < 1000000000); stream_fd = __perf_open(drm_fd, ¶m, true /* prevent_pm */); @@ -2492,9 +2489,6 @@ test_buffer_fill(void) free(buf); __perf_close(stream_fd); - - load_helper_stop(); - load_helper_fini(); } static void |