Skip to contentSkip to conversation

lib/vec: Add igt_vec

PATCH Superseded Ville Syrjala 3 participants 15 messages Jan 30, 2020 – Feb 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 lib/vec: Add igt_vec

From: Ville Syrjälä <[email protected]>

Add a small std::vector lookalike which grows as needed.

---
 lib/Makefile.sources |  2 ++
 lib/igt_vec.c        | 86 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_vec.h        | 40 +++++++++++++++++++++
 lib/meson.build      |  1 +
 4 files changed, 129 insertions(+)
 create mode 100644 lib/igt_vec.c
 create mode 100644 lib/igt_vec.h
lib/Makefile.sources +2 -0
index 631d6714e5ce..3e573f267e15 100644
@@ -62,6 +62,8 @@ lib_source_list =	 	\
 	igt_sysrq.h		\
 	igt_x86.h		\
 	igt_x86.c		\
+	igt_vec.c		\
+	igt_vec.h		\
 	igt_vgem.c		\
 	igt_vgem.h		\
 	instdone.c		\
lib/igt_vec.c new file +86 -0

86 lines not on this page · raw message

lib/igt_vec.h new file +40 -0
new file mode 100644
index 000000000000..de2549a45841
@@ -0,0 +1,40 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#ifndef __IGT_VEC_H__
+#define __IGT_VEC_H__
+
+struct igt_vec {
+	void *elems;
+	int elem_size, size, len;
+};
+
+void igt_vec_init(struct igt_vec *vec, int elem_size);
+void igt_vec_fini(struct igt_vec *vec);
+void igt_vec_push(struct igt_vec *vec, void *elem);
+int igt_vec_length(const struct igt_vec *vec);
+void *igt_vec_elem(const struct igt_vec *vec, int idx);
+int igt_vec_index(const struct igt_vec *vec, void *elem);
+void igt_vec_remove(struct igt_vec *vec, int idx);
+
+#endif /* __IGT_VEC_H__ */
lib/meson.build +1 -0
index d87546185ade..e87e5803610f 100644
@@ -24,6 +24,7 @@ lib_sources = [
 	'igt_syncobj.c',
 	'igt_sysfs.c',
 	'igt_sysrq.c',
+	'igt_vec.c',
 	'igt_vgem.c',
 	'igt_x86.c',
 	'instdone.c',
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

PATCH 2/3 lib/igt_kms: Add igt_reduce_format()

From: Ville Syrjälä <[email protected]>

Add a helper to reduce a pixel format to a "base" format. Ie. group all formats to some idea of classes based on the bits per pixel + component sizes etc. ignoring any component ordering. Let's us skip potentially redundant tests when all we might care about is testing each format "class" the once.

---
 lib/igt_kms.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h |  1 +
 2 files changed, 80 insertions(+)
lib/igt_kms.c +79 -0
index d20daaad7764..2b075c435291 100644
@@ -4474,3 +4474,82 @@ void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob,
 	tile->tile_h_size = atoi(strtok(NULL, ":"));
 	tile->tile_v_size = atoi(strtok(NULL, ":"));
 }
+
+uint32_t igt_reduce_format(uint32_t format)
+{
+	switch (format) {
+	case DRM_FORMAT_RGB332:
+	case DRM_FORMAT_BGR233:
+		return DRM_FORMAT_RGB332;
+	case DRM_FORMAT_XRGB1555:
+	case DRM_FORMAT_XBGR1555:
+	case DRM_FORMAT_ARGB1555:
+	case DRM_FORMAT_ABGR1555:
+	case DRM_FORMAT_RGBX5551:
+	case DRM_FORMAT_BGRX5551:
+	case DRM_FORMAT_RGBA5551:
+	case DRM_FORMAT_BGRA5551:
+		return DRM_FORMAT_XRGB1555;
+	case DRM_FORMAT_RGB565:
+	case DRM_FORMAT_BGR565:
+		return DRM_FORMAT_RGB565;
+	case DRM_FORMAT_XRGB8888:
+	case DRM_FORMAT_XBGR8888:
+	case DRM_FORMAT_ARGB8888:
+	case DRM_FORMAT_ABGR8888:
+	case DRM_FORMAT_RGBX8888:
+	case DRM_FORMAT_BGRX8888:
+	case DRM_FORMAT_RGBA8888:
+	case DRM_FORMAT_BGRA8888:
+		return DRM_FORMAT_XRGB8888;
+	case DRM_FORMAT_XRGB2101010:
+	case DRM_FORMAT_XBGR2101010:
+	case DRM_FORMAT_ARGB2101010:
+	case DRM_FORMAT_ABGR2101010:
+	case DRM_FORMAT_RGBX1010102:
+	case DRM_FORMAT_BGRX1010102:
+	case DRM_FORMAT_RGBA1010102:
+	case DRM_FORMAT_BGRA1010102:
+		return DRM_FORMAT_XRGB2101010;
+	case DRM_FORMAT_XRGB16161616F:
+	case DRM_FORMAT_XBGR16161616F:
+	case DRM_FORMAT_ARGB16161616F:
+	case DRM_FORMAT_ABGR16161616F:
+		return DRM_FORMAT_XRGB16161616F;
+	case DRM_FORMAT_YUYV:
+	case DRM_FORMAT_UYVY:
+	case DRM_FORMAT_YVYU:
+	case DRM_FORMAT_VYUY:
+		return DRM_FORMAT_YUYV;
+	case DRM_FORMAT_NV12:
+	case DRM_FORMAT_NV21:
+		return DRM_FORMAT_NV12;
+	case DRM_FORMAT_NV16:
+	case DRM_FORMAT_NV61:
+		return DRM_FORMAT_NV16;
+	case DRM_FORMAT_NV24:
+	case DRM_FORMAT_NV42:
+		return DRM_FORMAT_NV24;
+	case DRM_FORMAT_P010:
+	case DRM_FORMAT_P012:
+	case DRM_FORMAT_P016:
+		return DRM_FORMAT_P010;
+	case DRM_FORMAT_Y210:
+	case DRM_FORMAT_Y212:
+	case DRM_FORMAT_Y216:
+		return DRM_FORMAT_Y210;
+	case DRM_FORMAT_XYUV8888:
+	case DRM_FORMAT_AYUV:
+		return DRM_FORMAT_XYUV8888;
+	case DRM_FORMAT_XVYU2101010:
+	case DRM_FORMAT_Y410:
+		return DRM_FORMAT_XVYU2101010;
+	case DRM_FORMAT_XVYU12_16161616:
+	case DRM_FORMAT_XVYU16161616:
+	case DRM_FORMAT_Y412:
+	case DRM_FORMAT_Y416:
+		return DRM_FORMAT_XVYU12_16161616;
+	default:
+		return format;
+	}
+}
lib/igt_kms.h +1 -0
index 6c919e92f488..66b0de516e3c 100644
@@ -846,5 +846,6 @@ void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob,
 
 int igt_connector_sysfs_open(int drm_fd,
 			     drmModeConnector *connector);
+uint32_t igt_reduce_format(uint32_t format);
 
 #endif /* __IGT_KMS_H__ */
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

Re: [igt-dev] [PATCH i-g-t 2/3] lib/igt_kms: Add igt_reduce_format()

Quoting Ville Syrjala (2020-01-30 15:12:28)

Quoted 19 lines

From: Ville Syrjälä <[email protected]>

Add a helper to reduce a pixel format to a "base" format. Ie. group all formats to some idea of classes based on the bits per pixel + component sizes etc. ignoring any component ordering. Let's us skip potentially redundant tests when all we might care about is testing each format "class" the once.

---
 lib/igt_kms.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h |  1 +
 2 files changed, 80 insertions(+)
lib/igt_kms.c +0 -0
index d20daaad7764..2b075c435291 100644

lib/igt_kms.c void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob, · line 4479

Quoted 6 lines
lib/igt_kms.c +3 -0
@@ -4474,3 +4474,82 @@ void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob,
        tile->tile_h_size = atoi(strtok(NULL, ":"));
        tile->tile_v_size = atoi(strtok(NULL, ":"));
 }
+
+uint32_t igt_reduce_format(uint32_t format)
+{

/*
* Any words of wisdom on how/why these are reduced to a representative
* format for each class? Just in case a new format is introduced and we
* want to decide if it's a new class or should be aliased to an older
* one.
*/

lib/igt_kms.c void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob, · line 4483

Quoted 4 lines
lib/igt_kms.c +4 -0
+       switch (format) {
+       case DRM_FORMAT_RGB332:
+       case DRM_FORMAT_BGR233:
+               return DRM_FORMAT_RGB332;

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

PATCH v2 2/3 lib/igt_kms: Add igt_reduce_format()

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add a helper to reduce a pixel format to a "base" format. Ie. group all formats to some idea of classes based on the bits per pixel + component sizes etc. ignoring any component ordering. Let's us skip potentially redundant tests when all we might care about is testing each format "class" the once.

v2: Add some docs (Chris)

Cc From: Chris Wilson <[email protected]>
---
 lib/igt_kms.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h |  1 +
 2 files changed, 96 insertions(+)
lib/igt_kms.c +95 -0
index d20daaad7764..f66da635c66e 100644
@@ -4474,3 +4474,98 @@ void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob,
 	tile->tile_h_size = atoi(strtok(NULL, ":"));
 	tile->tile_v_size = atoi(strtok(NULL, ":"));
 }
+
+/**
+ * igt_reduce_format:
+ * @format: drm fourcc
+ *
+ * Reduce @format to a base format. The aim is to allow grouping
+ * sufficiently similar formats into classes. Formats with identical
+ * component sizes, overall pixel size, chroma subsamling, etc. are
+ * considered part of the same class, no matter in which order the
+ * components appear. We arbitrarily choose one of the formats in
+ * the class as the base format. Note that the base format itself
+ * may not be supported by whatever device is being tested even if
+ * some of the other formats in the class are supported.
+ *
+ * Returns:
+ * The base format for @format
+ */
+uint32_t igt_reduce_format(uint32_t format)
+{
+	switch (format) {
+	case DRM_FORMAT_RGB332:
+	case DRM_FORMAT_BGR233:
+		return DRM_FORMAT_RGB332;
+	case DRM_FORMAT_XRGB1555:
+	case DRM_FORMAT_XBGR1555:
+	case DRM_FORMAT_ARGB1555:
+	case DRM_FORMAT_ABGR1555:
+	case DRM_FORMAT_RGBX5551:
+	case DRM_FORMAT_BGRX5551:
+	case DRM_FORMAT_RGBA5551:
+	case DRM_FORMAT_BGRA5551:
+		return DRM_FORMAT_XRGB1555;
+	case DRM_FORMAT_RGB565:
+	case DRM_FORMAT_BGR565:
+		return DRM_FORMAT_RGB565;
+	case DRM_FORMAT_XRGB8888:
+	case DRM_FORMAT_XBGR8888:
+	case DRM_FORMAT_ARGB8888:
+	case DRM_FORMAT_ABGR8888:
+	case DRM_FORMAT_RGBX8888:
+	case DRM_FORMAT_BGRX8888:
+	case DRM_FORMAT_RGBA8888:
+	case DRM_FORMAT_BGRA8888:
+		return DRM_FORMAT_XRGB8888;
+	case DRM_FORMAT_XRGB2101010:
+	case DRM_FORMAT_XBGR2101010:
+	case DRM_FORMAT_ARGB2101010:
+	case DRM_FORMAT_ABGR2101010:
+	case DRM_FORMAT_RGBX1010102:
+	case DRM_FORMAT_BGRX1010102:
+	case DRM_FORMAT_RGBA1010102:
+	case DRM_FORMAT_BGRA1010102:
+		return DRM_FORMAT_XRGB2101010;
+	case DRM_FORMAT_XRGB16161616F:
+	case DRM_FORMAT_XBGR16161616F:
+	case DRM_FORMAT_ARGB16161616F:
+	case DRM_FORMAT_ABGR16161616F:
+		return DRM_FORMAT_XRGB16161616F;
+	case DRM_FORMAT_YUYV:
+	case DRM_FORMAT_UYVY:
+	case DRM_FORMAT_YVYU:
+	case DRM_FORMAT_VYUY:
+		return DRM_FORMAT_YUYV;
+	case DRM_FORMAT_NV12:
+	case DRM_FORMAT_NV21:
+		return DRM_FORMAT_NV12;
+	case DRM_FORMAT_NV16:
+	case DRM_FORMAT_NV61:
+		return DRM_FORMAT_NV16;
+	case DRM_FORMAT_NV24:
+	case DRM_FORMAT_NV42:
+		return DRM_FORMAT_NV24;
+	case DRM_FORMAT_P010:
+	case DRM_FORMAT_P012:
+	case DRM_FORMAT_P016:
+		return DRM_FORMAT_P010;
+	case DRM_FORMAT_Y210:
+	case DRM_FORMAT_Y212:
+	case DRM_FORMAT_Y216:
+		return DRM_FORMAT_Y210;
+	case DRM_FORMAT_XYUV8888:
+	case DRM_FORMAT_AYUV:
+		return DRM_FORMAT_XYUV8888;
+	case DRM_FORMAT_XVYU2101010:
+	case DRM_FORMAT_Y410:
+		return DRM_FORMAT_XVYU2101010;
+	case DRM_FORMAT_XVYU12_16161616:
+	case DRM_FORMAT_XVYU16161616:
+	case DRM_FORMAT_Y412:
+	case DRM_FORMAT_Y416:
+		return DRM_FORMAT_XVYU12_16161616;
+	default:
+		return format;
+	}
+}
lib/igt_kms.h +1 -0
index 6c919e92f488..66b0de516e3c 100644
@@ -846,5 +846,6 @@ void igt_parse_connector_tile_blob(drmModePropertyBlobPtr blob,
 
 int igt_connector_sysfs_open(int drm_fd,
 			     drmModeConnector *connector);
+uint32_t igt_reduce_format(uint32_t format);
 
 #endif /* __IGT_KMS_H__ */
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#4 lore raw

PATCH 3/3 tests/kms_plane_scaling: Don't test every pixel format

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

We probably don't need to test every pixel format, so let's just test one format for each format "class" (as defined by igt_reduce_format()).

Speeds up the test considerably (on KBL):

$ time ./build/tests/kms_plane_scaling --r pipe-A-scaler-with-clipping-clamping
- real	0m25,186s
+ real	0m3,440s

As with kms_plane we'll add a new command line argument (--extended) which can be used to test all formats.

---
 tests/kms_plane_scaling.c | 80 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 74 insertions(+), 6 deletions(-)
tests/kms_plane_scaling.c +74 -6
index 35aac8dad078..19087286a0f9 100644
@@ -23,6 +23,7 @@
  */
 
 #include "igt.h"
+#include "igt_vec.h"
 #include <math.h>
 
 
@@ -43,6 +44,7 @@ typedef struct {
 	igt_plane_t *plane2;
 	igt_plane_t *plane3;
 	igt_plane_t *plane4;
+	bool extended;
 } data_t;
 
 static int get_num_scalers(data_t* d, enum pipe pipe)
@@ -221,6 +223,28 @@ static bool can_scale(data_t *d, unsigned format)
 	}
 }
 
+static bool test_format(data_t *data,
+			struct igt_vec *tested_formats,
+			uint32_t format)
+{
+	if (!igt_fb_supported_format(format))
+		return false;
+
+	if (!is_i915_device(data->drm_fd) ||
+	    data->extended)
+		return true;
+
+	format = igt_reduce_format(format);
+
+	/* only test each format "class" once */
+	if (igt_vec_index(tested_formats, &format) >= 0)
+		return false;
+
+	igt_vec_push(tested_formats, &format);
+
+	return true;
+}
+
 static void test_scaler_with_rotation_pipe(data_t *d, enum pipe pipe,
 					   igt_output_t *output)
 {
@@ -236,10 +260,14 @@ static void test_scaler_with_rotation_pipe(data_t *d, enum pipe pipe,
 
 		for (int i = 0; i < ARRAY_SIZE(rotations); i++) {
 			igt_rotation_t rot = rotations[i];
+			struct igt_vec tested_formats;
+
+			igt_vec_init(&tested_formats, sizeof(uint32_t));
+
 			for (int j = 0; j < plane->drm_plane->count_formats; j++) {
 				unsigned format = plane->drm_plane->formats[j];
 
-				if (igt_fb_supported_format(format) &&
+				if (test_format(d, &tested_formats, format) &&
 				    igt_plane_has_format_mod(plane, format, tiling) &&
 				    can_rotate(d, format, tiling, rot) &&
 				    can_scale(d, format))
@@ -247,6 +275,8 @@ static void test_scaler_with_rotation_pipe(data_t *d, enum pipe pipe,
 								     tiling, pipe,
 								     output, rot);
 			}
+
+			igt_vec_fini(&tested_formats);
 		}
 	}
 }
@@ -271,17 +301,22 @@ static void test_scaler_with_pixel_format_pipe(data_t *d, enum pipe pipe, igt_ou
 
 		for (int i = 0; i < ARRAY_SIZE(tilings); i++) {
 			uint64_t tiling = tilings[i];
+			struct igt_vec tested_formats;
+
+			igt_vec_init(&tested_formats, sizeof(uint32_t));
 
 			for (int j = 0; j < plane->drm_plane->count_formats; j++) {
 				uint32_t format = plane->drm_plane->formats[j];
 
-				if (igt_fb_supported_format(format) &&
+				if (test_format(d, &tested_formats, format) &&
 				    igt_plane_has_format_mod(plane, format, tiling) &&
 				    can_scale(d, format))
 					check_scaling_pipe_plane_rot(d, plane,
 								     format, tiling,
 								     pipe, output, IGT_ROTATION_0);
 			}
+
+			igt_vec_fini(&tested_formats);
 		}
 	}
 }
@@ -502,6 +537,7 @@ test_scaler_with_clipping_clamping_scenario(data_t *d, enum pipe pipe, igt_outpu
 {
 	igt_pipe_t *pipe_obj = &d->display.pipes[pipe];
 	drmModeModeInfo *mode;
+	struct igt_vec tested_formats1;
 
 	igt_require(get_num_scalers(d, pipe) >= 2);
 
@@ -510,22 +546,32 @@ test_scaler_with_clipping_clamping_scenario(data_t *d, enum pipe pipe, igt_outpu
 	d->plane2 = igt_pipe_get_plane_type(pipe_obj, DRM_PLANE_TYPE_OVERLAY);
 	prepare_crtc(d, output, pipe, d->plane1, mode);
 
+	igt_vec_init(&tested_formats1, sizeof(uint32_t));
+
 	for (int i = 0; i < d->plane1->drm_plane->count_formats; i++) {
 		unsigned f1 = d->plane1->drm_plane->formats[i];
-		if (!igt_fb_supported_format(f1) ||
+		struct igt_vec tested_formats2;
+
+		if (!test_format(d, &tested_formats1, f1) ||
 		    !can_scale(d, f1))
 			continue;
 
+		igt_vec_init(&tested_formats2, sizeof(uint32_t));
+
 		for (int j = 0; j < d->plane2->drm_plane->count_formats; j++) {
 			unsigned f2 = d->plane2->drm_plane->formats[j];
 
-			if (!igt_fb_supported_format(f2) ||
+			if (!test_format(d, &tested_formats2, f2) ||
 			    !can_scale(d, f2))
 				continue;
 
 			__test_scaler_with_clipping_clamping_scenario(d, mode, f1, f2);
 		}
+
+		igt_vec_fini(&tested_formats2);
 	}
+
+	igt_vec_fini(&tested_formats1);
 }
 
 static void find_connected_pipe(igt_display_t *display, bool second, enum pipe *pipe, igt_output_t **output)
@@ -619,9 +665,31 @@ static void test_scaler_with_multi_pipe_plane(data_t *d)
 	igt_display_commit2(display, COMMIT_ATOMIC);
 }
 
-igt_main
+static int opt_handler(int opt, int opt_index, void *_data)
+{
+	data_t *data = _data;
+
+	switch (opt) {
+	case 'e':
+		data->extended = true;
+		break;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+static const struct option long_opts[] = {
+	{ .name = "extended", .has_arg = false, .val = 'e', },
+	{}
+};
+
+static const char help_str[] =
+	"  --extended\t\tRun the extended tests\n";
+
+static data_t data;
+
+igt_main_args("", long_opts, help_str, opt_handler, &data)
 {
-	data_t data = {};
 	enum pipe pipe;
 
 	igt_fixture {
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 3/3
#5 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: Don't test every pixel format

Quoting Ville Syrjala (2020-01-30 15:12:29)

Quoted 51 lines

From: Ville Syrjälä <[email protected]>

We probably don't need to test every pixel format, so let's just test one format for each format "class" (as defined by igt_reduce_format()).

Speeds up the test considerably (on KBL):

$ time ./build/tests/kms_plane_scaling --r pipe-A-scaler-with-clipping-clamping
- real  0m25,186s
+ real  0m3,440s

As with kms_plane we'll add a new command line argument (--extended) which can be used to test all formats.

---
 tests/kms_plane_scaling.c | 80 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 74 insertions(+), 6 deletions(-)
tests/kms_plane_scaling.c +10 -0
index 35aac8dad078..19087286a0f9 100644
@@ -23,6 +23,7 @@
  */
 
 #include "igt.h"
+#include "igt_vec.h"
 #include <math.h>
 
 
@@ -43,6 +44,7 @@ typedef struct {
        igt_plane_t *plane2;
        igt_plane_t *plane3;
        igt_plane_t *plane4;
+       bool extended;
 } data_t;
 
 static int get_num_scalers(data_t* d, enum pipe pipe)
@@ -221,6 +223,28 @@ static bool can_scale(data_t *d, unsigned format)
        }
 }
 
+static bool test_format(data_t *data,
+                       struct igt_vec *tested_formats,
+                       uint32_t format)
+{
+       if (!igt_fb_supported_format(format))
+               return false;
+
+       if (!is_i915_device(data->drm_fd) ||

tests/kms_plane_scaling.c static bool can_scale(data_t *d, unsigned format) · line 243

Quoted 10 lines
tests/kms_plane_scaling.c +10 -0
+           data->extended)
+               return true;
+
+       format = igt_reduce_format(format);
+
+       /* only test each format "class" once */
+       if (igt_vec_index(tested_formats, &format) >= 0)
+               return false;
+
+       igt_vec_push(tested_formats, &format);

Ok, that does exactly what you describe.

However, that lookup is giving me the shivers, but it does the job so long as we don't have too many formats.

-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#6 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_plane_scaling: Don't test every pixel format

Quoted 65 lines · Chris Wilson

Quoting Ville Syrjala (2020-01-30 15:12:29)

Quoted 51 lines

From: Ville Syrjälä <[email protected]>

We probably don't need to test every pixel format, so let's just test one format for each format "class" (as defined by igt_reduce_format()).

Speeds up the test considerably (on KBL):

$ time ./build/tests/kms_plane_scaling --r pipe-A-scaler-with-clipping-clamping
- real  0m25,186s
+ real  0m3,440s

As with kms_plane we'll add a new command line argument (--extended) which can be used to test all formats.

---
 tests/kms_plane_scaling.c | 80 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 74 insertions(+), 6 deletions(-)
tests/kms_plane_scaling.c +10 -0
index 35aac8dad078..19087286a0f9 100644
@@ -23,6 +23,7 @@
  */
 
 #include "igt.h"
+#include "igt_vec.h"
 #include <math.h>
 
 
@@ -43,6 +44,7 @@ typedef struct {
        igt_plane_t *plane2;
        igt_plane_t *plane3;
        igt_plane_t *plane4;
+       bool extended;
 } data_t;
 
 static int get_num_scalers(data_t* d, enum pipe pipe)
@@ -221,6 +223,28 @@ static bool can_scale(data_t *d, unsigned format)
        }
 }
 
+static bool test_format(data_t *data,
+                       struct igt_vec *tested_formats,
+                       uint32_t format)
+{
+       if (!igt_fb_supported_format(format))
+               return false;
+
+       if (!is_i915_device(data->drm_fd) ||

tests/kms_plane_scaling.c static bool can_scale(data_t *d, unsigned format) · line 243

Quoted 10 lines
tests/kms_plane_scaling.c +10 -0
+           data->extended)
+               return true;
+
+       format = igt_reduce_format(format);
+
+       /* only test each format "class" once */
+       if (igt_vec_index(tested_formats, &format) >= 0)
+               return false;
+
+       igt_vec_push(tested_formats, &format);

Ok, that does exactly what you describe.

Quoted 2 lines

However, that lookup is giving me the shivers, but it does the job so long as we don't have too many formats.

Yeah, this being the reduced format we should only have a handful of these. But I'd be totally fine using a better data structure if someone wants to write me one ;)

Quoted 2 lines

Thanks.

Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 1/3
#7 lore raw
In reply to Ville Syrjala

Quoting Ville Syrjala (2020-01-30 15:12:27)

Quoted 81 lines

From: Ville Syrjälä <[email protected]>

Add a small std::vector lookalike which grows as needed.

---
 lib/Makefile.sources |  2 ++
 lib/igt_vec.c        | 86 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_vec.h        | 40 +++++++++++++++++++++
 lib/meson.build      |  1 +
 4 files changed, 129 insertions(+)
 create mode 100644 lib/igt_vec.c
 create mode 100644 lib/igt_vec.h
lib/Makefile.sources +2 -0
index 631d6714e5ce..3e573f267e15 100644
@@ -62,6 +62,8 @@ lib_source_list =             \
        igt_sysrq.h             \
        igt_x86.h               \
        igt_x86.c               \
+       igt_vec.c               \
+       igt_vec.h               \
        igt_vgem.c              \
        igt_vgem.h              \
        instdone.c              \
lib/igt_vec.c new file +48 -0
new file mode 100644
index 000000000000..dc4a6172fc8d
@@ -0,0 +1,86 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#include <stdlib.h>
+#include <string.h>
+
+#include "igt_core.h"
+#include "igt_vec.h"
+
+void igt_vec_init(struct igt_vec *vec, int elem_size)
+{
+       memset(vec, 0, sizeof(*vec));
+       vec->elem_size = elem_size;
+}
+
+void igt_vec_fini(struct igt_vec *vec)
+{
+       free(vec->elems);
+       memset(vec, 0, sizeof(*vec));
+}
+
+void *igt_vec_elem(const struct igt_vec *vec, int idx)
+{
+       igt_assert(idx < vec->len);
+
+       return vec->elems + idx * vec->elem_size;
+}
+

lib/igt_vec.c line 58

Quoted 10 lines
lib/igt_vec.c new file +10 -0
+void igt_vec_push(struct igt_vec *vec, void *elem)
+{
+       if (vec->len >= vec->size) {
+               vec->size = vec->size ? vec->size * 2 : 8;
+               vec->elems = realloc(vec->elems, vec->size * vec->elem_size);
+               igt_assert(vec->elems);
+       }
+
+       vec->len++;
+       memcpy(igt_vec_elem(vec, vec->len - 1), elem, vec->elem_size);

I would have split this into

void *igt_vec_grow(struct igt_vec *vec)

{
       if (vec->len++ >= vec->size) {
               vec->size = vec->size ? vec->size * 2 : 8;
               vec->elems = realloc(vec->elems, vec->size * vec->elem_size);
               igt_assert(vec->elems);
       }

       return igt_vec_elem(vec, vec->len - 1);
}

igt_vec_push(vec, elem)

{
	memcpy(igt_vec_grow(vec), elem, vec->size);
}

since we are happy to throw assertions and not worry too much about error propagation.

Quoted 17 lines
lib/igt_vec.c new file +17 -0
+
+       vec->len++;
+}
+
+int igt_vec_length(const struct igt_vec *vec)
+{
+       return vec->len;
+}
+
+int igt_vec_index(const struct igt_vec *vec, void *elem)
+{
+       for (int i = 0; i < vec->len; i++) {
+               if (!memcmp(igt_vec_elem(vec, i), elem, vec->elem_size))
+                       return i;
+       }
+
+       return -1;

lib/igt_vec.c line 83

Quoted 10 lines
lib/igt_vec.c new file +10 -0
+}
+
+void igt_vec_remove(struct igt_vec *vec, int idx)
+{
+       igt_assert(idx < vec->len);
+
+       if (idx < vec->len - 1)
+               memmove(igt_vec_elem(vec, idx),
+                       igt_vec_elem(vec, idx + 1),
+                       (vec->len - 1 - idx) * vec->elem_size);

memmove of 0 not to your liking?

Quoted 28 lines
lib/igt_vec.c new file +3 -0
+
+       vec->len--;
+}
lib/igt_vec.h new file +19 -0
new file mode 100644
index 000000000000..de2549a45841
@@ -0,0 +1,40 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

lib/igt_vec.h line 29

Quoted 10 lines
lib/igt_vec.h new file +10 -0
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#ifndef __IGT_VEC_H__
+#define __IGT_VEC_H__
+
+struct igt_vec {
+       void *elems;
+       int elem_size, size, len;

I would have used char[0] and casting just to have a variable length struct :)

I might have also used longs throughout instead of ints, or in this day and age, size_t.

-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#8 lore raw
Quoted 106 lines · Chris Wilson

Quoting Ville Syrjala (2020-01-30 15:12:27)

Quoted 81 lines

From: Ville Syrjälä <[email protected]>

Add a small std::vector lookalike which grows as needed.

---
 lib/Makefile.sources |  2 ++
 lib/igt_vec.c        | 86 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_vec.h        | 40 +++++++++++++++++++++
 lib/meson.build      |  1 +
 4 files changed, 129 insertions(+)
 create mode 100644 lib/igt_vec.c
 create mode 100644 lib/igt_vec.h
lib/Makefile.sources +2 -0
index 631d6714e5ce..3e573f267e15 100644
@@ -62,6 +62,8 @@ lib_source_list =             \
        igt_sysrq.h             \
        igt_x86.h               \
        igt_x86.c               \
+       igt_vec.c               \
+       igt_vec.h               \
        igt_vgem.c              \
        igt_vgem.h              \
        instdone.c              \
lib/igt_vec.c new file +48 -0
new file mode 100644
index 000000000000..dc4a6172fc8d
@@ -0,0 +1,86 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#include <stdlib.h>
+#include <string.h>
+
+#include "igt_core.h"
+#include "igt_vec.h"
+
+void igt_vec_init(struct igt_vec *vec, int elem_size)
+{
+       memset(vec, 0, sizeof(*vec));
+       vec->elem_size = elem_size;
+}
+
+void igt_vec_fini(struct igt_vec *vec)
+{
+       free(vec->elems);
+       memset(vec, 0, sizeof(*vec));
+}
+
+void *igt_vec_elem(const struct igt_vec *vec, int idx)
+{
+       igt_assert(idx < vec->len);
+
+       return vec->elems + idx * vec->elem_size;
+}
+

lib/igt_vec.c line 58

Quoted 10 lines
lib/igt_vec.c new file +10 -0
+void igt_vec_push(struct igt_vec *vec, void *elem)
+{
+       if (vec->len >= vec->size) {
+               vec->size = vec->size ? vec->size * 2 : 8;
+               vec->elems = realloc(vec->elems, vec->size * vec->elem_size);
+               igt_assert(vec->elems);
+       }
+
+       vec->len++;
+       memcpy(igt_vec_elem(vec, vec->len - 1), elem, vec->elem_size);

I would have split this into

void *igt_vec_grow(struct igt_vec *vec)

{
       if (vec->len++ >= vec->size) {
               vec->size = vec->size ? vec->size * 2 : 8;
               vec->elems = realloc(vec->elems, vec->size * vec->elem_size);
               igt_assert(vec->elems);
       }

       return igt_vec_elem(vec, vec->len - 1);
}
Quoted 7 lines

igt_vec_push(vec, elem)

{
	memcpy(igt_vec_grow(vec), elem, vec->size);
}

since we are happy to throw assertions and not worry too much about error propagation.

I can paint it like that.

Quoted 22 lines
Quoted 22 lines
lib/igt_vec.c new file +21 -0
+
+       vec->len++;
+}
+
+int igt_vec_length(const struct igt_vec *vec)
+{
+       return vec->len;
+}
+
+int igt_vec_index(const struct igt_vec *vec, void *elem)
+{
+       for (int i = 0; i < vec->len; i++) {
+               if (!memcmp(igt_vec_elem(vec, i), elem, vec->elem_size))
+                       return i;
+       }
+
+       return -1;
+}
+
+void igt_vec_remove(struct igt_vec *vec, int idx)
+{
Quoted 8 lines

lib/igt_vec.c line 83

Quoted 6 lines
lib/igt_vec.c new file +6 -0
+       igt_assert(idx < vec->len);
+
+       if (idx < vec->len - 1)
+               memmove(igt_vec_elem(vec, idx),
+                       igt_vec_elem(vec, idx + 1),
+                       (vec->len - 1 - idx) * vec->elem_size);

memmove of 0 not to your liking?

Don't think I've ever figured out if it works as expected.

Quoted 34 lines
Quoted 34 lines
lib/igt_vec.c new file +3 -0
+
+       vec->len--;
+}
lib/igt_vec.h new file +24 -0
new file mode 100644
index 000000000000..de2549a45841
@@ -0,0 +1,40 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#ifndef __IGT_VEC_H__
Quoted 8 lines

lib/igt_vec.h line 29

Quoted 5 lines
lib/igt_vec.h new file +5 -0
+#define __IGT_VEC_H__
+
+struct igt_vec {
+       void *elems;
+       int elem_size, size, len;

I would have used char[0] and casting just to have a variable length struct :)

Then we'd have to reallocate the whole struct to grow it. Wouldn't work since the caller owns the struct.

Quoted 3 lines

I might have also used longs throughout instead of ints, or in this day and age, size_t.

I was actually thinking of something smaller since I doubt anyone wants to use this with large amounts of data due to O(n).

Quoted 3 lines

-Chris

Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#9 lore raw

Quoting Ville Syrjälä (2020-01-30 15:54:10)

Quoted 12 lines · Chris Wilson
Quoted 10 lines

Quoting Ville Syrjala (2020-01-30 15:12:27)

lib/igt_vec.h line 29

Quoted 6 lines
lib/igt_vec.h new file +6 -0
+#ifndef __IGT_VEC_H__
+#define __IGT_VEC_H__
+
+struct igt_vec {
+       void *elems;
+       int elem_size, size, len;

I would have used char[0] and casting just to have a variable length struct :)

Quoted 2 lines

Then we'd have to reallocate the whole struct to grow it. Wouldn't work since the caller owns the struct.

True.

Quoted 6 lines
Quoted 3 lines

I might have also used longs throughout instead of ints, or in this day and age, size_t.

I was actually thinking of something smaller since I doubt anyone wants to use this with large amounts of data due to O(n).

Heh, I was thinking of combining this with the igt_collections elsewhere for random set permutations. Both API are not so keen with my idea of testing everything under the sun at once. Self-mutating test sets? -Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#10 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] lib/vec: Add igt_vec

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/vec: Add igt_vec
URL : https://patchwork.freedesktop.org/series/72778/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7844 -> IGTPW_4042
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html

Known issues
------------

Here are the changes found in IGTPW_4042 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [PASS][1] -> [FAIL][2] ([i915#217])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/fi-icl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/fi-icl-u2/igt@[email protected]

#### Possible fixes ####

* igt@gem_close_race@basic-threads:
- fi-byt-j1900: [TIMEOUT][3] ([fdo#112271] / [i915#1084] / [i915#816]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/fi-byt-j1900/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/fi-byt-j1900/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][5] ([fdo#111096] / [i915#323]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/fi-kbl-7500u/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [DMESG-WARN][7] ([i915#44]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/fi-hsw-peppy/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/fi-hsw-peppy/igt@[email protected]

[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#217]: https://gitlab.freedesktop.org/drm/intel/issues/217
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#44]: https://gitlab.freedesktop.org/drm/intel/issues/44
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816

Participating hosts (46 -> 43)
------------------------------

Additional (7): fi-glk-dsi fi-whl-u fi-ivb-3770 fi-cfl-8109u fi-blb-e6850 fi-skl-6600u fi-kbl-r
Missing (10): fi-kbl-soraka fi-icl-1065g7 fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-hsw-4770 fi-kbl-7560u fi-byt-n2820 fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5407 -> IGTPW_4042

CI-20190529: 20190529
CI_DRM_7844: 47faa2a989ef89a15089190a5f942a2d2a34fda5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4042: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html
IGT_5407: a9d69f51dadbcbc53527671f87572d05c3370cba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#11 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/3] lib/vec: Add igt_vec

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/vec: Add igt_vec
URL : https://patchwork.freedesktop.org/series/72778/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7844_full -> IGTPW_4042_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_4042_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_4042_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_4042_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-iclb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb3/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_4042_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_isolation@rcs0-s3:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([i915#180]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl1/igt@[email protected]

* igt@gem_ctx_persistence@vcs1-mixed-process:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#112080]) +17 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb3/igt@[email protected]

* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#110854])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb5/igt@[email protected]

* igt@gem_exec_schedule@pi-userfault-bsd:
- shard-iclb: [PASS][9] -> [SKIP][10] ([i915#677])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb4/igt@[email protected]

* igt@gem_exec_schedule@preempt-bsd:
- shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#112146]) +4 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb5/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [PASS][13] -> [SKIP][14] ([fdo#109276]) +22 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb6/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-gup:
- shard-snb: [PASS][15] -> [DMESG-WARN][16] ([i915#478]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb6/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]

* igt@i915_pm_dc@dc5-dpms:
- shard-iclb: [PASS][17] -> [FAIL][18] ([i915#447])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb3/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][19] -> [FAIL][20] ([i915#454])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb4/igt@[email protected]

* igt@i915_selftest@live_gtt:
- shard-apl: [PASS][21] -> [TIMEOUT][22] ([fdo#112271])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl3/igt@i915_selftest@live_gtt.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl6/igt@i915_selftest@live_gtt.html

* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-snb: [PASS][23] -> [SKIP][24] ([fdo#109271]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb5/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb6/igt@[email protected]

* igt@kms_color@pipe-a-gamma:
- shard-tglb: [PASS][25] -> [FAIL][26] ([i915#71])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-tglb8/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-tglb8/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-128x42-random:
- shard-apl: [PASS][27] -> [FAIL][28] ([i915#54])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl1/igt@[email protected]
- shard-kbl: [PASS][29] -> [FAIL][30] ([i915#54])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-kbl7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-kbl6/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-varying-size:
- shard-tglb: [PASS][31] -> [FAIL][32] ([IGT#5])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-tglb8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-tglb2/igt@[email protected]

* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [PASS][33] -> [INCOMPLETE][34] ([i915#61])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [PASS][35] -> [DMESG-WARN][36] ([i915#180]) +4 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-kbl2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-kbl2/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-msflip-blt:
- shard-tglb: [PASS][37] -> [SKIP][38] ([i915#668]) +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-tglb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-tglb2/igt@[email protected]

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][39] -> [SKIP][40] ([fdo#109441]) +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb1/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@kms_setmode@basic:
- shard-apl: [PASS][41] -> [FAIL][42] ([i915#31])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl6/igt@[email protected]
- shard-hsw: [PASS][43] -> [FAIL][44] ([i915#31])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw2/igt@[email protected]

* igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend:
- shard-kbl: [PASS][45] -> [INCOMPLETE][46] ([fdo#103665])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-kbl1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-kbl4/igt@[email protected]

* igt@prime_mmap_coherency@ioctl-errors:
- shard-hsw: [PASS][47] -> [FAIL][48] ([i915#831])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw6/igt@[email protected]

#### Possible fixes ####

* igt@gem_caching@reads:
- shard-hsw: [FAIL][49] ([i915#694]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw2/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw1/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd2:
- shard-iclb: [SKIP][51] ([fdo#109276]) -> [PASS][52] +11 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb7/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb1/igt@[email protected]

* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [SKIP][53] ([fdo#112146]) -> [PASS][54] +6 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb6/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [FAIL][55] ([i915#644]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-glk9/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-glk3/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-snb: [DMESG-WARN][57] ([fdo#111870] / [i915#478]) -> [PASS][58] +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb5/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb5/igt@[email protected]

* igt@gem_workarounds@suspend-resume-fd:
- shard-apl: [DMESG-WARN][59] ([i915#180]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl3/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][61] ([i915#454]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb3/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb7/igt@[email protected]

* igt@i915_pm_rps@waitboost:
- shard-iclb: [FAIL][63] ([i915#413]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb5/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb8/igt@[email protected]

* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: [DMESG-WARN][65] ([i915#180]) -> [PASS][66] +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-kbl7/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-kbl6/igt@[email protected]

* igt@kms_color@pipe-c-ctm-green-to-red:
- shard-kbl: [FAIL][67] ([i915#129]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-kbl1/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-kbl3/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-hsw: [INCOMPLETE][69] ([CI#80] / [i915#61]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw2/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw5/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html

* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][71] ([fdo#109642] / [fdo#111068]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb4/igt@kms_psr2_su@page_flip.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb2/igt@kms_psr2_su@page_flip.html

* igt@kms_psr@psr2_basic:
- shard-iclb: [SKIP][73] ([fdo#109441]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb8/igt@kms_psr@psr2_basic.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb2/igt@kms_psr@psr2_basic.html

* igt@perf@gen12-mi-rpc:
- shard-tglb: [TIMEOUT][75] ([fdo#112271] / [i915#1085] / [i915#472]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-tglb6/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-tglb3/igt@[email protected]

* igt@perf_pmu@busy-vcs1:
- shard-iclb: [SKIP][77] ([fdo#112080]) -> [PASS][78] +10 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb7/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb2/igt@[email protected]

#### Warnings ####

* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [FAIL][79] ([IGT#28]) -> [SKIP][80] ([fdo#112080]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb1/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb3/igt@[email protected]

* igt@gem_eio@in-flight-contexts-10ms:
- shard-apl: [TIMEOUT][81] ([fdo#112271]) -> [INCOMPLETE][82] ([CI#80] / [fdo#103927])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-apl7/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-apl4/igt@[email protected]

* igt@gem_eio@in-flight-contexts-immediate:
- shard-glk: [TIMEOUT][83] ([fdo#112271]) -> [INCOMPLETE][84] ([CI#80] / [i915#58] / [k.org#198133])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-glk3/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-glk3/igt@[email protected]

* igt@gem_eio@in-flight-immediate:
- shard-glk: [INCOMPLETE][85] ([CI#80] / [i915#58] / [k.org#198133]) -> [TIMEOUT][86] ([fdo#112271])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-glk2/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-glk3/igt@[email protected]

* igt@gem_tiled_blits@normal:
- shard-hsw: [FAIL][87] ([i915#818]) -> [FAIL][88] ([i915#694]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-hsw2/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-hsw5/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-snb: [DMESG-WARN][89] ([fdo#110789] / [fdo#111870] / [i915#478]) -> [DMESG-WARN][90] ([fdo#111870] / [i915#478])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]

* igt@i915_pm_rpm@pm-tiling:
- shard-snb: [INCOMPLETE][91] ([i915#82]) -> [SKIP][92] ([fdo#109271])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb2/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]

* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [DMESG-WARN][93] ([fdo#107724]) -> [SKIP][94] ([fdo#109349])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-iclb2/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-iclb7/igt@[email protected]

* igt@runner@aborted:
- shard-snb: ([FAIL][95], [FAIL][96], [FAIL][97], [FAIL][98], [FAIL][99], [FAIL][100], [FAIL][101]) ([i915#1077]) -> ([FAIL][102], [FAIL][103], [FAIL][104], [FAIL][105], [FAIL][106], [FAIL][107], [FAIL][108], [FAIL][109], [FAIL][110]) ([i915#1077] / [i915#698])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb6/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb1/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb5/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb1/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb2/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7844/shard-snb5/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb4/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb5/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/shard-snb4/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80
[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[IGT#5]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/5
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1077]: https://gitlab.freedesktop.org/drm/intel/issues/1077
[i915#1085]: https://gitlab.freedesktop.org/drm/intel/issues/1085
[i915#129]: https://gitlab.freedesktop.org/drm/intel/issues/129
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#447]: https://gitlab.freedesktop.org/drm/intel/issues/447
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472
[i915#478]: https://gitlab.freedesktop.org/drm/intel/issues/478
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#698]: https://gitlab.freedesktop.org/drm/intel/issues/698
[i915#71]: https://gitlab.freedesktop.org/drm/intel/issues/71
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
[i915#831]: https://gitlab.freedesktop.org/drm/intel/issues/831
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133

Participating hosts (10 -> 8)
------------------------------

Missing (2): pig-skl-6260u pig-glk-j5005

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5407 -> IGTPW_4042
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_7844: 47faa2a989ef89a15089190a5f942a2d2a34fda5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4042: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html
IGT_5407: a9d69f51dadbcbc53527671f87572d05c3370cba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4042/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#12 lore raw

PATCH v2 1/3 lib/vec: Add igt_vec

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add a small std::vector lookalike which grows as needed.

v2: Reorganize things into igt_vec_grow() (Chris)
Trust that memmove(..., 0) works (Chris)

---
 lib/Makefile.sources |  2 +
 lib/igt_vec.c        | 89 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_vec.h        | 40 ++++++++++++++++++++
 lib/meson.build      |  1 +
 4 files changed, 132 insertions(+)
 create mode 100644 lib/igt_vec.c
 create mode 100644 lib/igt_vec.h
lib/Makefile.sources +2 -0
index 631d6714e5ce..3e573f267e15 100644
@@ -62,6 +62,8 @@ lib_source_list =	 	\
 	igt_sysrq.h		\
 	igt_x86.h		\
 	igt_x86.c		\
+	igt_vec.c		\
+	igt_vec.h		\
 	igt_vgem.c		\
 	igt_vgem.h		\
 	instdone.c		\
lib/igt_vec.c new file +89 -0

89 lines not on this page · raw message

lib/igt_vec.h new file +40 -0
new file mode 100644
index 000000000000..de2549a45841
@@ -0,0 +1,40 @@
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#ifndef __IGT_VEC_H__
+#define __IGT_VEC_H__
+
+struct igt_vec {
+	void *elems;
+	int elem_size, size, len;
+};
+
+void igt_vec_init(struct igt_vec *vec, int elem_size);
+void igt_vec_fini(struct igt_vec *vec);
+void igt_vec_push(struct igt_vec *vec, void *elem);
+int igt_vec_length(const struct igt_vec *vec);
+void *igt_vec_elem(const struct igt_vec *vec, int idx);
+int igt_vec_index(const struct igt_vec *vec, void *elem);
+void igt_vec_remove(struct igt_vec *vec, int idx);
+
+#endif /* __IGT_VEC_H__ */
lib/meson.build +1 -0
index d87546185ade..e87e5803610f 100644
@@ -24,6 +24,7 @@ lib_sources = [
 	'igt_syncobj.c',
 	'igt_sysfs.c',
 	'igt_sysrq.c',
+	'igt_vec.c',
 	'igt_vgem.c',
 	'igt_x86.c',
 	'instdone.c',
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#13 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v2,1/3] lib/vec: Add igt_vec (rev3)

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,v2,1/3] lib/vec: Add igt_vec (rev3)
URL : https://patchwork.freedesktop.org/series/72778/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7863 -> IGTPW_4082
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html

Known issues
------------

Here are the changes found in IGTPW_4082 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_close_race@basic-threads:
- fi-hsw-peppy: [PASS][1] -> [INCOMPLETE][2] ([i915#694] / [i915#816])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-hsw-peppy/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-hsw-peppy/igt@[email protected]
- fi-byt-j1900: [PASS][3] -> [INCOMPLETE][4] ([i915#45])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-byt-j1900/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-byt-j1900/igt@[email protected]

* igt@i915_selftest@live_gem_contexts:
- fi-cfl-guc: [PASS][5] -> [INCOMPLETE][6] ([fdo#106070] / [i915#424])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][7] -> [FAIL][8] ([fdo#111407])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-kbl-7500u/igt@[email protected]

* igt@prime_self_import@basic-llseek-size:
- fi-tgl-y: [PASS][9] -> [DMESG-WARN][10] ([CI#94] / [i915#402]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-tgl-y/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [INCOMPLETE][11] ([i915#45]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-byt-n2820/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-byt-n2820/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [FAIL][13] ([i915#178]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-skl-6770hq/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-skl-6770hq/igt@[email protected]

* igt@i915_selftest@live_hangcheck:
- {fi-ehl-1}: [INCOMPLETE][15] ([i915#937]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-ehl-1/igt@i915_selftest@live_hangcheck.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-ehl-1/igt@i915_selftest@live_hangcheck.html

* igt@prime_vgem@basic-fence-flip:
- fi-tgl-y: [DMESG-WARN][17] ([CI#94] / [i915#402]) -> [PASS][18] +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/fi-tgl-y/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/fi-tgl-y/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#106070]: https://bugs.freedesktop.org/show_bug.cgi?id=106070
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[i915#178]: https://gitlab.freedesktop.org/drm/intel/issues/178
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816
[i915#937]: https://gitlab.freedesktop.org/drm/intel/issues/937

Participating hosts (53 -> 47)
------------------------------

Missing (6): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5417 -> IGTPW_4082

CI-20190529: 20190529
CI_DRM_7863: 8ae46cc3902da96a0744a7237dce4b17747438b4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4082: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html
IGT_5417: 33cc93c8ba5daa0b7498f297a4f626844d895d06 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#14 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,v2,1/3] lib/vec: Add igt_vec (rev3)

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,v2,1/3] lib/vec: Add igt_vec (rev3)
URL : https://patchwork.freedesktop.org/series/72778/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7863_full -> IGTPW_4082_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html

Known issues
------------

Here are the changes found in IGTPW_4082_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#112080]) +13 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@pi-common-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([i915#677]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#112146]) +7 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb2/igt@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-kbl: [PASS][7] -> [INCOMPLETE][8] ([fdo#103665])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-kbl1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-kbl4/igt@[email protected]

* igt@kms_busy@basic-modeset-pipe-a:
- shard-snb: [PASS][9] -> [SKIP][10] ([fdo#109271]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-snb5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-snb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-64x21-sliding:
- shard-apl: [PASS][11] -> [FAIL][12] ([i915#54])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-apl3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-apl3/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][13] -> [DMESG-WARN][14] ([i915#180]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-kbl6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-kbl7/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-tglb: [PASS][15] -> [SKIP][16] ([i915#668]) +3 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-tglb2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-tglb5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html

* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-glk: [PASS][17] -> [FAIL][18] ([i915#899]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-glk4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-glk5/igt@[email protected]

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][19] -> [SKIP][20] ([fdo#109441]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb7/igt@kms_psr@psr2_sprite_plane_move.html

* igt@kms_setmode@basic:
- shard-hsw: [PASS][21] -> [FAIL][22] ([i915#31])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw6/igt@[email protected]

* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109276]) +20 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb5/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_balancer@smoke:
- shard-iclb: [SKIP][25] ([fdo#110854]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb1/igt@[email protected]

* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [SKIP][27] ([fdo#112146]) -> [PASS][28] +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb1/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb3/igt@[email protected]

* igt@gem_exec_schedule@pi-distinct-iova-blt:
- shard-glk: [FAIL][29] ([i915#859]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-glk5/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-glk8/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [SKIP][31] ([fdo#109276]) -> [PASS][32] +17 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb6/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb1/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads-snoop:
- shard-hsw: [FAIL][33] ([i915#694]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw5/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw2/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [FAIL][35] ([i915#644]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-glk3/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-glk3/igt@[email protected]

* igt@gem_ringfill@basic-default-hang:
- shard-iclb: [INCOMPLETE][37] ([i915#140]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb5/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb6/igt@[email protected]

* igt@gem_tiled_blits@interruptible:
- shard-hsw: [FAIL][39] ([i915#818]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw8/igt@[email protected]

* igt@i915_selftest@live_blt:
- shard-hsw: [DMESG-FAIL][41] ([i915#553] / [i915#725]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw6/igt@i915_selftest@live_blt.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw4/igt@i915_selftest@live_blt.html

* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-iclb: [SKIP][43] ([i915#1140]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb4/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-dpms:
- shard-apl: [FAIL][45] ([i915#54]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-apl3/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-apl8/igt@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank:
- shard-glk: [FAIL][47] ([i915#79]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-glk3/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-glk8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-tglb: [SKIP][49] ([i915#668]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-apl: [DMESG-WARN][51] ([i915#180]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-apl1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-apl2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-kbl: [DMESG-WARN][53] ([i915#180]) -> [PASS][54] +6 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-kbl4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-kbl7/igt@[email protected]

* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][55] ([i915#173]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb1/igt@kms_psr@no_drrs.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb8/igt@kms_psr@no_drrs.html

* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][57] ([fdo#109441]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb3/igt@kms_psr@psr2_cursor_render.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb2/igt@kms_psr@psr2_cursor_render.html

* igt@perf@short-reads:
- shard-apl: [TIMEOUT][59] ([fdo#112271] / [i915#51]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-apl2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-apl2/igt@[email protected]

* igt@perf_pmu@busy-accuracy-98-vcs1:
- shard-iclb: [SKIP][61] ([fdo#112080]) -> [PASS][62] +11 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-iclb8/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-iclb1/igt@[email protected]

* igt@perf_pmu@cpu-hotplug:
- shard-hsw: [INCOMPLETE][63] ([i915#61]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw6/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw1/igt@[email protected]

* igt@prime_mmap_coherency@ioctl-errors:
- shard-hsw: [FAIL][65] ([i915#831]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7863/shard-hsw6/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/shard-hsw2/igt@[email protected]

[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1140]: https://gitlab.freedesktop.org/drm/intel/issues/1140
[i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#51]: https://gitlab.freedesktop.org/drm/intel/issues/51
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[i915#831]: https://gitlab.freedesktop.org/drm/intel/issues/831
[i915#859]: https://gitlab.freedesktop.org/drm/intel/issues/859
[i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899

Participating hosts (10 -> 8)
------------------------------

Missing (2): pig-skl-6260u pig-glk-j5005

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5417 -> IGTPW_4082
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_7863: 8ae46cc3902da96a0744a7237dce4b17747438b4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4082: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html
IGT_5417: 33cc93c8ba5daa0b7498f297a4f626844d895d06 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4082/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev