All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/i915_pm_rpm: Split the planes into dynamic subtests
@ 2020-04-22  8:10 Chris Wilson
  2020-04-22  8:12 ` Chris Wilson
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Chris Wilson @ 2020-04-22  8:10 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala, Chris Wilson

Use the dynamic subtests to allow the user to individually run the
per-plane rpm tests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
---
 tests/i915/i915_pm_rpm.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index 4f8124dc4..2521ae0dc 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -1803,7 +1803,8 @@ static void planes_subtest(bool universal, bool dpms)
 
 			type = universal ? get_plane_type(plane->plane_id) :
 					   PLANE_OVERLAY;
-			test_one_plane(dpms, plane->plane_id, type);
+			igt_dynamic_f("plane-%d\n", plane->plane_id)
+				test_one_plane(dpms, plane->plane_id, type);
 			planes_tested++;
 		}
 		drmModeFreePlane(plane);
@@ -2062,13 +2063,13 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 		cursor_subtest(false);
 	igt_subtest("cursor-dpms")
 		cursor_subtest(true);
-	igt_subtest("legacy-planes")
+	igt_subtest_with_dynamic("legacy-planes")
 		planes_subtest(false, false);
-	igt_subtest("legacy-planes-dpms")
+	igt_subtest_with_dynamic("legacy-planes-dpms")
 		planes_subtest(false, true);
-	igt_subtest("universal-planes")
+	igt_subtest_with_dynamic("universal-planes")
 		planes_subtest(true, false);
-	igt_subtest("universal-planes-dpms")
+	igt_subtest_with_dynamic("universal-planes-dpms")
 		planes_subtest(true, true);
 
 	/* Misc */
-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-22 10:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22  8:10 [igt-dev] [PATCH i-g-t] i915/i915_pm_rpm: Split the planes into dynamic subtests Chris Wilson
2020-04-22  8:12 ` Chris Wilson
2020-04-22  8:33   ` Petri Latvala
2020-04-22  8:36     ` Chris Wilson
2020-04-22  8:45       ` Petri Latvala
2020-04-22  9:06 ` [igt-dev] ✗ Fi.CI.BAT: failure for i915/i915_pm_rpm: Split the planes into dynamic subtests (rev2) Patchwork
2020-04-22  9:14   ` Petri Latvala
2020-04-22  9:43     ` Vudum, Lakshminarayana
2020-04-22  9:33 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2020-04-22 10:30 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.