* [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes
@ 2023-01-31 13:36 Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 1/7] tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on simulation Nidhi Gupta
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev
As the execution is taking more time in simulation, limit the execution to
few pipes and few planes.
Bhanuprakash Modem (5):
tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on
simulation
tests/kms_async_flips: Limit the execution to single pipe
tests/kms_pipe_crc_basic: Limit the execution to two pipes
tests/kms_plane_cursor: Limit the execution to two pipes
tests/kms_plane_scaling: Limit the execution to two pipes/planes
Nidhi Gupta (2):
tests/kms_plane_alpha_blend: Restrict the execution to 2 pipes and
planes
tests/i915/kms_frontbuffer_tracking: Reduce the execution time on
simulation
tests/i915/kms_draw_crc.c | 12 +++++--
tests/i915/kms_frontbuffer_tracking.c | 3 ++
tests/kms_async_flips.c | 18 +++++-----
tests/kms_pipe_crc_basic.c | 41 ++++++++++++++++++++++-
tests/kms_plane_alpha_blend.c | 21 +++++++++++-
tests/kms_plane_cursor.c | 15 +++++++++
tests/kms_plane_scaling.c | 47 +++++++++++++++++++++++++++
7 files changed, 142 insertions(+), 15 deletions(-)
--
2.39.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 1/7] tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on simulation
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 2/7] tests/kms_async_flips: Limit the execution to single pipe Nidhi Gupta
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
As RGB565 and XRGB2101010 formats are bit slow in pre-si, we can
ignore to improve the execution time.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/i915/kms_draw_crc.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/tests/i915/kms_draw_crc.c b/tests/i915/kms_draw_crc.c
index c2ac4721..64e2e820 100644
--- a/tests/i915/kms_draw_crc.c
+++ b/tests/i915/kms_draw_crc.c
@@ -290,10 +290,19 @@ igt_main
"with different modifiers, DRM_FORMATS, DRAW_METHODS.");
igt_subtest_with_dynamic("draw-method") {
for (format_idx = 0; format_idx < ARRAY_SIZE(formats); format_idx++) {
+ /* 10-bit formats are bit slow, ignore in pre-si. */
+ if (igt_run_in_simulation() &&
+ (formats[format_idx] == DRM_FORMAT_XRGB2101010 ||
+ formats[format_idx] == DRM_FORMAT_RGB565))
+ continue;
+
for (method = 0; method < IGT_DRAW_METHOD_COUNT; method++) {
for (modifier_idx = 0; modifier_idx < ARRAY_SIZE(modifiers); modifier_idx++) {
modifier = modifiers[modifier_idx];
+ if (!igt_display_has_format_mod(&display, formats[format_idx], modifier))
+ continue;
+
if (method == IGT_DRAW_MMAP_WC && !gem_mmap__has_wc(drm_fd))
continue;
@@ -301,9 +310,6 @@ igt_main
!gem_has_mappable_ggtt(drm_fd))
continue;
- if (!igt_display_has_format_mod(&display, formats[format_idx], modifier))
- continue;
-
igt_dynamic_f("%s-%s-%s",
format_str(format_idx),
igt_draw_get_method_name(method),
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 2/7] tests/kms_async_flips: Limit the execution to single pipe
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 1/7] tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on simulation Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes Nidhi Gupta
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
As the execution is taking more time, limit the execution to single
pipe.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_async_flips.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index 7cb71f6b..d516e3e2 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -543,17 +543,15 @@ static void run_test(data_t *data, void (*test)(data_t *))
igt_output_t *output;
enum pipe pipe;
- for_each_pipe(&data->display, pipe) {
- for_each_valid_output_on_pipe(&data->display, pipe, output) {
- igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
- data->output = output;
- data->pipe = pipe;
- test(data);
- }
-
- if (!data->extended)
- break;
+ for_each_pipe_with_valid_output(&data->display, pipe, output) {
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
+ data->output = output;
+ data->pipe = pipe;
+ test(data);
}
+
+ if (!data->extended)
+ break;
}
}
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 1/7] tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on simulation Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 2/7] tests/kms_async_flips: Limit the execution to single pipe Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-02-06 4:40 ` Nautiyal, Ankit K
2023-01-31 13:36 ` [igt-dev] [PATCH v3 4/7] tests/kms_plane_alpha_blend: Restrict the execution to 2 pipes and planes Nidhi Gupta
` (5 subsequent siblings)
8 siblings, 1 reply; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
As the execution is taking more time, limit the execution to two (first
& last) pipes.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_pipe_crc_basic.c | 41 +++++++++++++++++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 91a1b8ab..97b97863 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <fcntl.h>
+static bool extended = false;
typedef struct {
int drm_fd;
@@ -276,7 +277,23 @@ static void test_disable_crc_after_crtc(data_t *data, enum pipe pipe,
data_t data = {0, };
-igt_main
+static int opt_handler(int opt, int opt_index, void *_data)
+{
+ switch (opt) {
+ case 'e':
+ extended = true;
+ break;
+ default:
+ return IGT_OPT_HANDLER_ERROR;
+ }
+
+ return IGT_OPT_HANDLER_SUCCESS;
+}
+
+const char *help_str =
+ " -e \tExtended tests.\n";
+
+igt_main_args("e", NULL, help_str, opt_handler, NULL)
{
enum pipe pipe;
igt_output_t *output;
@@ -298,6 +315,8 @@ igt_main
{ "hang-read-crc", TEST_HANG,
"Hang test for pipe CRC read." },
};
+ enum pipe active_pipes[IGT_MAX_PIPES];
+ uint32_t last_pipe = 0;
int i;
igt_fixture {
@@ -312,6 +331,11 @@ igt_main
igt_require_pipe_crc(data.drm_fd);
data.debugfs = igt_debugfs_dir(data.drm_fd);
+
+ /* Get active pipes. */
+ for_each_pipe(&data.display, pipe)
+ active_pipes[last_pipe++] = pipe;
+ last_pipe--;
}
igt_describe("Tests error handling when the bad source is set.");
@@ -322,6 +346,11 @@ igt_main
igt_describe(tests[i].desc);
igt_subtest_with_dynamic(tests[i].name) {
for_each_pipe_with_single_output(&data.display, pipe, output) {
+ if (igt_run_in_simulation() && !extended &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
if (tests[i].flags & TEST_SUSPEND) {
test_read_crc(&data, pipe, output, 0);
@@ -350,6 +379,11 @@ igt_main
"does not cause issues.");
igt_subtest_with_dynamic("disable-crc-after-crtc") {
for_each_pipe_with_single_output(&data.display, pipe, output) {
+ if (igt_run_in_simulation() && !extended &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
test_disable_crc_after_crtc(&data, pipe, output);
}
@@ -358,6 +392,11 @@ igt_main
igt_describe("Basic sanity check for CRC mismatches");
igt_subtest_with_dynamic("compare-crc-sanitycheck") {
for_each_pipe_with_single_output(&data.display, pipe, output) {
+ if (igt_run_in_simulation() && !extended &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
test_compare_crc(&data, pipe, output);
}
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 4/7] tests/kms_plane_alpha_blend: Restrict the execution to 2 pipes and planes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (2 preceding siblings ...)
2023-01-31 13:36 ` [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 5/7] tests/kms_plane_cursor: Limit the execution to two pipes Nidhi Gupta
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
Restrict the execution of the subtests to two pipes and
two planes on simulation to reduce the execution time.
Signed-off-by: Bhanuprakash ModemSigned-off-by: Bhanuprakash ModemSigned-off-by: Bhanuprakash Modem
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_plane_alpha_blend.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index 38272ccb..1f89aa6f 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -482,8 +482,10 @@ static void run_test_on_pipe_planes(data_t *data, enum pipe pipe, igt_output_t *
{
igt_display_t *display = &data->display;
igt_plane_t *plane;
+ int first_plane = -1;
+ int last_plane = -1;
- for_each_plane_on_pipe(display, pipe, plane) {
+ for_each_plane_on_pipe(&data->display, pipe, plane) {
if (!igt_plane_has_prop(plane, IGT_PLANE_ALPHA))
continue;
@@ -496,6 +498,19 @@ static void run_test_on_pipe_planes(data_t *data, enum pipe pipe, igt_output_t *
if (must_multiply && !has_multiplied_alpha(data, plane))
continue;
+ if (first_plane < 0)
+ first_plane = j__;
+
+ last_plane = j__;
+ }
+
+ for_each_plane_on_pipe(&data->display, pipe, plane) {
+ if (j__ != first_plane && j__ != last_plane)
+ continue;
+
+ /* reset plane alpha properties between each plane */
+ reset_alpha(display, pipe);
+
igt_info("Testing plane %u\n", plane->index);
test(data, pipe, plane);
igt_plane_set_fb(plane, NULL);
@@ -615,6 +630,7 @@ static void run_subtests(data_t *data)
{
igt_output_t *output;
enum pipe pipe;
+ int count = 0;
for (int i = 0; i < ARRAY_SIZE(subtests); i++) {
igt_describe_f("%s\n", subtests[i].desc);
@@ -628,6 +644,9 @@ static void run_subtests(data_t *data)
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
run_test_on_pipe_planes(data, pipe, output, subtests[i].blend,
subtests[i].must_multiply, subtests[i].test);
+ count++;
+ if (count == 3 && igt_run_in_simulation())
+ break;
}
}
}
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 5/7] tests/kms_plane_cursor: Limit the execution to two pipes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (3 preceding siblings ...)
2023-01-31 13:36 ` [igt-dev] [PATCH v3 4/7] tests/kms_plane_alpha_blend: Restrict the execution to 2 pipes and planes Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 6/7] tests/kms_plane_scaling: Limit the execution to two pipes/planes Nidhi Gupta
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
As the execution is taking more time, limit the execution to two (first
& last) pipes. This patch will ignores the cursor size of 256, since it
is causing simics crash.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_plane_cursor.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tests/kms_plane_cursor.c b/tests/kms_plane_cursor.c
index 9b27586c..9a94849a 100644
--- a/tests/kms_plane_cursor.c
+++ b/tests/kms_plane_cursor.c
@@ -277,6 +277,8 @@ igt_main
"Tests atomic cursor positioning on primary plane and overlay plane "
"with buffer larger than viewport used for display" },
};
+ enum pipe active_pipes[IGT_MAX_PIPES];
+ uint32_t last_pipe = 0;
igt_fixture {
int ret;
@@ -293,6 +295,11 @@ igt_main
igt_display_require(&data.display, data.drm_fd);
igt_require(data.display.is_atomic);
igt_display_require_output(&data.display);
+
+ /* Get active pipes. */
+ for_each_pipe(&data.display, pipe)
+ active_pipes[last_pipe++] = pipe;
+ last_pipe--;
}
for (i = 0; i < ARRAY_SIZE(tests); i++) {
@@ -304,11 +311,19 @@ igt_main
DRM_PLANE_TYPE_OVERLAY))
continue;
+ if (igt_run_in_simulation() &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
test_init(&data, pipe, output);
for (j = 0; j < ARRAY_SIZE(cursor_sizes); j++) {
int size = cursor_sizes[j];
+ if (igt_run_in_simulation() && size >= 256)
+ continue;
+
igt_dynamic_f("pipe-%s-%s-size-%d",
kmstest_pipe_name(pipe),
igt_output_name(output),
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 6/7] tests/kms_plane_scaling: Limit the execution to two pipes/planes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (4 preceding siblings ...)
2023-01-31 13:36 ` [igt-dev] [PATCH v3 5/7] tests/kms_plane_cursor: Limit the execution to two pipes Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 7/7] tests/i915/kms_frontbuffer_tracking: Reduce the execution time on simulation Nidhi Gupta
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
As the execution is taking more time, limit the execution of
clipping-clamping-[rotation | pixel-formats] tests to two (first
& last) pipes and two (first & last) planes.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_plane_scaling.c | 47 +++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 887a55e6..c32ea9d4 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -485,6 +485,8 @@ static void test_scaler_with_rotation_pipe(data_t *d,
unsigned format = DRM_FORMAT_XRGB8888;
uint64_t modifier = DRM_FORMAT_MOD_LINEAR;
igt_plane_t *plane;
+ int first_plane = -1;
+ int last_plane = -1;
cleanup_crtc(d);
@@ -494,6 +496,19 @@ static void test_scaler_with_rotation_pipe(data_t *d,
if (plane->type == DRM_PLANE_TYPE_CURSOR)
continue;
+ if (first_plane < 0)
+ first_plane = j__;
+
+ last_plane = j__;
+ }
+
+ for_each_plane_on_pipe(display, pipe, plane) {
+ if (plane->type == DRM_PLANE_TYPE_CURSOR)
+ continue;
+
+ if (!d->extended && j__ != first_plane && j__ != last_plane)
+ continue;
+
for (int i = 0; i < ARRAY_SIZE(rotations); i++) {
igt_rotation_t rot = rotations[i];
@@ -514,17 +529,32 @@ static void test_scaler_with_pixel_format_pipe(data_t *d, int width, int height,
igt_display_t *display = &d->display;
uint64_t modifier = DRM_FORMAT_MOD_LINEAR;
igt_plane_t *plane;
+ int first_plane = -1;
+ int last_plane = -1;
cleanup_crtc(d);
igt_output_set_pipe(output, pipe);
+ for_each_plane_on_pipe(display, pipe, plane) {
+ if (plane->type == DRM_PLANE_TYPE_CURSOR)
+ continue;
+
+ if (first_plane < 0)
+ first_plane = j__;
+
+ last_plane = j__;
+ }
+
for_each_plane_on_pipe(display, pipe, plane) {
struct igt_vec tested_formats;
if (plane->type == DRM_PLANE_TYPE_CURSOR)
continue;
+ if (!d->extended && j__ != first_plane && j__ != last_plane)
+ continue;
+
igt_vec_init(&tested_formats, sizeof(uint32_t));
for (int j = 0; j < plane->drm_plane->count_formats; j++) {
@@ -845,6 +875,8 @@ static data_t data;
igt_main_args("", long_opts, help_str, opt_handler, &data)
{
enum pipe pipe;
+ enum pipe active_pipes[IGT_MAX_PIPES];
+ uint32_t last_pipe = 0;
igt_fixture {
data.drm_fd = drm_open_driver_master(DRIVER_ANY);
@@ -852,6 +884,11 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
data.devid = is_i915_device(data.drm_fd) ?
intel_get_drm_devid(data.drm_fd) : 0;
igt_require(data.display.is_atomic);
+
+ /* Get active pipes. */
+ for_each_pipe(&data.display, pipe)
+ active_pipes[last_pipe++] = pipe;
+ last_pipe--;
}
igt_subtest_group {
@@ -916,6 +953,11 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
for_each_pipe_with_single_output(&data.display, pipe, output) {
drmModeModeInfo *mode;
+ if (igt_run_in_simulation() &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
mode = igt_output_get_mode(output);
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
@@ -929,6 +971,11 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
for_each_pipe_with_single_output(&data.display, pipe, output) {
drmModeModeInfo *mode;
+ if (igt_run_in_simulation() &&
+ pipe != active_pipes[0] &&
+ pipe != active_pipes[last_pipe])
+ continue;
+
mode = igt_output_get_mode(output);
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] [PATCH v3 7/7] tests/i915/kms_frontbuffer_tracking: Reduce the execution time on simulation
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (5 preceding siblings ...)
2023-01-31 13:36 ` [igt-dev] [PATCH v3 6/7] tests/kms_plane_scaling: Limit the execution to two pipes/planes Nidhi Gupta
@ 2023-01-31 13:36 ` Nidhi Gupta
2023-01-31 14:24 ` [igt-dev] ✓ Fi.CI.BAT: success for Limit the execution to few pipes/planes Patchwork
2023-01-31 19:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
8 siblings, 0 replies; 12+ messages in thread
From: Nidhi Gupta @ 2023-01-31 13:36 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
With IGT_DRAW_RENDER draw method test is taking lot of time to
complete causing timeout in simulation, to avoid the time out
skipping IGT_DRAW_METHOD only for simulation
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/i915/kms_frontbuffer_tracking.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
index 5b47999e..1d05a916 100644
--- a/tests/i915/kms_frontbuffer_tracking.c
+++ b/tests/i915/kms_frontbuffer_tracking.c
@@ -3159,6 +3159,9 @@ static void basic_subtest(const struct test_mode *t)
fb1 = params->primary.fb;
for (r = 0, method = 0; method < IGT_DRAW_METHOD_COUNT; method++) {
+ if (igt_run_in_simulation() && method == IGT_DRAW_RENDER)
+ continue;
+
if (method == IGT_DRAW_MMAP_GTT &&
!gem_has_mappable_ggtt(drm.fd))
continue;
--
2.39.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Limit the execution to few pipes/planes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (6 preceding siblings ...)
2023-01-31 13:36 ` [igt-dev] [PATCH v3 7/7] tests/i915/kms_frontbuffer_tracking: Reduce the execution time on simulation Nidhi Gupta
@ 2023-01-31 14:24 ` Patchwork
2023-01-31 19:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
8 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2023-01-31 14:24 UTC (permalink / raw)
To: Nidhi Gupta; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 3118 bytes --]
== Series Details ==
Series: Limit the execution to few pipes/planes
URL : https://patchwork.freedesktop.org/series/113526/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12673 -> IGTPW_8422
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
Participating hosts (27 -> 26)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in IGTPW_8422 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@fbdev@write:
- fi-blb-e6850: [SKIP][1] ([fdo#109271]) -> [PASS][2] +4 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/fi-blb-e6850/igt@fbdev@write.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/fi-blb-e6850/igt@fbdev@write.html
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][3] ([i915#5334]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@hangcheck:
- {bat-dg2-11}: [ABORT][5] ([i915#7913]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/bat-dg2-11/igt@i915_selftest@live@hangcheck.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/bat-dg2-11/igt@i915_selftest@live@hangcheck.html
* igt@i915_selftest@live@requests:
- {bat-rpls-2}: [ABORT][7] ([i915#4983]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/bat-rpls-2/igt@i915_selftest@live@requests.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/bat-rpls-2/igt@i915_selftest@live@requests.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7143 -> IGTPW_8422
CI-20190529: 20190529
CI_DRM_12673: d6444a2c993df9f17645e250a9fd07d7f881dabe @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8422: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
IGT_7143: c7b12dcc460fc2348e1fa7f4dcb791bb82e29e44 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
[-- Attachment #2: Type: text/html, Size: 3537 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for Limit the execution to few pipes/planes
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
` (7 preceding siblings ...)
2023-01-31 14:24 ` [igt-dev] ✓ Fi.CI.BAT: success for Limit the execution to few pipes/planes Patchwork
@ 2023-01-31 19:15 ` Patchwork
8 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2023-01-31 19:15 UTC (permalink / raw)
To: Nidhi Gupta; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 19147 bytes --]
== Series Details ==
Series: Limit the execution to few pipes/planes
URL : https://patchwork.freedesktop.org/series/113526/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12673_full -> IGTPW_8422_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in IGTPW_8422_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#2842]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-glk8/igt@gem_exec_fair@basic-none@rcs0.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk1/igt@gem_exec_fair@basic-none@rcs0.html
* igt@kms_ccs@pipe-d-ccs-on-another-bo-yf_tiled_ccs:
- shard-glk: NOTRUN -> [SKIP][3] ([fdo#109271]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk3/igt@kms_ccs@pipe-d-ccs-on-another-bo-yf_tiled_ccs.html
* igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#79])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-glk3/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk7/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html
#### Possible fixes ####
* igt@fbdev@nullptr:
- {shard-rkl}: [SKIP][6] ([i915#2582]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-2/igt@fbdev@nullptr.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-6/igt@fbdev@nullptr.html
* igt@gem_ctx_persistence@smoketest:
- {shard-tglu}: [FAIL][8] ([i915#5099]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-tglu-3/igt@gem_ctx_persistence@smoketest.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-tglu-2/igt@gem_ctx_persistence@smoketest.html
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][10] ([i915#2846]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-glk5/igt@gem_exec_fair@basic-deadline.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk9/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-pace@rcs0:
- {shard-rkl}: [FAIL][12] ([i915#2842]) -> [PASS][13] +3 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-3/igt@gem_exec_fair@basic-pace@rcs0.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-5/igt@gem_exec_fair@basic-pace@rcs0.html
* igt@gem_exec_reloc@basic-wc-read-noreloc:
- {shard-rkl}: [SKIP][14] ([i915#3281]) -> [PASS][15] +7 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-1/igt@gem_exec_reloc@basic-wc-read-noreloc.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-5/igt@gem_exec_reloc@basic-wc-read-noreloc.html
* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- {shard-rkl}: [SKIP][16] ([i915#3282]) -> [PASS][17] +5 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-1/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-5/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [ABORT][18] ([i915#5566]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-glk5/igt@gen9_exec_parse@allowed-single.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk2/igt@gen9_exec_parse@allowed-single.html
* igt@gen9_exec_parse@secure-batches:
- {shard-rkl}: [SKIP][20] ([i915#2527]) -> [PASS][21] +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-3/igt@gen9_exec_parse@secure-batches.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-5/igt@gen9_exec_parse@secure-batches.html
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-rkl}: [SKIP][22] ([i915#1397]) -> [PASS][23] +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-2/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-6/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
* igt@i915_pm_rps@engine-order:
- shard-glk: [FAIL][24] -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-glk7/igt@i915_pm_rps@engine-order.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-glk5/igt@i915_pm_rps@engine-order.html
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- {shard-rkl}: [SKIP][26] ([i915#1845] / [i915#4098]) -> [PASS][27] +28 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-2/igt@kms_big_fb@x-tiled-32bpp-rotate-0.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-6/igt@kms_big_fb@x-tiled-32bpp-rotate-0.html
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180:
- {shard-tglu}: [SKIP][28] ([i915#7651]) -> [PASS][29] +2 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-tglu-6/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-tglu-5/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
- {shard-tglu}: [SKIP][30] ([i915#1849]) -> [PASS][31] +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-tglu-8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
- {shard-rkl}: [SKIP][32] ([i915#1849] / [i915#4098]) -> [PASS][33] +17 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-3/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
* igt@kms_psr@primary_render:
- {shard-rkl}: [SKIP][34] ([i915#1072]) -> [PASS][35] +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-1/igt@kms_psr@primary_render.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-6/igt@kms_psr@primary_render.html
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][36] ([i915#4349]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-2/igt@perf_pmu@idle@rcs0.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-2/igt@perf_pmu@idle@rcs0.html
* igt@prime_vgem@coherency-gtt:
- {shard-rkl}: [SKIP][38] ([fdo#109295] / [fdo#111656] / [i915#3708]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-rkl-4/igt@prime_vgem@coherency-gtt.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-rkl-5/igt@prime_vgem@coherency-gtt.html
* igt@sysfs_heartbeat_interval@precise@rcs0:
- {shard-dg1}: [FAIL][40] ([i915#1755]) -> [PASS][41] +4 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12673/shard-dg1-18/igt@sysfs_heartbeat_interval@precise@rcs0.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/shard-dg1-17/igt@sysfs_heartbeat_interval@precise@rcs0.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4877]: https://gitlab.freedesktop.org/drm/intel/issues/4877
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#5099]: https://gitlab.freedesktop.org/drm/intel/issues/5099
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7143 -> IGTPW_8422
CI-20190529: 20190529
CI_DRM_12673: d6444a2c993df9f17645e250a9fd07d7f881dabe @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8422: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
IGT_7143: c7b12dcc460fc2348e1fa7f4dcb791bb82e29e44 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8422/index.html
[-- Attachment #2: Type: text/html, Size: 11505 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes
2023-01-31 13:36 ` [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes Nidhi Gupta
@ 2023-02-06 4:40 ` Nautiyal, Ankit K
2023-02-06 5:25 ` Modem, Bhanuprakash
0 siblings, 1 reply; 12+ messages in thread
From: Nautiyal, Ankit K @ 2023-02-06 4:40 UTC (permalink / raw)
To: Nidhi Gupta, igt-dev
The help str can mention that option -e stands for execution on all pipes.
Also, there are tests that are restricted to 2 pipes only even on real
hardware, and have -e cmdline parameter to run on all pipes.
Should we just limit to 2 pipes by default, and drop is_simulation?
Regards,
Ankit
On 1/31/2023 7:06 PM, Nidhi Gupta wrote:
> From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>
> As the execution is taking more time, limit the execution to two (first
> & last) pipes.
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
> ---
> tests/kms_pipe_crc_basic.c | 41 +++++++++++++++++++++++++++++++++++++-
> 1 file changed, 40 insertions(+), 1 deletion(-)
>
> diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
> index 91a1b8ab..97b97863 100644
> --- a/tests/kms_pipe_crc_basic.c
> +++ b/tests/kms_pipe_crc_basic.c
> @@ -30,6 +30,7 @@
> #include <string.h>
> #include <fcntl.h>
>
> +static bool extended = false;
>
> typedef struct {
> int drm_fd;
> @@ -276,7 +277,23 @@ static void test_disable_crc_after_crtc(data_t *data, enum pipe pipe,
>
> data_t data = {0, };
>
> -igt_main
> +static int opt_handler(int opt, int opt_index, void *_data)
> +{
> + switch (opt) {
> + case 'e':
> + extended = true;
> + break;
> + default:
> + return IGT_OPT_HANDLER_ERROR;
> + }
> +
> + return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> + " -e \tExtended tests.\n";
> +
> +igt_main_args("e", NULL, help_str, opt_handler, NULL)
> {
> enum pipe pipe;
> igt_output_t *output;
> @@ -298,6 +315,8 @@ igt_main
> { "hang-read-crc", TEST_HANG,
> "Hang test for pipe CRC read." },
> };
> + enum pipe active_pipes[IGT_MAX_PIPES];
> + uint32_t last_pipe = 0;
> int i;
>
> igt_fixture {
> @@ -312,6 +331,11 @@ igt_main
> igt_require_pipe_crc(data.drm_fd);
>
> data.debugfs = igt_debugfs_dir(data.drm_fd);
> +
> + /* Get active pipes. */
> + for_each_pipe(&data.display, pipe)
> + active_pipes[last_pipe++] = pipe;
> + last_pipe--;
> }
>
> igt_describe("Tests error handling when the bad source is set.");
> @@ -322,6 +346,11 @@ igt_main
> igt_describe(tests[i].desc);
> igt_subtest_with_dynamic(tests[i].name) {
> for_each_pipe_with_single_output(&data.display, pipe, output) {
> + if (igt_run_in_simulation() && !extended &&
> + pipe != active_pipes[0] &&
> + pipe != active_pipes[last_pipe])
> + continue;
> +
> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
> if (tests[i].flags & TEST_SUSPEND) {
> test_read_crc(&data, pipe, output, 0);
> @@ -350,6 +379,11 @@ igt_main
> "does not cause issues.");
> igt_subtest_with_dynamic("disable-crc-after-crtc") {
> for_each_pipe_with_single_output(&data.display, pipe, output) {
> + if (igt_run_in_simulation() && !extended &&
> + pipe != active_pipes[0] &&
> + pipe != active_pipes[last_pipe])
> + continue;
> +
> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
> test_disable_crc_after_crtc(&data, pipe, output);
> }
> @@ -358,6 +392,11 @@ igt_main
> igt_describe("Basic sanity check for CRC mismatches");
> igt_subtest_with_dynamic("compare-crc-sanitycheck") {
> for_each_pipe_with_single_output(&data.display, pipe, output) {
> + if (igt_run_in_simulation() && !extended &&
> + pipe != active_pipes[0] &&
> + pipe != active_pipes[last_pipe])
> + continue;
> +
> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
> test_compare_crc(&data, pipe, output);
> }
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes
2023-02-06 4:40 ` Nautiyal, Ankit K
@ 2023-02-06 5:25 ` Modem, Bhanuprakash
0 siblings, 0 replies; 12+ messages in thread
From: Modem, Bhanuprakash @ 2023-02-06 5:25 UTC (permalink / raw)
To: Nautiyal, Ankit K, Nidhi Gupta, igt-dev
Hi Ankit,
On Mon-06-02-2023 10:10 am, Nautiyal, Ankit K wrote:
> The help str can mention that option -e stands for execution on all pipes.
>
> Also, there are tests that are restricted to 2 pipes only even on real
> hardware, and have -e cmdline parameter to run on all pipes.
>
> Should we just limit to 2 pipes by default, and drop is_simulation?
Intention of this patch is to restrict the execution on simulation as it
is taking more time to execute which is causing CI timeout.
I don't see any value added to CI if we limit the execution to two pipes
on real hardware. Since it is taking just few seconds to complete the
execution.
Here we have a latest patch [1] where we mentioned about the option -e
[1]: https://patchwork.freedesktop.org/series/113635/
- Bhanu
>
> Regards,
>
> Ankit
>
>
> On 1/31/2023 7:06 PM, Nidhi Gupta wrote:
>> From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>>
>> As the execution is taking more time, limit the execution to two (first
>> & last) pipes.
>>
>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>> Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
>> ---
>> tests/kms_pipe_crc_basic.c | 41 +++++++++++++++++++++++++++++++++++++-
>> 1 file changed, 40 insertions(+), 1 deletion(-)
>>
>> diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
>> index 91a1b8ab..97b97863 100644
>> --- a/tests/kms_pipe_crc_basic.c
>> +++ b/tests/kms_pipe_crc_basic.c
>> @@ -30,6 +30,7 @@
>> #include <string.h>
>> #include <fcntl.h>
>> +static bool extended = false;
>> typedef struct {
>> int drm_fd;
>> @@ -276,7 +277,23 @@ static void test_disable_crc_after_crtc(data_t
>> *data, enum pipe pipe,
>> data_t data = {0, };
>> -igt_main
>> +static int opt_handler(int opt, int opt_index, void *_data)
>> +{
>> + switch (opt) {
>> + case 'e':
>> + extended = true;
>> + break;
>> + default:
>> + return IGT_OPT_HANDLER_ERROR;
>> + }
>> +
>> + return IGT_OPT_HANDLER_SUCCESS;
>> +}
>> +
>> +const char *help_str =
>> + " -e \tExtended tests.\n";
>> +
>> +igt_main_args("e", NULL, help_str, opt_handler, NULL)
>> {
>> enum pipe pipe;
>> igt_output_t *output;
>> @@ -298,6 +315,8 @@ igt_main
>> { "hang-read-crc", TEST_HANG,
>> "Hang test for pipe CRC read." },
>> };
>> + enum pipe active_pipes[IGT_MAX_PIPES];
>> + uint32_t last_pipe = 0;
>> int i;
>> igt_fixture {
>> @@ -312,6 +331,11 @@ igt_main
>> igt_require_pipe_crc(data.drm_fd);
>> data.debugfs = igt_debugfs_dir(data.drm_fd);
>> +
>> + /* Get active pipes. */
>> + for_each_pipe(&data.display, pipe)
>> + active_pipes[last_pipe++] = pipe;
>> + last_pipe--;
>> }
>> igt_describe("Tests error handling when the bad source is set.");
>> @@ -322,6 +346,11 @@ igt_main
>> igt_describe(tests[i].desc);
>> igt_subtest_with_dynamic(tests[i].name) {
>> for_each_pipe_with_single_output(&data.display, pipe,
>> output) {
>> + if (igt_run_in_simulation() && !extended &&
>> + pipe != active_pipes[0] &&
>> + pipe != active_pipes[last_pipe])
>> + continue;
>> +
>> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe),
>> output->name) {
>> if (tests[i].flags & TEST_SUSPEND) {
>> test_read_crc(&data, pipe, output, 0);
>> @@ -350,6 +379,11 @@ igt_main
>> "does not cause issues.");
>> igt_subtest_with_dynamic("disable-crc-after-crtc") {
>> for_each_pipe_with_single_output(&data.display, pipe, output) {
>> + if (igt_run_in_simulation() && !extended &&
>> + pipe != active_pipes[0] &&
>> + pipe != active_pipes[last_pipe])
>> + continue;
>> +
>> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe),
>> output->name)
>> test_disable_crc_after_crtc(&data, pipe, output);
>> }
>> @@ -358,6 +392,11 @@ igt_main
>> igt_describe("Basic sanity check for CRC mismatches");
>> igt_subtest_with_dynamic("compare-crc-sanitycheck") {
>> for_each_pipe_with_single_output(&data.display, pipe, output) {
>> + if (igt_run_in_simulation() && !extended &&
>> + pipe != active_pipes[0] &&
>> + pipe != active_pipes[last_pipe])
>> + continue;
>> +
>> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe),
>> output->name)
>> test_compare_crc(&data, pipe, output);
>> }
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-02-06 5:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-31 13:36 [igt-dev] [PATCH v3 0/7] Limit the execution to few pipes/planes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 1/7] tests/i915/kms_draw_crc: Ignore RGB565 & XRGB2101010 formats on simulation Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 2/7] tests/kms_async_flips: Limit the execution to single pipe Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 3/7] tests/kms_pipe_crc_basic: Limit the execution to two pipes Nidhi Gupta
2023-02-06 4:40 ` Nautiyal, Ankit K
2023-02-06 5:25 ` Modem, Bhanuprakash
2023-01-31 13:36 ` [igt-dev] [PATCH v3 4/7] tests/kms_plane_alpha_blend: Restrict the execution to 2 pipes and planes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 5/7] tests/kms_plane_cursor: Limit the execution to two pipes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 6/7] tests/kms_plane_scaling: Limit the execution to two pipes/planes Nidhi Gupta
2023-01-31 13:36 ` [igt-dev] [PATCH v3 7/7] tests/i915/kms_frontbuffer_tracking: Reduce the execution time on simulation Nidhi Gupta
2023-01-31 14:24 ` [igt-dev] ✓ Fi.CI.BAT: success for Limit the execution to few pipes/planes Patchwork
2023-01-31 19:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox