diff options
author | Paul Kocialkowski <paul.kocialkowski@linux.intel.com> | 2017-07-04 16:33:19 +0300 |
---|---|---|
committer | Lyude <lyude@redhat.com> | 2017-07-06 11:55:53 -0400 |
commit | ebd6eb69f57b0f36a4bf9978b5c47ba4be86d261 (patch) | |
tree | bf6f229ff0e8e0b149c3fc929d0f7ca79080a6ba /lib/igt_aux.h | |
parent | 80aa69fd675bce77dda751e5e5c5d651e9f08e1e (diff) |
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 <paul.kocialkowski@linux.intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |