summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-05-21 10:57:02 -0700
committerRob Clark <robdclark@chromium.org>2022-05-31 14:05:16 -0700
commit5857938d4d3539deb43ecb03604b7c664b75e57d (patch)
treecdf66e4b2ed29d192503e81291dd35cf0ae38fbc /lib/igt_aux.c
parent9ce1c981ab12b2036cce6eeaa725e724c8e51668 (diff)
igt: Promote/rename OS helpers
Promote intel_os.c helpers to igt_os.c, so that I can re-use them for some additional msm tests. Just big churny rename, no functional change. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r--lib/igt_aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 9431960f..35c67f10 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -873,7 +873,7 @@ void igt_system_suspend_autoresume(enum igt_suspend_state state,
faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0);
igt_skip_on_f(state == SUSPEND_STATE_DISK &&
- !intel_get_total_swap_mb(),
+ !igt_get_total_swap_mb(),
"Suspend to disk requires swap space.\n");
orig_test = get_suspend_test(power_dir);