Skip to contentSkip to conversation

IGT tests for the KMS Color Pipeline API

RFC In review Bhanuprakash Modem 3 participants 27 messages Feb 14, 2024 – Feb 20, 2024

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

v4 cover IGT tests for the KMS Color Pipeline API

This series introduces support for
* drm_colorop DRM objects
* COLOR_PIPELINE plane property

Kernel changes:
https://gitlab.freedesktop.org/hwentland/linux/-/merge_requests/5

It also adds a new kms_colorop test case that tests the color pipeline API. The tests are designed to be easily extensible with a "transform" and "compare" function pointer for each test. The "transform" function performs the transformations under test via SW routines. The "compare" function compares the DRM/KMS result (via a writeback connector) with the result derived via the SW "transform".

There are three tests for LUTs:
- plane-srgb_eotf: pre-blending sRGB EOTF
- plane-srgb_inv_eotf: pre-blending sRGB Inverse EOTF
- plane-srgb_eotf-srgb_inv_eotf: pre-blending sRGB EOTF, followed by its inverse

And a number of tests for matrices.

v3:
- Remove need for IOCTLs and libdrm changes
- Test colorop properties with both atomic and legacy code paths
- move enum drm_colorop_type to drm_mode.h
- Add descriptions for public functions in lib (Kamil)
- Use SPDX style license identifier (Kamil)
- Replace Skia license comment with copyright note in file header
- Fix kms_colorop subtests if applicable color pipeline not found

v4: (Bhanu)
- Though v3 required some cleanup, I am not touching it, instead fix any issue as new patch (we may need to squash those patches)
- Rebase v3
- Move few helpers to common place (kms_color_helper) to reuse by multiple tests
- New helpers to cleanup the colorop props.
- Helpers to support custom 1D LUT & CTM 3x3
- New subtests to validate Intel plane color pipeline, please find the KMD changes: https://patchwork.freedesktop.org/series/129812/

Cc Ville Syrjala <[email protected]>
Cc Pekka Paalanen <[email protected]>
Cc Simon Ser <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Melissa Wen <[email protected]>
Cc Jonas Ådahl <[email protected]>
Cc Sebastian Wick <[email protected]>
Cc Shashank Sharma <[email protected]>
Cc Alexander Goins <[email protected]>
Cc Joshua Ashton <[email protected]>
Cc Michel Dänzer <[email protected]>
Cc Aleix Pol <[email protected]>
Cc Xaver Hugl <[email protected]>
Cc Victoria Brekenfeld <[email protected]>
Cc Uma Shankar <[email protected]>
Cc Bhanuprakash Modem <[email protected]>
Cc Naseer Ahmed <[email protected]>
Cc Christopher Braga <[email protected]>
Cc Abhinav Kumar <[email protected]>
Cc Arthur Grillo <[email protected]>
Cc Hector Martin <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Sasha McIntosh <[email protected]>

Bhanuprakash Modem (10):
tests/kms_properties: Fix compilation errors lib/igt_kms: Destroy colorops on exit
lib/colorops: Move few helpers to common place to reuse
drm-uapi: Add 3x3 CTM
drm-uapi: Add custom 1D LUT
lib/igt_color: Add support for 3x3 matrices lib/colorops: Add support for Custom 1D LUT lib/igt_kms: Increase the colorops count tests/kms_color_helper: Add helpers to clear colorops data tests/kms_color: Add plane color pipeline tests for Intel hardware

Harry Wentland (12):
lib/drmtest: Add is_vkms_device()
lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE include/drm-uapi: Add COLOROP object lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE tests/kms_properties: Add colorop properties test igt/color: Add SW color transform functionality lib/igt_fb: Add copy_fb function tests/kms_colorop: Add kms_colorop tests
drm-uapi: Add 3x4 CTM
lib/igt_kms: Add support for DATA colorop property lib/igt_color: Add support for 3x4 matrices tests/kms_colorop: Add 3x4 CTM tests

 include/drm-uapi/drm.h      |  15 ++
 include/drm-uapi/drm_mode.h |  52 +++++
 lib/drmtest.c               |   5 +
 lib/drmtest.h               |   1 +
 lib/igt_color.c             | 361 +++++++++++++++++++++++++++++
 lib/igt_color.h             |  81 +++++++
 lib/igt_fb.c                |  40 +++-
 lib/igt_fb.h                |   3 +
 lib/igt_kms.c               | 312 ++++++++++++++++++++++++-
 lib/igt_kms.h               |  97 +++++++-
 lib/meson.build             |   1 +
 tests/kms_color.c           | 273 +++++++++++++++++++++-
 tests/kms_color_helper.c    | 313 ++++++++++++++++++++++++++
 tests/kms_color_helper.h    |  91 ++++++++
 tests/kms_colorop.c         | 438 ++++++++++++++++++++++++++++++++++++
 tests/kms_properties.c      |  72 ++++++
 tests/meson.build           |   2 +
 17 files changed, 2140 insertions(+), 17 deletions(-)
 create mode 100644 lib/igt_color.c
 create mode 100644 lib/igt_color.h
 create mode 100644 tests/kms_colorop.c

--
2.43.0

#1 lore raw

RFC v4 1/22 lib/drmtest: Add is_vkms_device()

From: Harry Wentland <[email protected]>

---
 lib/drmtest.c | 5 +++++
 lib/drmtest.h | 1 +
 2 files changed, 6 insertions(+)
lib/drmtest.c +5 -0
index 52b5a2020..7df9bd0b7 100644
@@ -106,6 +106,11 @@ static bool __is_device(int fd, const char *expect)
 	return strcmp(expect, name) == 0;
 }
 
+bool is_vkms_device(int fd)
+{
+	return __is_device(fd, "vkms");
+}
+
 bool is_amdgpu_device(int fd)
 {
 	return __is_device(fd, "amdgpu");
lib/drmtest.h +1 -0
index 6bc819734..ddf8ae083 100644
@@ -121,6 +121,7 @@ void igt_require_nouveau(int fd);
 void igt_require_vc4(int fd);
 void igt_require_xe(int fd);
 
+bool is_vkms_device(int fd);
 bool is_amdgpu_device(int fd);
 bool is_i915_device(int fd);
 bool is_mtk_device(int fd);
Signature · 1 line
2.43.0
#2 lore raw

RFC v4 2/22 lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

We don't want to set this by default since existing tests might require COLOR_RANGE and COLOR_ENCODING plane properties.

---
 include/drm-uapi/drm.h | 15 +++++++++++++++
 lib/igt_kms.c          |  4 ++++
 lib/igt_kms.h          |  1 +
 3 files changed, 20 insertions(+)
include/drm-uapi/drm.h +15 -0
index 02540248d..002337cc9 100644
@@ -836,6 +836,21 @@ struct drm_get_cap {
  */
 #define DRM_CLIENT_CAP_WRITEBACK_CONNECTORS	5
 
+/**
+ * DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE
+ *
+ * If set to 1, the DRM core will
+ * - expose plane COLOR_PIPELINE properties for pre-blending color management.
+ * - reject setting of these plane properties:
+ *   - COLOR_ENCODING
+ *   - COLOR_RANGE
+ *
+ * The client must enable &DRM_CLIENT_CAP_ATOMIC first.
+ *
+ * This capability is currently in development.
+ */
+#define DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE	7
+
 /* DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
 struct drm_set_client_cap {
 	__u64 capability;
lib/igt_kms.c +4 -0
index 1b4d0d761..ef1f611ec 100644
@@ -2801,6 +2801,10 @@ void igt_display_require(igt_display_t *display, int drm_fd)
 	if (drmSetClientCap(drm_fd, LOCAL_DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT, 1) == 0)
 		display->has_virt_cursor_plane = 1;
 
+	if (drmSetClientCap(drm_fd, DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE, 1) == 0)
+		display->has_plane_color_pipeline = 1;
+
+
 	plane_resources = drmModeGetPlaneResources(display->drm_fd);
 	igt_assert(plane_resources);
 
lib/igt_kms.h +1 -0
index b3882808b..2e9484413 100644
@@ -482,6 +482,7 @@ struct igt_display {
 	bool has_cursor_plane;
 	bool is_atomic;
 	bool has_virt_cursor_plane;
+	bool has_plane_color_pipeline;
 	bool first_commit;
 
 	uint64_t *modifiers;
Signature · 1 line
2.43.0
#3 lore raw

RFC v4 3/22 include/drm-uapi: Add COLOROP object

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

DRM is introducing a new DRM core obejct, a drm_colorop. This object will represent one color operation in a color pipeline.

Introduce the object type in the drm-uapi.

v3:
- move enum drm_colorop_type to drm_mode.h

---
 include/drm-uapi/drm_mode.h | 5 +++++
 1 file changed, 5 insertions(+)
include/drm-uapi/drm_mode.h +5 -0
index ea1b639bc..c49526bca 100644
@@ -629,6 +629,7 @@ struct drm_mode_connector_set_property {
 #define DRM_MODE_OBJECT_FB 0xfbfbfbfb
 #define DRM_MODE_OBJECT_BLOB 0xbbbbbbbb
 #define DRM_MODE_OBJECT_PLANE 0xeeeeeeee
+#define DRM_MODE_OBJECT_COLOROP 0xfafafafa
 #define DRM_MODE_OBJECT_ANY 0
 
 struct drm_mode_obj_get_properties {
@@ -857,6 +858,10 @@ struct drm_color_lut {
 	__u16 reserved;
 };
 
+enum drm_colorop_type {
+	DRM_COLOROP_1D_CURVE
+};
+
 /**
  * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
  *
Signature · 1 line
2.43.0
#4 lore raw

RFC v4 4/22 lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

We've introduced a new drm_colorop object in DRM. These are used to make up a color pipeline. Introduce the concept of this new DRM core object to IGT, including:
- discovery of drm_colorop objects during init
- various helper functions for deaing with drm_colorops
- handling drm_colorops in atomic commit

Along with this we're also introducing a new COLOR_PIPELINE plane property to track and be able to retrieve the colorops.

v2:
- Iterate through all next drm_colorop objects

v3:
- Add commit description (Kamil)
- Add description for public functions (Kamil)
- Squash with COLOR_PIPELINE patch
- Remove need for IOCTLs
- Change colorop discovery to work without IOCTLs
- move enum drm_colorop_type to drm_mode.h
- Drop display from colorop prop_enum functions

v4: (Bhanu)
- Rebase

---
 lib/igt_kms.c | 268 ++++++++++++++++++++++++++++++++++++++++++++++++--
 lib/igt_kms.h |  86 ++++++++++++++++
 2 files changed, 348 insertions(+), 6 deletions(-)
lib/igt_kms.c +262 -6
index ef1f611ec..dc498a9cd 100644
@@ -90,6 +90,7 @@
 #define MAX_CONNECTORS 32
 #define MAX_EDID 2
 #define DISPLAY_TILE_BLOCK 0x12
+#define MAX_NUM_COLOROPS 32
 
 static struct {
 	uint32_t connector_type;
@@ -681,6 +682,14 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
 	[IGT_PLANE_ZPOS] = "zpos",
 	[IGT_PLANE_FB_DAMAGE_CLIPS] = "FB_DAMAGE_CLIPS",
 	[IGT_PLANE_SCALING_FILTER] = "SCALING_FILTER",
+	[IGT_PLANE_COLOR_PIPELINE] = "COLOR_PIPELINE",
+};
+
+const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = {
+	[IGT_COLOROP_TYPE] = "TYPE",
+	[IGT_COLOROP_BYPASS] = "BYPASS",
+	[IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE",
+	[IGT_COLOROP_NEXT] = "NEXT",
 };
 
 const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
@@ -748,6 +757,107 @@ igt_plane_rotations(igt_display_t *display, igt_plane_t *plane,
 	return rotations;
 }
 
+/**
+ * igt_find_colorop:
+ * @display: display on which to look for colorop.
+ * @id: DRM object id of the colorop.
+ *
+ * Returns: An igt_colorop_t if found, or NULL otherwise.
+ */
+igt_colorop_t *igt_find_colorop(igt_display_t *display, uint32_t id)
+{
+	int i;
+
+	/* find corresponding igt_colorop */
+	for (i = 0; i < display->n_colorops; ++i) {
+		igt_colorop_t *colorop = &display->colorops[i];
+
+		if (colorop->id == id)
+			return colorop;
+	}
+
+	return NULL;
+}
+
+/*
+ * Retrieve all the properies specified in props_name and store them into
+ * colorop->props.
+ */
+static void
+igt_fill_colorop_props(igt_display_t *display, igt_colorop_t *colorop,
+		       int num_props, const char * const prop_names[])
+{
+	drmModeObjectPropertiesPtr props;
+	int i, j, fd;
+
+	fd = display->drm_fd;
+
+	props = drmModeObjectGetProperties(fd, colorop->id, DRM_MODE_OBJECT_COLOROP);
+	igt_assert(props);
+
+	for (i = 0; i < props->count_props; i++) {
+		drmModePropertyPtr prop =
+			drmModeGetProperty(fd, props->props[i]);
+
+		for (j = 0; j < num_props; j++) {
+			if (strcmp(prop->name, prop_names[j]) != 0)
+				continue;
+
+			colorop->props[j] = props->props[i];
+			break;
+		}
+
+		drmModeFreeProperty(prop);
+	}
+	drmModeFreeObjectProperties(props);
+}
+
+static void igt_fill_colorop(igt_display_t *display, igt_plane_t *plane,
+			     igt_colorop_t *colorop, uint32_t id,
+			     char *name)
+{
+	colorop->id = id;
+	colorop->plane = plane;
+
+	if (name)
+		memcpy(colorop->name, name, sizeof(colorop->name));
+
+	igt_fill_colorop_props(display, colorop, IGT_NUM_COLOROP_PROPS, igt_colorop_prop_names);
+}
+
+static void
+igt_fill_plane_color_pipelines(igt_display_t *display, igt_plane_t *plane,
+			       drmModePropertyPtr prop)
+{
+	int i;
+	uint32_t colorop_id;
+
+	plane->num_color_pipelines = 0;
+
+	for (i = 0; i < prop->count_enums; i++) {
+		if (prop->enums[i].value) {
+			igt_colorop_t *colorop = &display->colorops[display->n_colorops++];
+
+			igt_assert(display->n_colorops < MAX_NUM_COLOROPS);
+
+			igt_fill_colorop(display, plane, colorop, prop->enums[i].value, prop->enums[i].name);
+			plane->color_pipelines[plane->num_color_pipelines++] = colorop;
+
+			/* get all NEXT colorops */
+			colorop_id = igt_colorop_get_prop(display, colorop,
+							IGT_COLOROP_NEXT);
+			while (colorop_id) {
+				colorop = &display->colorops[display->n_colorops++];
+				igt_fill_colorop(display, plane, colorop, colorop_id, NULL);
+				colorop_id = igt_colorop_get_prop(display, colorop,
+								IGT_COLOROP_NEXT);
+			}
+		}
+	}
+
+	igt_assert(plane->num_color_pipelines < IGT_NUM_PLANE_COLOR_PIPELINES);
+}
+
 /*
  * Retrieve all the properties specified in props_name and store them into
  * plane->props.
@@ -779,6 +889,9 @@ igt_fill_plane_props(igt_display_t *display, igt_plane_t *plane,
 		if (strcmp(prop->name, "rotation") == 0)
 			plane->rotations = igt_plane_rotations(display, plane, prop);
 
+		if (strcmp(prop->name, "COLOR_PIPELINE") == 0)
+			igt_fill_plane_color_pipelines(display, plane, prop);
+
 		drmModeFreeProperty(prop);
 	}
 
@@ -2820,16 +2933,14 @@ void igt_display_require(igt_display_t *display, int drm_fd)
 		igt_assert(plane->drm_plane);
 
 		plane->type = get_drm_plane_type(display->drm_fd, id);
-
-		/*
-		 * TODO: Fill in the rest of the plane properties here and
-		 * move away from the plane per pipe model to align closer
-		 * to the DRM KMS model.
-		 */
 	}
 
 	drmModeFreePlaneResources(plane_resources);
 
+	/* init colorops */
+	display->colorops = calloc(sizeof(igt_colorop_t), MAX_NUM_COLOROPS);
+	display->n_colorops = 0;
+
 	for_each_pipe(display, i) {
 		igt_pipe_t *pipe = &display->pipes[i];
 		igt_plane_t *plane;
@@ -3467,6 +3578,45 @@ igt_atomic_prepare_plane_commit(igt_plane_t *plane, igt_pipe_t *pipe,
 	}
 }
 
+/*
+ * Add colorop properties
+ */
+static void
+igt_atomic_prepare_colorop_commit(igt_colorop_t *colorop, igt_pipe_t *pipe,
+	drmModeAtomicReq *req)
+{
+	igt_display_t *display = pipe->display;
+	int i, next_val;
+
+	while (colorop) {
+		LOG(display,
+		    "populating colorop data: %s.%d\n",
+		    kmstest_pipe_name(pipe->pipe),
+		    colorop->id);
+
+		for (i = 0; i < IGT_NUM_COLOROP_PROPS; i++) {
+			if (!igt_colorop_is_prop_changed(colorop, i))
+				continue;
+
+			/* it's an error to try an unsupported feature */
+			igt_assert(colorop->props[i]);
+
+			igt_debug("colorop %s.%d: Setting property \"%s\" to 0x%"PRIx64"/%"PRIi64"\n",
+				kmstest_pipe_name(pipe->pipe), colorop->id, igt_colorop_prop_names[i],
+				colorop->values[i], colorop->values[i]);
+
+			igt_assert_lt(0, drmModeAtomicAddProperty(req, colorop->id,
+							colorop->props[i],
+							colorop->values[i]));
+		}
+
+		/* get next colorop */
+		next_val = igt_colorop_get_prop(display, colorop,
+						IGT_COLOROP_NEXT);
+		colorop = igt_find_colorop(display, next_val);
+	}
+}
+
 /*
  * Properties that can be changed through legacy SetProperty:
  * - Obviously not the XYWH SRC/CRTC coordinates.
@@ -3914,6 +4064,25 @@ uint64_t igt_plane_get_prop(igt_plane_t *plane, enum igt_atomic_plane_properties
 					plane->drm_plane->plane_id, plane->props[prop]);
 }
 
+/**
+ * igt_colorop_get_prop:
+ * @colorop: Target colorop.
+ * @prop: Property to check.
+ *
+ * Return current value on a colorop for a given property.
+ *
+ * Returns: The value the property is set to, if this
+ * is a blob, the blob id is returned. This can be passed
+ * to drmModeGetPropertyBlob() to get the contents of the blob.
+ */
+uint64_t igt_colorop_get_prop(igt_display_t *display, igt_colorop_t *colorop, enum igt_atomic_colorop_properties prop)
+{
+	igt_assert(igt_colorop_has_prop(colorop, prop));
+
+	return igt_mode_object_get_prop(display, DRM_MODE_OBJECT_COLOROP,
+					colorop->id, colorop->props[prop]);
+}
+
 static bool igt_mode_object_get_prop_enum_value(int drm_fd, uint32_t id, const char *str, uint64_t *val)
 {
 	drmModePropertyPtr prop = drmModeGetProperty(drm_fd, id);
@@ -3974,6 +4143,44 @@ void igt_plane_set_prop_enum(igt_plane_t *plane,
 	igt_assert(igt_plane_try_prop_enum(plane, prop, val));
 }
 
+/**
+ * igt_plane_is_valid_colorop:
+ * @plane: Target plane.
+ * @colorop: Colorop to check.
+ *
+ * Returns: True if the given @colorop is a valid color pipeline on
+ * the given @plane
+ */
+bool igt_plane_is_valid_colorop(igt_plane_t *plane, igt_colorop_t *colorop)
+{
+	int i;
+	bool found = false;
+
+	for (i = 0; i < plane->num_color_pipelines; i++) {
+		if (plane->color_pipelines[i] == colorop) {
+			found = true;
+			break;
+		}
+	}
+
+	return found;
+}
+/**
+ * igt_plane_set_color_pipeline:
+ * @plane: Target plane.
+ * @colorop: Colorop to set as color pipeline.
+ *
+ * This function sets the given @colorop as color pipeline on @plane, or fails
+ * the test if it's an invalid color pipeline for the plane.
+ */
+void igt_plane_set_color_pipeline(igt_plane_t *plane, igt_colorop_t *colorop)
+{
+	igt_assert(igt_plane_is_valid_colorop(plane, colorop));
+
+	plane->assigned_color_pipeline = colorop;
+	igt_plane_set_prop_enum(plane, IGT_PLANE_COLOR_PIPELINE, colorop->name);
+}
+
 /**
  * igt_plane_check_prop_is_mutable:
  * @plane: Target plane.
@@ -4034,6 +4241,50 @@ igt_plane_replace_prop_blob(igt_plane_t *plane, enum igt_atomic_plane_properties
 	igt_plane_set_prop_changed(plane, prop);
 }
 
+/**
+ * igt_colorop_try_prop_enum:
+ * @colorop: Target colorop.
+ * @prop: Property to check.
+ * @val: Value to set.
+ *
+ * Returns: False if the given @colorop doesn't have the enum @prop or
+ * failed to set the enum property @val else True.
+ */
+bool igt_colorop_try_prop_enum(igt_colorop_t *colorop,
+			       enum igt_atomic_colorop_properties prop,
+			       const char *val)
+{
+	igt_display_t *display = colorop->plane->pipe->display;
+	uint64_t uval;
+
+	igt_assert(colorop->props[prop]);
+
+	if (!igt_mode_object_get_prop_enum_value(display->drm_fd,
+						 colorop->props[prop], val, &uval))
+		return false;
+
+	igt_colorop_set_prop_value(colorop, prop, uval);
+	return true;
+}
+
+/**
+ * igt_colorop_set_prop_enum:
+ * @plane: Target plane.
+ * @prop: Property to check.
+ * @val: Value to set.
+ *
+ * This function tries to set given enum property @prop value @val to
+ * the given @colorop, and terminate the execution if its failed.
+ */
+void igt_colorop_set_prop_enum(igt_colorop_t *colorop,
+			       enum igt_atomic_colorop_properties prop,
+			       const char *val)
+{
+	bool result = false;
+	result = igt_colorop_try_prop_enum(colorop, prop, val);
+	igt_assert(result);
+}
+
 /**
  * igt_output_get_prop:
  * @output: Target output.
@@ -4306,6 +4557,11 @@ static int igt_atomic_commit(igt_display_t *display, uint32_t flags, void *user_
 
 			if (plane->changed)
 				igt_atomic_prepare_plane_commit(plane, pipe_obj, req);
+
+			/* TODO iterate over assigned color pipeline and prepare colorop commit */
+			if (plane->assigned_color_pipeline)
+				igt_atomic_prepare_colorop_commit(plane->assigned_color_pipeline,
+								  pipe_obj, req);
 		}
 
 	}
lib/igt_kms.h +86 -0

136 lines not on this page · raw message

Signature · 1 line
2.43.0
#5 lore raw

RFC v4 5/22 tests/kms_properties: Add colorop properties test

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

We've introduced the concept of a new DRM core object, the drm_colorop, to represent a color operation as part of a color pipeline.

Add new tests to kms_properties to test the properties of a drm_colorop object.

v3:
- Update test to work without new libdrm definitions for colorop objects
- Test colorop properties with both atomic and legacy code paths

---
 tests/kms_properties.c | 71 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
tests/kms_properties.c +71 -0
index bd414f534..e33503303 100644
@@ -49,6 +49,7 @@
  * @crtc:            CRTC
  * @plane:           Plane
  * @invalid:         Invalid (connector/crtc/plane)
+ * @colorop:         Colorop
  *
  * arg[2]:
  *
@@ -221,6 +222,39 @@ static void test_properties(int fd, uint32_t type, uint32_t id, bool atomic)
 	}
 }
 
+static void run_colorop_property_tests(igt_display_t *display, enum pipe pipe, igt_output_t *output, bool atomic)
+{
+	struct igt_fb fb;
+	igt_plane_t *plane;
+	igt_colorop_t *colorop;
+	int i;
+	int colorop_id = 0;
+
+	prepare_pipe(display, pipe, output, &fb);
+
+	for_each_plane_on_pipe(display, pipe, plane) {
+		igt_info("Testing colorop properties on plane %s.#%d-%s (output: %s)\n",
+			 kmstest_pipe_name(pipe), plane->index, kmstest_plane_type_name(plane->type), output->name);
+
+		/* iterate over all color pipelines on plane */
+		for (i = 0; i < plane->num_color_pipelines; ++i) {
+			/* iterate over all colorops in pipeline*/
+			colorop = plane->color_pipelines[i];
+			while (colorop) {
+				igt_info("Testing colorop properties on %s.#%d.#%d-%s (output: %s)\n",
+					kmstest_pipe_name(pipe), plane->index, colorop->id, kmstest_plane_type_name(plane->type), output->name);
+				test_properties(display->drm_fd, DRM_MODE_OBJECT_COLOROP, colorop->id, atomic);
+
+				colorop_id = igt_colorop_get_prop(display, colorop,
+								IGT_COLOROP_NEXT);
+				colorop = igt_find_colorop(display, colorop_id);
+			}
+		}
+	}
+
+	cleanup_pipe(display, pipe, output, &fb);
+}
+
 static void run_plane_property_tests(igt_display_t *display, enum pipe pipe, igt_output_t *output, bool atomic)
 {
 	struct igt_fb fb;
@@ -266,6 +300,35 @@ static void run_connector_property_tests(igt_display_t *display, enum pipe pipe,
 		cleanup_pipe(display, pipe, output, &fb);
 }
 
+static void colorop_properties(igt_display_t *display, bool atomic)
+{
+	bool found_any = false, found;
+	igt_output_t *output;
+	enum pipe pipe;
+
+	/* colorops are only available with atomic */
+	igt_skip_on(!display->is_atomic);
+
+	for_each_pipe(display, pipe) {
+		found = false;
+
+		for_each_valid_output_on_pipe(display, pipe, output) {
+			igt_display_reset(display);
+
+			igt_output_set_pipe(output, pipe);
+			if (!i915_pipe_output_combo_valid(display))
+				continue;
+
+			found_any = found = true;
+
+			run_colorop_property_tests(display, pipe, output, atomic);
+			break;
+		}
+	}
+
+	igt_skip_on(!found_any);
+}
+
 static void plane_properties(igt_display_t *display, bool atomic)
 {
 	bool found_any = false, found;
@@ -799,6 +862,14 @@ igt_main
 	igt_subtest("plane-properties-atomic")
 		plane_properties(&display, true);
 
+	igt_describe("Tests colorop properties with atomic commit");
+	igt_subtest("colorop-properties-atomic")
+		colorop_properties(&display, true);
+
+	igt_describe("Tests colorop properties with legacy commit");
+	igt_subtest("colorop-properties-legacy")
+		colorop_properties(&display, false);
+
 	igt_describe("Tests crtc properties with legacy commit");
 	igt_subtest("crtc-properties-legacy")
 		crtc_properties(&display, false);
Signature · 1 line
2.43.0
#6 lore raw

RFC v4 6/22 igt/color: Add SW color transform functionality

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

In order to test color we want to compare a HW (KMS) transform with a SW transform. This introduces color transform for an sRGB EOTF but this can be extended to other transforms. Code is borrowed from Skia.

v3:
- Use SPDX style license identifier (Kamil)
- Replace large copy-paste of Skia license with copyright note in file header. Skia is BSD licensed, which is compatible with MIT.

v2:
- Add inverse sRGB TF
- Make TF functions available to tests
- Modify tranform_pixels function to take multple transforms

---
 lib/igt_color.c | 258 ++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_color.h |  43 ++++++++
 lib/igt_fb.c    |   6 +-
 lib/igt_fb.h    |   2 +
 lib/meson.build |   1 +
 5 files changed, 307 insertions(+), 3 deletions(-)
 create mode 100644 lib/igt_color.c
 create mode 100644 lib/igt_color.h
lib/igt_color.c new file +258 -0
new file mode 100644
index 000000000..b8e6a86b0
@@ -0,0 +1,258 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright 2023 Advanced Micro Devices, Inc.
+ *
+ * This file contains code adapted from Skia, which is
+ * Copyright (c) 2011 Google Inc. All rights reserved.
+ */
+
+#include <errno.h>
+#include <math.h>
+
+#include "igt_color.h"
+#include "igt_core.h"
+#include "igt_x86.h"
+
+
+static float clamp(float val, float min, float max)
+{
+	return ((val < min) ? min : ((val > max) ? max : val));
+}
+
+static float igt_color_tf_eval_unclamped(const struct igt_color_tf *fn, float x)
+{
+	if (x < fn->d)
+		return fn->c * x + fn->f;
+	return pow(fn->a * x + fn->b, fn->g) + fn->e;
+}
+
+static float igt_color_tf_eval(const struct igt_color_tf *fn, float x)
+{
+	float fn_at_x_unclamped = igt_color_tf_eval_unclamped(fn, x);
+	return clamp(fn_at_x_unclamped, 0.0f, 1.0f);
+}
+
+static void tf_inverse(const struct igt_color_tf *fn, struct igt_color_tf *inv) {
+	memset(inv, 0, sizeof(struct igt_color_tf));
+
+	if (fn->a > 0 && fn->g > 0) {
+		double a_to_the_g = pow(fn->a, fn->g);
+		inv->a = 1.f / a_to_the_g;
+		inv->b = -fn->e / a_to_the_g;
+		inv->g = 1.f / fn->g;
+	}
+
+	inv->d = fn->c * fn->d + fn->f;
+	inv->e = -fn->b / fn->a;
+	if (fn->c != 0) {
+		inv->c = 1.f / fn->c;
+		inv->f = -fn->f / fn->c;
+	}
+}
+
+void igt_color_srgb_inv_eotf(igt_pixel_t *pixel)
+{
+	struct igt_color_tf inv;
+
+	tf_inverse(&srgb_tf, &inv);
+
+	pixel->r = igt_color_tf_eval(&inv, pixel->r);
+	pixel->g = igt_color_tf_eval(&inv, pixel->g);
+	pixel->b = igt_color_tf_eval(&inv, pixel->b);
+}
+
+
+
+void igt_color_srgb_eotf(igt_pixel_t *pixel)
+{
+	pixel->r = igt_color_tf_eval(&srgb_tf, pixel->r);
+	pixel->g = igt_color_tf_eval(&srgb_tf, pixel->g);
+	pixel->b = igt_color_tf_eval(&srgb_tf, pixel->b);
+}
+
+int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], int num_transforms)
+{
+	uint32_t *line = NULL;
+	void *map;
+	char *ptr;
+	int x, y, cpp = igt_drm_format_to_bpp(fb->drm_format) / 8;
+	uint32_t stride = igt_fb_calc_plane_stride(fb, 0);
+
+	if (fb->num_planes != 1)
+		return -EINVAL;
+
+	/* TODO expand for other formats */
+	if (fb->drm_format != DRM_FORMAT_XRGB8888)
+		return -EINVAL;
+
+	ptr = igt_fb_map_buffer(fb->fd, fb);
+	igt_assert(ptr);
+	map = ptr;
+
+	/*
+	 * Framebuffers are often uncached, which can make byte-wise accesses
+	 * very slow. We copy each line of the FB into a local buffer to speed
+	 * up the hashing.
+	 */
+	line = malloc(stride);
+	if (!line) {
+		munmap(map, fb->size);
+		return -ENOMEM;
+	}
+
+	for (y = 0; y < fb->height; y++, ptr += stride) {
+
+		/* get line from buffer */
+		igt_memcpy_from_wc(line, ptr, fb->width * cpp);
+
+		for (x = 0; x < fb->width; x++) {
+			uint32_t raw_pixel = le32_to_cpu(line[x]);
+			igt_pixel_t pixel;
+			int i;
+
+			raw_pixel &= 0x00ffffff;
+
+			/*
+			 * unpack pixel into igt_pixel_t
+			 *
+			 * only for XRGB8888 for now
+			 *
+			 * TODO add "generic" mechanism for unpacking
+			 * other FB formats
+			 */
+			pixel.r = (raw_pixel & 0x00ff0000) >> 16;
+			pixel.g = (raw_pixel & 0x0000ff00) >> 8;
+			pixel.b = (raw_pixel & 0x000000ff);
+
+			/* normalize for 8-bit */
+			pixel.r /= (0xff);
+			pixel.g /= (0xff);
+			pixel.b /= (0xff);
+
+			/* TODO use read_rgb from igt_fb? */
+
+			/* run transform on pixel */
+
+			for (i = 0; i < num_transforms; i++)
+				transforms[i](&pixel);
+
+			/* de-normalize back to 8-bit */
+			pixel.r *= (0xff);
+			pixel.g *= (0xff);
+			pixel.b *= (0xff);
+
+			/* re-pack pixel into FB*/
+			raw_pixel = 0x0;
+			raw_pixel |= ((uint8_t) (lround(pixel.r) & 0xff)) << 16;
+			raw_pixel |= ((uint8_t) (lround(pixel.g) & 0xff)) << 8;
+			raw_pixel |= ((uint8_t) (lround(pixel.b) & 0xff));
+			/* TODO use write_rgb from igt_fb? */
+
+			/* write back to line */
+			line[x] = cpu_to_le32(raw_pixel);
+		}
+
+		/* copy line back to fb buffer */
+		igt_memcpy_from_wc(ptr, line, fb->width * cpp);
+	}
+
+	free(line);
+	igt_fb_unmap_buffer(fb, map);
+
+	return 0;
+
+	/* for each pixel */
+
+	/* convert to float and create igt_pixel */
+
+	/* call transform */
+
+	/* convert back to fb format from igt_pixel */
+
+
+}
+
+bool igt_cmp_fb_component(uint16_t comp1, uint16_t comp2, uint8_t up, uint8_t down)
+{
+	int16_t diff = comp2 - comp1;
+
+	if ((diff < -down) || (diff > up)) {
+		printf("comp1 %x comp2 %x diff %d down %d, up %d\n", comp1, comp2, diff, -down, up);
+		return false;
+	}
+
+	return true;
+}
+
+bool igt_cmp_fb_pixels(igt_fb_t *fb1, igt_fb_t *fb2, uint8_t up, uint8_t down)
+{
+	uint32_t *ptr1, *ptr2;
+	uint32_t pixel1, pixel2, i, j;
+	bool matched = true;
+
+
+	ptr1 = igt_fb_map_buffer(fb1->fd, fb1);
+	ptr2 = igt_fb_map_buffer(fb2->fd, fb2);
+
+	igt_assert(fb1->drm_format == fb2->drm_format);
+	igt_assert(fb1->size == fb2->size);
+
+	for (i = 0; i < fb1->size / sizeof(uint32_t); i++) {
+		uint16_t mask = 0xff;
+		uint16_t shift = 8;
+
+		if (fb1->drm_format == DRM_FORMAT_XRGB2101010) {
+			/* ignore alpha */
+			pixel1 = ptr1[i] & ~0xc0000000;
+			pixel2 = ptr2[i] & ~0xc0000000;
+
+			mask = 0x3ff;
+			shift = 10;
+
+
+		} else if (fb1->drm_format == DRM_FORMAT_XRGB8888) {
+			/* ignore alpha */
+			pixel1 = ptr1[i] & ~0xff000000;
+			pixel2 = ptr2[i] & ~0xff000000;
+
+			mask = 0xff;
+			shift = 8;
+
+		} else {
+			pixel1 = ptr1[i];
+			pixel2 = ptr2[i];
+		}
+
+		for (j = 0; j < 3; j++) {
+			uint16_t comp1 = (pixel1 >> (shift*j)) & mask;
+			uint16_t comp2 = (pixel2 >> (shift*j)) & mask;
+
+			if (!igt_cmp_fb_component(comp1, comp2, up, down)) {
+				/* TODO use proper log*/
+				printf("i %d j %d shift %d mask %x comp1 %x comp2 %x, pixel1 %x pixel2 %x\n",
+				       i, j, shift, mask, comp1, comp2, pixel1, pixel2);
+				return false;
+			}
+		}
+	}
+
+	igt_fb_unmap_buffer(fb1, ptr1);
+	igt_fb_unmap_buffer(fb2, ptr2);
+
+	return matched;
+}
+
+
+void igt_dump_fb(igt_display_t *display, igt_fb_t *fb,
+		 const char *path_name, const char *file_name)
+{
+	char filepath_out[PATH_MAX];
+	cairo_surface_t *fb_surface_out;
+	cairo_status_t status;
+
+	snprintf(filepath_out, PATH_MAX, "%s/%s.png", path_name, file_name);
+	fb_surface_out = igt_get_cairo_surface(display->drm_fd, fb);
+	status = cairo_surface_write_to_png(fb_surface_out, filepath_out);
+	igt_assert_eq(status, CAIRO_STATUS_SUCCESS);
+	cairo_surface_destroy(fb_surface_out);
+}
\ No newline at end of file
lib/igt_color.h new file +43 -0

44 lines not on this page · raw message

lib/igt_fb.c +3 -3
index 71c220a08..ee9cd1f35 100644
@@ -762,7 +762,7 @@ void igt_init_fb(struct igt_fb *fb, int fd, int width, int height,
 	}
 }
 
-static uint32_t calc_plane_stride(struct igt_fb *fb, int plane)
+uint32_t igt_fb_calc_plane_stride(struct igt_fb *fb, int plane)
 {
 	uint32_t min_stride = fb->plane_width[plane] *
 		(fb->plane_bpp[plane] / 8);
@@ -944,7 +944,7 @@ static uint64_t calc_fb_size(struct igt_fb *fb)
 
 		/* respect the stride requested by the caller */
 		if (!fb->strides[plane])
-			fb->strides[plane] = calc_plane_stride(fb, plane);
+			fb->strides[plane] = igt_fb_calc_plane_stride(fb, plane);
 
 		align = get_plane_alignment(fb, plane);
 		if (align)
@@ -4756,7 +4756,7 @@ int igt_fb_get_fnv1a_crc(struct igt_fb *fb, igt_crc_t *crc)
 	void *map;
 	char *ptr;
 	int x, y, cpp = igt_drm_format_to_bpp(fb->drm_format) / 8;
-	uint32_t stride = calc_plane_stride(fb, 0);
+	uint32_t stride = igt_fb_calc_plane_stride(fb, 0);
 
 	if (fb->num_planes != 1)
 		return -EINVAL;
lib/igt_fb.h +2 -0
index 834aaef54..d2751c0bb 100644
@@ -170,6 +170,8 @@ int igt_dirty_fb(int fd, struct igt_fb *fb);
 void *igt_fb_map_buffer(int fd, struct igt_fb *fb);
 void igt_fb_unmap_buffer(struct igt_fb *fb, void *buffer);
 
+uint32_t igt_fb_calc_plane_stride(struct igt_fb *fb, int plane);
+
 void igt_create_bo_for_fb(int fd, int width, int height,
 			  uint32_t format, uint64_t modifier,
 			  struct igt_fb *fb);
lib/meson.build +1 -0
index 6122861d8..0c0e45522 100644
@@ -104,6 +104,7 @@ lib_sources = [
 	'igt_edid.c',
 	'igt_eld.c',
 	'igt_infoframe.c',
+	'igt_color.c',
 	'veboxcopy_gen12.c',
 	'igt_msm.c',
 	'igt_dsc.c',
Signature · 1 line
2.43.0
#7 lore raw

RFC v4 7/22 lib/igt_fb: Add copy_fb function

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

---
 lib/igt_fb.c | 34 ++++++++++++++++++++++++++++++++++
 lib/igt_fb.h |  1 +
 2 files changed, 35 insertions(+)
lib/igt_fb.c +34 -0
index ee9cd1f35..13e9c29b1 100644
@@ -2154,6 +2154,40 @@ unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,
 					  fb, 0, 0);
 }
 
+unsigned int igt_copy_fb(int fd, struct igt_fb *src, struct igt_fb *fb)
+{
+	char *in_ptr, *out_ptr;
+	int cpp = igt_drm_format_to_bpp(src->drm_format) / 8;
+
+	int fb_id = 0;
+	igt_assert(src);
+
+	/* TODO allow multiple planes */
+	if (src->num_planes != 1)
+		return -EINVAL;
+
+	/* TODO expand for other formats */
+	if (src->drm_format != DRM_FORMAT_XRGB8888)
+		return -EINVAL;
+
+	fb_id = igt_create_fb(fd, src->width, src->height, src->drm_format,
+			    src->modifier, fb);
+
+	/* copy buffer contents */
+	/* TODO simplify :D */
+	in_ptr = igt_fb_map_buffer(fb->fd, src);
+	igt_assert(in_ptr);
+	out_ptr = igt_fb_map_buffer(fb->fd, fb);
+	igt_assert(out_ptr);
+
+	igt_memcpy_from_wc(out_ptr, in_ptr, fb->width * fb->height * cpp);
+
+	igt_fb_unmap_buffer(fb, out_ptr);
+	igt_fb_unmap_buffer(src, in_ptr);
+
+	return fb_id;
+}
+
 /**
  * igt_create_color_fb:
  * @fd: open drm file descriptor
lib/igt_fb.h +1 -0
index d2751c0bb..258a7669e 100644
@@ -142,6 +142,7 @@ struct intel_buf *igt_fb_create_intel_buf(int fd, struct buf_ops *bops,
 					  const struct igt_fb *fb, const char *name);
 unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,
 			   uint64_t modifier, struct igt_fb *fb);
+unsigned int igt_copy_fb(int fd, struct igt_fb *src, struct igt_fb *fb);
 unsigned int igt_create_color_fb(int fd, int width, int height,
 				 uint32_t format, uint64_t modifier,
 				 double r, double g, double b,
Signature · 1 line
2.43.0
#8 lore raw

RFC v4 8/22 tests/kms_colorop: Add kms_colorop tests

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

This tests the color pipeline API, exposed via the COLOR PIPELINE plane property and drm_colorop objects.

We introduce tests for:
- sRGB EOTF
- sRGB Inverse EOTF
- sRGB EOTF + sRGB Inverse EOTF

The last one is the holy grail of LUT testing. It tests that after applying an EOTF, followed by its inverse EOTF we arrive back at the original value. We can use this to test for precision loss in the pipeline.

All tests are tested via writeback. All transforms are done in SW (in floating point) and at the end the SW transformed buffer is compared with the KMS writeback output buffer. The two should match within a bracket of acceptable deviations. Since these deviations might look different for different KMS drivers we'll do this check on a driver-specific basis.

v3:
- skip tests if color pipeline not found
- Rename colorop to color_pipeline in places where it refers to the entire pipeline (Sebastian)

v2:
- Make tests dynamic, allowing definition of tests with an arbitrary number of transforms
- Add test for sRGB Inverse EOTF
- Add test for sRGB EOTF, followed by sRGB Inverse EOTF

---
 tests/kms_colorop.c    | 522 +++++++++++++++++++++++++++++++++++++++++
 tests/kms_colorop.h    |  87 +++++++
 tests/kms_properties.c |   5 +
 tests/meson.build      |   1 +
 4 files changed, 615 insertions(+)
 create mode 100644 tests/kms_colorop.c
 create mode 100644 tests/kms_colorop.h
tests/kms_colorop.c new file +522 -0
new file mode 100644
index 000000000..2a14294a2
@@ -0,0 +1,522 @@
+/*
+ * Copyright 2023 Advanced Micro Devices, Inc.
+ *
+ * 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 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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 "igt.h"
+#include "igt_color.h"
+#include "sw_sync.h"
+
+#include "kms_colorop.h"
+
+/**
+ * TEST: kms colorop
+ * Category: Display
+ * Description: Test to validate the retrieving and setting of DRM colorops
+ *
+ * SUBTEST: plane-%s
+ * Description: Tests DRM colorop properties on a plane
+ * Driver requirement: amdgpu
+ * Functionality: kms_core
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @srgb_eotf:                   sRGB EOTF
+ * @srgb_inv_eotf:               sRGB Inverse EOTF
+ * @srgb_eotf-srgb_inv_eotf:     sRGB EOTF -> sRGB Inverse EOTF
+ *
+ */
+
+/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */
+static bool check_writeback_config(igt_display_t *display, igt_output_t *output,
+				    drmModeModeInfo override_mode)
+{
+	igt_fb_t input_fb, output_fb;
+	igt_plane_t *plane;
+	uint32_t writeback_format = DRM_FORMAT_XRGB8888;
+	uint64_t modifier = DRM_FORMAT_MOD_LINEAR;
+	int width, height, ret;
+
+	igt_output_override_mode(output, &override_mode);
+
+	width = override_mode.hdisplay;
+	height = override_mode.vdisplay;
+
+	ret = igt_create_fb(display->drm_fd, width, height,
+			    DRM_FORMAT_XRGB8888, modifier, &input_fb);
+	igt_assert(ret >= 0);
+
+	ret = igt_create_fb(display->drm_fd, width, height,
+			    writeback_format, modifier, &output_fb);
+	igt_assert(ret >= 0);
+
+	plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
+	igt_plane_set_fb(plane, &input_fb);
+	igt_output_set_writeback_fb(output, &output_fb);
+
+	ret = igt_display_try_commit_atomic(display, DRM_MODE_ATOMIC_TEST_ONLY |
+					    DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
+	igt_plane_set_fb(plane, NULL);
+	igt_remove_fb(display->drm_fd, &input_fb);
+	igt_remove_fb(display->drm_fd, &output_fb);
+
+	return !ret;
+}
+
+/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */
+typedef struct {
+	bool builtin_mode;
+	bool custom_mode;
+	bool list_modes;
+	bool dump_check;
+	int mode_index;
+	drmModeModeInfo user_mode;
+} data_t;
+
+static data_t data;
+
+/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */
+static igt_output_t *kms_writeback_get_output(igt_display_t *display)
+{
+	int i;
+	enum pipe pipe;
+
+	drmModeModeInfo override_mode = {
+		.clock = 25175,
+		.hdisplay = 640,
+		.hsync_start = 656,
+		.hsync_end = 752,
+		.htotal = 800,
+		.hskew = 0,
+		.vdisplay = 480,
+		.vsync_start = 490,
+		.vsync_end = 492,
+		.vtotal = 525,
+		.vscan = 0,
+		.vrefresh = 60,
+		.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
+		.name = {"640x480-60"},
+	};
+
+	for (i = 0; i < display->n_outputs; i++) {
+		igt_output_t *output = &display->outputs[i];
+
+		if (output->config.connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK)
+			continue;
+
+		for_each_pipe(display, pipe) {
+			igt_output_set_pipe(output, pipe);
+
+			if (data.custom_mode)
+				override_mode = data.user_mode;
+			if (data.builtin_mode)
+				override_mode = output->config.connector->modes[data.mode_index];
+
+			if (check_writeback_config(display, output, override_mode)) {
+				igt_debug("Using connector %u:%s on pipe %d\n",
+					  output->config.connector->connector_id,
+					  output->name, pipe);
+				return output;
+			}
+		}
+
+		igt_debug("We found %u:%s, but this test will not be able to use it.\n",
+			  output->config.connector->connector_id, output->name);
+
+		/* Restore any connectors we don't use, so we don't trip on them later */
+		kmstest_force_connector(display->drm_fd, output->config.connector, FORCE_CONNECTOR_UNSPECIFIED);
+	}
+
+	return NULL;
+}
+
+/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */
+static uint64_t get_writeback_fb_id(igt_output_t *output)
+{
+	return igt_output_get_prop(output, IGT_CONNECTOR_WRITEBACK_FB_ID);
+}
+
+/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */
+static void detach_crtc(igt_display_t *display, igt_output_t *output)
+{
+	if (get_writeback_fb_id(output) == 0)
+		return;
+
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+}
+
+static void get_and_wait_out_fence(igt_output_t *output)
+{
+	int ret;
+
+	igt_assert(output->writeback_out_fence_fd >= 0);
+
+	ret = sync_fence_wait(output->writeback_out_fence_fd, 1000);
+	igt_assert_f(ret == 0, "sync_fence_wait failed: %s\n", strerror(-ret));
+	close(output->writeback_out_fence_fd);
+	output->writeback_out_fence_fd = -1;
+}
+
+static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_colorop_t *desired)
+{
+	switch (desired->type) {
+	case KMS_COLOROP_ENUMERATED_LUT1D:
+		if (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_1D_CURVE) {
+			return true;
+		}
+	case KMS_COLOROP_CUSTOM_LUT1D:
+	case KMS_COLOROP_CTM:
+	case KMS_COLOROP_LUT3D:
+	default:
+		return false;
+	}
+}
+
+/**
+ * Iterate color pipeline that begins with colorop and try to map
+ * colorops[] to it.
+ */
+static bool map_to_pipeline(igt_display_t *display,
+			    igt_colorop_t *colorop,
+			    kms_colorop_t *colorops[])
+{
+	igt_colorop_t *next = colorop;
+	kms_colorop_t *current_op;
+	int i = 0;
+	int prop_val = 0;
+
+	current_op = colorops[i++];
+	igt_require(current_op);
+
+	while (next) {
+		if (can_use_colorop(display, next, current_op)) {
+			current_op->colorop = next;
+			current_op = colorops[i++];
+			if (!current_op)
+				break;
+		}
+		prop_val = igt_colorop_get_prop(display, next,
+						IGT_COLOROP_NEXT);
+		next = igt_find_colorop(display, prop_val);
+	}
+
+	if (current_op) {
+		/* we failed to map the pipeline */
+
+		/* clean up colorops[i].colorop mappings */
+		for(i = 0, current_op = colorops[0]; current_op; current_op = colorops[i++])
+			current_op->colorop = NULL;
+
+		return false;
+	}
+
+	return true;
+}
+
+static igt_colorop_t *get_color_pipeline(igt_display_t *display,
+					 igt_plane_t *plane,
+					 kms_colorop_t *colorops[])
+{
+	igt_colorop_t *colorop = NULL;
+	int i;
+
+	/* go through all color pipelines */
+	for (i = 0; i < plane->num_color_pipelines; ++i) {
+		if (map_to_pipeline(display, plane->color_pipelines[i], colorops)) {
+			colorop = plane->color_pipelines[i];
+			break;
+		}
+	}
+
+	return colorop;
+}
+
+static void set_colorop(igt_display_t *display,
+			kms_colorop_t *colorop)
+{
+	igt_assert(colorop->colorop);
+	igt_colorop_set_prop_value(colorop->colorop, IGT_COLOROP_BYPASS, 0);
+
+	/* TODO set to desired value from kms_colorop_t */
+	switch (colorop->type) {
+	case KMS_COLOROP_ENUMERATED_LUT1D:
+		switch (colorop->enumerated_lut1d_info.tf) {
+		case KMS_COLOROP_LUT1D_SRGB_EOTF:
+			igt_colorop_set_prop_enum(colorop->colorop, IGT_COLOROP_CURVE_1D_TYPE, "sRGB EOTF");
+			break;
+		case KMS_COLOROP_LUT1D_SRGB_INV_EOTF:
+			igt_colorop_set_prop_enum(colorop->colorop, IGT_COLOROP_CURVE_1D_TYPE, "sRGB Inverse EOTF");
+			break;
+		case KMS_COLOROP_LUT1D_PQ_EOTF:
+		case KMS_COLOROP_LUT1D_PQ_INV_EOTF:
+		default:
+			igt_fail(IGT_EXIT_FAILURE);
+		}
+		break;
+	case KMS_COLOROP_CUSTOM_LUT1D:
+	case KMS_COLOROP_CTM:
+	case KMS_COLOROP_LUT3D:
+	default:
+		igt_fail(IGT_EXIT_FAILURE);
+	}
+}
+
+static void set_color_pipeline(igt_display_t *display,
+			       igt_plane_t *plane,
+			       kms_colorop_t *colorops[],
+			       igt_colorop_t *color_pipeline)
+{
+	igt_colorop_t *next;
+	int prop_val = 0;
+	int i;
+
+	igt_plane_set_color_pipeline(plane, color_pipeline);
+
+	for(i = 0; colorops[i]; i++)
+		set_colorop(display, colorops[i]);
+
+	/* set unused ops in pipeline to bypass */
+	next = color_pipeline;
+	i = 0;
+	while (next) {
+		if (!colorops[i] || colorops[i]->colorop != next)
+			igt_colorop_set_prop_value(next, IGT_COLOROP_BYPASS, 1);
+		else
+			i++;
+
+		prop_val = igt_colorop_get_prop(display, next,
+						IGT_COLOROP_NEXT);
+		next = igt_find_colorop(display, prop_val);
+	}
+}
+
+static void set_color_pipeline_bypass(igt_plane_t *plane)
+{
+	igt_plane_set_prop_enum(plane, IGT_PLANE_COLOR_PIPELINE, "Bypass");
+}
+
+static bool compare_with_bracket(igt_fb_t *in, igt_fb_t *out)
+{
+	if (is_vkms_device(in->fd))
+		return igt_cmp_fb_pixels(in, out, 1, 1);
+	else
+		/*
+		 * By default we'll look for a [0, 0] bracket. We can then
+		 * define it for each driver that implements support for this
+		 * test. That way we can understand the precision of each
+		 * driver better.
+		 */
+		return igt_cmp_fb_pixels(in, out, 0, 0);
+}
+
+#define DUMP_FBS 1
+
+#define MAX_COLOROPS 3
+#define NUM_COLOROP_TESTS 3
+#define MAX_NAME_SIZE 256
+
+static void apply_transforms(kms_colorop_t *colorops[], igt_fb_t *sw_transform_fb)
+{
+	int i;
+	igt_pixel_transform transforms[MAX_COLOROPS];
+
+	/*
+	 * TODO
+	 *
+	 * This is wrong and loses precision since it always goes back
+	 * to an 8-bpc framebuffer.
+	 *
+	 * Instead we need to stay as UNORM or float 16-bpc value throughout
+	 * all transforms.
+	 */
+
+	for (i = 0; colorops[i]; i++)
+		transforms[i] = colorops[i]->transform;
+
+	igt_color_transform_pixels(sw_transform_fb, transforms, i);
+}
+
+static void colorop_plane_test(igt_display_t *display,
+			       kms_colorop_t *colorops[])
+{
+	igt_colorop_t *color_pipeline = NULL;
+	igt_output_t *output;
+	igt_plane_t *plane;
+	igt_fb_t input_fb;
+	igt_fb_t sw_transform_fb;
+	igt_fb_t output_fb;
+	drmModeModeInfo mode;
+	unsigned int fb_id;
+	igt_crc_t input_crc, output_crc;
+
+	output = kms_writeback_get_output(display);
+	igt_require(output);
+
+	if (output->use_override_mode)
+		memcpy(&mode, &output->override_mode, sizeof(mode));
+	else
+		memcpy(&mode, &output->config.default_mode, sizeof(mode));
+
+	/* create input fb */
+	plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
+	igt_assert(plane);
+
+	fb_id = igt_create_color_pattern_fb(display->drm_fd,
+					mode.hdisplay, mode.vdisplay,
+					DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR,
+					0.2, 0.2, 0.2, &input_fb);
+	igt_assert(fb_id >= 0);
+	igt_plane_set_fb(plane, &input_fb);
+#if DUMP_FBS
+	igt_dump_fb(display, &input_fb, ".", "input");
+#endif
+
+	/* create output fb */
+	fb_id = igt_create_fb(display->drm_fd, mode.hdisplay, mode.vdisplay,
+				DRM_FORMAT_XRGB8888,
+				igt_fb_mod_to_tiling(0),
+				&output_fb);
+	igt_require(fb_id > 0);
+
+	igt_fb_get_fnv1a_crc(&input_fb, &input_crc);
+
+	igt_require(igt_plane_has_prop(plane, IGT_PLANE_COLOR_PIPELINE));
+
+	/* reset color pipeline*/
+
+	/* TODO do we need this? might be good sanity anyways */
+	set_color_pipeline_bypass(plane);
+
+	/* Commit */
+	igt_plane_set_fb(plane, &input_fb);
+	igt_output_set_writeback_fb(output, &output_fb);
+
+	igt_display_commit_atomic(output->display,
+				DRM_MODE_ATOMIC_ALLOW_MODESET,
+				NULL);
+	get_and_wait_out_fence(output);
+
+	/* Compare input and output buffers. They should be equal here. */
+	igt_fb_get_fnv1a_crc(&output_fb, &output_crc);
+
+	igt_assert_crc_equal(&input_crc, &output_crc);
+
+	/* create sw transformed buffer */
+
+	igt_copy_fb(display->drm_fd, &input_fb, &sw_transform_fb);
+	igt_assert(igt_cmp_fb_pixels(&input_fb, &sw_transform_fb, 0, 0));
+
+	apply_transforms(colorops, &sw_transform_fb);
+#if DUMP_FBS
+	igt_dump_fb(display, &sw_transform_fb, ".", "sw_transform");
+#endif
+	/* discover and set COLOR PIPELINE */
+
+	/* get COLOR_PIPELINE enum */
+	color_pipeline = get_color_pipeline(display, plane, colorops);
+
+	/* skip test if we can't find applicable pipeline */
+	igt_skip_on(!color_pipeline);
+
+	set_color_pipeline(display, plane, colorops, color_pipeline);
+
+	igt_output_set_writeback_fb(output, &output_fb);
+
+	/* commit COLOR_PIPELINE */
+	igt_display_commit_atomic(display,
+				DRM_MODE_ATOMIC_ALLOW_MODESET,
+				NULL);
+	get_and_wait_out_fence(output);
+#if DUMP_FBS
+	igt_dump_fb(display, &output_fb, ".", "output");
+#endif
+
+	/* compare sw transformed and KMS transformed FBs */
+	igt_assert(compare_with_bracket(&sw_transform_fb, &output_fb));
+
+	/* reset color pipeline*/
+	set_color_pipeline_bypass(plane);
+
+	/* Commit */
+	igt_plane_set_fb(plane, &input_fb);
+	igt_output_set_writeback_fb(output, &output_fb);
+
+	igt_display_commit_atomic(output->display,
+				DRM_MODE_ATOMIC_ALLOW_MODESET,
+				NULL);
+	get_and_wait_out_fence(output);
+
+	/* cleanup */
+	detach_crtc(display, output);
+	igt_remove_fb(display->drm_fd, &input_fb);
+	igt_remove_fb(display->drm_fd, &output_fb);
+}
+
+igt_main
+{
+
+	struct {
+		kms_colorop_t *colorops[MAX_COLOROPS];
+		const char *name;
+	} tests[] = {
+		{ { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" },
+		{ { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" },
+		{ { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }
+	};
+
+	igt_display_t display;
+	int i;
+
+	igt_fixture {
+		display.drm_fd = drm_open_driver_master(DRIVER_ANY);
+		igt_display_require(&display, display.drm_fd);
+
+		kmstest_set_vt_graphics_mode();
+
+		igt_display_require(&display, display.drm_fd);
+
+		igt_require(display.is_atomic);
+
+	}
+
+	for (i = 0; i < sizeof(tests) / sizeof (tests[0]); i++) {
+		igt_describe("Bla bla bla");
+		igt_subtest_f("plane-%s", tests[i].name)
+			colorop_plane_test(&display, tests[i].colorops);
+	}
+
+	igt_describe("Tests getting and setting COLOR_PIPELINE property on plane");
+#if 0
+	igt_subtest("plane-srgb") {
+		colorop_plane_test(&display, colorops_srgb);
+	}
+	igt_subtest("plane-inv_srgb") {
+		colorop_plane_test(&display, colorops_srgb_inv);
+	}
+#endif
+	igt_fixture {
+
+		igt_display_fini(&display);
+	}
+}
+
tests/kms_colorop.h new file +87 -0

87 lines not on this page · raw message

tests/kms_properties.c +5 -0
index e33503303..8e7aa6559 100644
@@ -870,6 +870,11 @@ igt_main
 	igt_subtest("colorop-properties-legacy")
 		colorop_properties(&display, false);
 
+	igt_describe("Tests colorop properties with legacy commit");
+	igt_subtest("colorop-properties-legacy")
+		/* TODO is this true? */
+		igt_skip("No colorops with legacy commits\n");
+
 	igt_describe("Tests crtc properties with legacy commit");
 	igt_subtest("crtc-properties-legacy")
 		crtc_properties(&display, false);
tests/meson.build +1 -0
index d107d16fa..b37e5b6d3 100644
@@ -23,6 +23,7 @@ test_progs = [
 	'kms_bw',
 	'kms_color',
 	'kms_concurrent',
+	'kms_colorop',
 	'kms_content_protection',
 	'kms_cursor_crc',
 	'kms_cursor_edge_walk',
Signature · 1 line
2.43.0
#9 lore raw

RFC v4 9/22 drm-uapi: Add 3x4 CTM

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

---
 include/drm-uapi/drm_mode.h | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
include/drm-uapi/drm_mode.h +18 -1
index c49526bca..358c5c313 100644
@@ -847,6 +847,22 @@ struct drm_color_ctm {
 	__u64 matrix[9];
 };
 
+struct drm_color_ctm_3x4 {
+	/*
+	 * Conversion matrix with 3x4 dimensions in S31.32 sign-magnitude
+	 * (not two's complement!) format.
+	 *
+	 * TODO what's the format?
+	 *
+	 * out   matrix          in
+	 * |R|   |0  1  2  3 |   | R |
+	 * |G| = |4  5  6  7 | x | G |
+	 * |B|   |8  9  10 12|   | B |
+	 *                       |1.0|
+	 */
+	__u64 matrix[12];
+};
+
 struct drm_color_lut {
 	/*
 	 * Values are mapped linearly to 0.0 - 1.0 range, with 0x0 == 0.0 and
@@ -859,7 +875,8 @@ struct drm_color_lut {
 };
 
 enum drm_colorop_type {
-	DRM_COLOROP_1D_CURVE
+	DRM_COLOROP_1D_CURVE,
+	DRM_COLOROP_CTM_3X4,
 };
 
 /**
Signature · 1 line
2.43.0
#10 lore raw

RFC v4 10/22 lib/igt_kms: Add support for DATA colorop property

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

v2: (Bhanu)
- Rebase

---
 lib/igt_kms.c | 33 +++++++++++++++++++++++++++++++++
 lib/igt_kms.h | 11 ++++++++---
 2 files changed, 41 insertions(+), 3 deletions(-)
lib/igt_kms.c +33 -0
index dc498a9cd..76b264bbb 100644
@@ -689,6 +689,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = {
 	[IGT_COLOROP_TYPE] = "TYPE",
 	[IGT_COLOROP_BYPASS] = "BYPASS",
 	[IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE",
+	[IGT_COLOROP_DATA] = "DATA",
 	[IGT_COLOROP_NEXT] = "NEXT",
 };
 
@@ -4241,6 +4242,38 @@ igt_plane_replace_prop_blob(igt_plane_t *plane, enum igt_atomic_plane_properties
 	igt_plane_set_prop_changed(plane, prop);
 }
 
+/**
+ * igt_colorop_replace_prop_blob:
+ * @plane: colorop to set property on.
+ * @prop: property for which the blob will be replaced.
+ * @ptr: Pointer to contents for the property.
+ * @length: Length of contents.
+ *
+ * This function will destroy the old property blob for the given property,
+ * and will create a new property blob with the values passed to this function.
+ *
+ * The new property blob will be committed when you call igt_display_commit(),
+ * igt_display_commit2() or igt_display_commit_atomic().
+ */
+void
+igt_colorop_replace_prop_blob(igt_colorop_t *colorop, enum igt_atomic_colorop_properties prop, const void *ptr, size_t length)
+{
+	igt_display_t *display = colorop->plane->pipe->display;
+	uint64_t *blob = &colorop->values[prop];
+	uint32_t blob_id = 0;
+
+	if (*blob != 0)
+		igt_assert(drmModeDestroyPropertyBlob(display->drm_fd,
+						      *blob) == 0);
+
+	if (length > 0)
+		igt_assert(drmModeCreatePropertyBlob(display->drm_fd,
+						     ptr, length, &blob_id) == 0);
+
+	*blob = blob_id;
+	igt_colorop_set_prop_changed(colorop, prop);
+}
+
 /**
  * igt_colorop_try_prop_enum:
  * @colorop: Target colorop.
lib/igt_kms.h +8 -3
index eefe4fdcc..cbdc325a2 100644
@@ -352,6 +352,7 @@ enum igt_atomic_colorop_properties {
 	IGT_COLOROP_TYPE,
 	IGT_COLOROP_BYPASS,
 	IGT_COLOROP_CURVE_1D_TYPE,
+	IGT_COLOROP_DATA,
 	IGT_COLOROP_NEXT,
 	IGT_NUM_COLOROP_PROPS
 };
@@ -848,6 +849,10 @@ extern void igt_plane_set_prop_enum(igt_plane_t *plane,
 				    enum igt_atomic_plane_properties prop,
 				    const char *val);
 
+extern void igt_plane_replace_prop_blob(igt_plane_t *plane,
+				    enum igt_atomic_plane_properties prop,
+				    const void *ptr, size_t length);
+
 extern bool igt_plane_is_valid_colorop(igt_plane_t *plane, igt_colorop_t *colorop);
 
 extern void igt_plane_set_color_pipeline(igt_plane_t *plane, igt_colorop_t *colorop);
@@ -893,9 +898,9 @@ extern void igt_colorop_set_prop_enum(igt_colorop_t *colorop,
 				      enum igt_atomic_colorop_properties prop,
 				      const char *val);
 
-extern void igt_plane_replace_prop_blob(igt_plane_t *plane,
-					enum igt_atomic_plane_properties prop,
-					const void *ptr, size_t length);
+extern void igt_colorop_replace_prop_blob(igt_colorop_t *colorop,
+				      enum igt_atomic_colorop_properties prop,
+				      const void *ptr, size_t length);
 
 extern bool igt_plane_check_prop_is_mutable(igt_plane_t *plane,
 					    enum igt_atomic_plane_properties igt_prop);
Signature · 1 line
2.43.0
#11 lore raw

RFC v4 11/22 lib/igt_color: Add support for 3x4 matrices

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

Also add a few matrices for testing.

---
 lib/igt_color.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++-
 lib/igt_color.h | 71 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 158 insertions(+), 1 deletion(-)
lib/igt_color.c +87 -1
index b8e6a86b0..d1ad3e3b8 100644
@@ -9,6 +9,7 @@
 #include <errno.h>
 #include <math.h>
 
+#include "drmtest.h"
 #include "igt_color.h"
 #include "igt_core.h"
 #include "igt_x86.h"
@@ -70,6 +71,62 @@ void igt_color_srgb_eotf(igt_pixel_t *pixel)
 	pixel->b = igt_color_tf_eval(&srgb_tf, pixel->b);
 }
 
+static void igt_color_apply_3x4_ctm(igt_pixel_t *pixel, const igt_matrix_3x4_t *matrix)
+{
+	igt_pixel_t result;
+
+	memcpy(&result, pixel, sizeof(result));
+
+	result.r = matrix->m[0] * pixel->r +
+		   matrix->m[1] * pixel->g +
+		   matrix->m[2] * pixel->b +
+		   matrix->m[3];
+
+	result.g = matrix->m[4] * pixel->r +
+		   matrix->m[5] * pixel->g +
+		   matrix->m[6] * pixel->b +
+		   matrix->m[7];
+
+	result.b = matrix->m[8] * pixel->r +
+		   matrix->m[9] * pixel->g +
+		   matrix->m[10] * pixel->b +
+		   matrix->m[11];
+
+	memcpy(pixel, &result, sizeof(result));
+
+}
+
+void igt_color_ctm_3x4_50_desat(igt_pixel_t *pixel)
+{
+	/* apply a 50% desat matrix */
+	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_50_desat);
+}
+
+void igt_color_ctm_3x4_overdrive(igt_pixel_t *pixel)
+{
+	/* apply a 50% desat matrix */
+	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_overdrive);
+}
+
+void igt_color_ctm_3x4_oversaturate(igt_pixel_t *pixel)
+{
+	/* apply a 50% desat matrix */
+	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_oversaturate);
+}
+
+void igt_color_ctm_3x4_bt709_enc(igt_pixel_t *pixel)
+{
+	/* apply a 50% desat matrix */
+	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_bt709_enc);
+}
+
+void igt_color_ctm_3x4_bt709_dec(igt_pixel_t *pixel)
+{
+	/* apply a 50% desat matrix */
+	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_bt709_dec);
+}
+
+
 int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], int num_transforms)
 {
 	uint32_t *line = NULL;
@@ -136,6 +193,11 @@ int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], i
 			for (i = 0; i < num_transforms; i++)
 				transforms[i](&pixel);
 
+			/* clip */
+			pixel.r = fmax(fmin(pixel.r, 1.0), 0.0);
+			pixel.g = fmax(fmin(pixel.g, 1.0), 0.0);
+			pixel.b = fmax(fmin(pixel.b, 1.0), 0.0);
+
 			/* de-normalize back to 8-bit */
 			pixel.r *= (0xff);
 			pixel.g *= (0xff);
@@ -255,4 +317,28 @@ void igt_dump_fb(igt_display_t *display, igt_fb_t *fb,
 	status = cairo_surface_write_to_png(fb_surface_out, filepath_out);
 	igt_assert_eq(status, CAIRO_STATUS_SUCCESS);
 	cairo_surface_destroy(fb_surface_out);
-}
\ No newline at end of file
+}
+
+void igt_colorop_set_ctm_3x4(igt_display_t *display,
+			     igt_colorop_t *colorop,
+			     const igt_matrix_3x4_t *matrix)
+{
+	struct drm_color_ctm_3x4 ctm;
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(ctm.matrix); i++) {
+		if (matrix->m[i] < 0) {
+			ctm.matrix[i] =
+				(int64_t) (-matrix->m[i] *
+				((int64_t) 1L << 32));
+			ctm.matrix[i] |= 1ULL << 63;
+		} else {
+			ctm.matrix[i] =
+				(int64_t) (matrix->m[i] *
+				((int64_t) 1L << 32));
+		}
+	}
+
+	/* set blob property */
+	igt_colorop_replace_prop_blob(colorop, IGT_COLOROP_DATA, &ctm, sizeof(ctm));
+}
lib/igt_color.h +71 -0

85 lines not on this page · raw message

Signature · 1 line
2.43.0
#12 lore raw

RFC v4 12/22 tests/kms_colorop: Add 3x4 CTM tests

In reply to Bhanuprakash Modem

From: Harry Wentland <[email protected]>

---
 tests/kms_colorop.c | 43 ++++++++++++++++++++++++++++++-------------
 tests/kms_colorop.h | 39 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 68 insertions(+), 14 deletions(-)
tests/kms_colorop.c +30 -13
index 2a14294a2..72e59725d 100644
@@ -40,9 +40,16 @@
  *
  * arg[1]:
  *
- * @srgb_eotf:                   sRGB EOTF
- * @srgb_inv_eotf:               sRGB Inverse EOTF
- * @srgb_eotf-srgb_inv_eotf:     sRGB EOTF -> sRGB Inverse EOTF
+ * @srgb_eotf:                  sRGB EOTF
+ * @srgb_inv_eotf:              sRGB Inverse EOTF
+ * @srgb_eotf-srgb_inv_eotf:    sRGB EOTF -> sRGB Inverse EOTF
+ * @ctm_3x4_50_desat:		3x4 matrix doing a 50% desaturation
+ * @ctm_3x4_overdrive:		3x4 matrix overdring all values by 50%
+ * @ctm_3x4_oversaturate:	3x4 matrix oversaturating values
+ * @ctm_3x4_bt709_enc:		BT709 encoding matrix
+ * @ctm_3x4_bt709_dec:		BT709 decoding matrix
+ * @ctm_3x4_bt709_enc_dec:	BT709 encoding matrix, followed by decoding matrix
+ * @ctm_3x4_bt709_dec_enc:	BT709 decoding matrix, followed by encoding matrix
  *
  */
 
@@ -181,11 +188,10 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_
 {
 	switch (desired->type) {
 	case KMS_COLOROP_ENUMERATED_LUT1D:
-		if (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_1D_CURVE) {
-			return true;
-		}
+		return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_1D_CURVE);
+	case KMS_COLOROP_CTM_3X4:
+		return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_CTM_3X4);
 	case KMS_COLOROP_CUSTOM_LUT1D:
-	case KMS_COLOROP_CTM:
 	case KMS_COLOROP_LUT3D:
 	default:
 		return false;
@@ -205,13 +211,15 @@ static bool map_to_pipeline(igt_display_t *display,
 	int i = 0;
 	int prop_val = 0;
 
-	current_op = colorops[i++];
+	current_op = colorops[i];
+	i++;
 	igt_require(current_op);
 
 	while (next) {
 		if (can_use_colorop(display, next, current_op)) {
 			current_op->colorop = next;
-			current_op = colorops[i++];
+			current_op = colorops[i];
+			i++;
 			if (!current_op)
 				break;
 		}
@@ -273,8 +281,10 @@ static void set_colorop(igt_display_t *display,
 			igt_fail(IGT_EXIT_FAILURE);
 		}
 		break;
+	case KMS_COLOROP_CTM_3X4:
+		igt_colorop_set_ctm_3x4(display, colorop->colorop, colorop->matrix_3x4);
+		break;
 	case KMS_COLOROP_CUSTOM_LUT1D:
-	case KMS_COLOROP_CTM:
 	case KMS_COLOROP_LUT3D:
 	default:
 		igt_fail(IGT_EXIT_FAILURE);
@@ -331,8 +341,8 @@ static bool compare_with_bracket(igt_fb_t *in, igt_fb_t *out)
 
 #define DUMP_FBS 1
 
-#define MAX_COLOROPS 3
-#define NUM_COLOROP_TESTS 3
+#define MAX_COLOROPS 5
+#define NUM_COLOROP_TESTS 12
 #define MAX_NAME_SIZE 256
 
 static void apply_transforms(kms_colorop_t *colorops[], igt_fb_t *sw_transform_fb)
@@ -481,7 +491,14 @@ igt_main
 	} tests[] = {
 		{ { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" },
 		{ { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" },
-		{ { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }
+		{ { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" },
+		{ { &kms_colorop_ctm_3x4_50_desat, NULL }, "ctm_3x4_50_desat" },
+		{ { &kms_colorop_ctm_3x4_overdrive, NULL }, "ctm_3x4_overdrive" },
+		{ { &kms_colorop_ctm_3x4_oversaturate, NULL }, "ctm_3x4_oversaturate" },
+		{ { &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_enc" },
+		{ { &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_dec" },
+		{ { &kms_colorop_ctm_3x4_bt709_enc, &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_enc_dec" },
+		{ { &kms_colorop_ctm_3x4_bt709_dec, &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_dec_enc" },
 	};
 
 	igt_display_t display;
tests/kms_colorop.h +38 -1
index 8102d25b1..30278ca4e 100644
@@ -35,7 +35,7 @@ typedef int (*transform_pixel)(igt_pixel_t *pixel);
 typedef enum kms_colorop_type {
 	KMS_COLOROP_ENUMERATED_LUT1D,
 	KMS_COLOROP_CUSTOM_LUT1D,
-	KMS_COLOROP_CTM,
+	KMS_COLOROP_CTM_3X4,
 	KMS_COLOROP_LUT3D
 } kms_colorop_type_t;
 
@@ -55,6 +55,7 @@ typedef struct kms_colorop {
 
 	union {
 		kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info;
+		const igt_matrix_3x4_t *matrix_3x4;
 	};
 
 	const char *name;
@@ -84,4 +85,40 @@ kms_colorop_t kms_colorop_srgb_inv_eotf = {
 	.transform = &igt_color_srgb_inv_eotf
 };
 
+kms_colorop_t kms_colorop_ctm_3x4_50_desat = {
+	.type = KMS_COLOROP_CTM_3X4,
+	.matrix_3x4 = &igt_matrix_3x4_50_desat,
+	.name = "ctm_3x4_50_desat",
+	.transform = &igt_color_ctm_3x4_50_desat
+};
+
+kms_colorop_t kms_colorop_ctm_3x4_overdrive = {
+	.type = KMS_COLOROP_CTM_3X4,
+	.matrix_3x4 = &igt_matrix_3x4_overdrive,
+	.name = "ctm_3x4_overdrive",
+	.transform = &igt_color_ctm_3x4_overdrive
+};
+
+kms_colorop_t kms_colorop_ctm_3x4_oversaturate = {
+	.type = KMS_COLOROP_CTM_3X4,
+	.matrix_3x4 = &igt_matrix_3x4_oversaturate,
+	.name = "ctm_3x4_oversaturate",
+	.transform = &igt_color_ctm_3x4_oversaturate
+};
+
+kms_colorop_t kms_colorop_ctm_3x4_bt709_enc = {
+	.type = KMS_COLOROP_CTM_3X4,
+	.matrix_3x4 = &igt_matrix_3x4_bt709_enc,
+	.name = "ctm_3x4_bt709_enc",
+	.transform = &igt_color_ctm_3x4_bt709_enc
+};
+
+kms_colorop_t kms_colorop_ctm_3x4_bt709_dec = {
+	.type = KMS_COLOROP_CTM_3X4,
+	.matrix_3x4 = &igt_matrix_3x4_bt709_dec,
+	.name = "ctm_3x4_bt709_dec",
+	.transform = &igt_color_ctm_3x4_bt709_dec
+};
+
+
 #endif /* __KMS_COLOROP_H__ */
Signature · 1 line
2.43.0
#13 lore raw

RFC v4 13/22 tests/kms_properties: Fix compilation errors

In reply to Bhanuprakash Modem
---
 tests/kms_properties.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
tests/kms_properties.c +1 -5
index 8e7aa6559..151fa6a92 100644
@@ -316,7 +316,7 @@ static void colorop_properties(igt_display_t *display, bool atomic)
 			igt_display_reset(display);
 
 			igt_output_set_pipe(output, pipe);
-			if (!i915_pipe_output_combo_valid(display))
+			if (!intel_pipe_output_combo_valid(display))
 				continue;
 
 			found_any = found = true;
@@ -866,10 +866,6 @@ igt_main
 	igt_subtest("colorop-properties-atomic")
 		colorop_properties(&display, true);
 
-	igt_describe("Tests colorop properties with legacy commit");
-	igt_subtest("colorop-properties-legacy")
-		colorop_properties(&display, false);
-
 	igt_describe("Tests colorop properties with legacy commit");
 	igt_subtest("colorop-properties-legacy")
 		/* TODO is this true? */
Signature · 1 line
2.43.0
#14 lore raw

RFC v4 14/22 lib/igt_kms: Destroy colorops on exit

In reply to Bhanuprakash Modem

- Free the memory allocated for colorops on igt_display_fini()
- Disable COLOR_PIPELINE on igt_display_reset()

---
 lib/igt_kms.c | 6 ++++++
 1 file changed, 6 insertions(+)
lib/igt_kms.c +6 -0
index 76b264bbb..41c259608 100644
@@ -2525,6 +2525,9 @@ static void igt_plane_reset(igt_plane_t *plane)
 	if (igt_plane_has_prop(plane, IGT_PLANE_HOTSPOT_Y))
 		igt_plane_set_prop_value(plane, IGT_PLANE_HOTSPOT_Y, 0);
 
+	if (igt_plane_has_prop(plane, IGT_PLANE_COLOR_PIPELINE))
+		igt_plane_set_prop_enum(plane, IGT_PLANE_COLOR_PIPELINE, "Bypass");
+
 	igt_plane_clear_prop_changed(plane, IGT_PLANE_IN_FENCE_FD);
 	plane->values[IGT_PLANE_IN_FENCE_FD] = ~0ULL;
 	plane->gem_handle = 0;
@@ -3252,12 +3255,15 @@ void igt_display_fini(igt_display_t *display)
 
 	for (i = 0; i < display->n_outputs; i++)
 		igt_output_fini(&display->outputs[i]);
+
 	free(display->outputs);
 	display->outputs = NULL;
 	free(display->pipes);
 	display->pipes = NULL;
 	free(display->planes);
 	display->planes = NULL;
+	free(display->colorops);
+	display->colorops = NULL;
 }
 
 static void igt_display_refresh(igt_display_t *display)
Signature · 1 line
2.43.0
#15 lore raw

RFC v4 15/22 lib/colorops: Move few helpers to common place to reuse

In reply to Bhanuprakash Modem

Move few colorops helpers to common place to reuse.

---
 lib/igt_color.c          |  73 ++++++++------
 lib/igt_color.h          |  63 ++----------
 tests/kms_color_helper.c | 158 +++++++++++++++++++++++++++++
 tests/kms_color_helper.h |  55 ++++++++++
 tests/kms_colorop.c      | 211 ++++++++++-----------------------------
 tests/kms_colorop.h      | 124 -----------------------
 tests/meson.build        |   1 +
 7 files changed, 324 insertions(+), 361 deletions(-)
 delete mode 100644 tests/kms_colorop.h
lib/igt_color.c +45 -28
index d1ad3e3b8..b1814bdae 100644
@@ -14,6 +14,51 @@
 #include "igt_core.h"
 #include "igt_x86.h"
 
+const struct igt_color_tf srgb_tf = {2.4f, (float)(1/1.055), (float)(0.055/1.055), (float)(1/12.92), 0.04045f, 0, 0};
+
+const igt_matrix_3x4_t igt_matrix_3x4_50_desat = { {
+	0.5, 0.25, 0.25, 0.0,
+	0.25, 0.5, 0.25, 0.0,
+	0.25, 0.25, 0.5, 0.0
+} };
+
+const igt_matrix_3x4_t igt_matrix_3x4_overdrive = { {
+	1.5, 0.0, 0.0, 0.0,
+	0.0, 1.5, 0.0, 0.0,
+	0.0, 0.0, 1.5, 0.0
+} };
+
+const igt_matrix_3x4_t igt_matrix_3x4_oversaturate = { {
+	1.5,   -0.25, -0.25, 0.0,
+	-0.25,  1.5,  -0.25, 0.0,
+	-0.25, -0.25,  1.5,  0.0
+} };
+
+#if 0
+const igt_matrix_3x4_t igt_matrix_3x4_bt709_enc = { {
+	 0.2126,   0.7152,  0.0722, 0.0,
+	-0.1146, -0.3854,  0.5,    0.0,
+	 0.5,     -0.4542, -0.0458, 0.0
+} };
+
+const igt_matrix_3x4_t igt_matrix_3x4_bt709_dec = { {
+	1.0,  0.0,     1.5748, 0.0,
+	1.0, -0.1873, -0.4681, 0.0,
+	1.0,  1.8556,  0.0,    0.0
+} };
+#else
+const igt_matrix_3x4_t igt_matrix_3x4_bt709_enc = { {
+	 0.2126,   0.7152,   0.0722,  0.0,
+	-0.09991, -0.33609,  0.436,   0.0,
+	 0.615,   -0.55861, -0.05639, 0.0
+} };
+
+const igt_matrix_3x4_t igt_matrix_3x4_bt709_dec = { {
+	1.0,  0.0,      1.28033, 0.0,
+	1.0, -0.21482, -0.38059, 0.0,
+	1.0,  2.12798,  0.0,     0.0
+} };
+#endif
 
 static float clamp(float val, float min, float max)
 {
@@ -62,8 +107,6 @@ void igt_color_srgb_inv_eotf(igt_pixel_t *pixel)
 	pixel->b = igt_color_tf_eval(&inv, pixel->b);
 }
 
-
-
 void igt_color_srgb_eotf(igt_pixel_t *pixel)
 {
 	pixel->r = igt_color_tf_eval(&srgb_tf, pixel->r);
@@ -126,7 +169,6 @@ void igt_color_ctm_3x4_bt709_dec(igt_pixel_t *pixel)
 	igt_color_apply_3x4_ctm(pixel, &igt_matrix_3x4_bt709_dec);
 }
 
-
 int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], int num_transforms)
 {
 	uint32_t *line = NULL;
@@ -304,7 +346,6 @@ bool igt_cmp_fb_pixels(igt_fb_t *fb1, igt_fb_t *fb2, uint8_t up, uint8_t down)
 	return matched;
 }
 
-
 void igt_dump_fb(igt_display_t *display, igt_fb_t *fb,
 		 const char *path_name, const char *file_name)
 {
@@ -318,27 +359,3 @@ void igt_dump_fb(igt_display_t *display, igt_fb_t *fb,
 	igt_assert_eq(status, CAIRO_STATUS_SUCCESS);
 	cairo_surface_destroy(fb_surface_out);
 }
-
-void igt_colorop_set_ctm_3x4(igt_display_t *display,
-			     igt_colorop_t *colorop,
-			     const igt_matrix_3x4_t *matrix)
-{
-	struct drm_color_ctm_3x4 ctm;
-	int i;
-
-	for (i = 0; i < ARRAY_SIZE(ctm.matrix); i++) {
-		if (matrix->m[i] < 0) {
-			ctm.matrix[i] =
-				(int64_t) (-matrix->m[i] *
-				((int64_t) 1L << 32));
-			ctm.matrix[i] |= 1ULL << 63;
-		} else {
-			ctm.matrix[i] =
-				(int64_t) (matrix->m[i] *
-				((int64_t) 1L << 32));
-		}
-	}
-
-	/* set blob property */
-	igt_colorop_replace_prop_blob(colorop, IGT_COLOROP_DATA, &ctm, sizeof(ctm));
-}
lib/igt_color.h +10 -53

87 lines not on this page · raw message

tests/kms_color_helper.c +158 -0

161 lines not on this page · raw message

tests/kms_color_helper.h +55 -0

72 lines not on this page · raw message

tests/kms_colorop.c +55 -156

243 lines not on this page · raw message

tests/kms_colorop.h deleted +0 -124

124 lines not on this page · raw message

tests/meson.build +1 -0
index b37e5b6d3..4dec687db 100644
@@ -352,6 +352,7 @@ extra_sources = {
 	'dumb_buffer': ['dumb_buffer.c' ],
 	'testdisplay': [ 'testdisplay_hotplug.c' ],
 	'kms_color':  [ 'kms_color_helper.c' ],
+	'kms_colorop':  [ 'kms_color_helper.c' ],
 	'kms_chamelium_audio': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
 	'kms_chamelium_color':  [ 'kms_color_helper.c' ],
 	'kms_chamelium_edid': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
Signature · 1 line
2.43.0
#17 lore raw

RFC v4 17/22 drm-uapi: Add custom 1D LUT

In reply to Bhanuprakash Modem
---
 include/drm-uapi/drm_mode.h | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
include/drm-uapi/drm_mode.h +29 -0
index 476c1a7be..7def05fe8 100644
@@ -874,8 +874,37 @@ struct drm_color_lut {
 	__u16 reserved;
 };
 
+/*
+ * Creating 64 bit palette entries for better data
+ * precision. This will be required for HDR and
+ * similar color processing usecases.
+ */
+struct drm_color_lut_ext {
+	/*
+	 * Data is U32.32 fixed point format.
+	 */
+	__u64 red;
+	__u64 green;
+	__u64 blue;
+	__u64 reserved;
+};
+
+struct drm_color_lut_range {
+	/* DRM_MODE_LUT_* */
+	__u32 flags;
+	/* number of points on the curve */
+	__u16 count;
+	/* input/output bits per component */
+	__u8 input_bpc, output_bpc;
+	/* input start/end values */
+	__s32 start, end;
+	/* output min/max values */
+	__s32 min, max;
+};
+
 enum drm_colorop_type {
 	DRM_COLOROP_1D_CURVE,
+	DRM_COLOROP_1D_LUT,
 	DRM_COLOROP_CTM_3X3,
 	DRM_COLOROP_CTM_3X4,
 };
Signature · 1 line
2.43.0
#18 lore raw

RFC v4 18/22 lib/igt_color: Add support for 3x3 matrices

In reply to Bhanuprakash Modem

Add helpers to support 3x3 matrices.

---
 lib/igt_color.h          | 10 ++++++++++
 tests/kms_color_helper.c | 30 ++++++++++++++++++++++++++++++
 tests/kms_color_helper.h |  5 +++++
 3 files changed, 45 insertions(+)
lib/igt_color.h +10 -0
index 46c399cd5..4137abeff 100644
@@ -25,6 +25,16 @@ typedef struct igt_pixel {
 	float b;
 } igt_pixel_t;
 
+typedef struct igt_matrix_3x3 {
+	/*
+	 * out   matrix       in
+	 * |R|   |0  1  2 |   | R |
+	 * |G| = |3  4  5 | x | G |
+	 * |B|   |6  7  8 |   | B |
+	 */
+	double m[9];
+} igt_matrix_3x3_t;
+
 typedef struct igt_matrix_3x4 {
 	/*
 	 * out   matrix          in
tests/kms_color_helper.c +30 -0
index 02e5b975a..786f49141 100644
@@ -394,6 +394,8 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_
 	switch (desired->type) {
 	case KMS_COLOROP_ENUMERATED_LUT1D:
 		return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_1D_CURVE);
+	case KMS_COLOROP_CTM_3X3:
+		return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_CTM_3X3);
 	case KMS_COLOROP_CTM_3X4:
 		return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_CTM_3X4);
 	case KMS_COLOROP_CUSTOM_LUT1D:
@@ -484,6 +486,9 @@ void set_colorop(igt_display_t *display, kms_colorop_t *colorop)
 			igt_fail(IGT_EXIT_FAILURE);
 		}
 		break;
+	case KMS_COLOROP_CTM_3X3:
+		igt_colorop_set_ctm_3x3(display, colorop->colorop, colorop->matrix_3x3);
+		break;
 	case KMS_COLOROP_CTM_3X4:
 		igt_colorop_set_ctm_3x4(display, colorop->colorop, colorop->matrix_3x4);
 		break;
@@ -523,6 +528,31 @@ void set_color_pipeline(igt_display_t *display,
 	}
 }
 
+void igt_colorop_set_ctm_3x3(igt_display_t *display,
+			     igt_colorop_t *colorop,
+			     const struct drm_color_ctm *matrix)
+{
+	struct drm_color_ctm ctm;
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(ctm.matrix); i++) {
+		if (matrix->matrix[i] < 0) {
+			ctm.matrix[i] =
+				(int64_t) (-matrix->matrix[i] *
+				((int64_t) 1L << 32));
+			ctm.matrix[i] |= 1ULL << 63;
+		} else {
+			ctm.matrix[i] =
+				(int64_t) (matrix->matrix[i] *
+				((int64_t) 1L << 32));
+		}
+		igt_debug("CTM[%d]: %llx\n", i, ctm.matrix[i]);
+	}
+
+	/* set blob property */
+	igt_colorop_replace_prop_blob(colorop, IGT_COLOROP_DATA, &ctm, sizeof(ctm));
+}
+
 void igt_colorop_set_ctm_3x4(igt_display_t *display,
 			     igt_colorop_t *colorop,
 			     const igt_matrix_3x4_t *matrix)
tests/kms_color_helper.h +5 -0
index 566615ad9..e172b0318 100644
@@ -126,6 +126,7 @@ void invalid_ctm_matrix_sizes(data_t *data, enum pipe p);
 typedef enum kms_colorop_type {
 	KMS_COLOROP_ENUMERATED_LUT1D,
 	KMS_COLOROP_CUSTOM_LUT1D,
+	KMS_COLOROP_CTM_3X3,
 	KMS_COLOROP_CTM_3X4,
 	KMS_COLOROP_LUT3D
 } kms_colorop_type_t;
@@ -146,6 +147,7 @@ typedef struct kms_colorop {
 
 	union {
 		kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info;
+		const struct drm_color_ctm *matrix_3x3;
 		const igt_matrix_3x4_t *matrix_3x4;
 	};
 
@@ -164,6 +166,9 @@ igt_colorop_t *get_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 void set_colorop(igt_display_t *display, kms_colorop_t *colorop);
 void set_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 			      kms_colorop_t *colorops[], igt_colorop_t *color_pipeline);
+void igt_colorop_set_ctm_3x3(igt_display_t *display,
+			     igt_colorop_t *colorop,
+			     const struct drm_color_ctm *matrix);
 void igt_colorop_set_ctm_3x4(igt_display_t *display,
 			     igt_colorop_t *colorop,
 			     const igt_matrix_3x4_t *matrix);
Signature · 1 line
2.43.0
#19 lore raw

RFC v4 19/22 lib/colorops: Add support for Custom 1D LUT

In reply to Bhanuprakash Modem

Add helpers to support custom 1D LUT.

---
 lib/igt_kms.c            |  1 +
 lib/igt_kms.h            |  1 +
 tests/kms_color_helper.c | 96 ++++++++++++++++++++++++++++++++++++++++
 tests/kms_color_helper.h | 28 ++++++++++++
 4 files changed, 126 insertions(+)
lib/igt_kms.c +1 -0
index 41c259608..9dc54d961 100644
@@ -689,6 +689,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = {
 	[IGT_COLOROP_TYPE] = "TYPE",
 	[IGT_COLOROP_BYPASS] = "BYPASS",
 	[IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE",
+	[IGT_COLOROP_HW_CAPS] = "HW_CAPS",
 	[IGT_COLOROP_DATA] = "DATA",
 	[IGT_COLOROP_NEXT] = "NEXT",
 };
lib/igt_kms.h +1 -0
index cbdc325a2..51a79d7cb 100644
@@ -352,6 +352,7 @@ enum igt_atomic_colorop_properties {
 	IGT_COLOROP_TYPE,
 	IGT_COLOROP_BYPASS,
 	IGT_COLOROP_CURVE_1D_TYPE,
+	IGT_COLOROP_HW_CAPS,
 	IGT_COLOROP_DATA,
 	IGT_COLOROP_NEXT,
 	IGT_NUM_COLOROP_PROPS
tests/kms_color_helper.c +96 -0

120 lines not on this page · raw message

tests/kms_color_helper.h +28 -0
index e172b0318..9cb8cdc4c 100644
@@ -122,6 +122,18 @@ void invalid_gamma_lut_sizes(data_t *data, enum pipe p);
 void invalid_degamma_lut_sizes(data_t *data, enum pipe p);
 void invalid_ctm_matrix_sizes(data_t *data, enum pipe p);
 
+typedef struct {
+	uint32_t segment_count;
+	struct drm_color_lut_range *segment_data;
+	uint32_t entries_count;
+} segment_data_t;
+
+void create_zero_lut(segment_data_t *info, struct drm_color_lut_ext *lut);
+void create_unity_lut(segment_data_t *info, struct drm_color_lut_ext *lut);
+void create_max_lut(segment_data_t *info, struct drm_color_lut_ext *lut);
+void clear_segment_data(segment_data_t *info);
+segment_data_t *get_segment_data(int drm_fd, uint64_t blob_id);
+
 /* Colorops Test version definitions */
 typedef enum kms_colorop_type {
 	KMS_COLOROP_ENUMERATED_LUT1D,
@@ -142,11 +154,24 @@ typedef struct kms_colorop_enumerated_lut1d_info {
 	kms_colorop_lut1d_tf_t tf;
 } kms_colorop_enumerated_lut1d_info_t;
 
+typedef enum kms_colorop_custom_lut1d_tf {
+	KMS_COLOROP_CUSTOM_LUT1D_ZERO,
+	KMS_COLOROP_CUSTOM_LUT1D_LINEAR,
+	KMS_COLOROP_CUSTOM_LUT1D_MAX,
+} kms_colorop_custom_lut1d_tf_t;
+
+typedef struct kms_colorop_custom_lut1d_info {
+	uint32_t lut_size;
+	kms_colorop_custom_lut1d_tf_t lut_type;
+	struct drm_color_lut_ext *lut;
+} kms_colorop_custom_lut1d_info_t;
+
 typedef struct kms_colorop {
 	kms_colorop_type_t type;
 
 	union {
 		kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info;
+		kms_colorop_custom_lut1d_info_t custom_lut1d_info;
 		const struct drm_color_ctm *matrix_3x3;
 		const igt_matrix_3x4_t *matrix_3x4;
 	};
@@ -166,6 +191,9 @@ igt_colorop_t *get_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 void set_colorop(igt_display_t *display, kms_colorop_t *colorop);
 void set_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 			      kms_colorop_t *colorops[], igt_colorop_t *color_pipeline);
+void igt_colorop_set_custom_lut_1d(igt_display_t *display,
+			     igt_colorop_t *colorop,
+			     const kms_colorop_custom_lut1d_info_t custom_lut1d_info);
 void igt_colorop_set_ctm_3x3(igt_display_t *display,
 			     igt_colorop_t *colorop,
 			     const struct drm_color_ctm *matrix);
Signature · 1 line
2.43.0
#20 lore raw

RFC v4 20/22 lib/igt_kms: Increase the colorops count

In reply to Bhanuprakash Modem

Everytime we introduce a new colorops, total colorops count will increase by (number of pipes * number of planes per pipe)

---
 lib/igt_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/igt_kms.c +1 -1
index 9dc54d961..66823a84c 100644
@@ -90,7 +90,7 @@
 #define MAX_CONNECTORS 32
 #define MAX_EDID 2
 #define DISPLAY_TILE_BLOCK 0x12
-#define MAX_NUM_COLOROPS 32
+#define MAX_NUM_COLOROPS 64
 
 static struct {
 	uint32_t connector_type;
Signature · 1 line
2.43.0
#21 lore raw

RFC v4 21/22 tests/kms_color_helper: Add helpers to clear colorops data

In reply to Bhanuprakash Modem

- Clear the DATA blob
- Ser the BYPASS prop true

---
 tests/kms_color_helper.c | 29 +++++++++++++++++++++++++++++
 tests/kms_color_helper.h |  3 +++
 2 files changed, 32 insertions(+)
tests/kms_color_helper.c +29 -0
index e6aead743..bdca87bf8 100644
@@ -468,6 +468,24 @@ igt_colorop_t *get_color_pipeline(igt_display_t *display,
 	return colorop;
 }
 
+void clear_colorop(igt_display_t *display, kms_colorop_t *colorop)
+{
+	igt_assert(colorop->colorop);
+	igt_colorop_set_prop_value(colorop->colorop, IGT_COLOROP_BYPASS, 1);
+
+	switch (colorop->type) {
+	case KMS_COLOROP_CTM_3X3:
+	case KMS_COLOROP_CTM_3X4:
+	case KMS_COLOROP_CUSTOM_LUT1D:
+		igt_colorop_replace_prop_blob(colorop->colorop, IGT_COLOROP_DATA, NULL, 0);
+		break;
+	case KMS_COLOROP_ENUMERATED_LUT1D:
+	case KMS_COLOROP_LUT3D:
+	default:
+		return;
+	}
+}
+
 void set_colorop(igt_display_t *display, kms_colorop_t *colorop)
 {
 	igt_assert(colorop->colorop);
@@ -504,6 +522,17 @@ void set_colorop(igt_display_t *display, kms_colorop_t *colorop)
 	}
 }
 
+void clear_color_pipeline(igt_display_t *display,
+			  igt_plane_t *plane,
+			  kms_colorop_t *colorops[],
+			  igt_colorop_t *color_pipeline)
+{
+	int i;
+
+	for(i = 0; colorops[i]; i++)
+		clear_colorop(display, colorops[i]);
+}
+
 void set_color_pipeline(igt_display_t *display,
 			igt_plane_t *plane,
 			kms_colorop_t *colorops[],
tests/kms_color_helper.h +3 -0
index 9cb8cdc4c..c13198fa8 100644
@@ -191,6 +191,9 @@ igt_colorop_t *get_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 void set_colorop(igt_display_t *display, kms_colorop_t *colorop);
 void set_color_pipeline(igt_display_t *display, igt_plane_t *plane,
 			      kms_colorop_t *colorops[], igt_colorop_t *color_pipeline);
+void clear_colorop(igt_display_t *display, kms_colorop_t *colorop);
+void clear_color_pipeline(igt_display_t *display, igt_plane_t *plane,
+			      kms_colorop_t *colorops[], igt_colorop_t *color_pipeline);
 void igt_colorop_set_custom_lut_1d(igt_display_t *display,
 			     igt_colorop_t *colorop,
 			     const kms_colorop_custom_lut1d_info_t custom_lut1d_info);
Signature · 1 line
2.43.0
#22 lore raw

RFC v4 22/22 tests/kms_color: Add plane color pipeline tests for Intel hardware

In reply to Bhanuprakash Modem

For now, Intel plane color pipeline contains 3 colorops:
Pre-csc gamma (1D LUT) --> CTM 3x3 --> Post-csc gamma (1D LUT)

Create subtests to cover different combinations of available colorops:
igt@kms_color@plane-lut1d igt@kms_color@plane-ctm3x3 igt@kms_color@plane-lut1d-ctm3x3 igt@kms_color@plane-ctm3x3-lut1d igt@kms_color@plane-lut1d-lut1d igt@kms_color@plane-lut1d-ctm3x3-lut1d

---
 tests/kms_color.c | 273 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 267 insertions(+), 6 deletions(-)
tests/kms_color.c +267 -6
index bdb80a4ad..5a8bc6eb9 100644
@@ -34,6 +34,8 @@
 
 #include "kms_color_helper.h"
 
+#define MAX_COLOROPS	5
+
 /**
  * SUBTEST: degamma
  * Description: Verify that degamma LUT transformation works correctly
@@ -78,6 +80,20 @@
  * @gamma-lut:          Gamma LUT
  */
 
+/**
+ * SUBTEST: plane-%s
+ * Description: Test plane color pipeline with colorops: %arg[1].
+ *
+ * arg[1]:
+ *
+ * @lut1d:		1D LUT
+ * @ctm3x3:		3X3 CTM
+ * @lut1d-ctm3x3:	1D LUT --> 3X3 CTM
+ * @ctm3x3-lut1d:	3X3 CTM --> 1D LUT
+ * @lut1d-lut1d:	1D LUT --> 1D LUT
+ * @lut1d-ctm3x3-lut1d: 1D LUT --> 3X3 CTM --> 1D LUT
+ */
+
 IGT_TEST_DESCRIPTION("Test Color Features at Pipe level");
 
 static bool test_pipe_degamma(data_t *data,
@@ -725,6 +741,137 @@ static void test_pipe_limited_range_ctm(data_t *data,
 }
 #endif
 
+static void clear_lut_data(kms_colorop_t *colorops[])
+{
+	int i;
+
+	for (i = 0; colorops[i]; i++) {
+		if (colorops[i]->type != KMS_COLOROP_CUSTOM_LUT1D)
+			continue;
+
+		if (colorops[i]->custom_lut1d_info.lut)
+			free(colorops[i]->custom_lut1d_info.lut);
+	}
+}
+
+static void prepare_lut_data(data_t *data, kms_colorop_t *colorops[])
+{
+	int i;
+
+	for (i = 0; colorops[i]; i++) {
+		uint64_t hwlut_caps = 0;
+		segment_data_t *segment_info;
+
+		if (colorops[i]->type != KMS_COLOROP_CUSTOM_LUT1D)
+			continue;
+
+		hwlut_caps = igt_colorop_get_prop(&data->display, colorops[i]->colorop, IGT_COLOROP_HW_CAPS);
+		segment_info = get_segment_data(data->drm_fd, hwlut_caps);
+
+		igt_info("Lut size (%s): %d\n", colorops[i]->name, segment_info->entries_count);
+
+		colorops[i]->custom_lut1d_info.lut_size = segment_info->entries_count;
+		colorops[i]->custom_lut1d_info.lut =
+			malloc(sizeof(struct drm_color_lut_ext) * colorops[i]->custom_lut1d_info.lut_size);
+		igt_assert(colorops[i]->custom_lut1d_info.lut);
+
+		switch (colorops[i]->custom_lut1d_info.lut_type) {
+			case KMS_COLOROP_CUSTOM_LUT1D_ZERO:
+				create_zero_lut(segment_info, colorops[i]->custom_lut1d_info.lut);
+				break;
+			case KMS_COLOROP_CUSTOM_LUT1D_LINEAR:
+				create_unity_lut(segment_info, colorops[i]->custom_lut1d_info.lut);
+				break;
+			case KMS_COLOROP_CUSTOM_LUT1D_MAX:
+			default:
+				create_max_lut(segment_info, colorops[i]->custom_lut1d_info.lut);
+		}
+
+		clear_segment_data(segment_info);
+	}
+}
+
+static bool ctm_colorop_only(kms_colorop_t *colorops[])
+{
+	int i;
+
+	for (i = 0; colorops[i]; i++)
+		if (colorops[i]->type != KMS_COLOROP_CTM_3X3)
+			return false;
+	return true;
+}
+
+static bool test_plane_colorops(data_t *data,
+				const color_t *fb_colors,
+				const color_t *exp_colors,
+				kms_colorop_t *colorops[])
+{
+	igt_plane_t *plane = data->primary;
+	igt_output_t *output = data->output;
+	igt_display_t *display = &data->display;
+	drmModeModeInfo *mode = data->mode;
+	struct igt_fb fb;
+	bool ret;
+	igt_colorop_t *color_pipeline = get_color_pipeline(display, plane, colorops);
+	igt_crc_t crc_gamma, crc_fullcolors;
+
+	igt_output_set_pipe(output, plane->pipe->pipe);
+	mode = igt_output_get_mode(output);
+
+	/* Create a framebuffer at the size of the output. */
+	igt_assert(igt_create_fb(data->drm_fd,
+			      mode->hdisplay,
+			      mode->vdisplay,
+			      DRM_FORMAT_XRGB8888,
+			      DRM_FORMAT_MOD_LINEAR,
+			      &fb));
+	igt_plane_set_fb(plane, &fb);
+
+	/* Disable Pipe color props. */
+	disable_ctm(plane->pipe);
+	disable_degamma(plane->pipe);
+	disable_gamma(plane->pipe);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+
+	set_color_pipeline_bypass(plane);
+	paint_rectangles(data, mode, exp_colors, &fb);
+	igt_plane_set_fb(plane, &fb);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+	igt_wait_for_vblank(data->drm_fd,
+		display->pipes[plane->pipe->pipe].crtc_offset);
+	igt_pipe_crc_collect_crc(data->pipe_crc, &crc_fullcolors);
+
+	/*
+	 * Draw gradient colors with LUT to remap all
+	 * values to max red/green/blue.
+	 */
+	prepare_lut_data(data, colorops);
+	set_color_pipeline(display, plane, colorops, color_pipeline);
+	if (ctm_colorop_only(colorops))
+		paint_rectangles(data, mode, fb_colors, &fb);
+	else
+		paint_gradient_rectangles(data, mode, fb_colors, &fb);
+	igt_plane_set_fb(plane, &fb);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+	igt_wait_for_vblank(data->drm_fd,
+			display->pipes[plane->pipe->pipe].crtc_offset);
+	igt_pipe_crc_collect_crc(data->pipe_crc, &crc_gamma);
+
+	/*
+	 * Verify that the CRC of the software computed output is
+	 * equal to the CRC of the gamma LUT transformation output.
+	 */
+	ret = igt_check_crc_equal(&crc_gamma, &crc_fullcolors);
+
+	clear_lut_data(colorops);
+	clear_color_pipeline(display, plane, colorops, color_pipeline);
+	igt_plane_set_fb(plane, NULL);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+
+	return ret;
+}
+
 static void
 prep_pipe(data_t *data, enum pipe p)
 {
@@ -861,6 +1008,42 @@ out:
 	test_cleanup(data);
 }
 
+static void run_plane_color_tests(data_t *data,
+				  const color_t *fb_colors,
+				  const color_t *exp_colors,
+				  kms_colorop_t *colorops[])
+{
+	enum pipe pipe;
+
+	data->color_depth = 8;
+	data->drm_format = DRM_FORMAT_XRGB8888;
+
+	for_each_pipe(&data->display, pipe) {
+		test_setup(data, pipe);
+
+		data->mode = igt_output_get_mode(data->output);
+
+		if (!pipe_output_combo_valid(data, pipe)){
+			test_cleanup(data);
+			continue;
+		}
+
+		/*
+		 * TODO: Extend the test to multiple planes?
+		 * Since, Intel planes (HDR & SDR) have different capabilities.
+		 */
+		if (!igt_plane_has_prop(data->primary, IGT_PLANE_COLOR_PIPELINE))
+			continue;
+
+		igt_dynamic_f("pipe-%s-%s",
+			      kmstest_pipe_name(pipe),
+			      igt_output_name(data->output))
+			igt_assert(test_plane_colorops(data, fb_colors, exp_colors, colorops));
+	}
+
+	test_cleanup(data);
+}
+
 static void
 run_deep_color_tests_for_pipe(data_t *data, enum pipe p)
 {
@@ -1151,13 +1334,91 @@ run_tests_for_pipe(data_t *data)
 		}
 	}
 
-	igt_fixture
-		igt_require(data->display.is_atomic);
+	igt_subtest_group {
+		static const color_t colors_red_to_blue[] = {
+			{ 0.0, 0.0, 1.0 },
+			{ 0.0, 1.0, 0.0 },
+			{ 0.0, 0.0, 1.0 },
+		};
+		const struct drm_color_ctm ctm_red_to_blue = { {
+			0.0, 0.0, 0.0,
+			0.0, 1.0, 0.0,
+			1.0, 0.0, 1.0
+		} };
+		kms_colorop_t lut1d_linear = {
+			.type = KMS_COLOROP_CUSTOM_LUT1D,
+			.name = "Pre/Post CSC GAMMA (linear LUT)",
+			.custom_lut1d_info = {
+				.lut_type = KMS_COLOROP_CUSTOM_LUT1D_LINEAR,
+			},
+		};
+		kms_colorop_t lut1d_max = {
+			.type = KMS_COLOROP_CUSTOM_LUT1D,
+			.name = "Pre/Post CSC GAMMA (max LUT)",
+			.custom_lut1d_info = {
+				.lut_type = KMS_COLOROP_CUSTOM_LUT1D_MAX,
+			},
+		};
+		kms_colorop_t ctm_3x3 = {
+			.type = KMS_COLOROP_CTM_3X3,
+			.name = "CTM 3X3 (red to blue)",
+			.matrix_3x3 = &ctm_red_to_blue,
+		};
+		struct {
+			const char *name;
+			const color_t *fb_colors;
+			const color_t *exp_colors;
+			kms_colorop_t *colorops[MAX_COLOROPS];
+		} plane_colorops_tests[] = {
+			{ .name = "lut1d",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_rgb,
+			  .colorops = { &lut1d_max, NULL },
+			},
+			{ .name = "ctm3x3",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_red_to_blue,
+			  .colorops = { &ctm_3x3, NULL },
+			},
+			{ .name = "lut1d-ctm3x3",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_red_to_blue,
+			  .colorops = { &lut1d_max, &ctm_3x3, NULL },
+			},
+			{ .name = "ctm3x3-lut1d",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_red_to_blue,
+			  .colorops = { &ctm_3x3, &lut1d_max, NULL },
+			},
+			{ .name = "lut1d-lut1d",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_rgb,
+			  .colorops = { &lut1d_linear, &lut1d_max, NULL },
+			},
+			{ .name = "lut1d-ctm3x3-lut1d",
+			  .fb_colors = colors_rgb,
+			  .exp_colors = colors_red_to_blue,
+			  .colorops = { &lut1d_linear, &ctm_3x3, &lut1d_max, NULL },
+			},
+		};
 
-	igt_describe("Verify that deep color works correctly");
-	igt_subtest_with_dynamic("deep-color") {
-		for_each_pipe(&data->display, pipe) {
-			run_deep_color_tests_for_pipe(data, pipe);
+		igt_fixture
+			igt_require(data->display.is_atomic);
+
+		for (i = 0; i < ARRAY_SIZE(plane_colorops_tests); i++) {
+			igt_describe_f("Test plane color pipeline with colorops: %s", plane_colorops_tests[i].name);
+			igt_subtest_with_dynamic_f("plane-%s", plane_colorops_tests[i].name)
+				run_plane_color_tests(data,
+						      plane_colorops_tests[i].fb_colors,
+						      plane_colorops_tests[i].exp_colors,
+						      plane_colorops_tests[i].colorops);
+		}
+
+		igt_describe("Verify that deep color works correctly");
+		igt_subtest_with_dynamic("deep-color") {
+			for_each_pipe(&data->display, pipe) {
+				run_deep_color_tests_for_pipe(data, pipe);
+			}
 		}
 	}
 }
Signature · 1 line
2.43.0
#23 lore raw

✓ CI.xeBAT: success for IGT tests for the KMS Color Pipeline API (rev4)

In reply to Bhanuprakash Modem
== Series Details ==

== Series Details ==

Series: IGT tests for the KMS Color Pipeline API (rev4)
URL : https://patchwork.freedesktop.org/series/123448/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7711_BAT -> XEIGTPW_10670_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (4 -> 4)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Possible fixes ####

* igt@xe_exec_threads@threads-mixed-shared-vm-basic:
- bat-pvc-2: [DMESG-WARN][1] -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7711/bat-pvc-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10670/bat-pvc-2/igt@[email protected]

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

* IGT: IGT_7711 -> IGTPW_10670
* Linux: xe-769-7c8e9135509f2e438e11a4af17387a204ab59884 -> xe-775-e3e6421a490e14b441f0ace4fe3cf45f70aa5c11

IGTPW_10670: 10670
IGT_7711: 7711
xe-769-7c8e9135509f2e438e11a4af17387a204ab59884: 7c8e9135509f2e438e11a4af17387a204ab59884 xe-775-e3e6421a490e14b441f0ace4fe3cf45f70aa5c11: e3e6421a490e14b441f0ace4fe3cf45f70aa5c11

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10670/index.html

#24 lore raw

✓ Fi.CI.BAT: success for IGT tests for the KMS Color Pipeline API (rev4)

In reply to Bhanuprakash Modem
== Series Details ==

== Series Details ==

Series: IGT tests for the KMS Color Pipeline API (rev4)
URL : https://patchwork.freedesktop.org/series/123448/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_14268 -> IGTPW_10670
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (38 -> 36)
------------------------------

Missing (2): fi-snb-2520m fi-bsw-n3050

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-cfl-8109u: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/fi-cfl-8109u/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-adlm-1: NOTRUN -> [SKIP][2] ([i915#4613]) +3 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- fi-cfl-8109u: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/fi-cfl-8109u/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-adlm-1: NOTRUN -> [SKIP][4] ([i915#3282])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@gem_tiled_pread_basic.html

* igt@i915_pm_rps@basic-api:
- bat-adlm-1: NOTRUN -> [SKIP][5] ([i915#6621])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- bat-adlm-1: NOTRUN -> [SKIP][6] ([i915#9875] / [i915#9900]) +16 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- bat-adlm-1: NOTRUN -> [SKIP][7] ([i915#3637]) +3 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-adlm-1: NOTRUN -> [SKIP][8] ([fdo#109285])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- bat-adlm-1: NOTRUN -> [SKIP][9] ([i915#1849] / [i915#4342])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_pm_backlight@basic-brightness:
- fi-cfl-8109u: NOTRUN -> [SKIP][10] ([fdo#109271]) +7 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/fi-cfl-8109u/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][11] ([i915#5354])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-adlm-1: NOTRUN -> [SKIP][12] ([i915#3555])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- bat-adlm-1: NOTRUN -> [SKIP][13] ([i915#3708] / [i915#9900])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-adlm-1: NOTRUN -> [SKIP][14] ([i915#3708]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_parallel@engines@fds:
- bat-adlm-1: [INCOMPLETE][15] ([i915#10264]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/bat-adlm-1/igt@gem_exec_parallel@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/bat-adlm-1/igt@gem_exec_parallel@[email protected]

{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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#10194]: https://gitlab.freedesktop.org/drm/intel/issues/10194
[i915#10264]: https://gitlab.freedesktop.org/drm/intel/issues/10264
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4342]: https://gitlab.freedesktop.org/drm/intel/issues/4342
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#9673]: https://gitlab.freedesktop.org/drm/intel/issues/9673
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9792]: https://gitlab.freedesktop.org/drm/intel/issues/9792
[i915#9875]: https://gitlab.freedesktop.org/drm/intel/issues/9875
[i915#9900]: https://gitlab.freedesktop.org/drm/intel/issues/9900

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

* CI: CI-20190529 -> None
* IGT: IGT_7711 -> IGTPW_10670

CI-20190529: 20190529
CI_DRM_14268: e3e6421a490e14b441f0ace4fe3cf45f70aa5c11 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10670: 10670
IGT_7711: 7711

Testlist changes
----------------

+igt@kms_colorop@plane-ctm_3x4_50_desat
+igt@kms_colorop@plane-ctm_3x4_bt709_dec
+igt@kms_colorop@plane-ctm_3x4_bt709_dec_enc
+igt@kms_colorop@plane-ctm_3x4_bt709_enc
+igt@kms_colorop@plane-ctm_3x4_bt709_enc_dec
+igt@kms_colorop@plane-ctm_3x4_overdrive
+igt@kms_colorop@plane-ctm_3x4_oversaturate
+igt@kms_colorop@plane-srgb_eotf
+igt@kms_colorop@plane-srgb_eotf-srgb_inv_eotf
+igt@kms_colorop@plane-srgb_inv_eotf
+igt@kms_color@plane-ctm3x3
+igt@kms_color@plane-ctm3x3-lut1d
+igt@kms_color@plane-lut1d
+igt@kms_color@plane-lut1d-ctm3x3
+igt@kms_color@plane-lut1d-ctm3x3-lut1d
+igt@kms_color@plane-lut1d-lut1d
+igt@kms_properties@colorop-properties-atomic
+igt@kms_properties@colorop-properties-legacy

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/index.html

#25 lore raw

✗ Fi.CI.IGT: failure for IGT tests for the KMS Color Pipeline API (rev4)

In reply to Bhanuprakash Modem
== Series Details ==

== Series Details ==

Series: IGT tests for the KMS Color Pipeline API (rev4)
URL : https://patchwork.freedesktop.org/series/123448/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14268_full -> IGTPW_10670_full
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10670_full, please notify your bug team ([email protected]) 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_10670/index.html

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

No changes in participating hosts

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@kms_color@plane-ctm3x3-lut1d} (NEW):
- shard-mtlp: NOTRUN -> [SKIP][1] +15 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-8/igt@[email protected]

* {igt@kms_color@plane-lut1d-lut1d} (NEW):
- shard-dg2: NOTRUN -> [SKIP][2] +12 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* {igt@kms_colorop@plane-ctm_3x4_bt709_dec_enc} (NEW):
- shard-rkl: NOTRUN -> [SKIP][3] +16 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@kms_colorop@plane-ctm_3x4_bt709_dec_enc.html
- shard-dg1: NOTRUN -> [SKIP][4] +16 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-15/igt@kms_colorop@plane-ctm_3x4_bt709_dec_enc.html

* {igt@kms_colorop@plane-srgb_inv_eotf} (NEW):
- shard-tglu: NOTRUN -> [SKIP][5] +16 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@kms_colorop@plane-srgb_inv_eotf.html

* igt@kms_fb_coherency@memset-crc@mmap-gtt:
- shard-rkl: [PASS][6] -> [CRASH][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-1/igt@kms_fb_coherency@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@kms_fb_coherency@[email protected]
- shard-snb: [PASS][8] -> [CRASH][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb6/igt@kms_fb_coherency@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb2/igt@kms_fb_coherency@[email protected]
- shard-tglu: [PASS][10] -> [CRASH][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-3/igt@kms_fb_coherency@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-8/igt@kms_fb_coherency@[email protected]
- shard-glk: [PASS][12] -> [CRASH][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-glk9/igt@kms_fb_coherency@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk2/igt@kms_fb_coherency@[email protected]

* igt@kms_fb_coherency@memset-crc@mmap-offset-fixed:
- shard-dg1: [PASS][14] -> [CRASH][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg1-15/igt@kms_fb_coherency@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-15/igt@kms_fb_coherency@[email protected]
- shard-dg2: [PASS][16] -> [CRASH][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg2-10/igt@kms_fb_coherency@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@kms_fb_coherency@[email protected]

* igt@kms_fb_coherency@memset-crc@mmap-offset-wc:
- shard-mtlp: NOTRUN -> [CRASH][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-8/igt@kms_fb_coherency@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_14268_full and IGTPW_10670_full:

### New IGT tests (19) ###

* igt@kms_color@plane-ctm3x3:
- Statuses : 7 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_color@plane-ctm3x3-lut1d:
- Statuses : 7 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_color@plane-lut1d:
- Statuses : 6 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_color@plane-lut1d-ctm3x3:
- Statuses : 6 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_color@plane-lut1d-ctm3x3-lut1d:
- Statuses : 7 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_color@plane-lut1d-lut1d:
- Statuses : 7 skip(s)
- Exec time: [0.00, 0.01] s

* igt@kms_colorop@plane-ctm_3x4_50_desat:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_bt709_dec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_bt709_dec_enc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_bt709_enc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_bt709_enc_dec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_overdrive:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-ctm_3x4_oversaturate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-srgb_eotf:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-srgb_eotf-srgb_inv_eotf:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_colorop@plane-srgb_inv_eotf:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_cursor_edge_walk@64x64-top-bottom@pipe-a-vga-1:
- Statuses : 1 pass(s)
- Exec time: [3.54] s

* igt@kms_properties@colorop-properties-atomic:
- Statuses : 5 pass(s)
- Exec time: [0.31, 3.87] s

* igt@kms_properties@colorop-properties-legacy:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@api_intel_bb@blit-reloc-purge-cache:
- shard-dg1: NOTRUN -> [SKIP][19] ([i915#8411])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][20] ([i915#8411]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@debugfs_test@basic-hwmon:
- shard-mtlp: NOTRUN -> [SKIP][21] ([i915#9318])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-5/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][22] ([i915#9318])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-7/igt@[email protected]

* igt@drm_fdinfo@busy-check-all@ccs3:
- shard-dg2: NOTRUN -> [SKIP][23] ([i915#8414]) +31 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@drm_fdinfo@[email protected]

* igt@fbdev@pan:
- shard-snb: [PASS][24] -> [FAIL][25] ([i915#4435])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb2/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb7/igt@[email protected]

* igt@gem_ccs@suspend-resume:
- shard-rkl: NOTRUN -> [SKIP][26] ([i915#9323])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@[email protected]

* igt@gem_create@create-ext-cpu-access-sanity-check:
- shard-rkl: NOTRUN -> [SKIP][27] ([i915#6335])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]

* igt@gem_ctx_persistence@hang:
- shard-dg2: NOTRUN -> [SKIP][28] ([i915#8555]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@gem_ctx_sseu@mmap-args:
- shard-tglu: NOTRUN -> [SKIP][29] ([i915#280])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]

* igt@gem_eio@reset-stress:
- shard-dg1: [PASS][30] -> [FAIL][31] ([i915#5784])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg1-15/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@gem_exec_balancer@bonded-semaphore:
- shard-dg1: NOTRUN -> [SKIP][32] ([i915#4812])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@gem_exec_balancer@bonded-sync:
- shard-dg2: NOTRUN -> [SKIP][33] ([i915#4771]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@gem_exec_balancer@hog:
- shard-dg2: NOTRUN -> [SKIP][34] ([i915#4812])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@gem_exec_fair@basic-none-rrul:
- shard-dg2: NOTRUN -> [SKIP][35] ([i915#3539] / [i915#4852]) +3 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-rkl: [PASS][36] -> [FAIL][37] ([i915#2842])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-4/igt@gem_exec_fair@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][38] -> [FAIL][39] ([i915#2842]) +2 other tests fail
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-glk8/igt@gem_exec_fair@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk9/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-sync:
- shard-dg1: NOTRUN -> [SKIP][40] ([i915#3539])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-tglu: [PASS][41] -> [FAIL][42] ([i915#2842])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-6/igt@gem_exec_fair@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_flush@basic-wb-rw-before-default:
- shard-dg1: NOTRUN -> [SKIP][43] ([i915#3539] / [i915#4852]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@[email protected]

* igt@gem_exec_params@secure-non-master:
- shard-rkl: NOTRUN -> [SKIP][44] ([fdo#112283])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][45] ([fdo#112283])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@[email protected]

* igt@gem_exec_params@secure-non-root:
- shard-dg2: NOTRUN -> [SKIP][46] ([fdo#112283]) +1 other test skip
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@gem_exec_reloc@basic-concurrent0:
- shard-dg1: NOTRUN -> [SKIP][47] ([i915#3281]) +2 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@[email protected]

* igt@gem_exec_reloc@basic-gtt-read-active:
- shard-dg2: NOTRUN -> [SKIP][48] ([i915#3281]) +14 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_exec_reloc@basic-scanout:
- shard-rkl: NOTRUN -> [SKIP][49] ([i915#3281]) +3 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@[email protected]

* igt@gem_exec_reloc@basic-write-read-active:
- shard-mtlp: NOTRUN -> [SKIP][50] ([i915#3281])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@gem_exec_schedule@reorder-wide:
- shard-dg2: NOTRUN -> [SKIP][51] ([i915#4537] / [i915#4812]) +2 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@gem_fenced_exec_thrash@2-spare-fences:
- shard-mtlp: NOTRUN -> [SKIP][52] ([i915#4860])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@gem_fenced_exec_thrash@no-spare-fences-interruptible:
- shard-dg2: NOTRUN -> [SKIP][53] ([i915#4860]) +2 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@gem_lmem_swapping@massive:
- shard-rkl: NOTRUN -> [SKIP][54] ([i915#4613])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-verify-ccs:
- shard-tglu: NOTRUN -> [SKIP][55] ([i915#4613])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]
- shard-mtlp: NOTRUN -> [SKIP][56] ([i915#4613])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@gem_lmem_swapping@random:
- shard-glk: NOTRUN -> [SKIP][57] ([fdo#109271] / [i915#4613]) +2 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk6/igt@[email protected]

* igt@gem_media_vme:
- shard-dg2: NOTRUN -> [SKIP][58] ([i915#284])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@gem_media_vme.html

* igt@gem_mmap_gtt@basic:
- shard-mtlp: NOTRUN -> [SKIP][59] ([i915#4077]) +3 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-big-copy-odd:
- shard-dg2: NOTRUN -> [SKIP][60] ([i915#4077]) +10 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_mmap_wc@set-cache-level:
- shard-dg2: NOTRUN -> [SKIP][61] ([i915#4083]) +5 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@gem_mmap_wc@write:
- shard-dg1: NOTRUN -> [SKIP][62] ([i915#4083]) +1 other test skip
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@gem_mmap_wc@write-prefaulted:
- shard-mtlp: NOTRUN -> [SKIP][63] ([i915#4083])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-2/igt@[email protected]

* igt@gem_pread@snoop:
- shard-dg2: NOTRUN -> [SKIP][64] ([i915#3282]) +6 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_pwrite_snooped:
- shard-mtlp: NOTRUN -> [SKIP][65] ([i915#3282])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@gem_pwrite_snooped.html

* igt@gem_pxp@create-protected-buffer:
- shard-rkl: NOTRUN -> [SKIP][66] ([i915#4270]) +2 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@gem_pxp@dmabuf-shared-protected-dst-is-context-refcounted:
- shard-dg2: NOTRUN -> [SKIP][67] ([i915#4270]) +3 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_pxp@verify-pxp-stale-buf-execution:
- shard-mtlp: NOTRUN -> [SKIP][68] ([i915#4270])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-tglu: NOTRUN -> [SKIP][69] ([i915#4270]) +2 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]

* igt@gem_readwrite@beyond-eob:
- shard-rkl: NOTRUN -> [SKIP][70] ([i915#3282]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]

* igt@gem_render_copy@y-tiled-mc-ccs-to-y-tiled-ccs:
- shard-mtlp: NOTRUN -> [SKIP][71] ([i915#8428])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@[email protected]

* igt@gem_render_copy@y-tiled-to-vebox-yf-tiled:
- shard-dg2: NOTRUN -> [SKIP][72] ([i915#5190]) +9 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@gem_set_tiling_vs_blt@tiled-to-tiled:
- shard-rkl: NOTRUN -> [SKIP][73] ([i915#8411])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]

* igt@gem_set_tiling_vs_blt@tiled-to-untiled:
- shard-dg2: NOTRUN -> [SKIP][74] ([i915#4079]) +2 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_userptr_blits@coherency-unsync:
- shard-dg1: NOTRUN -> [SKIP][75] ([i915#3297])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-tglu: NOTRUN -> [SKIP][76] ([i915#3323])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-8/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#3323])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk1/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-unsync:
- shard-mtlp: NOTRUN -> [SKIP][78] ([i915#3297])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@[email protected]

* igt@gem_userptr_blits@sd-probe:
- shard-dg1: NOTRUN -> [SKIP][79] ([i915#3297] / [i915#4958])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-15/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-after-close:
- shard-rkl: NOTRUN -> [SKIP][80] ([i915#3297]) +2 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-dg2: NOTRUN -> [SKIP][81] ([i915#3297])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gen3_render_tiledx_blits:
- shard-dg2: NOTRUN -> [SKIP][82] ([fdo#109289]) +5 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@gen3_render_tiledx_blits.html

* igt@gen7_exec_parse@chained-batch:
- shard-rkl: NOTRUN -> [SKIP][83] ([fdo#109289]) +2 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][84] ([fdo#109289]) +1 other test skip
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]

* igt@gen7_exec_parse@load-register-reg:
- shard-mtlp: NOTRUN -> [SKIP][85] ([fdo#109289])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-5/igt@[email protected]

* igt@gen9_exec_parse@bb-large:
- shard-rkl: NOTRUN -> [SKIP][86] ([i915#2527])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@gen9_exec_parse@bb-secure:
- shard-dg1: NOTRUN -> [SKIP][87] ([i915#2527])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-15/igt@[email protected]

* igt@gen9_exec_parse@bb-start-far:
- shard-dg2: NOTRUN -> [SKIP][88] ([i915#2856]) +5 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@i915_module_load@load:
- shard-glk: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#6227])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk6/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][90] ([i915#6227])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@[email protected]

* igt@i915_module_load@reload-with-fault-injection:
- shard-rkl: [PASS][91] -> [INCOMPLETE][92] ([i915#10137] / [i915#9820] / [i915#9849])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-1/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@[email protected]
- shard-mtlp: NOTRUN -> [ABORT][93] ([i915#10131] / [i915#9820])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-4/igt@[email protected]

* igt@i915_pm_freq_api@freq-reset-multiple:
- shard-rkl: NOTRUN -> [SKIP][94] ([i915#8399])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@[email protected]

* igt@i915_pm_rpm@system-suspend-devices:
- shard-dg2: [PASS][95] -> [INCOMPLETE][96] ([i915#9142])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg2-10/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@i915_pm_rps@min-max-config-loaded:
- shard-dg2: NOTRUN -> [SKIP][97] ([i915#6621])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@i915_pm_rps@thresholds-park@gt0:
- shard-dg2: NOTRUN -> [SKIP][98] ([i915#8925])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@i915_pm_rps@[email protected]

* igt@i915_query@query-topology-known-pci-ids:
- shard-mtlp: NOTRUN -> [SKIP][99] ([fdo#109303])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@[email protected]

* igt@i915_query@query-topology-unsupported:
- shard-dg2: NOTRUN -> [SKIP][100] ([fdo#109302])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@i915_selftest@mock@memory_region:
- shard-glk: NOTRUN -> [DMESG-WARN][101] ([i915#9311])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk7/igt@i915_selftest@mock@memory_region.html

* igt@i915_suspend@basic-s3-without-i915:
- shard-rkl: [PASS][102] -> [FAIL][103] ([i915#10031])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-4/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]

* igt@kms_addfb_basic@basic-y-tiled-legacy:
- shard-dg2: NOTRUN -> [SKIP][104] ([i915#4215] / [i915#5190])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-b-hdmi-a-2-y-rc-ccs-cc:
- shard-rkl: NOTRUN -> [SKIP][105] ([i915#8709]) +3 other tests skip
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-b-hdmi-a-2-y-rc-ccs-cc.html

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-2-4-mc-ccs:
- shard-dg2: NOTRUN -> [SKIP][106] ([i915#8709]) +11 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@kms_async_flips@[email protected]

* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-dg1: NOTRUN -> [SKIP][107] ([i915#1769] / [i915#3555])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html

* igt@kms_big_fb@4-tiled-16bpp-rotate-90:
- shard-dg2: NOTRUN -> [SKIP][108] ([fdo#111614]) +1 other test skip
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@kms_big_fb@4-tiled-8bpp-rotate-90:
- shard-rkl: NOTRUN -> [SKIP][109] ([i915#5286]) +3 other tests skip
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-tglu: NOTRUN -> [SKIP][110] ([fdo#111615] / [i915#5286]) +3 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-tglu: NOTRUN -> [SKIP][111] ([fdo#111614])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-dg1: NOTRUN -> [SKIP][112] ([i915#3638]) +1 other test skip
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@[email protected]

* igt@kms_big_fb@x-tiled-64bpp-rotate-90:
- shard-rkl: NOTRUN -> [SKIP][113] ([fdo#111614] / [i915#3638])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@kms_big_fb@y-tiled-addfb:
- shard-mtlp: NOTRUN -> [SKIP][114] ([i915#6187])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-5/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180:
- shard-dg2: NOTRUN -> [SKIP][115] ([i915#4538] / [i915#5190]) +15 other tests skip
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-rkl: NOTRUN -> [SKIP][116] ([fdo#110723]) +4 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-dg1: NOTRUN -> [SKIP][117] ([i915#4538])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-tglu: NOTRUN -> [SKIP][118] ([fdo#111615]) +2 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]
- shard-mtlp: NOTRUN -> [SKIP][119] ([fdo#111615]) +1 other test skip
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-2/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-pixel-format-yf-tiled-ccs:
- shard-tglu: NOTRUN -> [SKIP][120] ([i915#5354] / [i915#6095]) +23 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-5/igt@[email protected]

* igt@kms_ccs@pipe-b-bad-rotation-90-yf-tiled-ccs:
- shard-rkl: NOTRUN -> [SKIP][121] ([i915#5354] / [i915#6095]) +16 other tests skip
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-4-tiled-dg2-rc-ccs:
- shard-dg1: NOTRUN -> [SKIP][122] ([i915#5354] / [i915#6095]) +12 other tests skip
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-13/igt@[email protected]

* igt@kms_ccs@pipe-c-bad-pixel-format-y-tiled-gen12-rc-ccs:
- shard-rkl: NOTRUN -> [SKIP][123] ([i915#5354]) +18 other tests skip
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@[email protected]

* igt@kms_ccs@pipe-d-ccs-on-another-bo-yf-tiled-ccs:
- shard-mtlp: NOTRUN -> [SKIP][124] ([i915#5354] / [i915#6095]) +9 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-8/igt@[email protected]

* igt@kms_ccs@pipe-d-missing-ccs-buffer-4-tiled-mtl-mc-ccs:
- shard-dg2: NOTRUN -> [SKIP][125] ([i915#5354]) +110 other tests skip
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_cdclk@plane-scaling@pipe-b-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][126] ([i915#4087]) +3 other tests skip
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@kms_cdclk@[email protected]

* igt@kms_chamelium_color@ctm-blue-to-red:
- shard-rkl: NOTRUN -> [SKIP][127] ([fdo#111827])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]

* igt@kms_chamelium_color@ctm-limited-range:
- shard-tglu: NOTRUN -> [SKIP][128] ([fdo#111827]) +1 other test skip
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-9/igt@[email protected]

* igt@kms_chamelium_color@ctm-negative:
- shard-dg2: NOTRUN -> [SKIP][129] ([fdo#111827]) +1 other test skip
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_chamelium_edid@dp-mode-timings:
- shard-dg1: NOTRUN -> [SKIP][130] ([i915#7828]) +1 other test skip
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-13/igt@[email protected]

* igt@kms_chamelium_frames@vga-frame-dump:
- shard-rkl: NOTRUN -> [SKIP][131] ([i915#7828]) +3 other tests skip
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][132] ([i915#7828]) +2 other tests skip
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-storm-disable:
- shard-mtlp: NOTRUN -> [SKIP][133] ([i915#7828]) +1 other test skip
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-5/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-after-suspend:
- shard-dg2: NOTRUN -> [SKIP][134] ([i915#7828]) +10 other tests skip
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_content_protection@content-type-change:
- shard-dg1: NOTRUN -> [SKIP][135] ([i915#9424])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-rkl: NOTRUN -> [SKIP][136] ([i915#3116])
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-dg2: NOTRUN -> [SKIP][137] ([i915#3299]) +2 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_content_protection@type1:
- shard-tglu: NOTRUN -> [SKIP][138] ([i915#6944] / [i915#7116] / [i915#7118] / [i915#9424])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@[email protected]
- shard-mtlp: NOTRUN -> [SKIP][139] ([i915#3555] / [i915#6944] / [i915#9424])
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-32x32:
- shard-mtlp: NOTRUN -> [SKIP][140] ([i915#3555] / [i915#8814])
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-max-size:
- shard-rkl: NOTRUN -> [SKIP][141] ([i915#3555]) +3 other tests skip
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-32x10:
- shard-dg1: NOTRUN -> [SKIP][142] ([i915#3555]) +1 other test skip
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-17/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-512x170:
- shard-rkl: NOTRUN -> [SKIP][143] ([i915#3359]) +1 other test skip
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][144] ([i915#3359]) +1 other test skip
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-512x170:
- shard-dg1: NOTRUN -> [SKIP][145] ([i915#3359])
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-512x170:
- shard-dg2: NOTRUN -> [SKIP][146] ([i915#3359]) +1 other test skip
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-64x21:
- shard-mtlp: NOTRUN -> [SKIP][147] ([i915#8814])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-4/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-dg2: NOTRUN -> [SKIP][148] ([fdo#109274] / [i915#5354]) +3 other tests skip
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-tglu: NOTRUN -> [SKIP][149] ([fdo#109274])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-dg2: NOTRUN -> [SKIP][150] ([fdo#109274] / [fdo#111767] / [i915#5354]) +1 other test skip
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][151] ([fdo#111767] / [fdo#111825])
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]
- shard-snb: [PASS][152] -> [SKIP][153] ([fdo#109271] / [fdo#111767]) +1 other test skip
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb7/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb2/igt@[email protected]

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
- shard-mtlp: NOTRUN -> [SKIP][154] ([i915#4213])
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-4/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-dg2: NOTRUN -> [SKIP][155] ([i915#4103] / [i915#4213]) +1 other test skip
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-2:
- shard-dg2: NOTRUN -> [SKIP][156] ([fdo#110189] / [i915#9227])
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@kms_dirtyfb@[email protected]

* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-3:
- shard-dg1: NOTRUN -> [SKIP][157] ([fdo#110189] / [i915#9723])
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-13/igt@kms_dirtyfb@[email protected]

* igt@kms_dirtyfb@psr-dirtyfb-ioctl:
- shard-dg2: NOTRUN -> [SKIP][158] ([i915#9833])
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@kms_display_modes@extended-mode-basic:
- shard-dg2: NOTRUN -> [SKIP][159] ([i915#3555]) +6 other tests skip
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_display_modes@mst-extended-mode-negative:
- shard-dg2: NOTRUN -> [SKIP][160] ([i915#8588])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][161] ([i915#8588])
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][162] ([i915#8588])
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [SKIP][163] ([i915#3804])
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@kms_dither@[email protected]

* igt@kms_feature_discovery@chamelium:
- shard-dg1: NOTRUN -> [SKIP][164] ([i915#4854])
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@[email protected]

* igt@kms_feature_discovery@display-3x:
- shard-dg2: NOTRUN -> [SKIP][165] ([i915#1839]) +1 other test skip
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_feature_discovery@dp-mst:
- shard-dg2: NOTRUN -> [SKIP][166] ([i915#9337])
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_fence_pin_leak:
- shard-dg2: NOTRUN -> [SKIP][167] ([i915#4881])
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@kms_fence_pin_leak.html

* igt@kms_flip@2x-blocking-wf_vblank:
- shard-dg1: NOTRUN -> [SKIP][168] ([fdo#111825] / [i915#9934])
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-19/igt@kms_flip@2x-blocking-wf_vblank.html

* igt@kms_flip@2x-flip-vs-blocking-wf-vblank:
- shard-dg2: NOTRUN -> [SKIP][169] ([fdo#109274] / [fdo#111767]) +1 other test skip
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible:
- shard-dg1: NOTRUN -> [SKIP][170] ([fdo#111825]) +8 other tests skip
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@kms_flip@2x-flip-vs-panning-interruptible:
- shard-dg2: NOTRUN -> [SKIP][171] ([fdo#109274]) +8 other tests skip
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@kms_flip@2x-flip-vs-suspend-interruptible:
- shard-mtlp: NOTRUN -> [SKIP][172] ([i915#3637]) +2 other tests skip
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-5/igt@[email protected]

* igt@kms_flip@2x-plain-flip:
- shard-tglu: NOTRUN -> [SKIP][173] ([fdo#109274] / [i915#3637]) +1 other test skip
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode:
- shard-rkl: NOTRUN -> [SKIP][174] ([i915#2672])
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-valid-mode:
- shard-dg2: NOTRUN -> [SKIP][175] ([i915#2672]) +6 other tests skip
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode:
- shard-dg1: NOTRUN -> [SKIP][176] ([i915#2587] / [i915#2672]) +1 other test skip
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-13/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode:
- shard-mtlp: NOTRUN -> [SKIP][177] ([i915#8810])
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-2/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-valid-mode:
- shard-tglu: NOTRUN -> [SKIP][178] ([i915#2587] / [i915#2672])
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-3/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-default-mode:
- shard-mtlp: NOTRUN -> [SKIP][179] ([i915#2672])
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-default-mode.html

* igt@kms_force_connector_basic@force-load-detect:
- shard-dg2: NOTRUN -> [SKIP][180] ([fdo#109285])
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-dg2: NOTRUN -> [SKIP][181] ([i915#8708]) +24 other tests skip
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt:
- shard-rkl: NOTRUN -> [SKIP][182] ([fdo#111767] / [fdo#111825] / [i915#1825]) +1 other test skip
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-pwrite:
- shard-snb: [PASS][183] -> [SKIP][184] ([fdo#109271]) +11 other tests skip
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-pwrite.html
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-msflip-blt:
- shard-rkl: NOTRUN -> [SKIP][185] ([fdo#111825] / [i915#1825]) +22 other tests skip
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-gtt:
- shard-dg1: NOTRUN -> [SKIP][186] ([i915#8708]) +3 other tests skip
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-cpu:
- shard-dg1: NOTRUN -> [SKIP][187] ([i915#3458]) +4 other tests skip
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-19/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-rkl: NOTRUN -> [SKIP][188] ([i915#3023]) +12 other tests skip
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-mtlp: NOTRUN -> [SKIP][189] ([i915#8708])
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-render:
- shard-dg2: NOTRUN -> [SKIP][190] ([fdo#111767] / [i915#5354]) +1 other test skip
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-blt:
- shard-snb: NOTRUN -> [SKIP][191] ([fdo#109271]) +57 other tests skip
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-blt.html
- shard-tglu: NOTRUN -> [SKIP][192] ([fdo#109280]) +12 other tests skip
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-shrfb-fliptrack-mmap-gtt:
- shard-rkl: NOTRUN -> [SKIP][193] ([fdo#111825]) +5 other tests skip
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
- shard-tglu: NOTRUN -> [SKIP][194] ([i915#5439])
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@pipe-fbc-rte:
- shard-tglu: NOTRUN -> [SKIP][195] ([i915#9766])
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-pri-indfb-multidraw:
- shard-glk: NOTRUN -> [SKIP][196] ([fdo#109271]) +156 other tests skip
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk3/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-move:
- shard-dg2: NOTRUN -> [SKIP][197] ([i915#3458]) +22 other tests skip
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-render:
- shard-mtlp: NOTRUN -> [SKIP][198] ([i915#1825]) +6 other tests skip
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-render.html

* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-gtt:
- shard-tglu: NOTRUN -> [SKIP][199] ([fdo#110189]) +4 other tests skip
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-9/igt@[email protected]

* igt@kms_hdr@bpc-switch:
- shard-dg1: NOTRUN -> [SKIP][200] ([i915#3555] / [i915#8228])
[200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-dg2: NOTRUN -> [SKIP][201] ([i915#3555] / [i915#8228]) +1 other test skip
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][202] ([i915#3555] / [i915#8228]) +1 other test skip
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@kms_panel_fitting@legacy:
- shard-dg2: NOTRUN -> [SKIP][203] ([i915#6301])
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@kms_pipe_b_c_ivb@pipe-b-dpms-off-modeset-pipe-c:
- shard-dg1: NOTRUN -> [SKIP][204] ([fdo#109289])
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-19/igt@[email protected]

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [FAIL][205] ([i915#8292])
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-3:
- shard-dg1: NOTRUN -> [FAIL][206] ([i915#8292])
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers@pipe-a-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][207] ([i915#9423]) +7 other tests skip
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-pixel-format@pipe-c-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][208] ([i915#5176]) +3 other tests skip
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-8/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][209] ([i915#9423]) +11 other tests skip
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-6/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-upscale-20x20-with-rotation@pipe-d-hdmi-a-1:
- shard-tglu: NOTRUN -> [SKIP][210] ([i915#9423]) +3 other tests skip
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-8/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-upscale-factor-0-25-with-rotation@pipe-a-hdmi-a-3:
- shard-dg1: NOTRUN -> [SKIP][211] ([i915#9423]) +15 other tests skip
[211]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-d-hdmi-a-2:
- shard-dg2: NOTRUN -> [SKIP][212] ([i915#5235] / [i915#9423] / [i915#9728]) +3 other tests skip
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][213] ([i915#5235] / [i915#9423]) +7 other tests skip
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-hdmi-a-3.html

* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][214] ([i915#5235]) +7 other tests skip
[214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-3:
- shard-dg1: NOTRUN -> [SKIP][215] ([i915#5235]) +11 other tests skip
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-13/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-3.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-a-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][216] ([i915#5235]) +2 other tests skip
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-a-edp-1.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-d-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][217] ([i915#3555] / [i915#5235])
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-d-edp-1.html

* igt@kms_pm_dc@dc3co-vpb-simulation:
- shard-rkl: NOTRUN -> [SKIP][218] ([i915#9685])
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

* igt@kms_pm_lpsp@kms-lpsp:
- shard-dg2: NOTRUN -> [SKIP][219] ([i915#9340])
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@kms_pm_rpm@dpms-lpsp:
- shard-dg2: NOTRUN -> [SKIP][220] ([i915#9519])
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@kms_pm_rpm@fences:
- shard-dg1: NOTRUN -> [SKIP][221] ([i915#4077]) +3 other tests skip
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@kms_pm_rpm@modeset-lpsp:
- shard-rkl: [PASS][222] -> [SKIP][223] ([i915#9519]) +2 other tests skip
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-7/igt@[email protected]
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@[email protected]

* igt@kms_pm_rpm@pc8-residency:
- shard-dg2: NOTRUN -> [SKIP][224] ([fdo#109293] / [fdo#109506])
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_prime@basic-crc-hybrid:
- shard-dg2: NOTRUN -> [SKIP][225] ([i915#6524] / [i915#6805])
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-dg1: NOTRUN -> [SKIP][226] ([i915#9683])
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-16/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-dg2: NOTRUN -> [SKIP][227] ([i915#9683]) +1 other test skip
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-rkl: NOTRUN -> [SKIP][228] ([fdo#111068] / [i915#9683])
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@[email protected]

* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-dg2: NOTRUN -> [SKIP][229] ([i915#9685])
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@[email protected]

* igt@kms_rotation_crc@primary-rotation-270:
- shard-dg2: NOTRUN -> [SKIP][230] ([i915#4235]) +2 other tests skip
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
- shard-dg2: NOTRUN -> [SKIP][231] ([i915#4235] / [i915#5190])
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-rkl: NOTRUN -> [SKIP][232] ([fdo#111615] / [i915#5289])
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-1/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- shard-mtlp: NOTRUN -> [SKIP][233] ([i915#3555] / [i915#8809])
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-1/igt@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-a-hdmi-a-4:
- shard-dg1: [PASS][234] -> [FAIL][235] ([i915#9196])
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg1-16/igt@kms_universal_plane@[email protected]
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-15/igt@kms_universal_plane@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-1:
- shard-snb: [PASS][236] -> [FAIL][237] ([i915#9196])
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb1/igt@kms_universal_plane@[email protected]
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb4/igt@kms_universal_plane@[email protected]
- shard-dg2: NOTRUN -> [FAIL][238] ([i915#9196])
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@kms_universal_plane@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-d-edp-1:
- shard-mtlp: [PASS][239] -> [FAIL][240] ([i915#9196])
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-mtlp-5/igt@kms_universal_plane@[email protected]
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@kms_universal_plane@[email protected]

* igt@kms_vrr@flipline:
- shard-tglu: NOTRUN -> [SKIP][241] ([i915#3555])
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]

* igt@kms_writeback@writeback-fb-id-xrgb2101010:
- shard-dg2: NOTRUN -> [SKIP][242] ([i915#2437] / [i915#9412])
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@kms_writeback@writeback-pixel-formats:
- shard-glk: NOTRUN -> [SKIP][243] ([fdo#109271] / [i915#2437])
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk6/igt@[email protected]

* igt@perf@global-sseu-config-invalid:
- shard-dg2: NOTRUN -> [SKIP][244] ([i915#7387])
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@perf@mi-rpc:
- shard-dg2: NOTRUN -> [SKIP][245] ([i915#2434])
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@perf_pmu@cpu-hotplug:
- shard-dg1: NOTRUN -> [SKIP][246] ([i915#8850])
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-12/igt@[email protected]

* igt@perf_pmu@frequency@gt0:
- shard-dg2: NOTRUN -> [FAIL][247] ([i915#6806])
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@perf_pmu@[email protected]

* igt@perf_pmu@module-unload:
- shard-dg2: NOTRUN -> [FAIL][248] ([i915#5793])
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-1/igt@[email protected]

* igt@perf_pmu@rc6-all-gts:
- shard-tglu: NOTRUN -> [SKIP][249] ([i915#8516])
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@[email protected]

* igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem:
- shard-dg2: NOTRUN -> [INCOMPLETE][250] ([i915#5493])
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html

* igt@prime_udl:
- shard-tglu: NOTRUN -> [SKIP][251] ([fdo#109291])
[251]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-2/igt@prime_udl.html
- shard-mtlp: NOTRUN -> [SKIP][252] ([fdo#109291])
[252]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-2/igt@prime_udl.html

* igt@prime_vgem@basic-write:
- shard-dg2: NOTRUN -> [SKIP][253] ([i915#3291] / [i915#3708]) +1 other test skip
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-5/igt@[email protected]

* igt@sriov_basic@bind-unbind-vf:
- shard-dg2: NOTRUN -> [SKIP][254] ([i915#9917]) +1 other test skip
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-2/igt@[email protected]

* igt@syncobj_timeline@invalid-wait-zero-handles:
- shard-glk: NOTRUN -> [FAIL][255] ([i915#9781])
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk7/igt@[email protected]

* igt@tools_test@sysfs_l3_parity:
- shard-rkl: NOTRUN -> [SKIP][256] ([fdo#109307])
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@tools_test@sysfs_l3_parity.html
- shard-tglu: NOTRUN -> [SKIP][257] ([fdo#109307])
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-9/igt@tools_test@sysfs_l3_parity.html
- shard-dg2: NOTRUN -> [SKIP][258] ([i915#4818])
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@tools_test@sysfs_l3_parity.html

* igt@v3d/v3d_create_bo@create-bo-zeroed:
- shard-tglu: NOTRUN -> [SKIP][259] ([fdo#109315] / [i915#2575]) +4 other tests skip
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-7/igt@v3d/[email protected]
- shard-mtlp: NOTRUN -> [SKIP][260] ([i915#2575]) +3 other tests skip
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@v3d/[email protected]

* igt@v3d/v3d_submit_cl@bad-multisync-in-sync:
- shard-rkl: NOTRUN -> [SKIP][261] ([fdo#109315]) +2 other tests skip
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-3/igt@v3d/[email protected]

* igt@v3d/v3d_submit_cl@bad-perfmon:
- shard-dg2: NOTRUN -> [SKIP][262] ([i915#2575]) +14 other tests skip
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-6/igt@v3d/[email protected]

* igt@v3d/v3d_submit_cl@job-perfmon:
- shard-dg1: NOTRUN -> [SKIP][263] ([i915#2575]) +1 other test skip
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-17/igt@v3d/[email protected]

* igt@vc4/vc4_perfmon@destroy-valid-perfmon:
- shard-rkl: NOTRUN -> [SKIP][264] ([i915#7711]) +4 other tests skip
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@vc4/[email protected]

* igt@vc4/vc4_perfmon@get-values-invalid-perfmon:
- shard-dg2: NOTRUN -> [SKIP][265] ([i915#7711]) +11 other tests skip
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@vc4/[email protected]

* igt@vc4/vc4_tiling@get-bad-handle:
- shard-dg1: NOTRUN -> [SKIP][266] ([i915#7711])
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-18/igt@vc4/[email protected]

* igt@vc4/vc4_wait_seqno@bad-seqno-0ns:
- shard-tglu: NOTRUN -> [SKIP][267] ([i915#2575]) +3 other tests skip
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@vc4/[email protected]
- shard-mtlp: NOTRUN -> [SKIP][268] ([i915#7711]) +1 other test skip
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@vc4/[email protected]

#### Possible fixes ####

* igt@gem_eio@hibernate:
- shard-tglu: [ABORT][269] ([i915#10030] / [i915#7975] / [i915#8213]) -> [PASS][270]
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-10/igt@[email protected]
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-5/igt@[email protected]

* igt@gem_eio@kms:
- shard-dg2: [FAIL][271] ([i915#5784]) -> [PASS][272]
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg2-6/igt@[email protected]
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg2-10/igt@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-rkl: [FAIL][273] ([i915#2842]) -> [PASS][274]
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-5/igt@gem_exec_fair@[email protected]
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-2/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@smem-oom@lmem0:
- shard-dg1: [TIMEOUT][275] ([i915#5493]) -> [PASS][276]
[275]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg1-19/igt@gem_lmem_swapping@[email protected]
[276]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-19/igt@gem_lmem_swapping@[email protected]

* igt@i915_module_load@reload-with-fault-injection:
- shard-tglu: [INCOMPLETE][277] ([i915#10137] / [i915#9200]) -> [PASS][278]
[277]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-3/igt@[email protected]
[278]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-4/igt@[email protected]
- shard-glk: [INCOMPLETE][279] ([i915#10137] / [i915#9200] / [i915#9849]) -> [PASS][280]
[279]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-glk9/igt@[email protected]
[280]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk6/igt@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- shard-snb: [INCOMPLETE][281] ([i915#10044]) -> [PASS][282]
[281]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb5/igt@[email protected]
[282]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb2/igt@[email protected]

* igt@kms_big_fb@4-tiled-64bpp-rotate-180:
- shard-mtlp: [FAIL][283] ([i915#5138]) -> [PASS][284]
[283]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-mtlp-4/igt@[email protected]
[284]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-3/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-tglu: [FAIL][285] ([i915#3743]) -> [PASS][286] +1 other test pass
[285]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-9/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
[286]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-3/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

* igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
- shard-snb: [SKIP][287] ([fdo#109271] / [fdo#111767]) -> [PASS][288] +1 other test pass
[287]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb4/igt@[email protected]
[288]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb7/igt@[email protected]

* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-hdmi-a1:
- shard-glk: [INCOMPLETE][289] -> [PASS][290]
[289]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-glk6/igt@kms_flip@[email protected]
[290]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-glk2/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt:
- shard-snb: [SKIP][291] ([fdo#109271]) -> [PASS][292] +6 other tests pass
[291]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt.html
[292]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-gtt.html

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1:
- shard-tglu: [FAIL][293] ([i915#8292]) -> [PASS][294]
[293]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-tglu-9/igt@kms_plane_scaling@[email protected]
[294]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-tglu-10/igt@kms_plane_scaling@[email protected]

* igt@kms_pm_rpm@dpms-lpsp:
- shard-rkl: [SKIP][295] ([i915#9519]) -> [PASS][296] +1 other test pass
[295]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-3/igt@[email protected]
[296]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-7/igt@[email protected]

* igt@perf_pmu@multi-client@rcs0:
- shard-mtlp: [FAIL][297] -> [PASS][298] +1 other test pass
[297]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-mtlp-1/igt@perf_pmu@[email protected]
[298]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-1/igt@perf_pmu@[email protected]

#### Warnings ####

* igt@kms_cdclk@mode-transition-all-outputs:
- shard-mtlp: [SKIP][299] ([i915#7213]) -> [SKIP][300] ([i915#7213] / [i915#9010])
[299]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-mtlp-8/igt@[email protected]
[300]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-mtlp-7/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-upscaling@pipe-a-valid-mode:
- shard-dg1: [SKIP][301] ([i915#2587] / [i915#2672] / [i915#4423]) -> [SKIP][302] ([i915#2587] / [i915#2672])
[301]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-dg1-12/igt@kms_flip_scaled_crc@[email protected]
[302]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-dg1-17/igt@kms_flip_scaled_crc@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render:
- shard-snb: [SKIP][303] ([fdo#109271]) -> [SKIP][304] ([fdo#109271] / [fdo#111767])
[303]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-snb7/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render.html
[304]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-snb4/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render.html

* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-rkl: [SKIP][305] ([i915#4816]) -> [SKIP][306] ([i915#4070] / [i915#4816])
[305]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14268/shard-rkl-7/igt@[email protected]
[306]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/shard-rkl-5/igt@[email protected]

{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#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[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#109293]: https://bugs.freedesktop.org/show_bug.cgi?id=109293
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[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#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767
[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#10030]: https://gitlab.freedesktop.org/drm/intel/issues/10030
[i915#10031]: https://gitlab.freedesktop.org/drm/intel/issues/10031
[i915#10044]: https://gitlab.freedesktop.org/drm/intel/issues/10044
[i915#10131]: https://gitlab.freedesktop.org/drm/intel/issues/10131
[i915#10137]: https://gitlab.freedesktop.org/drm/intel/issues/10137
[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#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#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[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#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4435]: https://gitlab.freedesktop.org/drm/intel/issues/4435
[i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[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#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#5793]: https://gitlab.freedesktop.org/drm/intel/issues/5793
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6187]: https://gitlab.freedesktop.org/drm/intel/issues/6187
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805
[i915#6806]: https://gitlab.freedesktop.org/drm/intel/issues/6806
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7213]: https://gitlab.freedesktop.org/drm/intel/issues/7213
[i915#7387]: https://gitlab.freedesktop.org/drm/intel/issues/7387
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8399]: https://gitlab.freedesktop.org/drm/intel/issues/8399
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
[i915#8516]: https://gitlab.freedesktop.org/drm/intel/issues/8516
[i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
[i915#8588]: https://gitlab.freedesktop.org/drm/intel/issues/8588
[i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
[i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810
[i915#8814]: https://gitlab.freedesktop.org/drm/intel/issues/8814
[i915#8850]: https://gitlab.freedesktop.org/drm/intel/issues/8850
[i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925
[i915#9010]: https://gitlab.freedesktop.org/drm/intel/issues/9010
[i915#9142]: https://gitlab.freedesktop.org/drm/intel/issues/9142
[i915#9196]: https://gitlab.freedesktop.org/drm/intel/issues/9196
[i915#9200]: https://gitlab.freedesktop.org/drm/intel/issues/9200
[i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227
[i915#9311]: https://gitlab.freedesktop.org/drm/intel/issues/9311
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9323]: https://gitlab.freedesktop.org/drm/intel/issues/9323
[i915#9337]: https://gitlab.freedesktop.org/drm/intel/issues/9337
[i915#9340]: https://gitlab.freedesktop.org/drm/intel/issues/9340
[i915#9412]: https://gitlab.freedesktop.org/drm/intel/issues/9412
[i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423
[i915#9424]: https://gitlab.freedesktop.org/drm/intel/issues/9424
[i915#9519]: https://gitlab.freedesktop.org/drm/intel/issues/9519
[i915#9683]: https://gitlab.freedesktop.org/drm/intel/issues/9683
[i915#9685]: https://gitlab.freedesktop.org/drm/intel/issues/9685
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9723]: https://gitlab.freedesktop.org/drm/intel/issues/9723
[i915#9728]: https://gitlab.freedesktop.org/drm/intel/issues/9728
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9766]: https://gitlab.freedesktop.org/drm/intel/issues/9766
[i915#9781]: https://gitlab.freedesktop.org/drm/intel/issues/9781
[i915#9808]: https://gitlab.freedesktop.org/drm/intel/issues/9808
[i915#9820]: https://gitlab.freedesktop.org/drm/intel/issues/9820
[i915#9833]: https://gitlab.freedesktop.org/drm/intel/issues/9833
[i915#9849]: https://gitlab.freedesktop.org/drm/intel/issues/9849
[i915#9917]: https://gitlab.freedesktop.org/drm/intel/issues/9917
[i915#9934]: https://gitlab.freedesktop.org/drm/intel/issues/9934

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

* CI: CI-20190529 -> None
* IGT: IGT_7711 -> IGTPW_10670
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_14268: e3e6421a490e14b441f0ace4fe3cf45f70aa5c11 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10670: 10670
IGT_7711: 7711
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10670/index.html

#26 lore raw
In reply to Bhanuprakash Modem
Quoted 31 lines · Bhanuprakash Modem

This series introduces support for
* drm_colorop DRM objects
* COLOR_PIPELINE plane property

Kernel changes:
https://gitlab.freedesktop.org/hwentland/linux/-/merge_requests/5

It also adds a new kms_colorop test case that tests the color pipeline API. The tests are designed to be easily extensible with a "transform" and "compare" function pointer for each test. The "transform" function performs the transformations under test via SW routines. The "compare" function compares the DRM/KMS result (via a writeback connector) with the result derived via the SW "transform".

There are three tests for LUTs:
- plane-srgb_eotf: pre-blending sRGB EOTF
- plane-srgb_inv_eotf: pre-blending sRGB Inverse EOTF
- plane-srgb_eotf-srgb_inv_eotf: pre-blending sRGB EOTF, followed by its inverse

And a number of tests for matrices.

v3:
- Remove need for IOCTLs and libdrm changes
- Test colorop properties with both atomic and legacy code paths
- move enum drm_colorop_type to drm_mode.h
- Add descriptions for public functions in lib (Kamil)
- Use SPDX style license identifier (Kamil)
- Replace Skia license comment with copyright note in file header
- Fix kms_colorop subtests if applicable color pipeline not found

Quoted 10 lines

v4: (Bhanu)
- Though v3 required some cleanup, I am not touching it, instead fix any issue as new patch (we may need to squash those patches)
- Rebase v3
- Move few helpers to common place (kms_color_helper) to reuse by multiple tests
- New helpers to cleanup the colorop props.
- Helpers to support custom 1D LUT & CTM 3x3
- New subtests to validate Intel plane color pipeline, please find the KMD changes: https://patchwork.freedesktop.org/series/129812/

Hmm, looks like we went in slightly different directions. We'll need to figure out how we'll deal with the 1D_LUT type. For us it looks like a copy of the current drm_crtc LUTs. We might want two different LUT types, a generic one, and a PWL_LUT for what you and Uma are defining.

I'll send out my v5 as-is, without attempting to rebase on top of your patches, since that will be a larger challenge than I though. Will look at how to merge them afterwards.

Harry

Quoted 76 lines
Cc Ville Syrjala <[email protected]>
Cc Pekka Paalanen <[email protected]>
Cc Simon Ser <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Melissa Wen <[email protected]>
Cc Jonas Ådahl <[email protected]>
Cc Sebastian Wick <[email protected]>
Cc Shashank Sharma <[email protected]>
Cc Alexander Goins <[email protected]>
Cc Joshua Ashton <[email protected]>
Cc Michel Dänzer <[email protected]>
Cc Aleix Pol <[email protected]>
Cc Xaver Hugl <[email protected]>
Cc Victoria Brekenfeld <[email protected]>
Cc Uma Shankar <[email protected]>
Cc Bhanuprakash Modem <[email protected]>
Cc Naseer Ahmed <[email protected]>
Cc Christopher Braga <[email protected]>
Cc Abhinav Kumar <[email protected]>
Cc Arthur Grillo <[email protected]>
Cc Hector Martin <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Sasha McIntosh <[email protected]>

Bhanuprakash Modem (10):
tests/kms_properties: Fix compilation errors lib/igt_kms: Destroy colorops on exit
lib/colorops: Move few helpers to common place to reuse
drm-uapi: Add 3x3 CTM
drm-uapi: Add custom 1D LUT
lib/igt_color: Add support for 3x3 matrices lib/colorops: Add support for Custom 1D LUT lib/igt_kms: Increase the colorops count tests/kms_color_helper: Add helpers to clear colorops data tests/kms_color: Add plane color pipeline tests for Intel hardware

Harry Wentland (12):
lib/drmtest: Add is_vkms_device()
lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE include/drm-uapi: Add COLOROP object lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE tests/kms_properties: Add colorop properties test igt/color: Add SW color transform functionality lib/igt_fb: Add copy_fb function tests/kms_colorop: Add kms_colorop tests
drm-uapi: Add 3x4 CTM
lib/igt_kms: Add support for DATA colorop property lib/igt_color: Add support for 3x4 matrices tests/kms_colorop: Add 3x4 CTM tests

 include/drm-uapi/drm.h      |  15 ++
 include/drm-uapi/drm_mode.h |  52 +++++
 lib/drmtest.c               |   5 +
 lib/drmtest.h               |   1 +
 lib/igt_color.c             | 361 +++++++++++++++++++++++++++++
 lib/igt_color.h             |  81 +++++++
 lib/igt_fb.c                |  40 +++-
 lib/igt_fb.h                |   3 +
 lib/igt_kms.c               | 312 ++++++++++++++++++++++++-
 lib/igt_kms.h               |  97 +++++++-
 lib/meson.build             |   1 +
 tests/kms_color.c           | 273 +++++++++++++++++++++-
 tests/kms_color_helper.c    | 313 ++++++++++++++++++++++++++
 tests/kms_color_helper.h    |  91 ++++++++
 tests/kms_colorop.c         | 438 ++++++++++++++++++++++++++++++++++++
 tests/kms_properties.c      |  72 ++++++
 tests/meson.build           |   2 +
 17 files changed, 2140 insertions(+), 17 deletions(-)
 create mode 100644 lib/igt_color.c
 create mode 100644 lib/igt_color.h
 create mode 100644 tests/kms_colorop.c

--
2.43.0