[igt-dev] [PATCH i-g-t 1/2] test/intel/xe_guc_pc: Skip freq_*_idle tests on PVC
Ch, Sai Gowtham
sai.gowtham.ch at intel.com
Fri Nov 24 11:21:52 UTC 2023
>-----Original Message-----
>From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Badal
>Nilawar
>Sent: Friday, November 24, 2023 4:00 PM
>To: igt-dev at lists.freedesktop.org
>Subject: [igt-dev] [PATCH i-g-t 1/2] test/intel/xe_guc_pc: Skip freq_*_idle tests
>on PVC
>
>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)));
LGTM
Reviewed-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> 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