Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] tests/kms_cursor_legacy: Reducing the IOCTL(drm_mode_cursor_ioctl) calls by reducing the timeout.
@ 2023-06-15 12:36 Garg, Nemesa
  2023-06-15 15:31 ` Juha-Pekka Heikkila
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Garg, Nemesa @ 2023-06-15 12:36 UTC (permalink / raw)
  To: igt-dev; +Cc: Garg, Garg, Nemesa

Due to excessive IOCTL calls in a stress test we are getting
disk limit issue. Hence by reducing the timeout from 20 to 5
the IOCTL call will get reduced.

Checked with different values and found 5 as optimal value.

Signed-off-by: Garg, Nemesa <nemesa.garg@intel.com>
---
 tests/kms_cursor_legacy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index f1e55906..13918345 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1562,12 +1562,12 @@ igt_main
 					errno = 0;
 
 					igt_dynamic_f("pipe-%s", kmstest_pipe_name(n))
-						stress(&display, n, tests[i].ncpus, tests[i].flags, 20);
+						stress(&display, n, tests[i].ncpus, tests[i].flags, 5);
 				}
 
 				errno = 0;
 				igt_dynamic("all-pipes")
-					stress(&display, -1, tests[i].ncpus, tests[i].flags, 20);
+					stress(&display, -1, tests[i].ncpus, tests[i].flags, 5);
 			}
 		}
 	}
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [igt-dev] [PATCH] tests/kms_cursor_legacy: Reducing the IOCTL(drm_mode_cursor_ioctl) calls by reducing the timeout
@ 2023-06-17  9:54 Garg, Nemesa
  2023-06-19  6:03 ` Juha-Pekka Heikkila
  0 siblings, 1 reply; 11+ messages in thread
From: Garg, Nemesa @ 2023-06-17  9:54 UTC (permalink / raw)
  To: igt-dev; +Cc: Garg, Garg, Nemesa

Due to excessive IOCTL calls in a stress test we are getting
disk limit issue. Hence by reducing the timeout from 20 to 5
the IOCTL call will get reduced.

Checked with different values and found 5 as optimal value.

Signed-off-by: Garg, Nemesa <nemesa.garg@intel.com>
---
 tests/kms_cursor_legacy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index f1e55906..13918345 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1562,12 +1562,12 @@ igt_main
 					errno = 0;
 
 					igt_dynamic_f("pipe-%s", kmstest_pipe_name(n))
-						stress(&display, n, tests[i].ncpus, tests[i].flags, 20);
+						stress(&display, n, tests[i].ncpus, tests[i].flags, 5);
 				}
 
 				errno = 0;
 				igt_dynamic("all-pipes")
-					stress(&display, -1, tests[i].ncpus, tests[i].flags, 20);
+					stress(&display, -1, tests[i].ncpus, tests[i].flags, 5);
 			}
 		}
 	}
-- 
2.25.1

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

end of thread, other threads:[~2023-06-20  8:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-15 12:36 [igt-dev] [PATCH] tests/kms_cursor_legacy: Reducing the IOCTL(drm_mode_cursor_ioctl) calls by reducing the timeout Garg, Nemesa
2023-06-15 15:31 ` Juha-Pekka Heikkila
2023-06-15 16:12 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-06-16 12:34   ` Kamil Konieczny
2023-06-20  8:07     ` Yedireswarapu, SaiX Nandan
2023-06-16 12:37 ` [igt-dev] [PATCH] " Kamil Konieczny
2023-06-17  9:59   ` Garg, Nemesa
2023-06-20  7:00 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-06-20  8:42 ` Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-06-17  9:54 [igt-dev] [PATCH] " Garg, Nemesa
2023-06-19  6:03 ` Juha-Pekka Heikkila

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