[igt-dev] [PATCH i-g-t 2/4] tests/perf: buffer-fill: drop load helper usage

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Oct 10 16:57:45 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 16c1adb0..36877917 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -2363,9 +2363,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, &param, true /* prevent_pm */);
@@ -2478,9 +2475,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