Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the execution time on modest-transition
@ 2023-08-29 16:17 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
                   ` (24 more replies)
  0 siblings, 25 replies; 30+ messages in thread
From: Thasleem, Mohammed @ 2023-08-29 16:17 UTC (permalink / raw)
  To: igt-dev; +Cc: Thasleem

Due to the more number of iterations, "modest-transition" tests are
getting timed out on CI. Reducing the number of iterations to half
can save a lot of execution time.

Signed-off-by: Thasleem, Mohammed <mohammed.thasleem@intel.com>
---
 tests/kms_atomic_transition.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index a470eb88c..690202271 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -966,10 +966,7 @@ retry:
 		}
 	}
 
-	iter_max = 1 << j;
-
-	if (igt_run_in_simulation() && iter_max > 1)
-		iter_max = iter_max >> 1;
+	iter_max = j << 1;
 
 	if (igt_display_try_commit_atomic(&data->display,
 				DRM_MODE_ATOMIC_TEST_ONLY |
-- 
2.34.1

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

end of thread, other threads:[~2023-09-13 12:58 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [igt-dev] [PATCH i-g-t] tests/kms_atomic_transition: Reduce the number of iterations on modeset-transition Mohammed Thasleem
2023-09-07 11:59   ` 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

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