From ebd6eb69f57b0f36a4bf9978b5c47ba4be86d261 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Tue, 4 Jul 2017 16:33:19 +0300 Subject: Make igtrc configuration common, with configurable suspend/resume delay This adds support for configurable suspend/resume delay and takes the occasion to move igtrc configuation from igt_chamelium to igt_core. This way, suspend/resume delay configuration can be used for all tests. Signed-off-by: Paul Kocialkowski Reviewed-by: Lyude Paul --- lib/igt_aux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_aux.h') diff --git a/lib/igt_aux.h b/lib/igt_aux.h index 54b97164..499a1679 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -192,6 +192,7 @@ enum igt_suspend_test { void igt_system_suspend_autoresume(enum igt_suspend_state state, enum igt_suspend_test test); void igt_set_autoresume_delay(int delay_secs); +int igt_get_autoresume_delay(enum igt_suspend_state state); /* dropping priviledges */ void igt_drop_root(void); -- cgit v1.2.3