From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: reduce execution time
Date: Tue, 12 Jan 2021 15:28:26 +0530 [thread overview]
Message-ID: <20210112095826.14352-1-jeevan.b@intel.com> (raw)
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 be27103f..f720a7af 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -425,6 +425,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
next reply other threads:[~2021-01-12 9:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-12 9:58 Jeevan B [this message]
2021-01-12 11:38 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_rotation_crc: reduce execution time (rev3) Patchwork
2021-01-12 16:40 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2020-12-29 7:46 [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: reduce execution time Jeevan B
2021-01-06 5:56 ` Shankar, Uma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210112095826.14352-1-jeevan.b@intel.com \
--to=jeevan.b@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.