From a765aa108105804c19096554447ad0cb71f64fc3 Mon Sep 17 00:00:00 2001 From: Mika Kuoppala Date: Wed, 17 Apr 2019 18:28:33 +0300 Subject: lib/igt_dummyload: Get rid of 'batch' on spinner accessors There is no guarantee that spinners are and will be implemented using batches. As we have igt_spin_t, manipulate it through igt_spin_* functions consistently and hide the batch nature. Cc: Chris Wilson Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson --- lib/igt_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_core.c') diff --git a/lib/igt_core.c b/lib/igt_core.c index ae03e909..3141d923 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1007,7 +1007,7 @@ static void exit_subtest(const char *result) fprintf(stderr, "Subtest %s: %s (%.3fs)\n", in_subtest, result, igt_time_elapsed(&subtest_time, &now)); - igt_terminate_spin_batches(); + igt_terminate_spins(); in_subtest = NULL; siglongjmp(igt_subtest_jmpbuf, 1); @@ -1915,7 +1915,7 @@ static void call_exit_handlers(int sig) { int i; - igt_terminate_spin_batches(); + igt_terminate_spins(); if (!exit_handler_count) { return; -- cgit v1.2.3