From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the number of iterations on modeset-transition
Date: Thu, 7 Sep 2023 14:24:07 +0530 [thread overview]
Message-ID: <20230907085407.935-1-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20230829161759.9315-1-mohammed.thasleem@intel.com>
Due to the higher number of iterations, "modeset-transition" tests are
getting timed out on CI. Reducing the number of iterations can save a
lot of execution time.
Instead of having (2 ^ j) iterations, reduce it to (2 * j) where j is
the number of active pipes.
v2: Update commit message. (Swati)
v3: Update commit message and minor changes. (Bhanu)
v4: Add simulation check. (Kamil)
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/kms_atomic_transition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index a470eb88c..1eba6c5b5 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -966,7 +966,7 @@ retry:
}
}
- iter_max = 1 << j;
+ iter_max = (j > 0) ? (j << 1) : 1;
if (igt_run_in_simulation() && iter_max > 1)
iter_max = iter_max >> 1;
--
2.34.1
next prev parent reply other threads:[~2023-09-07 8:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 16:17 [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the execution time on modest-transition Thasleem, Mohammed
2022-04-21 14:19 ` [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the number of iterations on modeset-transition Mohammed Thasleem
2023-09-07 5:40 ` Modem, Bhanuprakash
2023-09-07 7:58 ` Kamil Konieczny
2022-04-23 23:26 ` Mohammed Thasleem
2023-08-29 12:10 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_atomic_transition: Reduce the execution time on modest-transition Patchwork
2023-08-29 12:42 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-08-29 12:51 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-08-29 18:54 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-30 13:51 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2023-08-31 8:52 ` Sharma, Swati2
2023-08-31 16:49 ` Modem, Bhanuprakash
2023-09-03 19:26 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_atomic_transition: Reduce the execution time on modest-transition (rev2) Patchwork
2023-09-03 19:53 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-09-03 20:03 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-09-03 21:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-04 18:13 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_atomic_transition: Reduce the execution time on modest-transition (rev3) Patchwork
2023-09-04 18:40 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-09-04 18:48 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-09-07 8:54 ` Mohammed Thasleem [this message]
2023-09-07 11:59 ` [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the number of iterations on modeset-transition Kamil Konieczny
2023-09-07 10:36 ` [igt-dev] ✓ CI.xeBAT: success for tests/kms_atomic_transition: Reduce the execution time on modest-transition (rev4) Patchwork
2023-09-07 10:46 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-09-08 13:50 ` [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the number of iterations on modeset-transition Mohammed Thasleem
2023-09-12 12:05 ` [igt-dev] ✓ CI.xeBAT: success for tests/kms_atomic_transition: Reduce the execution time on modest-transition (rev6) Patchwork
2023-09-12 12:16 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-09-13 9:00 ` Patchwork
2023-09-13 9:27 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-09-13 10:39 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-13 12:58 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
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=20230907085407.935-1-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox