[Intel-gfx] [PATCH i-g-t] tests/i915_pm_freq_api: Test s2idle instead of S3

Vinay Belgaumkar vinay.belgaumkar at intel.com
Wed Aug 30 23:38:36 UTC 2023


Test skips whenever S3 is not supported, use s2idle instead, which is
widely enabled.

Cc: Anshuman Gupta <anshuman.gupta at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
---
 tests/i915/i915_pm_freq_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_freq_api.c b/tests/i915/i915_pm_freq_api.c
index 2912287c4..03bd0d05b 100644
--- a/tests/i915/i915_pm_freq_api.c
+++ b/tests/i915/i915_pm_freq_api.c
@@ -125,7 +125,7 @@ static void test_suspend(int i915, int dirfd, int gt)
 		igt_assert_eq(req_freq, rpn);
 
 	/* Manually trigger a suspend */
-	igt_system_suspend_autoresume(SUSPEND_STATE_S3,
+	igt_system_suspend_autoresume(SUSPEND_STATE_FREEZE,
 				      SUSPEND_TEST_NONE);
 
 	req_freq = get_freq(dirfd, RPS_CUR_FREQ_MHZ);
-- 
2.38.1



More information about the Intel-gfx mailing list