Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3] tests/intel/xe_oa: Preventing test failures by omitting rc6 disable test if 'gtidle' node is missing
@ 2024-10-07  4:22 Soham Purkait
  2024-10-07 17:43 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Soham Purkait @ 2024-10-07  4:22 UTC (permalink / raw)
  To: igt-dev; +Cc: riana.tauro, anshuman.gupta, soham.purkait

Rc6 disable test has been modified in order to check for 'gtidle'
node to skip residency tests on VF devices where this node is not
present, preventing test failure.

v3: Commit message rephrasing

Signed-off-by: Soham Purkait <soham.purkait@intel.com>
---
 tests/intel/xe_oa.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index b4dfcced7..6a3d36559 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -4649,8 +4649,10 @@ igt_main
 			test_oa_unit_concurrent_oa_buffer_read();
 	}
 
-	igt_subtest("rc6-disable")
+	igt_subtest("rc6-disable"){
+		igt_require(xe_sysfs_gt_has_node(drm_fd, 0, "gtidle"));
 		test_rc6_disable();
+	}
 
 	igt_subtest_with_dynamic("stress-open-close") {
 		__for_one_hwe_in_oag(hwe)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH i-g-t v3] tests/intel/xe_oa: Preventing test failures by omitting rc6 disable test if 'gtidle' node is missing
@ 2024-10-07 19:05 Soham Purkait
  2024-10-08  5:25 ` Riana Tauro
  0 siblings, 1 reply; 7+ messages in thread
From: Soham Purkait @ 2024-10-07 19:05 UTC (permalink / raw)
  To: igt-dev; +Cc: riana.tauro, anshuman.gupta, soham.purkait, ashutosh.dixit

Rc6 disable test has been modified in order to check for 'gtidle'
node to skip residency tests on VF devices where this node is not
present, preventing test failure.

v3: Commit message fixed (Ashutosh)
    Space added before curly braces (Riana)

Signed-off-by: Soham Purkait <soham.purkait@intel.com>
---
 tests/intel/xe_oa.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index b4dfcced7..92f5828c7 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -4649,8 +4649,10 @@ igt_main
 			test_oa_unit_concurrent_oa_buffer_read();
 	}
 
-	igt_subtest("rc6-disable")
+	igt_subtest("rc6-disable") {
+		igt_require(xe_sysfs_gt_has_node(drm_fd, 0, "gtidle"));
 		test_rc6_disable();
+	}
 
 	igt_subtest_with_dynamic("stress-open-close") {
 		__for_one_hwe_in_oag(hwe)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-08 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07  4:22 [PATCH i-g-t v3] tests/intel/xe_oa: Preventing test failures by omitting rc6 disable test if 'gtidle' node is missing Soham Purkait
2024-10-07 17:43 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-10-07 17:54 ` ✓ CI.xeBAT: " Patchwork
2024-10-08  7:40 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-08 15:51 ` ✗ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 19:05 [PATCH i-g-t v3] " Soham Purkait
2024-10-08  5:25 ` Riana Tauro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox