[igt-dev] [PATCH i-g-t v2 2/2] tests/xe/xe_guc_pc: Skip RC6 tests for PVC

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Wed Mar 29 22:23:31 UTC 2023


The Pontevecchio (PVC) platform doesn't have rc6 support yet.
Skip rc6_on_idle and rc0_on_exec subtests for PVC.

v2: Assert for !IS_PONTEVECCHIO()

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
---
 tests/xe/xe_guc_pc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/xe/xe_guc_pc.c b/tests/xe/xe_guc_pc.c
index 60c93288b..39a755d76 100644
--- a/tests/xe/xe_guc_pc.c
+++ b/tests/xe/xe_guc_pc.c
@@ -467,12 +467,14 @@ igt_main
 	}
 
 	igt_subtest("rc6_on_idle") {
+		igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
 		xe_for_each_gt(fd, gt) {
 			assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
 		}
 	}
 
 	igt_subtest("rc0_on_exec") {
+		igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
 		xe_for_each_gt(fd, gt) {
 			assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
 			xe_for_each_hw_engine(fd, hwe)
-- 
2.21.0.rc0.32.g243a4c7e27



More information about the igt-dev mailing list