Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2] tests/intel/xe_oa: Check gtidle before rc6 disable test
@ 2024-10-03 11:57 Soham Purkait
  2024-10-03 12:25 ` Riana Tauro
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Soham Purkait @ 2024-10-03 11:57 UTC (permalink / raw)
  To: igt-dev; +Cc: riana.tauro, anshuman.gupta, soham.purkait

Rc6 disable test has been modified in order to check the
presence of gtidle node in sysfs gt0 path through the following
code snippets :
igt_require(xe_sysfs_gt_has_node(drm_fd, 0, "gtidle")).

As of now only Render GT (gt0) is used for rc6 disable test through OA
activation. Standalone Media (gt1) is not supported yet for the same.

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 9be4fd633..6538d6323 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -4644,8 +4644,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] 8+ messages in thread

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03 11:57 [PATCH i-g-t v2] tests/intel/xe_oa: Check gtidle before rc6 disable test Soham Purkait
2024-10-03 12:25 ` Riana Tauro
2024-10-03 16:57   ` Dixit, Ashutosh
2024-10-03 15:20 ` ✓ CI.xeBAT: success for " Patchwork
2024-10-03 15:22 ` ✗ CI.xeBAT: failure " Patchwork
2024-10-03 15:26 ` ✓ Fi.CI.BAT: success " Patchwork
2024-10-03 16:07 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-08  2:40 ` ✗ Fi.CI.IGT: " Patchwork

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