Thread (6 messages) 6 messages, 3 authors, 2021-01-21

Re: [igt-dev] [PATCH i-g-t v4 1/2] tests/kms_rotation_crc: reduce execution time

From: Petri Latvala <hidden>
Date: 2021-01-20 12:20:41

On Wed, Jan 20, 2021 at 05:11:43PM +0530, Jeevan B wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
Reviewed-by: Uma Shankar <redacted>
---
 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;
+
What's the plan for platforms that might have two pipes as A+C?


-- 
Petri Latvala
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help