[igt-dev] [i-g-t] i915/dg2/pm_rpm: skip basic-rte subtest for Dg2

Anusha Srivatsa anusha.srivatsa at intel.com
Fri Apr 22 00:35:22 UTC 2022


As part of IGT cleanup we need to understand if the IGT needs
to change for discrete graphics scenario or need new subtests.
As of now this fails with MMIO BARS on DG2.
Lets skip the test temporarily till we completely understand the
use case for dgfx before we run this again with confidence.

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
---
 tests/i915/i915_pm_rpm.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index 461730e8..1395718d 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -2049,6 +2049,17 @@ static struct option long_options[] = {
 igt_main_args("", long_options, help_str, opt_handler, NULL)
 {
 	igt_subtest("basic-rte") {
+	/* TODO As a part of IGT cleanup, lets understand if the test needs
+	 * changes for DG2.
+	 * This tests results in MMIO BARs when run on DG2. The igt_require()
+	 * below does state the test to SKIP in case system is not cnfigured
+	 * properly. However on DG2 instead of skipping smoothly it  causes MMIO
+	 * BAR resulting in hang. Till we have understood
+	 * if the test makes sense to be run on DG2 or needs any changes for
+	 * discrete GPU case, lets explicitly SKIP it
+	 */
+               igt_skip_on(IS_DG2(ms_data.devid));
+
 		igt_assert(setup_environment(false));
 		basic_subtest();
 	}
-- 
2.25.1



More information about the igt-dev mailing list