All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_plane_lowres: Test only with one plane
@ 2020-01-17  9:17 Mika Kahola
  2020-01-17 10:00 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mika Kahola @ 2020-01-17  9:17 UTC (permalink / raw)
  To: igt-dev

The test is intended to test resolution changes from higher to
lower and back. We can test this with only one plane and we don't
need to run through all planes. This will save significant amount
of test execution time.

Fix for
Bugzilla: https://gitlab.freedesktop.org/drm/intel/issues/899

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 tests/kms_plane_lowres.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c
index 4c3f5636..ee6fb1fb 100644
--- a/tests/kms_plane_lowres.c
+++ b/tests/kms_plane_lowres.c
@@ -208,7 +208,8 @@ test_planes_on_pipe_with_output(data_t *data, enum pipe pipe,
 		igt_assert_crc_equal(&data->ref_lowres.crc, &crc_lowres);
 
 		igt_plane_set_fb(plane, NULL);
-		tested++;
+		if (tested++)
+			break;
 	}
 
 	igt_pipe_crc_free(pipe_crc);
-- 
2.17.1

_______________________________________________
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-01-22  8:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17  9:17 [igt-dev] [PATCH i-g-t] tests/kms_plane_lowres: Test only with one plane Mika Kahola
2020-01-17 10:00 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-01-17 12:13 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2020-01-17 12:44   ` Kahola, Mika
2020-01-17 13:15     ` Petri Latvala
2020-01-17 14:35       ` Kahola, Mika
2020-01-20 12:02         ` Petri Latvala
2020-01-20 17:19           ` Ville Syrjälä
2020-01-22  8:55             ` Kahola, Mika
2020-01-20 11:39 ` [igt-dev] ✓ Fi.CI.IGT: success for " 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.