[igt-dev] [PATCH i-g-t 1/2] test/intel/xe_guc_pc: Skip freq_*_idle tests on PVC

Badal Nilawar badal.nilawar at intel.com
Fri Nov 24 10:29:45 UTC 2023


PVC does not support RC6 so skip freq_fixed_idle and freq_range_idle
tests.

Signed-off-by: Badal Nilawar <badal.nilawar at intel.com>
---
 tests/intel/xe_guc_pc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/xe_guc_pc.c b/tests/intel/xe_guc_pc.c
index 3376e838f..c23017501 100644
--- a/tests/intel/xe_guc_pc.c
+++ b/tests/intel/xe_guc_pc.c
@@ -295,6 +295,7 @@ igt_main
 	}
 
 	igt_subtest("freq_fixed_idle") {
+		igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
 		xe_for_each_gt(fd, gt) {
 			igt_require_f(igt_wait(xe_is_gt_in_c6(fd, gt), 1000, 10),
 				      "GT %d should be in C6\n", gt);
@@ -303,6 +304,7 @@ igt_main
 	}
 
 	igt_subtest("freq_range_idle") {
+		igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
 		xe_for_each_gt(fd, gt) {
 			igt_require_f(igt_wait(xe_is_gt_in_c6(fd, gt), 1000, 10),
 				      "GT %d should be in C6\n", gt);
-- 
2.25.1



More information about the igt-dev mailing list