From fdcdfa1e220c5070072d5dac9523cd105e7406c2 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 10 Oct 2018 14:43:48 +0100 Subject: 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 Reviewed-by: Matthew Auld --- tests/perf.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/perf.c') 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 -- cgit v1.2.3