Skip to contentSkip to conversation

User readable error codes on atomic_ioctl failure

PATCH Superseded Arun R Murthy 3 participants 16 messages Sep 2, 2025 – Sep 3, 2025

Subsystems (4)

v4 of 11 Superseded Latest is v11 →

lore
Share & tools
lore
#0 lore raw

v4 cover 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/

v4: Removed XMacros and added enum for failure codes
Failure strings added in respective failure place

---
Arun R Murthy (4):
drm: Define user readable error codes for atomic ioctl drm/atomic: Add error_code element in atomic_state drm/atomic: Return user readable error in atomic_ioctl drm/i915/display: Error codes for async flip failures

 drivers/gpu/drm/drm_atomic.c                 | 23 +++++---
 drivers/gpu/drm/drm_atomic_uapi.c            | 83 ++++++++++++++++++++++------
 drivers/gpu/drm/i915/display/intel_display.c | 31 ++++++++---
 include/drm/drm_atomic.h                     | 26 +++++++++
 include/uapi/drm/drm_mode.h                  | 41 ++++++++++++++
 5 files changed, 171 insertions(+), 33 deletions(-)

---
base-commit: 21147fac313e561dcce8e18363c8de995f3ad4cd
change-id: 20250728-atomic-c9713fd357e4

Best regards,

Signature · 1 line
Arun R Murthy <[email protected]>
#1 lore raw

PATCH v4 1/4 drm: Define user readable error codes for atomic ioctl

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.

---
 include/uapi/drm/drm_mode.h | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
include/uapi/drm/drm_mode.h +41 -0
index a122bea2559387576150236e3a88f99c24ad3138..6c4929e591b30b7a5eac472dadeeb3c9400e36df 100644
@@ -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	64
 
 #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;
Signature · 1 line
2.25.1
#4 lore raw

PATCH v4 2/4 drm/atomic: Add error_code element in atomic_state

In reply to 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.

---
 include/drm/drm_atomic.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/drm/drm_atomic.h +7 -0
index 38636a593c9d98cadda85ccd67326cb152f0dd27..d380001b24b4223baa54dae6c3c43e19dfb1958d 100644
@@ -524,6 +524,13 @@ struct drm_atomic_state {
 	 * commit without blocking.
 	 */
 	struct work_struct commit_work;
+
+	/* @error_code
+	 *
+	 * 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);
Signature · 1 line
2.25.1
#5 lore raw

PATCH v4 3/4 drm/atomic: Return user readable error in atomic_ioctl

In reply to 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.

---
 drivers/gpu/drm/drm_atomic.c      | 23 +++++++----
 drivers/gpu/drm/drm_atomic_uapi.c | 83 ++++++++++++++++++++++++++++++---------
 include/drm/drm_atomic.h          | 19 +++++++++
 3 files changed, 100 insertions(+), 25 deletions(-)
drivers/gpu/drm/drm_atomic.c +16 -7
index cd15cf52f0c9144711da5879da57884674aea9e4..4f6c7e659b362f0887ffcc85dade1122fd30df3d 100644
@@ -1463,6 +1463,7 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
 	unsigned int requested_crtc = 0;
 	unsigned int affected_crtc = 0;
 	int i, ret = 0;
+	char *err_string;
 
 	drm_dbg_atomic(dev, "checking %p\n", state);
 
@@ -1511,8 +1512,13 @@ 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",
-					       crtc->base.id, crtc->name);
+				err_string = "requires full modeset";
+				drm_dbg_atomic(dev, "[CRTC:%d:%s] %s\n",
+					       crtc->base.id, crtc->name, err_string);
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+							      err_string);
+
 				return -EINVAL;
 			}
 		}
@@ -1534,11 +1540,14 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
 	 * so compositors know what's going on.
 	 */
 	if (affected_crtc != requested_crtc) {
-		drm_dbg_atomic(dev,
-			       "driver added CRTC to commit: requested 0x%x, affected 0x%0x\n",
-			       requested_crtc, affected_crtc);
-		WARN(!state->allow_modeset, "adding CRTC not allowed without modesets: requested 0x%x, affected 0x%0x\n",
-		     requested_crtc, affected_crtc);
+		err_string = "adding CRTC not allowed without modesets";
+		drm_dbg_atomic(dev, "%s: requested 0x%x, affected 0x%0x\n",
+			       err_string, requested_crtc, affected_crtc);
+		drm_mode_atomic_add_error_msg(state->error_code,
+					      DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+					      err_string);
+
+		return -EINVAL;
 	}
 
 	return 0;
drivers/gpu/drm/drm_atomic_uapi.c +65 -18

149 lines not on this page · raw message

include/drm/drm_atomic.h +19 -0
index d380001b24b4223baa54dae6c3c43e19dfb1958d..8956b175795128422eefc2bc047b320b80aedc3f 100644
@@ -1255,4 +1255,23 @@ struct drm_bridge_state *
 drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
 				struct drm_bridge *bridge);
 
+/**
+ * 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
+ */
+static inline void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+						 __u64 failure_code,
+						 char *failure_string)
+{
+	err_code->failure_code = failure_code;
+	strscpy_pad(err_code->failure_string, failure_string,
+		    strlen(err_code->failure_string));
+}
+
 #endif /* DRM_ATOMIC_H_ */
Signature · 1 line
2.25.1
#9 lore raw

PATCH v4 4/4 drm/i915/display: Error codes for async flip failures

In reply to Arun R Murthy

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

---
 drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +23 -8
index c1a3a95c65f0b66c24ddd64f47dfdc67bbde86c9..41b054764fdec37e4d9410fa7fbe62dbcbd3a11f 100644
@@ -5935,6 +5935,7 @@ static int intel_async_flip_check_uapi(struct intel_atomic_state *state,
 	struct intel_plane_state *new_plane_state;
 	struct intel_plane *plane;
 	int i;
+	char *err_string;
 
 	if (!new_crtc_state->uapi.async_flip)
 		return 0;
@@ -5947,9 +5948,13 @@ 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);
+		err_string = "requires full modeset";
+		drm_dbg_kms(display->drm, "[CRTC:%d:%s] %s\n",
+			    crtc->base.base.id, crtc->base.name,
+			    err_string);
+		drm_mode_atomic_add_error_msg(state->base.error_code,
+					      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+					      err_string);
 		return -EINVAL;
 	}
 
@@ -6001,6 +6006,7 @@ static int intel_async_flip_check_hw(struct intel_atomic_state *state, struct in
 	const struct intel_plane_state *new_plane_state, *old_plane_state;
 	struct intel_plane *plane;
 	int i;
+	char *err_string;
 
 	old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc);
 	new_crtc_state = intel_atomic_get_new_crtc_state(state, crtc);
@@ -6016,9 +6022,13 @@ 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);
+		err_string = "requires full modeset";
+		drm_dbg_kms(display->drm, "[CRTC:%d:%s] %s\n",
+			    crtc->base.base.id, crtc->base.name,
+			    err_string);
+		drm_mode_atomic_add_error_msg(state->base.error_code,
+					      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+					      err_string);
 		return -EINVAL;
 	}
 
@@ -6056,11 +6066,16 @@ 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)) {
+			err_string = "modifier does not support async flip";
 			drm_dbg_kms(display->drm,
-				    "[PLANE:%d:%s] pixel format %p4cc / modifier 0x%llx does not support async flip\n",
+				    "[PLANE:%d:%s] pixel format %p4cc / 0x%llx %s\n",
 				    plane->base.base.id, plane->base.name,
 				    &new_plane_state->hw.fb->format->format,
-				    new_plane_state->hw.fb->modifier);
+				    new_plane_state->hw.fb->modifier,
+				    err_string);
+			drm_mode_atomic_add_error_msg(state->base.error_code,
+						      DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
+						      err_string);
 			return -EINVAL;
 		}
 
Signature · 1 line
2.25.1
#10 lore raw

✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev3)
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 e0fa7d6ad11ac6dc8dfa757164e518968a98b897
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 04136a39f1e8b64a43df84a9988eba3d326560de

Author: Arun R Murthy <[email protected]>
Date:   Tue Sep 2 13:17:55 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.

+ /mt/dim checkpatch 375a75bab74b1a70e8d6920b0614b57a05e88a3f drm-intel 898cb6575a21 drm: Define user readable error codes for atomic ioctl 06ba9c60f174 drm/atomic: Add error_code element in atomic_state d84b66c61b0f drm/atomic: Return user readable error in atomic_ioctl -:33: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #33: FILE: drivers/gpu/drm/drm_atomic.c:1519:
+ DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,

-:90: WARNING:LONG_LINE: line length of 107 exceeds 100 columns #90: FILE: drivers/gpu/drm/drm_atomic_uapi.c:1108:
+ DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,

total: 0 errors, 2 warnings, 0 checks, 213 lines checked 04136a39f1e8 drm/i915/display: Error codes for async flip failures

#11 lore raw

✓ CI.KUnit: success for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev3)
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:53:07] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [07:53:41] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [07:54:06] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

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

#12 lore raw

✗ CI.checksparse: warning for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

Series: User readable error codes on atomic_ioctl failure (rev3)
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 375a75bab74b1a70e8d6920b0614b57a05e88a3f
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:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2034:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2034:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2034: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:1572: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_irq.c:492:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:492:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:500:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:500:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:543:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:543:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:551:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:551:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:600:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:600:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:603:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:603:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:607:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:607:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/intel_uncore.c:1927:1: warning: context imbalance in 'fwtable_read8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1928:1: warning: context imbalance in 'fwtable_read16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1929:1: warning: context imbalance in 'fwtable_read32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1930:1: warning: context imbalance in 'fwtable_read64' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1995:1: warning: context imbalance in 'gen6_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1996:1: warning: context imbalance in 'gen6_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1997:1: warning: context imbalance in 'gen6_write32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2017:1: warning: context imbalance in 'fwtable_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2018:1: warning: context imbalance in 'fwtable_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2019: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

#13 lore raw

✗ Xe.CI.BAT: failure for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

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

== Summary ==

CI Bug Log - changes from xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30_BAT -> xe-pw-152277v3_BAT
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-152277v3_BAT absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xe-pw-152277v3_BAT, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

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

No changes in participating hosts

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

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

### IGT changes ###

#### Possible regressions ####

* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- bat-dg2-oem2: [PASS][1] -> [DMESG-WARN][2] +5 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-dg2-oem2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-dg2-oem2/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-adlp-7: [PASS][3] -> [DMESG-WARN][4] +5 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-adlp-7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-adlp-7/igt@[email protected]
- bat-bmg-1: [PASS][5] -> [DMESG-WARN][6] +5 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-bmg-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-bmg-1/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- bat-lnl-1: [PASS][7] -> [DMESG-WARN][8] +5 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-lnl-1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-lnl-1/igt@[email protected]

#### Suppressed ####

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

* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- {bat-ptl-2}: [PASS][9] -> [DMESG-WARN][10] +5 other tests dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-ptl-2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-ptl-2/igt@[email protected]

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

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

### IGT changes ###

#### Possible fixes ####

* igt@xe_vm@bind-execqueues-independent:
- {bat-ptl-1}: [FAIL][11] ([Intel XE#5783]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/bat-ptl-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/bat-ptl-1/igt@[email protected]

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

[Intel XE#5783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5783

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

* Linux: xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30 -> xe-pw-152277v3

IGT_8519: 8519
xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30: ca639a1f013945bb8e5450d625c460b0df195b30
xe-pw-152277v3: 152277v3

== Logs ==

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

maintainer
#2 lore raw

Re: [PATCH v4 1/4] drm: Define user readable error codes for atomic ioctl

In reply to Arun R Murthy
Quoted 15 lines · 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.

Quoted 1 line

Please run 'scripts/kernel-doc -Wall -none path/to/file' on all changes, and make sure you're not adding new errors. There are plenty, and I'm not going to iterate to you separately what the tool can tell you.

include/uapi/drm/drm_mode.h extern "C" { · line 48

Quoted 13 lines
---
 include/uapi/drm/drm_mode.h | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
include/uapi/drm/drm_mode.h +1 -0
index a122bea2559387576150236e3a88f99c24ad3138..6c4929e591b30b7a5eac472dadeeb3c9400e36df 100644
@@ -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	64

64 is enough for everyone?

Quoted 50 lines
include/uapi/drm/drm_mode.h +40 -0
 #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;
Signature · 1 line
Jani Nikula, Intel
maintainer
#6 lore raw

Re: [PATCH v4 3/4] drm/atomic: Return user readable error in atomic_ioctl

In reply to Arun R Murthy
Quoted 23 lines · 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.

---
 drivers/gpu/drm/drm_atomic.c      | 23 +++++++----
 drivers/gpu/drm/drm_atomic_uapi.c | 83 ++++++++++++++++++++++++++++++---------
 include/drm/drm_atomic.h          | 19 +++++++++
 3 files changed, 100 insertions(+), 25 deletions(-)
drivers/gpu/drm/drm_atomic.c +1 -0
index cd15cf52f0c9144711da5879da57884674aea9e4..4f6c7e659b362f0887ffcc85dade1122fd30df3d 100644
@@ -1463,6 +1463,7 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
 	unsigned int requested_crtc = 0;
 	unsigned int affected_crtc = 0;
 	int i, ret = 0;
+	char *err_string;
 
 	drm_dbg_atomic(dev, "checking %p\n", state);
 

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1515

Quoted 6 lines
drivers/gpu/drm/drm_atomic.c +1 -2
@@ -1511,8 +1512,13 @@ 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",
-					       crtc->base.id, crtc->name);
+				err_string = "requires full modeset";

This points a non-const pointer to const data.

Anyway none of this should require or start a precendent of using local variables all over the place for the error strings. It's ugly. Ditto below for all the places.

If all the places calling drm_mode_atomic_add_error_msg() do debug logging, maybe that's where the debug logging should be?

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1520

Quoted 5 lines
drivers/gpu/drm/drm_atomic.c +5 -0
+				drm_dbg_atomic(dev, "[CRTC:%d:%s] %s\n",
+					       crtc->base.id, crtc->name, err_string);
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+							      err_string);

I guess you didn't want to follow what Maarten suggested.

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1522

Quoted 2 lines
drivers/gpu/drm/drm_atomic.c +1 -0
+
 				return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier. Ignoring review is one of the certain ways to stop receiving review in the future.

Quoted 9 lines
drivers/gpu/drm/drm_atomic.c +0 -3
 			}
 		}
@@ -1534,11 +1540,14 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
 	 * so compositors know what's going on.
 	 */
 	if (affected_crtc != requested_crtc) {
-		drm_dbg_atomic(dev,
-			       "driver added CRTC to commit: requested 0x%x, affected 0x%0x\n",
-			       requested_crtc, affected_crtc);

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1550

Quoted 10 lines
drivers/gpu/drm/drm_atomic.c +8 -2
-		WARN(!state->allow_modeset, "adding CRTC not allowed without modesets: requested 0x%x, affected 0x%0x\n",
-		     requested_crtc, affected_crtc);
+		err_string = "adding CRTC not allowed without modesets";
+		drm_dbg_atomic(dev, "%s: requested 0x%x, affected 0x%0x\n",
+			       err_string, requested_crtc, affected_crtc);
+		drm_mode_atomic_add_error_msg(state->error_code,
+					      DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+					      err_string);
+
+		return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier.

Quoted 46 lines
drivers/gpu/drm/drm_atomic.c +0 -0
 	}
 
 	return 0;
drivers/gpu/drm/drm_atomic_uapi.c +14 -2
index 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..60f1b8baebce0db1ce984c8cda56039261b519e8 100644
@@ -1017,6 +1017,7 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
 	struct drm_mode_object *ref;
 	u64 old_val;
 	int ret;
+	char *err_string;
 
 	if (!drm_property_change_valid_get(prop, prop_value, &ref))
 		return -EINVAL;
@@ -1058,6 +1059,12 @@ 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) {
+				err_string = "property change not allowed in async flip";
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+							      err_string);
+			}
 			break;
 		}
 
@@ -1096,9 +1103,14 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
 					ret = plane_funcs->atomic_async_check(plane, state, true);
 
 				if (ret) {
+					err_string = "plane does not support async flip";
+					drm_mode_atomic_add_error_msg(state->error_code,
+								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+								      err_string);
 					drm_dbg_atomic(prop->dev,
-						       "[PLANE:%d:%s] does not support async flips\n",
-						       obj->id, plane->name);
+							"[PLANE:%d:%s] %s\n",
+						       obj->id, plane->name,
+						       err_string);
 					break;
 				}
 			}

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1405

Quoted 5 lines
drivers/gpu/drm/drm_atomic_uapi.c +1 -1
@@ -1390,42 +1402,63 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	uint32_t __user *props_ptr = (uint32_t __user *)(unsigned long)(arg->props_ptr);
 	uint64_t __user *prop_values_ptr = (uint64_t __user *)(unsigned long)(arg->prop_values_ptr);
 	unsigned int copied_objs, copied_props;
-	struct drm_atomic_state *state;
+	struct drm_atomic_state *state = NULL;

Unrelated change.

Quoted 18 lines
drivers/gpu/drm/drm_atomic_uapi.c +8 -0
 	struct drm_modeset_acquire_ctx ctx;
 	struct drm_out_fence_state *fence_state;
+	struct drm_mode_atomic_err_code error_code;
+	struct drm_mode_atomic_err_code __user *error_code_ptr;
 	int ret = 0;
 	unsigned int i, j, num_fences;
 	bool async_flip = false;
+	char *err_string;
 
 	/* disallow for drivers not supporting atomic: */
 	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
 		return -EOPNOTSUPP;
 
+	if (!arg->reserved)
+		drm_err(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 *)

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1433

Quoted 10 lines
drivers/gpu/drm/drm_atomic_uapi.c +5 -0
+				 (unsigned long)arg->reserved;
+
+	memset(&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) {
+		err_string = "DRM_ATOMIC capability not enabled";

Yeah, just repeating, don't start using this err_string local variable idea.

Quoted 95 lines
drivers/gpu/drm/drm_atomic_uapi.c +37 -15
 		drm_dbg_atomic(dev,
-			       "commit failed: atomic cap not enabled\n");
-		return -EINVAL;
+			       "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+		err_string = "invalid flag";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+			err_string = "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl";
+			drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+			drm_mode_atomic_add_error_msg(&error_code,
+						      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+						      err_string);
+			ret = -EINVAL;
+			goto out;
 		}
 
 		async_flip = true;
@@ -1434,9 +1467,13 @@ 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;
+		err_string = "page-flip event requested with test-only commit";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		ret = -EINVAL;
+		goto out;
 	}
 
 	state = drm_atomic_state_alloc(dev);
@@ -1447,6 +1484,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
 	state->acquire_ctx = &ctx;
 	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
 
+	state->error_code = &error_code;
+
 retry:
 	copied_objs = 0;
 	copied_props = 0;
@@ -1543,6 +1582,14 @@ 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, &error_code, sizeof(error_code)))
+			return -EFAULT;
+
+	if (!state)
+		return ret;
+
 	complete_signaling(dev, state, fence_state, num_fences, !ret);
 
 	if (ret == -EDEADLK) {
include/drm/drm_atomic.h +3 -0
index d380001b24b4223baa54dae6c3c43e19dfb1958d..8956b175795128422eefc2bc047b320b80aedc3f 100644
@@ -1255,4 +1255,23 @@ struct drm_bridge_state *
 drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
 				struct drm_bridge *bridge);
 
+/**
+ * drm_mode_atomic_add_error_msg - function to add error code and error string
+ *

include/drm/drm_atomic.h struct drm_bridge_state * · line 1270

Quoted 10 lines
include/drm/drm_atomic.h +10 -0
+ * @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
+ */
+static inline void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+						 __u64 failure_code,
+						 char *failure_string)

So this should be "const char *format, ..." with printf format, with printf format annotation, to help callers pass in other stuff than just fixed strings.

This should be a proper function instead of static inline.

include/drm/drm_atomic.h struct drm_bridge_state * · line 1274

Quoted 4 lines
include/drm/drm_atomic.h +4 -0
+{
+	err_code->failure_code = failure_code;
+	strscpy_pad(err_code->failure_string, failure_string,
+		    strlen(err_code->failure_string));

If the size is fixed, why do we just silently truncate the string? If the message is for the user, it'll be ugly to emit truncated strings.

Quoted 3 lines
include/drm/drm_atomic.h +2 -0
+}
+
 #endif /* DRM_ATOMIC_H_ */
Signature · 1 line
Jani Nikula, Intel
#14 lore raw

✗ Xe.CI.Full: failure for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

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

== Summary ==

CI Bug Log - changes from xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30_FULL -> xe-pw-152277v3_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-152277v3_FULL absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xe-pw-152277v3_FULL, please notify your bug team ([email protected]) 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-152277v3_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-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-3/igt@[email protected]

* 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-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-5/igt@kms_atomic@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-8/igt@kms_atomic@[email protected]

* 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-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-4/igt@kms_atomic@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-3/igt@kms_atomic@[email protected]

* 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-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@kms_atomic@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@kms_atomic@[email protected]

* igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-rc-ccs@pipe-d-dp-4:
- shard-dg2-set2: [PASS][9] -> [DMESG-WARN][10] +58 other tests dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@kms_ccs@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@kms_ccs@[email protected]

* igt@kms_display_modes@extended-mode-basic@pipe-c-dp-2-pipe-d-hdmi-a-2:
- shard-dg2-set2: NOTRUN -> [DMESG-WARN][11] +27 other tests dmesg-warn
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@kms_display_modes@[email protected]

* igt@kms_flip@absolute-wf_vblank:
- shard-dg2-set2: [PASS][12] -> [ABORT][13] +30 other tests abort
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@kms_flip@absolute-wf_vblank.html
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-435/igt@kms_flip@absolute-wf_vblank.html

* igt@kms_flip@blocking-absolute-wf_vblank@a-dp2:
- shard-bmg: NOTRUN -> [ABORT][14]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-4/igt@kms_flip@[email protected]

* igt@kms_flip@blocking-absolute-wf_vblank@a-hdmi-a6:
- shard-dg2-set2: NOTRUN -> [ABORT][15] +3 other tests abort
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-463/igt@kms_flip@[email protected]

* igt@kms_flip_tiling@flip-change-tiling@pipe-a-hdmi-a-3-4-to-4:
- shard-bmg: [PASS][16] -> [DMESG-WARN][17] +265 other tests dmesg-warn
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@kms_flip_tiling@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_flip_tiling@[email protected]

* igt@kms_plane@plane-position-hole-dpms@pipe-b-plane-1:
- shard-adlp: NOTRUN -> [DMESG-WARN][18] +40 other tests dmesg-warn
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_plane@[email protected]

* igt@kms_plane_scaling@planes-scaler-unity-scaling@pipe-b:
- shard-lnl: [PASS][19] -> [DMESG-WARN][20] +806 other tests dmesg-warn
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-1/igt@kms_plane_scaling@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-4/igt@kms_plane_scaling@[email protected]

* igt@kms_properties@plane-properties-legacy@pipe-d-hdmi-a-3:
- shard-bmg: NOTRUN -> [DMESG-WARN][21] +41 other tests dmesg-warn
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_properties@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-1:
- shard-adlp: [PASS][22] -> [DMESG-WARN][23] +800 other tests dmesg-warn
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-6/igt@kms_universal_plane@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-1/igt@kms_universal_plane@[email protected]

* igt@kms_vblank@wait-busy-hang:
- shard-bmg: [PASS][24] -> [ABORT][25] +18 other tests abort
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-2/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-1/igt@[email protected]

#### Warnings ####

* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling:
- shard-lnl: [FAIL][26] ([Intel XE#4683]) -> [DMESG-FAIL][27] +3 other tests dmesg-fail
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-3/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling.html
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-1/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling@pipe-a-default-mode:
- shard-lnl: [FAIL][28] ([Intel XE#3106] / [Intel XE#4683]) -> [DMESG-FAIL][29] +1 other test dmesg-fail
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-1/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling@pipe-a-default-mode.html
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling@pipe-a-default-mode.html

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- shard-bmg: [SKIP][30] ([Intel XE#5390]) -> [ABORT][31] +4 other tests abort
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-4/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-4/igt@[email protected]

* igt@kms_plane@pixel-format-source-clamping@pipe-a-plane-0:
- shard-lnl: [FAIL][32] ([Intel XE#5195]) -> [DMESG-FAIL][33] +2 other tests dmesg-fail
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-3/igt@kms_plane@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-2/igt@kms_plane@[email protected]

* igt@kms_plane@pixel-format-source-clamping@pipe-b-plane-0:
- shard-adlp: [FAIL][34] ([Intel XE#5195]) -> [DMESG-FAIL][35] +4 other tests dmesg-fail
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-4/igt@kms_plane@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_plane@[email protected]

* igt@kms_plane_cursor@viewport:
- shard-dg2-set2: [FAIL][36] ([Intel XE#616]) -> [DMESG-FAIL][37] +1 other test dmesg-fail
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@[email protected]

* igt@kms_pm_dc@deep-pkgc:
- shard-lnl: [FAIL][38] ([Intel XE#2029]) -> [DMESG-FAIL][39]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-7/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-5/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- shard-bmg: [SKIP][40] ([Intel XE#1435]) -> [ABORT][41]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-3/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-7/igt@[email protected]
- shard-dg2-set2: [SKIP][42] ([Intel XE#455]) -> [ABORT][43]
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-464/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-436/igt@[email protected]

#### Suppressed ####

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

* {igt@kms_async_flips@async-flip-hang}:
- shard-bmg: [PASS][44] -> [DMESG-WARN][45] +5 other tests dmesg-warn
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* {igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-edp-1-linear-rgb565}:
- shard-lnl: [PASS][46] -> [DMESG-WARN][47] +48 other tests dmesg-warn
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-7/igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-edp-1-linear-rgb565.html
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-5/igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-edp-1-linear-rgb565.html

* {igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-hdmi-a-1-linear-xrgb16161616f}:
- shard-adlp: [PASS][48] -> [DMESG-WARN][49] +40 other tests dmesg-warn
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-9/igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-hdmi-a-1-linear-xrgb16161616f.html
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-3/igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-hdmi-a-1-linear-xrgb16161616f.html

* {igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-hdmi-a-3-x-xyuv8888}:
- shard-bmg: NOTRUN -> [DMESG-WARN][50] +35 other tests dmesg-warn
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_async_flips@basic-modeset-with-all-modifiers-formats@pipe-a-hdmi-a-3-x-xyuv8888.html

New tests
---------

New tests have been introduced between xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30_FULL and xe-pw-152277v3_FULL:

### New IGT tests (1) ###

* igt@kms_hdmi_inject:
- Statuses :
- Exec time: [None] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_big_fb@4-tiled-addfb-size-overflow:
- shard-adlp: NOTRUN -> [SKIP][51] ([Intel XE#610])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-adlp: NOTRUN -> [SKIP][52] ([Intel XE#316])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_big_fb@x-tiled-64bpp-rotate-180:
- shard-adlp: NOTRUN -> [DMESG-FAIL][53] ([Intel XE#4543])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-adlp: [PASS][54] -> [DMESG-FAIL][55] ([Intel XE#4543])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-2/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-8/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

* igt@kms_bw@connected-linear-tiling-2-displays-2160x1440p:
- shard-bmg: [PASS][56] -> [SKIP][57] ([Intel XE#2314] / [Intel XE#2894])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_bw@linear-tiling-1-displays-2560x1440p:
- shard-adlp: NOTRUN -> [SKIP][58] ([Intel XE#367])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs:
- shard-adlp: NOTRUN -> [SKIP][59] ([Intel XE#2907])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#3432])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs@pipe-a-hdmi-a-2:
- shard-dg2-set2: NOTRUN -> [SKIP][61] ([Intel XE#787]) +20 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs@pipe-a-hdmi-a-2.html

* igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs-cc@pipe-b-hdmi-a-1:
- shard-adlp: NOTRUN -> [SKIP][62] ([Intel XE#787]) +2 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs-cc@pipe-d-hdmi-a-1:
- shard-adlp: NOTRUN -> [SKIP][63] ([Intel XE#455] / [Intel XE#787]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][64] ([Intel XE#455] / [Intel XE#787]) +3 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]

* igt@kms_chamelium_color@ctm-0-25:
- shard-adlp: NOTRUN -> [SKIP][65] ([Intel XE#306])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-for-each-pipe:
- shard-adlp: NOTRUN -> [SKIP][66] ([Intel XE#373])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_color@deep-color:
- shard-adlp: NOTRUN -> [SKIP][67] ([Intel XE#455]) +2 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy:
- shard-bmg: [PASS][68] -> [SKIP][69] ([Intel XE#2291]) +3 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-adlp: NOTRUN -> [SKIP][70] ([Intel XE#309]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
- shard-adlp: NOTRUN -> [SKIP][71] ([Intel XE#323])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

* igt@kms_display_modes@extended-mode-basic:
- shard-bmg: [PASS][72] -> [SKIP][73] ([Intel XE#4302])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_dp_linktrain_fallback@dp-fallback:
- shard-bmg: [PASS][74] -> [SKIP][75] ([Intel XE#4294])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_flip@2x-nonexisting-fb:
- shard-bmg: [PASS][76] -> [SKIP][77] ([Intel XE#2316]) +13 other tests skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][78] -> [FAIL][79] ([Intel XE#301]) +1 other test fail
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-5/igt@kms_flip@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-adlp: [PASS][80] -> [DMESG-WARN][81] ([Intel XE#4543]) +1 other test dmesg-warn
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-3/igt@kms_flip@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-8/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@drrs-1p-pri-indfb-multidraw:
- shard-adlp: NOTRUN -> [SKIP][82] ([Intel XE#651])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-indfb-plflip-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][83] ([Intel XE#651])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][84] ([Intel XE#2311])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-render.html

* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-blt:
- shard-adlp: NOTRUN -> [SKIP][85] ([Intel XE#656]) +3 other tests skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#5390])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][87] ([Intel XE#2312]) +2 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-move:
- shard-adlp: NOTRUN -> [SKIP][88] ([Intel XE#653]) +2 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][89] ([Intel XE#2313]) +1 other test skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_hdr@invalid-hdr:
- shard-dg2-set2: [PASS][90] -> [SKIP][91] ([Intel XE#455])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-463/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@[email protected]

* igt@kms_hdr@static-swap:
- shard-bmg: [PASS][92] -> [SKIP][93] ([Intel XE#1503]) +1 other test skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_joiner@basic-max-non-joiner:
- shard-dg2-set2: NOTRUN -> [SKIP][94] ([Intel XE#4298])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-bmg: [PASS][95] -> [SKIP][96] ([Intel XE#3012]) +1 other test skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_plane_lowres@tiling-none:
- shard-bmg: [PASS][97] -> [DMESG-WARN][98] ([Intel XE#5681])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_plane_multiple@tiling-4:
- shard-bmg: [PASS][99] -> [DMESG-WARN][100] ([Intel XE#5175])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-1/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-8/igt@[email protected]
- shard-dg2-set2: [PASS][101] -> [DMESG-WARN][102] ([Intel XE#5175])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-adlp: NOTRUN -> [SKIP][103] ([Intel XE#1406] / [Intel XE#1489])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_psr@pr-suspend:
- shard-adlp: NOTRUN -> [SKIP][104] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +1 other test skip
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@kms_psr@psr-no-drrs:
- shard-bmg: NOTRUN -> [SKIP][105] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +1 other test skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@xe_copy_basic@mem-set-linear-0xfffe:
- shard-adlp: NOTRUN -> [SKIP][106] ([Intel XE#1126])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_eudebug_online@resume-dss:
- shard-adlp: NOTRUN -> [SKIP][107] ([Intel XE#4837] / [Intel XE#5565]) +1 other test skip
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_evict@evict-beng-large:
- shard-adlp: NOTRUN -> [SKIP][108] ([Intel XE#261] / [Intel XE#5564])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-mmap:
- shard-adlp: NOTRUN -> [SKIP][109] ([Intel XE#1392] / [Intel XE#5575])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-mmap.html

* igt@xe_exec_basic@multigpu-once-userptr-invalidate:
- shard-dg2-set2: [PASS][110] -> [SKIP][111] ([Intel XE#1392])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-464/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@[email protected]

* igt@xe_exec_fault_mode@many-bindexecqueue-rebind-imm:
- shard-adlp: NOTRUN -> [SKIP][112] ([Intel XE#288] / [Intel XE#5561]) +1 other test skip
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_exec_fault_mode@once-userptr-invalidate-prefetch:
- shard-dg2-set2: NOTRUN -> [SKIP][113] ([Intel XE#288]) +1 other test skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]

* igt@xe_exec_system_allocator@many-large-mmap-huge:
- shard-bmg: NOTRUN -> [SKIP][114] ([Intel XE#4943]) +2 other tests skip
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@xe_exec_system_allocator@once-mmap-file-nomemset:
- shard-adlp: NOTRUN -> [SKIP][115] ([Intel XE#4915]) +34 other tests skip
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_exec_system_allocator@process-many-large-execqueues-malloc-bo-unmap-nomemset:
- shard-dg2-set2: NOTRUN -> [SKIP][116] ([Intel XE#4915]) +8 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@xe_exec_system_allocator@process-many-large-execqueues-malloc-bo-unmap-nomemset.html

* igt@xe_oa@privileged-forked-access-vaddr:
- shard-adlp: NOTRUN -> [SKIP][117] ([Intel XE#3573]) +1 other test skip
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_pm@d3cold-basic:
- shard-adlp: NOTRUN -> [SKIP][118] ([Intel XE#2284] / [Intel XE#366])
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

* igt@xe_pm@s2idle-vm-bind-userptr:
- shard-adlp: [PASS][119] -> [DMESG-WARN][120] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#4504])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-6/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-1/igt@[email protected]

* igt@xe_pxp@pxp-stale-bo-bind-post-suspend:
- shard-dg2-set2: NOTRUN -> [SKIP][121] ([Intel XE#4733])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]

* igt@xe_pxp@pxp-stale-queue-post-termination-irq:
- shard-adlp: NOTRUN -> [SKIP][122] ([Intel XE#4733] / [Intel XE#5594])
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-4/igt@[email protected]

#### Possible fixes ####

* igt@kms_flip@flip-vs-blocking-wf-vblank@c-hdmi-a1:
- shard-adlp: [DMESG-WARN][123] ([Intel XE#4543]) -> [PASS][124] +7 other tests pass
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-2/igt@kms_flip@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-2/igt@kms_flip@[email protected]

* igt@xe_exec_sip@sanity-after-timeout:
- shard-bmg: [INCOMPLETE][125] -> [PASS][126] +1 other test pass
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-7/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@xe_module_load@load:
- shard-dg2-set2: ([PASS][127], [PASS][128], [PASS][129], [PASS][130], [PASS][131], [PASS][132], [PASS][133], [PASS][134], [SKIP][135], [PASS][136], [PASS][137], [PASS][138], [PASS][139], [PASS][140], [PASS][141], [PASS][142], [PASS][143], [PASS][144], [PASS][145], [PASS][146], [PASS][147], [PASS][148], [PASS][149], [PASS][150], [PASS][151]) ([Intel XE#378]) -> ([PASS][152], [PASS][153], [PASS][154], [PASS][155], [PASS][156], [PASS][157], [PASS][158], [PASS][159], [PASS][160], [PASS][161], [PASS][162], [PASS][163], [PASS][164], [PASS][165], [PASS][166], [PASS][167], [PASS][168], [PASS][169], [PASS][170], [PASS][171], [PASS][172], [PASS][173], [PASS][174], [PASS][175], [PASS][176])
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-464/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-464/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-432/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-436/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-432/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-436/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-466/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-435/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-436/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-464/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-463/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-463/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-434/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-434/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-434/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-432/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-432/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-dg2-463/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-436/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-434/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-434/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-436/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-436/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-434/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-435/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-435/igt@[email protected]
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-466/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-466/igt@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-435/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@[email protected]
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-433/igt@[email protected]
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-466/igt@[email protected]
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-466/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-463/igt@[email protected]
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-463/igt@[email protected]
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-463/igt@[email protected]
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-464/igt@[email protected]
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@[email protected]
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-dg2-432/igt@[email protected]

#### Warnings ####

* igt@kms_flip@flip-vs-rmfb:
- shard-adlp: [DMESG-WARN][177] ([Intel XE#4543] / [Intel XE#5208]) -> [DMESG-WARN][178] ([Intel XE#5208])
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-adlp-9/igt@[email protected]
[178]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-adlp-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][179] ([Intel XE#2311]) -> [SKIP][180] ([Intel XE#2312]) +19 other tests skip
[179]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[180]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-bmg: [SKIP][181] ([Intel XE#5390]) -> [SKIP][182] ([Intel XE#2312]) +8 other tests skip
[181]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@[email protected]
[182]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-blt:
- shard-bmg: [SKIP][183] ([Intel XE#2313]) -> [SKIP][184] ([Intel XE#2312]) +18 other tests skip
[183]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-blt.html
[184]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-move:
- shard-bmg: [SKIP][185] ([Intel XE#2312]) -> [SKIP][186] ([Intel XE#2313])
[185]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-6/igt@[email protected]
[186]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-4/igt@[email protected]

* igt@kms_rotation_crc@primary-x-tiled-reflect-x-180:
- shard-lnl: [FAIL][187] ([Intel XE#4689]) -> [DMESG-FAIL][188] ([Intel XE#4689]) +1 other test dmesg-fail
[187]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-lnl-7/igt@[email protected]
[188]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-lnl-3/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][189] ([Intel XE#2509]) -> [SKIP][190] ([Intel XE#2426])
[189]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30/shard-bmg-1/igt@[email protected]
[190]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v3/shard-bmg-6/igt@[email protected]

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

[Intel XE#1126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1126
[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#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2029]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2029
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[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#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[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#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#2907]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2907
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3012]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3012
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3106]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3106
[Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[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#378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/378
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4294
[Intel XE#4298]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4298
[Intel XE#4302]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4302
[Intel XE#4504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4504
[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#4683]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4683
[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#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5175]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5175
[Intel XE#5195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5195
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5561]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5561
[Intel XE#5564]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5564
[Intel XE#5565]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5565
[Intel XE#5575]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5575
[Intel XE#5594]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5594
[Intel XE#5681]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5681
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929

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

* Linux: xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30 -> xe-pw-152277v3

IGT_8519: 8519
xe-3657-ca639a1f013945bb8e5450d625c460b0df195b30: ca639a1f013945bb8e5450d625c460b0df195b30
xe-pw-152277v3: 152277v3

== Logs ==

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

#15 lore raw

✗ i915.CI.BAT: failure for User readable error codes on atomic_ioctl failure (rev3)

In reply to Arun R Murthy
== Series Details ==

== Series Details ==

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

== Summary ==

CI Bug Log - changes from CI_DRM_17111 -> Patchwork_152275v3
====================================================

Summary
-------

**FAILURE**

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

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

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

Participating hosts (44 -> 43)
------------------------------

Missing (1): fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@kms_busy@basic:
- bat-adlp-6: [PASS][1] -> [ABORT][2] +1 other test abort
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-adlp-6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-adlp-6/igt@[email protected]

* igt@kms_busy@basic@flip:
- fi-cfl-8700k: [PASS][3] -> [DMESG-WARN][4] +8 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-cfl-8700k/igt@kms_busy@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-cfl-8700k/igt@kms_busy@[email protected]
- bat-dg2-14: [PASS][5] -> [ABORT][6] +1 other test abort
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-dg2-14/igt@kms_busy@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-dg2-14/igt@kms_busy@[email protected]
- fi-elk-e7500: [PASS][7] -> [DMESG-WARN][8] +10 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-elk-e7500/igt@kms_busy@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-elk-e7500/igt@kms_busy@[email protected]
- bat-mtlp-9: [PASS][9] -> [ABORT][10] +1 other test abort
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-mtlp-9/igt@kms_busy@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-mtlp-9/igt@kms_busy@[email protected]
- bat-rpls-4: [PASS][11] -> [ABORT][12] +1 other test abort
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-rpls-4/igt@kms_busy@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-rpls-4/igt@kms_busy@[email protected]
- fi-cfl-8109u: [PASS][13] -> [ABORT][14] +1 other test abort
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-cfl-8109u/igt@kms_busy@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-cfl-8109u/igt@kms_busy@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- fi-hsw-4770: [PASS][15] -> [DMESG-WARN][16] +10 other tests dmesg-warn
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-hsw-4770/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-hsw-4770/igt@[email protected]
- bat-mtlp-8: [PASS][17] -> [DMESG-WARN][18] +10 other tests dmesg-warn
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-mtlp-8/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-mtlp-8/igt@[email protected]
- bat-adls-6: [PASS][19] -> [DMESG-WARN][20] +8 other tests dmesg-warn
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-adls-6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-adls-6/igt@[email protected]
- bat-arlh-3: [PASS][21] -> [DMESG-WARN][22] +10 other tests dmesg-warn
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-arlh-3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-arlh-3/igt@[email protected]
- bat-dg1-7: [PASS][23] -> [DMESG-WARN][24] +8 other tests dmesg-warn
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-dg1-7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-dg1-7/igt@[email protected]
- fi-glk-j4005: [PASS][25] -> [DMESG-WARN][26] +8 other tests dmesg-warn
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-glk-j4005/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-glk-j4005/igt@[email protected]
- bat-adlp-9: [PASS][27] -> [DMESG-WARN][28] +8 other tests dmesg-warn
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-adlp-9/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-adlp-9/igt@[email protected]
- bat-twl-1: [PASS][29] -> [DMESG-WARN][30] +10 other tests dmesg-warn
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-twl-1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-twl-1/igt@[email protected]
- bat-apl-1: [PASS][31] -> [DMESG-WARN][32] +8 other tests dmesg-warn
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-apl-1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-apl-1/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- fi-skl-6600u: [PASS][33] -> [DMESG-WARN][34] +10 other tests dmesg-warn
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-skl-6600u/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-skl-6600u/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- bat-arls-6: [PASS][35] -> [DMESG-WARN][36] +8 other tests dmesg-warn
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-arls-6/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-arls-6/igt@[email protected]
- fi-cfl-guc: [PASS][37] -> [DMESG-WARN][38] +8 other tests dmesg-warn
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-cfl-guc/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-cfl-guc/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- bat-twl-2: [PASS][39] -> [DMESG-WARN][40] +10 other tests dmesg-warn
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-twl-2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-twl-2/igt@[email protected]
- bat-dg2-11: [PASS][41] -> [DMESG-WARN][42] +8 other tests dmesg-warn
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-dg2-11/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-dg2-11/igt@[email protected]
- fi-ivb-3770: [PASS][43] -> [DMESG-WARN][44] +10 other tests dmesg-warn
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-ivb-3770/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-ivb-3770/igt@[email protected]
- bat-dg2-8: [PASS][45] -> [DMESG-WARN][46] +13 other tests dmesg-warn
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-dg2-8/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-dg2-8/igt@[email protected]
- fi-bsw-n3050: [PASS][47] -> [DMESG-WARN][48] +10 other tests dmesg-warn
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-bsw-n3050/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-bsw-n3050/igt@[email protected]
- bat-arls-5: [PASS][49] -> [DMESG-WARN][50] +8 other tests dmesg-warn
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-arls-5/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-arls-5/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size:
- fi-ilk-650: [PASS][51] -> [DMESG-WARN][52] +10 other tests dmesg-warn
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-ilk-650/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-ilk-650/igt@[email protected]
- fi-tgl-1115g4: [PASS][53] -> [DMESG-WARN][54] +8 other tests dmesg-warn
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-tgl-1115g4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-tgl-1115g4/igt@[email protected]

* igt@kms_dsc@dsc-basic@pipe-a-dp-1:
- bat-dg2-9: [PASS][55] -> [DMESG-WARN][56] +13 other tests dmesg-warn
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-dg2-9/igt@kms_dsc@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-dg2-9/igt@kms_dsc@[email protected]

* igt@kms_flip@basic-flip-vs-dpms:
- fi-glk-j4005: [PASS][57] -> [ABORT][58] +1 other test abort
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-glk-j4005/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-glk-j4005/igt@[email protected]

* igt@kms_pm_backlight@basic-brightness@edp-1:
- bat-jsl-1: [PASS][59] -> [DMESG-WARN][60] +10 other tests dmesg-warn
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-jsl-1/igt@kms_pm_backlight@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-jsl-1/igt@kms_pm_backlight@[email protected]
- bat-rplp-1: [PASS][61] -> [DMESG-WARN][62] +10 other tests dmesg-warn
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-rplp-1/igt@kms_pm_backlight@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-rplp-1/igt@kms_pm_backlight@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@dmabuf@all-tests@dma_fence_chain:
- fi-bsw-nick: [PASS][63] -> [ABORT][64] ([i915#12904]) +1 other test abort
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/fi-bsw-nick/igt@dmabuf@all-tests@dma_fence_chain.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/fi-bsw-nick/igt@dmabuf@all-tests@dma_fence_chain.html

#### Possible fixes ####

* igt@i915_selftest@live:
- bat-mtlp-8: [DMESG-FAIL][65] ([i915#12061]) -> [PASS][66] +1 other test pass
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-mtlp-8/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-mtlp-8/igt@[email protected]

* igt@i915_selftest@live@workarounds:
- bat-arlh-3: [DMESG-FAIL][67] ([i915#12061]) -> [PASS][68] +1 other test pass
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17111/bat-arlh-3/igt@i915_selftest@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152275v3/bat-arlh-3/igt@i915_selftest@[email protected]

[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#12904]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12904

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

* Linux: CI_DRM_17111 -> Patchwork_152275v3

CI-20190529: 20190529
CI_DRM_17111: 1f77b659779b81cb61032b61cd63b1425c0beee6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8519: 8519
Patchwork_152275v3: 1f77b659779b81cb61032b61cd63b1425c0beee6 @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

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

#3 lore raw

Re: [PATCH v4 1/4] drm: Define user readable error codes for atomic ioctl

In reply to Jani Nikula
Quoted 16 lines · Jani Nikula
Quoted 15 lines · 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.

Quoted 4 lines
Quoted 1 line

Please run 'scripts/kernel-doc -Wall -none path/to/file' on all changes, and make sure you're not adding new errors. There are plenty, and I'm not going to iterate to you separately what the tool can tell you.

Ok

Quoted 4 lines
Quoted 4 lines
---
  include/uapi/drm/drm_mode.h | 41 +++++++++++++++++++++++++++++++++++++++++
  1 file changed, 41 insertions(+)
Quoted 10 lines

include/uapi/drm/drm_mode.h extern "C" { · line 48

Quoted 9 lines
include/uapi/drm/drm_mode.h +1 -0
index a122bea2559387576150236e3a88f99c24ad3138..6c4929e591b30b7a5eac472dadeeb3c9400e36df 100644
@@ -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	64

64 is enough for everyone?

Should be sufficient, as we just need small meaningful error messages that can be used for logging in user space.

To accommodate long ones, can change it to 128.

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

Quoted 50 lines
Quoted 50 lines
include/uapi/drm/drm_mode.h +40 -0
  #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;
#7 lore raw

Re: [PATCH v4 3/4] drm/atomic: Return user readable error in atomic_ioctl

In reply to Jani Nikula
Quoted 39 lines · Jani Nikula
Quoted 23 lines · 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.

---
  drivers/gpu/drm/drm_atomic.c      | 23 +++++++----
  drivers/gpu/drm/drm_atomic_uapi.c | 83 ++++++++++++++++++++++++++++++---------
  include/drm/drm_atomic.h          | 19 +++++++++
  3 files changed, 100 insertions(+), 25 deletions(-)
drivers/gpu/drm/drm_atomic.c +1 -0
index cd15cf52f0c9144711da5879da57884674aea9e4..4f6c7e659b362f0887ffcc85dade1122fd30df3d 100644
@@ -1463,6 +1463,7 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
  	unsigned int requested_crtc = 0;
  	unsigned int affected_crtc = 0;
  	int i, ret = 0;
+	char *err_string;
 
  	drm_dbg_atomic(dev, "checking %p\n", state);
 

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1515

Quoted 6 lines
drivers/gpu/drm/drm_atomic.c +1 -2
@@ -1511,8 +1512,13 @@ 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",
-					       crtc->base.id, crtc->name);
+				err_string = "requires full modeset";

This points a non-const pointer to const data.

Anyway none of this should require or start a precendent of using local variables all over the place for the error strings. It's ugly. Ditto below for all the places.

If all the places calling drm_mode_atomic_add_error_msg() do debug logging, maybe that's where the debug logging should be?

Quoted 6 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1520

Quoted 5 lines
drivers/gpu/drm/drm_atomic.c +5 -0
+				drm_dbg_atomic(dev, "[CRTC:%d:%s] %s\n",
+					       crtc->base.id, crtc->name, err_string);
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+							      err_string);

I guess you didn't want to follow what Maarten suggested.

Yes, felt so, as adding a new function doesnt make much sense just for filling the struct drm_mode_atomic_err_code.

Will remove this function and fill the struct drm_mode_atomic_err_code in place, thereby the below comment also should be handled.

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

Quoted 6 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1522

Quoted 3 lines
drivers/gpu/drm/drm_atomic.c +1 -0
+
  				return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier. Ignoring review is one of the certain ways to stop receiving review in the future.

Will take it out of this series.

Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/drm_atomic.c +1 -5
  			}
  		}
@@ -1534,11 +1540,14 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
  	 * so compositors know what's going on.
  	 */
  	if (affected_crtc != requested_crtc) {
-		drm_dbg_atomic(dev,
-			       "driver added CRTC to commit: requested 0x%x, affected 0x%0x\n",
-			       requested_crtc, affected_crtc);
-		WARN(!state->allow_modeset, "adding CRTC not allowed without modesets: requested 0x%x, affected 0x%0x\n",
-		     requested_crtc, affected_crtc);
+		err_string = "adding CRTC not allowed without modesets";
Quoted 8 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1550

Quoted 7 lines
drivers/gpu/drm/drm_atomic.c +7 -0
+		drm_dbg_atomic(dev, "%s: requested 0x%x, affected 0x%0x\n",
+			       err_string, requested_crtc, affected_crtc);
+		drm_mode_atomic_add_error_msg(state->error_code,
+					      DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+					      err_string);
+
+		return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier.

Will take it out of this series.

Quoted 45 lines
Quoted 45 lines
drivers/gpu/drm/drm_atomic.c +0 -0
  	}
 
  	return 0;
drivers/gpu/drm/drm_atomic_uapi.c +14 -2
index 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..60f1b8baebce0db1ce984c8cda56039261b519e8 100644
@@ -1017,6 +1017,7 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
  	struct drm_mode_object *ref;
  	u64 old_val;
  	int ret;
+	char *err_string;
 
  	if (!drm_property_change_valid_get(prop, prop_value, &ref))
  		return -EINVAL;
@@ -1058,6 +1059,12 @@ 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) {
+				err_string = "property change not allowed in async flip";
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+							      err_string);
+			}
  			break;
  		}
 
@@ -1096,9 +1103,14 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
  					ret = plane_funcs->atomic_async_check(plane, state, true);
 
  				if (ret) {
+					err_string = "plane does not support async flip";
+					drm_mode_atomic_add_error_msg(state->error_code,
+								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+								      err_string);
  					drm_dbg_atomic(prop->dev,
-						       "[PLANE:%d:%s] does not support async flips\n",
-						       obj->id, plane->name);
+							"[PLANE:%d:%s] %s\n",
+						       obj->id, plane->name,
+						       err_string);
  					break;
  				}
Quoted 8 lines

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1405

Quoted 7 lines
drivers/gpu/drm/drm_atomic_uapi.c +1 -1
  			}
@@ -1390,42 +1402,63 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
  	uint32_t __user *props_ptr = (uint32_t __user *)(unsigned long)(arg->props_ptr);
  	uint64_t __user *prop_values_ptr = (uint64_t __user *)(unsigned long)(arg->prop_values_ptr);
  	unsigned int copied_objs, copied_props;
-	struct drm_atomic_state *state;
+	struct drm_atomic_state *state = NULL;

Unrelated change.

Noted!

Quoted 153 lines
Quoted 19 lines
drivers/gpu/drm/drm_atomic_uapi.c +8 -0
  	struct drm_modeset_acquire_ctx ctx;
  	struct drm_out_fence_state *fence_state;
+	struct drm_mode_atomic_err_code error_code;
+	struct drm_mode_atomic_err_code __user *error_code_ptr;
  	int ret = 0;
  	unsigned int i, j, num_fences;
  	bool async_flip = false;
+	char *err_string;
 
  	/* disallow for drivers not supporting atomic: */
  	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
  		return -EOPNOTSUPP;
 
+	if (!arg->reserved)
+		drm_err(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 *)

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1433

Quoted 10 lines
drivers/gpu/drm/drm_atomic_uapi.c +5 -0
+				 (unsigned long)arg->reserved;
+
+	memset(&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) {
+		err_string = "DRM_ATOMIC capability not enabled";

Yeah, just repeating, don't start using this err_string local variable idea.

Quoted 95 lines
drivers/gpu/drm/drm_atomic_uapi.c +37 -15
  		drm_dbg_atomic(dev,
-			       "commit failed: atomic cap not enabled\n");
-		return -EINVAL;
+			       "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+		err_string = "invalid flag";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+			err_string = "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl";
+			drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+			drm_mode_atomic_add_error_msg(&error_code,
+						      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+						      err_string);
+			ret = -EINVAL;
+			goto out;
  		}
 
  		async_flip = true;
@@ -1434,9 +1467,13 @@ 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;
+		err_string = "page-flip event requested with test-only commit";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		ret = -EINVAL;
+		goto out;
  	}
 
  	state = drm_atomic_state_alloc(dev);
@@ -1447,6 +1484,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
  	state->acquire_ctx = &ctx;
  	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
 
+	state->error_code = &error_code;
+
  retry:
  	copied_objs = 0;
  	copied_props = 0;
@@ -1543,6 +1582,14 @@ 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, &error_code, sizeof(error_code)))
+			return -EFAULT;
+
+	if (!state)
+		return ret;
+
  	complete_signaling(dev, state, fence_state, num_fences, !ret);
 
  	if (ret == -EDEADLK) {
include/drm/drm_atomic.h +3 -0
index d380001b24b4223baa54dae6c3c43e19dfb1958d..8956b175795128422eefc2bc047b320b80aedc3f 100644
@@ -1255,4 +1255,23 @@ struct drm_bridge_state *
  drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
  				struct drm_bridge *bridge);
 
+/**
+ * drm_mode_atomic_add_error_msg - function to add error code and error string
+ *

include/drm/drm_atomic.h struct drm_bridge_state * · line 1270

Quoted 10 lines
include/drm/drm_atomic.h +10 -0
+ * @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
+ */
+static inline void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+						 __u64 failure_code,
+						 char *failure_string)

So this should be "const char *format, ..." with printf format, with printf format annotation, to help callers pass in other stuff than just fixed strings.

This should be a proper function instead of static inline.

include/drm/drm_atomic.h struct drm_bridge_state * · line 1274

Quoted 4 lines
include/drm/drm_atomic.h +4 -0
+{
+	err_code->failure_code = failure_code;
+	strscpy_pad(err_code->failure_string, failure_string,
+		    strlen(err_code->failure_string));

If the size is fixed, why do we just silently truncate the string? If the message is for the user, it'll be ugly to emit truncated strings.

Quoted 3 lines
include/drm/drm_atomic.h +2 -0
+}
+
  #endif /* DRM_ATOMIC_H_ */
maintainer
#8 lore raw

Re: [PATCH v4 3/4] drm/atomic: Return user readable error in atomic_ioctl

Quoted 46 lines · Arun R
Quoted 39 lines · Jani Nikula
Quoted 23 lines · 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.

---
  drivers/gpu/drm/drm_atomic.c      | 23 +++++++----
  drivers/gpu/drm/drm_atomic_uapi.c | 83 ++++++++++++++++++++++++++++++---------
  include/drm/drm_atomic.h          | 19 +++++++++
  3 files changed, 100 insertions(+), 25 deletions(-)
drivers/gpu/drm/drm_atomic.c +1 -0
index cd15cf52f0c9144711da5879da57884674aea9e4..4f6c7e659b362f0887ffcc85dade1122fd30df3d 100644
@@ -1463,6 +1463,7 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
  	unsigned int requested_crtc = 0;
  	unsigned int affected_crtc = 0;
  	int i, ret = 0;
+	char *err_string;
 
  	drm_dbg_atomic(dev, "checking %p\n", state);
 

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1515

Quoted 6 lines
drivers/gpu/drm/drm_atomic.c +1 -2
@@ -1511,8 +1512,13 @@ 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",
-					       crtc->base.id, crtc->name);
+				err_string = "requires full modeset";

This points a non-const pointer to const data.

Anyway none of this should require or start a precendent of using local variables all over the place for the error strings. It's ugly. Ditto below for all the places.

If all the places calling drm_mode_atomic_add_error_msg() do debug logging, maybe that's where the debug logging should be?

Quoted 6 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1520

Quoted 5 lines
drivers/gpu/drm/drm_atomic.c +5 -0
+				drm_dbg_atomic(dev, "[CRTC:%d:%s] %s\n",
+					       crtc->base.id, crtc->name, err_string);
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+							      err_string);

I guess you didn't want to follow what Maarten suggested.

Quoted 5 lines

Yes, felt so, as adding a new function doesnt make much sense just for filling the struct drm_mode_atomic_err_code.

Will remove this function and fill the struct drm_mode_atomic_err_code in place, thereby the below comment also should be handled.

Nobody suggested that! Keep the function.

Quoted 240 lines

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

Quoted 6 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1522

Quoted 3 lines
drivers/gpu/drm/drm_atomic.c +1 -0
+
  				return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier. Ignoring review is one of the certain ways to stop receiving review in the future.

Will take it out of this series.

Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/drm_atomic.c +1 -5
  			}
  		}
@@ -1534,11 +1540,14 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
  	 * so compositors know what's going on.
  	 */
  	if (affected_crtc != requested_crtc) {
-		drm_dbg_atomic(dev,
-			       "driver added CRTC to commit: requested 0x%x, affected 0x%0x\n",
-			       requested_crtc, affected_crtc);
-		WARN(!state->allow_modeset, "adding CRTC not allowed without modesets: requested 0x%x, affected 0x%0x\n",
-		     requested_crtc, affected_crtc);
+		err_string = "adding CRTC not allowed without modesets";
Quoted 8 lines

drivers/gpu/drm/drm_atomic.c int drm_atomic_check_only(struct drm_atomic_state *state) · line 1550

Quoted 7 lines
drivers/gpu/drm/drm_atomic.c +7 -0
+		drm_dbg_atomic(dev, "%s: requested 0x%x, affected 0x%0x\n",
+			       err_string, requested_crtc, affected_crtc);
+		drm_mode_atomic_add_error_msg(state->error_code,
+					      DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+					      err_string);
+
+		return -EINVAL;

Adding the return is a functional change, and I mentioned it earlier.

Will take it out of this series.

Quoted 45 lines
Quoted 45 lines
drivers/gpu/drm/drm_atomic.c +0 -0
  	}
 
  	return 0;
drivers/gpu/drm/drm_atomic_uapi.c +14 -2
index 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..60f1b8baebce0db1ce984c8cda56039261b519e8 100644
@@ -1017,6 +1017,7 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
  	struct drm_mode_object *ref;
  	u64 old_val;
  	int ret;
+	char *err_string;
 
  	if (!drm_property_change_valid_get(prop, prop_value, &ref))
  		return -EINVAL;
@@ -1058,6 +1059,12 @@ 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) {
+				err_string = "property change not allowed in async flip";
+				drm_mode_atomic_add_error_msg(state->error_code,
+							      DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+							      err_string);
+			}
  			break;
  		}
 
@@ -1096,9 +1103,14 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
  					ret = plane_funcs->atomic_async_check(plane, state, true);
 
  				if (ret) {
+					err_string = "plane does not support async flip";
+					drm_mode_atomic_add_error_msg(state->error_code,
+								      DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+								      err_string);
  					drm_dbg_atomic(prop->dev,
-						       "[PLANE:%d:%s] does not support async flips\n",
-						       obj->id, plane->name);
+							"[PLANE:%d:%s] %s\n",
+						       obj->id, plane->name,
+						       err_string);
  					break;
  				}
Quoted 8 lines

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1405

Quoted 7 lines
drivers/gpu/drm/drm_atomic_uapi.c +1 -1
  			}
@@ -1390,42 +1402,63 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
  	uint32_t __user *props_ptr = (uint32_t __user *)(unsigned long)(arg->props_ptr);
  	uint64_t __user *prop_values_ptr = (uint64_t __user *)(unsigned long)(arg->prop_values_ptr);
  	unsigned int copied_objs, copied_props;
-	struct drm_atomic_state *state;
+	struct drm_atomic_state *state = NULL;

Unrelated change.

Noted!

Quoted 153 lines
Quoted 19 lines
drivers/gpu/drm/drm_atomic_uapi.c +8 -0
  	struct drm_modeset_acquire_ctx ctx;
  	struct drm_out_fence_state *fence_state;
+	struct drm_mode_atomic_err_code error_code;
+	struct drm_mode_atomic_err_code __user *error_code_ptr;
  	int ret = 0;
  	unsigned int i, j, num_fences;
  	bool async_flip = false;
+	char *err_string;
 
  	/* disallow for drivers not supporting atomic: */
  	if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
  		return -EOPNOTSUPP;
 
+	if (!arg->reserved)
+		drm_err(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 *)

drivers/gpu/drm/drm_atomic_uapi.c int drm_mode_atomic_ioctl(struct drm_device *dev, · line 1433

Quoted 10 lines
drivers/gpu/drm/drm_atomic_uapi.c +5 -0
+				 (unsigned long)arg->reserved;
+
+	memset(&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) {
+		err_string = "DRM_ATOMIC capability not enabled";

Yeah, just repeating, don't start using this err_string local variable idea.

Quoted 95 lines
drivers/gpu/drm/drm_atomic_uapi.c +37 -15
  		drm_dbg_atomic(dev,
-			       "commit failed: atomic cap not enabled\n");
-		return -EINVAL;
+			       "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+		err_string = "invalid flag";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		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;
+			err_string = "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl";
+			drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+			drm_mode_atomic_add_error_msg(&error_code,
+						      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+						      err_string);
+			ret = -EINVAL;
+			goto out;
  		}
 
  		async_flip = true;
@@ -1434,9 +1467,13 @@ 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;
+		err_string = "page-flip event requested with test-only commit";
+		drm_dbg_atomic(dev, "commit failed: %s\n", err_string);
+		drm_mode_atomic_add_error_msg(&error_code,
+					      DRM_MODE_ATOMIC_INVALID_API_USAGE,
+					      err_string);
+		ret = -EINVAL;
+		goto out;
  	}
 
  	state = drm_atomic_state_alloc(dev);
@@ -1447,6 +1484,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
  	state->acquire_ctx = &ctx;
  	state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
 
+	state->error_code = &error_code;
+
  retry:
  	copied_objs = 0;
  	copied_props = 0;
@@ -1543,6 +1582,14 @@ 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, &error_code, sizeof(error_code)))
+			return -EFAULT;
+
+	if (!state)
+		return ret;
+
  	complete_signaling(dev, state, fence_state, num_fences, !ret);
 
  	if (ret == -EDEADLK) {
include/drm/drm_atomic.h +3 -0
index d380001b24b4223baa54dae6c3c43e19dfb1958d..8956b175795128422eefc2bc047b320b80aedc3f 100644
@@ -1255,4 +1255,23 @@ struct drm_bridge_state *
  drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
  				struct drm_bridge *bridge);
 
+/**
+ * drm_mode_atomic_add_error_msg - function to add error code and error string
+ *

include/drm/drm_atomic.h struct drm_bridge_state * · line 1270

Quoted 10 lines
include/drm/drm_atomic.h +10 -0
+ * @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
+ */
+static inline void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+						 __u64 failure_code,
+						 char *failure_string)

So this should be "const char *format, ..." with printf format, with printf format annotation, to help callers pass in other stuff than just fixed strings.

This should be a proper function instead of static inline.

include/drm/drm_atomic.h struct drm_bridge_state * · line 1274

Quoted 4 lines
include/drm/drm_atomic.h +4 -0
+{
+	err_code->failure_code = failure_code;
+	strscpy_pad(err_code->failure_string, failure_string,
+		    strlen(err_code->failure_string));

If the size is fixed, why do we just silently truncate the string? If the message is for the user, it'll be ugly to emit truncated strings.

Quoted 3 lines
include/drm/drm_atomic.h +2 -0
+}
+
  #endif /* DRM_ATOMIC_H_ */
Signature · 1 line
Jani Nikula, Intel