Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] User readable error codes on atomic_ioctl failure
@ 2025-09-16  7:18 Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

The series focuses on providing a user readable error value on a failure
in drm_atomic_ioctl(). Usually -EINVAL is returned in most of the error
cases and it is difficult for the user to decode the error and get to
know the real cause for the error. If user gets to know the reason for
the error then corrective measurements can be taken up.

TODO: driver specific error codes are to be added and will be done in
the follow-up patches.

The IGT related changes are pushed for review @
https://patchwork.freedesktop.org/series/153330/

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
Arun R Murthy (5):
      drm: Define user readable error codes for atomic ioctl
      drm/atomic: Add error_code element in atomic_state
      drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
      drm/atomic: Return user readable error in atomic_ioctl
      drm/i915/display: Error codes for async flip failures

 drivers/gpu/drm/drm_atomic.c                 | 34 +++++++++-
 drivers/gpu/drm/drm_atomic_uapi.c            | 92 +++++++++++++++++++---------
 drivers/gpu/drm/i915/display/intel_display.c | 25 ++++----
 include/drm/drm_atomic.h                     | 10 +++
 include/uapi/drm/drm_mode.h                  | 41 +++++++++++++
 5 files changed, 160 insertions(+), 42 deletions(-)
---
base-commit: 21147fac313e561dcce8e18363c8de995f3ad4cd
change-id: 20250728-atomic-c9713fd357e4

Best regards,
-- 
Arun R Murthy <arun.r.murthy@intel.com>


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

* [PATCH v5 1/5] drm: Define user readable error codes for atomic ioctl
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
@ 2025-09-16  7:18 ` Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

There can be multiple reasons for a failure in atomic_ioctl. Most often
in these error conditions -EINVAL is returned. User/Compositor would
have to blindly take a call on failure of this ioctl so as to use
ALLOW_MODESET or any. It would be good if user/compositor gets a
readable error code on failure so they can take proper corrections in
the next commit.
The struct drm_mode_atomic is being passed by the user/compositor which
holds the properties for modeset/flip. Reusing the same struct for
returning the error code in case of failure can save by creating a new
uapi/interface for returning the error code.
The element 'reserved' in the struct drm_mode_atomic is used for
returning the user readable error code. This points to the struct
drm_mode_atomic_err_code. Failure reasons have been initialized in
DRM_MODE_ATOMIC_FAILURE_REASON.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 include/uapi/drm/drm_mode.h | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index a122bea2559387576150236e3a88f99c24ad3138..04d33c4873c505c2620a207cb285eedeaa660a38 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -45,6 +45,7 @@ extern "C" {
 #define DRM_CONNECTOR_NAME_LEN	32
 #define DRM_DISPLAY_MODE_LEN	32
 #define DRM_PROP_NAME_LEN	32
+#define DRM_MODE_ATOMIC_FAILURE_STRING_LEN	128
 
 #define DRM_MODE_TYPE_BUILTIN	(1<<0) /* deprecated */
 #define DRM_MODE_TYPE_CLOCK_C	((1<<1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
@@ -1157,6 +1158,46 @@ struct drm_mode_destroy_dumb {
 		DRM_MODE_ATOMIC_NONBLOCK |\
 		DRM_MODE_ATOMIC_ALLOW_MODESET)
 
+/**
+ * enum drm_mode_atomic_err_code -  error codes for failures in atomic_ioctl
+ * @DRM_MODE_ATOMIC_INVALID_API_USAGE: invallid API usage(DRM_ATOMIC not
+ *				       enabled, invalid falg, page_flip event
+ *				       with test-only, etc)
+ * @DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET: Need full modeset on this crtc
+ * @DRM_MODE_ATOMIC_NEED_FULL_MODESET: Need full modeset on all connected crtc's
+ * @DRM_MODE_ATOMIC_ASYN_NOTSUPP_PLANE: Aync flip not supported on this plane
+ * DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP: Modifier not supported by async flip
+ * @DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED: Property changed in async flip
+ */
+enum drm_mode_atomic_failure_codes {
+	DRM_MODE_ATOMIC_INVALID_API_USAGE,
+	DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+	DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+	DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+	DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
+	DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+};
+
+/**
+ * drm_mode_atomic_err_code - struct to store the error code
+ *
+ * pointer to this struct will be stored in reserved variable of
+ * struct drm_mode_atomic to report the failure cause to the user.
+ *
+ * @failure_code: error codes defined in enum drm_moide_atomic_failure_code
+ * @failure_string_ptr: pointer to user readable error message string
+ * @failure_obj_ptr: pointer to the drm_object that caused error
+ * @reserved: reserved for future use
+ * @count_objs: count of drm_objects if multiple drm_objects caused error
+ */
+struct drm_mode_atomic_err_code {
+	__u64 failure_code;
+	__u64 failure_objs_ptr;
+	__u64 reserved;
+	__u32 count_objs;
+	char failure_string[DRM_MODE_ATOMIC_FAILURE_STRING_LEN];
+};
+
 struct drm_mode_atomic {
 	__u32 flags;
 	__u32 count_objs;

-- 
2.25.1


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

* [PATCH v5 2/5] drm/atomic: Add error_code element in atomic_state
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
@ 2025-09-16  7:18 ` Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

Now that a proper error code will be returned to the user on any failure
in atomic_ioctl() via struct drm_mode_atomic, add a new element
error_code in the struct drm_atomic_state so as to hold the error code
during the atomic_check() and atomic_commit() phases.
New function added to print the error message and fill the struct
err_code with proper error message and error code.

v5: Add a function for printing the error message and filling err_code
    struct

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/drm_atomic.c | 34 ++++++++++++++++++++++++++++++++--
 include/drm/drm_atomic.h     | 10 ++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index cd15cf52f0c9144711da5879da57884674aea9e4..86d1d14a3f434c48028598d7dfe8e651b2de0305 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -1511,9 +1511,8 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
 	if (!state->allow_modeset) {
 		for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) {
 			if (drm_atomic_crtc_needs_modeset(new_crtc_state)) {
-				drm_dbg_atomic(dev, "[CRTC:%d:%s] requires full modeset\n",
+				drm_dbg_atomic(dev, "[CRTC:%d:%s] requires full modese\n",
 					       crtc->base.id, crtc->name);
-				return -EINVAL;
 			}
 		}
 	}
@@ -1897,6 +1896,37 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p)
 }
 EXPORT_SYMBOL(drm_state_dump);
 
+/**
+ * drm_mode_atomic_add_error_msg - function to add error code and error string
+ *
+ * @err_code: pointer to struct drm_mode_atomic_err_code that stores the failure
+ *	      reason
+ * @failure_code: failure code in enum drm_mode_atomic_failure_codes
+ * @failure_string: failure reason string message
+ *
+ * Returns: void
+ */
+void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+				   __u64 failure_code, const char *format, ...)
+{
+	struct drm_atomic_state *state = container_of(err_code,
+						      struct drm_atomic_state,
+						      error_code);
+	va_list varg;
+	char *failure_string;
+
+	err_code->failure_code = failure_code;
+
+	va_start(varg, format);
+	failure_string = kvasprintf(GFP_ATOMIC, format, varg);
+
+	drm_err(state->dev, "%s\n", failure_string);
+	strscpy_pad(err_code->failure_string, failure_string,
+		    sizeof(err_code->failure_string));
+	va_end(varg);
+}
+EXPORT_SYMBOL(drm_mode_atomic_add_error_msg);
+
 #ifdef CONFIG_DEBUG_FS
 static int drm_state_info(struct seq_file *m, void *data)
 {
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 38636a593c9d98cadda85ccd67326cb152f0dd27..ab04cffc9d03d70a791fe3eaaa7f1efea39b600a 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -524,6 +524,13 @@ struct drm_atomic_state {
 	 * commit without blocking.
 	 */
 	struct work_struct commit_work;
+
+	/* @error_code: pointer to struct holding failure reason and string
+	 *
+	 * struct to convey user readable error to the user.
+	 * Error codes defined in enum drm_mode_atomic_failure_flags
+	 */
+	struct drm_mode_atomic_err_code error_code;
 };
 
 void __drm_crtc_commit_free(struct kref *kref);
@@ -1247,5 +1254,8 @@ drm_atomic_get_old_bridge_state(const struct drm_atomic_state *state,
 struct drm_bridge_state *
 drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
 				struct drm_bridge *bridge);
+__printf(3, 4)
+void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+				   __u64 failure_code, const char *format, ...);
 
 #endif /* DRM_ATOMIC_H_ */

-- 
2.25.1


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

* [PATCH v5 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
@ 2025-09-16  7:18 ` Arun R Murthy
  2025-09-16  7:18 ` [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

Moving atomic_state allocation to the beginning of the atomci_ioctl
to accommodate drm_mode_atomic_err_code usage for returning error
code on failures.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..3ef478e717bec917d1b8803c72bbcc8d6409d745 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1394,13 +1394,21 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	struct drm_modeset_acquire_ctx ctx;
 	struct drm_out_fence_state *fence_state;
 	int ret = 0;
-	unsigned int i, j, num_fences;
+	unsigned int i, j, num_fences = 0;
 	bool async_flip = false;
 
 	/* disallow for drivers not supporting atomic: */
 	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
 		return -EOPNOTSUPP;
 
+	state = drm_atomic_state_alloc(dev);
+	if (!state)
+		return -ENOMEM;
+
+	drm_modeset_acquire_init(&ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
+	state->acquire_ctx = &ctx;
+	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
+
 	/* disallow for userspace that has not enabled atomic cap (even
 	 * though this may be a bit overkill, since legacy userspace
 	 * wouldn't know how to call this ioctl)
@@ -1439,14 +1447,6 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 		return -EINVAL;
 	}
 
-	state = drm_atomic_state_alloc(dev);
-	if (!state)
-		return -ENOMEM;
-
-	drm_modeset_acquire_init(&ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
-	state->acquire_ctx = &ctx;
-	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
-
 retry:
 	copied_objs = 0;
 	copied_props = 0;
@@ -1543,7 +1543,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	}
 
 out:
-	complete_signaling(dev, state, fence_state, num_fences, !ret);
+	if (num_fences)
+		complete_signaling(dev, state, fence_state, num_fences, !ret);
 
 	if (ret == -EDEADLK) {
 		drm_atomic_state_clear(state);

-- 
2.25.1


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

* [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (2 preceding siblings ...)
  2025-09-16  7:18 ` [PATCH v5 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
@ 2025-09-16  7:18 ` Arun R Murthy
  2025-10-01 14:47   ` Louis Chauvet
  2025-09-16  7:18 ` [PATCH v5 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
                   ` (6 subsequent siblings)
  10 siblings, 1 reply; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

Add user readable error codes for failure cases in drm_atomic_ioctl() so
that user can decode the error code and take corrective measurements.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 71 ++++++++++++++++++++++++++++-----------
 1 file changed, 52 insertions(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413e171b1336812d65c1c 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
 			ret = drm_atomic_connector_get_property(connector, connector_state,
 								prop, &old_val);
 			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
+			if (ret) {
+				drm_mode_atomic_add_error_msg(&state->error_code,
+							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+							      "property change not allowed in async flip");
+			}
 			break;
 		}
 
@@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
 			ret = drm_atomic_crtc_get_property(crtc, crtc_state,
 							   prop, &old_val);
 			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
+			if (ret) {
+				drm_mode_atomic_add_error_msg(&state->error_code,
+							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+							      "property change not allowed in async flip");
+			}
 			break;
 		}
 
@@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
 					ret = plane_funcs->atomic_async_check(plane, state, true);
 
 				if (ret) {
-					drm_dbg_atomic(prop->dev,
-						       "[PLANE:%d:%s] does not support async flips\n",
-						       obj->id, plane->name);
+					drm_mode_atomic_add_error_msg(&state->error_code,
+								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+								      "[PLANE:%d:%s] does not support async flip",
+								      obj->id, plane->name);
 					break;
 				}
 			}
@@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	struct drm_atomic_state *state;
 	struct drm_modeset_acquire_ctx ctx;
 	struct drm_out_fence_state *fence_state;
+	struct drm_mode_atomic_err_code __user *error_code_ptr;
 	int ret = 0;
 	unsigned int i, j, num_fences = 0;
 	bool async_flip = false;
@@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
 		return -EOPNOTSUPP;
 
+	if (!arg->reserved)
+		drm_dbg_atomic(dev,
+			       "memory not allocated for drm_atomic error reporting\n");
+	else
+		/* update the error code if any error to allow user handling it */
+		error_code_ptr = (struct drm_mode_atomic_err_code __user *)
+				 (unsigned long)arg->reserved;
+
 	state = drm_atomic_state_alloc(dev);
 	if (!state)
 		return -ENOMEM;
@@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	state->acquire_ctx = &ctx;
 	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
 
+	memset(&state->error_code, 0, sizeof(struct drm_mode_atomic_err_code));
+
 	/* disallow for userspace that has not enabled atomic cap (even
 	 * though this may be a bit overkill, since legacy userspace
 	 * wouldn't know how to call this ioctl)
 	 */
 	if (!file_priv->atomic) {
-		drm_dbg_atomic(dev,
-			       "commit failed: atomic cap not enabled\n");
-		return -EINVAL;
+		drm_mode_atomic_add_error_msg(&state->error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      "DRM_ATOMIC capability not enabled");
+		ret = -EINVAL;
+		goto out;
 	}
 
 	if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
-		drm_dbg_atomic(dev, "commit failed: invalid flag\n");
-		return -EINVAL;
-	}
-
-	if (arg->reserved) {
-		drm_dbg_atomic(dev, "commit failed: reserved field set\n");
-		return -EINVAL;
+		drm_mode_atomic_add_error_msg(&state->error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      "invalid flag");
+		ret = -EINVAL;
+		goto out;
 	}
 
 	if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
 		if (!dev->mode_config.async_page_flip) {
-			drm_dbg_atomic(dev,
-				       "commit failed: DRM_MODE_PAGE_FLIP_ASYNC not supported\n");
-			return -EINVAL;
+			drm_mode_atomic_add_error_msg(&state->error_code,
+						      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+						      "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl");
+			ret = -EINVAL;
+			goto out;
 		}
 
 		async_flip = true;
@@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	/* can't test and expect an event at the same time. */
 	if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
 			(arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
-		drm_dbg_atomic(dev,
-			       "commit failed: page-flip event requested with test-only commit\n");
-		return -EINVAL;
+		drm_mode_atomic_add_error_msg(&state->error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      "page-flip event requested with test-only commit");
+		ret = -EINVAL;
+		goto out;
 	}
 
 retry:
@@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	}
 
 out:
+	/* update the error code if any error to allow user handling it */
+	if (ret < 0 && arg->reserved) {
+		if (copy_to_user(error_code_ptr, &state->error_code,
+				 sizeof(state->error_code)))
+			return -EFAULT;
+	}
+
 	if (num_fences)
 		complete_signaling(dev, state, fence_state, num_fences, !ret);
 

-- 
2.25.1


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

* [PATCH v5 5/5] drm/i915/display: Error codes for async flip failures
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (3 preceding siblings ...)
  2025-09-16  7:18 ` [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
@ 2025-09-16  7:18 ` Arun R Murthy
  2025-09-16  7:26 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev4) Patchwork
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Arun R Murthy @ 2025-09-16  7:18 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy

For failures in async flip atomic check/commit path return user readable
error codes in struct drm_atomic_state.

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index c1a3a95c65f0b66c24ddd64f47dfdc67bbde86c9..b264e5dbedb52f5b3fdb24dc3459acc5dc52009f 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -5947,9 +5947,10 @@ static int intel_async_flip_check_uapi(struct intel_atomic_state *state,
 	}
 
 	if (intel_crtc_needs_modeset(new_crtc_state)) {
-		drm_dbg_kms(display->drm,
-			    "[CRTC:%d:%s] modeset required\n",
-			    crtc->base.base.id, crtc->base.name);
+		drm_mode_atomic_add_error_msg(&state->base.error_code,
+					      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+					      "[CRTC:%d:%s] requires full modeset",
+					      crtc->base.base.id, crtc->base.name);
 		return -EINVAL;
 	}
 
@@ -6016,9 +6017,10 @@ static int intel_async_flip_check_hw(struct intel_atomic_state *state, struct in
 	}
 
 	if (intel_crtc_needs_modeset(new_crtc_state)) {
-		drm_dbg_kms(display->drm,
-			    "[CRTC:%d:%s] modeset required\n",
-			    crtc->base.base.id, crtc->base.name);
+		drm_mode_atomic_add_error_msg(&state->base.error_code,
+					      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+					      "[CRTC:%d:%s] requires full modeset",
+					      crtc->base.base.id, crtc->base.name);
 		return -EINVAL;
 	}
 
@@ -6056,11 +6058,12 @@ static int intel_async_flip_check_hw(struct intel_atomic_state *state, struct in
 
 		if (!intel_plane_can_async_flip(plane, new_plane_state->hw.fb->format->format,
 						new_plane_state->hw.fb->modifier)) {
-			drm_dbg_kms(display->drm,
-				    "[PLANE:%d:%s] pixel format %p4cc / modifier 0x%llx does not support async flip\n",
-				    plane->base.base.id, plane->base.name,
-				    &new_plane_state->hw.fb->format->format,
-				    new_plane_state->hw.fb->modifier);
+			drm_mode_atomic_add_error_msg(&state->base.error_code,
+						      DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
+						      "[PLANE:%d:%s] pixel format %p4cc / 0x%llx modifier does not support async flip",
+						      plane->base.base.id, plane->base.name,
+						      &new_plane_state->hw.fb->format->format,
+						      new_plane_state->hw.fb->modifier);
 			return -EINVAL;
 		}
 

-- 
2.25.1


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

* ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev4)
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (4 preceding siblings ...)
  2025-09-16  7:18 ` [PATCH v5 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
@ 2025-09-16  7:26 ` Patchwork
  2025-09-16  7:27 ` ✓ CI.KUnit: success " Patchwork
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2025-09-16  7:26 UTC (permalink / raw)
  To: Arun R Murthy; +Cc: intel-xe

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev4)
URL   : https://patchwork.freedesktop.org/series/152277/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
fbd08a78c3a3bb17964db2a326514c69c1dca660
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit dd72a8e14e063600a4c5dc17a454aa66ec31df6c
Author: Arun R Murthy <arun.r.murthy@intel.com>
Date:   Tue Sep 16 12:48:15 2025 +0530

    drm/i915/display: Error codes for async flip failures
    
    For failures in async flip atomic check/commit path return user readable
    error codes in struct drm_atomic_state.
    
    Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
+ /mt/dim checkpatch e9c137c33746d8007daa202af67b6aefd18a0121 drm-intel
ccf16c2e58e0 drm: Define user readable error codes for atomic ioctl
122bc0b2380e drm/atomic: Add error_code element in atomic_state
9fb569c94c88 drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
7e6d08d5cc8e drm/atomic: Return user readable error in atomic_ioctl
-:47: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#47: FILE: drivers/gpu/drm/drm_atomic_uapi.c:1110:
+								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,

total: 0 errors, 1 warnings, 0 checks, 131 lines checked
dd72a8e14e06 drm/i915/display: Error codes for async flip failures



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

* ✓ CI.KUnit: success for User readable error codes on atomic_ioctl failure (rev4)
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (5 preceding siblings ...)
  2025-09-16  7:26 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev4) Patchwork
@ 2025-09-16  7:27 ` Patchwork
  2025-09-16  7:42 ` ✗ CI.checksparse: warning " Patchwork
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2025-09-16  7:27 UTC (permalink / raw)
  To: Arun R Murthy; +Cc: intel-xe

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev4)
URL   : https://patchwork.freedesktop.org/series/152277/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[07:26:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:26:05] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:26:34] Starting KUnit Kernel (1/1)...
[07:26:34] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:26:34] ================== guc_buf (11 subtests) ===================
[07:26:34] [PASSED] test_smallest
[07:26:34] [PASSED] test_largest
[07:26:34] [PASSED] test_granular
[07:26:34] [PASSED] test_unique
[07:26:34] [PASSED] test_overlap
[07:26:34] [PASSED] test_reusable
[07:26:34] [PASSED] test_too_big
[07:26:34] [PASSED] test_flush
[07:26:34] [PASSED] test_lookup
[07:26:34] [PASSED] test_data
[07:26:34] [PASSED] test_class
[07:26:34] ===================== [PASSED] guc_buf =====================
[07:26:34] =================== guc_dbm (7 subtests) ===================
[07:26:34] [PASSED] test_empty
[07:26:34] [PASSED] test_default
[07:26:34] ======================== test_size  ========================
[07:26:34] [PASSED] 4
[07:26:34] [PASSED] 8
[07:26:34] [PASSED] 32
[07:26:34] [PASSED] 256
[07:26:34] ==================== [PASSED] test_size ====================
[07:26:34] ======================= test_reuse  ========================
[07:26:34] [PASSED] 4
[07:26:34] [PASSED] 8
[07:26:34] [PASSED] 32
[07:26:34] [PASSED] 256
[07:26:34] =================== [PASSED] test_reuse ====================
[07:26:34] =================== test_range_overlap  ====================
[07:26:34] [PASSED] 4
[07:26:34] [PASSED] 8
[07:26:34] [PASSED] 32
[07:26:34] [PASSED] 256
[07:26:34] =============== [PASSED] test_range_overlap ================
[07:26:34] =================== test_range_compact  ====================
[07:26:34] [PASSED] 4
[07:26:34] [PASSED] 8
[07:26:34] [PASSED] 32
[07:26:34] [PASSED] 256
[07:26:34] =============== [PASSED] test_range_compact ================
[07:26:34] ==================== test_range_spare  =====================
[07:26:34] [PASSED] 4
[07:26:34] [PASSED] 8
[07:26:34] [PASSED] 32
[07:26:34] [PASSED] 256
[07:26:34] ================ [PASSED] test_range_spare =================
[07:26:34] ===================== [PASSED] guc_dbm =====================
[07:26:34] =================== guc_idm (6 subtests) ===================
[07:26:34] [PASSED] bad_init
[07:26:34] [PASSED] no_init
[07:26:34] [PASSED] init_fini
[07:26:34] [PASSED] check_used
[07:26:34] [PASSED] check_quota
[07:26:34] [PASSED] check_all
[07:26:34] ===================== [PASSED] guc_idm =====================
[07:26:34] ================== no_relay (3 subtests) ===================
[07:26:34] [PASSED] xe_drops_guc2pf_if_not_ready
[07:26:34] [PASSED] xe_drops_guc2vf_if_not_ready
[07:26:34] [PASSED] xe_rejects_send_if_not_ready
[07:26:34] ==================== [PASSED] no_relay =====================
[07:26:34] ================== pf_relay (14 subtests) ==================
[07:26:34] [PASSED] pf_rejects_guc2pf_too_short
[07:26:34] [PASSED] pf_rejects_guc2pf_too_long
[07:26:34] [PASSED] pf_rejects_guc2pf_no_payload
[07:26:34] [PASSED] pf_fails_no_payload
[07:26:34] [PASSED] pf_fails_bad_origin
[07:26:34] [PASSED] pf_fails_bad_type
[07:26:34] [PASSED] pf_txn_reports_error
[07:26:34] [PASSED] pf_txn_sends_pf2guc
[07:26:34] [PASSED] pf_sends_pf2guc
[07:26:34] [SKIPPED] pf_loopback_nop
[07:26:34] [SKIPPED] pf_loopback_echo
[07:26:34] [SKIPPED] pf_loopback_fail
[07:26:34] [SKIPPED] pf_loopback_busy
[07:26:34] [SKIPPED] pf_loopback_retry
[07:26:34] ==================== [PASSED] pf_relay =====================
[07:26:34] ================== vf_relay (3 subtests) ===================
[07:26:34] [PASSED] vf_rejects_guc2vf_too_short
[07:26:34] [PASSED] vf_rejects_guc2vf_too_long
[07:26:34] [PASSED] vf_rejects_guc2vf_no_payload
[07:26:34] ==================== [PASSED] vf_relay =====================
[07:26:34] ===================== lmtt (1 subtest) =====================
[07:26:34] ======================== test_ops  =========================
[07:26:34] [PASSED] 2-level
[07:26:34] [PASSED] multi-level
[07:26:34] ==================== [PASSED] test_ops =====================
[07:26:34] ====================== [PASSED] lmtt =======================
[07:26:34] ================= pf_service (11 subtests) =================
[07:26:34] [PASSED] pf_negotiate_any
[07:26:34] [PASSED] pf_negotiate_base_match
[07:26:34] [PASSED] pf_negotiate_base_newer
[07:26:34] [PASSED] pf_negotiate_base_next
[07:26:34] [SKIPPED] pf_negotiate_base_older
[07:26:34] [PASSED] pf_negotiate_base_prev
[07:26:34] [PASSED] pf_negotiate_latest_match
[07:26:34] [PASSED] pf_negotiate_latest_newer
[07:26:34] [PASSED] pf_negotiate_latest_next
[07:26:34] [SKIPPED] pf_negotiate_latest_older
[07:26:34] [SKIPPED] pf_negotiate_latest_prev
[07:26:34] =================== [PASSED] pf_service ====================
[07:26:34] ================= xe_guc_g2g (2 subtests) ==================
[07:26:34] ============== xe_live_guc_g2g_kunit_default  ==============
[07:26:34] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[07:26:34] ============== xe_live_guc_g2g_kunit_allmem  ===============
[07:26:34] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[07:26:34] =================== [SKIPPED] xe_guc_g2g ===================
[07:26:34] =================== xe_mocs (2 subtests) ===================
[07:26:34] ================ xe_live_mocs_kernel_kunit  ================
[07:26:34] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[07:26:34] ================ xe_live_mocs_reset_kunit  =================
[07:26:34] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[07:26:34] ==================== [SKIPPED] xe_mocs =====================
[07:26:34] ================= xe_migrate (2 subtests) ==================
[07:26:34] ================= xe_migrate_sanity_kunit  =================
[07:26:34] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[07:26:34] ================== xe_validate_ccs_kunit  ==================
[07:26:34] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[07:26:34] =================== [SKIPPED] xe_migrate ===================
[07:26:34] ================== xe_dma_buf (1 subtest) ==================
[07:26:34] ==================== xe_dma_buf_kunit  =====================
[07:26:34] ================ [SKIPPED] xe_dma_buf_kunit ================
[07:26:34] =================== [SKIPPED] xe_dma_buf ===================
[07:26:34] ================= xe_bo_shrink (1 subtest) =================
[07:26:34] =================== xe_bo_shrink_kunit  ====================
[07:26:34] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[07:26:34] ================== [SKIPPED] xe_bo_shrink ==================
[07:26:34] ==================== xe_bo (2 subtests) ====================
[07:26:34] ================== xe_ccs_migrate_kunit  ===================
[07:26:34] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[07:26:34] ==================== xe_bo_evict_kunit  ====================
[07:26:34] =============== [SKIPPED] xe_bo_evict_kunit ================
[07:26:34] ===================== [SKIPPED] xe_bo ======================
[07:26:34] ==================== args (11 subtests) ====================
[07:26:34] [PASSED] count_args_test
[07:26:34] [PASSED] call_args_example
[07:26:34] [PASSED] call_args_test
[07:26:34] [PASSED] drop_first_arg_example
[07:26:34] [PASSED] drop_first_arg_test
[07:26:34] [PASSED] first_arg_example
[07:26:34] [PASSED] first_arg_test
[07:26:34] [PASSED] last_arg_example
[07:26:34] [PASSED] last_arg_test
[07:26:34] [PASSED] pick_arg_example
[07:26:34] [PASSED] sep_comma_example
[07:26:34] ====================== [PASSED] args =======================
[07:26:34] =================== xe_pci (3 subtests) ====================
[07:26:34] ==================== check_graphics_ip  ====================
[07:26:34] [PASSED] 12.70 Xe_LPG
[07:26:34] [PASSED] 12.71 Xe_LPG
[07:26:34] [PASSED] 12.74 Xe_LPG+
[07:26:34] [PASSED] 20.01 Xe2_HPG
[07:26:34] [PASSED] 20.02 Xe2_HPG
[07:26:34] [PASSED] 20.04 Xe2_LPG
[07:26:34] [PASSED] 30.00 Xe3_LPG
[07:26:34] [PASSED] 30.01 Xe3_LPG
[07:26:34] [PASSED] 30.03 Xe3_LPG
[07:26:34] ================ [PASSED] check_graphics_ip ================
[07:26:34] ===================== check_media_ip  ======================
[07:26:34] [PASSED] 13.00 Xe_LPM+
[07:26:34] [PASSED] 13.01 Xe2_HPM
[07:26:34] [PASSED] 20.00 Xe2_LPM
[07:26:34] [PASSED] 30.00 Xe3_LPM
[07:26:34] [PASSED] 30.02 Xe3_LPM
[07:26:34] ================= [PASSED] check_media_ip ==================
[07:26:34] ================= check_platform_gt_count  =================
[07:26:34] [PASSED] 0x9A60 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A68 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A70 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A40 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A49 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A59 (TIGERLAKE)
[07:26:34] [PASSED] 0x9A78 (TIGERLAKE)
[07:26:34] [PASSED] 0x9AC0 (TIGERLAKE)
[07:26:34] [PASSED] 0x9AC9 (TIGERLAKE)
[07:26:34] [PASSED] 0x9AD9 (TIGERLAKE)
[07:26:34] [PASSED] 0x9AF8 (TIGERLAKE)
[07:26:34] [PASSED] 0x4C80 (ROCKETLAKE)
[07:26:34] [PASSED] 0x4C8A (ROCKETLAKE)
[07:26:34] [PASSED] 0x4C8B (ROCKETLAKE)
[07:26:34] [PASSED] 0x4C8C (ROCKETLAKE)
[07:26:34] [PASSED] 0x4C90 (ROCKETLAKE)
[07:26:34] [PASSED] 0x4C9A (ROCKETLAKE)
[07:26:34] [PASSED] 0x4680 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4682 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4688 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x468A (ALDERLAKE_S)
[07:26:34] [PASSED] 0x468B (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4690 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4692 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4693 (ALDERLAKE_S)
[07:26:34] [PASSED] 0x46A0 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46A1 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46A2 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46A3 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46A6 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46A8 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46AA (ALDERLAKE_P)
[07:26:34] [PASSED] 0x462A (ALDERLAKE_P)
[07:26:34] [PASSED] 0x4626 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x4628 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46B0 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46B1 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46B2 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46B3 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46C0 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46C1 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46C2 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46C3 (ALDERLAKE_P)
[07:26:34] [PASSED] 0x46D0 (ALDERLAKE_N)
[07:26:34] [PASSED] 0x46D1 (ALDERLAKE_N)
[07:26:34] [PASSED] 0x46D2 (ALDERLAKE_N)
[07:26:34] [PASSED] 0x46D3 (ALDERLAKE_N)
[07:26:34] [PASSED] 0x46D4 (ALDERLAKE_N)
[07:26:34] [PASSED] 0xA721 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7A1 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7A9 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7AC (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7AD (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA720 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7A0 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7A8 (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7AA (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA7AB (ALDERLAKE_P)
[07:26:34] [PASSED] 0xA780 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA781 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA782 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA783 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA788 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA789 (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA78A (ALDERLAKE_S)
[07:26:34] [PASSED] 0xA78B (ALDERLAKE_S)
[07:26:34] [PASSED] 0x4905 (DG1)
[07:26:34] [PASSED] 0x4906 (DG1)
[07:26:34] [PASSED] 0x4907 (DG1)
[07:26:34] [PASSED] 0x4908 (DG1)
[07:26:34] [PASSED] 0x4909 (DG1)
[07:26:34] [PASSED] 0x56C0 (DG2)
[07:26:34] [PASSED] 0x56C2 (DG2)
[07:26:34] [PASSED] 0x56C1 (DG2)
[07:26:34] [PASSED] 0x7D51 (METEORLAKE)
[07:26:34] [PASSED] 0x7DD1 (METEORLAKE)
[07:26:34] [PASSED] 0x7D41 (METEORLAKE)
[07:26:34] [PASSED] 0x7D67 (METEORLAKE)
[07:26:34] [PASSED] 0xB640 (METEORLAKE)
[07:26:34] [PASSED] 0x56A0 (DG2)
[07:26:34] [PASSED] 0x56A1 (DG2)
[07:26:34] [PASSED] 0x56A2 (DG2)
[07:26:34] [PASSED] 0x56BE (DG2)
[07:26:34] [PASSED] 0x56BF (DG2)
[07:26:34] [PASSED] 0x5690 (DG2)
[07:26:34] [PASSED] 0x5691 (DG2)
[07:26:34] [PASSED] 0x5692 (DG2)
[07:26:34] [PASSED] 0x56A5 (DG2)
[07:26:34] [PASSED] 0x56A6 (DG2)
[07:26:34] [PASSED] 0x56B0 (DG2)
[07:26:34] [PASSED] 0x56B1 (DG2)
[07:26:34] [PASSED] 0x56BA (DG2)
[07:26:34] [PASSED] 0x56BB (DG2)
[07:26:34] [PASSED] 0x56BC (DG2)
[07:26:34] [PASSED] 0x56BD (DG2)
[07:26:34] [PASSED] 0x5693 (DG2)
[07:26:34] [PASSED] 0x5694 (DG2)
[07:26:34] [PASSED] 0x5695 (DG2)
[07:26:34] [PASSED] 0x56A3 (DG2)
[07:26:34] [PASSED] 0x56A4 (DG2)
[07:26:34] [PASSED] 0x56B2 (DG2)
[07:26:34] [PASSED] 0x56B3 (DG2)
[07:26:34] [PASSED] 0x5696 (DG2)
[07:26:34] [PASSED] 0x5697 (DG2)
[07:26:34] [PASSED] 0xB69 (PVC)
[07:26:34] [PASSED] 0xB6E (PVC)
[07:26:34] [PASSED] 0xBD4 (PVC)
[07:26:34] [PASSED] 0xBD5 (PVC)
[07:26:34] [PASSED] 0xBD6 (PVC)
[07:26:34] [PASSED] 0xBD7 (PVC)
[07:26:34] [PASSED] 0xBD8 (PVC)
[07:26:34] [PASSED] 0xBD9 (PVC)
[07:26:34] [PASSED] 0xBDA (PVC)
[07:26:34] [PASSED] 0xBDB (PVC)
[07:26:34] [PASSED] 0xBE0 (PVC)
[07:26:34] [PASSED] 0xBE1 (PVC)
[07:26:34] [PASSED] 0xBE5 (PVC)
[07:26:34] [PASSED] 0x7D40 (METEORLAKE)
[07:26:34] [PASSED] 0x7D45 (METEORLAKE)
[07:26:34] [PASSED] 0x7D55 (METEORLAKE)
[07:26:34] [PASSED] 0x7D60 (METEORLAKE)
[07:26:34] [PASSED] 0x7DD5 (METEORLAKE)
[07:26:34] [PASSED] 0x6420 (LUNARLAKE)
[07:26:34] [PASSED] 0x64A0 (LUNARLAKE)
[07:26:34] [PASSED] 0x64B0 (LUNARLAKE)
[07:26:34] [PASSED] 0xE202 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE209 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE20B (BATTLEMAGE)
[07:26:34] [PASSED] 0xE20C (BATTLEMAGE)
[07:26:34] [PASSED] 0xE20D (BATTLEMAGE)
[07:26:34] [PASSED] 0xE210 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE211 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE212 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE216 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE220 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE221 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE222 (BATTLEMAGE)
[07:26:34] [PASSED] 0xE223 (BATTLEMAGE)
[07:26:34] [PASSED] 0xB080 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB081 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB082 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB083 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB084 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB085 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB086 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB087 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB08F (PANTHERLAKE)
[07:26:34] [PASSED] 0xB090 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB0A0 (PANTHERLAKE)
[07:26:34] [PASSED] 0xB0B0 (PANTHERLAKE)
[07:26:34] [PASSED] 0xFD80 (PANTHERLAKE)
[07:26:34] [PASSED] 0xFD81 (PANTHERLAKE)
[07:26:34] ============= [PASSED] check_platform_gt_count =============
[07:26:34] ===================== [PASSED] xe_pci ======================
[07:26:34] =================== xe_rtp (2 subtests) ====================
[07:26:34] =============== xe_rtp_process_to_sr_tests  ================
[07:26:34] [PASSED] coalesce-same-reg
[07:26:34] [PASSED] no-match-no-add
[07:26:34] [PASSED] match-or
[07:26:34] [PASSED] match-or-xfail
[07:26:34] [PASSED] no-match-no-add-multiple-rules
[07:26:34] [PASSED] two-regs-two-entries
[07:26:34] [PASSED] clr-one-set-other
[07:26:34] [PASSED] set-field
[07:26:34] [PASSED] conflict-duplicate
[07:26:34] [PASSED] conflict-not-disjoint
[07:26:34] [PASSED] conflict-reg-type
[07:26:34] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[07:26:34] ================== xe_rtp_process_tests  ===================
[07:26:34] [PASSED] active1
[07:26:34] [PASSED] active2
[07:26:34] [PASSED] active-inactive
[07:26:34] [PASSED] inactive-active
[07:26:34] [PASSED] inactive-1st_or_active-inactive
[07:26:34] [PASSED] inactive-2nd_or_active-inactive
[07:26:34] [PASSED] inactive-last_or_active-inactive
[07:26:34] [PASSED] inactive-no_or_active-inactive
[07:26:34] ============== [PASSED] xe_rtp_process_tests ===============
[07:26:34] ===================== [PASSED] xe_rtp ======================
[07:26:34] ==================== xe_wa (1 subtest) =====================
[07:26:34] ======================== xe_wa_gt  =========================
[07:26:34] [PASSED] TIGERLAKE B0
[07:26:34] [PASSED] DG1 A0
[07:26:34] [PASSED] DG1 B0
[07:26:34] [PASSED] ALDERLAKE_S A0
[07:26:34] [PASSED] ALDERLAKE_S B0
[07:26:34] [PASSED] ALDERLAKE_S C0
[07:26:34] [PASSED] ALDERLAKE_S D0
[07:26:34] [PASSED] ALDERLAKE_P A0
[07:26:34] [PASSED] ALDERLAKE_P B0
[07:26:34] [PASSED] ALDERLAKE_P C0stty: 'standard input': Inappropriate ioctl for device

[07:26:34] [PASSED] ALDERLAKE_S RPLS D0
[07:26:34] [PASSED] ALDERLAKE_P RPLU E0
[07:26:34] [PASSED] DG2 G10 C0
[07:26:34] [PASSED] DG2 G11 B1
[07:26:34] [PASSED] DG2 G12 A1
[07:26:34] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:26:34] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:26:34] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[07:26:34] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[07:26:34] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[07:26:34] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[07:26:34] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[07:26:34] ==================== [PASSED] xe_wa_gt =====================
[07:26:34] ====================== [PASSED] xe_wa ======================
[07:26:34] ============================================================
[07:26:34] Testing complete. Ran 300 tests: passed: 282, skipped: 18
[07:26:35] Elapsed time: 33.426s total, 4.266s configuring, 28.793s building, 0.320s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[07:26:35] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:26:36] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:26:59] Starting KUnit Kernel (1/1)...
[07:26:59] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:26:59] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[07:27:00] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[07:27:00] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[07:27:00] =========== drm_validate_clone_mode (2 subtests) ===========
[07:27:00] ============== drm_test_check_in_clone_mode  ===============
[07:27:00] [PASSED] in_clone_mode
[07:27:00] [PASSED] not_in_clone_mode
[07:27:00] ========== [PASSED] drm_test_check_in_clone_mode ===========
[07:27:00] =============== drm_test_check_valid_clones  ===============
[07:27:00] [PASSED] not_in_clone_mode
[07:27:00] [PASSED] valid_clone
[07:27:00] [PASSED] invalid_clone
[07:27:00] =========== [PASSED] drm_test_check_valid_clones ===========
[07:27:00] ============= [PASSED] drm_validate_clone_mode =============
[07:27:00] ============= drm_validate_modeset (1 subtest) =============
[07:27:00] [PASSED] drm_test_check_connector_changed_modeset
[07:27:00] ============== [PASSED] drm_validate_modeset ===============
[07:27:00] ====== drm_test_bridge_get_current_state (2 subtests) ======
[07:27:00] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[07:27:00] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[07:27:00] ======== [PASSED] drm_test_bridge_get_current_state ========
[07:27:00] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[07:27:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[07:27:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[07:27:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[07:27:00] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[07:27:00] ============== drm_bridge_alloc (2 subtests) ===============
[07:27:00] [PASSED] drm_test_drm_bridge_alloc_basic
[07:27:00] [PASSED] drm_test_drm_bridge_alloc_get_put
[07:27:00] ================ [PASSED] drm_bridge_alloc =================
[07:27:00] ================== drm_buddy (7 subtests) ==================
[07:27:00] [PASSED] drm_test_buddy_alloc_limit
[07:27:00] [PASSED] drm_test_buddy_alloc_optimistic
[07:27:00] [PASSED] drm_test_buddy_alloc_pessimistic
[07:27:00] [PASSED] drm_test_buddy_alloc_pathological
[07:27:00] [PASSED] drm_test_buddy_alloc_contiguous
[07:27:00] [PASSED] drm_test_buddy_alloc_clear
[07:27:00] [PASSED] drm_test_buddy_alloc_range_bias
[07:27:00] ==================== [PASSED] drm_buddy ====================
[07:27:00] ============= drm_cmdline_parser (40 subtests) =============
[07:27:00] [PASSED] drm_test_cmdline_force_d_only
[07:27:00] [PASSED] drm_test_cmdline_force_D_only_dvi
[07:27:00] [PASSED] drm_test_cmdline_force_D_only_hdmi
[07:27:00] [PASSED] drm_test_cmdline_force_D_only_not_digital
[07:27:00] [PASSED] drm_test_cmdline_force_e_only
[07:27:00] [PASSED] drm_test_cmdline_res
[07:27:00] [PASSED] drm_test_cmdline_res_vesa
[07:27:00] [PASSED] drm_test_cmdline_res_vesa_rblank
[07:27:00] [PASSED] drm_test_cmdline_res_rblank
[07:27:00] [PASSED] drm_test_cmdline_res_bpp
[07:27:00] [PASSED] drm_test_cmdline_res_refresh
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[07:27:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[07:27:00] [PASSED] drm_test_cmdline_res_margins_force_on
[07:27:00] [PASSED] drm_test_cmdline_res_vesa_margins
[07:27:00] [PASSED] drm_test_cmdline_name
[07:27:00] [PASSED] drm_test_cmdline_name_bpp
[07:27:00] [PASSED] drm_test_cmdline_name_option
[07:27:00] [PASSED] drm_test_cmdline_name_bpp_option
[07:27:00] [PASSED] drm_test_cmdline_rotate_0
[07:27:00] [PASSED] drm_test_cmdline_rotate_90
[07:27:00] [PASSED] drm_test_cmdline_rotate_180
[07:27:00] [PASSED] drm_test_cmdline_rotate_270
[07:27:00] [PASSED] drm_test_cmdline_hmirror
[07:27:00] [PASSED] drm_test_cmdline_vmirror
[07:27:00] [PASSED] drm_test_cmdline_margin_options
[07:27:00] [PASSED] drm_test_cmdline_multiple_options
[07:27:00] [PASSED] drm_test_cmdline_bpp_extra_and_option
[07:27:00] [PASSED] drm_test_cmdline_extra_and_option
[07:27:00] [PASSED] drm_test_cmdline_freestanding_options
[07:27:00] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[07:27:00] [PASSED] drm_test_cmdline_panel_orientation
[07:27:00] ================ drm_test_cmdline_invalid  =================
[07:27:00] [PASSED] margin_only
[07:27:00] [PASSED] interlace_only
[07:27:00] [PASSED] res_missing_x
[07:27:00] [PASSED] res_missing_y
[07:27:00] [PASSED] res_bad_y
[07:27:00] [PASSED] res_missing_y_bpp
[07:27:00] [PASSED] res_bad_bpp
[07:27:00] [PASSED] res_bad_refresh
[07:27:00] [PASSED] res_bpp_refresh_force_on_off
[07:27:00] [PASSED] res_invalid_mode
[07:27:00] [PASSED] res_bpp_wrong_place_mode
[07:27:00] [PASSED] name_bpp_refresh
[07:27:00] [PASSED] name_refresh
[07:27:00] [PASSED] name_refresh_wrong_mode
[07:27:00] [PASSED] name_refresh_invalid_mode
[07:27:00] [PASSED] rotate_multiple
[07:27:00] [PASSED] rotate_invalid_val
[07:27:00] [PASSED] rotate_truncated
[07:27:00] [PASSED] invalid_option
[07:27:00] [PASSED] invalid_tv_option
[07:27:00] [PASSED] truncated_tv_option
[07:27:00] ============ [PASSED] drm_test_cmdline_invalid =============
[07:27:00] =============== drm_test_cmdline_tv_options  ===============
[07:27:00] [PASSED] NTSC
[07:27:00] [PASSED] NTSC_443
[07:27:00] [PASSED] NTSC_J
[07:27:00] [PASSED] PAL
[07:27:00] [PASSED] PAL_M
[07:27:00] [PASSED] PAL_N
[07:27:00] [PASSED] SECAM
[07:27:00] [PASSED] MONO_525
[07:27:00] [PASSED] MONO_625
[07:27:00] =========== [PASSED] drm_test_cmdline_tv_options ===========
[07:27:00] =============== [PASSED] drm_cmdline_parser ================
[07:27:00] ========== drmm_connector_hdmi_init (20 subtests) ==========
[07:27:00] [PASSED] drm_test_connector_hdmi_init_valid
[07:27:00] [PASSED] drm_test_connector_hdmi_init_bpc_8
[07:27:00] [PASSED] drm_test_connector_hdmi_init_bpc_10
[07:27:00] [PASSED] drm_test_connector_hdmi_init_bpc_12
[07:27:00] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[07:27:00] [PASSED] drm_test_connector_hdmi_init_bpc_null
[07:27:00] [PASSED] drm_test_connector_hdmi_init_formats_empty
[07:27:00] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[07:27:00] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[07:27:00] [PASSED] supported_formats=0x9 yuv420_allowed=1
[07:27:00] [PASSED] supported_formats=0x9 yuv420_allowed=0
[07:27:00] [PASSED] supported_formats=0x3 yuv420_allowed=1
[07:27:00] [PASSED] supported_formats=0x3 yuv420_allowed=0
[07:27:00] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:27:00] [PASSED] drm_test_connector_hdmi_init_null_ddc
[07:27:00] [PASSED] drm_test_connector_hdmi_init_null_product
[07:27:00] [PASSED] drm_test_connector_hdmi_init_null_vendor
[07:27:00] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[07:27:00] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[07:27:00] [PASSED] drm_test_connector_hdmi_init_product_valid
[07:27:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[07:27:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[07:27:00] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[07:27:00] ========= drm_test_connector_hdmi_init_type_valid  =========
[07:27:00] [PASSED] HDMI-A
[07:27:00] [PASSED] HDMI-B
[07:27:00] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[07:27:00] ======== drm_test_connector_hdmi_init_type_invalid  ========
[07:27:00] [PASSED] Unknown
[07:27:00] [PASSED] VGA
[07:27:00] [PASSED] DVI-I
[07:27:00] [PASSED] DVI-D
[07:27:00] [PASSED] DVI-A
[07:27:00] [PASSED] Composite
[07:27:00] [PASSED] SVIDEO
[07:27:00] [PASSED] LVDS
[07:27:00] [PASSED] Component
[07:27:00] [PASSED] DIN
[07:27:00] [PASSED] DP
[07:27:00] [PASSED] TV
[07:27:00] [PASSED] eDP
[07:27:00] [PASSED] Virtual
[07:27:00] [PASSED] DSI
[07:27:00] [PASSED] DPI
[07:27:00] [PASSED] Writeback
[07:27:00] [PASSED] SPI
[07:27:00] [PASSED] USB
[07:27:00] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[07:27:00] ============ [PASSED] drmm_connector_hdmi_init =============
[07:27:00] ============= drmm_connector_init (3 subtests) =============
[07:27:00] [PASSED] drm_test_drmm_connector_init
[07:27:00] [PASSED] drm_test_drmm_connector_init_null_ddc
[07:27:00] ========= drm_test_drmm_connector_init_type_valid  =========
[07:27:00] [PASSED] Unknown
[07:27:00] [PASSED] VGA
[07:27:00] [PASSED] DVI-I
[07:27:00] [PASSED] DVI-D
[07:27:00] [PASSED] DVI-A
[07:27:00] [PASSED] Composite
[07:27:00] [PASSED] SVIDEO
[07:27:00] [PASSED] LVDS
[07:27:00] [PASSED] Component
[07:27:00] [PASSED] DIN
[07:27:00] [PASSED] DP
[07:27:00] [PASSED] HDMI-A
[07:27:00] [PASSED] HDMI-B
[07:27:00] [PASSED] TV
[07:27:00] [PASSED] eDP
[07:27:00] [PASSED] Virtual
[07:27:00] [PASSED] DSI
[07:27:00] [PASSED] DPI
[07:27:00] [PASSED] Writeback
[07:27:00] [PASSED] SPI
[07:27:00] [PASSED] USB
[07:27:00] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[07:27:00] =============== [PASSED] drmm_connector_init ===============
[07:27:00] ========= drm_connector_dynamic_init (6 subtests) ==========
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_init
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_init_properties
[07:27:00] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[07:27:00] [PASSED] Unknown
[07:27:00] [PASSED] VGA
[07:27:00] [PASSED] DVI-I
[07:27:00] [PASSED] DVI-D
[07:27:00] [PASSED] DVI-A
[07:27:00] [PASSED] Composite
[07:27:00] [PASSED] SVIDEO
[07:27:00] [PASSED] LVDS
[07:27:00] [PASSED] Component
[07:27:00] [PASSED] DIN
[07:27:00] [PASSED] DP
[07:27:00] [PASSED] HDMI-A
[07:27:00] [PASSED] HDMI-B
[07:27:00] [PASSED] TV
[07:27:00] [PASSED] eDP
[07:27:00] [PASSED] Virtual
[07:27:00] [PASSED] DSI
[07:27:00] [PASSED] DPI
[07:27:00] [PASSED] Writeback
[07:27:00] [PASSED] SPI
[07:27:00] [PASSED] USB
[07:27:00] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[07:27:00] ======== drm_test_drm_connector_dynamic_init_name  =========
[07:27:00] [PASSED] Unknown
[07:27:00] [PASSED] VGA
[07:27:00] [PASSED] DVI-I
[07:27:00] [PASSED] DVI-D
[07:27:00] [PASSED] DVI-A
[07:27:00] [PASSED] Composite
[07:27:00] [PASSED] SVIDEO
[07:27:00] [PASSED] LVDS
[07:27:00] [PASSED] Component
[07:27:00] [PASSED] DIN
[07:27:00] [PASSED] DP
[07:27:00] [PASSED] HDMI-A
[07:27:00] [PASSED] HDMI-B
[07:27:00] [PASSED] TV
[07:27:00] [PASSED] eDP
[07:27:00] [PASSED] Virtual
[07:27:00] [PASSED] DSI
[07:27:00] [PASSED] DPI
[07:27:00] [PASSED] Writeback
[07:27:00] [PASSED] SPI
[07:27:00] [PASSED] USB
[07:27:00] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[07:27:00] =========== [PASSED] drm_connector_dynamic_init ============
[07:27:00] ==== drm_connector_dynamic_register_early (4 subtests) =====
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[07:27:00] ====== [PASSED] drm_connector_dynamic_register_early =======
[07:27:00] ======= drm_connector_dynamic_register (7 subtests) ========
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[07:27:00] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[07:27:00] ========= [PASSED] drm_connector_dynamic_register ==========
[07:27:00] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[07:27:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[07:27:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[07:27:00] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[07:27:00] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[07:27:00] ========== drm_test_get_tv_mode_from_name_valid  ===========
[07:27:00] [PASSED] NTSC
[07:27:00] [PASSED] NTSC-443
[07:27:00] [PASSED] NTSC-J
[07:27:00] [PASSED] PAL
[07:27:00] [PASSED] PAL-M
[07:27:00] [PASSED] PAL-N
[07:27:00] [PASSED] SECAM
[07:27:00] [PASSED] Mono
[07:27:00] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[07:27:00] [PASSED] drm_test_get_tv_mode_from_name_truncated
[07:27:00] ============ [PASSED] drm_get_tv_mode_from_name ============
[07:27:00] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[07:27:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[07:27:00] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[07:27:00] [PASSED] VIC 96
[07:27:00] [PASSED] VIC 97
[07:27:00] [PASSED] VIC 101
[07:27:00] [PASSED] VIC 102
[07:27:00] [PASSED] VIC 106
[07:27:00] [PASSED] VIC 107
[07:27:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[07:27:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[07:27:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[07:27:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[07:27:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[07:27:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[07:27:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[07:27:00] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[07:27:00] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[07:27:00] [PASSED] Automatic
[07:27:00] [PASSED] Full
[07:27:00] [PASSED] Limited 16:235
[07:27:00] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[07:27:00] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[07:27:00] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[07:27:00] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[07:27:00] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[07:27:00] [PASSED] RGB
[07:27:00] [PASSED] YUV 4:2:0
[07:27:00] [PASSED] YUV 4:2:2
[07:27:00] [PASSED] YUV 4:4:4
[07:27:00] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[07:27:00] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[07:27:00] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[07:27:00] ============= drm_damage_helper (21 subtests) ==============
[07:27:00] [PASSED] drm_test_damage_iter_no_damage
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_src_moved
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_not_visible
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[07:27:00] [PASSED] drm_test_damage_iter_no_damage_no_fb
[07:27:00] [PASSED] drm_test_damage_iter_simple_damage
[07:27:00] [PASSED] drm_test_damage_iter_single_damage
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_outside_src
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_src_moved
[07:27:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[07:27:00] [PASSED] drm_test_damage_iter_damage
[07:27:00] [PASSED] drm_test_damage_iter_damage_one_intersect
[07:27:00] [PASSED] drm_test_damage_iter_damage_one_outside
[07:27:00] [PASSED] drm_test_damage_iter_damage_src_moved
[07:27:00] [PASSED] drm_test_damage_iter_damage_not_visible
[07:27:00] ================ [PASSED] drm_damage_helper ================
[07:27:00] ============== drm_dp_mst_helper (3 subtests) ==============
[07:27:00] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[07:27:00] [PASSED] Clock 154000 BPP 30 DSC disabled
[07:27:00] [PASSED] Clock 234000 BPP 30 DSC disabled
[07:27:00] [PASSED] Clock 297000 BPP 24 DSC disabled
[07:27:00] [PASSED] Clock 332880 BPP 24 DSC enabled
[07:27:00] [PASSED] Clock 324540 BPP 24 DSC enabled
[07:27:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[07:27:00] ============== drm_test_dp_mst_calc_pbn_div  ===============
[07:27:00] [PASSED] Link rate 2000000 lane count 4
[07:27:00] [PASSED] Link rate 2000000 lane count 2
[07:27:00] [PASSED] Link rate 2000000 lane count 1
[07:27:00] [PASSED] Link rate 1350000 lane count 4
[07:27:00] [PASSED] Link rate 1350000 lane count 2
[07:27:00] [PASSED] Link rate 1350000 lane count 1
[07:27:00] [PASSED] Link rate 1000000 lane count 4
[07:27:00] [PASSED] Link rate 1000000 lane count 2
[07:27:00] [PASSED] Link rate 1000000 lane count 1
[07:27:00] [PASSED] Link rate 810000 lane count 4
[07:27:00] [PASSED] Link rate 810000 lane count 2
[07:27:00] [PASSED] Link rate 810000 lane count 1
[07:27:00] [PASSED] Link rate 540000 lane count 4
[07:27:00] [PASSED] Link rate 540000 lane count 2
[07:27:00] [PASSED] Link rate 540000 lane count 1
[07:27:00] [PASSED] Link rate 270000 lane count 4
[07:27:00] [PASSED] Link rate 270000 lane count 2
[07:27:00] [PASSED] Link rate 270000 lane count 1
[07:27:00] [PASSED] Link rate 162000 lane count 4
[07:27:00] [PASSED] Link rate 162000 lane count 2
[07:27:00] [PASSED] Link rate 162000 lane count 1
[07:27:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[07:27:00] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[07:27:00] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[07:27:00] [PASSED] DP_POWER_UP_PHY with port number
[07:27:00] [PASSED] DP_POWER_DOWN_PHY with port number
[07:27:00] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[07:27:00] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[07:27:00] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[07:27:00] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[07:27:00] [PASSED] DP_QUERY_PAYLOAD with port number
[07:27:00] [PASSED] DP_QUERY_PAYLOAD with VCPI
[07:27:00] [PASSED] DP_REMOTE_DPCD_READ with port number
[07:27:00] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[07:27:00] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[07:27:00] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[07:27:00] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[07:27:00] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[07:27:00] [PASSED] DP_REMOTE_I2C_READ with port number
[07:27:00] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[07:27:00] [PASSED] DP_REMOTE_I2C_READ with transactions array
[07:27:00] [PASSED] DP_REMOTE_I2C_WRITE with port number
[07:27:00] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[07:27:00] [PASSED] DP_REMOTE_I2C_WRITE with data array
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[07:27:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[07:27:00] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[07:27:00] ================ [PASSED] drm_dp_mst_helper ================
[07:27:00] ================== drm_exec (7 subtests) ===================
[07:27:00] [PASSED] sanitycheck
[07:27:00] [PASSED] test_lock
[07:27:00] [PASSED] test_lock_unlock
[07:27:00] [PASSED] test_duplicates
[07:27:00] [PASSED] test_prepare
[07:27:00] [PASSED] test_prepare_array
[07:27:00] [PASSED] test_multiple_loops
[07:27:00] ==================== [PASSED] drm_exec =====================
[07:27:00] =========== drm_format_helper_test (17 subtests) ===========
[07:27:00] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[07:27:00] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[07:27:00] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[07:27:00] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[07:27:00] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[07:27:00] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[07:27:00] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[07:27:00] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[07:27:00] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[07:27:00] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[07:27:00] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[07:27:00] ============== drm_test_fb_xrgb8888_to_mono  ===============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[07:27:00] ==================== drm_test_fb_swab  =====================
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ================ [PASSED] drm_test_fb_swab =================
[07:27:00] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[07:27:00] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[07:27:00] [PASSED] single_pixel_source_buffer
[07:27:00] [PASSED] single_pixel_clip_rectangle
[07:27:00] [PASSED] well_known_colors
[07:27:00] [PASSED] destination_pitch
[07:27:00] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[07:27:00] ================= drm_test_fb_clip_offset  =================
[07:27:00] [PASSED] pass through
[07:27:00] [PASSED] horizontal offset
[07:27:00] [PASSED] vertical offset
[07:27:00] [PASSED] horizontal and vertical offset
[07:27:00] [PASSED] horizontal offset (custom pitch)
[07:27:00] [PASSED] vertical offset (custom pitch)
[07:27:00] [PASSED] horizontal and vertical offset (custom pitch)
[07:27:00] ============= [PASSED] drm_test_fb_clip_offset =============
[07:27:00] =================== drm_test_fb_memcpy  ====================
[07:27:00] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[07:27:00] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[07:27:00] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[07:27:00] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[07:27:00] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[07:27:00] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[07:27:00] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[07:27:00] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[07:27:00] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[07:27:00] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[07:27:00] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[07:27:00] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[07:27:00] =============== [PASSED] drm_test_fb_memcpy ================
[07:27:00] ============= [PASSED] drm_format_helper_test ==============
[07:27:00] ================= drm_format (18 subtests) =================
[07:27:00] [PASSED] drm_test_format_block_width_invalid
[07:27:00] [PASSED] drm_test_format_block_width_one_plane
[07:27:00] [PASSED] drm_test_format_block_width_two_plane
[07:27:00] [PASSED] drm_test_format_block_width_three_plane
[07:27:00] [PASSED] drm_test_format_block_width_tiled
[07:27:00] [PASSED] drm_test_format_block_height_invalid
[07:27:00] [PASSED] drm_test_format_block_height_one_plane
[07:27:00] [PASSED] drm_test_format_block_height_two_plane
[07:27:00] [PASSED] drm_test_format_block_height_three_plane
[07:27:00] [PASSED] drm_test_format_block_height_tiled
[07:27:00] [PASSED] drm_test_format_min_pitch_invalid
[07:27:00] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[07:27:00] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[07:27:00] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[07:27:00] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[07:27:00] [PASSED] drm_test_format_min_pitch_two_plane
[07:27:00] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[07:27:00] [PASSED] drm_test_format_min_pitch_tiled
[07:27:00] =================== [PASSED] drm_format ====================
[07:27:00] ============== drm_framebuffer (10 subtests) ===============
[07:27:00] ========== drm_test_framebuffer_check_src_coords  ==========
[07:27:00] [PASSED] Success: source fits into fb
[07:27:00] [PASSED] Fail: overflowing fb with x-axis coordinate
[07:27:00] [PASSED] Fail: overflowing fb with y-axis coordinate
[07:27:00] [PASSED] Fail: overflowing fb with source width
[07:27:00] [PASSED] Fail: overflowing fb with source height
[07:27:00] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[07:27:00] [PASSED] drm_test_framebuffer_cleanup
[07:27:00] =============== drm_test_framebuffer_create  ===============
[07:27:00] [PASSED] ABGR8888 normal sizes
[07:27:00] [PASSED] ABGR8888 max sizes
[07:27:00] [PASSED] ABGR8888 pitch greater than min required
[07:27:00] [PASSED] ABGR8888 pitch less than min required
[07:27:00] [PASSED] ABGR8888 Invalid width
[07:27:00] [PASSED] ABGR8888 Invalid buffer handle
[07:27:00] [PASSED] No pixel format
[07:27:00] [PASSED] ABGR8888 Width 0
[07:27:00] [PASSED] ABGR8888 Height 0
[07:27:00] [PASSED] ABGR8888 Out of bound height * pitch combination
[07:27:00] [PASSED] ABGR8888 Large buffer offset
[07:27:00] [PASSED] ABGR8888 Buffer offset for inexistent plane
[07:27:00] [PASSED] ABGR8888 Invalid flag
[07:27:00] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[07:27:00] [PASSED] ABGR8888 Valid buffer modifier
[07:27:00] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[07:27:00] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] NV12 Normal sizes
[07:27:00] [PASSED] NV12 Max sizes
[07:27:00] [PASSED] NV12 Invalid pitch
[07:27:00] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[07:27:00] [PASSED] NV12 different  modifier per-plane
[07:27:00] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[07:27:00] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] NV12 Modifier for inexistent plane
[07:27:00] [PASSED] NV12 Handle for inexistent plane
[07:27:00] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[07:27:00] [PASSED] YVU420 Normal sizes
[07:27:00] [PASSED] YVU420 Max sizes
[07:27:00] [PASSED] YVU420 Invalid pitch
[07:27:00] [PASSED] YVU420 Different pitches
[07:27:00] [PASSED] YVU420 Different buffer offsets/pitches
[07:27:00] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[07:27:00] [PASSED] YVU420 Valid modifier
[07:27:00] [PASSED] YVU420 Different modifiers per plane
[07:27:00] [PASSED] YVU420 Modifier for inexistent plane
[07:27:00] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[07:27:00] [PASSED] X0L2 Normal sizes
[07:27:00] [PASSED] X0L2 Max sizes
[07:27:00] [PASSED] X0L2 Invalid pitch
[07:27:00] [PASSED] X0L2 Pitch greater than minimum required
[07:27:00] [PASSED] X0L2 Handle for inexistent plane
[07:27:00] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[07:27:00] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[07:27:00] [PASSED] X0L2 Valid modifier
[07:27:00] [PASSED] X0L2 Modifier for inexistent plane
[07:27:00] =========== [PASSED] drm_test_framebuffer_create ===========
[07:27:00] [PASSED] drm_test_framebuffer_free
[07:27:00] [PASSED] drm_test_framebuffer_init
[07:27:00] [PASSED] drm_test_framebuffer_init_bad_format
[07:27:00] [PASSED] drm_test_framebuffer_init_dev_mismatch
[07:27:00] [PASSED] drm_test_framebuffer_lookup
[07:27:00] [PASSED] drm_test_framebuffer_lookup_inexistent
[07:27:00] [PASSED] drm_test_framebuffer_modifiers_not_supported
[07:27:00] ================= [PASSED] drm_framebuffer =================
[07:27:00] ================ drm_gem_shmem (8 subtests) ================
[07:27:00] [PASSED] drm_gem_shmem_test_obj_create
[07:27:00] [PASSED] drm_gem_shmem_test_obj_create_private
[07:27:00] [PASSED] drm_gem_shmem_test_pin_pages
[07:27:00] [PASSED] drm_gem_shmem_test_vmap
[07:27:00] [PASSED] drm_gem_shmem_test_get_pages_sgt
[07:27:00] [PASSED] drm_gem_shmem_test_get_sg_table
[07:27:00] [PASSED] drm_gem_shmem_test_madvise
[07:27:00] [PASSED] drm_gem_shmem_test_purge
[07:27:00] ================== [PASSED] drm_gem_shmem ==================
[07:27:00] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[07:27:00] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[07:27:00] [PASSED] Automatic
[07:27:00] [PASSED] Full
[07:27:00] [PASSED] Limited 16:235
[07:27:00] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[07:27:00] [PASSED] drm_test_check_disable_connector
[07:27:00] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[07:27:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[07:27:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[07:27:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[07:27:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[07:27:00] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[07:27:00] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[07:27:00] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[07:27:00] [PASSED] drm_test_check_output_bpc_dvi
[07:27:00] [PASSED] drm_test_check_output_bpc_format_vic_1
[07:27:00] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[07:27:00] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[07:27:00] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[07:27:00] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[07:27:00] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[07:27:00] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[07:27:00] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[07:27:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[07:27:00] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[07:27:00] [PASSED] drm_test_check_broadcast_rgb_value
[07:27:00] [PASSED] drm_test_check_bpc_8_value
[07:27:00] [PASSED] drm_test_check_bpc_10_value
[07:27:00] [PASSED] drm_test_check_bpc_12_value
[07:27:00] [PASSED] drm_test_check_format_value
[07:27:00] [PASSED] drm_test_check_tmds_char_value
[07:27:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[07:27:00] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[07:27:00] [PASSED] drm_test_check_mode_valid
[07:27:00] [PASSED] drm_test_check_mode_valid_reject
[07:27:00] [PASSED] drm_test_check_mode_valid_reject_rate
[07:27:00] [PASSED] drm_test_check_mode_valid_reject_max_clock
[07:27:00] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[07:27:00] ================= drm_managed (2 subtests) =================
[07:27:00] [PASSED] drm_test_managed_release_action
[07:27:00] [PASSED] drm_test_managed_run_action
[07:27:00] =================== [PASSED] drm_managed ===================
[07:27:00] =================== drm_mm (6 subtests) ====================
[07:27:00] [PASSED] drm_test_mm_init
[07:27:00] [PASSED] drm_test_mm_debug
[07:27:00] [PASSED] drm_test_mm_align32
[07:27:00] [PASSED] drm_test_mm_align64
[07:27:00] [PASSED] drm_test_mm_lowest
[07:27:00] [PASSED] drm_test_mm_highest
[07:27:00] ===================== [PASSED] drm_mm ======================
[07:27:00] ============= drm_modes_analog_tv (5 subtests) =============
[07:27:00] [PASSED] drm_test_modes_analog_tv_mono_576i
[07:27:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[07:27:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[07:27:00] [PASSED] drm_test_modes_analog_tv_pal_576i
[07:27:00] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[07:27:00] =============== [PASSED] drm_modes_analog_tv ===============
[07:27:00] ============== drm_plane_helper (2 subtests) ===============
[07:27:00] =============== drm_test_check_plane_state  ================
[07:27:00] [PASSED] clipping_simple
[07:27:00] [PASSED] clipping_rotate_reflect
[07:27:00] [PASSED] positioning_simple
[07:27:00] [PASSED] upscaling
[07:27:00] [PASSED] downscaling
[07:27:00] [PASSED] rounding1
[07:27:00] [PASSED] rounding2
[07:27:00] [PASSED] rounding3
[07:27:00] [PASSED] rounding4
[07:27:00] =========== [PASSED] drm_test_check_plane_state ============
[07:27:00] =========== drm_test_check_invalid_plane_state  ============
[07:27:00] [PASSED] positioning_invalid
[07:27:00] [PASSED] upscaling_invalid
[07:27:00] [PASSED] downscaling_invalid
[07:27:00] ======= [PASSED] drm_test_check_invalid_plane_state ========
[07:27:00] ================ [PASSED] drm_plane_helper =================
[07:27:00] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[07:27:00] ====== drm_test_connector_helper_tv_get_modes_check  =======
[07:27:00] [PASSED] None
[07:27:00] [PASSED] PAL
[07:27:00] [PASSED] NTSC
[07:27:00] [PASSED] Both, NTSC Default
[07:27:00] [PASSED] Both, PAL Default
[07:27:00] [PASSED] Both, NTSC Default, with PAL on command-line
[07:27:00] [PASSED] Both, PAL Default, with NTSC on command-line
[07:27:00] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[07:27:00] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[07:27:00] ================== drm_rect (9 subtests) ===================
[07:27:00] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[07:27:00] [PASSED] drm_test_rect_clip_scaled_not_clipped
[07:27:00] [PASSED] drm_test_rect_clip_scaled_clipped
[07:27:00] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[07:27:00] ================= drm_test_rect_intersect  =================
[07:27:00] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[07:27:00] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[07:27:00] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[07:27:00] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[07:27:00] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[07:27:00] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[07:27:00] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[07:27:00] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[07:27:00] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[07:27:00] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[07:27:00] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[07:27:00] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[07:27:00] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[07:27:00] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[07:27:00] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[07:27:00] ============= [PASSED] drm_test_rect_intersect =============
[07:27:00] ================ drm_test_rect_calc_hscale  ================
[07:27:00] [PASSED] normal use
[07:27:00] [PASSED] out of max range
[07:27:00] [PASSED] out of min range
[07:27:00] [PASSED] zero dst
[07:27:00] [PASSED] negative src
[07:27:00] [PASSED] negative dst
[07:27:00] ============ [PASSED] drm_test_rect_calc_hscale ============
[07:27:00] ================ drm_test_rect_calc_vscale  ================
[07:27:00] [PASSED] normal use
[07:27:00] [PASSED] out of max range
[07:27:00] [PASSED] out of min range
[07:27:00] [PASSED] zero dst
[07:27:00] [PASSED] negative src
[07:27:00] [PASSED] negative dst
[07:27:00] ============ [PASSED] drm_test_rect_calc_vscale ============
[07:27:00] ================== drm_test_rect_rotate  ===================
[07:27:00] [PASSED] reflect-x
[07:27:00] [PASSED] reflect-y
[07:27:00] [PASSED] rotate-0
[07:27:00] [PASSED] rotate-90
[07:27:00] [PASSED] rotate-180
[07:27:00] [PASSED] rotate-270
stty: 'standard input': Inappropriate ioctl for device
[07:27:00] ============== [PASSED] drm_test_rect_rotate ===============
[07:27:00] ================ drm_test_rect_rotate_inv  =================
[07:27:00] [PASSED] reflect-x
[07:27:00] [PASSED] reflect-y
[07:27:00] [PASSED] rotate-0
[07:27:00] [PASSED] rotate-90
[07:27:00] [PASSED] rotate-180
[07:27:00] [PASSED] rotate-270
[07:27:00] ============ [PASSED] drm_test_rect_rotate_inv =============
[07:27:00] ==================== [PASSED] drm_rect =====================
[07:27:00] ============ drm_sysfb_modeset_test (1 subtest) ============
[07:27:00] ============ drm_test_sysfb_build_fourcc_list  =============
[07:27:00] [PASSED] no native formats
[07:27:00] [PASSED] XRGB8888 as native format
[07:27:00] [PASSED] remove duplicates
[07:27:00] [PASSED] convert alpha formats
[07:27:00] [PASSED] random formats
[07:27:00] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[07:27:00] ============= [PASSED] drm_sysfb_modeset_test ==============
[07:27:00] ============================================================
[07:27:00] Testing complete. Ran 616 tests: passed: 616
[07:27:00] Elapsed time: 24.953s total, 1.766s configuring, 23.018s building, 0.146s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[07:27:00] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:27:01] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:27:09] Starting KUnit Kernel (1/1)...
[07:27:09] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:27:09] ================= ttm_device (5 subtests) ==================
[07:27:09] [PASSED] ttm_device_init_basic
[07:27:09] [PASSED] ttm_device_init_multiple
[07:27:09] [PASSED] ttm_device_fini_basic
[07:27:09] [PASSED] ttm_device_init_no_vma_man
[07:27:09] ================== ttm_device_init_pools  ==================
[07:27:09] [PASSED] No DMA allocations, no DMA32 required
[07:27:09] [PASSED] DMA allocations, DMA32 required
[07:27:09] [PASSED] No DMA allocations, DMA32 required
[07:27:09] [PASSED] DMA allocations, no DMA32 required
[07:27:09] ============== [PASSED] ttm_device_init_pools ==============
[07:27:09] =================== [PASSED] ttm_device ====================
[07:27:09] ================== ttm_pool (8 subtests) ===================
[07:27:09] ================== ttm_pool_alloc_basic  ===================
[07:27:09] [PASSED] One page
[07:27:09] [PASSED] More than one page
[07:27:09] [PASSED] Above the allocation limit
[07:27:09] [PASSED] One page, with coherent DMA mappings enabled
[07:27:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:27:09] ============== [PASSED] ttm_pool_alloc_basic ===============
[07:27:09] ============== ttm_pool_alloc_basic_dma_addr  ==============
[07:27:09] [PASSED] One page
[07:27:09] [PASSED] More than one page
[07:27:09] [PASSED] Above the allocation limit
[07:27:09] [PASSED] One page, with coherent DMA mappings enabled
[07:27:09] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:27:09] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[07:27:09] [PASSED] ttm_pool_alloc_order_caching_match
[07:27:09] [PASSED] ttm_pool_alloc_caching_mismatch
[07:27:09] [PASSED] ttm_pool_alloc_order_mismatch
[07:27:09] [PASSED] ttm_pool_free_dma_alloc
[07:27:09] [PASSED] ttm_pool_free_no_dma_alloc
[07:27:09] [PASSED] ttm_pool_fini_basic
[07:27:09] ==================== [PASSED] ttm_pool =====================
[07:27:09] ================ ttm_resource (8 subtests) =================
[07:27:09] ================= ttm_resource_init_basic  =================
[07:27:09] [PASSED] Init resource in TTM_PL_SYSTEM
[07:27:09] [PASSED] Init resource in TTM_PL_VRAM
[07:27:09] [PASSED] Init resource in a private placement
[07:27:09] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[07:27:09] ============= [PASSED] ttm_resource_init_basic =============
[07:27:09] [PASSED] ttm_resource_init_pinned
[07:27:09] [PASSED] ttm_resource_fini_basic
[07:27:09] [PASSED] ttm_resource_manager_init_basic
[07:27:09] [PASSED] ttm_resource_manager_usage_basic
[07:27:09] [PASSED] ttm_resource_manager_set_used_basic
[07:27:09] [PASSED] ttm_sys_man_alloc_basic
[07:27:09] [PASSED] ttm_sys_man_free_basic
[07:27:09] ================== [PASSED] ttm_resource ===================
[07:27:09] =================== ttm_tt (15 subtests) ===================
[07:27:09] ==================== ttm_tt_init_basic  ====================
[07:27:09] [PASSED] Page-aligned size
[07:27:09] [PASSED] Extra pages requested
[07:27:09] ================ [PASSED] ttm_tt_init_basic ================
[07:27:09] [PASSED] ttm_tt_init_misaligned
[07:27:09] [PASSED] ttm_tt_fini_basic
[07:27:09] [PASSED] ttm_tt_fini_sg
[07:27:09] [PASSED] ttm_tt_fini_shmem
[07:27:09] [PASSED] ttm_tt_create_basic
[07:27:09] [PASSED] ttm_tt_create_invalid_bo_type
[07:27:09] [PASSED] ttm_tt_create_ttm_exists
[07:27:09] [PASSED] ttm_tt_create_failed
[07:27:09] [PASSED] ttm_tt_destroy_basic
[07:27:09] [PASSED] ttm_tt_populate_null_ttm
[07:27:09] [PASSED] ttm_tt_populate_populated_ttm
[07:27:09] [PASSED] ttm_tt_unpopulate_basic
[07:27:09] [PASSED] ttm_tt_unpopulate_empty_ttm
[07:27:09] [PASSED] ttm_tt_swapin_basic
[07:27:09] ===================== [PASSED] ttm_tt ======================
[07:27:09] =================== ttm_bo (14 subtests) ===================
[07:27:09] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[07:27:09] [PASSED] Cannot be interrupted and sleeps
[07:27:09] [PASSED] Cannot be interrupted, locks straight away
[07:27:09] [PASSED] Can be interrupted, sleeps
[07:27:09] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[07:27:09] [PASSED] ttm_bo_reserve_locked_no_sleep
[07:27:09] [PASSED] ttm_bo_reserve_no_wait_ticket
[07:27:09] [PASSED] ttm_bo_reserve_double_resv
[07:27:09] [PASSED] ttm_bo_reserve_interrupted
[07:27:09] [PASSED] ttm_bo_reserve_deadlock
[07:27:09] [PASSED] ttm_bo_unreserve_basic
[07:27:09] [PASSED] ttm_bo_unreserve_pinned
[07:27:09] [PASSED] ttm_bo_unreserve_bulk
[07:27:09] [PASSED] ttm_bo_put_basic
[07:27:09] [PASSED] ttm_bo_put_shared_resv
[07:27:09] [PASSED] ttm_bo_pin_basic
[07:27:09] [PASSED] ttm_bo_pin_unpin_resource
[07:27:09] [PASSED] ttm_bo_multiple_pin_one_unpin
[07:27:09] ===================== [PASSED] ttm_bo ======================
[07:27:09] ============== ttm_bo_validate (21 subtests) ===============
[07:27:09] ============== ttm_bo_init_reserved_sys_man  ===============
[07:27:09] [PASSED] Buffer object for userspace
[07:27:09] [PASSED] Kernel buffer object
[07:27:09] [PASSED] Shared buffer object
[07:27:09] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[07:27:09] ============== ttm_bo_init_reserved_mock_man  ==============
[07:27:09] [PASSED] Buffer object for userspace
[07:27:09] [PASSED] Kernel buffer object
[07:27:09] [PASSED] Shared buffer object
[07:27:09] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[07:27:09] [PASSED] ttm_bo_init_reserved_resv
[07:27:09] ================== ttm_bo_validate_basic  ==================
[07:27:09] [PASSED] Buffer object for userspace
[07:27:09] [PASSED] Kernel buffer object
[07:27:09] [PASSED] Shared buffer object
[07:27:09] ============== [PASSED] ttm_bo_validate_basic ==============
[07:27:09] [PASSED] ttm_bo_validate_invalid_placement
[07:27:09] ============= ttm_bo_validate_same_placement  ==============
[07:27:09] [PASSED] System manager
[07:27:09] [PASSED] VRAM manager
[07:27:09] ========= [PASSED] ttm_bo_validate_same_placement ==========
[07:27:09] [PASSED] ttm_bo_validate_failed_alloc
[07:27:09] [PASSED] ttm_bo_validate_pinned
[07:27:09] [PASSED] ttm_bo_validate_busy_placement
[07:27:09] ================ ttm_bo_validate_multihop  =================
[07:27:09] [PASSED] Buffer object for userspace
[07:27:09] [PASSED] Kernel buffer object
[07:27:09] [PASSED] Shared buffer object
[07:27:09] ============ [PASSED] ttm_bo_validate_multihop =============
[07:27:09] ========== ttm_bo_validate_no_placement_signaled  ==========
[07:27:09] [PASSED] Buffer object in system domain, no page vector
[07:27:09] [PASSED] Buffer object in system domain with an existing page vector
[07:27:09] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[07:27:09] ======== ttm_bo_validate_no_placement_not_signaled  ========
[07:27:09] [PASSED] Buffer object for userspace
[07:27:09] [PASSED] Kernel buffer object
[07:27:09] [PASSED] Shared buffer object
[07:27:09] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[07:27:09] [PASSED] ttm_bo_validate_move_fence_signaled
[07:27:10] ========= ttm_bo_validate_move_fence_not_signaled  =========
[07:27:10] [PASSED] Waits for GPU
[07:27:10] [PASSED] Tries to lock straight away
[07:27:10] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[07:27:10] [PASSED] ttm_bo_validate_happy_evict
[07:27:10] [PASSED] ttm_bo_validate_all_pinned_evict
[07:27:10] [PASSED] ttm_bo_validate_allowed_only_evict
[07:27:10] [PASSED] ttm_bo_validate_deleted_evict
[07:27:10] [PASSED] ttm_bo_validate_busy_domain_evict
[07:27:10] [PASSED] ttm_bo_validate_evict_gutting
[07:27:10] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[07:27:10] ================= [PASSED] ttm_bo_validate =================
[07:27:10] ============================================================
[07:27:10] Testing complete. Ran 101 tests: passed: 101
[07:27:10] Elapsed time: 9.878s total, 1.705s configuring, 7.957s building, 0.179s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



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

* ✗ CI.checksparse: warning for User readable error codes on atomic_ioctl failure (rev4)
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (6 preceding siblings ...)
  2025-09-16  7:27 ` ✓ CI.KUnit: success " Patchwork
@ 2025-09-16  7:42 ` Patchwork
  2025-09-16  8:09 ` ✓ Xe.CI.BAT: success " Patchwork
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2025-09-16  7:42 UTC (permalink / raw)
  To: Arun R Murthy; +Cc: intel-xe

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev4)
URL   : https://patchwork.freedesktop.org/series/152277/
State : warning

== Summary ==

+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast e9c137c33746d8007daa202af67b6aefd18a0121
Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately.
-
+drivers/gpu/drm/drm_drv.c:449:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block
+drivers/gpu/drm/drm_drv.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
+drivers/gpu/drm/drm_plane.c:213:24: warning: Using plain integer as NULL pointer
+drivers/gpu/drm/i915/display/intel_alpm.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_cdclk.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_ddi.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2023:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2036:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2036:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2036:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_hdcp.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_hotplug.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_pps.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_psr.c: note: in included file:
+drivers/gpu/drm/i915/gt/intel_reset.c:1569:12: warning: context imbalance in '_intel_gt_reset_lock' - different lock contexts for basic block
+drivers/gpu/drm/i915/gt/intel_sseu.c:598:17: error: too long token expansion
+drivers/gpu/drm/i915/i915_active.c:1062:16: warning: context imbalance in '__i915_active_fence_set' - different lock contexts for basic block
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    expected struct list_head const *list
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    got struct list_head [noderef] __rcu *pos
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/i915/i915_gpu_error.c:692:3: warning: symbol 'guc_hw_reg_state' was not declared. Should it be static?
+drivers/gpu/drm/i915/i915_irq.c:486:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:486:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:494:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:494:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:499:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:499:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:499:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:537:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:537:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:545:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:545:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:550:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:550:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:550:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:594:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:594:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:597:15: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:597:15: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:601:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:601:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:608:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:608:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:608:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:608:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/intel_uncore.c:1928:1: warning: context imbalance in 'fwtable_read8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1929:1: warning: context imbalance in 'fwtable_read16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1930:1: warning: context imbalance in 'fwtable_read32' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1931:1: warning: context imbalance in 'fwtable_read64' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1996:1: warning: context imbalance in 'gen6_write8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1997:1: warning: context imbalance in 'gen6_write16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1998:1: warning: context imbalance in 'gen6_write32' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2018:1: warning: context imbalance in 'fwtable_write8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2019:1: warning: context imbalance in 'fwtable_write16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2020:1: warning: context imbalance in 'fwtable_write32' - unexpected unlock
+drivers/gpu/drm/i915/intel_wakeref.c:146:19: warning: context imbalance in 'wakeref_auto_timeout' - unexpected unlock
+drivers/gpu/drm/ttm/ttm_bo.c:1199:31: warning: symbol 'ttm_swap_ops' was not declared. Should it be static?
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38:    expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38:    got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38:    expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38:    got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38:    expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38:    got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28:    expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28:    got void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: warning: incorrect type in argument 1 (different address spaces)
+./include/linux/srcu.h:373:9: warning: context imbalance in 'drm_dev_exit' - unexpected unlock

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



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

* ✓ Xe.CI.BAT: success for User readable error codes on atomic_ioctl failure (rev4)
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (7 preceding siblings ...)
  2025-09-16  7:42 ` ✗ CI.checksparse: warning " Patchwork
@ 2025-09-16  8:09 ` Patchwork
  2025-09-16 10:24 ` ✗ Xe.CI.Full: failure " Patchwork
  2025-09-30  4:03 ` [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R
  10 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2025-09-16  8:09 UTC (permalink / raw)
  To: Arun R Murthy; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev4)
URL   : https://patchwork.freedesktop.org/series/152277/
State : success

== Summary ==

CI Bug Log - changes from xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121_BAT -> xe-pw-152277v4_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (11 -> 11)
------------------------------

  No changes in participating hosts


Changes
-------

  No changes found


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

  * Linux: xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121 -> xe-pw-152277v4

  IGT_8540: 8540
  xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121: e9c137c33746d8007daa202af67b6aefd18a0121
  xe-pw-152277v4: 152277v4

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 1427 bytes --]

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

* ✗ Xe.CI.Full: failure for User readable error codes on atomic_ioctl failure (rev4)
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (8 preceding siblings ...)
  2025-09-16  8:09 ` ✓ Xe.CI.BAT: success " Patchwork
@ 2025-09-16 10:24 ` Patchwork
  2025-09-30  4:03 ` [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R
  10 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2025-09-16 10:24 UTC (permalink / raw)
  To: Arun R Murthy; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 45001 bytes --]

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev4)
URL   : https://patchwork.freedesktop.org/series/152277/
State : failure

== Summary ==

CI Bug Log - changes from xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121_FULL -> xe-pw-152277v4_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-152277v4_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-152277v4_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

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

  No changes in participating hosts

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

  Here are the unknown changes that may have been introduced in xe-pw-152277v4_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_atomic@atomic-invalid-params:
    - shard-lnl:          [PASS][1] -> [DMESG-FAIL][2] +1 other test dmesg-fail
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-1/igt@kms_atomic@atomic-invalid-params.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-2/igt@kms_atomic@atomic-invalid-params.html

  * igt@kms_atomic@atomic-invalid-params@pipe-a-dp-2:
    - shard-bmg:          [PASS][3] -> [DMESG-FAIL][4] +1 other test dmesg-fail
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-3/igt@kms_atomic@atomic-invalid-params@pipe-a-dp-2.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-7/igt@kms_atomic@atomic-invalid-params@pipe-a-dp-2.html

  * igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-1:
    - shard-adlp:         [PASS][5] -> [DMESG-FAIL][6] +1 other test dmesg-fail
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-4/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-1.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-8/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-1.html

  * igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     [PASS][7] -> [DMESG-FAIL][8] +1 other test dmesg-fail
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-433/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-464/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6.html

  * igt@kms_atomic@crtc-invalid-params:
    - shard-lnl:          [PASS][9] -> [DMESG-WARN][10] +1 other test dmesg-warn
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-3/igt@kms_atomic@crtc-invalid-params.html
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-7/igt@kms_atomic@crtc-invalid-params.html
    - shard-adlp:         [PASS][11] -> [DMESG-WARN][12] +1 other test dmesg-warn
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-9/igt@kms_atomic@crtc-invalid-params.html
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-3/igt@kms_atomic@crtc-invalid-params.html

  * igt@kms_atomic@crtc-invalid-params-fence:
    - shard-bmg:          [PASS][13] -> [INCOMPLETE][14] +1 other test incomplete
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-5/igt@kms_atomic@crtc-invalid-params-fence.html
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-7/igt@kms_atomic@crtc-invalid-params-fence.html
    - shard-adlp:         [PASS][15] -> [INCOMPLETE][16] +1 other test incomplete
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-2/igt@kms_atomic@crtc-invalid-params-fence.html
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-1/igt@kms_atomic@crtc-invalid-params-fence.html

  * igt@kms_atomic@crtc-invalid-params-fence@pipe-a-edp-1:
    - shard-lnl:          [PASS][17] -> [INCOMPLETE][18] +1 other test incomplete
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-4/igt@kms_atomic@crtc-invalid-params-fence@pipe-a-edp-1.html
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-4/igt@kms_atomic@crtc-invalid-params-fence@pipe-a-edp-1.html

  * igt@kms_atomic@crtc-invalid-params@pipe-a-dp-2:
    - shard-bmg:          [PASS][19] -> [DMESG-WARN][20] +1 other test dmesg-warn
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-3/igt@kms_atomic@crtc-invalid-params@pipe-a-dp-2.html
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-5/igt@kms_atomic@crtc-invalid-params@pipe-a-dp-2.html

  * igt@kms_atomic@crtc-invalid-params@pipe-a-hdmi-a-6:
    - shard-dg2-set2:     [PASS][21] -> [DMESG-WARN][22] +1 other test dmesg-warn
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-463/igt@kms_atomic@crtc-invalid-params@pipe-a-hdmi-a-6.html
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-433/igt@kms_atomic@crtc-invalid-params@pipe-a-hdmi-a-6.html

  * igt@kms_atomic_transition@modeset-transition-nonblocking-fencing:
    - shard-dg2-set2:     [PASS][23] -> [FAIL][24] +26 other tests fail
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-464/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-435/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html

  * igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-2:
    - shard-dg2-set2:     NOTRUN -> [FAIL][25] +3 other tests fail
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-432/igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-2.html

  * igt@kms_atomic_transition@plane-all-transition-nonblocking:
    - shard-bmg:          [PASS][26] -> [FAIL][27] +23 other tests fail
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-4/igt@kms_atomic_transition@plane-all-transition-nonblocking.html
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-5/igt@kms_atomic_transition@plane-all-transition-nonblocking.html

  * igt@kms_atomic_transition@plane-all-transition@pipe-b-hdmi-a-1:
    - shard-adlp:         [PASS][28] -> [FAIL][29] +8 other tests fail
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-9/igt@kms_atomic_transition@plane-all-transition@pipe-b-hdmi-a-1.html
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-3/igt@kms_atomic_transition@plane-all-transition@pipe-b-hdmi-a-1.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
    - shard-bmg:          NOTRUN -> [FAIL][30]
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html

  * igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
    - shard-lnl:          [PASS][31] -> [FAIL][32] +3 other tests fail
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-5/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-1/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html

  
#### Warnings ####

  * igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1:
    - shard-adlp:         [FAIL][33] ([Intel XE#3908]) -> [FAIL][34] +1 other test fail
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-2/igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1.html
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-1/igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1.html

  
#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * {igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode}:
    - shard-adlp:         [FAIL][35] ([Intel XE#6130]) -> [FAIL][36]
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-1/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-4/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
    - shard-bmg:          [FAIL][37] ([Intel XE#6130]) -> [FAIL][38]
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-5/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
    - shard-dg2-set2:     [FAIL][39] ([Intel XE#6130]) -> [FAIL][40]
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-432/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-434/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
    - shard-lnl:          [FAIL][41] ([Intel XE#6130]) -> [FAIL][42]
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-8/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@xe_fault_injection@inject-fault-probe-function-guc_wait_ucode.html

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

  Here are the changes found in xe-pw-152277v4_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@intel_hwmon@hwmon-write:
    - shard-bmg:          NOTRUN -> [FAIL][43] ([Intel XE#4665])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@intel_hwmon@hwmon-write.html

  * igt@kms_atomic_transition@plane-toggle-modeset-transition:
    - shard-adlp:         [PASS][44] -> [FAIL][45] ([Intel XE#3908]) +1 other test fail
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-3/igt@kms_atomic_transition@plane-toggle-modeset-transition.html
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-9/igt@kms_atomic_transition@plane-toggle-modeset-transition.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
    - shard-lnl:          NOTRUN -> [SKIP][46] ([Intel XE#3658])
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

  * igt@kms_big_fb@y-tiled-16bpp-rotate-180:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#1124]) +1 other test skip
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_big_fb@y-tiled-16bpp-rotate-180.html

  * igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#2314] / [Intel XE#2894])
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p.html
    - shard-lnl:          NOTRUN -> [SKIP][49] ([Intel XE#2191])
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p.html

  * igt@kms_bw@linear-tiling-4-displays-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#367])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_bw@linear-tiling-4-displays-3840x2160p.html
    - shard-lnl:          NOTRUN -> [SKIP][51] ([Intel XE#1512])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_bw@linear-tiling-4-displays-3840x2160p.html

  * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#2887]) +3 other tests skip
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs.html
    - shard-lnl:          NOTRUN -> [SKIP][53] ([Intel XE#2887])
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs.html

  * igt@kms_ccs@ccs-on-another-bo-y-tiled-ccs@pipe-d-dp-2:
    - shard-dg2-set2:     NOTRUN -> [SKIP][54] ([Intel XE#455] / [Intel XE#787]) +6 other tests skip
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-432/igt@kms_ccs@ccs-on-another-bo-y-tiled-ccs@pipe-d-dp-2.html

  * igt@kms_ccs@missing-ccs-buffer-yf-tiled-ccs@pipe-b-dp-4:
    - shard-dg2-set2:     NOTRUN -> [SKIP][55] ([Intel XE#787]) +48 other tests skip
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-434/igt@kms_ccs@missing-ccs-buffer-yf-tiled-ccs@pipe-b-dp-4.html

  * igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
    - shard-dg2-set2:     [PASS][56] -> [INCOMPLETE][57] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4345] / [Intel XE#4522])
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html

  * igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4:
    - shard-dg2-set2:     [PASS][58] -> [INCOMPLETE][59] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4522])
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4.html
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4.html

  * igt@kms_chamelium_frames@hdmi-aspect-ratio:
    - shard-bmg:          NOTRUN -> [SKIP][60] ([Intel XE#2252]) +2 other tests skip
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_chamelium_frames@hdmi-aspect-ratio.html
    - shard-lnl:          NOTRUN -> [SKIP][61] ([Intel XE#373]) +1 other test skip
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_chamelium_frames@hdmi-aspect-ratio.html

  * igt@kms_content_protection@atomic-dpms:
    - shard-lnl:          NOTRUN -> [SKIP][62] ([Intel XE#3278])
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_content_protection@atomic-dpms.html

  * igt@kms_content_protection@atomic-dpms@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][63] ([Intel XE#1178]) +1 other test fail
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_content_protection@atomic-dpms@pipe-a-dp-2.html

  * igt@kms_content_protection@dp-mst-lic-type-0:
    - shard-bmg:          NOTRUN -> [SKIP][64] ([Intel XE#2390])
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_content_protection@dp-mst-lic-type-0.html

  * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
    - shard-bmg:          [PASS][65] -> [SKIP][66] ([Intel XE#2291]) +1 other test skip
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-8/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-6/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html

  * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2:
    - shard-dg2-set2:     NOTRUN -> [SKIP][67] ([Intel XE#4494])
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-432/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2.html

  * igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
    - shard-bmg:          NOTRUN -> [SKIP][68] ([Intel XE#4422])
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests.html

  * igt@kms_fbcon_fbt@psr-suspend:
    - shard-dg2-set2:     NOTRUN -> [SKIP][69] ([Intel XE#776])
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_fbcon_fbt@psr-suspend.html

  * igt@kms_flip@2x-flip-vs-wf_vblank:
    - shard-lnl:          NOTRUN -> [SKIP][70] ([Intel XE#1421])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_flip@2x-flip-vs-wf_vblank.html

  * igt@kms_flip@flip-vs-dpms-on-nop-interruptible:
    - shard-adlp:         [PASS][71] -> [DMESG-WARN][72] ([Intel XE#4543]) +2 other tests dmesg-warn
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-8/igt@kms_flip@flip-vs-dpms-on-nop-interruptible.html
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-9/igt@kms_flip@flip-vs-dpms-on-nop-interruptible.html

  * igt@kms_flip@flip-vs-suspend@d-dp4:
    - shard-dg2-set2:     [PASS][73] -> [INCOMPLETE][74] ([Intel XE#2049] / [Intel XE#2597]) +1 other test incomplete
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-434/igt@kms_flip@flip-vs-suspend@d-dp4.html
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-434/igt@kms_flip@flip-vs-suspend@d-dp4.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][75] ([Intel XE#2293] / [Intel XE#2380])
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
    - shard-bmg:          NOTRUN -> [SKIP][76] ([Intel XE#2293])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html

  * igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][77] ([Intel XE#2311]) +7 other tests skip
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][78] ([Intel XE#656]) +8 other tests skip
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-2p-rte:
    - shard-bmg:          NOTRUN -> [SKIP][79] ([Intel XE#5427])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-rte.html

  * igt@kms_frontbuffer_tracking@fbc-modesetfrombusy:
    - shard-bmg:          NOTRUN -> [SKIP][80] ([Intel XE#5390]) +1 other test skip
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscren-pri-shrfb-draw-render:
    - shard-dg2-set2:     NOTRUN -> [SKIP][81] ([Intel XE#651])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscren-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-slowdraw:
    - shard-lnl:          NOTRUN -> [SKIP][82] ([Intel XE#651]) +2 other tests skip
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_frontbuffer_tracking@fbcdrrs-slowdraw.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][83] ([Intel XE#2313]) +3 other tests skip
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_plane_lowres@tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][84] ([Intel XE#2393])
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_plane_lowres@tiling-yf.html

  * igt@kms_plane_multiple@2x-tiling-x:
    - shard-bmg:          [PASS][85] -> [SKIP][86] ([Intel XE#4596])
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-8/igt@kms_plane_multiple@2x-tiling-x.html
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-6/igt@kms_plane_multiple@2x-tiling-x.html

  * igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-fully-sf:
    - shard-dg2-set2:     NOTRUN -> [SKIP][87] ([Intel XE#1406] / [Intel XE#1489])
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-fully-sf.html

  * igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][88] ([Intel XE#1406] / [Intel XE#1489]) +1 other test skip
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area.html

  * igt@kms_psr2_sf@pr-overlay-plane-move-continuous-exceed-sf:
    - shard-lnl:          NOTRUN -> [SKIP][89] ([Intel XE#1406] / [Intel XE#2893])
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-exceed-sf.html

  * igt@kms_psr@fbc-psr2-cursor-plane-move:
    - shard-dg2-set2:     NOTRUN -> [SKIP][90] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929])
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_psr@fbc-psr2-cursor-plane-move.html

  * igt@kms_psr@pr-cursor-plane-move:
    - shard-lnl:          NOTRUN -> [SKIP][91] ([Intel XE#1406])
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_psr@pr-cursor-plane-move.html

  * igt@kms_psr@psr-primary-page-flip:
    - shard-bmg:          NOTRUN -> [SKIP][92] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_psr@psr-primary-page-flip.html

  * igt@kms_rotation_crc@primary-x-tiled-reflect-x-180:
    - shard-lnl:          NOTRUN -> [FAIL][93] ([Intel XE#4689])
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_rotation_crc@primary-x-tiled-reflect-x-180.html

  * igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
    - shard-bmg:          NOTRUN -> [SKIP][94] ([Intel XE#3414] / [Intel XE#3904])
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_rotation_crc@sprite-rotation-90-pos-100-0.html
    - shard-lnl:          NOTRUN -> [SKIP][95] ([Intel XE#3414] / [Intel XE#3904])
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@kms_rotation_crc@sprite-rotation-90-pos-100-0.html

  * igt@kms_setmode@basic:
    - shard-adlp:         [PASS][96] -> [FAIL][97] ([Intel XE#2883]) +1 other test fail
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-1/igt@kms_setmode@basic.html
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-4/igt@kms_setmode@basic.html

  * igt@kms_vblank@ts-continuation-suspend:
    - shard-adlp:         [PASS][98] -> [DMESG-WARN][99] ([Intel XE#2953] / [Intel XE#4173]) +1 other test dmesg-warn
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-9/igt@kms_vblank@ts-continuation-suspend.html
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-3/igt@kms_vblank@ts-continuation-suspend.html

  * igt@kms_vrr@flip-basic-fastset:
    - shard-bmg:          NOTRUN -> [SKIP][100] ([Intel XE#1499])
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_vrr@flip-basic-fastset.html

  * igt@xe_eudebug@basic-vm-access-userptr-faultable:
    - shard-lnl:          NOTRUN -> [SKIP][101] ([Intel XE#4837]) +2 other tests skip
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@xe_eudebug@basic-vm-access-userptr-faultable.html

  * igt@xe_eudebug@basic-vm-bind-discovery:
    - shard-bmg:          NOTRUN -> [SKIP][102] ([Intel XE#4837]) +4 other tests skip
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@xe_eudebug@basic-vm-bind-discovery.html

  * igt@xe_eudebug_sriov@deny-eudebug:
    - shard-lnl:          NOTRUN -> [SKIP][103] ([Intel XE#4518])
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@xe_eudebug_sriov@deny-eudebug.html
    - shard-bmg:          NOTRUN -> [SKIP][104] ([Intel XE#5793])
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@xe_eudebug_sriov@deny-eudebug.html

  * igt@xe_exec_basic@multigpu-once-basic-defer-mmap:
    - shard-dg2-set2:     [PASS][105] -> [SKIP][106] ([Intel XE#1392]) +2 other tests skip
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-466/igt@xe_exec_basic@multigpu-once-basic-defer-mmap.html
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-432/igt@xe_exec_basic@multigpu-once-basic-defer-mmap.html

  * igt@xe_exec_reset@parallel-gt-reset:
    - shard-adlp:         [PASS][107] -> [DMESG-WARN][108] ([Intel XE#3876])
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-6/igt@xe_exec_reset@parallel-gt-reset.html
   [108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-6/igt@xe_exec_reset@parallel-gt-reset.html

  * igt@xe_exec_system_allocator@threads-many-execqueues-mmap-free:
    - shard-dg2-set2:     NOTRUN -> [SKIP][109] ([Intel XE#4915]) +8 other tests skip
   [109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@xe_exec_system_allocator@threads-many-execqueues-mmap-free.html

  * igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-free-huge-nomemset:
    - shard-lnl:          NOTRUN -> [SKIP][110] ([Intel XE#4943]) +5 other tests skip
   [110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-free-huge-nomemset.html

  * igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge:
    - shard-bmg:          NOTRUN -> [SKIP][111] ([Intel XE#4943]) +6 other tests skip
   [111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge.html

  * igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq:
    - shard-bmg:          NOTRUN -> [SKIP][112] ([Intel XE#4733])
   [112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq.html

  * igt@xe_query@multigpu-query-invalid-extension:
    - shard-bmg:          NOTRUN -> [SKIP][113] ([Intel XE#944])
   [113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@xe_query@multigpu-query-invalid-extension.html
    - shard-lnl:          NOTRUN -> [SKIP][114] ([Intel XE#944])
   [114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-3/igt@xe_query@multigpu-query-invalid-extension.html

  
#### Possible fixes ####

  * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
    - shard-adlp:         [DMESG-FAIL][115] ([Intel XE#4543]) -> [PASS][116]
   [115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-8/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html
   [116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-9/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
    - shard-bmg:          [INCOMPLETE][117] ([Intel XE#3862]) -> [PASS][118] +1 other test pass
   [117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-2/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
   [118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html

  * igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
    - shard-dg2-set2:     [INCOMPLETE][119] ([Intel XE#2705] / [Intel XE#4212] / [Intel XE#4345]) -> [PASS][120]
   [119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
   [120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html

  * igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4:
    - shard-dg2-set2:     [INCOMPLETE][121] ([Intel XE#2705] / [Intel XE#4212]) -> [PASS][122]
   [121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4.html
   [122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4.html

  * igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic:
    - shard-bmg:          [SKIP][123] ([Intel XE#2291]) -> [PASS][124] +2 other tests pass
   [123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html
   [124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html

  * igt@kms_dp_aux_dev:
    - shard-bmg:          [SKIP][125] ([Intel XE#3009]) -> [PASS][126]
   [125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_dp_aux_dev.html
   [126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_dp_aux_dev.html

  * igt@kms_flip@flip-vs-expired-vblank@c-edp1:
    - shard-lnl:          [FAIL][127] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][128] +1 other test pass
   [127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
   [128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html

  * igt@kms_flip@flip-vs-suspend@b-hdmi-a1:
    - shard-adlp:         [DMESG-WARN][129] ([Intel XE#4543]) -> [PASS][130] +6 other tests pass
   [129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-2/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html
   [130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-1/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html

  * igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation:
    - shard-adlp:         [DMESG-WARN][131] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][132] +4 other tests pass
   [131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-adlp-9/igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation.html
   [132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-adlp-3/igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation.html

  * igt@kms_setmode@basic:
    - shard-bmg:          [FAIL][133] ([Intel XE#2883]) -> [PASS][134] +5 other tests pass
   [133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-5/igt@kms_setmode@basic.html
   [134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_setmode@basic.html

  * igt@kms_setmode@basic@pipe-a-dp-2-pipe-b-hdmi-a-3:
    - shard-bmg:          [FAIL][135] ([Intel XE#5535]) -> [PASS][136]
   [135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-5/igt@kms_setmode@basic@pipe-a-dp-2-pipe-b-hdmi-a-3.html
   [136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-8/igt@kms_setmode@basic@pipe-a-dp-2-pipe-b-hdmi-a-3.html

  * igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-rebind:
    - shard-dg2-set2:     [SKIP][137] ([Intel XE#1392]) -> [PASS][138] +1 other test pass
   [137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-432/igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-rebind.html
   [138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-434/igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-rebind.html

  * igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv:
    - shard-dg2-set2:     [DMESG-WARN][139] -> [PASS][140]
   [139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-434/igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv.html
   [140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-435/igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv.html

  
#### Warnings ####

  * igt@kms_frontbuffer_tracking@drrs-2p-rte:
    - shard-bmg:          [SKIP][141] ([Intel XE#2311]) -> [SKIP][142] ([Intel XE#2312]) +2 other tests skip
   [141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-rte.html
   [142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-rte.html

  * igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-blt:
    - shard-bmg:          [SKIP][143] ([Intel XE#2312]) -> [SKIP][144] ([Intel XE#2311]) +2 other tests skip
   [143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-blt.html
   [144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-pgflip-blt:
    - shard-bmg:          [SKIP][145] ([Intel XE#2312]) -> [SKIP][146] ([Intel XE#5390]) +1 other test skip
   [145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-pgflip-blt.html
   [146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-pgflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
    - shard-bmg:          [SKIP][147] ([Intel XE#2312]) -> [SKIP][148] ([Intel XE#2313]) +1 other test skip
   [147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
   [148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render:
    - shard-bmg:          [SKIP][149] ([Intel XE#2313]) -> [SKIP][150] ([Intel XE#2312]) +3 other tests skip
   [149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-8/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render.html
   [150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-6/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-render.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][151] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][152] ([Intel XE#3544])
   [151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-6/igt@kms_hdr@brightness-with-hdr.html
   [152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-1/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          [SKIP][153] ([Intel XE#2509]) -> [SKIP][154] ([Intel XE#2426])
   [153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
   [154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-7/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  * igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
    - shard-dg2-set2:     [ABORT][155] ([Intel XE#4917]) -> [ABORT][156] ([Intel XE#5466])
   [155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-dg2-466/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
   [156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-dg2-432/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
    - shard-bmg:          [ABORT][157] ([Intel XE#5466] / [Intel XE#5530]) -> [ABORT][158] ([Intel XE#4917] / [Intel XE#5466] / [Intel XE#5530])
   [157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121/shard-bmg-2/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
   [158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v4/shard-bmg-2/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html

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

  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1512]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1512
  [Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
  [Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
  [Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
  [Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
  [Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
  [Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
  [Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
  [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
  [Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
  [Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2883]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2883
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
  [Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
  [Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
  [Intel XE#3009]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3009
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3278]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3278
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#3862]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3862
  [Intel XE#3876]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3876
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#3908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3908
  [Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
  [Intel XE#4212]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4212
  [Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
  [Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
  [Intel XE#4494]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4494
  [Intel XE#4518]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4518
  [Intel XE#4522]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4522
  [Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
  [Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
  [Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
  [Intel XE#4665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4665
  [Intel XE#4689]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4689
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
  [Intel XE#4917]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4917
  [Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
  [Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
  [Intel XE#5427]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5427
  [Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
  [Intel XE#5530]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5530
  [Intel XE#5535]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5535
  [Intel XE#5786]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5786
  [Intel XE#5793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5793
  [Intel XE#6130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6130
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
  [Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
  [Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * Linux: xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121 -> xe-pw-152277v4

  IGT_8540: 8540
  xe-3766-e9c137c33746d8007daa202af67b6aefd18a0121: e9c137c33746d8007daa202af67b6aefd18a0121
  xe-pw-152277v4: 152277v4

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 51085 bytes --]

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

* RE: [PATCH v5 0/5] User readable error codes on atomic_ioctl failure
  2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
                   ` (9 preceding siblings ...)
  2025-09-16 10:24 ` ✗ Xe.CI.Full: failure " Patchwork
@ 2025-09-30  4:03 ` Murthy, Arun R
  10 siblings, 0 replies; 14+ messages in thread
From: Murthy, Arun R @ 2025-09-30  4:03 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jani Nikula, Vivi, Rodrigo, Joonas Lahtinen,
	Tvrtko Ursulin, xaver.hugl@kde.org, harry.wentland@amd.com,
	Shankar, Uma
  Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	intel-xe@lists.freedesktop.org

Gentle Reminder!
Any reviewers?

Thanks and Regards,
Arun R Murthy
--------------------

> -----Original Message-----
> From: Murthy, Arun R <arun.r.murthy@intel.com>
> Sent: Tuesday, September 16, 2025 12:48 PM
> To: David Airlie <airlied@gmail.com>; Simona Vetter <simona@ffwll.ch>;
> Maarten Lankhorst <maarten.lankhorst@linux.intel.com>; Maxime Ripard
> <mripard@kernel.org>; Thomas Zimmermann <tzimmermann@suse.de>; Jani
> Nikula <jani.nikula@linux.intel.com>; Vivi, Rodrigo <rodrigo.vivi@intel.com>;
> Joonas Lahtinen <joonas.lahtinen@linux.intel.com>; Tvrtko Ursulin
> <tursulin@ursulin.net>; xaver.hugl@kde.org; harry.wentland@amd.com;
> Shankar, Uma <uma.shankar@intel.com>
> Cc: dri-devel@lists.freedesktop.org; intel-gfx@lists.freedesktop.org; intel-
> xe@lists.freedesktop.org; Murthy, Arun R <arun.r.murthy@intel.com>
> Subject: [PATCH v5 0/5] User readable error codes on atomic_ioctl failure
> 
> The series focuses on providing a user readable error value on a failure in
> drm_atomic_ioctl(). Usually -EINVAL is returned in most of the error cases and
> it is difficult for the user to decode the error and get to know the real cause for
> the error. If user gets to know the reason for the error then corrective
> measurements can be taken up.
> 
> TODO: driver specific error codes are to be added and will be done in the
> follow-up patches.
> 
> The IGT related changes are pushed for review @
> https://patchwork.freedesktop.org/series/153330/
> 
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> Arun R Murthy (5):
>       drm: Define user readable error codes for atomic ioctl
>       drm/atomic: Add error_code element in atomic_state
>       drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
>       drm/atomic: Return user readable error in atomic_ioctl
>       drm/i915/display: Error codes for async flip failures
> 
>  drivers/gpu/drm/drm_atomic.c                 | 34 +++++++++-
>  drivers/gpu/drm/drm_atomic_uapi.c            | 92 +++++++++++++++++++--------
> -
>  drivers/gpu/drm/i915/display/intel_display.c | 25 ++++----
>  include/drm/drm_atomic.h                     | 10 +++
>  include/uapi/drm/drm_mode.h                  | 41 +++++++++++++
>  5 files changed, 160 insertions(+), 42 deletions(-)
> ---
> base-commit: 21147fac313e561dcce8e18363c8de995f3ad4cd
> change-id: 20250728-atomic-c9713fd357e4
> 
> Best regards,
> --
> Arun R Murthy <arun.r.murthy@intel.com>


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

* Re: [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl
  2025-09-16  7:18 ` [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
@ 2025-10-01 14:47   ` Louis Chauvet
  2025-10-09  4:00     ` Murthy, Arun R
  0 siblings, 1 reply; 14+ messages in thread
From: Louis Chauvet @ 2025-10-01 14:47 UTC (permalink / raw)
  To: Arun R Murthy, David Airlie, Simona Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Jani Nikula, Rodrigo Vivi,
	Joonas Lahtinen, Tvrtko Ursulin, xaver.hugl, harry.wentland,
	uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe



Le 16/09/2025 à 09:18, Arun R Murthy a écrit :
> Add user readable error codes for failure cases in drm_atomic_ioctl() so
> that user can decode the error code and take corrective measurements.
> 
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
>   drivers/gpu/drm/drm_atomic_uapi.c | 71 ++++++++++++++++++++++++++++-----------
>   1 file changed, 52 insertions(+), 19 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
> index 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413e171b1336812d65c1c 100644
> --- a/drivers/gpu/drm/drm_atomic_uapi.c
> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
> @@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
>   			ret = drm_atomic_connector_get_property(connector, connector_state,
>   								prop, &old_val);
>   			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
> +			if (ret) {
> +				drm_mode_atomic_add_error_msg(&state->error_code,
> +							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
> +							      "property change not allowed in async flip");
> +			}
>   			break;
>   		}
>   
> @@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
>   			ret = drm_atomic_crtc_get_property(crtc, crtc_state,
>   							   prop, &old_val);
>   			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
> +			if (ret) {
> +				drm_mode_atomic_add_error_msg(&state->error_code,
> +							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
> +							      "property change not allowed in async flip");
> +			}
>   			break;
>   		}
>   
> @@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
>   					ret = plane_funcs->atomic_async_check(plane, state, true);
>   
>   				if (ret) {
> -					drm_dbg_atomic(prop->dev,
> -						       "[PLANE:%d:%s] does not support async flips\n",
> -						       obj->id, plane->name);
> +					drm_mode_atomic_add_error_msg(&state->error_code,
> +								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
> +								      "[PLANE:%d:%s] does not support async flip",
> +								      obj->id, plane->name);
>   					break;

Thanks for this series, it is a nice contribution!

I am not sure about this change, drm_dbg will be in debug logs, but 
drm_mode_atomic_add_error_msg do a drm_err, is it expected?
This is also the case for other drm_mode_atomic_add_error_msg calls in 
this patch and the next one.

>   				}
>   			}
> @@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>   	struct drm_atomic_state *state;
>   	struct drm_modeset_acquire_ctx ctx;
>   	struct drm_out_fence_state *fence_state;
> +	struct drm_mode_atomic_err_code __user *error_code_ptr;
>   	int ret = 0;
>   	unsigned int i, j, num_fences = 0;
>   	bool async_flip = false;
> @@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>   	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
>   		return -EOPNOTSUPP;
>   
> +	if (!arg->reserved)
> +		drm_dbg_atomic(dev,
> +			       "memory not allocated for drm_atomic error reporting\n");
> +	else
> +		/* update the error code if any error to allow user handling it */
> +		error_code_ptr = (struct drm_mode_atomic_err_code __user *)
> +				 (unsigned long)arg->reserved;
> +
>   	state = drm_atomic_state_alloc(dev);
>   	if (!state)
>   		return -ENOMEM;
> @@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>   	state->acquire_ctx = &ctx;
>   	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
>   
> +	memset(&state->error_code, 0, sizeof(struct drm_mode_atomic_err_code));
> +
>   	/* disallow for userspace that has not enabled atomic cap (even
>   	 * though this may be a bit overkill, since legacy userspace
>   	 * wouldn't know how to call this ioctl)
>   	 */
>   	if (!file_priv->atomic) {
> -		drm_dbg_atomic(dev,
> -			       "commit failed: atomic cap not enabled\n");
> -		return -EINVAL;
> +		drm_mode_atomic_add_error_msg(&state->error_code,
> +					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
> +					      "DRM_ATOMIC capability not enabled");
> +		ret = -EINVAL;
> +		goto out;
>   	}
>   
>   	if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
> -		drm_dbg_atomic(dev, "commit failed: invalid flag\n");
> -		return -EINVAL;
> -	}
> -
> -	if (arg->reserved) {
> -		drm_dbg_atomic(dev, "commit failed: reserved field set\n");
> -		return -EINVAL;
> +		drm_mode_atomic_add_error_msg(&state->error_code,
> +					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
> +					      "invalid flag");
> +		ret = -EINVAL;
> +		goto out;
>   	}
>   
>   	if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
>   		if (!dev->mode_config.async_page_flip) {
> -			drm_dbg_atomic(dev,
> -				       "commit failed: DRM_MODE_PAGE_FLIP_ASYNC not supported\n");
> -			return -EINVAL;
> +			drm_mode_atomic_add_error_msg(&state->error_code,
> +						      DRM_MODE_ATOMIC_INVALID_API_USAGE,
> +						      "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl");
> +			ret = -EINVAL;
> +			goto out;
>   		}
>   
>   		async_flip = true;
> @@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>   	/* can't test and expect an event at the same time. */
>   	if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
>   			(arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
> -		drm_dbg_atomic(dev,
> -			       "commit failed: page-flip event requested with test-only commit\n");
> -		return -EINVAL;
> +		drm_mode_atomic_add_error_msg(&state->error_code,
> +					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
> +					      "page-flip event requested with test-only commit");
> +		ret = -EINVAL;
> +		goto out;
>   	}
>   
>   retry:
> @@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>   	}
>   
>   out:
> +	/* update the error code if any error to allow user handling it */
> +	if (ret < 0 && arg->reserved) {
> +		if (copy_to_user(error_code_ptr, &state->error_code,
> +				 sizeof(state->error_code)))
> +			return -EFAULT;
> +	}
> +
>   	if (num_fences)
>   		complete_signaling(dev, state, fence_state, num_fences, !ret);
>   
> 

-- 
--
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl
  2025-10-01 14:47   ` Louis Chauvet
@ 2025-10-09  4:00     ` Murthy, Arun R
  0 siblings, 0 replies; 14+ messages in thread
From: Murthy, Arun R @ 2025-10-09  4:00 UTC (permalink / raw)
  To: Louis Chauvet, David Airlie, Simona Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Jani Nikula, Rodrigo Vivi,
	Joonas Lahtinen, Tvrtko Ursulin, xaver.hugl, harry.wentland,
	uma.shankar
  Cc: dri-devel, intel-gfx, intel-xe

On 01-10-2025 20:17, Louis Chauvet wrote:
>
>
> Le 16/09/2025 à 09:18, Arun R Murthy a écrit :
>> Add user readable error codes for failure cases in drm_atomic_ioctl() so
>> that user can decode the error code and take corrective measurements.
>>
>> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>> ---
>>   drivers/gpu/drm/drm_atomic_uapi.c | 71 
>> ++++++++++++++++++++++++++++-----------
>>   1 file changed, 52 insertions(+), 19 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c 
>> b/drivers/gpu/drm/drm_atomic_uapi.c
>> index 
>> 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413e171b1336812d65c1c 
>> 100644
>> --- a/drivers/gpu/drm/drm_atomic_uapi.c
>> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
>> @@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct 
>> drm_atomic_state *state,
>>               ret = drm_atomic_connector_get_property(connector, 
>> connector_state,
>>                                   prop, &old_val);
>>               ret = drm_atomic_check_prop_changes(ret, old_val, 
>> prop_value, prop);
>> +            if (ret) {
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> + DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
>> +                                  "property change not allowed in 
>> async flip");
>> +            }
>>               break;
>>           }
>>   @@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct 
>> drm_atomic_state *state,
>>               ret = drm_atomic_crtc_get_property(crtc, crtc_state,
>>                                  prop, &old_val);
>>               ret = drm_atomic_check_prop_changes(ret, old_val, 
>> prop_value, prop);
>> +            if (ret) {
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> + DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
>> +                                  "property change not allowed in 
>> async flip");
>> +            }
>>               break;
>>           }
>>   @@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct 
>> drm_atomic_state *state,
>>                       ret = plane_funcs->atomic_async_check(plane, 
>> state, true);
>>                     if (ret) {
>> -                    drm_dbg_atomic(prop->dev,
>> -                               "[PLANE:%d:%s] does not support async 
>> flips\n",
>> -                               obj->id, plane->name);
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> + DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
>> +                                      "[PLANE:%d:%s] does not 
>> support async flip",
>> +                                      obj->id, plane->name);
>>                       break;
>
> Thanks for this series, it is a nice contribution!
>
> I am not sure about this change, drm_dbg will be in debug logs, but 
> drm_mode_atomic_add_error_msg do a drm_err, is it expected?
> This is also the case for other drm_mode_atomic_add_error_msg calls in 
> this patch and the next one.
>
Thanks for pointing out, this was a miss from my side.
Will get it changed to debug prints.

Thanks and Regards,
Arun R Murthy
-------------------

>>                   }
>>               }
>> @@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>>       struct drm_atomic_state *state;
>>       struct drm_modeset_acquire_ctx ctx;
>>       struct drm_out_fence_state *fence_state;
>> +    struct drm_mode_atomic_err_code __user *error_code_ptr;
>>       int ret = 0;
>>       unsigned int i, j, num_fences = 0;
>>       bool async_flip = false;
>> @@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>>       if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
>>           return -EOPNOTSUPP;
>>   +    if (!arg->reserved)
>> +        drm_dbg_atomic(dev,
>> +                   "memory not allocated for drm_atomic error 
>> reporting\n");
>> +    else
>> +        /* update the error code if any error to allow user handling 
>> it */
>> +        error_code_ptr = (struct drm_mode_atomic_err_code __user *)
>> +                 (unsigned long)arg->reserved;
>> +
>>       state = drm_atomic_state_alloc(dev);
>>       if (!state)
>>           return -ENOMEM;
>> @@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device 
>> *dev,
>>       state->acquire_ctx = &ctx;
>>       state->allow_modeset = !!(arg->flags & 
>> DRM_MODE_ATOMIC_ALLOW_MODESET);
>>   +    memset(&state->error_code, 0, sizeof(struct 
>> drm_mode_atomic_err_code));
>> +
>>       /* disallow for userspace that has not enabled atomic cap (even
>>        * though this may be a bit overkill, since legacy userspace
>>        * wouldn't know how to call this ioctl)
>>        */
>>       if (!file_priv->atomic) {
>> -        drm_dbg_atomic(dev,
>> -                   "commit failed: atomic cap not enabled\n");
>> -        return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +                          DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> +                          "DRM_ATOMIC capability not enabled");
>> +        ret = -EINVAL;
>> +        goto out;
>>       }
>>         if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
>> -        drm_dbg_atomic(dev, "commit failed: invalid flag\n");
>> -        return -EINVAL;
>> -    }
>> -
>> -    if (arg->reserved) {
>> -        drm_dbg_atomic(dev, "commit failed: reserved field set\n");
>> -        return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +                          DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> +                          "invalid flag");
>> +        ret = -EINVAL;
>> +        goto out;
>>       }
>>         if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
>>           if (!dev->mode_config.async_page_flip) {
>> -            drm_dbg_atomic(dev,
>> -                       "commit failed: DRM_MODE_PAGE_FLIP_ASYNC not 
>> supported\n");
>> -            return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> + DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> +                              "DRM_MODE_PAGE_FLIP_ASYNC not 
>> supported with ATOMIC ioctl");
>> +            ret = -EINVAL;
>> +            goto out;
>>           }
>>             async_flip = true;
>> @@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>>       /* can't test and expect an event at the same time. */
>>       if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
>>               (arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
>> -        drm_dbg_atomic(dev,
>> -                   "commit failed: page-flip event requested with 
>> test-only commit\n");
>> -        return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +                          DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> +                          "page-flip event requested with test-only 
>> commit");
>> +        ret = -EINVAL;
>> +        goto out;
>>       }
>>     retry:
>> @@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>>       }
>>     out:
>> +    /* update the error code if any error to allow user handling it */
>> +    if (ret < 0 && arg->reserved) {
>> +        if (copy_to_user(error_code_ptr, &state->error_code,
>> +                 sizeof(state->error_code)))
>> +            return -EFAULT;
>> +    }
>> +
>>       if (num_fences)
>>           complete_signaling(dev, state, fence_state, num_fences, !ret);
>>
>

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

end of thread, other threads:[~2025-10-09  4:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16  7:18 [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
2025-09-16  7:18 ` [PATCH v5 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
2025-09-16  7:18 ` [PATCH v5 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
2025-09-16  7:18 ` [PATCH v5 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
2025-09-16  7:18 ` [PATCH v5 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
2025-10-01 14:47   ` Louis Chauvet
2025-10-09  4:00     ` Murthy, Arun R
2025-09-16  7:18 ` [PATCH v5 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
2025-09-16  7:26 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev4) Patchwork
2025-09-16  7:27 ` ✓ CI.KUnit: success " Patchwork
2025-09-16  7:42 ` ✗ CI.checksparse: warning " Patchwork
2025-09-16  8:09 ` ✓ Xe.CI.BAT: success " Patchwork
2025-09-16 10:24 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-30  4:03 ` [PATCH v5 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R

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