[igt-dev] [PATCH i-g-t 1/1] tests/i915/i915_suspend: Extend system-suspend-without-i915 to support suspend-to-idle
Riana Tauro
riana.tauro at intel.com
Mon Apr 25 07:45:25 UTC 2022
From: "Tauro, Riana" <riana.tauro at intel.com>
Extending the test system-suspend-without-i915 to
run a suspend-to-idle cycle
Signed-off-by: Tauro, Riana <riana.tauro at intel.com>
---
tests/i915/i915_suspend.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/i915_suspend.c b/tests/i915/i915_suspend.c
index d34b7a5d..9a09f643 100644
--- a/tests/i915/i915_suspend.c
+++ b/tests/i915/i915_suspend.c
@@ -209,6 +209,7 @@ test_suspend_without_i915(void)
igt_kmsg(KMSG_INFO "Unloading i915\n");
igt_assert_eq(igt_i915_driver_unload(),0);
+ igt_system_suspend_autoresume(SUSPEND_STATE_FREEZE, SUSPEND_TEST_NONE);
igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
igt_kmsg(KMSG_INFO "Re-loading i915 \n");
--
2.25.1
More information about the igt-dev
mailing list