Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v4 1/2] tests/kms_rotation_crc: reduce execution time
@ 2021-01-20 11:41 Jeevan B
  2021-01-20 11:41 ` [igt-dev] [PATCH i-g-t v4 2/2] HAX remove rotation tests from blacklist Jeevan B
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jeevan B @ 2021-01-20 11:41 UTC (permalink / raw)
  To: igt-dev

Restricting the execution to 2 pipes
with this change we see 50% improvement in time efficiency.

v2: Updated commit message.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
 tests/kms_rotation_crc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 33a97cca..cc404a61 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -421,6 +421,10 @@ static void test_plane_rotation(data_t *data, int plane_type, bool test_bad_form
 		if (IS_CHERRYVIEW(data->devid) && pipe != PIPE_B)
 			continue;
 
+		/* restricting the execution to 2 pipes to reduce execution time*/
+		if (pipe > PIPE_B && !data->extended)
+			break;
+
 		igt_output_set_pipe(output, pipe);
 
 		plane = igt_output_get_plane_type(output, plane_type);
-- 
2.19.1

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

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

end of thread, other threads:[~2021-01-21 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20 11:41 [igt-dev] [PATCH i-g-t v4 1/2] tests/kms_rotation_crc: reduce execution time Jeevan B
2021-01-20 11:41 ` [igt-dev] [PATCH i-g-t v4 2/2] HAX remove rotation tests from blacklist Jeevan B
2021-01-20 12:20 ` [igt-dev] [PATCH i-g-t v4 1/2] tests/kms_rotation_crc: reduce execution time Petri Latvala
2021-01-21  9:59   ` B, Jeevan
2021-01-21 10:04     ` Petri Latvala
2021-01-20 13:33 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,v4,1/2] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox