* [PATCH v6 0/5] User readable error codes on atomic_ioctl failure
@ 2025-10-09 9:32 Arun R Murthy
2025-10-09 9:32 ` [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
` (10 more replies)
0 siblings, 11 replies; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
The series focuses on providing a user readable error value on a failure
in drm_atomic_ioctl(). Usually -EINVAL is returned in most of the error
cases and it is difficult for the user to decode the error and get to
know the real cause for the error. If user gets to know the reason for
the error then corrective measurements can be taken up.
TODO: driver specific error codes are to be added and will be done in
the follow-up patches.
The IGT related changes are pushed for review @
https://patchwork.freedesktop.org/series/153330/
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
Arun R Murthy (5):
drm: Define user readable error codes for atomic ioctl
drm/atomic: Add error_code element in atomic_state
drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
drm/atomic: Return user readable error in atomic_ioctl
drm/i915/display: Error codes for async flip failures
drivers/gpu/drm/drm_atomic.c | 31 ++++++++++
drivers/gpu/drm/drm_atomic_uapi.c | 92 +++++++++++++++++++---------
drivers/gpu/drm/i915/display/intel_display.c | 25 ++++----
include/drm/drm_atomic.h | 10 +++
include/uapi/drm/drm_mode.h | 41 +++++++++++++
5 files changed, 159 insertions(+), 40 deletions(-)
---
base-commit: a7101e35f29e03562f24ce1220f08350260fc0fc
change-id: 20250728-atomic-c9713fd357e4
Best regards,
--
Arun R Murthy <arun.r.murthy@intel.com>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
@ 2025-10-09 9:32 ` Arun R Murthy
2025-10-29 7:02 ` Kandpal, Suraj
2025-10-09 9:32 ` [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
` (9 subsequent siblings)
10 siblings, 1 reply; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
There can be multiple reasons for a failure in atomic_ioctl. Most often
in these error conditions -EINVAL is returned. User/Compositor would
have to blindly take a call on failure of this ioctl so as to use
ALLOW_MODESET or any. It would be good if user/compositor gets a
readable error code on failure so they can take proper corrections in
the next commit.
The struct drm_mode_atomic is being passed by the user/compositor which
holds the properties for modeset/flip. Reusing the same struct for
returning the error code in case of failure can save by creating a new
uapi/interface for returning the error code.
The element 'reserved' in the struct drm_mode_atomic is used for
returning the user readable error code. This points to the struct
drm_mode_atomic_err_code. Failure reasons have been initialized in
DRM_MODE_ATOMIC_FAILURE_REASON.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
include/uapi/drm/drm_mode.h | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 1e0e02a79b5c8db200cf9fd35edfe163d701cbd5..1e9eeae472e74bbd1b5e0b6f79f9782cafaf5b6e 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -45,6 +45,7 @@ extern "C" {
#define DRM_CONNECTOR_NAME_LEN 32
#define DRM_DISPLAY_MODE_LEN 32
#define DRM_PROP_NAME_LEN 32
+#define DRM_MODE_ATOMIC_FAILURE_STRING_LEN 128
#define DRM_MODE_TYPE_BUILTIN (1<<0) /* deprecated */
#define DRM_MODE_TYPE_CLOCK_C ((1<<1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
@@ -1205,6 +1206,46 @@ struct drm_mode_destroy_dumb {
DRM_MODE_ATOMIC_NONBLOCK |\
DRM_MODE_ATOMIC_ALLOW_MODESET)
+/**
+ * enum drm_mode_atomic_err_code - error codes for failures in atomic_ioctl
+ * @DRM_MODE_ATOMIC_INVALID_API_USAGE: invallid API usage(DRM_ATOMIC not
+ * enabled, invalid falg, page_flip event
+ * with test-only, etc)
+ * @DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET: Need full modeset on this crtc
+ * @DRM_MODE_ATOMIC_NEED_FULL_MODESET: Need full modeset on all connected crtc's
+ * @DRM_MODE_ATOMIC_ASYN_NOTSUPP_PLANE: Aync flip not supported on this plane
+ * DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP: Modifier not supported by async flip
+ * @DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED: Property changed in async flip
+ */
+enum drm_mode_atomic_failure_codes {
+ DRM_MODE_ATOMIC_INVALID_API_USAGE,
+ DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+ DRM_MODE_ATOMIC_NEED_FULL_MODESET,
+ DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+ DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
+ DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+};
+
+/**
+ * drm_mode_atomic_err_code - struct to store the error code
+ *
+ * pointer to this struct will be stored in reserved variable of
+ * struct drm_mode_atomic to report the failure cause to the user.
+ *
+ * @failure_code: error codes defined in enum drm_moide_atomic_failure_code
+ * @failure_string_ptr: pointer to user readable error message string
+ * @failure_obj_ptr: pointer to the drm_object that caused error
+ * @reserved: reserved for future use
+ * @count_objs: count of drm_objects if multiple drm_objects caused error
+ */
+struct drm_mode_atomic_err_code {
+ __u64 failure_code;
+ __u64 failure_objs_ptr;
+ __u64 reserved;
+ __u32 count_objs;
+ char failure_string[DRM_MODE_ATOMIC_FAILURE_STRING_LEN];
+};
+
struct drm_mode_atomic {
__u32 flags;
__u32 count_objs;
--
2.25.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
2025-10-09 9:32 ` [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
@ 2025-10-09 9:32 ` Arun R Murthy
2025-10-29 7:53 ` Kandpal, Suraj
2025-10-09 9:32 ` [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
` (8 subsequent siblings)
10 siblings, 1 reply; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
Now that a proper error code will be returned to the user on any failure
in atomic_ioctl() via struct drm_mode_atomic, add a new element
error_code in the struct drm_atomic_state so as to hold the error code
during the atomic_check() and atomic_commit() phases.
New function added to print the error message and fill the struct
err_code with proper error message and error code.
v5: Add a function for printing the error message and filling err_code
struct
v6: Replace drm_err with drm_dbg_atomic print
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
drivers/gpu/drm/drm_atomic.c | 31 +++++++++++++++++++++++++++++++
include/drm/drm_atomic.h | 10 ++++++++++
2 files changed, 41 insertions(+)
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index 0fda567c390057b10bce691d9ddc11308088d92e..52eacb5a109d1c0f5b017e552d9f5169f8d8fea5 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -1897,6 +1897,37 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p)
}
EXPORT_SYMBOL(drm_state_dump);
+/**
+ * drm_mode_atomic_add_error_msg - function to add error code and error string
+ *
+ * @err_code: pointer to struct drm_mode_atomic_err_code that stores the failure
+ * reason
+ * @failure_code: failure code in enum drm_mode_atomic_failure_codes
+ * @failure_string: failure reason string message
+ *
+ * Returns: void
+ */
+void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+ __u64 failure_code, const char *format, ...)
+{
+ struct drm_atomic_state *state = container_of(err_code,
+ struct drm_atomic_state,
+ error_code);
+ va_list varg;
+ char *failure_string;
+
+ err_code->failure_code = failure_code;
+
+ va_start(varg, format);
+ failure_string = kvasprintf(GFP_ATOMIC, format, varg);
+
+ drm_dbg_atomic(state->dev, "%s\n", failure_string);
+ strscpy_pad(err_code->failure_string, failure_string,
+ sizeof(err_code->failure_string));
+ va_end(varg);
+}
+EXPORT_SYMBOL(drm_mode_atomic_add_error_msg);
+
#ifdef CONFIG_DEBUG_FS
static int drm_state_info(struct seq_file *m, void *data)
{
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index c8ab2163bf658cd06b12a8dabada7c088a328654..205ce418da22f8cbe10ea353c62471dbb41ae2e8 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -589,6 +589,13 @@ struct drm_atomic_state {
* commit without blocking.
*/
struct work_struct commit_work;
+
+ /* @error_code: pointer to struct holding failure reason and string
+ *
+ * struct to convey user readable error to the user.
+ * Error codes defined in enum drm_mode_atomic_failure_flags
+ */
+ struct drm_mode_atomic_err_code error_code;
};
void __drm_crtc_commit_free(struct kref *kref);
@@ -1259,5 +1266,8 @@ drm_atomic_get_old_bridge_state(const struct drm_atomic_state *state,
struct drm_bridge_state *
drm_atomic_get_new_bridge_state(const struct drm_atomic_state *state,
struct drm_bridge *bridge);
+__printf(3, 4)
+void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code *err_code,
+ __u64 failure_code, const char *format, ...);
#endif /* DRM_ATOMIC_H_ */
--
2.25.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
2025-10-09 9:32 ` [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
2025-10-09 9:32 ` [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
@ 2025-10-09 9:32 ` Arun R Murthy
2025-10-29 7:46 ` Kandpal, Suraj
2025-10-09 9:32 ` [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
` (7 subsequent siblings)
10 siblings, 1 reply; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
Moving atomic_state allocation to the beginning of the atomci_ioctl
to accommodate drm_mode_atomic_err_code usage for returning error
code on failures.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
drivers/gpu/drm/drm_atomic_uapi.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..3ef478e717bec917d1b8803c72bbcc8d6409d745 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1394,13 +1394,21 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
struct drm_modeset_acquire_ctx ctx;
struct drm_out_fence_state *fence_state;
int ret = 0;
- unsigned int i, j, num_fences;
+ unsigned int i, j, num_fences = 0;
bool async_flip = false;
/* disallow for drivers not supporting atomic: */
if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
return -EOPNOTSUPP;
+ state = drm_atomic_state_alloc(dev);
+ if (!state)
+ return -ENOMEM;
+
+ drm_modeset_acquire_init(&ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
+ state->acquire_ctx = &ctx;
+ state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
+
/* disallow for userspace that has not enabled atomic cap (even
* though this may be a bit overkill, since legacy userspace
* wouldn't know how to call this ioctl)
@@ -1439,14 +1447,6 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
return -EINVAL;
}
- state = drm_atomic_state_alloc(dev);
- if (!state)
- return -ENOMEM;
-
- drm_modeset_acquire_init(&ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
- state->acquire_ctx = &ctx;
- state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
-
retry:
copied_objs = 0;
copied_props = 0;
@@ -1543,7 +1543,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
}
out:
- complete_signaling(dev, state, fence_state, num_fences, !ret);
+ if (num_fences)
+ complete_signaling(dev, state, fence_state, num_fences, !ret);
if (ret == -EDEADLK) {
drm_atomic_state_clear(state);
--
2.25.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (2 preceding siblings ...)
2025-10-09 9:32 ` [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
@ 2025-10-09 9:32 ` Arun R Murthy
2025-10-29 8:15 ` Kandpal, Suraj
2025-10-09 9:32 ` [PATCH v6 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
` (6 subsequent siblings)
10 siblings, 1 reply; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
Add user readable error codes for failure cases in drm_atomic_ioctl() so
that user can decode the error code and take corrective measurements.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
drivers/gpu/drm/drm_atomic_uapi.c | 71 ++++++++++++++++++++++++++++-----------
1 file changed, 52 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413e171b1336812d65c1c 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
ret = drm_atomic_connector_get_property(connector, connector_state,
prop, &old_val);
ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
+ if (ret) {
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+ "property change not allowed in async flip");
+ }
break;
}
@@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
ret = drm_atomic_crtc_get_property(crtc, crtc_state,
prop, &old_val);
ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
+ if (ret) {
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
+ "property change not allowed in async flip");
+ }
break;
}
@@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct drm_atomic_state *state,
ret = plane_funcs->atomic_async_check(plane, state, true);
if (ret) {
- drm_dbg_atomic(prop->dev,
- "[PLANE:%d:%s] does not support async flips\n",
- obj->id, plane->name);
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
+ "[PLANE:%d:%s] does not support async flip",
+ obj->id, plane->name);
break;
}
}
@@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
struct drm_atomic_state *state;
struct drm_modeset_acquire_ctx ctx;
struct drm_out_fence_state *fence_state;
+ struct drm_mode_atomic_err_code __user *error_code_ptr;
int ret = 0;
unsigned int i, j, num_fences = 0;
bool async_flip = false;
@@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
return -EOPNOTSUPP;
+ if (!arg->reserved)
+ drm_dbg_atomic(dev,
+ "memory not allocated for drm_atomic error reporting\n");
+ else
+ /* update the error code if any error to allow user handling it */
+ error_code_ptr = (struct drm_mode_atomic_err_code __user *)
+ (unsigned long)arg->reserved;
+
state = drm_atomic_state_alloc(dev);
if (!state)
return -ENOMEM;
@@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
state->acquire_ctx = &ctx;
state->allow_modeset = !!(arg->flags & DRM_MODE_ATOMIC_ALLOW_MODESET);
+ memset(&state->error_code, 0, sizeof(struct drm_mode_atomic_err_code));
+
/* disallow for userspace that has not enabled atomic cap (even
* though this may be a bit overkill, since legacy userspace
* wouldn't know how to call this ioctl)
*/
if (!file_priv->atomic) {
- drm_dbg_atomic(dev,
- "commit failed: atomic cap not enabled\n");
- return -EINVAL;
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_INVALID_API_USAGE,
+ "DRM_ATOMIC capability not enabled");
+ ret = -EINVAL;
+ goto out;
}
if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
- drm_dbg_atomic(dev, "commit failed: invalid flag\n");
- return -EINVAL;
- }
-
- if (arg->reserved) {
- drm_dbg_atomic(dev, "commit failed: reserved field set\n");
- return -EINVAL;
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_INVALID_API_USAGE,
+ "invalid flag");
+ ret = -EINVAL;
+ goto out;
}
if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
if (!dev->mode_config.async_page_flip) {
- drm_dbg_atomic(dev,
- "commit failed: DRM_MODE_PAGE_FLIP_ASYNC not supported\n");
- return -EINVAL;
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_INVALID_API_USAGE,
+ "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl");
+ ret = -EINVAL;
+ goto out;
}
async_flip = true;
@@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
/* can't test and expect an event at the same time. */
if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
(arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
- drm_dbg_atomic(dev,
- "commit failed: page-flip event requested with test-only commit\n");
- return -EINVAL;
+ drm_mode_atomic_add_error_msg(&state->error_code,
+ DRM_MODE_ATOMIC_INVALID_API_USAGE,
+ "page-flip event requested with test-only commit");
+ ret = -EINVAL;
+ goto out;
}
retry:
@@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
}
out:
+ /* update the error code if any error to allow user handling it */
+ if (ret < 0 && arg->reserved) {
+ if (copy_to_user(error_code_ptr, &state->error_code,
+ sizeof(state->error_code)))
+ return -EFAULT;
+ }
+
if (num_fences)
complete_signaling(dev, state, fence_state, num_fences, !ret);
--
2.25.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v6 5/5] drm/i915/display: Error codes for async flip failures
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (3 preceding siblings ...)
2025-10-09 9:32 ` [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
@ 2025-10-09 9:32 ` Arun R Murthy
2025-10-09 10:19 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev5) Patchwork
` (5 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: Arun R Murthy @ 2025-10-09 9:32 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Rodrigo Vivi, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl, harry.wentland, uma.shankar,
louis.chauvet
Cc: dri-devel, intel-gfx, intel-xe, Arun R Murthy
For failures in async flip atomic check/commit path return user readable
error codes in struct drm_atomic_state.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index b57efd8707743eb1b5a2b377fba8d6955af89825..6639f9168cf775c220fb653d69f8e27c5a4e6b88 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -5911,9 +5911,10 @@ static int intel_async_flip_check_uapi(struct intel_atomic_state *state,
}
if (intel_crtc_needs_modeset(new_crtc_state)) {
- drm_dbg_kms(display->drm,
- "[CRTC:%d:%s] modeset required\n",
- crtc->base.base.id, crtc->base.name);
+ drm_mode_atomic_add_error_msg(&state->base.error_code,
+ DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+ "[CRTC:%d:%s] requires full modeset",
+ crtc->base.base.id, crtc->base.name);
return -EINVAL;
}
@@ -5980,9 +5981,10 @@ static int intel_async_flip_check_hw(struct intel_atomic_state *state, struct in
}
if (intel_crtc_needs_modeset(new_crtc_state)) {
- drm_dbg_kms(display->drm,
- "[CRTC:%d:%s] modeset required\n",
- crtc->base.base.id, crtc->base.name);
+ drm_mode_atomic_add_error_msg(&state->base.error_code,
+ DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
+ "[CRTC:%d:%s] requires full modeset",
+ crtc->base.base.id, crtc->base.name);
return -EINVAL;
}
@@ -6020,11 +6022,12 @@ static int intel_async_flip_check_hw(struct intel_atomic_state *state, struct in
if (!intel_plane_can_async_flip(plane, new_plane_state->hw.fb->format->format,
new_plane_state->hw.fb->modifier)) {
- drm_dbg_kms(display->drm,
- "[PLANE:%d:%s] pixel format %p4cc / modifier 0x%llx does not support async flip\n",
- plane->base.base.id, plane->base.name,
- &new_plane_state->hw.fb->format->format,
- new_plane_state->hw.fb->modifier);
+ drm_mode_atomic_add_error_msg(&state->base.error_code,
+ DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
+ "[PLANE:%d:%s] pixel format %p4cc / 0x%llx modifier does not support async flip",
+ plane->base.base.id, plane->base.name,
+ &new_plane_state->hw.fb->format->format,
+ new_plane_state->hw.fb->modifier);
return -EINVAL;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev5)
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (4 preceding siblings ...)
2025-10-09 9:32 ` [PATCH v6 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
@ 2025-10-09 10:19 ` Patchwork
2025-10-09 10:20 ` ✓ CI.KUnit: success " Patchwork
` (4 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2025-10-09 10:19 UTC (permalink / raw)
To: Arun R Murthy; +Cc: intel-xe
== Series Details ==
Series: User readable error codes on atomic_ioctl failure (rev5)
URL : https://patchwork.freedesktop.org/series/152277/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
fbd08a78c3a3bb17964db2a326514c69c1dca660
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b5ff4defdb483f6b0c7d5a81e45ec1786fbdc31d
Author: Arun R Murthy <arun.r.murthy@intel.com>
Date: Thu Oct 9 15:02:53 2025 +0530
drm/i915/display: Error codes for async flip failures
For failures in async flip atomic check/commit path return user readable
error codes in struct drm_atomic_state.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
+ /mt/dim checkpatch e4621fd776939016f32f5585b188429d68e5ae5b drm-intel
4953fc14019b drm: Define user readable error codes for atomic ioctl
bda674cd6c39 drm/atomic: Add error_code element in atomic_state
352b5cf2b9ad drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
f0e6bdd44359 drm/atomic: Return user readable error in atomic_ioctl
-:47: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#47: FILE: drivers/gpu/drm/drm_atomic_uapi.c:1110:
+ DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
total: 0 errors, 1 warnings, 0 checks, 131 lines checked
b5ff4defdb48 drm/i915/display: Error codes for async flip failures
^ permalink raw reply [flat|nested] 19+ messages in thread
* ✓ CI.KUnit: success for User readable error codes on atomic_ioctl failure (rev5)
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (5 preceding siblings ...)
2025-10-09 10:19 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev5) Patchwork
@ 2025-10-09 10:20 ` Patchwork
2025-10-09 10:35 ` ✗ CI.checksparse: warning " Patchwork
` (3 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2025-10-09 10:20 UTC (permalink / raw)
To: Arun R Murthy; +Cc: intel-xe
== Series Details ==
Series: User readable error codes on atomic_ioctl failure (rev5)
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
[10:19:32] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:19:36] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:20:05] Starting KUnit Kernel (1/1)...
[10:20:05] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:20:06] ================== guc_buf (11 subtests) ===================
[10:20:06] [PASSED] test_smallest
[10:20:06] [PASSED] test_largest
[10:20:06] [PASSED] test_granular
[10:20:06] [PASSED] test_unique
[10:20:06] [PASSED] test_overlap
[10:20:06] [PASSED] test_reusable
[10:20:06] [PASSED] test_too_big
[10:20:06] [PASSED] test_flush
[10:20:06] [PASSED] test_lookup
[10:20:06] [PASSED] test_data
[10:20:06] [PASSED] test_class
[10:20:06] ===================== [PASSED] guc_buf =====================
[10:20:06] =================== guc_dbm (7 subtests) ===================
[10:20:06] [PASSED] test_empty
[10:20:06] [PASSED] test_default
[10:20:06] ======================== test_size ========================
[10:20:06] [PASSED] 4
[10:20:06] [PASSED] 8
[10:20:06] [PASSED] 32
[10:20:06] [PASSED] 256
[10:20:06] ==================== [PASSED] test_size ====================
[10:20:06] ======================= test_reuse ========================
[10:20:06] [PASSED] 4
[10:20:06] [PASSED] 8
[10:20:06] [PASSED] 32
[10:20:06] [PASSED] 256
[10:20:06] =================== [PASSED] test_reuse ====================
[10:20:06] =================== test_range_overlap ====================
[10:20:06] [PASSED] 4
[10:20:06] [PASSED] 8
[10:20:06] [PASSED] 32
[10:20:06] [PASSED] 256
[10:20:06] =============== [PASSED] test_range_overlap ================
[10:20:06] =================== test_range_compact ====================
[10:20:06] [PASSED] 4
[10:20:06] [PASSED] 8
[10:20:06] [PASSED] 32
[10:20:06] [PASSED] 256
[10:20:06] =============== [PASSED] test_range_compact ================
[10:20:06] ==================== test_range_spare =====================
[10:20:06] [PASSED] 4
[10:20:06] [PASSED] 8
[10:20:06] [PASSED] 32
[10:20:06] [PASSED] 256
[10:20:06] ================ [PASSED] test_range_spare =================
[10:20:06] ===================== [PASSED] guc_dbm =====================
[10:20:06] =================== guc_idm (6 subtests) ===================
[10:20:06] [PASSED] bad_init
[10:20:06] [PASSED] no_init
[10:20:06] [PASSED] init_fini
[10:20:06] [PASSED] check_used
[10:20:06] [PASSED] check_quota
[10:20:06] [PASSED] check_all
[10:20:06] ===================== [PASSED] guc_idm =====================
[10:20:06] ================== no_relay (3 subtests) ===================
[10:20:06] [PASSED] xe_drops_guc2pf_if_not_ready
[10:20:06] [PASSED] xe_drops_guc2vf_if_not_ready
[10:20:06] [PASSED] xe_rejects_send_if_not_ready
[10:20:06] ==================== [PASSED] no_relay =====================
[10:20:06] ================== pf_relay (14 subtests) ==================
[10:20:06] [PASSED] pf_rejects_guc2pf_too_short
[10:20:06] [PASSED] pf_rejects_guc2pf_too_long
[10:20:06] [PASSED] pf_rejects_guc2pf_no_payload
[10:20:06] [PASSED] pf_fails_no_payload
[10:20:06] [PASSED] pf_fails_bad_origin
[10:20:06] [PASSED] pf_fails_bad_type
[10:20:06] [PASSED] pf_txn_reports_error
[10:20:06] [PASSED] pf_txn_sends_pf2guc
[10:20:06] [PASSED] pf_sends_pf2guc
[10:20:06] [SKIPPED] pf_loopback_nop
[10:20:06] [SKIPPED] pf_loopback_echo
[10:20:06] [SKIPPED] pf_loopback_fail
[10:20:06] [SKIPPED] pf_loopback_busy
[10:20:06] [SKIPPED] pf_loopback_retry
[10:20:06] ==================== [PASSED] pf_relay =====================
[10:20:06] ================== vf_relay (3 subtests) ===================
[10:20:06] [PASSED] vf_rejects_guc2vf_too_short
[10:20:06] [PASSED] vf_rejects_guc2vf_too_long
[10:20:06] [PASSED] vf_rejects_guc2vf_no_payload
[10:20:06] ==================== [PASSED] vf_relay =====================
[10:20:06] ===================== lmtt (1 subtest) =====================
[10:20:06] ======================== test_ops =========================
[10:20:06] [PASSED] 2-level
[10:20:06] [PASSED] multi-level
[10:20:06] ==================== [PASSED] test_ops =====================
[10:20:06] ====================== [PASSED] lmtt =======================
[10:20:06] ================= pf_service (11 subtests) =================
[10:20:06] [PASSED] pf_negotiate_any
[10:20:06] [PASSED] pf_negotiate_base_match
[10:20:06] [PASSED] pf_negotiate_base_newer
[10:20:06] [PASSED] pf_negotiate_base_next
[10:20:06] [SKIPPED] pf_negotiate_base_older
[10:20:06] [PASSED] pf_negotiate_base_prev
[10:20:06] [PASSED] pf_negotiate_latest_match
[10:20:06] [PASSED] pf_negotiate_latest_newer
[10:20:06] [PASSED] pf_negotiate_latest_next
[10:20:06] [SKIPPED] pf_negotiate_latest_older
[10:20:06] [SKIPPED] pf_negotiate_latest_prev
[10:20:06] =================== [PASSED] pf_service ====================
[10:20:06] ================= xe_guc_g2g (2 subtests) ==================
[10:20:06] ============== xe_live_guc_g2g_kunit_default ==============
[10:20:06] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[10:20:06] ============== xe_live_guc_g2g_kunit_allmem ===============
[10:20:06] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[10:20:06] =================== [SKIPPED] xe_guc_g2g ===================
[10:20:06] =================== xe_mocs (2 subtests) ===================
[10:20:06] ================ xe_live_mocs_kernel_kunit ================
[10:20:06] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[10:20:06] ================ xe_live_mocs_reset_kunit =================
[10:20:06] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[10:20:06] ==================== [SKIPPED] xe_mocs =====================
[10:20:06] ================= xe_migrate (2 subtests) ==================
[10:20:06] ================= xe_migrate_sanity_kunit =================
[10:20:06] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[10:20:06] ================== xe_validate_ccs_kunit ==================
[10:20:06] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[10:20:06] =================== [SKIPPED] xe_migrate ===================
[10:20:06] ================== xe_dma_buf (1 subtest) ==================
[10:20:06] ==================== xe_dma_buf_kunit =====================
[10:20:06] ================ [SKIPPED] xe_dma_buf_kunit ================
[10:20:06] =================== [SKIPPED] xe_dma_buf ===================
[10:20:06] ================= xe_bo_shrink (1 subtest) =================
[10:20:06] =================== xe_bo_shrink_kunit ====================
[10:20:06] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[10:20:06] ================== [SKIPPED] xe_bo_shrink ==================
[10:20:06] ==================== xe_bo (2 subtests) ====================
[10:20:06] ================== xe_ccs_migrate_kunit ===================
[10:20:06] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[10:20:06] ==================== xe_bo_evict_kunit ====================
[10:20:06] =============== [SKIPPED] xe_bo_evict_kunit ================
[10:20:06] ===================== [SKIPPED] xe_bo ======================
[10:20:06] ==================== args (11 subtests) ====================
[10:20:06] [PASSED] count_args_test
[10:20:06] [PASSED] call_args_example
[10:20:06] [PASSED] call_args_test
[10:20:06] [PASSED] drop_first_arg_example
[10:20:06] [PASSED] drop_first_arg_test
[10:20:06] [PASSED] first_arg_example
[10:20:06] [PASSED] first_arg_test
[10:20:06] [PASSED] last_arg_example
[10:20:06] [PASSED] last_arg_test
[10:20:06] [PASSED] pick_arg_example
[10:20:06] [PASSED] sep_comma_example
[10:20:06] ====================== [PASSED] args =======================
[10:20:06] =================== xe_pci (3 subtests) ====================
[10:20:06] ==================== check_graphics_ip ====================
[10:20:06] [PASSED] 12.00 Xe_LP
[10:20:06] [PASSED] 12.10 Xe_LP+
[10:20:06] [PASSED] 12.55 Xe_HPG
[10:20:06] [PASSED] 12.60 Xe_HPC
[10:20:06] [PASSED] 12.70 Xe_LPG
[10:20:06] [PASSED] 12.71 Xe_LPG
[10:20:06] [PASSED] 12.74 Xe_LPG+
[10:20:06] [PASSED] 20.01 Xe2_HPG
[10:20:06] [PASSED] 20.02 Xe2_HPG
[10:20:06] [PASSED] 20.04 Xe2_LPG
[10:20:06] [PASSED] 30.00 Xe3_LPG
[10:20:06] [PASSED] 30.01 Xe3_LPG
[10:20:06] [PASSED] 30.03 Xe3_LPG
[10:20:06] ================ [PASSED] check_graphics_ip ================
[10:20:06] ===================== check_media_ip ======================
[10:20:06] [PASSED] 12.00 Xe_M
[10:20:06] [PASSED] 12.55 Xe_HPM
[10:20:06] [PASSED] 13.00 Xe_LPM+
[10:20:06] [PASSED] 13.01 Xe2_HPM
[10:20:06] [PASSED] 20.00 Xe2_LPM
[10:20:06] [PASSED] 30.00 Xe3_LPM
[10:20:06] [PASSED] 30.02 Xe3_LPM
[10:20:06] ================= [PASSED] check_media_ip ==================
[10:20:06] ================= check_platform_gt_count =================
[10:20:06] [PASSED] 0x9A60 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A68 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A70 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A40 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A49 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A59 (TIGERLAKE)
[10:20:06] [PASSED] 0x9A78 (TIGERLAKE)
[10:20:06] [PASSED] 0x9AC0 (TIGERLAKE)
[10:20:06] [PASSED] 0x9AC9 (TIGERLAKE)
[10:20:06] [PASSED] 0x9AD9 (TIGERLAKE)
[10:20:06] [PASSED] 0x9AF8 (TIGERLAKE)
[10:20:06] [PASSED] 0x4C80 (ROCKETLAKE)
[10:20:06] [PASSED] 0x4C8A (ROCKETLAKE)
[10:20:06] [PASSED] 0x4C8B (ROCKETLAKE)
[10:20:06] [PASSED] 0x4C8C (ROCKETLAKE)
[10:20:06] [PASSED] 0x4C90 (ROCKETLAKE)
[10:20:06] [PASSED] 0x4C9A (ROCKETLAKE)
[10:20:06] [PASSED] 0x4680 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4682 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4688 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x468A (ALDERLAKE_S)
[10:20:06] [PASSED] 0x468B (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4690 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4692 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4693 (ALDERLAKE_S)
[10:20:06] [PASSED] 0x46A0 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46A1 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46A2 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46A3 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46A6 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46A8 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46AA (ALDERLAKE_P)
[10:20:06] [PASSED] 0x462A (ALDERLAKE_P)
[10:20:06] [PASSED] 0x4626 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x4628 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46B0 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46B1 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46B2 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46B3 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46C0 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46C1 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46C2 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46C3 (ALDERLAKE_P)
[10:20:06] [PASSED] 0x46D0 (ALDERLAKE_N)
[10:20:06] [PASSED] 0x46D1 (ALDERLAKE_N)
[10:20:06] [PASSED] 0x46D2 (ALDERLAKE_N)
[10:20:06] [PASSED] 0x46D3 (ALDERLAKE_N)
[10:20:06] [PASSED] 0x46D4 (ALDERLAKE_N)
[10:20:06] [PASSED] 0xA721 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7A1 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7A9 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7AC (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7AD (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA720 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7A0 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7A8 (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7AA (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA7AB (ALDERLAKE_P)
[10:20:06] [PASSED] 0xA780 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA781 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA782 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA783 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA788 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA789 (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA78A (ALDERLAKE_S)
[10:20:06] [PASSED] 0xA78B (ALDERLAKE_S)
[10:20:06] [PASSED] 0x4905 (DG1)
[10:20:06] [PASSED] 0x4906 (DG1)
[10:20:06] [PASSED] 0x4907 (DG1)
[10:20:06] [PASSED] 0x4908 (DG1)
[10:20:06] [PASSED] 0x4909 (DG1)
[10:20:06] [PASSED] 0x56C0 (DG2)
[10:20:06] [PASSED] 0x56C2 (DG2)
[10:20:06] [PASSED] 0x56C1 (DG2)
[10:20:06] [PASSED] 0x7D51 (METEORLAKE)
[10:20:06] [PASSED] 0x7DD1 (METEORLAKE)
[10:20:06] [PASSED] 0x7D41 (METEORLAKE)
[10:20:06] [PASSED] 0x7D67 (METEORLAKE)
[10:20:06] [PASSED] 0xB640 (METEORLAKE)
[10:20:06] [PASSED] 0x56A0 (DG2)
[10:20:06] [PASSED] 0x56A1 (DG2)
[10:20:06] [PASSED] 0x56A2 (DG2)
[10:20:06] [PASSED] 0x56BE (DG2)
[10:20:06] [PASSED] 0x56BF (DG2)
[10:20:06] [PASSED] 0x5690 (DG2)
[10:20:06] [PASSED] 0x5691 (DG2)
[10:20:06] [PASSED] 0x5692 (DG2)
[10:20:06] [PASSED] 0x56A5 (DG2)
[10:20:06] [PASSED] 0x56A6 (DG2)
[10:20:06] [PASSED] 0x56B0 (DG2)
[10:20:06] [PASSED] 0x56B1 (DG2)
[10:20:06] [PASSED] 0x56BA (DG2)
[10:20:06] [PASSED] 0x56BB (DG2)
[10:20:06] [PASSED] 0x56BC (DG2)
[10:20:06] [PASSED] 0x56BD (DG2)
[10:20:06] [PASSED] 0x5693 (DG2)
[10:20:06] [PASSED] 0x5694 (DG2)
[10:20:06] [PASSED] 0x5695 (DG2)
[10:20:06] [PASSED] 0x56A3 (DG2)
[10:20:06] [PASSED] 0x56A4 (DG2)
[10:20:06] [PASSED] 0x56B2 (DG2)
[10:20:06] [PASSED] 0x56B3 (DG2)
[10:20:06] [PASSED] 0x5696 (DG2)
[10:20:06] [PASSED] 0x5697 (DG2)
[10:20:06] [PASSED] 0xB69 (PVC)
[10:20:06] [PASSED] 0xB6E (PVC)
[10:20:06] [PASSED] 0xBD4 (PVC)
[10:20:06] [PASSED] 0xBD5 (PVC)
[10:20:06] [PASSED] 0xBD6 (PVC)
[10:20:06] [PASSED] 0xBD7 (PVC)
[10:20:06] [PASSED] 0xBD8 (PVC)
[10:20:06] [PASSED] 0xBD9 (PVC)
[10:20:06] [PASSED] 0xBDA (PVC)
[10:20:06] [PASSED] 0xBDB (PVC)
[10:20:06] [PASSED] 0xBE0 (PVC)
[10:20:06] [PASSED] 0xBE1 (PVC)
[10:20:06] [PASSED] 0xBE5 (PVC)
[10:20:06] [PASSED] 0x7D40 (METEORLAKE)
[10:20:06] [PASSED] 0x7D45 (METEORLAKE)
[10:20:06] [PASSED] 0x7D55 (METEORLAKE)
[10:20:06] [PASSED] 0x7D60 (METEORLAKE)
[10:20:06] [PASSED] 0x7DD5 (METEORLAKE)
[10:20:06] [PASSED] 0x6420 (LUNARLAKE)
[10:20:06] [PASSED] 0x64A0 (LUNARLAKE)
[10:20:06] [PASSED] 0x64B0 (LUNARLAKE)
[10:20:06] [PASSED] 0xE202 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE209 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE20B (BATTLEMAGE)
[10:20:06] [PASSED] 0xE20C (BATTLEMAGE)
[10:20:06] [PASSED] 0xE20D (BATTLEMAGE)
[10:20:06] [PASSED] 0xE210 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE211 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE212 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE216 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE220 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE221 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE222 (BATTLEMAGE)
[10:20:06] [PASSED] 0xE223 (BATTLEMAGE)
[10:20:06] [PASSED] 0xB080 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB081 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB082 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB083 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB084 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB085 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB086 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB087 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB08F (PANTHERLAKE)
[10:20:06] [PASSED] 0xB090 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB0A0 (PANTHERLAKE)
[10:20:06] [PASSED] 0xB0B0 (PANTHERLAKE)
[10:20:06] [PASSED] 0xFD80 (PANTHERLAKE)
[10:20:06] [PASSED] 0xFD81 (PANTHERLAKE)
[10:20:06] ============= [PASSED] check_platform_gt_count =============
[10:20:06] ===================== [PASSED] xe_pci ======================
[10:20:06] =================== xe_rtp (2 subtests) ====================
[10:20:06] =============== xe_rtp_process_to_sr_tests ================
[10:20:06] [PASSED] coalesce-same-reg
[10:20:06] [PASSED] no-match-no-add
[10:20:06] [PASSED] match-or
[10:20:06] [PASSED] match-or-xfail
[10:20:06] [PASSED] no-match-no-add-multiple-rules
[10:20:06] [PASSED] two-regs-two-entries
[10:20:06] [PASSED] clr-one-set-other
[10:20:06] [PASSED] set-field
[10:20:06] [PASSED] conflict-duplicate
[10:20:06] [PASSED] conflict-not-disjoint
[10:20:06] [PASSED] conflict-reg-type
[10:20:06] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[10:20:06] ================== xe_rtp_process_tests ===================
[10:20:06] [PASSED] active1
[10:20:06] [PASSED] active2
[10:20:06] [PASSED] active-inactive
[10:20:06] [PASSED] inactive-active
[10:20:06] [PASSED] inactive-1st_or_active-inactive
[10:20:06] [PASSED] inactive-2nd_or_active-inactive
[10:20:06] [PASSED] inactive-last_or_active-inactive
[10:20:06] [PASSED] inactive-no_or_active-inactive
[10:20:06] ============== [PASSED] xe_rtp_process_tests ===============
[10:20:06] ===================== [PASSED] xe_rtp ======================
[10:20:06] ==================== xe_wa (1 subtest) =====================
[10:20:06] ======================== xe_wa_gt =========================
[10:20:06] [PASSED] TIGERLAKE B0
[10:20:06] [PASSED] DG1 A0
[10:20:06] [PASSED] DG1 B0
[10:20:06] [PASSED] ALDERLAKE_S A0
[10:20:06] [PASSED] ALDERLAKE_S B0
stty: 'standard input': Inappropriate ioctl for device
[10:20:06] [PASSED] ALDERLAKE_S C0
[10:20:06] [PASSED] ALDERLAKE_S D0
[10:20:06] [PASSED] ALDERLAKE_P A0
[10:20:06] [PASSED] ALDERLAKE_P B0
[10:20:06] [PASSED] ALDERLAKE_P C0
[10:20:06] [PASSED] ALDERLAKE_S RPLS D0
[10:20:06] [PASSED] ALDERLAKE_P RPLU E0
[10:20:06] [PASSED] DG2 G10 C0
[10:20:06] [PASSED] DG2 G11 B1
[10:20:06] [PASSED] DG2 G12 A1
[10:20:06] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:20:06] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:20:06] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[10:20:06] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[10:20:06] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[10:20:06] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[10:20:06] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[10:20:06] ==================== [PASSED] xe_wa_gt =====================
[10:20:06] ====================== [PASSED] xe_wa ======================
[10:20:06] ============================================================
[10:20:06] Testing complete. Ran 306 tests: passed: 288, skipped: 18
[10:20:06] Elapsed time: 33.840s total, 4.334s configuring, 29.140s building, 0.318s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[10:20:06] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:20:08] 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
[10:20:31] Starting KUnit Kernel (1/1)...
[10:20:31] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:20:31] ============ drm_test_pick_cmdline (2 subtests) ============
[10:20:31] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[10:20:31] =============== drm_test_pick_cmdline_named ===============
[10:20:31] [PASSED] NTSC
[10:20:31] [PASSED] NTSC-J
[10:20:31] [PASSED] PAL
[10:20:31] [PASSED] PAL-M
[10:20:31] =========== [PASSED] drm_test_pick_cmdline_named ===========
[10:20:31] ============== [PASSED] drm_test_pick_cmdline ==============
[10:20:31] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[10:20:31] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[10:20:31] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[10:20:31] =========== drm_validate_clone_mode (2 subtests) ===========
[10:20:31] ============== drm_test_check_in_clone_mode ===============
[10:20:31] [PASSED] in_clone_mode
[10:20:31] [PASSED] not_in_clone_mode
[10:20:31] ========== [PASSED] drm_test_check_in_clone_mode ===========
[10:20:31] =============== drm_test_check_valid_clones ===============
[10:20:31] [PASSED] not_in_clone_mode
[10:20:31] [PASSED] valid_clone
[10:20:31] [PASSED] invalid_clone
[10:20:31] =========== [PASSED] drm_test_check_valid_clones ===========
[10:20:31] ============= [PASSED] drm_validate_clone_mode =============
[10:20:31] ============= drm_validate_modeset (1 subtest) =============
[10:20:31] [PASSED] drm_test_check_connector_changed_modeset
[10:20:31] ============== [PASSED] drm_validate_modeset ===============
[10:20:31] ====== drm_test_bridge_get_current_state (2 subtests) ======
[10:20:31] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[10:20:31] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[10:20:31] ======== [PASSED] drm_test_bridge_get_current_state ========
[10:20:31] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[10:20:31] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[10:20:31] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[10:20:31] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[10:20:31] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[10:20:31] ============== drm_bridge_alloc (2 subtests) ===============
[10:20:31] [PASSED] drm_test_drm_bridge_alloc_basic
[10:20:31] [PASSED] drm_test_drm_bridge_alloc_get_put
[10:20:31] ================ [PASSED] drm_bridge_alloc =================
[10:20:31] ================== drm_buddy (8 subtests) ==================
[10:20:31] [PASSED] drm_test_buddy_alloc_limit
[10:20:31] [PASSED] drm_test_buddy_alloc_optimistic
[10:20:31] [PASSED] drm_test_buddy_alloc_pessimistic
[10:20:31] [PASSED] drm_test_buddy_alloc_pathological
[10:20:31] [PASSED] drm_test_buddy_alloc_contiguous
[10:20:31] [PASSED] drm_test_buddy_alloc_clear
[10:20:32] [PASSED] drm_test_buddy_alloc_range_bias
[10:20:32] [PASSED] drm_test_buddy_fragmentation_performance
[10:20:32] ==================== [PASSED] drm_buddy ====================
[10:20:32] ============= drm_cmdline_parser (40 subtests) =============
[10:20:32] [PASSED] drm_test_cmdline_force_d_only
[10:20:32] [PASSED] drm_test_cmdline_force_D_only_dvi
[10:20:32] [PASSED] drm_test_cmdline_force_D_only_hdmi
[10:20:32] [PASSED] drm_test_cmdline_force_D_only_not_digital
[10:20:32] [PASSED] drm_test_cmdline_force_e_only
[10:20:32] [PASSED] drm_test_cmdline_res
[10:20:32] [PASSED] drm_test_cmdline_res_vesa
[10:20:32] [PASSED] drm_test_cmdline_res_vesa_rblank
[10:20:32] [PASSED] drm_test_cmdline_res_rblank
[10:20:32] [PASSED] drm_test_cmdline_res_bpp
[10:20:32] [PASSED] drm_test_cmdline_res_refresh
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[10:20:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[10:20:32] [PASSED] drm_test_cmdline_res_margins_force_on
[10:20:32] [PASSED] drm_test_cmdline_res_vesa_margins
[10:20:32] [PASSED] drm_test_cmdline_name
[10:20:32] [PASSED] drm_test_cmdline_name_bpp
[10:20:32] [PASSED] drm_test_cmdline_name_option
[10:20:32] [PASSED] drm_test_cmdline_name_bpp_option
[10:20:32] [PASSED] drm_test_cmdline_rotate_0
[10:20:32] [PASSED] drm_test_cmdline_rotate_90
[10:20:32] [PASSED] drm_test_cmdline_rotate_180
[10:20:32] [PASSED] drm_test_cmdline_rotate_270
[10:20:32] [PASSED] drm_test_cmdline_hmirror
[10:20:32] [PASSED] drm_test_cmdline_vmirror
[10:20:32] [PASSED] drm_test_cmdline_margin_options
[10:20:32] [PASSED] drm_test_cmdline_multiple_options
[10:20:32] [PASSED] drm_test_cmdline_bpp_extra_and_option
[10:20:32] [PASSED] drm_test_cmdline_extra_and_option
[10:20:32] [PASSED] drm_test_cmdline_freestanding_options
[10:20:32] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[10:20:32] [PASSED] drm_test_cmdline_panel_orientation
[10:20:32] ================ drm_test_cmdline_invalid =================
[10:20:32] [PASSED] margin_only
[10:20:32] [PASSED] interlace_only
[10:20:32] [PASSED] res_missing_x
[10:20:32] [PASSED] res_missing_y
[10:20:32] [PASSED] res_bad_y
[10:20:32] [PASSED] res_missing_y_bpp
[10:20:32] [PASSED] res_bad_bpp
[10:20:32] [PASSED] res_bad_refresh
[10:20:32] [PASSED] res_bpp_refresh_force_on_off
[10:20:32] [PASSED] res_invalid_mode
[10:20:32] [PASSED] res_bpp_wrong_place_mode
[10:20:32] [PASSED] name_bpp_refresh
[10:20:32] [PASSED] name_refresh
[10:20:32] [PASSED] name_refresh_wrong_mode
[10:20:32] [PASSED] name_refresh_invalid_mode
[10:20:32] [PASSED] rotate_multiple
[10:20:32] [PASSED] rotate_invalid_val
[10:20:32] [PASSED] rotate_truncated
[10:20:32] [PASSED] invalid_option
[10:20:32] [PASSED] invalid_tv_option
[10:20:32] [PASSED] truncated_tv_option
[10:20:32] ============ [PASSED] drm_test_cmdline_invalid =============
[10:20:32] =============== drm_test_cmdline_tv_options ===============
[10:20:32] [PASSED] NTSC
[10:20:32] [PASSED] NTSC_443
[10:20:32] [PASSED] NTSC_J
[10:20:32] [PASSED] PAL
[10:20:32] [PASSED] PAL_M
[10:20:32] [PASSED] PAL_N
[10:20:32] [PASSED] SECAM
[10:20:32] [PASSED] MONO_525
[10:20:32] [PASSED] MONO_625
[10:20:32] =========== [PASSED] drm_test_cmdline_tv_options ===========
[10:20:32] =============== [PASSED] drm_cmdline_parser ================
[10:20:32] ========== drmm_connector_hdmi_init (20 subtests) ==========
[10:20:32] [PASSED] drm_test_connector_hdmi_init_valid
[10:20:32] [PASSED] drm_test_connector_hdmi_init_bpc_8
[10:20:32] [PASSED] drm_test_connector_hdmi_init_bpc_10
[10:20:32] [PASSED] drm_test_connector_hdmi_init_bpc_12
[10:20:32] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[10:20:32] [PASSED] drm_test_connector_hdmi_init_bpc_null
[10:20:32] [PASSED] drm_test_connector_hdmi_init_formats_empty
[10:20:32] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[10:20:32] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[10:20:32] [PASSED] supported_formats=0x9 yuv420_allowed=1
[10:20:32] [PASSED] supported_formats=0x9 yuv420_allowed=0
[10:20:32] [PASSED] supported_formats=0x3 yuv420_allowed=1
[10:20:32] [PASSED] supported_formats=0x3 yuv420_allowed=0
[10:20:32] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[10:20:32] [PASSED] drm_test_connector_hdmi_init_null_ddc
[10:20:32] [PASSED] drm_test_connector_hdmi_init_null_product
[10:20:32] [PASSED] drm_test_connector_hdmi_init_null_vendor
[10:20:32] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[10:20:32] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[10:20:32] [PASSED] drm_test_connector_hdmi_init_product_valid
[10:20:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[10:20:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[10:20:32] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[10:20:32] ========= drm_test_connector_hdmi_init_type_valid =========
[10:20:32] [PASSED] HDMI-A
[10:20:32] [PASSED] HDMI-B
[10:20:32] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[10:20:32] ======== drm_test_connector_hdmi_init_type_invalid ========
[10:20:32] [PASSED] Unknown
[10:20:32] [PASSED] VGA
[10:20:32] [PASSED] DVI-I
[10:20:32] [PASSED] DVI-D
[10:20:32] [PASSED] DVI-A
[10:20:32] [PASSED] Composite
[10:20:32] [PASSED] SVIDEO
[10:20:32] [PASSED] LVDS
[10:20:32] [PASSED] Component
[10:20:32] [PASSED] DIN
[10:20:32] [PASSED] DP
[10:20:32] [PASSED] TV
[10:20:32] [PASSED] eDP
[10:20:32] [PASSED] Virtual
[10:20:32] [PASSED] DSI
[10:20:32] [PASSED] DPI
[10:20:32] [PASSED] Writeback
[10:20:32] [PASSED] SPI
[10:20:32] [PASSED] USB
[10:20:32] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[10:20:32] ============ [PASSED] drmm_connector_hdmi_init =============
[10:20:32] ============= drmm_connector_init (3 subtests) =============
[10:20:32] [PASSED] drm_test_drmm_connector_init
[10:20:32] [PASSED] drm_test_drmm_connector_init_null_ddc
[10:20:32] ========= drm_test_drmm_connector_init_type_valid =========
[10:20:32] [PASSED] Unknown
[10:20:32] [PASSED] VGA
[10:20:32] [PASSED] DVI-I
[10:20:32] [PASSED] DVI-D
[10:20:32] [PASSED] DVI-A
[10:20:32] [PASSED] Composite
[10:20:32] [PASSED] SVIDEO
[10:20:32] [PASSED] LVDS
[10:20:32] [PASSED] Component
[10:20:32] [PASSED] DIN
[10:20:32] [PASSED] DP
[10:20:32] [PASSED] HDMI-A
[10:20:32] [PASSED] HDMI-B
[10:20:32] [PASSED] TV
[10:20:32] [PASSED] eDP
[10:20:32] [PASSED] Virtual
[10:20:32] [PASSED] DSI
[10:20:32] [PASSED] DPI
[10:20:32] [PASSED] Writeback
[10:20:32] [PASSED] SPI
[10:20:32] [PASSED] USB
[10:20:32] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[10:20:32] =============== [PASSED] drmm_connector_init ===============
[10:20:32] ========= drm_connector_dynamic_init (6 subtests) ==========
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_init
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_init_properties
[10:20:32] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[10:20:32] [PASSED] Unknown
[10:20:32] [PASSED] VGA
[10:20:32] [PASSED] DVI-I
[10:20:32] [PASSED] DVI-D
[10:20:32] [PASSED] DVI-A
[10:20:32] [PASSED] Composite
[10:20:32] [PASSED] SVIDEO
[10:20:32] [PASSED] LVDS
[10:20:32] [PASSED] Component
[10:20:32] [PASSED] DIN
[10:20:32] [PASSED] DP
[10:20:32] [PASSED] HDMI-A
[10:20:32] [PASSED] HDMI-B
[10:20:32] [PASSED] TV
[10:20:32] [PASSED] eDP
[10:20:32] [PASSED] Virtual
[10:20:32] [PASSED] DSI
[10:20:32] [PASSED] DPI
[10:20:32] [PASSED] Writeback
[10:20:32] [PASSED] SPI
[10:20:32] [PASSED] USB
[10:20:32] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[10:20:32] ======== drm_test_drm_connector_dynamic_init_name =========
[10:20:32] [PASSED] Unknown
[10:20:32] [PASSED] VGA
[10:20:32] [PASSED] DVI-I
[10:20:32] [PASSED] DVI-D
[10:20:32] [PASSED] DVI-A
[10:20:32] [PASSED] Composite
[10:20:32] [PASSED] SVIDEO
[10:20:32] [PASSED] LVDS
[10:20:32] [PASSED] Component
[10:20:32] [PASSED] DIN
[10:20:32] [PASSED] DP
[10:20:32] [PASSED] HDMI-A
[10:20:32] [PASSED] HDMI-B
[10:20:32] [PASSED] TV
[10:20:32] [PASSED] eDP
[10:20:32] [PASSED] Virtual
[10:20:32] [PASSED] DSI
[10:20:32] [PASSED] DPI
[10:20:32] [PASSED] Writeback
[10:20:32] [PASSED] SPI
[10:20:32] [PASSED] USB
[10:20:32] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[10:20:32] =========== [PASSED] drm_connector_dynamic_init ============
[10:20:32] ==== drm_connector_dynamic_register_early (4 subtests) =====
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[10:20:32] ====== [PASSED] drm_connector_dynamic_register_early =======
[10:20:32] ======= drm_connector_dynamic_register (7 subtests) ========
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[10:20:32] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[10:20:32] ========= [PASSED] drm_connector_dynamic_register ==========
[10:20:32] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[10:20:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[10:20:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[10:20:32] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[10:20:32] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[10:20:32] ========== drm_test_get_tv_mode_from_name_valid ===========
[10:20:32] [PASSED] NTSC
[10:20:32] [PASSED] NTSC-443
[10:20:32] [PASSED] NTSC-J
[10:20:32] [PASSED] PAL
[10:20:32] [PASSED] PAL-M
[10:20:32] [PASSED] PAL-N
[10:20:32] [PASSED] SECAM
[10:20:32] [PASSED] Mono
[10:20:32] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[10:20:32] [PASSED] drm_test_get_tv_mode_from_name_truncated
[10:20:32] ============ [PASSED] drm_get_tv_mode_from_name ============
[10:20:32] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[10:20:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[10:20:32] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[10:20:32] [PASSED] VIC 96
[10:20:32] [PASSED] VIC 97
[10:20:32] [PASSED] VIC 101
[10:20:32] [PASSED] VIC 102
[10:20:32] [PASSED] VIC 106
[10:20:32] [PASSED] VIC 107
[10:20:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[10:20:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[10:20:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[10:20:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[10:20:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[10:20:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[10:20:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[10:20:32] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[10:20:32] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[10:20:32] [PASSED] Automatic
[10:20:32] [PASSED] Full
[10:20:32] [PASSED] Limited 16:235
[10:20:32] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[10:20:32] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[10:20:32] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[10:20:32] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[10:20:32] === drm_test_drm_hdmi_connector_get_output_format_name ====
[10:20:32] [PASSED] RGB
[10:20:32] [PASSED] YUV 4:2:0
[10:20:32] [PASSED] YUV 4:2:2
[10:20:32] [PASSED] YUV 4:4:4
[10:20:32] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[10:20:32] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[10:20:32] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[10:20:32] ============= drm_damage_helper (21 subtests) ==============
[10:20:32] [PASSED] drm_test_damage_iter_no_damage
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_src_moved
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_not_visible
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[10:20:32] [PASSED] drm_test_damage_iter_no_damage_no_fb
[10:20:32] [PASSED] drm_test_damage_iter_simple_damage
[10:20:32] [PASSED] drm_test_damage_iter_single_damage
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_outside_src
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_src_moved
[10:20:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[10:20:32] [PASSED] drm_test_damage_iter_damage
[10:20:32] [PASSED] drm_test_damage_iter_damage_one_intersect
[10:20:32] [PASSED] drm_test_damage_iter_damage_one_outside
[10:20:32] [PASSED] drm_test_damage_iter_damage_src_moved
[10:20:32] [PASSED] drm_test_damage_iter_damage_not_visible
[10:20:32] ================ [PASSED] drm_damage_helper ================
[10:20:32] ============== drm_dp_mst_helper (3 subtests) ==============
[10:20:32] ============== drm_test_dp_mst_calc_pbn_mode ==============
[10:20:32] [PASSED] Clock 154000 BPP 30 DSC disabled
[10:20:32] [PASSED] Clock 234000 BPP 30 DSC disabled
[10:20:32] [PASSED] Clock 297000 BPP 24 DSC disabled
[10:20:32] [PASSED] Clock 332880 BPP 24 DSC enabled
[10:20:32] [PASSED] Clock 324540 BPP 24 DSC enabled
[10:20:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[10:20:32] ============== drm_test_dp_mst_calc_pbn_div ===============
[10:20:32] [PASSED] Link rate 2000000 lane count 4
[10:20:32] [PASSED] Link rate 2000000 lane count 2
[10:20:32] [PASSED] Link rate 2000000 lane count 1
[10:20:32] [PASSED] Link rate 1350000 lane count 4
[10:20:32] [PASSED] Link rate 1350000 lane count 2
[10:20:32] [PASSED] Link rate 1350000 lane count 1
[10:20:32] [PASSED] Link rate 1000000 lane count 4
[10:20:32] [PASSED] Link rate 1000000 lane count 2
[10:20:32] [PASSED] Link rate 1000000 lane count 1
[10:20:32] [PASSED] Link rate 810000 lane count 4
[10:20:32] [PASSED] Link rate 810000 lane count 2
[10:20:32] [PASSED] Link rate 810000 lane count 1
[10:20:32] [PASSED] Link rate 540000 lane count 4
[10:20:32] [PASSED] Link rate 540000 lane count 2
[10:20:32] [PASSED] Link rate 540000 lane count 1
[10:20:32] [PASSED] Link rate 270000 lane count 4
[10:20:32] [PASSED] Link rate 270000 lane count 2
[10:20:32] [PASSED] Link rate 270000 lane count 1
[10:20:32] [PASSED] Link rate 162000 lane count 4
[10:20:32] [PASSED] Link rate 162000 lane count 2
[10:20:32] [PASSED] Link rate 162000 lane count 1
[10:20:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[10:20:32] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[10:20:32] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[10:20:32] [PASSED] DP_POWER_UP_PHY with port number
[10:20:32] [PASSED] DP_POWER_DOWN_PHY with port number
[10:20:32] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[10:20:32] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[10:20:32] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[10:20:32] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[10:20:32] [PASSED] DP_QUERY_PAYLOAD with port number
[10:20:32] [PASSED] DP_QUERY_PAYLOAD with VCPI
[10:20:32] [PASSED] DP_REMOTE_DPCD_READ with port number
[10:20:32] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[10:20:32] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[10:20:32] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[10:20:32] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[10:20:32] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[10:20:32] [PASSED] DP_REMOTE_I2C_READ with port number
[10:20:32] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[10:20:32] [PASSED] DP_REMOTE_I2C_READ with transactions array
[10:20:32] [PASSED] DP_REMOTE_I2C_WRITE with port number
[10:20:32] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[10:20:32] [PASSED] DP_REMOTE_I2C_WRITE with data array
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[10:20:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[10:20:32] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[10:20:32] ================ [PASSED] drm_dp_mst_helper ================
[10:20:32] ================== drm_exec (7 subtests) ===================
[10:20:32] [PASSED] sanitycheck
[10:20:32] [PASSED] test_lock
[10:20:32] [PASSED] test_lock_unlock
[10:20:32] [PASSED] test_duplicates
[10:20:32] [PASSED] test_prepare
[10:20:32] [PASSED] test_prepare_array
[10:20:32] [PASSED] test_multiple_loops
[10:20:32] ==================== [PASSED] drm_exec =====================
[10:20:32] =========== drm_format_helper_test (17 subtests) ===========
[10:20:32] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[10:20:32] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[10:20:32] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[10:20:32] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[10:20:32] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[10:20:32] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[10:20:32] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[10:20:32] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[10:20:32] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[10:20:32] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[10:20:32] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[10:20:32] ============== drm_test_fb_xrgb8888_to_mono ===============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[10:20:32] ==================== drm_test_fb_swab =====================
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ================ [PASSED] drm_test_fb_swab =================
[10:20:32] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[10:20:32] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[10:20:32] [PASSED] single_pixel_source_buffer
[10:20:32] [PASSED] single_pixel_clip_rectangle
[10:20:32] [PASSED] well_known_colors
[10:20:32] [PASSED] destination_pitch
[10:20:32] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[10:20:32] ================= drm_test_fb_clip_offset =================
[10:20:32] [PASSED] pass through
[10:20:32] [PASSED] horizontal offset
[10:20:32] [PASSED] vertical offset
[10:20:32] [PASSED] horizontal and vertical offset
[10:20:32] [PASSED] horizontal offset (custom pitch)
[10:20:32] [PASSED] vertical offset (custom pitch)
[10:20:32] [PASSED] horizontal and vertical offset (custom pitch)
[10:20:32] ============= [PASSED] drm_test_fb_clip_offset =============
[10:20:32] =================== drm_test_fb_memcpy ====================
[10:20:32] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[10:20:32] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[10:20:32] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[10:20:32] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[10:20:32] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[10:20:32] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[10:20:32] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[10:20:32] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[10:20:32] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[10:20:32] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[10:20:32] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[10:20:32] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[10:20:32] =============== [PASSED] drm_test_fb_memcpy ================
[10:20:32] ============= [PASSED] drm_format_helper_test ==============
[10:20:32] ================= drm_format (18 subtests) =================
[10:20:32] [PASSED] drm_test_format_block_width_invalid
[10:20:32] [PASSED] drm_test_format_block_width_one_plane
[10:20:32] [PASSED] drm_test_format_block_width_two_plane
[10:20:32] [PASSED] drm_test_format_block_width_three_plane
[10:20:32] [PASSED] drm_test_format_block_width_tiled
[10:20:32] [PASSED] drm_test_format_block_height_invalid
[10:20:32] [PASSED] drm_test_format_block_height_one_plane
[10:20:32] [PASSED] drm_test_format_block_height_two_plane
[10:20:32] [PASSED] drm_test_format_block_height_three_plane
[10:20:32] [PASSED] drm_test_format_block_height_tiled
[10:20:32] [PASSED] drm_test_format_min_pitch_invalid
[10:20:32] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[10:20:32] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[10:20:32] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[10:20:32] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[10:20:32] [PASSED] drm_test_format_min_pitch_two_plane
[10:20:32] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[10:20:32] [PASSED] drm_test_format_min_pitch_tiled
[10:20:32] =================== [PASSED] drm_format ====================
[10:20:32] ============== drm_framebuffer (10 subtests) ===============
[10:20:32] ========== drm_test_framebuffer_check_src_coords ==========
[10:20:32] [PASSED] Success: source fits into fb
[10:20:32] [PASSED] Fail: overflowing fb with x-axis coordinate
[10:20:32] [PASSED] Fail: overflowing fb with y-axis coordinate
[10:20:32] [PASSED] Fail: overflowing fb with source width
[10:20:32] [PASSED] Fail: overflowing fb with source height
[10:20:32] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[10:20:32] [PASSED] drm_test_framebuffer_cleanup
[10:20:32] =============== drm_test_framebuffer_create ===============
[10:20:32] [PASSED] ABGR8888 normal sizes
[10:20:32] [PASSED] ABGR8888 max sizes
[10:20:32] [PASSED] ABGR8888 pitch greater than min required
[10:20:32] [PASSED] ABGR8888 pitch less than min required
[10:20:32] [PASSED] ABGR8888 Invalid width
[10:20:32] [PASSED] ABGR8888 Invalid buffer handle
[10:20:32] [PASSED] No pixel format
[10:20:32] [PASSED] ABGR8888 Width 0
[10:20:32] [PASSED] ABGR8888 Height 0
[10:20:32] [PASSED] ABGR8888 Out of bound height * pitch combination
[10:20:32] [PASSED] ABGR8888 Large buffer offset
[10:20:32] [PASSED] ABGR8888 Buffer offset for inexistent plane
[10:20:32] [PASSED] ABGR8888 Invalid flag
[10:20:32] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[10:20:32] [PASSED] ABGR8888 Valid buffer modifier
[10:20:32] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[10:20:32] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] NV12 Normal sizes
[10:20:32] [PASSED] NV12 Max sizes
[10:20:32] [PASSED] NV12 Invalid pitch
[10:20:32] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[10:20:32] [PASSED] NV12 different modifier per-plane
[10:20:32] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[10:20:32] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] NV12 Modifier for inexistent plane
[10:20:32] [PASSED] NV12 Handle for inexistent plane
[10:20:32] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[10:20:32] [PASSED] YVU420 Normal sizes
[10:20:32] [PASSED] YVU420 Max sizes
[10:20:32] [PASSED] YVU420 Invalid pitch
[10:20:32] [PASSED] YVU420 Different pitches
[10:20:32] [PASSED] YVU420 Different buffer offsets/pitches
[10:20:32] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[10:20:32] [PASSED] YVU420 Valid modifier
[10:20:32] [PASSED] YVU420 Different modifiers per plane
[10:20:32] [PASSED] YVU420 Modifier for inexistent plane
[10:20:32] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[10:20:32] [PASSED] X0L2 Normal sizes
[10:20:32] [PASSED] X0L2 Max sizes
[10:20:32] [PASSED] X0L2 Invalid pitch
[10:20:32] [PASSED] X0L2 Pitch greater than minimum required
[10:20:32] [PASSED] X0L2 Handle for inexistent plane
[10:20:32] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[10:20:32] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[10:20:32] [PASSED] X0L2 Valid modifier
[10:20:32] [PASSED] X0L2 Modifier for inexistent plane
[10:20:32] =========== [PASSED] drm_test_framebuffer_create ===========
[10:20:32] [PASSED] drm_test_framebuffer_free
[10:20:32] [PASSED] drm_test_framebuffer_init
[10:20:32] [PASSED] drm_test_framebuffer_init_bad_format
[10:20:32] [PASSED] drm_test_framebuffer_init_dev_mismatch
[10:20:32] [PASSED] drm_test_framebuffer_lookup
[10:20:32] [PASSED] drm_test_framebuffer_lookup_inexistent
[10:20:32] [PASSED] drm_test_framebuffer_modifiers_not_supported
[10:20:32] ================= [PASSED] drm_framebuffer =================
[10:20:32] ================ drm_gem_shmem (8 subtests) ================
[10:20:32] [PASSED] drm_gem_shmem_test_obj_create
[10:20:32] [PASSED] drm_gem_shmem_test_obj_create_private
[10:20:32] [PASSED] drm_gem_shmem_test_pin_pages
[10:20:32] [PASSED] drm_gem_shmem_test_vmap
[10:20:32] [PASSED] drm_gem_shmem_test_get_pages_sgt
[10:20:32] [PASSED] drm_gem_shmem_test_get_sg_table
[10:20:32] [PASSED] drm_gem_shmem_test_madvise
[10:20:32] [PASSED] drm_gem_shmem_test_purge
[10:20:32] ================== [PASSED] drm_gem_shmem ==================
[10:20:32] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[10:20:32] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[10:20:32] [PASSED] Automatic
[10:20:32] [PASSED] Full
[10:20:32] [PASSED] Limited 16:235
[10:20:32] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[10:20:32] [PASSED] drm_test_check_disable_connector
[10:20:32] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[10:20:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[10:20:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[10:20:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[10:20:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[10:20:32] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[10:20:32] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[10:20:32] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[10:20:32] [PASSED] drm_test_check_output_bpc_dvi
[10:20:32] [PASSED] drm_test_check_output_bpc_format_vic_1
[10:20:32] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[10:20:32] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[10:20:32] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[10:20:32] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[10:20:32] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[10:20:32] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[10:20:32] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[10:20:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[10:20:32] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[10:20:32] [PASSED] drm_test_check_broadcast_rgb_value
[10:20:32] [PASSED] drm_test_check_bpc_8_value
[10:20:32] [PASSED] drm_test_check_bpc_10_value
[10:20:32] [PASSED] drm_test_check_bpc_12_value
[10:20:32] [PASSED] drm_test_check_format_value
[10:20:32] [PASSED] drm_test_check_tmds_char_value
[10:20:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[10:20:32] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[10:20:32] [PASSED] drm_test_check_mode_valid
[10:20:32] [PASSED] drm_test_check_mode_valid_reject
[10:20:32] [PASSED] drm_test_check_mode_valid_reject_rate
[10:20:32] [PASSED] drm_test_check_mode_valid_reject_max_clock
[10:20:32] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[10:20:32] ================= drm_managed (2 subtests) =================
[10:20:32] [PASSED] drm_test_managed_release_action
[10:20:32] [PASSED] drm_test_managed_run_action
[10:20:32] =================== [PASSED] drm_managed ===================
[10:20:32] =================== drm_mm (6 subtests) ====================
[10:20:32] [PASSED] drm_test_mm_init
[10:20:32] [PASSED] drm_test_mm_debug
[10:20:32] [PASSED] drm_test_mm_align32
[10:20:32] [PASSED] drm_test_mm_align64
[10:20:32] [PASSED] drm_test_mm_lowest
[10:20:32] [PASSED] drm_test_mm_highest
[10:20:32] ===================== [PASSED] drm_mm ======================
[10:20:32] ============= drm_modes_analog_tv (5 subtests) =============
[10:20:32] [PASSED] drm_test_modes_analog_tv_mono_576i
[10:20:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[10:20:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[10:20:32] [PASSED] drm_test_modes_analog_tv_pal_576i
[10:20:32] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[10:20:32] =============== [PASSED] drm_modes_analog_tv ===============
[10:20:32] ============== drm_plane_helper (2 subtests) ===============
[10:20:32] =============== drm_test_check_plane_state ================
[10:20:32] [PASSED] clipping_simple
[10:20:32] [PASSED] clipping_rotate_reflect
[10:20:32] [PASSED] positioning_simple
[10:20:32] [PASSED] upscaling
[10:20:32] [PASSED] downscaling
[10:20:32] [PASSED] rounding1
[10:20:32] [PASSED] rounding2
[10:20:32] [PASSED] rounding3
[10:20:32] [PASSED] rounding4
[10:20:32] =========== [PASSED] drm_test_check_plane_state ============
[10:20:32] =========== drm_test_check_invalid_plane_state ============
[10:20:32] [PASSED] positioning_invalid
[10:20:32] [PASSED] upscaling_invalid
[10:20:32] [PASSED] downscaling_invalid
[10:20:32] ======= [PASSED] drm_test_check_invalid_plane_state ========
[10:20:32] ================ [PASSED] drm_plane_helper =================
[10:20:32] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[10:20:32] ====== drm_test_connector_helper_tv_get_modes_check =======
[10:20:32] [PASSED] None
[10:20:32] [PASSED] PAL
[10:20:32] [PASSED] NTSC
[10:20:32] [PASSED] Both, NTSC Default
[10:20:32] [PASSED] Both, PAL Default
[10:20:32] [PASSED] Both, NTSC Default, with PAL on command-line
[10:20:32] [PASSED] Both, PAL Default, with NTSC on command-line
[10:20:32] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[10:20:32] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[10:20:32] ================== drm_rect (9 subtests) ===================
[10:20:32] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[10:20:32] [PASSED] drm_test_rect_clip_scaled_not_clipped
[10:20:32] [PASSED] drm_test_rect_clip_scaled_clipped
[10:20:32] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[10:20:32] ================= drm_test_rect_intersect =================
[10:20:32] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[10:20:32] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[10:20:32] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[10:20:32] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[10:20:32] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[10:20:32] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[10:20:32] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[10:20:32] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[10:20:32] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[10:20:32] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[10:20:32] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[10:20:32] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[10:20:32] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[10:20:32] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[10:20:32] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[10:20:32] ============= [PASSED] drm_test_rect_intersect =============
[10:20:32] ================ drm_test_rect_calc_hscale ================
[10:20:32] [PASSED] normal use
[10:20:32] [PASSED] out of max range
[10:20:32] [PASSED] out of min range
[10:20:32] [PASSED] zero dst
[10:20:32] [PASSED] negative src
[10:20:32] [PASSED] negative dst
[10:20:32] ============ [PASSED] drm_test_rect_calc_hscale ============
[10:20:32] ================ drm_test_rect_calc_vscale ================
[10:20:32] [PASSED] normal use
stty: 'standard input': Inappropriate ioctl for device
[10:20:32] [PASSED] out of max range
[10:20:32] [PASSED] out of min range
[10:20:32] [PASSED] zero dst
[10:20:32] [PASSED] negative src
[10:20:32] [PASSED] negative dst
[10:20:32] ============ [PASSED] drm_test_rect_calc_vscale ============
[10:20:32] ================== drm_test_rect_rotate ===================
[10:20:32] [PASSED] reflect-x
[10:20:32] [PASSED] reflect-y
[10:20:32] [PASSED] rotate-0
[10:20:32] [PASSED] rotate-90
[10:20:32] [PASSED] rotate-180
[10:20:32] [PASSED] rotate-270
[10:20:32] ============== [PASSED] drm_test_rect_rotate ===============
[10:20:32] ================ drm_test_rect_rotate_inv =================
[10:20:32] [PASSED] reflect-x
[10:20:32] [PASSED] reflect-y
[10:20:32] [PASSED] rotate-0
[10:20:32] [PASSED] rotate-90
[10:20:32] [PASSED] rotate-180
[10:20:32] [PASSED] rotate-270
[10:20:32] ============ [PASSED] drm_test_rect_rotate_inv =============
[10:20:32] ==================== [PASSED] drm_rect =====================
[10:20:32] ============ drm_sysfb_modeset_test (1 subtest) ============
[10:20:32] ============ drm_test_sysfb_build_fourcc_list =============
[10:20:32] [PASSED] no native formats
[10:20:32] [PASSED] XRGB8888 as native format
[10:20:32] [PASSED] remove duplicates
[10:20:32] [PASSED] convert alpha formats
[10:20:32] [PASSED] random formats
[10:20:32] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[10:20:32] ============= [PASSED] drm_sysfb_modeset_test ==============
[10:20:32] ============================================================
[10:20:32] Testing complete. Ran 622 tests: passed: 622
[10:20:32] Elapsed time: 25.890s total, 1.780s configuring, 23.694s building, 0.383s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[10:20:32] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:20:34] 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
[10:20:43] Starting KUnit Kernel (1/1)...
[10:20:43] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:20:43] ================= ttm_device (5 subtests) ==================
[10:20:43] [PASSED] ttm_device_init_basic
[10:20:43] [PASSED] ttm_device_init_multiple
[10:20:43] [PASSED] ttm_device_fini_basic
[10:20:43] [PASSED] ttm_device_init_no_vma_man
[10:20:43] ================== ttm_device_init_pools ==================
[10:20:43] [PASSED] No DMA allocations, no DMA32 required
[10:20:43] [PASSED] DMA allocations, DMA32 required
[10:20:43] [PASSED] No DMA allocations, DMA32 required
[10:20:43] [PASSED] DMA allocations, no DMA32 required
[10:20:43] ============== [PASSED] ttm_device_init_pools ==============
[10:20:43] =================== [PASSED] ttm_device ====================
[10:20:43] ================== ttm_pool (8 subtests) ===================
[10:20:43] ================== ttm_pool_alloc_basic ===================
[10:20:43] [PASSED] One page
[10:20:43] [PASSED] More than one page
[10:20:43] [PASSED] Above the allocation limit
[10:20:43] [PASSED] One page, with coherent DMA mappings enabled
[10:20:43] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[10:20:43] ============== [PASSED] ttm_pool_alloc_basic ===============
[10:20:43] ============== ttm_pool_alloc_basic_dma_addr ==============
[10:20:43] [PASSED] One page
[10:20:43] [PASSED] More than one page
[10:20:43] [PASSED] Above the allocation limit
[10:20:43] [PASSED] One page, with coherent DMA mappings enabled
[10:20:43] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[10:20:43] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[10:20:43] [PASSED] ttm_pool_alloc_order_caching_match
[10:20:43] [PASSED] ttm_pool_alloc_caching_mismatch
[10:20:43] [PASSED] ttm_pool_alloc_order_mismatch
[10:20:43] [PASSED] ttm_pool_free_dma_alloc
[10:20:43] [PASSED] ttm_pool_free_no_dma_alloc
[10:20:43] [PASSED] ttm_pool_fini_basic
[10:20:43] ==================== [PASSED] ttm_pool =====================
[10:20:43] ================ ttm_resource (8 subtests) =================
[10:20:43] ================= ttm_resource_init_basic =================
[10:20:43] [PASSED] Init resource in TTM_PL_SYSTEM
[10:20:43] [PASSED] Init resource in TTM_PL_VRAM
[10:20:43] [PASSED] Init resource in a private placement
[10:20:43] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[10:20:43] ============= [PASSED] ttm_resource_init_basic =============
[10:20:43] [PASSED] ttm_resource_init_pinned
[10:20:43] [PASSED] ttm_resource_fini_basic
[10:20:43] [PASSED] ttm_resource_manager_init_basic
[10:20:43] [PASSED] ttm_resource_manager_usage_basic
[10:20:43] [PASSED] ttm_resource_manager_set_used_basic
[10:20:43] [PASSED] ttm_sys_man_alloc_basic
[10:20:43] [PASSED] ttm_sys_man_free_basic
[10:20:43] ================== [PASSED] ttm_resource ===================
[10:20:43] =================== ttm_tt (15 subtests) ===================
[10:20:43] ==================== ttm_tt_init_basic ====================
[10:20:43] [PASSED] Page-aligned size
[10:20:43] [PASSED] Extra pages requested
[10:20:43] ================ [PASSED] ttm_tt_init_basic ================
[10:20:43] [PASSED] ttm_tt_init_misaligned
[10:20:43] [PASSED] ttm_tt_fini_basic
[10:20:43] [PASSED] ttm_tt_fini_sg
[10:20:43] [PASSED] ttm_tt_fini_shmem
[10:20:43] [PASSED] ttm_tt_create_basic
[10:20:43] [PASSED] ttm_tt_create_invalid_bo_type
[10:20:43] [PASSED] ttm_tt_create_ttm_exists
[10:20:43] [PASSED] ttm_tt_create_failed
[10:20:43] [PASSED] ttm_tt_destroy_basic
[10:20:43] [PASSED] ttm_tt_populate_null_ttm
[10:20:43] [PASSED] ttm_tt_populate_populated_ttm
[10:20:43] [PASSED] ttm_tt_unpopulate_basic
[10:20:43] [PASSED] ttm_tt_unpopulate_empty_ttm
[10:20:43] [PASSED] ttm_tt_swapin_basic
[10:20:43] ===================== [PASSED] ttm_tt ======================
[10:20:43] =================== ttm_bo (14 subtests) ===================
[10:20:43] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[10:20:43] [PASSED] Cannot be interrupted and sleeps
[10:20:43] [PASSED] Cannot be interrupted, locks straight away
[10:20:43] [PASSED] Can be interrupted, sleeps
[10:20:43] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[10:20:43] [PASSED] ttm_bo_reserve_locked_no_sleep
[10:20:43] [PASSED] ttm_bo_reserve_no_wait_ticket
[10:20:43] [PASSED] ttm_bo_reserve_double_resv
[10:20:43] [PASSED] ttm_bo_reserve_interrupted
[10:20:43] [PASSED] ttm_bo_reserve_deadlock
[10:20:43] [PASSED] ttm_bo_unreserve_basic
[10:20:43] [PASSED] ttm_bo_unreserve_pinned
[10:20:43] [PASSED] ttm_bo_unreserve_bulk
[10:20:43] [PASSED] ttm_bo_fini_basic
[10:20:43] [PASSED] ttm_bo_fini_shared_resv
[10:20:43] [PASSED] ttm_bo_pin_basic
[10:20:43] [PASSED] ttm_bo_pin_unpin_resource
[10:20:43] [PASSED] ttm_bo_multiple_pin_one_unpin
[10:20:43] ===================== [PASSED] ttm_bo ======================
[10:20:43] ============== ttm_bo_validate (21 subtests) ===============
[10:20:43] ============== ttm_bo_init_reserved_sys_man ===============
[10:20:43] [PASSED] Buffer object for userspace
[10:20:43] [PASSED] Kernel buffer object
[10:20:43] [PASSED] Shared buffer object
[10:20:43] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[10:20:43] ============== ttm_bo_init_reserved_mock_man ==============
[10:20:43] [PASSED] Buffer object for userspace
[10:20:43] [PASSED] Kernel buffer object
[10:20:43] [PASSED] Shared buffer object
[10:20:43] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[10:20:43] [PASSED] ttm_bo_init_reserved_resv
[10:20:43] ================== ttm_bo_validate_basic ==================
[10:20:43] [PASSED] Buffer object for userspace
[10:20:43] [PASSED] Kernel buffer object
[10:20:43] [PASSED] Shared buffer object
[10:20:43] ============== [PASSED] ttm_bo_validate_basic ==============
[10:20:43] [PASSED] ttm_bo_validate_invalid_placement
[10:20:43] ============= ttm_bo_validate_same_placement ==============
[10:20:43] [PASSED] System manager
[10:20:43] [PASSED] VRAM manager
[10:20:43] ========= [PASSED] ttm_bo_validate_same_placement ==========
[10:20:43] [PASSED] ttm_bo_validate_failed_alloc
[10:20:43] [PASSED] ttm_bo_validate_pinned
[10:20:43] [PASSED] ttm_bo_validate_busy_placement
[10:20:43] ================ ttm_bo_validate_multihop =================
[10:20:43] [PASSED] Buffer object for userspace
[10:20:43] [PASSED] Kernel buffer object
[10:20:43] [PASSED] Shared buffer object
[10:20:43] ============ [PASSED] ttm_bo_validate_multihop =============
[10:20:43] ========== ttm_bo_validate_no_placement_signaled ==========
[10:20:43] [PASSED] Buffer object in system domain, no page vector
[10:20:43] [PASSED] Buffer object in system domain with an existing page vector
[10:20:43] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[10:20:43] ======== ttm_bo_validate_no_placement_not_signaled ========
[10:20:43] [PASSED] Buffer object for userspace
[10:20:43] [PASSED] Kernel buffer object
[10:20:43] [PASSED] Shared buffer object
[10:20:43] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[10:20:43] [PASSED] ttm_bo_validate_move_fence_signaled
[10:20:43] ========= ttm_bo_validate_move_fence_not_signaled =========
[10:20:43] [PASSED] Waits for GPU
[10:20:43] [PASSED] Tries to lock straight away
[10:20:43] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[10:20:43] [PASSED] ttm_bo_validate_happy_evict
[10:20:43] [PASSED] ttm_bo_validate_all_pinned_evict
[10:20:43] [PASSED] ttm_bo_validate_allowed_only_evict
[10:20:43] [PASSED] ttm_bo_validate_deleted_evict
[10:20:43] [PASSED] ttm_bo_validate_busy_domain_evict
[10:20:43] [PASSED] ttm_bo_validate_evict_gutting
[10:20:43] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[10:20:43] ================= [PASSED] ttm_bo_validate =================
[10:20:43] ============================================================
[10:20:43] Testing complete. Ran 101 tests: passed: 101
[10:20:43] Elapsed time: 11.366s total, 1.800s configuring, 9.299s building, 0.225s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 19+ messages in thread
* ✗ CI.checksparse: warning for User readable error codes on atomic_ioctl failure (rev5)
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (6 preceding siblings ...)
2025-10-09 10:20 ` ✓ CI.KUnit: success " Patchwork
@ 2025-10-09 10:35 ` Patchwork
2025-10-09 10:57 ` ✓ Xe.CI.BAT: success " Patchwork
` (2 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2025-10-09 10:35 UTC (permalink / raw)
To: Arun R Murthy; +Cc: intel-xe
== Series Details ==
Series: User readable error codes on atomic_ioctl failure (rev5)
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 e4621fd776939016f32f5585b188429d68e5ae5b
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:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2042:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2055:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2055:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_display_types.h:2055:24: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/display/intel_hdcp.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_hotplug.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_pps.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_psr.c: note: in included file:
+drivers/gpu/drm/i915/gt/intel_reset.c:1569:12: warning: context imbalance in '_intel_gt_reset_lock' - different lock contexts for basic block
+drivers/gpu/drm/i915/gt/intel_sseu.c:598:17: error: too long token expansion
+drivers/gpu/drm/i915/i915_active.c:1062:16: warning: context imbalance in '__i915_active_fence_set' - different lock contexts for basic block
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: expected struct list_head const *list
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: got struct list_head [noderef] __rcu *pos
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: warning: incorrect type in argument 1 (different address spaces)
+drivers/gpu/drm/i915/i915_gpu_error.c:692:3: warning: symbol 'guc_hw_reg_state' was not declared. Should it be static?
+drivers/gpu/drm/i915/i915_irq.c:465:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:465:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:473:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:473:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:478:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:478:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:478:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:516:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:516:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:524:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:524:16: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:529:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:529:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:529:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:573:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:573:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:576:15: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:576:15: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:580:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:580:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:587:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:587:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:587:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/i915_irq.c:587:9: warning: unreplaced symbol '<noident>'
+drivers/gpu/drm/i915/intel_uncore.c:1928:1: warning: context imbalance in 'fwtable_read8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1929:1: warning: context imbalance in 'fwtable_read16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1930:1: warning: context imbalance in 'fwtable_read32' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1931:1: warning: context imbalance in 'fwtable_read64' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1996:1: warning: context imbalance in 'gen6_write8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1997:1: warning: context imbalance in 'gen6_write16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:1998:1: warning: context imbalance in 'gen6_write32' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2018:1: warning: context imbalance in 'fwtable_write8' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2019:1: warning: context imbalance in 'fwtable_write16' - unexpected unlock
+drivers/gpu/drm/i915/intel_uncore.c:2020:1: warning: context imbalance in 'fwtable_write32' - unexpected unlock
+drivers/gpu/drm/i915/intel_wakeref.c:146:19: warning: context imbalance in 'wakeref_auto_timeout' - unexpected unlock
+drivers/gpu/drm/ttm/ttm_bo.c:1198:31: warning: symbol 'ttm_swap_ops' was not declared. Should it be static?
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: got void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: warning: incorrect type in argument 1 (different address spaces)
+./include/linux/srcu.h:373:9: warning: context imbalance in 'drm_dev_exit' - unexpected unlock
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 19+ messages in thread
* ✓ Xe.CI.BAT: success for User readable error codes on atomic_ioctl failure (rev5)
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (7 preceding siblings ...)
2025-10-09 10:35 ` ✗ CI.checksparse: warning " Patchwork
@ 2025-10-09 10:57 ` Patchwork
2025-10-09 13:46 ` ✗ Xe.CI.Full: failure " Patchwork
2025-10-28 2:59 ` [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R
10 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2025-10-09 10:57 UTC (permalink / raw)
To: Arun R Murthy; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
== Series Details ==
Series: User readable error codes on atomic_ioctl failure (rev5)
URL : https://patchwork.freedesktop.org/series/152277/
State : success
== Summary ==
CI Bug Log - changes from xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b_BAT -> xe-pw-152277v5_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 10)
------------------------------
Missing (1): bat-lnl-1
Known issues
------------
Here are the changes found in xe-pw-152277v5_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-flip-vs-wf_vblank:
- bat-adlp-7: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#4543]) +1 other test dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank.html
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
Build changes
-------------
* Linux: xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b -> xe-pw-152277v5
IGT_8580: 8580
xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b: e4621fd776939016f32f5585b188429d68e5ae5b
xe-pw-152277v5: 152277v5
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/index.html
[-- Attachment #2: Type: text/html, Size: 2041 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* ✗ Xe.CI.Full: failure for User readable error codes on atomic_ioctl failure (rev5)
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (8 preceding siblings ...)
2025-10-09 10:57 ` ✓ Xe.CI.BAT: success " Patchwork
@ 2025-10-09 13:46 ` Patchwork
2025-10-28 2:59 ` [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R
10 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2025-10-09 13:46 UTC (permalink / raw)
To: Arun R Murthy; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 51338 bytes --]
== Series Details ==
Series: User readable error codes on atomic_ioctl failure (rev5)
URL : https://patchwork.freedesktop.org/series/152277/
State : failure
== Summary ==
CI Bug Log - changes from xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b_FULL -> xe-pw-152277v5_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-152277v5_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-152277v5_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-152277v5_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3:
- shard-bmg: [PASS][1] -> [FAIL][2] +26 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-1/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-5/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3.html
* igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6:
- shard-dg2-set2: [PASS][3] -> [FAIL][4] +27 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-435/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-463/igt@kms_atomic@atomic-invalid-params@pipe-a-hdmi-a-6.html
* igt@kms_atomic_transition@modeset-transition@2x-outputs:
- shard-bmg: NOTRUN -> [FAIL][5] +1 other test fail
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_atomic_transition@modeset-transition@2x-outputs.html
* igt@kms_atomic_transition@plane-all-transition-nonblocking:
- shard-adlp: [PASS][6] -> [FAIL][7] +12 other tests fail
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-8/igt@kms_atomic_transition@plane-all-transition-nonblocking.html
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@kms_atomic_transition@plane-all-transition-nonblocking.html
* igt@kms_atomic_transition@plane-all-transition-nonblocking@pipe-b-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][8] +2 other tests fail
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_atomic_transition@plane-all-transition-nonblocking@pipe-b-dp-4.html
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-bmg: [PASS][9] -> [DMESG-FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-5/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_plane@pixel-format@pipe-b-plane-0:
- shard-bmg: NOTRUN -> [ABORT][11] +1 other test abort
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-2/igt@kms_plane@pixel-format@pipe-b-plane-0.html
* igt@kms_setmode@basic@pipe-b-edp-1:
- shard-lnl: [PASS][12] -> [FAIL][13] +6 other tests fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-lnl-2/igt@kms_setmode@basic@pipe-b-edp-1.html
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-lnl-5/igt@kms_setmode@basic@pipe-b-edp-1.html
#### Warnings ####
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-bmg: [SKIP][14] ([Intel XE#2291]) -> [FAIL][15]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
Known issues
------------
Here are the changes found in xe-pw-152277v5_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_async_flips@crc-atomic@pipe-d-hdmi-a-1:
- shard-adlp: [PASS][16] -> [FAIL][17] ([Intel XE#3884])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-8/igt@kms_async_flips@crc-atomic@pipe-d-hdmi-a-1.html
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@kms_async_flips@crc-atomic@pipe-d-hdmi-a-1.html
* igt@kms_big_fb@linear-16bpp-rotate-270:
- shard-dg2-set2: NOTRUN -> [SKIP][18] ([Intel XE#316])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_big_fb@linear-16bpp-rotate-270.html
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2327])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_big_fb@linear-16bpp-rotate-270.html
* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#610])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_big_fb@y-tiled-addfb-size-overflow.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#1124]) +5 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip.html
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#607])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#607])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#1124]) +3 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip.html
* igt@kms_bw@connected-linear-tiling-2-displays-2560x1440p:
- shard-bmg: [PASS][25] -> [SKIP][26] ([Intel XE#2314] / [Intel XE#2894])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-2/igt@kms_bw@connected-linear-tiling-2-displays-2560x1440p.html
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_bw@connected-linear-tiling-2-displays-2560x1440p.html
* igt@kms_bw@linear-tiling-3-displays-2160x1440p:
- shard-dg2-set2: NOTRUN -> [SKIP][27] ([Intel XE#367]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_bw@linear-tiling-3-displays-2160x1440p.html
* igt@kms_bw@linear-tiling-4-displays-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#367])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_bw@linear-tiling-4-displays-2160x1440p.html
* igt@kms_ccs@bad-rotation-90-4-tiled-mtl-rc-ccs-cc@pipe-a-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][29] ([Intel XE#787]) +34 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_ccs@bad-rotation-90-4-tiled-mtl-rc-ccs-cc@pipe-a-hdmi-a-6.html
* igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][30] ([Intel XE#2907])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][31] ([Intel XE#3442])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#3432])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2652] / [Intel XE#787]) +8 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2.html
* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2887]) +5 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-b-dp-4:
- shard-dg2-set2: [PASS][35] -> [INCOMPLETE][36] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-466/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-b-dp-4.html
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-b-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [PASS][37] -> [INCOMPLETE][38] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345] / [Intel XE#6168])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-dp-4:
- shard-dg2-set2: [PASS][39] -> [INCOMPLETE][40] ([Intel XE#6168])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-dp-4.html
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-hdmi-a-6:
- shard-dg2-set2: [PASS][41] -> [DMESG-WARN][42] ([Intel XE#1727] / [Intel XE#3113])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-hdmi-a-6.html
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-a-hdmi-a-6.html
* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc:
- shard-dg2-set2: NOTRUN -> [SKIP][43] ([Intel XE#455] / [Intel XE#787]) +9 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc.html
* igt@kms_cdclk@mode-transition:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#2724])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-2/igt@kms_cdclk@mode-transition.html
* igt@kms_chamelium_audio@dp-audio:
- shard-dg2-set2: NOTRUN -> [SKIP][45] ([Intel XE#373]) +6 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_chamelium_audio@dp-audio.html
* igt@kms_chamelium_edid@dp-edid-resolution-list:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#2252]) +5 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_chamelium_edid@dp-edid-resolution-list.html
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#2390])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_content_protection@dp-mst-lic-type-1.html
- shard-dg2-set2: NOTRUN -> [SKIP][48] ([Intel XE#307])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_content_protection@dp-mst-lic-type-1.html
* igt@kms_content_protection@lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2341])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_content_protection@lic-type-1.html
* igt@kms_content_protection@srm@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][50] ([Intel XE#1178])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_content_protection@srm@pipe-a-dp-2.html
* igt@kms_cursor_crc@cursor-onscreen-32x32:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2320]) +3 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_cursor_crc@cursor-onscreen-32x32.html
* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#2321])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_cursor_crc@cursor-rapid-movement-512x512.html
* igt@kms_cursor_crc@cursor-sliding-max-size:
- shard-dg2-set2: NOTRUN -> [SKIP][53] ([Intel XE#455]) +5 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_cursor_crc@cursor-sliding-max-size.html
* igt@kms_cursor_edge_walk@128x128-right-edge@pipe-a-hdmi-a-1:
- shard-adlp: [PASS][54] -> [DMESG-WARN][55] ([Intel XE#2953] / [Intel XE#4173]) +4 other tests dmesg-warn
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-8/igt@kms_cursor_edge_walk@128x128-right-edge@pipe-a-hdmi-a-1.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@kms_cursor_edge_walk@128x128-right-edge@pipe-a-hdmi-a-1.html
* igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#2291])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html
* igt@kms_dirtyfb@fbc-dirtyfb-ioctl:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#5428])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_dirtyfb@fbc-dirtyfb-ioctl.html
* igt@kms_dsc@dsc-with-bpc:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#2244])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_dsc@dsc-with-bpc.html
* igt@kms_flip@2x-flip-vs-blocking-wf-vblank@bd-hdmi-a6-dp4:
- shard-dg2-set2: [PASS][59] -> [INCOMPLETE][60] ([Intel XE#2049])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-435/igt@kms_flip@2x-flip-vs-blocking-wf-vblank@bd-hdmi-a6-dp4.html
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_flip@2x-flip-vs-blocking-wf-vblank@bd-hdmi-a6-dp4.html
* igt@kms_flip@2x-flip-vs-dpms-on-nop-interruptible:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#2316]) +4 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_flip@2x-flip-vs-dpms-on-nop-interruptible.html
* igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset:
- shard-bmg: [PASS][62] -> [SKIP][63] ([Intel XE#2316]) +2 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-2/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset.html
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [PASS][64] -> [FAIL][65] ([Intel XE#301])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
* igt@kms_flip@flip-vs-rmfb-interruptible:
- shard-adlp: [PASS][66] -> [DMESG-WARN][67] ([Intel XE#4543] / [Intel XE#5208]) +1 other test dmesg-warn
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-2/igt@kms_flip@flip-vs-rmfb-interruptible.html
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-1/igt@kms_flip@flip-vs-rmfb-interruptible.html
* igt@kms_flip@flip-vs-rmfb@b-hdmi-a1:
- shard-adlp: [PASS][68] -> [DMESG-WARN][69] ([Intel XE#4543]) +5 other tests dmesg-warn
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-6/igt@kms_flip@flip-vs-rmfb@b-hdmi-a1.html
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-1/igt@kms_flip@flip-vs-rmfb@b-hdmi-a1.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#2293] / [Intel XE#2380]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#2293]) +1 other test skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-y:
- shard-adlp: [PASS][72] -> [FAIL][73] ([Intel XE#1874]) +1 other test fail
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-2/igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-y.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-1/igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-y.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#2312]) +9 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#2311]) +11 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrs-suspend:
- shard-dg2-set2: NOTRUN -> [SKIP][76] ([Intel XE#651]) +13 other tests skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_frontbuffer_tracking@drrs-suspend.html
* igt@kms_frontbuffer_tracking@fbc-2p-rte:
- shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#5427])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-rte.html
* igt@kms_frontbuffer_tracking@fbc-tiling-linear:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#5390]) +2 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-tiling-linear.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#2313]) +9 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-fullscreen:
- shard-dg2-set2: NOTRUN -> [SKIP][80] ([Intel XE#653]) +14 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-fullscreen.html
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#2352])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html
* igt@kms_hdr@static-toggle:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#1503])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_hdr@static-toggle.html
* igt@kms_joiner@invalid-modeset-big-joiner:
- shard-dg2-set2: NOTRUN -> [SKIP][83] ([Intel XE#346])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@kms_joiner@invalid-modeset-big-joiner.html
* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][84] ([Intel XE#5020])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_plane_multiple@tiling-yf.html
- shard-dg2-set2: NOTRUN -> [SKIP][85] ([Intel XE#5020])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_plane_multiple@tiling-yf.html
* igt@kms_pm_rpm@dpms-mode-unset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#1439] / [Intel XE#836])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_pm_rpm@dpms-mode-unset-lpsp.html
* igt@kms_psr2_sf@psr2-overlay-plane-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][87] ([Intel XE#1406] / [Intel XE#1489]) +4 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_psr2_sf@psr2-overlay-plane-update-sf-dmg-area.html
* igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb:
- shard-dg2-set2: NOTRUN -> [SKIP][88] ([Intel XE#1406] / [Intel XE#1489]) +1 other test skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb.html
* igt@kms_psr@fbc-pr-cursor-plane-move:
- shard-dg2-set2: NOTRUN -> [SKIP][89] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +6 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_psr@fbc-pr-cursor-plane-move.html
* igt@kms_psr@psr-primary-page-flip:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +7 other tests skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_psr@psr-primary-page-flip.html
* igt@kms_rotation_crc@sprite-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][91] ([Intel XE#3414] / [Intel XE#3904])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_rotation_crc@sprite-rotation-270.html
* igt@kms_setmode@basic-clone-single-crtc:
- shard-bmg: NOTRUN -> [SKIP][92] ([Intel XE#1435])
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@kms_setmode@basic-clone-single-crtc.html
* igt@sriov_basic@enable-vfs-autoprobe-off:
- shard-dg2-set2: NOTRUN -> [SKIP][93] ([Intel XE#1091] / [Intel XE#2849])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@sriov_basic@enable-vfs-autoprobe-off.html
* igt@xe_compute_preempt@compute-preempt:
- shard-dg2-set2: NOTRUN -> [SKIP][94] ([Intel XE#1280] / [Intel XE#455]) +1 other test skip
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@xe_compute_preempt@compute-preempt.html
* igt@xe_compute_preempt@compute-preempt-many:
- shard-dg2-set2: NOTRUN -> [FAIL][95] ([Intel XE#5890]) +1 other test fail
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@xe_compute_preempt@compute-preempt-many.html
* igt@xe_eudebug@basic-vm-access-userptr-faultable:
- shard-dg2-set2: NOTRUN -> [SKIP][96] ([Intel XE#4837]) +8 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@xe_eudebug@basic-vm-access-userptr-faultable.html
* igt@xe_eudebug_online@stopped-thread:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#4837]) +6 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-2/igt@xe_eudebug_online@stopped-thread.html
* igt@xe_exec_balancer@many-execqueues-virtual-basic:
- shard-adlp: [PASS][98] -> [DMESG-FAIL][99] ([Intel XE#3876])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-4/igt@xe_exec_balancer@many-execqueues-virtual-basic.html
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-8/igt@xe_exec_balancer@many-execqueues-virtual-basic.html
* igt@xe_exec_basic@multigpu-once-basic-defer-bind:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#2322]) +6 other tests skip
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@xe_exec_basic@multigpu-once-basic-defer-bind.html
* igt@xe_exec_fault_mode@once-rebind-prefetch:
- shard-dg2-set2: NOTRUN -> [SKIP][101] ([Intel XE#288]) +11 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-464/igt@xe_exec_fault_mode@once-rebind-prefetch.html
* igt@xe_exec_mix_modes@exec-simple-batch-store-lr:
- shard-dg2-set2: NOTRUN -> [SKIP][102] ([Intel XE#2360])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_exec_mix_modes@exec-simple-batch-store-lr.html
* igt@xe_exec_reset@parallel-gt-reset:
- shard-adlp: [PASS][103] -> [DMESG-WARN][104] ([Intel XE#3876])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-4/igt@xe_exec_reset@parallel-gt-reset.html
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-8/igt@xe_exec_reset@parallel-gt-reset.html
- shard-bmg: NOTRUN -> [DMESG-WARN][105] ([Intel XE#3876] / [Intel XE#5213])
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@xe_exec_reset@parallel-gt-reset.html
* igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#4943]) +13 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-new-huge.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-race-nomemset:
- shard-dg2-set2: NOTRUN -> [SKIP][107] ([Intel XE#4915]) +112 other tests skip
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-race-nomemset.html
* igt@xe_module_load@many-reload:
- shard-adlp: [PASS][108] -> [DMESG-WARN][109] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#5244])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-8/igt@xe_module_load@many-reload.html
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@xe_module_load@many-reload.html
* igt@xe_oa@invalid-create-userspace-config:
- shard-dg2-set2: NOTRUN -> [SKIP][110] ([Intel XE#3573]) +6 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_oa@invalid-create-userspace-config.html
* igt@xe_pm@d3cold-mmap-vram:
- shard-dg2-set2: NOTRUN -> [SKIP][111] ([Intel XE#2284] / [Intel XE#366])
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_pm@d3cold-mmap-vram.html
- shard-bmg: NOTRUN -> [SKIP][112] ([Intel XE#2284])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@xe_pm@d3cold-mmap-vram.html
* igt@xe_pm@d3hot-i2c:
- shard-dg2-set2: NOTRUN -> [SKIP][113] ([Intel XE#5742])
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-464/igt@xe_pm@d3hot-i2c.html
- shard-bmg: NOTRUN -> [SKIP][114] ([Intel XE#5742])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-1/igt@xe_pm@d3hot-i2c.html
* igt@xe_pm@s2idle-vm-bind-userptr:
- shard-adlp: [PASS][115] -> [DMESG-WARN][116] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#4504])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-8/igt@xe_pm@s2idle-vm-bind-userptr.html
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@xe_pm@s2idle-vm-bind-userptr.html
* igt@xe_pmu@gt-frequency:
- shard-dg2-set2: [PASS][117] -> [FAIL][118] ([Intel XE#4819]) +1 other test fail
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-464/igt@xe_pmu@gt-frequency.html
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@xe_pmu@gt-frequency.html
* igt@xe_pxp@display-pxp-fb:
- shard-dg2-set2: NOTRUN -> [SKIP][119] ([Intel XE#4733]) +1 other test skip
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_pxp@display-pxp-fb.html
* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][120] ([Intel XE#4733]) +1 other test skip
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq.html
* igt@xe_query@multigpu-query-mem-usage:
- shard-bmg: NOTRUN -> [SKIP][121] ([Intel XE#944]) +1 other test skip
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@xe_query@multigpu-query-mem-usage.html
- shard-dg2-set2: NOTRUN -> [SKIP][122] ([Intel XE#944])
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_query@multigpu-query-mem-usage.html
* igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling:
- shard-dg2-set2: NOTRUN -> [SKIP][123] ([Intel XE#4130]) +1 other test skip
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling.html
* igt@xe_sriov_flr@flr-twice:
- shard-bmg: NOTRUN -> [FAIL][124] ([Intel XE#5937])
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@xe_sriov_flr@flr-twice.html
- shard-dg2-set2: NOTRUN -> [SKIP][125] ([Intel XE#4273])
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-466/igt@xe_sriov_flr@flr-twice.html
* igt@xe_sriov_scheduling@nonpreempt-engine-resets@numvfs-random:
- shard-adlp: [PASS][126] -> [DMESG-FAIL][127] ([Intel XE#3868] / [Intel XE#5213]) +1 other test dmesg-fail
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-2/igt@xe_sriov_scheduling@nonpreempt-engine-resets@numvfs-random.html
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-2/igt@xe_sriov_scheduling@nonpreempt-engine-resets@numvfs-random.html
#### Possible fixes ####
* igt@core_hotunplug@hotunplug-rescan:
- shard-dg2-set2: [INCOMPLETE][128] ([Intel XE#4842]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-433/igt@core_hotunplug@hotunplug-rescan.html
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@core_hotunplug@hotunplug-rescan.html
* igt@kms_atomic_transition@plane-toggle-modeset-transition:
- shard-adlp: [FAIL][130] ([Intel XE#3908]) -> [PASS][131] +1 other test pass
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-3/igt@kms_atomic_transition@plane-toggle-modeset-transition.html
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-1/igt@kms_atomic_transition@plane-toggle-modeset-transition.html
* igt@kms_cursor_crc@cursor-rapid-movement-64x64:
- shard-adlp: [DMESG-WARN][132] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][133] +2 other tests pass
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-1/igt@kms_cursor_crc@cursor-rapid-movement-64x64.html
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-6/igt@kms_cursor_crc@cursor-rapid-movement-64x64.html
* igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
- shard-bmg: [SKIP][134] ([Intel XE#2291]) -> [PASS][135] +2 other tests pass
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-5/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
* igt@kms_dp_aux_dev:
- shard-bmg: [SKIP][136] ([Intel XE#3009]) -> [PASS][137]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_dp_aux_dev.html
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_dp_aux_dev.html
* igt@kms_flip@2x-flip-vs-suspend-interruptible@bc-hdmi-a6-dp4:
- shard-dg2-set2: [INCOMPLETE][138] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][139] +1 other test pass
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-464/igt@kms_flip@2x-flip-vs-suspend-interruptible@bc-hdmi-a6-dp4.html
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-464/igt@kms_flip@2x-flip-vs-suspend-interruptible@bc-hdmi-a6-dp4.html
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
- shard-bmg: [SKIP][140] ([Intel XE#2316]) -> [PASS][141] +4 other tests pass
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible.html
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [FAIL][142] ([Intel XE#301]) -> [PASS][143] +1 other test pass
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
* igt@kms_flip@flip-vs-suspend@b-hdmi-a1:
- shard-adlp: [DMESG-WARN][144] ([Intel XE#4543]) -> [PASS][145] +11 other tests pass
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-1/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-4/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html
* igt@kms_hdr@invalid-hdr:
- shard-dg2-set2: [SKIP][146] ([Intel XE#455]) -> [PASS][147]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-433/igt@kms_hdr@invalid-hdr.html
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-463/igt@kms_hdr@invalid-hdr.html
- shard-bmg: [SKIP][148] ([Intel XE#1503]) -> [PASS][149]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-5/igt@kms_hdr@invalid-hdr.html
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-4/igt@kms_hdr@invalid-hdr.html
* igt@xe_ccs@suspend-resume:
- shard-bmg: [INCOMPLETE][150] -> [PASS][151] +1 other test pass
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-3/igt@xe_ccs@suspend-resume.html
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@xe_ccs@suspend-resume.html
* igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init:
- shard-dg2-set2: [DMESG-WARN][152] -> [PASS][153]
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-433/igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init.html
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-435/igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init.html
#### Warnings ####
* igt@kms_async_flips@async-flip-suspend-resume:
- shard-adlp: [DMESG-WARN][154] ([Intel XE#4543]) -> [DMESG-FAIL][155] ([Intel XE#4543])
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-adlp-9/igt@kms_async_flips@async-flip-suspend-resume.html
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-adlp-8/igt@kms_async_flips@async-flip-suspend-resume.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [INCOMPLETE][156] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345] / [Intel XE#6168]) -> [INCOMPLETE][157] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345])
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-466/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
* igt@kms_content_protection@srm:
- shard-bmg: [SKIP][158] ([Intel XE#2341]) -> [FAIL][159] ([Intel XE#1178])
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_content_protection@srm.html
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_content_protection@srm.html
* igt@kms_flip@2x-flip-vs-blocking-wf-vblank:
- shard-dg2-set2: [INCOMPLETE][160] ([Intel XE#2049] / [Intel XE#4842]) -> [INCOMPLETE][161] ([Intel XE#2049])
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-435/igt@kms_flip@2x-flip-vs-blocking-wf-vblank.html
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-436/igt@kms_flip@2x-flip-vs-blocking-wf-vblank.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][162] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][163] ([Intel XE#301])
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render:
- shard-bmg: [SKIP][164] ([Intel XE#2311]) -> [SKIP][165] ([Intel XE#2312]) +3 other tests skip
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-2/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render.html
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-bmg: [SKIP][166] ([Intel XE#2312]) -> [SKIP][167] ([Intel XE#5390]) +3 other tests skip
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt.html
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-indfb-pgflip-blt:
- shard-bmg: [SKIP][168] ([Intel XE#2312]) -> [SKIP][169] ([Intel XE#2311]) +7 other tests skip
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-indfb-pgflip-blt.html
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-onoff:
- shard-bmg: [SKIP][170] ([Intel XE#2313]) -> [SKIP][171] ([Intel XE#2312]) +3 other tests skip
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-onoff.html
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-onoff.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][172] ([Intel XE#2312]) -> [SKIP][173] ([Intel XE#2313]) +10 other tests skip
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-6/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-8/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][174] ([Intel XE#1729]) -> [SKIP][175] ([Intel XE#2426])
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern.html
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-bmg-4/igt@kms_tiled_display@basic-test-pattern.html
- shard-dg2-set2: [FAIL][176] ([Intel XE#1729]) -> [SKIP][177] ([Intel XE#362])
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b/shard-dg2-435/igt@kms_tiled_display@basic-test-pattern.html
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/shard-dg2-463/igt@kms_tiled_display@basic-test-pattern.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1280]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1280
[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#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[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#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#1874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1874
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[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#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2360
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2849]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2849
[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#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[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#3009]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3009
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3442
[Intel XE#346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/346
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[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#3868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3868
[Intel XE#3876]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3876
[Intel XE#3884]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3884
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#3908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3908
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4273]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4273
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[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#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4819
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4842]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4842
[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#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5213]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5213
[Intel XE#5244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5244
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5427]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5427
[Intel XE#5428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5428
[Intel XE#5624]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5624
[Intel XE#5742]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5742
[Intel XE#5890]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5890
[Intel XE#5937]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5937
[Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#6168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6168
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[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#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b -> xe-pw-152277v5
IGT_8580: 8580
xe-3888-e4621fd776939016f32f5585b188429d68e5ae5b: e4621fd776939016f32f5585b188429d68e5ae5b
xe-pw-152277v5: 152277v5
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152277v5/index.html
[-- Attachment #2: Type: text/html, Size: 59237 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [PATCH v6 0/5] User readable error codes on atomic_ioctl failure
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
` (9 preceding siblings ...)
2025-10-09 13:46 ` ✗ Xe.CI.Full: failure " Patchwork
@ 2025-10-28 2:59 ` Murthy, Arun R
10 siblings, 0 replies; 19+ messages in thread
From: Murthy, Arun R @ 2025-10-28 2:59 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Jani Nikula, Vivi, Rodrigo, Joonas Lahtinen,
Tvrtko Ursulin, xaver.hugl@kde.org, harry.wentland@amd.com,
Shankar, Uma, louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org
Gentle Reminder!
Any comments on this?
Thanks and Regards,
Arun R Murthy
-------------------
> -----Original Message-----
> From: Murthy, Arun R <arun.r.murthy@intel.com>
> Sent: Thursday, October 9, 2025 3:03 PM
> To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>; Maxime Ripard
> <mripard@kernel.org>; Thomas Zimmermann <tzimmermann@suse.de>; David
> Airlie <airlied@gmail.com>; Simona Vetter <simona@ffwll.ch>; Jani Nikula
> <jani.nikula@linux.intel.com>; Vivi, Rodrigo <rodrigo.vivi@intel.com>; Joonas
> Lahtinen <joonas.lahtinen@linux.intel.com>; Tvrtko Ursulin
> <tursulin@ursulin.net>; xaver.hugl@kde.org; harry.wentland@amd.com;
> Shankar, Uma <uma.shankar@intel.com>; louis.chauvet@bootlin.com
> Cc: dri-devel@lists.freedesktop.org; intel-gfx@lists.freedesktop.org; intel-
> xe@lists.freedesktop.org; Murthy, Arun R <arun.r.murthy@intel.com>
> Subject: [PATCH v6 0/5] User readable error codes on atomic_ioctl failure
>
> The series focuses on providing a user readable error value on a failure in
> drm_atomic_ioctl(). Usually -EINVAL is returned in most of the error cases and
> it is difficult for the user to decode the error and get to know the real cause for
> the error. If user gets to know the reason for the error then corrective
> measurements can be taken up.
>
> TODO: driver specific error codes are to be added and will be done in the
> follow-up patches.
>
> The IGT related changes are pushed for review @
> https://patchwork.freedesktop.org/series/153330/
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> Arun R Murthy (5):
> drm: Define user readable error codes for atomic ioctl
> drm/atomic: Add error_code element in atomic_state
> drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
> drm/atomic: Return user readable error in atomic_ioctl
> drm/i915/display: Error codes for async flip failures
>
> drivers/gpu/drm/drm_atomic.c | 31 ++++++++++
> drivers/gpu/drm/drm_atomic_uapi.c | 92 +++++++++++++++++++--------
> -
> drivers/gpu/drm/i915/display/intel_display.c | 25 ++++----
> include/drm/drm_atomic.h | 10 +++
> include/uapi/drm/drm_mode.h | 41 +++++++++++++
> 5 files changed, 159 insertions(+), 40 deletions(-)
> ---
> base-commit: a7101e35f29e03562f24ce1220f08350260fc0fc
> change-id: 20250728-atomic-c9713fd357e4
>
> Best regards,
> --
> Arun R Murthy <arun.r.murthy@intel.com>
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl
2025-10-09 9:32 ` [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
@ 2025-10-29 7:02 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 1 reply; 19+ messages in thread
From: Kandpal, Suraj @ 2025-10-29 7:02 UTC (permalink / raw)
To: Murthy, Arun R, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, Murthy, Arun R
> Subject: [PATCH v6 1/5] 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
Or Any ? I think you need to rephrase
> 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.
This sentence seems a little weird can you correct this.
> The element 'reserved' in the struct drm_mode_atomic is used for returning
> the user readable error code. This points to the struct
In that case why leave the element name as 'reserved' should that be changed
> drm_mode_atomic_err_code. Failure reasons have been initialized in
> DRM_MODE_ATOMIC_FAILURE_REASON.
I don't see the code for this here.
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> include/uapi/drm/drm_mode.h | 41
> +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
> index
> 1e0e02a79b5c8db200cf9fd35edfe163d701cbd5..1e9eeae472e74bbd1b5e0b6f7
> 9f9782cafaf5b6e 100644
> --- a/include/uapi/drm/drm_mode.h
> +++ b/include/uapi/drm/drm_mode.h
> @@ -45,6 +45,7 @@ extern "C" {
> #define DRM_CONNECTOR_NAME_LEN 32
> #define DRM_DISPLAY_MODE_LEN 32
> #define DRM_PROP_NAME_LEN 32
> +#define DRM_MODE_ATOMIC_FAILURE_STRING_LEN 128
>
> #define DRM_MODE_TYPE_BUILTIN (1<<0) /* deprecated */
> #define DRM_MODE_TYPE_CLOCK_C ((1<<1) | DRM_MODE_TYPE_BUILTIN)
> /* deprecated */
> @@ -1205,6 +1206,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
Should this be just be CRTC_NEED_MODESET to make it differ from the below definition.
> 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
Typos here
* DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE
* Async
Regards,
Suraj Kandpal
> on this
> +plane
> + * DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP: Modifier not
> supported by
> +async flip
> + * @DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED: Property changed in
> async flip
> +*/ enum drm_mode_atomic_failure_codes {
> + DRM_MODE_ATOMIC_INVALID_API_USAGE,
> + DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
> + DRM_MODE_ATOMIC_NEED_FULL_MODESET,
> + DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
> + DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
> + DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
> +};
> +
> +/**
> + * drm_mode_atomic_err_code - struct to store the error code
> + *
> + * pointer to this struct will be stored in reserved variable of
> + * struct drm_mode_atomic to report the failure cause to the user.
> + *
> + * @failure_code: error codes defined in enum
> +drm_moide_atomic_failure_code
> + * @failure_string_ptr: pointer to user readable error message string
> + * @failure_obj_ptr: pointer to the drm_object that caused error
> + * @reserved: reserved for future use
> + * @count_objs: count of drm_objects if multiple drm_objects caused
> +error */ struct drm_mode_atomic_err_code {
> + __u64 failure_code;
> + __u64 failure_objs_ptr;
> + __u64 reserved;
> + __u32 count_objs;
> + char failure_string[DRM_MODE_ATOMIC_FAILURE_STRING_LEN];
> +};
> +
> struct drm_mode_atomic {
> __u32 flags;
> __u32 count_objs;
>
> --
> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
2025-10-09 9:32 ` [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
@ 2025-10-29 7:46 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 1 reply; 19+ messages in thread
From: Kandpal, Suraj @ 2025-10-29 7:46 UTC (permalink / raw)
To: Murthy, Arun R, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, Murthy, Arun R
> Subject: [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of
> atomic_ioctl
>
> Moving atomic_state allocation to the beginning of the atomci_ioctl to
This needs to be in imerative language so something like "Move ..."
Also Typo *atomic_ioctl
> accommodate drm_mode_atomic_err_code usage for returning error code on
> failures.
>
Also maybe mention why drm_mode_atomic_err_code cannot be accommodated at previous place
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> drivers/gpu/drm/drm_atomic_uapi.c | 21 +++++++++++----------
> 1 file changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c
> b/drivers/gpu/drm/drm_atomic_uapi.c
> index
> 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..3ef478e717bec917d1b8803c
> 72bbcc8d6409d745 100644
> --- a/drivers/gpu/drm/drm_atomic_uapi.c
> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
> @@ -1394,13 +1394,21 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> struct drm_modeset_acquire_ctx ctx;
> struct drm_out_fence_state *fence_state;
> int ret = 0;
> - unsigned int i, j, num_fences;
> + unsigned int i, j, num_fences = 0;
> bool async_flip = false;
>
> /* disallow for drivers not supporting atomic: */
> if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
> return -EOPNOTSUPP;
>
> + state = drm_atomic_state_alloc(dev);
> + if (!state)
> + return -ENOMEM;
> +
> + drm_modeset_acquire_init(&ctx,
> DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
> + state->acquire_ctx = &ctx;
> + state->allow_modeset = !!(arg->flags &
> DRM_MODE_ATOMIC_ALLOW_MODESET);
> +
> /* disallow for userspace that has not enabled atomic cap (even
> * though this may be a bit overkill, since legacy userspace
> * wouldn't know how to call this ioctl) @@ -1439,14 +1447,6 @@ int
> drm_mode_atomic_ioctl(struct drm_device *dev,
> return -EINVAL;
> }
>
> - state = drm_atomic_state_alloc(dev);
> - if (!state)
> - return -ENOMEM;
> -
> - drm_modeset_acquire_init(&ctx,
> DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
> - state->acquire_ctx = &ctx;
> - state->allow_modeset = !!(arg->flags &
> DRM_MODE_ATOMIC_ALLOW_MODESET);
> -
> retry:
> copied_objs = 0;
> copied_props = 0;
> @@ -1543,7 +1543,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
> }
>
> out:
> - complete_signaling(dev, state, fence_state, num_fences, !ret);
> + if (num_fences)
> + complete_signaling(dev, state, fence_state, num_fences, !ret);
Why the need to check num_fences before we complete signalling
Also this seems like a separate change maybe should be in its own patch
Regards,
Suraj Kandpal
>
> if (ret == -EDEADLK) {
> drm_atomic_state_clear(state);
>
> --
> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state
2025-10-09 9:32 ` [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
@ 2025-10-29 7:53 ` Kandpal, Suraj
0 siblings, 0 replies; 19+ messages in thread
From: Kandpal, Suraj @ 2025-10-29 7:53 UTC (permalink / raw)
To: Murthy, Arun R, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, Murthy, Arun R
> Subject: [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state
>
> Now that a proper error code will be returned to the user on any failure in
> atomic_ioctl() via struct drm_mode_atomic, add a new element error_code in
> the struct drm_atomic_state so as to hold the error code during the
> atomic_check() and atomic_commit() phases.
> New function added to print the error message and fill the struct err_code
> with proper error message and error code.
>
> v5: Add a function for printing the error message and filling err_code
> struct
> v6: Replace drm_err with drm_dbg_atomic print
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> drivers/gpu/drm/drm_atomic.c | 31 +++++++++++++++++++++++++++++++
> include/drm/drm_atomic.h | 10 ++++++++++
> 2 files changed, 41 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
> index
> 0fda567c390057b10bce691d9ddc11308088d92e..52eacb5a109d1c0f5b017e
> 552d9f5169f8d8fea5 100644
> --- a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -1897,6 +1897,37 @@ void drm_state_dump(struct drm_device *dev,
> struct drm_printer *p) } EXPORT_SYMBOL(drm_state_dump);
>
> +/**
> + * drm_mode_atomic_add_error_msg - function to add error code and error
> +string
> + *
> + * @err_code: pointer to struct drm_mode_atomic_err_code that stores the
> failure
> + * reason
> + * @failure_code: failure code in enum drm_mode_atomic_failure_codes
> + * @failure_string: failure reason string message
> + *
> + * Returns: void
> + */
> +void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code
> *err_code,
> + __u64 failure_code, const char *format, ...) {
> + struct drm_atomic_state *state = container_of(err_code,
> + struct drm_atomic_state,
> + error_code);
> + va_list varg;
> + char *failure_string;
> +
> + err_code->failure_code = failure_code;
> +
> + va_start(varg, format);
> + failure_string = kvasprintf(GFP_ATOMIC, format, varg);
> +
> + drm_dbg_atomic(state->dev, "%s\n", failure_string);
In the next patches we endup changing the dbg message format from
"Commit failed: <failure reason>" to just "<failure reason>"
Maybe this should be "Commit failed: %s"
Regards,
Suraj Kandpal
> + strscpy_pad(err_code->failure_string, failure_string,
> + sizeof(err_code->failure_string));
> + va_end(varg);
> +}
> +EXPORT_SYMBOL(drm_mode_atomic_add_error_msg);
> +
> #ifdef CONFIG_DEBUG_FS
> static int drm_state_info(struct seq_file *m, void *data) { diff --git
> a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index
> c8ab2163bf658cd06b12a8dabada7c088a328654..205ce418da22f8cbe10ea3
> 53c62471dbb41ae2e8 100644
> --- a/include/drm/drm_atomic.h
> +++ b/include/drm/drm_atomic.h
> @@ -589,6 +589,13 @@ struct drm_atomic_state {
> * commit without blocking.
> */
> struct work_struct commit_work;
> +
> + /* @error_code: pointer to struct holding failure reason and string
> + *
> + * struct to convey user readable error to the user.
> + * Error codes defined in enum drm_mode_atomic_failure_flags
> + */
> + struct drm_mode_atomic_err_code error_code;
> };
>
> void __drm_crtc_commit_free(struct kref *kref); @@ -1259,5 +1266,8 @@
> drm_atomic_get_old_bridge_state(const struct drm_atomic_state *state,
> struct drm_bridge_state * drm_atomic_get_new_bridge_state(const struct
> drm_atomic_state *state,
> struct drm_bridge *bridge);
> +__printf(3, 4)
> +void drm_mode_atomic_add_error_msg(struct drm_mode_atomic_err_code
> *err_code,
> + __u64 failure_code, const char *format, ...);
>
> #endif /* DRM_ATOMIC_H_ */
>
> --
> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl
2025-10-09 9:32 ` [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
@ 2025-10-29 8:15 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 1 reply; 19+ messages in thread
From: Kandpal, Suraj @ 2025-10-29 8:15 UTC (permalink / raw)
To: Murthy, Arun R, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, Murthy, Arun R
> Subject: [PATCH v6 4/5] drm/atomic: Return user readable error in
> atomic_ioctl
>
> Add user readable error codes for failure cases in drm_atomic_ioctl() so that
> user can decode the error code and take corrective measurements.
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> drivers/gpu/drm/drm_atomic_uapi.c | 71
> ++++++++++++++++++++++++++++-----------
> 1 file changed, 52 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c
> b/drivers/gpu/drm/drm_atomic_uapi.c
> index
> 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413
> e171b1336812d65c1c 100644
> --- a/drivers/gpu/drm/drm_atomic_uapi.c
> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
> @@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct
> drm_atomic_state *state,
> ret = drm_atomic_connector_get_property(connector,
> connector_state,
> prop,
> &old_val);
> ret = drm_atomic_check_prop_changes(ret, old_val,
> prop_value, prop);
> + if (ret) {
> + drm_mode_atomic_add_error_msg(&state-
> >error_code,
> +
> DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
> + "property change
> not allowed in async flip");
> + }
> break;
> }
>
> @@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct
> drm_atomic_state *state,
> ret = drm_atomic_crtc_get_property(crtc, crtc_state,
> prop, &old_val);
> ret = drm_atomic_check_prop_changes(ret, old_val,
> prop_value, prop);
> + if (ret) {
> + drm_mode_atomic_add_error_msg(&state-
> >error_code,
> +
> DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
> + "property change
> not allowed in async flip");
> + }
> break;
> }
>
> @@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct
> drm_atomic_state *state,
> ret = plane_funcs-
> >atomic_async_check(plane, state, true);
>
> if (ret) {
> - drm_dbg_atomic(prop->dev,
> - "[PLANE:%d:%s] does not
> support async flips\n",
> - obj->id, plane->name);
> +
> drm_mode_atomic_add_error_msg(&state->error_code,
> +
> DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
> +
> "[PLANE:%d:%s] does not support async flip",
> + obj->id,
> plane->name);
> break;
> }
> }
> @@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> struct drm_atomic_state *state;
> struct drm_modeset_acquire_ctx ctx;
> struct drm_out_fence_state *fence_state;
> + struct drm_mode_atomic_err_code __user *error_code_ptr;
> int ret = 0;
> unsigned int i, j, num_fences = 0;
> bool async_flip = false;
> @@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
> return -EOPNOTSUPP;
>
> + if (!arg->reserved)
> + drm_dbg_atomic(dev,
> + "memory not allocated for drm_atomic error
> reporting\n");
> + else
> + /* update the error code if any error to allow user handling it
> */
First letter in uppercase.
> + error_code_ptr = (struct drm_mode_atomic_err_code __user
> *)
> + (unsigned long)arg->reserved;
> +
> state = drm_atomic_state_alloc(dev);
> if (!state)
> return -ENOMEM;
> @@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> state->acquire_ctx = &ctx;
> state->allow_modeset = !!(arg->flags &
> DRM_MODE_ATOMIC_ALLOW_MODESET);
>
> + memset(&state->error_code, 0, sizeof(struct
> +drm_mode_atomic_err_code));
Isn't is better to have it as
sizeof(*error_code_ptr)
> +
> /* disallow for userspace that has not enabled atomic cap (even
> * though this may be a bit overkill, since legacy userspace
> * wouldn't know how to call this ioctl)
> */
> if (!file_priv->atomic) {
> - drm_dbg_atomic(dev,
> - "commit failed: atomic cap not enabled\n");
> - return -EINVAL;
> + drm_mode_atomic_add_error_msg(&state->error_code,
> +
> DRM_MODE_ATOMIC_INVALID_API_USAGE,
> + "DRM_ATOMIC capability not
> enabled");
I'd rather have it say drm atomic capability not enabled
> + ret = -EINVAL;
> + goto out;
> }
>
> if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
> - drm_dbg_atomic(dev, "commit failed: invalid flag\n");
> - return -EINVAL;
> - }
> -
> - if (arg->reserved) {
> - drm_dbg_atomic(dev, "commit failed: reserved field set\n");
> - return -EINVAL;
> + drm_mode_atomic_add_error_msg(&state->error_code,
> +
> DRM_MODE_ATOMIC_INVALID_API_USAGE,
> + "invalid flag");
> + ret = -EINVAL;
> + goto out;
> }
>
> if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
> if (!dev->mode_config.async_page_flip) {
> - drm_dbg_atomic(dev,
> - "commit failed:
> DRM_MODE_PAGE_FLIP_ASYNC not supported\n");
> - return -EINVAL;
> + drm_mode_atomic_add_error_msg(&state-
> >error_code,
> +
> DRM_MODE_ATOMIC_INVALID_API_USAGE,
> +
> "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl");
> + ret = -EINVAL;
> + goto out;
> }
>
> async_flip = true;
> @@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> /* can't test and expect an event at the same time. */
> if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
> (arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
> - drm_dbg_atomic(dev,
> - "commit failed: page-flip event requested with
> test-only commit\n");
> - return -EINVAL;
> + drm_mode_atomic_add_error_msg(&state->error_code,
> +
> DRM_MODE_ATOMIC_INVALID_API_USAGE,
> + "page-flip event requested with
> test-only commit");
> + ret = -EINVAL;
> + goto out;
> }
>
> retry:
> @@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device
> *dev,
> }
>
> out:
> + /* update the error code if any error to allow user handling it */
First letter in uppercase here
Regards,
Suraj Kandpal
> + if (ret < 0 && arg->reserved) {
> + if (copy_to_user(error_code_ptr, &state->error_code,
> + sizeof(state->error_code)))
> + return -EFAULT;
> + }
> +
> if (num_fences)
> complete_signaling(dev, state, fence_state, num_fences, !ret);
>
>
> --
> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl
2025-10-29 8:15 ` Kandpal, Suraj
@ 2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 0 replies; 19+ messages in thread
From: Murthy, Arun R @ 2026-01-06 4:03 UTC (permalink / raw)
To: Kandpal, Suraj, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org
On 29-10-2025 13:45, Kandpal, Suraj wrote:
>> Subject: [PATCH v6 4/5] drm/atomic: Return user readable error in
>> atomic_ioctl
>>
>> Add user readable error codes for failure cases in drm_atomic_ioctl() so that
>> user can decode the error code and take corrective measurements.
>>
>> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>> ---
>> drivers/gpu/drm/drm_atomic_uapi.c | 71
>> ++++++++++++++++++++++++++++-----------
>> 1 file changed, 52 insertions(+), 19 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c
>> b/drivers/gpu/drm/drm_atomic_uapi.c
>> index
>> 3ef478e717bec917d1b8803c72bbcc8d6409d745..3d4e9709e8e289cf302413
>> e171b1336812d65c1c 100644
>> --- a/drivers/gpu/drm/drm_atomic_uapi.c
>> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
>> @@ -1036,6 +1036,11 @@ int drm_atomic_set_property(struct
>> drm_atomic_state *state,
>> ret = drm_atomic_connector_get_property(connector,
>> connector_state,
>> prop,
>> &old_val);
>> ret = drm_atomic_check_prop_changes(ret, old_val,
>> prop_value, prop);
>> + if (ret) {
>> + drm_mode_atomic_add_error_msg(&state-
>>> error_code,
>> +
>> DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
>> + "property change
>> not allowed in async flip");
>> + }
>> break;
>> }
>>
>> @@ -1058,6 +1063,11 @@ int drm_atomic_set_property(struct
>> drm_atomic_state *state,
>> ret = drm_atomic_crtc_get_property(crtc, crtc_state,
>> prop, &old_val);
>> ret = drm_atomic_check_prop_changes(ret, old_val,
>> prop_value, prop);
>> + if (ret) {
>> + drm_mode_atomic_add_error_msg(&state-
>>> error_code,
>> +
>> DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
>> + "property change
>> not allowed in async flip");
>> + }
>> break;
>> }
>>
>> @@ -1096,9 +1106,10 @@ int drm_atomic_set_property(struct
>> drm_atomic_state *state,
>> ret = plane_funcs-
>>> atomic_async_check(plane, state, true);
>> if (ret) {
>> - drm_dbg_atomic(prop->dev,
>> - "[PLANE:%d:%s] does not
>> support async flips\n",
>> - obj->id, plane->name);
>> +
>> drm_mode_atomic_add_error_msg(&state->error_code,
>> +
>> DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
>> +
>> "[PLANE:%d:%s] does not support async flip",
>> + obj->id,
>> plane->name);
>> break;
>> }
>> }
>> @@ -1393,6 +1404,7 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> struct drm_atomic_state *state;
>> struct drm_modeset_acquire_ctx ctx;
>> struct drm_out_fence_state *fence_state;
>> + struct drm_mode_atomic_err_code __user *error_code_ptr;
>> int ret = 0;
>> unsigned int i, j, num_fences = 0;
>> bool async_flip = false;
>> @@ -1401,6 +1413,14 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
>> return -EOPNOTSUPP;
>>
>> + if (!arg->reserved)
>> + drm_dbg_atomic(dev,
>> + "memory not allocated for drm_atomic error
>> reporting\n");
>> + else
>> + /* update the error code if any error to allow user handling it
>> */
> First letter in uppercase.
Done!
>> + error_code_ptr = (struct drm_mode_atomic_err_code __user
>> *)
>> + (unsigned long)arg->reserved;
>> +
>> state = drm_atomic_state_alloc(dev);
>> if (!state)
>> return -ENOMEM;
>> @@ -1409,31 +1429,35 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> state->acquire_ctx = &ctx;
>> state->allow_modeset = !!(arg->flags &
>> DRM_MODE_ATOMIC_ALLOW_MODESET);
>>
>> + memset(&state->error_code, 0, sizeof(struct
>> +drm_mode_atomic_err_code));
> Isn't is better to have it as
> sizeof(*error_code_ptr)
Done!
>> +
>> /* disallow for userspace that has not enabled atomic cap (even
>> * though this may be a bit overkill, since legacy userspace
>> * wouldn't know how to call this ioctl)
>> */
>> if (!file_priv->atomic) {
>> - drm_dbg_atomic(dev,
>> - "commit failed: atomic cap not enabled\n");
>> - return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +
>> DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> + "DRM_ATOMIC capability not
>> enabled");
> I'd rather have it say drm atomic capability not enabled
Done!
>> + ret = -EINVAL;
>> + goto out;
>> }
>>
>> if (arg->flags & ~DRM_MODE_ATOMIC_FLAGS) {
>> - drm_dbg_atomic(dev, "commit failed: invalid flag\n");
>> - return -EINVAL;
>> - }
>> -
>> - if (arg->reserved) {
>> - drm_dbg_atomic(dev, "commit failed: reserved field set\n");
>> - return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +
>> DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> + "invalid flag");
>> + ret = -EINVAL;
>> + goto out;
>> }
>>
>> if (arg->flags & DRM_MODE_PAGE_FLIP_ASYNC) {
>> if (!dev->mode_config.async_page_flip) {
>> - drm_dbg_atomic(dev,
>> - "commit failed:
>> DRM_MODE_PAGE_FLIP_ASYNC not supported\n");
>> - return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state-
>>> error_code,
>> +
>> DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> +
>> "DRM_MODE_PAGE_FLIP_ASYNC not supported with ATOMIC ioctl");
>> + ret = -EINVAL;
>> + goto out;
>> }
>>
>> async_flip = true;
>> @@ -1442,9 +1466,11 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> /* can't test and expect an event at the same time. */
>> if ((arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) &&
>> (arg->flags & DRM_MODE_PAGE_FLIP_EVENT)) {
>> - drm_dbg_atomic(dev,
>> - "commit failed: page-flip event requested with
>> test-only commit\n");
>> - return -EINVAL;
>> + drm_mode_atomic_add_error_msg(&state->error_code,
>> +
>> DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> + "page-flip event requested with
>> test-only commit");
>> + ret = -EINVAL;
>> + goto out;
>> }
>>
>> retry:
>> @@ -1543,6 +1569,13 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> }
>>
>> out:
>> + /* update the error code if any error to allow user handling it */
> First letter in uppercase here
Done!
Thanks and Regards,
Arun R Murthy
-------------------
>
> Regards,
> Suraj Kandpal
>
>> + if (ret < 0 && arg->reserved) {
>> + if (copy_to_user(error_code_ptr, &state->error_code,
>> + sizeof(state->error_code)))
>> + return -EFAULT;
>> + }
>> +
>> if (num_fences)
>> complete_signaling(dev, state, fence_state, num_fences, !ret);
>>
>>
>> --
>> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl
2025-10-29 7:46 ` Kandpal, Suraj
@ 2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 0 replies; 19+ messages in thread
From: Murthy, Arun R @ 2026-01-06 4:03 UTC (permalink / raw)
To: Kandpal, Suraj, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org
On 29-10-2025 13:16, Kandpal, Suraj wrote:
>> Subject: [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of
>> atomic_ioctl
>>
>> Moving atomic_state allocation to the beginning of the atomci_ioctl to
> This needs to be in imerative language so something like "Move ..."
> Also Typo *atomic_ioctl
Corrected!
>> accommodate drm_mode_atomic_err_code usage for returning error code on
>> failures.
>>
> Also maybe mention why drm_mode_atomic_err_code cannot be accommodated at previous place
Done!
>> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>> ---
>> drivers/gpu/drm/drm_atomic_uapi.c | 21 +++++++++++----------
>> 1 file changed, 11 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c
>> b/drivers/gpu/drm/drm_atomic_uapi.c
>> index
>> 85dbdaa4a2e25878c953b9b41539c8566d55c6d9..3ef478e717bec917d1b8803c
>> 72bbcc8d6409d745 100644
>> --- a/drivers/gpu/drm/drm_atomic_uapi.c
>> +++ b/drivers/gpu/drm/drm_atomic_uapi.c
>> @@ -1394,13 +1394,21 @@ int drm_mode_atomic_ioctl(struct drm_device
>> *dev,
>> struct drm_modeset_acquire_ctx ctx;
>> struct drm_out_fence_state *fence_state;
>> int ret = 0;
>> - unsigned int i, j, num_fences;
>> + unsigned int i, j, num_fences = 0;
>> bool async_flip = false;
>>
>> /* disallow for drivers not supporting atomic: */
>> if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
>> return -EOPNOTSUPP;
>>
>> + state = drm_atomic_state_alloc(dev);
>> + if (!state)
>> + return -ENOMEM;
>> +
>> + drm_modeset_acquire_init(&ctx,
>> DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
>> + state->acquire_ctx = &ctx;
>> + state->allow_modeset = !!(arg->flags &
>> DRM_MODE_ATOMIC_ALLOW_MODESET);
>> +
>> /* disallow for userspace that has not enabled atomic cap (even
>> * though this may be a bit overkill, since legacy userspace
>> * wouldn't know how to call this ioctl) @@ -1439,14 +1447,6 @@ int
>> drm_mode_atomic_ioctl(struct drm_device *dev,
>> return -EINVAL;
>> }
>>
>> - state = drm_atomic_state_alloc(dev);
>> - if (!state)
>> - return -ENOMEM;
>> -
>> - drm_modeset_acquire_init(&ctx,
>> DRM_MODESET_ACQUIRE_INTERRUPTIBLE);
>> - state->acquire_ctx = &ctx;
>> - state->allow_modeset = !!(arg->flags &
>> DRM_MODE_ATOMIC_ALLOW_MODESET);
>> -
>> retry:
>> copied_objs = 0;
>> copied_props = 0;
>> @@ -1543,7 +1543,8 @@ int drm_mode_atomic_ioctl(struct drm_device *dev,
>> }
>>
>> out:
>> - complete_signaling(dev, state, fence_state, num_fences, !ret);
>> + if (num_fences)
>> + complete_signaling(dev, state, fence_state, num_fences, !ret);
> Why the need to check num_fences before we complete signalling
> Also this seems like a separate change maybe should be in its own patch
Even before creating signals there are few error checks where we return
back with failure code, hence checking for signals created before
signalling.
Thanks and Regards,
Arun R Murthy
-------------------
> Regards,
> Suraj Kandpal
>
>> if (ret == -EDEADLK) {
>> drm_atomic_state_clear(state);
>>
>> --
>> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl
2025-10-29 7:02 ` Kandpal, Suraj
@ 2026-01-06 4:03 ` Murthy, Arun R
0 siblings, 0 replies; 19+ messages in thread
From: Murthy, Arun R @ 2026-01-06 4:03 UTC (permalink / raw)
To: Kandpal, Suraj, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Jani Nikula,
Vivi, Rodrigo, Joonas Lahtinen, Tvrtko Ursulin,
xaver.hugl@kde.org, harry.wentland@amd.com, Shankar, Uma,
louis.chauvet@bootlin.com
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org
Thanks for the review!
On 29-10-2025 12:32, Kandpal, Suraj wrote:
>> Subject: [PATCH v6 1/5] 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
> Or Any ? I think you need to rephrase
Done!
>> 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.
> This sentence seems a little weird can you correct this.
Done!
>> The element 'reserved' in the struct drm_mode_atomic is used for returning
>> the user readable error code. This points to the struct
> In that case why leave the element name as 'reserved' should that be changed
Good thought!
There are drm clients checking for this reserved variable to be NULL as
its unused.
Once this patch is merged, then will a follow-on patch to change this
variable name.
>> drm_mode_atomic_err_code. Failure reasons have been initialized in
>> DRM_MODE_ATOMIC_FAILURE_REASON.
> I don't see the code for this here.
Done! Updated!
>> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
>> ---
>> include/uapi/drm/drm_mode.h | 41
>> +++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 41 insertions(+)
>>
>> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
>> index
>> 1e0e02a79b5c8db200cf9fd35edfe163d701cbd5..1e9eeae472e74bbd1b5e0b6f7
>> 9f9782cafaf5b6e 100644
>> --- a/include/uapi/drm/drm_mode.h
>> +++ b/include/uapi/drm/drm_mode.h
>> @@ -45,6 +45,7 @@ extern "C" {
>> #define DRM_CONNECTOR_NAME_LEN 32
>> #define DRM_DISPLAY_MODE_LEN 32
>> #define DRM_PROP_NAME_LEN 32
>> +#define DRM_MODE_ATOMIC_FAILURE_STRING_LEN 128
>>
>> #define DRM_MODE_TYPE_BUILTIN (1<<0) /* deprecated */
>> #define DRM_MODE_TYPE_CLOCK_C ((1<<1) | DRM_MODE_TYPE_BUILTIN)
>> /* deprecated */
>> @@ -1205,6 +1206,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
> Should this be just be CRTC_NEED_MODESET to make it differ from the below definition.
Taken care of to match the error code/function in the KMD.
>> 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
> Typos here
> * DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE
> * Async
Done!
Thanks and Regards,
Arun R Murthy
-------------------
>
> Regards,
> Suraj Kandpal
>
>> on this
>> +plane
>> + * DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP: Modifier not
>> supported by
>> +async flip
>> + * @DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED: Property changed in
>> async flip
>> +*/ enum drm_mode_atomic_failure_codes {
>> + DRM_MODE_ATOMIC_INVALID_API_USAGE,
>> + DRM_MODE_ATOMIC_CRTC_NEED_FULL_MODESET,
>> + DRM_MODE_ATOMIC_NEED_FULL_MODESET,
>> + DRM_MODE_ATOMIC_ASYNC_NOT_SUPP_PLANE,
>> + DRM_MODE_ATOMIC_ASYNC_MODIFIER_NOT_SUPP,
>> + DRM_MODE_ATOMIC_ASYNC_PROP_CHANGED,
>> +};
>> +
>> +/**
>> + * drm_mode_atomic_err_code - struct to store the error code
>> + *
>> + * pointer to this struct will be stored in reserved variable of
>> + * struct drm_mode_atomic to report the failure cause to the user.
>> + *
>> + * @failure_code: error codes defined in enum
>> +drm_moide_atomic_failure_code
>> + * @failure_string_ptr: pointer to user readable error message string
>> + * @failure_obj_ptr: pointer to the drm_object that caused error
>> + * @reserved: reserved for future use
>> + * @count_objs: count of drm_objects if multiple drm_objects caused
>> +error */ struct drm_mode_atomic_err_code {
>> + __u64 failure_code;
>> + __u64 failure_objs_ptr;
>> + __u64 reserved;
>> + __u32 count_objs;
>> + char failure_string[DRM_MODE_ATOMIC_FAILURE_STRING_LEN];
>> +};
>> +
>> struct drm_mode_atomic {
>> __u32 flags;
>> __u32 count_objs;
>>
>> --
>> 2.25.1
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2026-01-06 4:04 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 9:32 [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Arun R Murthy
2025-10-09 9:32 ` [PATCH v6 1/5] drm: Define user readable error codes for atomic ioctl Arun R Murthy
2025-10-29 7:02 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
2025-10-09 9:32 ` [PATCH v6 2/5] drm/atomic: Add error_code element in atomic_state Arun R Murthy
2025-10-29 7:53 ` Kandpal, Suraj
2025-10-09 9:32 ` [PATCH v6 3/5] drm/atomic: Allocate atomic_state at the beginning of atomic_ioctl Arun R Murthy
2025-10-29 7:46 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
2025-10-09 9:32 ` [PATCH v6 4/5] drm/atomic: Return user readable error in atomic_ioctl Arun R Murthy
2025-10-29 8:15 ` Kandpal, Suraj
2026-01-06 4:03 ` Murthy, Arun R
2025-10-09 9:32 ` [PATCH v6 5/5] drm/i915/display: Error codes for async flip failures Arun R Murthy
2025-10-09 10:19 ` ✗ CI.checkpatch: warning for User readable error codes on atomic_ioctl failure (rev5) Patchwork
2025-10-09 10:20 ` ✓ CI.KUnit: success " Patchwork
2025-10-09 10:35 ` ✗ CI.checksparse: warning " Patchwork
2025-10-09 10:57 ` ✓ Xe.CI.BAT: success " Patchwork
2025-10-09 13:46 ` ✗ Xe.CI.Full: failure " Patchwork
2025-10-28 2:59 ` [PATCH v6 0/5] User readable error codes on atomic_ioctl failure Murthy, Arun R
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox