[igt-dev] [PATCH i-g-t v2 2/4] tests/perf: buffer-fill: drop load helper usage
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Oct 15 16:20:39 UTC 2018
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 at intel.com>
---
tests/perf.c | 6 ------
1 file changed, 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
--
2.19.1
More information about the igt-dev
mailing list