* [PATCH] drm/i915: Walk crtcs in pipe order
@ 2025-11-20 14:49 Ville Syrjala
2025-11-20 16:45 ` ✗ CI.checkpatch: warning for " Patchwork
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: Ville Syrjala @ 2025-11-20 14:49 UTC (permalink / raw)
To: intel-gfx; +Cc: intel-xe
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Currently our crtcs are registered in pipe order, and thus
all the for_intel_crtc*() iterators walk the crtcs in pipe
order. There are a bunch of places that more or less depend
on that. Eg. during plane updates and such we want joined
pipes to be processed back-to-back to give a better chance
of an atomic update across the whole set.
When we start to register crtcs in a different order we don't
want to change the order in which the pipes get handled.
Decouple the for_each_intel_crtc*() iterators from the crtc
registration order by using a separate list which will be
sorted by the pipe rather than the crtc index.
We could priobably use a simple array or something, but that
would require some kind of extra iterator variable for the
macros, and thus would require a lot more changes. Using
a linked list keeps the fallout minimal. We can look at
using a more optimal data structure later.
I also added this extra junk to the atomic state iterators:
"(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
even though the macro itself no longer needs the "__i" iterator.
This in case the "__i" is used by the caller, and to
avoid compiler warnings if it's completely unused now.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 20 +++++
drivers/gpu/drm/i915/display/intel_display.h | 90 ++++++++-----------
.../gpu/drm/i915/display/intel_display_core.h | 3 +
.../drm/i915/display/intel_display_driver.c | 1 +
.../drm/i915/display/intel_display_types.h | 1 +
drivers/gpu/drm/xe/display/xe_display.c | 1 +
6 files changed, 64 insertions(+), 52 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 153ff4b4b52c..7ebbde716238 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -209,6 +209,8 @@ static struct intel_crtc *intel_crtc_alloc(void)
crtc->base.state = &crtc_state->uapi;
crtc->config = crtc_state;
+ INIT_LIST_HEAD(&crtc->pipe_head);
+
return crtc;
}
@@ -222,6 +224,8 @@ static void intel_crtc_destroy(struct drm_crtc *_crtc)
{
struct intel_crtc *crtc = to_intel_crtc(_crtc);
+ list_del(&crtc->pipe_head);
+
cpu_latency_qos_remove_request(&crtc->vblank_pm_qos);
drm_crtc_cleanup(&crtc->base);
@@ -308,6 +312,20 @@ static const struct drm_crtc_funcs i8xx_crtc_funcs = {
.get_vblank_timestamp = intel_crtc_get_vblank_timestamp,
};
+static void add_crtc_to_pipe_list(struct intel_display *display, struct intel_crtc *crtc)
+{
+ struct intel_crtc *iter;
+
+ list_for_each_entry(iter, &display->pipe_list, pipe_head) {
+ if (iter->pipe > crtc->pipe) {
+ list_add_tail(&crtc->pipe_head, &iter->pipe_head);
+ return;
+ }
+ }
+
+ list_add_tail(&crtc->pipe_head, &display->pipe_list);
+}
+
int intel_crtc_init(struct intel_display *display, enum pipe pipe)
{
struct intel_plane *primary, *cursor;
@@ -398,6 +416,8 @@ int intel_crtc_init(struct intel_display *display, enum pipe pipe)
if (HAS_CASF(display))
drm_crtc_create_sharpness_strength_property(&crtc->base);
+ add_crtc_to_pipe_list(display, crtc);
+
return 0;
fail:
diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
index bcc6ccb69d2b..ac83d4f09bb9 100644
--- a/drivers/gpu/drm/i915/display/intel_display.h
+++ b/drivers/gpu/drm/i915/display/intel_display.h
@@ -238,22 +238,23 @@ enum phy_fia {
base.head) \
for_each_if((intel_plane)->pipe == (intel_crtc)->pipe)
-#define for_each_intel_crtc(dev, intel_crtc) \
- list_for_each_entry(intel_crtc, \
- &(dev)->mode_config.crtc_list, \
- base.head)
+#define for_each_intel_crtc(dev, crtc) \
+ list_for_each_entry((crtc), \
+ &to_intel_display(dev)->pipe_list, \
+ pipe_head)
-#define for_each_intel_crtc_in_pipe_mask(dev, intel_crtc, pipe_mask) \
- list_for_each_entry(intel_crtc, \
- &(dev)->mode_config.crtc_list, \
- base.head) \
- for_each_if((pipe_mask) & BIT(intel_crtc->pipe))
+#define for_each_intel_crtc_reverse(dev, crtc) \
+ list_for_each_entry_reverse((crtc), \
+ &to_intel_display(dev)->pipe_list, \
+ pipe_head)
-#define for_each_intel_crtc_in_pipe_mask_reverse(dev, intel_crtc, pipe_mask) \
- list_for_each_entry_reverse((intel_crtc), \
- &(dev)->mode_config.crtc_list, \
- base.head) \
- for_each_if((pipe_mask) & BIT((intel_crtc)->pipe))
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
+
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
#define for_each_intel_encoder(dev, intel_encoder) \
list_for_each_entry(intel_encoder, \
@@ -295,14 +296,6 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
-#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
- (__i)++) \
- for_each_if(crtc)
-
#define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \
for ((__i) = 0; \
(__i) < (__state)->base.dev->mode_config.num_total_plane && \
@@ -311,22 +304,6 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
-#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)++) \
- for_each_if(crtc)
-
-#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
- for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
- (__i) >= 0 && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)--) \
- for_each_if(crtc)
-
#define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \
for ((__i) = 0; \
(__i) < (__state)->base.dev->mode_config.num_total_plane && \
@@ -336,23 +313,32 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
+
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
+
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
+
#define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)++) \
- for_each_if(crtc)
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
#define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \
- for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
- (__i) >= 0 && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)--) \
- for_each_if(crtc)
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
#define intel_atomic_crtc_state_for_each_plane_state( \
plane, plane_state, \
diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h
index 9b8414b77c15..4f4d5c314394 100644
--- a/drivers/gpu/drm/i915/display/intel_display_core.h
+++ b/drivers/gpu/drm/i915/display/intel_display_core.h
@@ -294,6 +294,9 @@ struct intel_display {
/* Parent, or core, driver functions exposed to display */
const struct intel_display_parent_interface *parent;
+ /* list of all intel_crtcs sorted by pipe */
+ struct list_head pipe_list;
+
/* Display functions */
struct {
/* Top level crtc-ish functions */
diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c
index 7e000ba3e08b..32726906e550 100644
--- a/drivers/gpu/drm/i915/display/intel_display_driver.c
+++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
@@ -119,6 +119,7 @@ static void intel_mode_config_init(struct intel_display *display)
drm_mode_config_init(display->drm);
INIT_LIST_HEAD(&display->global.obj_list);
+ INIT_LIST_HEAD(&display->pipe_list);
mode_config->min_width = 0;
mode_config->min_height = 0;
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index 38702a9e0f50..1c2bd9445795 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -1441,6 +1441,7 @@ struct intel_flipq {
struct intel_crtc {
struct drm_crtc base;
+ struct list_head pipe_head;
enum pipe pipe;
/*
* Whether the crtc and the connected output pipeline is active. Implies
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index e3320d9e6314..cfcbc7dd8638 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -22,6 +22,7 @@
#include "intel_audio.h"
#include "intel_bw.h"
#include "intel_display.h"
+#include "intel_display_core.h"
#include "intel_display_device.h"
#include "intel_display_driver.h"
#include "intel_display_irq.h"
--
2.49.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* ✗ CI.checkpatch: warning for drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
@ 2025-11-20 16:45 ` Patchwork
2025-11-20 16:46 ` ✓ CI.KUnit: success " Patchwork
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 16:45 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: intel-xe
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order
URL : https://patchwork.freedesktop.org/series/157852/
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
2de9a3901bc28757c7906b454717b64e2a214021
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2a27d79ca7c71ee5135e13af6e9d4d752ed0b615
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date: Thu Nov 20 16:49:10 2025 +0200
drm/i915: Walk crtcs in pipe order
Currently our crtcs are registered in pipe order, and thus
all the for_intel_crtc*() iterators walk the crtcs in pipe
order. There are a bunch of places that more or less depend
on that. Eg. during plane updates and such we want joined
pipes to be processed back-to-back to give a better chance
of an atomic update across the whole set.
When we start to register crtcs in a different order we don't
want to change the order in which the pipes get handled.
Decouple the for_each_intel_crtc*() iterators from the crtc
registration order by using a separate list which will be
sorted by the pipe rather than the crtc index.
We could priobably use a simple array or something, but that
would require some kind of extra iterator variable for the
macros, and thus would require a lot more changes. Using
a linked list keeps the fallout minimal. We can look at
using a more optimal data structure later.
I also added this extra junk to the atomic state iterators:
"(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
even though the macro itself no longer needs the "__i" iterator.
This in case the "__i" is used by the caller, and to
avoid compiler warnings if it's completely unused now.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
+ /mt/dim checkpatch 13909978d70fc4ded88b778a313b68ad86ba881a drm-intel
2a27d79ca7c7 drm/i915: Walk crtcs in pipe order
-:115: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#115: FILE: drivers/gpu/drm/i915/display/intel_display.h:251:
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:115: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#115: FILE: drivers/gpu/drm/i915/display/intel_display.h:251:
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
-:124: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#124: FILE: drivers/gpu/drm/i915/display/intel_display.h:255:
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:124: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#124: FILE: drivers/gpu/drm/i915/display/intel_display.h:255:
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
-:172: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#172: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:172: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#172: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:172: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#172: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:172: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#172: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:177: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#177: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:177: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#177: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:177: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#177: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:177: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#177: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:182: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#182: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:182: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#182: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:182: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#182: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:182: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#182: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:197: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#197: FILE: drivers/gpu/drm/i915/display/intel_display.h:334:
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
-:210: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#210: FILE: drivers/gpu/drm/i915/display/intel_display.h:340:
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
total: 5 errors, 2 warnings, 11 checks, 193 lines checked
^ permalink raw reply [flat|nested] 11+ messages in thread
* ✓ CI.KUnit: success for drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
2025-11-20 16:45 ` ✗ CI.checkpatch: warning for " Patchwork
@ 2025-11-20 16:46 ` Patchwork
2025-11-20 17:43 ` ✓ Xe.CI.BAT: " Patchwork
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 16:46 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: intel-xe
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order
URL : https://patchwork.freedesktop.org/series/157852/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[16:45:15] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:45:19] 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
[16:45:50] Starting KUnit Kernel (1/1)...
[16:45:50] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:45:50] ================== guc_buf (11 subtests) ===================
[16:45:50] [PASSED] test_smallest
[16:45:50] [PASSED] test_largest
[16:45:50] [PASSED] test_granular
[16:45:50] [PASSED] test_unique
[16:45:50] [PASSED] test_overlap
[16:45:50] [PASSED] test_reusable
[16:45:50] [PASSED] test_too_big
[16:45:50] [PASSED] test_flush
[16:45:50] [PASSED] test_lookup
[16:45:50] [PASSED] test_data
[16:45:50] [PASSED] test_class
[16:45:50] ===================== [PASSED] guc_buf =====================
[16:45:50] =================== guc_dbm (7 subtests) ===================
[16:45:50] [PASSED] test_empty
[16:45:50] [PASSED] test_default
[16:45:50] ======================== test_size ========================
[16:45:50] [PASSED] 4
[16:45:50] [PASSED] 8
[16:45:50] [PASSED] 32
[16:45:50] [PASSED] 256
[16:45:50] ==================== [PASSED] test_size ====================
[16:45:50] ======================= test_reuse ========================
[16:45:50] [PASSED] 4
[16:45:50] [PASSED] 8
[16:45:50] [PASSED] 32
[16:45:50] [PASSED] 256
[16:45:50] =================== [PASSED] test_reuse ====================
[16:45:50] =================== test_range_overlap ====================
[16:45:50] [PASSED] 4
[16:45:50] [PASSED] 8
[16:45:50] [PASSED] 32
[16:45:50] [PASSED] 256
[16:45:50] =============== [PASSED] test_range_overlap ================
[16:45:50] =================== test_range_compact ====================
[16:45:50] [PASSED] 4
[16:45:50] [PASSED] 8
[16:45:50] [PASSED] 32
[16:45:50] [PASSED] 256
[16:45:50] =============== [PASSED] test_range_compact ================
[16:45:50] ==================== test_range_spare =====================
[16:45:50] [PASSED] 4
[16:45:50] [PASSED] 8
[16:45:50] [PASSED] 32
[16:45:50] [PASSED] 256
[16:45:50] ================ [PASSED] test_range_spare =================
[16:45:50] ===================== [PASSED] guc_dbm =====================
[16:45:50] =================== guc_idm (6 subtests) ===================
[16:45:50] [PASSED] bad_init
[16:45:50] [PASSED] no_init
[16:45:50] [PASSED] init_fini
[16:45:50] [PASSED] check_used
[16:45:50] [PASSED] check_quota
[16:45:50] [PASSED] check_all
[16:45:50] ===================== [PASSED] guc_idm =====================
[16:45:50] ================== no_relay (3 subtests) ===================
[16:45:50] [PASSED] xe_drops_guc2pf_if_not_ready
[16:45:50] [PASSED] xe_drops_guc2vf_if_not_ready
[16:45:50] [PASSED] xe_rejects_send_if_not_ready
[16:45:50] ==================== [PASSED] no_relay =====================
[16:45:50] ================== pf_relay (14 subtests) ==================
[16:45:50] [PASSED] pf_rejects_guc2pf_too_short
[16:45:50] [PASSED] pf_rejects_guc2pf_too_long
[16:45:50] [PASSED] pf_rejects_guc2pf_no_payload
[16:45:50] [PASSED] pf_fails_no_payload
[16:45:50] [PASSED] pf_fails_bad_origin
[16:45:50] [PASSED] pf_fails_bad_type
[16:45:50] [PASSED] pf_txn_reports_error
[16:45:50] [PASSED] pf_txn_sends_pf2guc
[16:45:50] [PASSED] pf_sends_pf2guc
[16:45:50] [SKIPPED] pf_loopback_nop
[16:45:50] [SKIPPED] pf_loopback_echo
[16:45:50] [SKIPPED] pf_loopback_fail
[16:45:50] [SKIPPED] pf_loopback_busy
[16:45:50] [SKIPPED] pf_loopback_retry
[16:45:50] ==================== [PASSED] pf_relay =====================
[16:45:50] ================== vf_relay (3 subtests) ===================
[16:45:50] [PASSED] vf_rejects_guc2vf_too_short
[16:45:50] [PASSED] vf_rejects_guc2vf_too_long
[16:45:50] [PASSED] vf_rejects_guc2vf_no_payload
[16:45:50] ==================== [PASSED] vf_relay =====================
[16:45:50] ================ pf_gt_config (6 subtests) =================
[16:45:50] [PASSED] fair_contexts_1vf
[16:45:50] [PASSED] fair_doorbells_1vf
[16:45:50] [PASSED] fair_ggtt_1vf
[16:45:50] ====================== fair_contexts ======================
[16:45:50] [PASSED] 1 VF
[16:45:50] [PASSED] 2 VFs
[16:45:50] [PASSED] 3 VFs
[16:45:50] [PASSED] 4 VFs
[16:45:50] [PASSED] 5 VFs
[16:45:50] [PASSED] 6 VFs
[16:45:50] [PASSED] 7 VFs
[16:45:50] [PASSED] 8 VFs
[16:45:50] [PASSED] 9 VFs
[16:45:50] [PASSED] 10 VFs
[16:45:50] [PASSED] 11 VFs
[16:45:50] [PASSED] 12 VFs
[16:45:50] [PASSED] 13 VFs
[16:45:50] [PASSED] 14 VFs
[16:45:50] [PASSED] 15 VFs
[16:45:50] [PASSED] 16 VFs
[16:45:50] [PASSED] 17 VFs
[16:45:50] [PASSED] 18 VFs
[16:45:50] [PASSED] 19 VFs
[16:45:50] [PASSED] 20 VFs
[16:45:50] [PASSED] 21 VFs
[16:45:50] [PASSED] 22 VFs
[16:45:50] [PASSED] 23 VFs
[16:45:50] [PASSED] 24 VFs
[16:45:50] [PASSED] 25 VFs
[16:45:50] [PASSED] 26 VFs
[16:45:50] [PASSED] 27 VFs
[16:45:50] [PASSED] 28 VFs
[16:45:50] [PASSED] 29 VFs
[16:45:50] [PASSED] 30 VFs
[16:45:50] [PASSED] 31 VFs
[16:45:50] [PASSED] 32 VFs
[16:45:50] [PASSED] 33 VFs
[16:45:50] [PASSED] 34 VFs
[16:45:50] [PASSED] 35 VFs
[16:45:50] [PASSED] 36 VFs
[16:45:50] [PASSED] 37 VFs
[16:45:50] [PASSED] 38 VFs
[16:45:50] [PASSED] 39 VFs
[16:45:50] [PASSED] 40 VFs
[16:45:50] [PASSED] 41 VFs
[16:45:50] [PASSED] 42 VFs
[16:45:50] [PASSED] 43 VFs
[16:45:50] [PASSED] 44 VFs
[16:45:50] [PASSED] 45 VFs
[16:45:50] [PASSED] 46 VFs
[16:45:50] [PASSED] 47 VFs
[16:45:50] [PASSED] 48 VFs
[16:45:50] [PASSED] 49 VFs
[16:45:50] [PASSED] 50 VFs
[16:45:50] [PASSED] 51 VFs
[16:45:50] [PASSED] 52 VFs
[16:45:50] [PASSED] 53 VFs
[16:45:50] [PASSED] 54 VFs
[16:45:50] [PASSED] 55 VFs
[16:45:50] [PASSED] 56 VFs
[16:45:50] [PASSED] 57 VFs
[16:45:50] [PASSED] 58 VFs
[16:45:50] [PASSED] 59 VFs
[16:45:50] [PASSED] 60 VFs
[16:45:50] [PASSED] 61 VFs
[16:45:50] [PASSED] 62 VFs
[16:45:50] [PASSED] 63 VFs
[16:45:50] ================== [PASSED] fair_contexts ==================
[16:45:50] ===================== fair_doorbells ======================
[16:45:50] [PASSED] 1 VF
[16:45:50] [PASSED] 2 VFs
[16:45:50] [PASSED] 3 VFs
[16:45:50] [PASSED] 4 VFs
[16:45:50] [PASSED] 5 VFs
[16:45:50] [PASSED] 6 VFs
[16:45:50] [PASSED] 7 VFs
[16:45:50] [PASSED] 8 VFs
[16:45:50] [PASSED] 9 VFs
[16:45:50] [PASSED] 10 VFs
[16:45:50] [PASSED] 11 VFs
[16:45:50] [PASSED] 12 VFs
[16:45:50] [PASSED] 13 VFs
[16:45:50] [PASSED] 14 VFs
[16:45:50] [PASSED] 15 VFs
[16:45:50] [PASSED] 16 VFs
[16:45:50] [PASSED] 17 VFs
[16:45:50] [PASSED] 18 VFs
[16:45:50] [PASSED] 19 VFs
[16:45:50] [PASSED] 20 VFs
[16:45:50] [PASSED] 21 VFs
[16:45:50] [PASSED] 22 VFs
[16:45:50] [PASSED] 23 VFs
[16:45:50] [PASSED] 24 VFs
[16:45:50] [PASSED] 25 VFs
[16:45:50] [PASSED] 26 VFs
[16:45:50] [PASSED] 27 VFs
[16:45:50] [PASSED] 28 VFs
[16:45:50] [PASSED] 29 VFs
[16:45:50] [PASSED] 30 VFs
[16:45:50] [PASSED] 31 VFs
[16:45:50] [PASSED] 32 VFs
[16:45:50] [PASSED] 33 VFs
[16:45:50] [PASSED] 34 VFs
[16:45:50] [PASSED] 35 VFs
[16:45:50] [PASSED] 36 VFs
[16:45:50] [PASSED] 37 VFs
[16:45:50] [PASSED] 38 VFs
[16:45:50] [PASSED] 39 VFs
[16:45:50] [PASSED] 40 VFs
[16:45:50] [PASSED] 41 VFs
[16:45:50] [PASSED] 42 VFs
[16:45:50] [PASSED] 43 VFs
[16:45:50] [PASSED] 44 VFs
[16:45:50] [PASSED] 45 VFs
[16:45:50] [PASSED] 46 VFs
[16:45:50] [PASSED] 47 VFs
[16:45:50] [PASSED] 48 VFs
[16:45:50] [PASSED] 49 VFs
[16:45:50] [PASSED] 50 VFs
[16:45:50] [PASSED] 51 VFs
[16:45:50] [PASSED] 52 VFs
[16:45:50] [PASSED] 53 VFs
[16:45:50] [PASSED] 54 VFs
[16:45:50] [PASSED] 55 VFs
[16:45:50] [PASSED] 56 VFs
[16:45:50] [PASSED] 57 VFs
[16:45:50] [PASSED] 58 VFs
[16:45:50] [PASSED] 59 VFs
[16:45:50] [PASSED] 60 VFs
[16:45:50] [PASSED] 61 VFs
[16:45:50] [PASSED] 62 VFs
[16:45:50] [PASSED] 63 VFs
[16:45:50] ================= [PASSED] fair_doorbells ==================
[16:45:50] ======================== fair_ggtt ========================
[16:45:50] [PASSED] 1 VF
[16:45:50] [PASSED] 2 VFs
[16:45:50] [PASSED] 3 VFs
[16:45:50] [PASSED] 4 VFs
[16:45:50] [PASSED] 5 VFs
[16:45:50] [PASSED] 6 VFs
[16:45:50] [PASSED] 7 VFs
[16:45:50] [PASSED] 8 VFs
[16:45:50] [PASSED] 9 VFs
[16:45:50] [PASSED] 10 VFs
[16:45:50] [PASSED] 11 VFs
[16:45:50] [PASSED] 12 VFs
[16:45:50] [PASSED] 13 VFs
[16:45:50] [PASSED] 14 VFs
[16:45:50] [PASSED] 15 VFs
[16:45:50] [PASSED] 16 VFs
[16:45:50] [PASSED] 17 VFs
[16:45:50] [PASSED] 18 VFs
[16:45:50] [PASSED] 19 VFs
[16:45:50] [PASSED] 20 VFs
[16:45:50] [PASSED] 21 VFs
[16:45:50] [PASSED] 22 VFs
[16:45:50] [PASSED] 23 VFs
[16:45:50] [PASSED] 24 VFs
[16:45:50] [PASSED] 25 VFs
[16:45:50] [PASSED] 26 VFs
[16:45:50] [PASSED] 27 VFs
[16:45:50] [PASSED] 28 VFs
[16:45:50] [PASSED] 29 VFs
[16:45:50] [PASSED] 30 VFs
[16:45:50] [PASSED] 31 VFs
[16:45:50] [PASSED] 32 VFs
[16:45:50] [PASSED] 33 VFs
[16:45:50] [PASSED] 34 VFs
[16:45:50] [PASSED] 35 VFs
[16:45:50] [PASSED] 36 VFs
[16:45:50] [PASSED] 37 VFs
[16:45:50] [PASSED] 38 VFs
[16:45:50] [PASSED] 39 VFs
[16:45:50] [PASSED] 40 VFs
[16:45:50] [PASSED] 41 VFs
[16:45:50] [PASSED] 42 VFs
[16:45:50] [PASSED] 43 VFs
[16:45:50] [PASSED] 44 VFs
[16:45:50] [PASSED] 45 VFs
[16:45:50] [PASSED] 46 VFs
[16:45:50] [PASSED] 47 VFs
[16:45:50] [PASSED] 48 VFs
[16:45:50] [PASSED] 49 VFs
[16:45:50] [PASSED] 50 VFs
[16:45:50] [PASSED] 51 VFs
[16:45:50] [PASSED] 52 VFs
[16:45:50] [PASSED] 53 VFs
[16:45:50] [PASSED] 54 VFs
[16:45:50] [PASSED] 55 VFs
[16:45:50] [PASSED] 56 VFs
[16:45:50] [PASSED] 57 VFs
[16:45:50] [PASSED] 58 VFs
[16:45:50] [PASSED] 59 VFs
[16:45:50] [PASSED] 60 VFs
[16:45:50] [PASSED] 61 VFs
[16:45:50] [PASSED] 62 VFs
[16:45:50] [PASSED] 63 VFs
[16:45:50] ==================== [PASSED] fair_ggtt ====================
[16:45:50] ================== [PASSED] pf_gt_config ===================
[16:45:50] ===================== lmtt (1 subtest) =====================
[16:45:50] ======================== test_ops =========================
[16:45:50] [PASSED] 2-level
[16:45:50] [PASSED] multi-level
[16:45:50] ==================== [PASSED] test_ops =====================
[16:45:50] ====================== [PASSED] lmtt =======================
[16:45:50] ================= pf_service (11 subtests) =================
[16:45:50] [PASSED] pf_negotiate_any
[16:45:50] [PASSED] pf_negotiate_base_match
[16:45:50] [PASSED] pf_negotiate_base_newer
[16:45:50] [PASSED] pf_negotiate_base_next
[16:45:50] [SKIPPED] pf_negotiate_base_older
[16:45:50] [PASSED] pf_negotiate_base_prev
[16:45:50] [PASSED] pf_negotiate_latest_match
[16:45:50] [PASSED] pf_negotiate_latest_newer
[16:45:50] [PASSED] pf_negotiate_latest_next
[16:45:50] [SKIPPED] pf_negotiate_latest_older
[16:45:50] [SKIPPED] pf_negotiate_latest_prev
[16:45:50] =================== [PASSED] pf_service ====================
[16:45:50] ================= xe_guc_g2g (2 subtests) ==================
[16:45:50] ============== xe_live_guc_g2g_kunit_default ==============
[16:45:50] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[16:45:50] ============== xe_live_guc_g2g_kunit_allmem ===============
[16:45:50] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[16:45:50] =================== [SKIPPED] xe_guc_g2g ===================
[16:45:50] =================== xe_mocs (2 subtests) ===================
[16:45:50] ================ xe_live_mocs_kernel_kunit ================
[16:45:50] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[16:45:50] ================ xe_live_mocs_reset_kunit =================
[16:45:50] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[16:45:50] ==================== [SKIPPED] xe_mocs =====================
[16:45:50] ================= xe_migrate (2 subtests) ==================
[16:45:50] ================= xe_migrate_sanity_kunit =================
[16:45:50] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[16:45:50] ================== xe_validate_ccs_kunit ==================
[16:45:50] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[16:45:50] =================== [SKIPPED] xe_migrate ===================
[16:45:50] ================== xe_dma_buf (1 subtest) ==================
[16:45:50] ==================== xe_dma_buf_kunit =====================
[16:45:50] ================ [SKIPPED] xe_dma_buf_kunit ================
[16:45:50] =================== [SKIPPED] xe_dma_buf ===================
[16:45:50] ================= xe_bo_shrink (1 subtest) =================
[16:45:50] =================== xe_bo_shrink_kunit ====================
[16:45:50] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[16:45:50] ================== [SKIPPED] xe_bo_shrink ==================
[16:45:50] ==================== xe_bo (2 subtests) ====================
[16:45:50] ================== xe_ccs_migrate_kunit ===================
[16:45:50] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[16:45:50] ==================== xe_bo_evict_kunit ====================
[16:45:50] =============== [SKIPPED] xe_bo_evict_kunit ================
[16:45:50] ===================== [SKIPPED] xe_bo ======================
[16:45:50] ==================== args (11 subtests) ====================
[16:45:50] [PASSED] count_args_test
[16:45:50] [PASSED] call_args_example
[16:45:50] [PASSED] call_args_test
[16:45:50] [PASSED] drop_first_arg_example
[16:45:50] [PASSED] drop_first_arg_test
[16:45:50] [PASSED] first_arg_example
[16:45:50] [PASSED] first_arg_test
[16:45:50] [PASSED] last_arg_example
[16:45:50] [PASSED] last_arg_test
[16:45:50] [PASSED] pick_arg_example
[16:45:50] [PASSED] sep_comma_example
[16:45:50] ====================== [PASSED] args =======================
[16:45:50] =================== xe_pci (3 subtests) ====================
[16:45:50] ==================== check_graphics_ip ====================
[16:45:50] [PASSED] 12.00 Xe_LP
[16:45:50] [PASSED] 12.10 Xe_LP+
[16:45:50] [PASSED] 12.55 Xe_HPG
[16:45:50] [PASSED] 12.60 Xe_HPC
[16:45:50] [PASSED] 12.70 Xe_LPG
[16:45:50] [PASSED] 12.71 Xe_LPG
[16:45:50] [PASSED] 12.74 Xe_LPG+
[16:45:50] [PASSED] 20.01 Xe2_HPG
[16:45:50] [PASSED] 20.02 Xe2_HPG
[16:45:50] [PASSED] 20.04 Xe2_LPG
[16:45:50] [PASSED] 30.00 Xe3_LPG
[16:45:50] [PASSED] 30.01 Xe3_LPG
[16:45:50] [PASSED] 30.03 Xe3_LPG
[16:45:50] [PASSED] 30.04 Xe3_LPG
[16:45:50] [PASSED] 30.05 Xe3_LPG
[16:45:50] [PASSED] 35.11 Xe3p_XPC
[16:45:50] ================ [PASSED] check_graphics_ip ================
[16:45:50] ===================== check_media_ip ======================
[16:45:50] [PASSED] 12.00 Xe_M
[16:45:50] [PASSED] 12.55 Xe_HPM
[16:45:50] [PASSED] 13.00 Xe_LPM+
[16:45:50] [PASSED] 13.01 Xe2_HPM
[16:45:50] [PASSED] 20.00 Xe2_LPM
[16:45:50] [PASSED] 30.00 Xe3_LPM
[16:45:50] [PASSED] 30.02 Xe3_LPM
[16:45:50] [PASSED] 35.00 Xe3p_LPM
[16:45:50] [PASSED] 35.03 Xe3p_HPM
[16:45:50] ================= [PASSED] check_media_ip ==================
[16:45:50] =================== check_platform_desc ===================
[16:45:50] [PASSED] 0x9A60 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A68 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A70 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A40 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A49 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A59 (TIGERLAKE)
[16:45:50] [PASSED] 0x9A78 (TIGERLAKE)
[16:45:50] [PASSED] 0x9AC0 (TIGERLAKE)
[16:45:50] [PASSED] 0x9AC9 (TIGERLAKE)
[16:45:50] [PASSED] 0x9AD9 (TIGERLAKE)
[16:45:50] [PASSED] 0x9AF8 (TIGERLAKE)
[16:45:50] [PASSED] 0x4C80 (ROCKETLAKE)
[16:45:50] [PASSED] 0x4C8A (ROCKETLAKE)
[16:45:50] [PASSED] 0x4C8B (ROCKETLAKE)
[16:45:50] [PASSED] 0x4C8C (ROCKETLAKE)
[16:45:50] [PASSED] 0x4C90 (ROCKETLAKE)
[16:45:50] [PASSED] 0x4C9A (ROCKETLAKE)
[16:45:50] [PASSED] 0x4680 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4682 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4688 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x468A (ALDERLAKE_S)
[16:45:50] [PASSED] 0x468B (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4690 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4692 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4693 (ALDERLAKE_S)
[16:45:50] [PASSED] 0x46A0 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46A1 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46A2 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46A3 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46A6 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46A8 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46AA (ALDERLAKE_P)
[16:45:50] [PASSED] 0x462A (ALDERLAKE_P)
[16:45:50] [PASSED] 0x4626 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x4628 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46B0 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[16:45:50] [PASSED] 0x46B1 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46B2 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46B3 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46C0 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46C1 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46C2 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46C3 (ALDERLAKE_P)
[16:45:50] [PASSED] 0x46D0 (ALDERLAKE_N)
[16:45:50] [PASSED] 0x46D1 (ALDERLAKE_N)
[16:45:50] [PASSED] 0x46D2 (ALDERLAKE_N)
[16:45:50] [PASSED] 0x46D3 (ALDERLAKE_N)
[16:45:50] [PASSED] 0x46D4 (ALDERLAKE_N)
[16:45:50] [PASSED] 0xA721 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7A1 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7A9 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7AC (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7AD (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA720 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7A0 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7A8 (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7AA (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA7AB (ALDERLAKE_P)
[16:45:50] [PASSED] 0xA780 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA781 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA782 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA783 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA788 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA789 (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA78A (ALDERLAKE_S)
[16:45:50] [PASSED] 0xA78B (ALDERLAKE_S)
[16:45:50] [PASSED] 0x4905 (DG1)
[16:45:50] [PASSED] 0x4906 (DG1)
[16:45:50] [PASSED] 0x4907 (DG1)
[16:45:50] [PASSED] 0x4908 (DG1)
[16:45:50] [PASSED] 0x4909 (DG1)
[16:45:50] [PASSED] 0x56C0 (DG2)
[16:45:50] [PASSED] 0x56C2 (DG2)
[16:45:50] [PASSED] 0x56C1 (DG2)
[16:45:50] [PASSED] 0x7D51 (METEORLAKE)
[16:45:50] [PASSED] 0x7DD1 (METEORLAKE)
[16:45:50] [PASSED] 0x7D41 (METEORLAKE)
[16:45:50] [PASSED] 0x7D67 (METEORLAKE)
[16:45:50] [PASSED] 0xB640 (METEORLAKE)
[16:45:50] [PASSED] 0x56A0 (DG2)
[16:45:50] [PASSED] 0x56A1 (DG2)
[16:45:50] [PASSED] 0x56A2 (DG2)
[16:45:50] [PASSED] 0x56BE (DG2)
[16:45:50] [PASSED] 0x56BF (DG2)
[16:45:50] [PASSED] 0x5690 (DG2)
[16:45:50] [PASSED] 0x5691 (DG2)
[16:45:50] [PASSED] 0x5692 (DG2)
[16:45:50] [PASSED] 0x56A5 (DG2)
[16:45:50] [PASSED] 0x56A6 (DG2)
[16:45:50] [PASSED] 0x56B0 (DG2)
[16:45:50] [PASSED] 0x56B1 (DG2)
[16:45:50] [PASSED] 0x56BA (DG2)
[16:45:50] [PASSED] 0x56BB (DG2)
[16:45:50] [PASSED] 0x56BC (DG2)
[16:45:50] [PASSED] 0x56BD (DG2)
[16:45:50] [PASSED] 0x5693 (DG2)
[16:45:50] [PASSED] 0x5694 (DG2)
[16:45:50] [PASSED] 0x5695 (DG2)
[16:45:50] [PASSED] 0x56A3 (DG2)
[16:45:50] [PASSED] 0x56A4 (DG2)
[16:45:50] [PASSED] 0x56B2 (DG2)
[16:45:50] [PASSED] 0x56B3 (DG2)
[16:45:50] [PASSED] 0x5696 (DG2)
[16:45:50] [PASSED] 0x5697 (DG2)
[16:45:50] [PASSED] 0xB69 (PVC)
[16:45:50] [PASSED] 0xB6E (PVC)
[16:45:50] [PASSED] 0xBD4 (PVC)
[16:45:50] [PASSED] 0xBD5 (PVC)
[16:45:50] [PASSED] 0xBD6 (PVC)
[16:45:50] [PASSED] 0xBD7 (PVC)
[16:45:50] [PASSED] 0xBD8 (PVC)
[16:45:50] [PASSED] 0xBD9 (PVC)
[16:45:50] [PASSED] 0xBDA (PVC)
[16:45:50] [PASSED] 0xBDB (PVC)
[16:45:50] [PASSED] 0xBE0 (PVC)
[16:45:50] [PASSED] 0xBE1 (PVC)
[16:45:50] [PASSED] 0xBE5 (PVC)
[16:45:50] [PASSED] 0x7D40 (METEORLAKE)
[16:45:50] [PASSED] 0x7D45 (METEORLAKE)
[16:45:50] [PASSED] 0x7D55 (METEORLAKE)
[16:45:50] [PASSED] 0x7D60 (METEORLAKE)
[16:45:50] [PASSED] 0x7DD5 (METEORLAKE)
[16:45:50] [PASSED] 0x6420 (LUNARLAKE)
[16:45:50] [PASSED] 0x64A0 (LUNARLAKE)
[16:45:50] [PASSED] 0x64B0 (LUNARLAKE)
[16:45:50] [PASSED] 0xE202 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE209 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE20B (BATTLEMAGE)
[16:45:50] [PASSED] 0xE20C (BATTLEMAGE)
[16:45:50] [PASSED] 0xE20D (BATTLEMAGE)
[16:45:50] [PASSED] 0xE210 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE211 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE212 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE216 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE220 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE221 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE222 (BATTLEMAGE)
[16:45:50] [PASSED] 0xE223 (BATTLEMAGE)
[16:45:50] [PASSED] 0xB080 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB081 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB082 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB083 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB084 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB085 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB086 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB087 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB08F (PANTHERLAKE)
[16:45:50] [PASSED] 0xB090 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB0A0 (PANTHERLAKE)
[16:45:50] [PASSED] 0xB0B0 (PANTHERLAKE)
[16:45:50] [PASSED] 0xD740 (NOVALAKE_S)
[16:45:50] [PASSED] 0xD741 (NOVALAKE_S)
[16:45:50] [PASSED] 0xD742 (NOVALAKE_S)
[16:45:50] [PASSED] 0xD743 (NOVALAKE_S)
[16:45:50] [PASSED] 0xD744 (NOVALAKE_S)
[16:45:50] [PASSED] 0xD745 (NOVALAKE_S)
[16:45:50] [PASSED] 0x674C (CRESCENTISLAND)
[16:45:50] [PASSED] 0xFD80 (PANTHERLAKE)
[16:45:50] [PASSED] 0xFD81 (PANTHERLAKE)
[16:45:50] =============== [PASSED] check_platform_desc ===============
[16:45:50] ===================== [PASSED] xe_pci ======================
[16:45:50] =================== xe_rtp (2 subtests) ====================
[16:45:50] =============== xe_rtp_process_to_sr_tests ================
[16:45:50] [PASSED] coalesce-same-reg
[16:45:50] [PASSED] no-match-no-add
[16:45:50] [PASSED] match-or
[16:45:50] [PASSED] match-or-xfail
[16:45:50] [PASSED] no-match-no-add-multiple-rules
[16:45:50] [PASSED] two-regs-two-entries
[16:45:50] [PASSED] clr-one-set-other
[16:45:50] [PASSED] set-field
[16:45:50] [PASSED] conflict-duplicate
[16:45:50] [PASSED] conflict-not-disjoint
[16:45:50] [PASSED] conflict-reg-type
[16:45:50] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[16:45:50] ================== xe_rtp_process_tests ===================
[16:45:50] [PASSED] active1
[16:45:50] [PASSED] active2
[16:45:50] [PASSED] active-inactive
[16:45:50] [PASSED] inactive-active
[16:45:50] [PASSED] inactive-1st_or_active-inactive
[16:45:50] [PASSED] inactive-2nd_or_active-inactive
[16:45:50] [PASSED] inactive-last_or_active-inactive
[16:45:50] [PASSED] inactive-no_or_active-inactive
[16:45:50] ============== [PASSED] xe_rtp_process_tests ===============
[16:45:50] ===================== [PASSED] xe_rtp ======================
[16:45:50] ==================== xe_wa (1 subtest) =====================
[16:45:50] ======================== xe_wa_gt =========================
[16:45:50] [PASSED] TIGERLAKE B0
[16:45:50] [PASSED] DG1 A0
[16:45:50] [PASSED] DG1 B0
[16:45:50] [PASSED] ALDERLAKE_S A0
[16:45:50] [PASSED] ALDERLAKE_S B0
[16:45:50] [PASSED] ALDERLAKE_S C0
[16:45:50] [PASSED] ALDERLAKE_S D0
[16:45:50] [PASSED] ALDERLAKE_P A0
[16:45:50] [PASSED] ALDERLAKE_P B0
[16:45:50] [PASSED] ALDERLAKE_P C0
[16:45:50] [PASSED] ALDERLAKE_S RPLS D0
[16:45:50] [PASSED] ALDERLAKE_P RPLU E0
[16:45:50] [PASSED] DG2 G10 C0
[16:45:50] [PASSED] DG2 G11 B1
[16:45:50] [PASSED] DG2 G12 A1
[16:45:50] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[16:45:50] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[16:45:50] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[16:45:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[16:45:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[16:45:50] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[16:45:50] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[16:45:50] ==================== [PASSED] xe_wa_gt =====================
[16:45:50] ====================== [PASSED] xe_wa ======================
[16:45:50] ============================================================
[16:45:50] Testing complete. Ran 510 tests: passed: 492, skipped: 18
[16:45:50] Elapsed time: 34.989s total, 4.239s configuring, 30.284s building, 0.460s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[16:45:50] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:45:52] 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
[16:46:17] Starting KUnit Kernel (1/1)...
[16:46:17] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:46:17] ============ drm_test_pick_cmdline (2 subtests) ============
[16:46:17] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[16:46:17] =============== drm_test_pick_cmdline_named ===============
[16:46:17] [PASSED] NTSC
[16:46:17] [PASSED] NTSC-J
[16:46:17] [PASSED] PAL
[16:46:17] [PASSED] PAL-M
[16:46:17] =========== [PASSED] drm_test_pick_cmdline_named ===========
[16:46:17] ============== [PASSED] drm_test_pick_cmdline ==============
[16:46:17] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[16:46:17] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[16:46:17] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[16:46:17] =========== drm_validate_clone_mode (2 subtests) ===========
[16:46:17] ============== drm_test_check_in_clone_mode ===============
[16:46:17] [PASSED] in_clone_mode
[16:46:17] [PASSED] not_in_clone_mode
[16:46:17] ========== [PASSED] drm_test_check_in_clone_mode ===========
[16:46:17] =============== drm_test_check_valid_clones ===============
[16:46:17] [PASSED] not_in_clone_mode
[16:46:17] [PASSED] valid_clone
[16:46:17] [PASSED] invalid_clone
[16:46:17] =========== [PASSED] drm_test_check_valid_clones ===========
[16:46:17] ============= [PASSED] drm_validate_clone_mode =============
[16:46:17] ============= drm_validate_modeset (1 subtest) =============
[16:46:17] [PASSED] drm_test_check_connector_changed_modeset
[16:46:17] ============== [PASSED] drm_validate_modeset ===============
[16:46:17] ====== drm_test_bridge_get_current_state (2 subtests) ======
[16:46:17] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[16:46:17] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[16:46:17] ======== [PASSED] drm_test_bridge_get_current_state ========
[16:46:17] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[16:46:17] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[16:46:17] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[16:46:17] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[16:46:17] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[16:46:17] ============== drm_bridge_alloc (2 subtests) ===============
[16:46:17] [PASSED] drm_test_drm_bridge_alloc_basic
[16:46:17] [PASSED] drm_test_drm_bridge_alloc_get_put
[16:46:17] ================ [PASSED] drm_bridge_alloc =================
[16:46:17] ================== drm_buddy (8 subtests) ==================
[16:46:17] [PASSED] drm_test_buddy_alloc_limit
[16:46:17] [PASSED] drm_test_buddy_alloc_optimistic
[16:46:17] [PASSED] drm_test_buddy_alloc_pessimistic
[16:46:17] [PASSED] drm_test_buddy_alloc_pathological
[16:46:17] [PASSED] drm_test_buddy_alloc_contiguous
[16:46:17] [PASSED] drm_test_buddy_alloc_clear
[16:46:17] [PASSED] drm_test_buddy_alloc_range_bias
[16:46:17] [PASSED] drm_test_buddy_fragmentation_performance
[16:46:17] ==================== [PASSED] drm_buddy ====================
[16:46:17] ============= drm_cmdline_parser (40 subtests) =============
[16:46:17] [PASSED] drm_test_cmdline_force_d_only
[16:46:17] [PASSED] drm_test_cmdline_force_D_only_dvi
[16:46:17] [PASSED] drm_test_cmdline_force_D_only_hdmi
[16:46:17] [PASSED] drm_test_cmdline_force_D_only_not_digital
[16:46:17] [PASSED] drm_test_cmdline_force_e_only
[16:46:17] [PASSED] drm_test_cmdline_res
[16:46:17] [PASSED] drm_test_cmdline_res_vesa
[16:46:17] [PASSED] drm_test_cmdline_res_vesa_rblank
[16:46:17] [PASSED] drm_test_cmdline_res_rblank
[16:46:17] [PASSED] drm_test_cmdline_res_bpp
[16:46:17] [PASSED] drm_test_cmdline_res_refresh
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[16:46:17] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[16:46:17] [PASSED] drm_test_cmdline_res_margins_force_on
[16:46:17] [PASSED] drm_test_cmdline_res_vesa_margins
[16:46:17] [PASSED] drm_test_cmdline_name
[16:46:17] [PASSED] drm_test_cmdline_name_bpp
[16:46:17] [PASSED] drm_test_cmdline_name_option
[16:46:17] [PASSED] drm_test_cmdline_name_bpp_option
[16:46:17] [PASSED] drm_test_cmdline_rotate_0
[16:46:17] [PASSED] drm_test_cmdline_rotate_90
[16:46:17] [PASSED] drm_test_cmdline_rotate_180
[16:46:17] [PASSED] drm_test_cmdline_rotate_270
[16:46:17] [PASSED] drm_test_cmdline_hmirror
[16:46:17] [PASSED] drm_test_cmdline_vmirror
[16:46:17] [PASSED] drm_test_cmdline_margin_options
[16:46:17] [PASSED] drm_test_cmdline_multiple_options
[16:46:17] [PASSED] drm_test_cmdline_bpp_extra_and_option
[16:46:17] [PASSED] drm_test_cmdline_extra_and_option
[16:46:17] [PASSED] drm_test_cmdline_freestanding_options
[16:46:17] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[16:46:17] [PASSED] drm_test_cmdline_panel_orientation
[16:46:17] ================ drm_test_cmdline_invalid =================
[16:46:17] [PASSED] margin_only
[16:46:17] [PASSED] interlace_only
[16:46:17] [PASSED] res_missing_x
[16:46:17] [PASSED] res_missing_y
[16:46:17] [PASSED] res_bad_y
[16:46:17] [PASSED] res_missing_y_bpp
[16:46:17] [PASSED] res_bad_bpp
[16:46:17] [PASSED] res_bad_refresh
[16:46:17] [PASSED] res_bpp_refresh_force_on_off
[16:46:17] [PASSED] res_invalid_mode
[16:46:17] [PASSED] res_bpp_wrong_place_mode
[16:46:17] [PASSED] name_bpp_refresh
[16:46:17] [PASSED] name_refresh
[16:46:17] [PASSED] name_refresh_wrong_mode
[16:46:17] [PASSED] name_refresh_invalid_mode
[16:46:17] [PASSED] rotate_multiple
[16:46:17] [PASSED] rotate_invalid_val
[16:46:17] [PASSED] rotate_truncated
[16:46:17] [PASSED] invalid_option
[16:46:17] [PASSED] invalid_tv_option
[16:46:17] [PASSED] truncated_tv_option
[16:46:17] ============ [PASSED] drm_test_cmdline_invalid =============
[16:46:17] =============== drm_test_cmdline_tv_options ===============
[16:46:17] [PASSED] NTSC
[16:46:17] [PASSED] NTSC_443
[16:46:17] [PASSED] NTSC_J
[16:46:17] [PASSED] PAL
[16:46:17] [PASSED] PAL_M
[16:46:17] [PASSED] PAL_N
[16:46:17] [PASSED] SECAM
[16:46:17] [PASSED] MONO_525
[16:46:17] [PASSED] MONO_625
[16:46:17] =========== [PASSED] drm_test_cmdline_tv_options ===========
[16:46:17] =============== [PASSED] drm_cmdline_parser ================
[16:46:17] ========== drmm_connector_hdmi_init (20 subtests) ==========
[16:46:17] [PASSED] drm_test_connector_hdmi_init_valid
[16:46:17] [PASSED] drm_test_connector_hdmi_init_bpc_8
[16:46:17] [PASSED] drm_test_connector_hdmi_init_bpc_10
[16:46:17] [PASSED] drm_test_connector_hdmi_init_bpc_12
[16:46:17] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[16:46:17] [PASSED] drm_test_connector_hdmi_init_bpc_null
[16:46:17] [PASSED] drm_test_connector_hdmi_init_formats_empty
[16:46:17] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[16:46:17] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[16:46:17] [PASSED] supported_formats=0x9 yuv420_allowed=1
[16:46:17] [PASSED] supported_formats=0x9 yuv420_allowed=0
[16:46:17] [PASSED] supported_formats=0x3 yuv420_allowed=1
[16:46:17] [PASSED] supported_formats=0x3 yuv420_allowed=0
[16:46:17] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[16:46:17] [PASSED] drm_test_connector_hdmi_init_null_ddc
[16:46:17] [PASSED] drm_test_connector_hdmi_init_null_product
[16:46:17] [PASSED] drm_test_connector_hdmi_init_null_vendor
[16:46:17] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[16:46:17] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[16:46:17] [PASSED] drm_test_connector_hdmi_init_product_valid
[16:46:17] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[16:46:17] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[16:46:17] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[16:46:17] ========= drm_test_connector_hdmi_init_type_valid =========
[16:46:17] [PASSED] HDMI-A
[16:46:17] [PASSED] HDMI-B
[16:46:17] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[16:46:17] ======== drm_test_connector_hdmi_init_type_invalid ========
[16:46:17] [PASSED] Unknown
[16:46:17] [PASSED] VGA
[16:46:17] [PASSED] DVI-I
[16:46:17] [PASSED] DVI-D
[16:46:17] [PASSED] DVI-A
[16:46:17] [PASSED] Composite
[16:46:17] [PASSED] SVIDEO
[16:46:17] [PASSED] LVDS
[16:46:17] [PASSED] Component
[16:46:17] [PASSED] DIN
[16:46:17] [PASSED] DP
[16:46:17] [PASSED] TV
[16:46:17] [PASSED] eDP
[16:46:17] [PASSED] Virtual
[16:46:17] [PASSED] DSI
[16:46:17] [PASSED] DPI
[16:46:17] [PASSED] Writeback
[16:46:17] [PASSED] SPI
[16:46:17] [PASSED] USB
[16:46:17] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[16:46:17] ============ [PASSED] drmm_connector_hdmi_init =============
[16:46:17] ============= drmm_connector_init (3 subtests) =============
[16:46:17] [PASSED] drm_test_drmm_connector_init
[16:46:17] [PASSED] drm_test_drmm_connector_init_null_ddc
[16:46:17] ========= drm_test_drmm_connector_init_type_valid =========
[16:46:17] [PASSED] Unknown
[16:46:17] [PASSED] VGA
[16:46:17] [PASSED] DVI-I
[16:46:17] [PASSED] DVI-D
[16:46:17] [PASSED] DVI-A
[16:46:17] [PASSED] Composite
[16:46:17] [PASSED] SVIDEO
[16:46:17] [PASSED] LVDS
[16:46:17] [PASSED] Component
[16:46:17] [PASSED] DIN
[16:46:17] [PASSED] DP
[16:46:17] [PASSED] HDMI-A
[16:46:17] [PASSED] HDMI-B
[16:46:17] [PASSED] TV
[16:46:17] [PASSED] eDP
[16:46:17] [PASSED] Virtual
[16:46:17] [PASSED] DSI
[16:46:17] [PASSED] DPI
[16:46:17] [PASSED] Writeback
[16:46:17] [PASSED] SPI
[16:46:17] [PASSED] USB
[16:46:17] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[16:46:17] =============== [PASSED] drmm_connector_init ===============
[16:46:17] ========= drm_connector_dynamic_init (6 subtests) ==========
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_init
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_init_properties
[16:46:17] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[16:46:17] [PASSED] Unknown
[16:46:17] [PASSED] VGA
[16:46:17] [PASSED] DVI-I
[16:46:17] [PASSED] DVI-D
[16:46:17] [PASSED] DVI-A
[16:46:17] [PASSED] Composite
[16:46:17] [PASSED] SVIDEO
[16:46:17] [PASSED] LVDS
[16:46:17] [PASSED] Component
[16:46:17] [PASSED] DIN
[16:46:17] [PASSED] DP
[16:46:17] [PASSED] HDMI-A
[16:46:17] [PASSED] HDMI-B
[16:46:17] [PASSED] TV
[16:46:17] [PASSED] eDP
[16:46:17] [PASSED] Virtual
[16:46:17] [PASSED] DSI
[16:46:17] [PASSED] DPI
[16:46:17] [PASSED] Writeback
[16:46:17] [PASSED] SPI
[16:46:17] [PASSED] USB
[16:46:17] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[16:46:17] ======== drm_test_drm_connector_dynamic_init_name =========
[16:46:17] [PASSED] Unknown
[16:46:17] [PASSED] VGA
[16:46:17] [PASSED] DVI-I
[16:46:17] [PASSED] DVI-D
[16:46:17] [PASSED] DVI-A
[16:46:17] [PASSED] Composite
[16:46:17] [PASSED] SVIDEO
[16:46:17] [PASSED] LVDS
[16:46:17] [PASSED] Component
[16:46:17] [PASSED] DIN
[16:46:17] [PASSED] DP
[16:46:17] [PASSED] HDMI-A
[16:46:17] [PASSED] HDMI-B
[16:46:17] [PASSED] TV
[16:46:17] [PASSED] eDP
[16:46:17] [PASSED] Virtual
[16:46:17] [PASSED] DSI
[16:46:17] [PASSED] DPI
[16:46:17] [PASSED] Writeback
[16:46:17] [PASSED] SPI
[16:46:17] [PASSED] USB
[16:46:17] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[16:46:17] =========== [PASSED] drm_connector_dynamic_init ============
[16:46:17] ==== drm_connector_dynamic_register_early (4 subtests) =====
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[16:46:17] ====== [PASSED] drm_connector_dynamic_register_early =======
[16:46:17] ======= drm_connector_dynamic_register (7 subtests) ========
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[16:46:17] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[16:46:17] ========= [PASSED] drm_connector_dynamic_register ==========
[16:46:17] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[16:46:17] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[16:46:17] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[16:46:17] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[16:46:17] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[16:46:17] ========== drm_test_get_tv_mode_from_name_valid ===========
[16:46:17] [PASSED] NTSC
[16:46:17] [PASSED] NTSC-443
[16:46:17] [PASSED] NTSC-J
[16:46:17] [PASSED] PAL
[16:46:17] [PASSED] PAL-M
[16:46:17] [PASSED] PAL-N
[16:46:17] [PASSED] SECAM
[16:46:17] [PASSED] Mono
[16:46:17] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[16:46:17] [PASSED] drm_test_get_tv_mode_from_name_truncated
[16:46:17] ============ [PASSED] drm_get_tv_mode_from_name ============
[16:46:17] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[16:46:17] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[16:46:17] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[16:46:17] [PASSED] VIC 96
[16:46:17] [PASSED] VIC 97
[16:46:17] [PASSED] VIC 101
[16:46:17] [PASSED] VIC 102
[16:46:17] [PASSED] VIC 106
[16:46:17] [PASSED] VIC 107
[16:46:17] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[16:46:17] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[16:46:17] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[16:46:17] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[16:46:17] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[16:46:17] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[16:46:17] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[16:46:17] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[16:46:17] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[16:46:17] [PASSED] Automatic
[16:46:17] [PASSED] Full
[16:46:17] [PASSED] Limited 16:235
[16:46:17] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[16:46:17] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[16:46:17] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[16:46:17] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[16:46:17] === drm_test_drm_hdmi_connector_get_output_format_name ====
[16:46:17] [PASSED] RGB
[16:46:17] [PASSED] YUV 4:2:0
[16:46:17] [PASSED] YUV 4:2:2
[16:46:17] [PASSED] YUV 4:4:4
[16:46:17] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[16:46:17] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[16:46:17] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[16:46:17] ============= drm_damage_helper (21 subtests) ==============
[16:46:17] [PASSED] drm_test_damage_iter_no_damage
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_src_moved
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_not_visible
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[16:46:17] [PASSED] drm_test_damage_iter_no_damage_no_fb
[16:46:17] [PASSED] drm_test_damage_iter_simple_damage
[16:46:17] [PASSED] drm_test_damage_iter_single_damage
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_outside_src
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_src_moved
[16:46:17] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[16:46:17] [PASSED] drm_test_damage_iter_damage
[16:46:17] [PASSED] drm_test_damage_iter_damage_one_intersect
[16:46:17] [PASSED] drm_test_damage_iter_damage_one_outside
[16:46:17] [PASSED] drm_test_damage_iter_damage_src_moved
[16:46:17] [PASSED] drm_test_damage_iter_damage_not_visible
[16:46:17] ================ [PASSED] drm_damage_helper ================
[16:46:17] ============== drm_dp_mst_helper (3 subtests) ==============
[16:46:17] ============== drm_test_dp_mst_calc_pbn_mode ==============
[16:46:17] [PASSED] Clock 154000 BPP 30 DSC disabled
[16:46:17] [PASSED] Clock 234000 BPP 30 DSC disabled
[16:46:17] [PASSED] Clock 297000 BPP 24 DSC disabled
[16:46:17] [PASSED] Clock 332880 BPP 24 DSC enabled
[16:46:17] [PASSED] Clock 324540 BPP 24 DSC enabled
[16:46:17] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[16:46:17] ============== drm_test_dp_mst_calc_pbn_div ===============
[16:46:17] [PASSED] Link rate 2000000 lane count 4
[16:46:17] [PASSED] Link rate 2000000 lane count 2
[16:46:17] [PASSED] Link rate 2000000 lane count 1
[16:46:17] [PASSED] Link rate 1350000 lane count 4
[16:46:17] [PASSED] Link rate 1350000 lane count 2
[16:46:17] [PASSED] Link rate 1350000 lane count 1
[16:46:17] [PASSED] Link rate 1000000 lane count 4
[16:46:17] [PASSED] Link rate 1000000 lane count 2
[16:46:17] [PASSED] Link rate 1000000 lane count 1
[16:46:17] [PASSED] Link rate 810000 lane count 4
[16:46:17] [PASSED] Link rate 810000 lane count 2
[16:46:17] [PASSED] Link rate 810000 lane count 1
[16:46:17] [PASSED] Link rate 540000 lane count 4
[16:46:17] [PASSED] Link rate 540000 lane count 2
[16:46:17] [PASSED] Link rate 540000 lane count 1
[16:46:17] [PASSED] Link rate 270000 lane count 4
[16:46:17] [PASSED] Link rate 270000 lane count 2
[16:46:17] [PASSED] Link rate 270000 lane count 1
[16:46:17] [PASSED] Link rate 162000 lane count 4
[16:46:17] [PASSED] Link rate 162000 lane count 2
[16:46:17] [PASSED] Link rate 162000 lane count 1
[16:46:17] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[16:46:17] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[16:46:17] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[16:46:17] [PASSED] DP_POWER_UP_PHY with port number
[16:46:17] [PASSED] DP_POWER_DOWN_PHY with port number
[16:46:17] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[16:46:17] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[16:46:17] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[16:46:17] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[16:46:17] [PASSED] DP_QUERY_PAYLOAD with port number
[16:46:17] [PASSED] DP_QUERY_PAYLOAD with VCPI
[16:46:17] [PASSED] DP_REMOTE_DPCD_READ with port number
[16:46:17] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[16:46:17] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[16:46:17] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[16:46:17] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[16:46:17] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[16:46:17] [PASSED] DP_REMOTE_I2C_READ with port number
[16:46:17] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[16:46:17] [PASSED] DP_REMOTE_I2C_READ with transactions array
[16:46:17] [PASSED] DP_REMOTE_I2C_WRITE with port number
[16:46:17] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[16:46:17] [PASSED] DP_REMOTE_I2C_WRITE with data array
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[16:46:17] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[16:46:17] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[16:46:17] ================ [PASSED] drm_dp_mst_helper ================
[16:46:17] ================== drm_exec (7 subtests) ===================
[16:46:17] [PASSED] sanitycheck
[16:46:17] [PASSED] test_lock
[16:46:17] [PASSED] test_lock_unlock
[16:46:17] [PASSED] test_duplicates
[16:46:17] [PASSED] test_prepare
[16:46:17] [PASSED] test_prepare_array
[16:46:17] [PASSED] test_multiple_loops
[16:46:17] ==================== [PASSED] drm_exec =====================
[16:46:17] =========== drm_format_helper_test (17 subtests) ===========
[16:46:17] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[16:46:17] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[16:46:17] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[16:46:17] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[16:46:17] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[16:46:17] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[16:46:17] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[16:46:17] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[16:46:17] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[16:46:17] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[16:46:17] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[16:46:17] ============== drm_test_fb_xrgb8888_to_mono ===============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[16:46:17] ==================== drm_test_fb_swab =====================
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ================ [PASSED] drm_test_fb_swab =================
[16:46:17] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[16:46:17] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[16:46:17] [PASSED] single_pixel_source_buffer
[16:46:17] [PASSED] single_pixel_clip_rectangle
[16:46:17] [PASSED] well_known_colors
[16:46:17] [PASSED] destination_pitch
[16:46:17] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[16:46:17] ================= drm_test_fb_clip_offset =================
[16:46:17] [PASSED] pass through
[16:46:17] [PASSED] horizontal offset
[16:46:17] [PASSED] vertical offset
[16:46:17] [PASSED] horizontal and vertical offset
[16:46:17] [PASSED] horizontal offset (custom pitch)
[16:46:17] [PASSED] vertical offset (custom pitch)
[16:46:17] [PASSED] horizontal and vertical offset (custom pitch)
[16:46:17] ============= [PASSED] drm_test_fb_clip_offset =============
[16:46:17] =================== drm_test_fb_memcpy ====================
[16:46:17] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[16:46:17] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[16:46:17] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[16:46:17] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[16:46:17] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[16:46:17] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[16:46:17] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[16:46:17] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[16:46:17] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[16:46:17] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[16:46:17] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[16:46:17] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[16:46:17] =============== [PASSED] drm_test_fb_memcpy ================
[16:46:17] ============= [PASSED] drm_format_helper_test ==============
[16:46:17] ================= drm_format (18 subtests) =================
[16:46:17] [PASSED] drm_test_format_block_width_invalid
[16:46:17] [PASSED] drm_test_format_block_width_one_plane
[16:46:17] [PASSED] drm_test_format_block_width_two_plane
[16:46:17] [PASSED] drm_test_format_block_width_three_plane
[16:46:17] [PASSED] drm_test_format_block_width_tiled
[16:46:17] [PASSED] drm_test_format_block_height_invalid
[16:46:17] [PASSED] drm_test_format_block_height_one_plane
[16:46:17] [PASSED] drm_test_format_block_height_two_plane
[16:46:17] [PASSED] drm_test_format_block_height_three_plane
[16:46:17] [PASSED] drm_test_format_block_height_tiled
[16:46:17] [PASSED] drm_test_format_min_pitch_invalid
[16:46:17] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[16:46:17] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[16:46:17] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[16:46:17] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[16:46:17] [PASSED] drm_test_format_min_pitch_two_plane
[16:46:17] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[16:46:17] [PASSED] drm_test_format_min_pitch_tiled
[16:46:17] =================== [PASSED] drm_format ====================
[16:46:17] ============== drm_framebuffer (10 subtests) ===============
[16:46:17] ========== drm_test_framebuffer_check_src_coords ==========
[16:46:17] [PASSED] Success: source fits into fb
[16:46:17] [PASSED] Fail: overflowing fb with x-axis coordinate
[16:46:17] [PASSED] Fail: overflowing fb with y-axis coordinate
[16:46:17] [PASSED] Fail: overflowing fb with source width
[16:46:17] [PASSED] Fail: overflowing fb with source height
[16:46:17] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[16:46:17] [PASSED] drm_test_framebuffer_cleanup
[16:46:17] =============== drm_test_framebuffer_create ===============
[16:46:17] [PASSED] ABGR8888 normal sizes
[16:46:17] [PASSED] ABGR8888 max sizes
[16:46:17] [PASSED] ABGR8888 pitch greater than min required
[16:46:17] [PASSED] ABGR8888 pitch less than min required
[16:46:17] [PASSED] ABGR8888 Invalid width
[16:46:17] [PASSED] ABGR8888 Invalid buffer handle
[16:46:17] [PASSED] No pixel format
[16:46:17] [PASSED] ABGR8888 Width 0
[16:46:17] [PASSED] ABGR8888 Height 0
[16:46:17] [PASSED] ABGR8888 Out of bound height * pitch combination
[16:46:17] [PASSED] ABGR8888 Large buffer offset
[16:46:17] [PASSED] ABGR8888 Buffer offset for inexistent plane
[16:46:17] [PASSED] ABGR8888 Invalid flag
[16:46:17] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[16:46:17] [PASSED] ABGR8888 Valid buffer modifier
[16:46:17] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[16:46:17] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] NV12 Normal sizes
[16:46:17] [PASSED] NV12 Max sizes
[16:46:17] [PASSED] NV12 Invalid pitch
[16:46:17] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[16:46:17] [PASSED] NV12 different modifier per-plane
[16:46:17] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[16:46:17] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] NV12 Modifier for inexistent plane
[16:46:17] [PASSED] NV12 Handle for inexistent plane
[16:46:17] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[16:46:17] [PASSED] YVU420 Normal sizes
[16:46:17] [PASSED] YVU420 Max sizes
[16:46:17] [PASSED] YVU420 Invalid pitch
[16:46:17] [PASSED] YVU420 Different pitches
[16:46:17] [PASSED] YVU420 Different buffer offsets/pitches
[16:46:17] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[16:46:17] [PASSED] YVU420 Valid modifier
[16:46:17] [PASSED] YVU420 Different modifiers per plane
[16:46:17] [PASSED] YVU420 Modifier for inexistent plane
[16:46:17] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[16:46:17] [PASSED] X0L2 Normal sizes
[16:46:17] [PASSED] X0L2 Max sizes
[16:46:17] [PASSED] X0L2 Invalid pitch
[16:46:17] [PASSED] X0L2 Pitch greater than minimum required
[16:46:17] [PASSED] X0L2 Handle for inexistent plane
[16:46:17] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[16:46:17] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[16:46:17] [PASSED] X0L2 Valid modifier
[16:46:17] [PASSED] X0L2 Modifier for inexistent plane
[16:46:17] =========== [PASSED] drm_test_framebuffer_create ===========
[16:46:17] [PASSED] drm_test_framebuffer_free
[16:46:17] [PASSED] drm_test_framebuffer_init
[16:46:17] [PASSED] drm_test_framebuffer_init_bad_format
[16:46:17] [PASSED] drm_test_framebuffer_init_dev_mismatch
[16:46:17] [PASSED] drm_test_framebuffer_lookup
[16:46:17] [PASSED] drm_test_framebuffer_lookup_inexistent
[16:46:17] [PASSED] drm_test_framebuffer_modifiers_not_supported
[16:46:17] ================= [PASSED] drm_framebuffer =================
[16:46:17] ================ drm_gem_shmem (8 subtests) ================
[16:46:17] [PASSED] drm_gem_shmem_test_obj_create
[16:46:17] [PASSED] drm_gem_shmem_test_obj_create_private
[16:46:17] [PASSED] drm_gem_shmem_test_pin_pages
[16:46:17] [PASSED] drm_gem_shmem_test_vmap
[16:46:17] [PASSED] drm_gem_shmem_test_get_pages_sgt
[16:46:17] [PASSED] drm_gem_shmem_test_get_sg_table
[16:46:17] [PASSED] drm_gem_shmem_test_madvise
[16:46:17] [PASSED] drm_gem_shmem_test_purge
[16:46:17] ================== [PASSED] drm_gem_shmem ==================
[16:46:17] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[16:46:17] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[16:46:17] [PASSED] Automatic
[16:46:17] [PASSED] Full
[16:46:17] [PASSED] Limited 16:235
[16:46:17] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[16:46:17] [PASSED] drm_test_check_disable_connector
[16:46:17] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[16:46:17] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[16:46:17] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[16:46:17] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[16:46:17] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[16:46:17] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[16:46:17] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[16:46:17] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[16:46:17] [PASSED] drm_test_check_output_bpc_dvi
[16:46:17] [PASSED] drm_test_check_output_bpc_format_vic_1
[16:46:17] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[16:46:17] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[16:46:17] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[16:46:17] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[16:46:17] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[16:46:17] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[16:46:17] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[16:46:17] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[16:46:17] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[16:46:17] [PASSED] drm_test_check_broadcast_rgb_value
[16:46:17] [PASSED] drm_test_check_bpc_8_value
[16:46:17] [PASSED] drm_test_check_bpc_10_value
[16:46:17] [PASSED] drm_test_check_bpc_12_value
[16:46:17] [PASSED] drm_test_check_format_value
[16:46:17] [PASSED] drm_test_check_tmds_char_value
[16:46:17] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[16:46:17] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[16:46:17] [PASSED] drm_test_check_mode_valid
[16:46:17] [PASSED] drm_test_check_mode_valid_reject
[16:46:17] [PASSED] drm_test_check_mode_valid_reject_rate
[16:46:17] [PASSED] drm_test_check_mode_valid_reject_max_clock
[16:46:17] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[16:46:17] ================= drm_managed (2 subtests) =================
[16:46:17] [PASSED] drm_test_managed_release_action
[16:46:17] [PASSED] drm_test_managed_run_action
[16:46:17] =================== [PASSED] drm_managed ===================
[16:46:17] =================== drm_mm (6 subtests) ====================
[16:46:17] [PASSED] drm_test_mm_init
[16:46:17] [PASSED] drm_test_mm_debug
[16:46:17] [PASSED] drm_test_mm_align32
[16:46:17] [PASSED] drm_test_mm_align64
[16:46:17] [PASSED] drm_test_mm_lowest
[16:46:17] [PASSED] drm_test_mm_highest
[16:46:17] ===================== [PASSED] drm_mm ======================
[16:46:17] ============= drm_modes_analog_tv (5 subtests) =============
[16:46:17] [PASSED] drm_test_modes_analog_tv_mono_576i
[16:46:17] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[16:46:17] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[16:46:17] [PASSED] drm_test_modes_analog_tv_pal_576i
[16:46:17] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[16:46:17] =============== [PASSED] drm_modes_analog_tv ===============
[16:46:17] ============== drm_plane_helper (2 subtests) ===============
[16:46:17] =============== drm_test_check_plane_state ================
[16:46:17] [PASSED] clipping_simple
[16:46:17] [PASSED] clipping_rotate_reflect
[16:46:17] [PASSED] positioning_simple
[16:46:17] [PASSED] upscaling
[16:46:17] [PASSED] downscaling
[16:46:17] [PASSED] rounding1
[16:46:17] [PASSED] rounding2
[16:46:17] [PASSED] rounding3
[16:46:17] [PASSED] rounding4
[16:46:17] =========== [PASSED] drm_test_check_plane_state ============
[16:46:17] =========== drm_test_check_invalid_plane_state ============
[16:46:17] [PASSED] positioning_invalid
[16:46:17] [PASSED] upscaling_invalid
[16:46:17] [PASSED] downscaling_invalid
[16:46:17] ======= [PASSED] drm_test_check_invalid_plane_state ========
[16:46:17] ================ [PASSED] drm_plane_helper =================
[16:46:17] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[16:46:17] ====== drm_test_connector_helper_tv_get_modes_check =======
[16:46:17] [PASSED] None
[16:46:17] [PASSED] PAL
[16:46:17] [PASSED] NTSC
[16:46:17] [PASSED] Both, NTSC Default
[16:46:17] [PASSED] Both, PAL Default
[16:46:17] [PASSED] Both, NTSC Default, with PAL on command-line
[16:46:17] [PASSED] Both, PAL Default, with NTSC on command-line
[16:46:17] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[16:46:17] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[16:46:17] ================== drm_rect (9 subtests) ===================
[16:46:17] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[16:46:17] [PASSED] drm_test_rect_clip_scaled_not_clipped
[16:46:17] [PASSED] drm_test_rect_clip_scaled_clipped
[16:46:17] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[16:46:17] ================= drm_test_rect_intersect =================
[16:46:17] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[16:46:17] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[16:46:17] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[16:46:17] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[16:46:17] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[16:46:17] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[16:46:17] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[16:46:17] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[16:46:17] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[16:46:17] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[16:46:17] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[16:46:17] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[16:46:17] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[16:46:17] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[16:46:17] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[16:46:17] ============= [PASSED] drm_test_rect_intersect =============
[16:46:17] ================ drm_test_rect_calc_hscale ================
[16:46:17] [PASSED] normal use
[16:46:17] [PASSED] out of max range
[16:46:17] [PASSED] out of min range
[16:46:17] [PASSED] zero dst
[16:46:17] [PASSED] negative src
[16:46:17] [PASSED] negative dst
[16:46:17] ============ [PASSED] drm_test_rect_calc_hscale ============
[16:46:17] ================ drm_test_rect_calc_vscale ================
[16:46:17] [PASSED] normal use
stty: 'standard input': Inappropriate ioctl for device
[16:46:17] [PASSED] out of max range
[16:46:17] [PASSED] out of min range
[16:46:17] [PASSED] zero dst
[16:46:17] [PASSED] negative src
[16:46:17] [PASSED] negative dst
[16:46:17] ============ [PASSED] drm_test_rect_calc_vscale ============
[16:46:17] ================== drm_test_rect_rotate ===================
[16:46:17] [PASSED] reflect-x
[16:46:17] [PASSED] reflect-y
[16:46:17] [PASSED] rotate-0
[16:46:17] [PASSED] rotate-90
[16:46:17] [PASSED] rotate-180
[16:46:17] [PASSED] rotate-270
[16:46:17] ============== [PASSED] drm_test_rect_rotate ===============
[16:46:17] ================ drm_test_rect_rotate_inv =================
[16:46:17] [PASSED] reflect-x
[16:46:17] [PASSED] reflect-y
[16:46:17] [PASSED] rotate-0
[16:46:17] [PASSED] rotate-90
[16:46:17] [PASSED] rotate-180
[16:46:17] [PASSED] rotate-270
[16:46:17] ============ [PASSED] drm_test_rect_rotate_inv =============
[16:46:17] ==================== [PASSED] drm_rect =====================
[16:46:17] ============ drm_sysfb_modeset_test (1 subtest) ============
[16:46:17] ============ drm_test_sysfb_build_fourcc_list =============
[16:46:17] [PASSED] no native formats
[16:46:17] [PASSED] XRGB8888 as native format
[16:46:17] [PASSED] remove duplicates
[16:46:17] [PASSED] convert alpha formats
[16:46:17] [PASSED] random formats
[16:46:17] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[16:46:17] ============= [PASSED] drm_sysfb_modeset_test ==============
[16:46:17] ============================================================
[16:46:17] Testing complete. Ran 622 tests: passed: 622
[16:46:17] Elapsed time: 26.981s total, 1.745s configuring, 24.769s building, 0.433s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[16:46:17] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:46:19] 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
[16:46:29] Starting KUnit Kernel (1/1)...
[16:46:29] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:46:29] ================= ttm_device (5 subtests) ==================
[16:46:29] [PASSED] ttm_device_init_basic
[16:46:29] [PASSED] ttm_device_init_multiple
[16:46:29] [PASSED] ttm_device_fini_basic
[16:46:29] [PASSED] ttm_device_init_no_vma_man
[16:46:29] ================== ttm_device_init_pools ==================
[16:46:29] [PASSED] No DMA allocations, no DMA32 required
[16:46:29] [PASSED] DMA allocations, DMA32 required
[16:46:29] [PASSED] No DMA allocations, DMA32 required
[16:46:29] [PASSED] DMA allocations, no DMA32 required
[16:46:29] ============== [PASSED] ttm_device_init_pools ==============
[16:46:29] =================== [PASSED] ttm_device ====================
[16:46:29] ================== ttm_pool (8 subtests) ===================
[16:46:29] ================== ttm_pool_alloc_basic ===================
[16:46:29] [PASSED] One page
[16:46:29] [PASSED] More than one page
[16:46:29] [PASSED] Above the allocation limit
[16:46:29] [PASSED] One page, with coherent DMA mappings enabled
[16:46:29] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[16:46:29] ============== [PASSED] ttm_pool_alloc_basic ===============
[16:46:29] ============== ttm_pool_alloc_basic_dma_addr ==============
[16:46:29] [PASSED] One page
[16:46:29] [PASSED] More than one page
[16:46:29] [PASSED] Above the allocation limit
[16:46:29] [PASSED] One page, with coherent DMA mappings enabled
[16:46:29] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[16:46:29] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[16:46:29] [PASSED] ttm_pool_alloc_order_caching_match
[16:46:29] [PASSED] ttm_pool_alloc_caching_mismatch
[16:46:29] [PASSED] ttm_pool_alloc_order_mismatch
[16:46:29] [PASSED] ttm_pool_free_dma_alloc
[16:46:29] [PASSED] ttm_pool_free_no_dma_alloc
[16:46:29] [PASSED] ttm_pool_fini_basic
[16:46:29] ==================== [PASSED] ttm_pool =====================
[16:46:29] ================ ttm_resource (8 subtests) =================
[16:46:29] ================= ttm_resource_init_basic =================
[16:46:29] [PASSED] Init resource in TTM_PL_SYSTEM
[16:46:29] [PASSED] Init resource in TTM_PL_VRAM
[16:46:29] [PASSED] Init resource in a private placement
[16:46:29] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[16:46:29] ============= [PASSED] ttm_resource_init_basic =============
[16:46:29] [PASSED] ttm_resource_init_pinned
[16:46:29] [PASSED] ttm_resource_fini_basic
[16:46:29] [PASSED] ttm_resource_manager_init_basic
[16:46:29] [PASSED] ttm_resource_manager_usage_basic
[16:46:29] [PASSED] ttm_resource_manager_set_used_basic
[16:46:29] [PASSED] ttm_sys_man_alloc_basic
[16:46:29] [PASSED] ttm_sys_man_free_basic
[16:46:29] ================== [PASSED] ttm_resource ===================
[16:46:29] =================== ttm_tt (15 subtests) ===================
[16:46:29] ==================== ttm_tt_init_basic ====================
[16:46:29] [PASSED] Page-aligned size
[16:46:29] [PASSED] Extra pages requested
[16:46:29] ================ [PASSED] ttm_tt_init_basic ================
[16:46:29] [PASSED] ttm_tt_init_misaligned
[16:46:29] [PASSED] ttm_tt_fini_basic
[16:46:29] [PASSED] ttm_tt_fini_sg
[16:46:29] [PASSED] ttm_tt_fini_shmem
[16:46:29] [PASSED] ttm_tt_create_basic
[16:46:29] [PASSED] ttm_tt_create_invalid_bo_type
[16:46:29] [PASSED] ttm_tt_create_ttm_exists
[16:46:29] [PASSED] ttm_tt_create_failed
[16:46:29] [PASSED] ttm_tt_destroy_basic
[16:46:29] [PASSED] ttm_tt_populate_null_ttm
[16:46:29] [PASSED] ttm_tt_populate_populated_ttm
[16:46:29] [PASSED] ttm_tt_unpopulate_basic
[16:46:29] [PASSED] ttm_tt_unpopulate_empty_ttm
[16:46:29] [PASSED] ttm_tt_swapin_basic
[16:46:29] ===================== [PASSED] ttm_tt ======================
[16:46:29] =================== ttm_bo (14 subtests) ===================
[16:46:29] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[16:46:29] [PASSED] Cannot be interrupted and sleeps
[16:46:29] [PASSED] Cannot be interrupted, locks straight away
[16:46:29] [PASSED] Can be interrupted, sleeps
[16:46:29] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[16:46:29] [PASSED] ttm_bo_reserve_locked_no_sleep
[16:46:29] [PASSED] ttm_bo_reserve_no_wait_ticket
[16:46:29] [PASSED] ttm_bo_reserve_double_resv
[16:46:29] [PASSED] ttm_bo_reserve_interrupted
[16:46:29] [PASSED] ttm_bo_reserve_deadlock
[16:46:29] [PASSED] ttm_bo_unreserve_basic
[16:46:29] [PASSED] ttm_bo_unreserve_pinned
[16:46:29] [PASSED] ttm_bo_unreserve_bulk
[16:46:29] [PASSED] ttm_bo_fini_basic
[16:46:29] [PASSED] ttm_bo_fini_shared_resv
[16:46:29] [PASSED] ttm_bo_pin_basic
[16:46:29] [PASSED] ttm_bo_pin_unpin_resource
[16:46:29] [PASSED] ttm_bo_multiple_pin_one_unpin
[16:46:29] ===================== [PASSED] ttm_bo ======================
[16:46:29] ============== ttm_bo_validate (21 subtests) ===============
[16:46:29] ============== ttm_bo_init_reserved_sys_man ===============
[16:46:29] [PASSED] Buffer object for userspace
[16:46:29] [PASSED] Kernel buffer object
[16:46:29] [PASSED] Shared buffer object
[16:46:29] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[16:46:29] ============== ttm_bo_init_reserved_mock_man ==============
[16:46:29] [PASSED] Buffer object for userspace
[16:46:29] [PASSED] Kernel buffer object
[16:46:29] [PASSED] Shared buffer object
[16:46:29] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[16:46:29] [PASSED] ttm_bo_init_reserved_resv
[16:46:29] ================== ttm_bo_validate_basic ==================
[16:46:29] [PASSED] Buffer object for userspace
[16:46:29] [PASSED] Kernel buffer object
[16:46:29] [PASSED] Shared buffer object
[16:46:29] ============== [PASSED] ttm_bo_validate_basic ==============
[16:46:29] [PASSED] ttm_bo_validate_invalid_placement
[16:46:29] ============= ttm_bo_validate_same_placement ==============
[16:46:29] [PASSED] System manager
[16:46:29] [PASSED] VRAM manager
[16:46:29] ========= [PASSED] ttm_bo_validate_same_placement ==========
[16:46:29] [PASSED] ttm_bo_validate_failed_alloc
[16:46:29] [PASSED] ttm_bo_validate_pinned
[16:46:29] [PASSED] ttm_bo_validate_busy_placement
[16:46:29] ================ ttm_bo_validate_multihop =================
[16:46:29] [PASSED] Buffer object for userspace
[16:46:29] [PASSED] Kernel buffer object
[16:46:29] [PASSED] Shared buffer object
[16:46:29] ============ [PASSED] ttm_bo_validate_multihop =============
[16:46:29] ========== ttm_bo_validate_no_placement_signaled ==========
[16:46:29] [PASSED] Buffer object in system domain, no page vector
[16:46:29] [PASSED] Buffer object in system domain with an existing page vector
[16:46:29] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[16:46:29] ======== ttm_bo_validate_no_placement_not_signaled ========
[16:46:29] [PASSED] Buffer object for userspace
[16:46:29] [PASSED] Kernel buffer object
[16:46:29] [PASSED] Shared buffer object
[16:46:29] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[16:46:29] [PASSED] ttm_bo_validate_move_fence_signaled
[16:46:29] ========= ttm_bo_validate_move_fence_not_signaled =========
[16:46:29] [PASSED] Waits for GPU
[16:46:29] [PASSED] Tries to lock straight away
[16:46:29] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[16:46:29] [PASSED] ttm_bo_validate_happy_evict
[16:46:29] [PASSED] ttm_bo_validate_all_pinned_evict
[16:46:29] [PASSED] ttm_bo_validate_allowed_only_evict
[16:46:29] [PASSED] ttm_bo_validate_deleted_evict
[16:46:29] [PASSED] ttm_bo_validate_busy_domain_evict
[16:46:29] [PASSED] ttm_bo_validate_evict_gutting
[16:46:29] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[16:46:29] ================= [PASSED] ttm_bo_validate =================
[16:46:29] ============================================================
[16:46:29] Testing complete. Ran 101 tests: passed: 101
[16:46:29] Elapsed time: 11.395s total, 1.742s configuring, 9.438s building, 0.185s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 11+ messages in thread
* ✓ Xe.CI.BAT: success for drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
2025-11-20 16:45 ` ✗ CI.checkpatch: warning for " Patchwork
2025-11-20 16:46 ` ✓ CI.KUnit: success " Patchwork
@ 2025-11-20 17:43 ` Patchwork
2025-11-20 17:47 ` [PATCH] " Jani Nikula
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 17:43 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order
URL : https://patchwork.freedesktop.org/series/157852/
State : success
== Summary ==
CI Bug Log - changes from xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a_BAT -> xe-pw-157852v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-157852v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [PASS][1] -> [TIMEOUT][2] ([Intel XE#6506])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/bat-dg2-oem2/igt@xe_waitfence@abstime.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/bat-dg2-oem2/igt@xe_waitfence@abstime.html
#### Possible fixes ####
* igt@xe_waitfence@reltime:
- bat-dg2-oem2: [FAIL][3] ([Intel XE#6520]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/bat-dg2-oem2/igt@xe_waitfence@reltime.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/bat-dg2-oem2/igt@xe_waitfence@reltime.html
[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
Build changes
-------------
* Linux: xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a -> xe-pw-157852v1
IGT_8636: 254cd102396ff95d61f2ebe49fc09128878bf483 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a: 13909978d70fc4ded88b778a313b68ad86ba881a
xe-pw-157852v1: 157852v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/index.html
[-- Attachment #2: Type: text/html, Size: 2532 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (2 preceding siblings ...)
2025-11-20 17:43 ` ✓ Xe.CI.BAT: " Patchwork
@ 2025-11-20 17:47 ` Jani Nikula
2025-11-20 18:42 ` Ville Syrjälä
2025-11-20 19:21 ` [PATCH v2] " Ville Syrjala
` (4 subsequent siblings)
8 siblings, 1 reply; 11+ messages in thread
From: Jani Nikula @ 2025-11-20 17:47 UTC (permalink / raw)
To: Ville Syrjala, intel-gfx; +Cc: intel-xe
On Thu, 20 Nov 2025, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Currently our crtcs are registered in pipe order, and thus
> all the for_intel_crtc*() iterators walk the crtcs in pipe
> order. There are a bunch of places that more or less depend
> on that. Eg. during plane updates and such we want joined
> pipes to be processed back-to-back to give a better chance
> of an atomic update across the whole set.
>
> When we start to register crtcs in a different order we don't
> want to change the order in which the pipes get handled.
> Decouple the for_each_intel_crtc*() iterators from the crtc
> registration order by using a separate list which will be
> sorted by the pipe rather than the crtc index.
>
> We could priobably use a simple array or something, but that
> would require some kind of extra iterator variable for the
> macros, and thus would require a lot more changes. Using
> a linked list keeps the fallout minimal. We can look at
> using a more optimal data structure later.
I think the list works fine.
> I also added this extra junk to the atomic state iterators:
> "(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
> even though the macro itself no longer needs the "__i" iterator.
> This in case the "__i" is used by the caller, and to
> avoid compiler warnings if it's completely unused now.
At a glance, I can't find any. Perhaps you could cook up some cocci to
remove the parameter as follow-up?
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_crtc.c | 20 +++++
> drivers/gpu/drm/i915/display/intel_display.h | 90 ++++++++-----------
> .../gpu/drm/i915/display/intel_display_core.h | 3 +
> .../drm/i915/display/intel_display_driver.c | 1 +
> .../drm/i915/display/intel_display_types.h | 1 +
> drivers/gpu/drm/xe/display/xe_display.c | 1 +
> 6 files changed, 64 insertions(+), 52 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
> index 153ff4b4b52c..7ebbde716238 100644
> --- a/drivers/gpu/drm/i915/display/intel_crtc.c
> +++ b/drivers/gpu/drm/i915/display/intel_crtc.c
> @@ -209,6 +209,8 @@ static struct intel_crtc *intel_crtc_alloc(void)
> crtc->base.state = &crtc_state->uapi;
> crtc->config = crtc_state;
>
> + INIT_LIST_HEAD(&crtc->pipe_head);
> +
> return crtc;
> }
>
> @@ -222,6 +224,8 @@ static void intel_crtc_destroy(struct drm_crtc *_crtc)
> {
> struct intel_crtc *crtc = to_intel_crtc(_crtc);
>
> + list_del(&crtc->pipe_head);
> +
> cpu_latency_qos_remove_request(&crtc->vblank_pm_qos);
>
> drm_crtc_cleanup(&crtc->base);
> @@ -308,6 +312,20 @@ static const struct drm_crtc_funcs i8xx_crtc_funcs = {
> .get_vblank_timestamp = intel_crtc_get_vblank_timestamp,
> };
>
> +static void add_crtc_to_pipe_list(struct intel_display *display, struct intel_crtc *crtc)
> +{
> + struct intel_crtc *iter;
> +
> + list_for_each_entry(iter, &display->pipe_list, pipe_head) {
> + if (iter->pipe > crtc->pipe) {
Nitpick, somehow I found it easier to think of this in reverse order,
"crtc->pipe < iter->pipe", but could be just me. *shrug*.
> + list_add_tail(&crtc->pipe_head, &iter->pipe_head);
> + return;
> + }
> + }
> +
> + list_add_tail(&crtc->pipe_head, &display->pipe_list);
> +}
> +
> int intel_crtc_init(struct intel_display *display, enum pipe pipe)
> {
> struct intel_plane *primary, *cursor;
> @@ -398,6 +416,8 @@ int intel_crtc_init(struct intel_display *display, enum pipe pipe)
> if (HAS_CASF(display))
> drm_crtc_create_sharpness_strength_property(&crtc->base);
>
> + add_crtc_to_pipe_list(display, crtc);
> +
> return 0;
>
> fail:
> diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
> index bcc6ccb69d2b..ac83d4f09bb9 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.h
> +++ b/drivers/gpu/drm/i915/display/intel_display.h
> @@ -238,22 +238,23 @@ enum phy_fia {
> base.head) \
> for_each_if((intel_plane)->pipe == (intel_crtc)->pipe)
>
> -#define for_each_intel_crtc(dev, intel_crtc) \
> - list_for_each_entry(intel_crtc, \
> - &(dev)->mode_config.crtc_list, \
> - base.head)
> +#define for_each_intel_crtc(dev, crtc) \
> + list_for_each_entry((crtc), \
> + &to_intel_display(dev)->pipe_list, \
> + pipe_head)
>
> -#define for_each_intel_crtc_in_pipe_mask(dev, intel_crtc, pipe_mask) \
> - list_for_each_entry(intel_crtc, \
> - &(dev)->mode_config.crtc_list, \
> - base.head) \
> - for_each_if((pipe_mask) & BIT(intel_crtc->pipe))
> +#define for_each_intel_crtc_reverse(dev, crtc) \
> + list_for_each_entry_reverse((crtc), \
> + &to_intel_display(dev)->pipe_list, \
> + pipe_head)
>
> -#define for_each_intel_crtc_in_pipe_mask_reverse(dev, intel_crtc, pipe_mask) \
> - list_for_each_entry_reverse((intel_crtc), \
> - &(dev)->mode_config.crtc_list, \
> - base.head) \
> - for_each_if((pipe_mask) & BIT((intel_crtc)->pipe))
> +#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
> + for_each_intel_crtc((dev), (crtc)) \
> + for_each_if((pipe_mask) & BIT((crtc)->pipe))
> +
> +#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
> + for_each_intel_crtc_reverse((dev), (crtc)) \
> + for_each_if((pipe_mask) & BIT((crtc)->pipe))
>
> #define for_each_intel_encoder(dev, intel_encoder) \
> list_for_each_entry(intel_encoder, \
> @@ -295,14 +296,6 @@ enum phy_fia {
> (__i)++) \
> for_each_if(plane)
>
> -#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
> - for ((__i) = 0; \
> - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
> - (__i)++) \
> - for_each_if(crtc)
> -
> #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \
> for ((__i) = 0; \
> (__i) < (__state)->base.dev->mode_config.num_total_plane && \
> @@ -311,22 +304,6 @@ enum phy_fia {
> (__i)++) \
> for_each_if(plane)
>
> -#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
> - for ((__i) = 0; \
> - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> - (__i)++) \
> - for_each_if(crtc)
> -
> -#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
> - for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
> - (__i) >= 0 && \
> - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> - (__i)--) \
> - for_each_if(crtc)
> -
> #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \
> for ((__i) = 0; \
> (__i) < (__state)->base.dev->mode_config.num_total_plane && \
> @@ -336,23 +313,32 @@ enum phy_fia {
> (__i)++) \
> for_each_if(plane)
>
> +#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
> + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
> +
> +#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
> + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
> +
> +#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
> + for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
> + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
> +
> #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \
> - for ((__i) = 0; \
> - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
> - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> - (__i)++) \
> - for_each_if(crtc)
> + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
> + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
>
> #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \
> - for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
> - (__i) >= 0 && \
> - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
> - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> - (__i)--) \
> - for_each_if(crtc)
> + for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
> + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
> + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
These were a PITA to go through, but I think it's fine. Knocks wood.
Thanks for doing this.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
>
> #define intel_atomic_crtc_state_for_each_plane_state( \
> plane, plane_state, \
> diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h
> index 9b8414b77c15..4f4d5c314394 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_core.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_core.h
> @@ -294,6 +294,9 @@ struct intel_display {
> /* Parent, or core, driver functions exposed to display */
> const struct intel_display_parent_interface *parent;
>
> + /* list of all intel_crtcs sorted by pipe */
> + struct list_head pipe_list;
> +
> /* Display functions */
> struct {
> /* Top level crtc-ish functions */
> diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c
> index 7e000ba3e08b..32726906e550 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_driver.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
> @@ -119,6 +119,7 @@ static void intel_mode_config_init(struct intel_display *display)
>
> drm_mode_config_init(display->drm);
> INIT_LIST_HEAD(&display->global.obj_list);
> + INIT_LIST_HEAD(&display->pipe_list);
>
> mode_config->min_width = 0;
> mode_config->min_height = 0;
> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
> index 38702a9e0f50..1c2bd9445795 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> @@ -1441,6 +1441,7 @@ struct intel_flipq {
>
> struct intel_crtc {
> struct drm_crtc base;
> + struct list_head pipe_head;
> enum pipe pipe;
> /*
> * Whether the crtc and the connected output pipeline is active. Implies
> diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
> index e3320d9e6314..cfcbc7dd8638 100644
> --- a/drivers/gpu/drm/xe/display/xe_display.c
> +++ b/drivers/gpu/drm/xe/display/xe_display.c
> @@ -22,6 +22,7 @@
> #include "intel_audio.h"
> #include "intel_bw.h"
> #include "intel_display.h"
> +#include "intel_display_core.h"
> #include "intel_display_device.h"
> #include "intel_display_driver.h"
> #include "intel_display_irq.h"
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drm/i915: Walk crtcs in pipe order
2025-11-20 17:47 ` [PATCH] " Jani Nikula
@ 2025-11-20 18:42 ` Ville Syrjälä
0 siblings, 0 replies; 11+ messages in thread
From: Ville Syrjälä @ 2025-11-20 18:42 UTC (permalink / raw)
To: Jani Nikula; +Cc: intel-gfx, intel-xe
On Thu, Nov 20, 2025 at 07:47:54PM +0200, Jani Nikula wrote:
> On Thu, 20 Nov 2025, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > Currently our crtcs are registered in pipe order, and thus
> > all the for_intel_crtc*() iterators walk the crtcs in pipe
> > order. There are a bunch of places that more or less depend
> > on that. Eg. during plane updates and such we want joined
> > pipes to be processed back-to-back to give a better chance
> > of an atomic update across the whole set.
> >
> > When we start to register crtcs in a different order we don't
> > want to change the order in which the pipes get handled.
> > Decouple the for_each_intel_crtc*() iterators from the crtc
> > registration order by using a separate list which will be
> > sorted by the pipe rather than the crtc index.
> >
> > We could priobably use a simple array or something, but that
> > would require some kind of extra iterator variable for the
> > macros, and thus would require a lot more changes. Using
> > a linked list keeps the fallout minimal. We can look at
> > using a more optimal data structure later.
>
> I think the list works fine.
I supose. Though we do walk these a lot, and we might be
hitting a few more cachelines now, but hopefully they
remain clean so there's no ping-pong between CPUs...
>
> > I also added this extra junk to the atomic state iterators:
> > "(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
> > even though the macro itself no longer needs the "__i" iterator.
> > This in case the "__i" is used by the caller, and to
> > avoid compiler warnings if it's completely unused now.
>
> At a glance, I can't find any. Perhaps you could cook up some cocci to
> remove the parameter as follow-up?
IIRC I already took some kind of stab at hiding the __i inside
the macros (using the UNIQUE_ID stuff) but never posted it.
But I guess we can avoid that now. Might have to think about
doing the same to the drm core macros as well.
>
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_crtc.c | 20 +++++
> > drivers/gpu/drm/i915/display/intel_display.h | 90 ++++++++-----------
> > .../gpu/drm/i915/display/intel_display_core.h | 3 +
> > .../drm/i915/display/intel_display_driver.c | 1 +
> > .../drm/i915/display/intel_display_types.h | 1 +
> > drivers/gpu/drm/xe/display/xe_display.c | 1 +
> > 6 files changed, 64 insertions(+), 52 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
> > index 153ff4b4b52c..7ebbde716238 100644
> > --- a/drivers/gpu/drm/i915/display/intel_crtc.c
> > +++ b/drivers/gpu/drm/i915/display/intel_crtc.c
> > @@ -209,6 +209,8 @@ static struct intel_crtc *intel_crtc_alloc(void)
> > crtc->base.state = &crtc_state->uapi;
> > crtc->config = crtc_state;
> >
> > + INIT_LIST_HEAD(&crtc->pipe_head);
> > +
> > return crtc;
> > }
> >
> > @@ -222,6 +224,8 @@ static void intel_crtc_destroy(struct drm_crtc *_crtc)
> > {
> > struct intel_crtc *crtc = to_intel_crtc(_crtc);
> >
> > + list_del(&crtc->pipe_head);
> > +
> > cpu_latency_qos_remove_request(&crtc->vblank_pm_qos);
> >
> > drm_crtc_cleanup(&crtc->base);
> > @@ -308,6 +312,20 @@ static const struct drm_crtc_funcs i8xx_crtc_funcs = {
> > .get_vblank_timestamp = intel_crtc_get_vblank_timestamp,
> > };
> >
> > +static void add_crtc_to_pipe_list(struct intel_display *display, struct intel_crtc *crtc)
> > +{
> > + struct intel_crtc *iter;
> > +
> > + list_for_each_entry(iter, &display->pipe_list, pipe_head) {
> > + if (iter->pipe > crtc->pipe) {
>
> Nitpick, somehow I found it easier to think of this in reverse order,
> "crtc->pipe < iter->pipe", but could be just me. *shrug*.
Yeah, I suppose that might be better. Would at least match the order
of arguments to list_add_tail(), which does match the order they
end up on the list.
>
> > + list_add_tail(&crtc->pipe_head, &iter->pipe_head);
> > + return;
> > + }
> > + }
> > +
> > + list_add_tail(&crtc->pipe_head, &display->pipe_list);
> > +}
> > +
> > int intel_crtc_init(struct intel_display *display, enum pipe pipe)
> > {
> > struct intel_plane *primary, *cursor;
> > @@ -398,6 +416,8 @@ int intel_crtc_init(struct intel_display *display, enum pipe pipe)
> > if (HAS_CASF(display))
> > drm_crtc_create_sharpness_strength_property(&crtc->base);
> >
> > + add_crtc_to_pipe_list(display, crtc);
> > +
> > return 0;
> >
> > fail:
> > diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
> > index bcc6ccb69d2b..ac83d4f09bb9 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display.h
> > +++ b/drivers/gpu/drm/i915/display/intel_display.h
> > @@ -238,22 +238,23 @@ enum phy_fia {
> > base.head) \
> > for_each_if((intel_plane)->pipe == (intel_crtc)->pipe)
> >
> > -#define for_each_intel_crtc(dev, intel_crtc) \
> > - list_for_each_entry(intel_crtc, \
> > - &(dev)->mode_config.crtc_list, \
> > - base.head)
> > +#define for_each_intel_crtc(dev, crtc) \
> > + list_for_each_entry((crtc), \
> > + &to_intel_display(dev)->pipe_list, \
> > + pipe_head)
> >
> > -#define for_each_intel_crtc_in_pipe_mask(dev, intel_crtc, pipe_mask) \
> > - list_for_each_entry(intel_crtc, \
> > - &(dev)->mode_config.crtc_list, \
> > - base.head) \
> > - for_each_if((pipe_mask) & BIT(intel_crtc->pipe))
> > +#define for_each_intel_crtc_reverse(dev, crtc) \
> > + list_for_each_entry_reverse((crtc), \
> > + &to_intel_display(dev)->pipe_list, \
> > + pipe_head)
> >
> > -#define for_each_intel_crtc_in_pipe_mask_reverse(dev, intel_crtc, pipe_mask) \
> > - list_for_each_entry_reverse((intel_crtc), \
> > - &(dev)->mode_config.crtc_list, \
> > - base.head) \
> > - for_each_if((pipe_mask) & BIT((intel_crtc)->pipe))
> > +#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
> > + for_each_intel_crtc((dev), (crtc)) \
> > + for_each_if((pipe_mask) & BIT((crtc)->pipe))
> > +
> > +#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
> > + for_each_intel_crtc_reverse((dev), (crtc)) \
> > + for_each_if((pipe_mask) & BIT((crtc)->pipe))
> >
> > #define for_each_intel_encoder(dev, intel_encoder) \
> > list_for_each_entry(intel_encoder, \
> > @@ -295,14 +296,6 @@ enum phy_fia {
> > (__i)++) \
> > for_each_if(plane)
> >
> > -#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
> > - for ((__i) = 0; \
> > - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> > - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> > - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
> > - (__i)++) \
> > - for_each_if(crtc)
> > -
> > #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \
> > for ((__i) = 0; \
> > (__i) < (__state)->base.dev->mode_config.num_total_plane && \
> > @@ -311,22 +304,6 @@ enum phy_fia {
> > (__i)++) \
> > for_each_if(plane)
> >
> > -#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
> > - for ((__i) = 0; \
> > - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> > - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> > - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> > - (__i)++) \
> > - for_each_if(crtc)
> > -
> > -#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
> > - for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
> > - (__i) >= 0 && \
> > - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> > - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> > - (__i)--) \
> > - for_each_if(crtc)
> > -
> > #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \
> > for ((__i) = 0; \
> > (__i) < (__state)->base.dev->mode_config.num_total_plane && \
> > @@ -336,23 +313,32 @@ enum phy_fia {
> > (__i)++) \
> > for_each_if(plane)
> >
> > +#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
> > + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> > + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> > + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
> > +
> > +#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
> > + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> > + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> > + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
> > +
> > +#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
> > + for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
> > + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> > + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
> > +
> > #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \
> > - for ((__i) = 0; \
> > - (__i) < (__state)->base.dev->mode_config.num_crtc && \
> > - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> > - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
> > - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> > - (__i)++) \
> > - for_each_if(crtc)
> > + for_each_intel_crtc((__state)->base.dev, (crtc)) \
> > + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> > + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
> > + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
> >
> > #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \
> > - for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
> > - (__i) >= 0 && \
> > - ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
> > - (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
> > - (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
> > - (__i)--) \
> > - for_each_if(crtc)
> > + for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
> > + for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
> > + (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
> > + (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
>
> These were a PITA to go through, but I think it's fine. Knocks wood.
>
> Thanks for doing this.
>
> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
>
> >
> > #define intel_atomic_crtc_state_for_each_plane_state( \
> > plane, plane_state, \
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h
> > index 9b8414b77c15..4f4d5c314394 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_core.h
> > +++ b/drivers/gpu/drm/i915/display/intel_display_core.h
> > @@ -294,6 +294,9 @@ struct intel_display {
> > /* Parent, or core, driver functions exposed to display */
> > const struct intel_display_parent_interface *parent;
> >
> > + /* list of all intel_crtcs sorted by pipe */
> > + struct list_head pipe_list;
> > +
> > /* Display functions */
> > struct {
> > /* Top level crtc-ish functions */
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c
> > index 7e000ba3e08b..32726906e550 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_driver.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
> > @@ -119,6 +119,7 @@ static void intel_mode_config_init(struct intel_display *display)
> >
> > drm_mode_config_init(display->drm);
> > INIT_LIST_HEAD(&display->global.obj_list);
> > + INIT_LIST_HEAD(&display->pipe_list);
> >
> > mode_config->min_width = 0;
> > mode_config->min_height = 0;
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
> > index 38702a9e0f50..1c2bd9445795 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> > @@ -1441,6 +1441,7 @@ struct intel_flipq {
> >
> > struct intel_crtc {
> > struct drm_crtc base;
> > + struct list_head pipe_head;
> > enum pipe pipe;
> > /*
> > * Whether the crtc and the connected output pipeline is active. Implies
> > diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
> > index e3320d9e6314..cfcbc7dd8638 100644
> > --- a/drivers/gpu/drm/xe/display/xe_display.c
> > +++ b/drivers/gpu/drm/xe/display/xe_display.c
> > @@ -22,6 +22,7 @@
> > #include "intel_audio.h"
> > #include "intel_bw.h"
> > #include "intel_display.h"
> > +#include "intel_display_core.h"
> > #include "intel_display_device.h"
> > #include "intel_display_driver.h"
> > #include "intel_display_irq.h"
>
> --
> Jani Nikula, Intel
--
Ville Syrjälä
Intel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v2] drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (3 preceding siblings ...)
2025-11-20 17:47 ` [PATCH] " Jani Nikula
@ 2025-11-20 19:21 ` Ville Syrjala
2025-11-20 21:50 ` ✗ Xe.CI.Full: failure for " Patchwork
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Ville Syrjala @ 2025-11-20 19:21 UTC (permalink / raw)
To: intel-gfx; +Cc: intel-xe, Jani Nikula
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Currently our crtcs are registered in pipe order, and thus
all the for_intel_crtc*() iterators walk the crtcs in pipe
order. There are a bunch of places that more or less depend
on that. Eg. during plane updates and such we want joined
pipes to be processed back-to-back to give a better chance
of an atomic update across the whole set.
When we start to register crtcs in a different order we don't
want to change the order in which the pipes get handled.
Decouple the for_each_intel_crtc*() iterators from the crtc
registration order by using a separate list which will be
sorted by the pipe rather than the crtc index.
We could priobably use a simple array or something, but that
would require some kind of extra iterator variable for the
macros, and thus would require a lot more changes. Using
a linked list keeps the fallout minimal. We can look at
using a more optimal data structure later.
I also added this extra junk to the atomic state iterators:
"(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
even though the macro itself no longer needs the "__i" iterator.
This in case the "__i" is used by the caller, and to
avoid compiler warnings if it's completely unused now.
v2: Flip the pipe comparison (Jani)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 20 +++++
drivers/gpu/drm/i915/display/intel_display.h | 90 ++++++++-----------
.../gpu/drm/i915/display/intel_display_core.h | 3 +
.../drm/i915/display/intel_display_driver.c | 1 +
.../drm/i915/display/intel_display_types.h | 1 +
drivers/gpu/drm/xe/display/xe_display.c | 1 +
6 files changed, 64 insertions(+), 52 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 153ff4b4b52c..709a8fb56736 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -209,6 +209,8 @@ static struct intel_crtc *intel_crtc_alloc(void)
crtc->base.state = &crtc_state->uapi;
crtc->config = crtc_state;
+ INIT_LIST_HEAD(&crtc->pipe_head);
+
return crtc;
}
@@ -222,6 +224,8 @@ static void intel_crtc_destroy(struct drm_crtc *_crtc)
{
struct intel_crtc *crtc = to_intel_crtc(_crtc);
+ list_del(&crtc->pipe_head);
+
cpu_latency_qos_remove_request(&crtc->vblank_pm_qos);
drm_crtc_cleanup(&crtc->base);
@@ -308,6 +312,20 @@ static const struct drm_crtc_funcs i8xx_crtc_funcs = {
.get_vblank_timestamp = intel_crtc_get_vblank_timestamp,
};
+static void add_crtc_to_pipe_list(struct intel_display *display, struct intel_crtc *crtc)
+{
+ struct intel_crtc *iter;
+
+ list_for_each_entry(iter, &display->pipe_list, pipe_head) {
+ if (crtc->pipe < iter->pipe) {
+ list_add_tail(&crtc->pipe_head, &iter->pipe_head);
+ return;
+ }
+ }
+
+ list_add_tail(&crtc->pipe_head, &display->pipe_list);
+}
+
int intel_crtc_init(struct intel_display *display, enum pipe pipe)
{
struct intel_plane *primary, *cursor;
@@ -398,6 +416,8 @@ int intel_crtc_init(struct intel_display *display, enum pipe pipe)
if (HAS_CASF(display))
drm_crtc_create_sharpness_strength_property(&crtc->base);
+ add_crtc_to_pipe_list(display, crtc);
+
return 0;
fail:
diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
index bcc6ccb69d2b..ac83d4f09bb9 100644
--- a/drivers/gpu/drm/i915/display/intel_display.h
+++ b/drivers/gpu/drm/i915/display/intel_display.h
@@ -238,22 +238,23 @@ enum phy_fia {
base.head) \
for_each_if((intel_plane)->pipe == (intel_crtc)->pipe)
-#define for_each_intel_crtc(dev, intel_crtc) \
- list_for_each_entry(intel_crtc, \
- &(dev)->mode_config.crtc_list, \
- base.head)
+#define for_each_intel_crtc(dev, crtc) \
+ list_for_each_entry((crtc), \
+ &to_intel_display(dev)->pipe_list, \
+ pipe_head)
-#define for_each_intel_crtc_in_pipe_mask(dev, intel_crtc, pipe_mask) \
- list_for_each_entry(intel_crtc, \
- &(dev)->mode_config.crtc_list, \
- base.head) \
- for_each_if((pipe_mask) & BIT(intel_crtc->pipe))
+#define for_each_intel_crtc_reverse(dev, crtc) \
+ list_for_each_entry_reverse((crtc), \
+ &to_intel_display(dev)->pipe_list, \
+ pipe_head)
+
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
-#define for_each_intel_crtc_in_pipe_mask_reverse(dev, intel_crtc, pipe_mask) \
- list_for_each_entry_reverse((intel_crtc), \
- &(dev)->mode_config.crtc_list, \
- base.head) \
- for_each_if((pipe_mask) & BIT((intel_crtc)->pipe))
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
#define for_each_intel_encoder(dev, intel_encoder) \
list_for_each_entry(intel_encoder, \
@@ -295,14 +296,6 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
-#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
- (__i)++) \
- for_each_if(crtc)
-
#define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \
for ((__i) = 0; \
(__i) < (__state)->base.dev->mode_config.num_total_plane && \
@@ -311,22 +304,6 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
-#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)++) \
- for_each_if(crtc)
-
-#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
- for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
- (__i) >= 0 && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)--) \
- for_each_if(crtc)
-
#define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \
for ((__i) = 0; \
(__i) < (__state)->base.dev->mode_config.num_total_plane && \
@@ -336,23 +313,32 @@ enum phy_fia {
(__i)++) \
for_each_if(plane)
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
+
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
+
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
+
#define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \
- for ((__i) = 0; \
- (__i) < (__state)->base.dev->mode_config.num_crtc && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)++) \
- for_each_if(crtc)
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
#define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \
- for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
- (__i) >= 0 && \
- ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
- (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
- (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
- (__i)--) \
- for_each_if(crtc)
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
#define intel_atomic_crtc_state_for_each_plane_state( \
plane, plane_state, \
diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h
index 9b8414b77c15..4f4d5c314394 100644
--- a/drivers/gpu/drm/i915/display/intel_display_core.h
+++ b/drivers/gpu/drm/i915/display/intel_display_core.h
@@ -294,6 +294,9 @@ struct intel_display {
/* Parent, or core, driver functions exposed to display */
const struct intel_display_parent_interface *parent;
+ /* list of all intel_crtcs sorted by pipe */
+ struct list_head pipe_list;
+
/* Display functions */
struct {
/* Top level crtc-ish functions */
diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c
index 7e000ba3e08b..32726906e550 100644
--- a/drivers/gpu/drm/i915/display/intel_display_driver.c
+++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
@@ -119,6 +119,7 @@ static void intel_mode_config_init(struct intel_display *display)
drm_mode_config_init(display->drm);
INIT_LIST_HEAD(&display->global.obj_list);
+ INIT_LIST_HEAD(&display->pipe_list);
mode_config->min_width = 0;
mode_config->min_height = 0;
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index 38702a9e0f50..1c2bd9445795 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -1441,6 +1441,7 @@ struct intel_flipq {
struct intel_crtc {
struct drm_crtc base;
+ struct list_head pipe_head;
enum pipe pipe;
/*
* Whether the crtc and the connected output pipeline is active. Implies
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index e3320d9e6314..cfcbc7dd8638 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -22,6 +22,7 @@
#include "intel_audio.h"
#include "intel_bw.h"
#include "intel_display.h"
+#include "intel_display_core.h"
#include "intel_display_device.h"
#include "intel_display_driver.h"
#include "intel_display_irq.h"
--
2.49.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* ✗ Xe.CI.Full: failure for drm/i915: Walk crtcs in pipe order
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (4 preceding siblings ...)
2025-11-20 19:21 ` [PATCH v2] " Ville Syrjala
@ 2025-11-20 21:50 ` Patchwork
2025-11-20 22:49 ` ✗ CI.checkpatch: warning for drm/i915: Walk crtcs in pipe order (rev2) Patchwork
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 21:50 UTC (permalink / raw)
To: Ville Syrjala; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 24798 bytes --]
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order
URL : https://patchwork.freedesktop.org/series/157852/
State : failure
== Summary ==
CI Bug Log - changes from xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a_FULL -> xe-pw-157852v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-157852v1_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-157852v1_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-157852v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_eudebug_online@pagefault-read-stress:
- shard-adlp: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_eudebug_online@pagefault-read-stress.html
Known issues
------------
Here are the changes found in xe-pw-157852v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1:
- shard-adlp: [PASS][2] -> [FAIL][3] ([Intel XE#3908]) +1 other test fail
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-8/igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1.html
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-4/igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-1.html
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-adlp: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-adlp: [PASS][5] -> [DMESG-FAIL][6] ([Intel XE#4543])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-3/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-adlp: [PASS][7] -> [DMESG-WARN][8] ([Intel XE#2953] / [Intel XE#4173])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-4/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-2/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-dg2-set2: NOTRUN -> [SKIP][9] ([Intel XE#1124])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs:
- shard-adlp: NOTRUN -> [SKIP][10] ([Intel XE#455] / [Intel XE#787]) +7 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs.html
* igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs@pipe-c-hdmi-a-1:
- shard-adlp: NOTRUN -> [SKIP][11] ([Intel XE#787]) +11 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs@pipe-c-hdmi-a-1.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-mc-ccs@pipe-d-dp-4:
- shard-dg2-set2: [PASS][12] -> [INCOMPLETE][13] ([Intel XE#3862]) +1 other test incomplete
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-463/igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-mc-ccs@pipe-d-dp-4.html
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-464/igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-mc-ccs@pipe-d-dp-4.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs@pipe-c-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][14] ([Intel XE#787]) +6 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs@pipe-c-dp-4.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][15] ([Intel XE#455] / [Intel XE#787]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs@pipe-d-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
- shard-dg2-set2: [PASS][16] -> [INCOMPLETE][17] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345] / [Intel XE#6168])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][18] ([Intel XE#2705] / [Intel XE#4212] / [Intel XE#6014])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4:
- shard-dg2-set2: [PASS][19] -> [INCOMPLETE][20] ([Intel XE#6168])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4.html
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-hdmi-a-6:
- shard-dg2-set2: [PASS][21] -> [DMESG-WARN][22] ([Intel XE#1727] / [Intel XE#3113])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-hdmi-a-6.html
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-hdmi-a-6.html
* igt@kms_chamelium_edid@dp-edid-resolution-list:
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#373])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_chamelium_edid@dp-edid-resolution-list.html
* igt@kms_chamelium_frames@hdmi-crc-single:
- shard-adlp: NOTRUN -> [SKIP][24] ([Intel XE#373]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_chamelium_frames@hdmi-crc-single.html
* igt@kms_dirtyfb@psr-dirtyfb-ioctl:
- shard-adlp: NOTRUN -> [SKIP][25] ([Intel XE#455]) +4 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_dirtyfb@psr-dirtyfb-ioctl.html
* igt@kms_flip@2x-flip-vs-dpms:
- shard-adlp: NOTRUN -> [SKIP][26] ([Intel XE#310]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_flip@2x-flip-vs-dpms.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][27] -> [FAIL][28] ([Intel XE#301])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-adlp: NOTRUN -> [SKIP][29] ([Intel XE#651])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-blt:
- shard-adlp: NOTRUN -> [SKIP][30] ([Intel XE#656]) +5 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary:
- shard-adlp: NOTRUN -> [SKIP][31] ([Intel XE#653]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary.html
* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-adlp: NOTRUN -> [SKIP][32] ([Intel XE#2925])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_joiner@invalid-modeset-force-ultra-joiner.html
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-adlp: NOTRUN -> [SKIP][33] ([Intel XE#356])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html
* igt@kms_psr2_sf@fbc-pr-overlay-plane-update-sf-dmg-area:
- shard-adlp: NOTRUN -> [SKIP][34] ([Intel XE#1406] / [Intel XE#1489]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_psr2_sf@fbc-pr-overlay-plane-update-sf-dmg-area.html
* igt@kms_psr@fbc-pr-no-drrs:
- shard-adlp: NOTRUN -> [SKIP][35] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@kms_psr@fbc-pr-no-drrs.html
* igt@kms_vrr@cmrr@pipe-a-edp-1:
- shard-lnl: [PASS][36] -> [FAIL][37] ([Intel XE#4459]) +1 other test fail
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-lnl-2/igt@kms_vrr@cmrr@pipe-a-edp-1.html
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-lnl-2/igt@kms_vrr@cmrr@pipe-a-edp-1.html
* igt@xe_compute_preempt@compute-preempt-many:
- shard-adlp: NOTRUN -> [SKIP][38] ([Intel XE#6360])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_compute_preempt@compute-preempt-many.html
* igt@xe_copy_basic@mem-set-linear-0x8fffe:
- shard-adlp: NOTRUN -> [SKIP][39] ([Intel XE#5503])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_copy_basic@mem-set-linear-0x8fffe.html
* igt@xe_evict@evict-beng-large-multi-vm-cm:
- shard-adlp: NOTRUN -> [SKIP][40] ([Intel XE#261])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_evict@evict-beng-large-multi-vm-cm.html
* igt@xe_evict_ccs@evict-overcommit-standalone-instantfree-reopen:
- shard-adlp: NOTRUN -> [SKIP][41] ([Intel XE#688])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_evict_ccs@evict-overcommit-standalone-instantfree-reopen.html
* igt@xe_exec_basic@multigpu-once-basic:
- shard-adlp: NOTRUN -> [SKIP][42] ([Intel XE#1392] / [Intel XE#5575])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_exec_basic@multigpu-once-basic.html
* igt@xe_exec_fault_mode@many-basic-imm:
- shard-adlp: NOTRUN -> [SKIP][43] ([Intel XE#288] / [Intel XE#5561]) +4 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_exec_fault_mode@many-basic-imm.html
* igt@xe_exec_mix_modes@exec-simple-batch-store-lr:
- shard-adlp: NOTRUN -> [SKIP][44] ([Intel XE#2360])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_exec_mix_modes@exec-simple-batch-store-lr.html
* igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][45] ([Intel XE#6299])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads.html
* igt@xe_exec_system_allocator@many-execqueues-mmap-nomemset:
- shard-adlp: NOTRUN -> [SKIP][46] ([Intel XE#4915]) +45 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_exec_system_allocator@many-execqueues-mmap-nomemset.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-shared-remap-dontunmap-eocheck:
- shard-dg2-set2: NOTRUN -> [SKIP][47] ([Intel XE#4915]) +6 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-shared-remap-dontunmap-eocheck.html
* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-adlp: NOTRUN -> [ABORT][48] ([Intel XE#5466] / [Intel XE#5530])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
* igt@xe_oa@stress-open-close:
- shard-adlp: NOTRUN -> [SKIP][49] ([Intel XE#3573])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_oa@stress-open-close.html
* igt@xe_oa@unprivileged-single-ctx-counters:
- shard-dg2-set2: NOTRUN -> [SKIP][50] ([Intel XE#3573]) +1 other test skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@xe_oa@unprivileged-single-ctx-counters.html
* igt@xe_pat@display-vs-wb-transient:
- shard-adlp: NOTRUN -> [SKIP][51] ([Intel XE#1337] / [Intel XE#5572])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_pat@display-vs-wb-transient.html
* igt@xe_pm_residency@gt-c6-freeze@gt0:
- shard-adlp: [PASS][52] -> [DMESG-WARN][53] ([Intel XE#2953] / [Intel XE#3088] / [Intel XE#4173]) +1 other test dmesg-warn
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-4/igt@xe_pm_residency@gt-c6-freeze@gt0.html
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-3/igt@xe_pm_residency@gt-c6-freeze@gt0.html
#### Possible fixes ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [INCOMPLETE][54] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345] / [Intel XE#6168]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-hdmi-a-6:
- shard-dg2-set2: [INCOMPLETE][56] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#6168]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-hdmi-a-6.html
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-hdmi-a-6.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-dp-4:
- shard-dg2-set2: [INCOMPLETE][58] ([Intel XE#6168]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-dp-4.html
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-hdmi-a-6:
- shard-dg2-set2: [DMESG-WARN][60] ([Intel XE#1727] / [Intel XE#3113]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-hdmi-a-6.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-hdmi-a-6.html
* igt@kms_flip@dpms-off-confusion:
- shard-adlp: [DMESG-WARN][62] ([Intel XE#4543]) -> [PASS][63] +1 other test pass
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-6/igt@kms_flip@dpms-off-confusion.html
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-6/igt@kms_flip@dpms-off-confusion.html
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [FAIL][64] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-adlp: [DMESG-WARN][66] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][67] +5 other tests pass
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-4/igt@kms_flip@flip-vs-suspend-interruptible.html
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-1/igt@kms_flip@flip-vs-suspend-interruptible.html
* igt@xe_pmu@engine-activity-accuracy-90:
- shard-lnl: [FAIL][68] ([Intel XE#6251]) -> [PASS][69] +4 other tests pass
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-lnl-4/igt@xe_pmu@engine-activity-accuracy-90.html
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-lnl-3/igt@xe_pmu@engine-activity-accuracy-90.html
#### Warnings ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [INCOMPLETE][70] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345] / [Intel XE#6168]) -> [INCOMPLETE][71] ([Intel XE#2705] / [Intel XE#4212] / [Intel XE#4345])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-433/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][72] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][73] ([Intel XE#301])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-dg2-set2: [SKIP][74] ([Intel XE#1500]) -> [SKIP][75] ([Intel XE#362])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-dg2-466/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-dg2-463/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
* igt@xe_sriov_scheduling@equal-throughput:
- shard-adlp: [DMESG-FAIL][76] ([Intel XE#3868] / [Intel XE#5213]) -> [DMESG-FAIL][77] ([Intel XE#3868] / [Intel XE#5213] / [Intel XE#5545]) +1 other test dmesg-fail
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a/shard-adlp-1/igt@xe_sriov_scheduling@equal-throughput.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/shard-adlp-9/igt@xe_sriov_scheduling@equal-throughput.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1337]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1337
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1500]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1500
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#2360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2360
[Intel XE#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2925]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2925
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3088]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3088
[Intel XE#310]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/310
[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#356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/356
[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#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3862]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3862
[Intel XE#3868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3868
[Intel XE#3908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3908
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4212]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4212
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
[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#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#5213]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5213
[Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
[Intel XE#5503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5503
[Intel XE#5530]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5530
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5561]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5561
[Intel XE#5572]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5572
[Intel XE#5575]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5575
[Intel XE#6014]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6014
[Intel XE#6168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6168
[Intel XE#6251]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6251
[Intel XE#6299]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6299
[Intel XE#6360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6360
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
Build changes
-------------
* Linux: xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a -> xe-pw-157852v1
IGT_8636: 254cd102396ff95d61f2ebe49fc09128878bf483 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4134-13909978d70fc4ded88b778a313b68ad86ba881a: 13909978d70fc4ded88b778a313b68ad86ba881a
xe-pw-157852v1: 157852v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v1/index.html
[-- Attachment #2: Type: text/html, Size: 29429 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* ✗ CI.checkpatch: warning for drm/i915: Walk crtcs in pipe order (rev2)
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (5 preceding siblings ...)
2025-11-20 21:50 ` ✗ Xe.CI.Full: failure for " Patchwork
@ 2025-11-20 22:49 ` Patchwork
2025-11-20 22:50 ` ✓ CI.KUnit: success " Patchwork
2025-11-20 23:29 ` ✓ Xe.CI.BAT: " Patchwork
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 22:49 UTC (permalink / raw)
To: Ville Syrjala; +Cc: intel-xe
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order (rev2)
URL : https://patchwork.freedesktop.org/series/157852/
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
2de9a3901bc28757c7906b454717b64e2a214021
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6d692204380792bb7c66ad27ca5031f81147460d
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date: Thu Nov 20 21:21:37 2025 +0200
drm/i915: Walk crtcs in pipe order
Currently our crtcs are registered in pipe order, and thus
all the for_intel_crtc*() iterators walk the crtcs in pipe
order. There are a bunch of places that more or less depend
on that. Eg. during plane updates and such we want joined
pipes to be processed back-to-back to give a better chance
of an atomic update across the whole set.
When we start to register crtcs in a different order we don't
want to change the order in which the pipes get handled.
Decouple the for_each_intel_crtc*() iterators from the crtc
registration order by using a separate list which will be
sorted by the pipe rather than the crtc index.
We could priobably use a simple array or something, but that
would require some kind of extra iterator variable for the
macros, and thus would require a lot more changes. Using
a linked list keeps the fallout minimal. We can look at
using a more optimal data structure later.
I also added this extra junk to the atomic state iterators:
"(__i) = drm_crtc_index(&(crtc)->base), (void)(__i)"
even though the macro itself no longer needs the "__i" iterator.
This in case the "__i" is used by the caller, and to
avoid compiler warnings if it's completely unused now.
v2: Flip the pipe comparison (Jani)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
+ /mt/dim checkpatch 3d718db04a365cc44a3bc81ffa4db7bbd2e645d7 drm-intel
6d6922043807 drm/i915: Walk crtcs in pipe order
-:118: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#118: FILE: drivers/gpu/drm/i915/display/intel_display.h:251:
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:118: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#118: FILE: drivers/gpu/drm/i915/display/intel_display.h:251:
+#define for_each_intel_crtc_in_pipe_mask(dev, crtc, pipe_mask) \
+ for_each_intel_crtc((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
-:127: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#127: FILE: drivers/gpu/drm/i915/display/intel_display.h:255:
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:127: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#127: FILE: drivers/gpu/drm/i915/display/intel_display.h:255:
+#define for_each_intel_crtc_in_pipe_mask_reverse(dev, crtc, pipe_mask) \
+ for_each_intel_crtc_reverse((dev), (crtc)) \
+ for_each_if((pipe_mask) & BIT((crtc)->pipe))
-:175: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#175: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:175: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#175: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:175: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#175: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:175: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#175: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+#define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc))))
-:180: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#180: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:180: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#180: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:180: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#180: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:180: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#180: FILE: drivers/gpu/drm/i915/display/intel_display.h:321:
+#define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:185: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#185: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at
file-scope, where C disallows code (it must be in functions). See
$exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope,
like DECLARE_PER_CPU. These might just compile with a do-while-0
wrapper, but would be incorrect. Most of these are handled by
detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an
expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:185: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__state' - possible side-effects?
#185: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:185: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc' - possible side-effects?
#185: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:185: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#185: FILE: drivers/gpu/drm/i915/display/intel_display.h:326:
+#define for_each_new_intel_crtc_in_state_reverse(__state, crtc, new_crtc_state, __i) \
+ for_each_intel_crtc_reverse((__state)->base.dev, (crtc)) \
+ for_each_if(((__i) = drm_crtc_index(&(crtc)->base), (void)(__i), \
+ (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
-:200: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#200: FILE: drivers/gpu/drm/i915/display/intel_display.h:334:
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
-:213: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#213: FILE: drivers/gpu/drm/i915/display/intel_display.h:340:
+ (old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
total: 5 errors, 2 warnings, 11 checks, 193 lines checked
^ permalink raw reply [flat|nested] 11+ messages in thread
* ✓ CI.KUnit: success for drm/i915: Walk crtcs in pipe order (rev2)
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (6 preceding siblings ...)
2025-11-20 22:49 ` ✗ CI.checkpatch: warning for drm/i915: Walk crtcs in pipe order (rev2) Patchwork
@ 2025-11-20 22:50 ` Patchwork
2025-11-20 23:29 ` ✓ Xe.CI.BAT: " Patchwork
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 22:50 UTC (permalink / raw)
To: Ville Syrjala; +Cc: intel-xe
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order (rev2)
URL : https://patchwork.freedesktop.org/series/157852/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[22:49:40] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[22:49:44] 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
[22:50:14] Starting KUnit Kernel (1/1)...
[22:50:14] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:50:14] ================== guc_buf (11 subtests) ===================
[22:50:14] [PASSED] test_smallest
[22:50:14] [PASSED] test_largest
[22:50:14] [PASSED] test_granular
[22:50:14] [PASSED] test_unique
[22:50:14] [PASSED] test_overlap
[22:50:14] [PASSED] test_reusable
[22:50:14] [PASSED] test_too_big
[22:50:14] [PASSED] test_flush
[22:50:14] [PASSED] test_lookup
[22:50:14] [PASSED] test_data
[22:50:14] [PASSED] test_class
[22:50:14] ===================== [PASSED] guc_buf =====================
[22:50:14] =================== guc_dbm (7 subtests) ===================
[22:50:14] [PASSED] test_empty
[22:50:14] [PASSED] test_default
[22:50:14] ======================== test_size ========================
[22:50:14] [PASSED] 4
[22:50:14] [PASSED] 8
[22:50:14] [PASSED] 32
[22:50:14] [PASSED] 256
[22:50:14] ==================== [PASSED] test_size ====================
[22:50:14] ======================= test_reuse ========================
[22:50:14] [PASSED] 4
[22:50:14] [PASSED] 8
[22:50:14] [PASSED] 32
[22:50:14] [PASSED] 256
[22:50:14] =================== [PASSED] test_reuse ====================
[22:50:14] =================== test_range_overlap ====================
[22:50:14] [PASSED] 4
[22:50:14] [PASSED] 8
[22:50:14] [PASSED] 32
[22:50:14] [PASSED] 256
[22:50:14] =============== [PASSED] test_range_overlap ================
[22:50:14] =================== test_range_compact ====================
[22:50:14] [PASSED] 4
[22:50:14] [PASSED] 8
[22:50:14] [PASSED] 32
[22:50:14] [PASSED] 256
[22:50:14] =============== [PASSED] test_range_compact ================
[22:50:14] ==================== test_range_spare =====================
[22:50:14] [PASSED] 4
[22:50:14] [PASSED] 8
[22:50:14] [PASSED] 32
[22:50:14] [PASSED] 256
[22:50:14] ================ [PASSED] test_range_spare =================
[22:50:14] ===================== [PASSED] guc_dbm =====================
[22:50:14] =================== guc_idm (6 subtests) ===================
[22:50:14] [PASSED] bad_init
[22:50:14] [PASSED] no_init
[22:50:14] [PASSED] init_fini
[22:50:14] [PASSED] check_used
[22:50:14] [PASSED] check_quota
[22:50:14] [PASSED] check_all
[22:50:14] ===================== [PASSED] guc_idm =====================
[22:50:14] ================== no_relay (3 subtests) ===================
[22:50:14] [PASSED] xe_drops_guc2pf_if_not_ready
[22:50:14] [PASSED] xe_drops_guc2vf_if_not_ready
[22:50:14] [PASSED] xe_rejects_send_if_not_ready
[22:50:14] ==================== [PASSED] no_relay =====================
[22:50:14] ================== pf_relay (14 subtests) ==================
[22:50:14] [PASSED] pf_rejects_guc2pf_too_short
[22:50:14] [PASSED] pf_rejects_guc2pf_too_long
[22:50:14] [PASSED] pf_rejects_guc2pf_no_payload
[22:50:14] [PASSED] pf_fails_no_payload
[22:50:14] [PASSED] pf_fails_bad_origin
[22:50:14] [PASSED] pf_fails_bad_type
[22:50:14] [PASSED] pf_txn_reports_error
[22:50:14] [PASSED] pf_txn_sends_pf2guc
[22:50:14] [PASSED] pf_sends_pf2guc
[22:50:14] [SKIPPED] pf_loopback_nop
[22:50:14] [SKIPPED] pf_loopback_echo
[22:50:14] [SKIPPED] pf_loopback_fail
[22:50:14] [SKIPPED] pf_loopback_busy
[22:50:14] [SKIPPED] pf_loopback_retry
[22:50:14] ==================== [PASSED] pf_relay =====================
[22:50:14] ================== vf_relay (3 subtests) ===================
[22:50:14] [PASSED] vf_rejects_guc2vf_too_short
[22:50:14] [PASSED] vf_rejects_guc2vf_too_long
[22:50:14] [PASSED] vf_rejects_guc2vf_no_payload
[22:50:14] ==================== [PASSED] vf_relay =====================
[22:50:14] ================ pf_gt_config (6 subtests) =================
[22:50:14] [PASSED] fair_contexts_1vf
[22:50:14] [PASSED] fair_doorbells_1vf
[22:50:14] [PASSED] fair_ggtt_1vf
[22:50:14] ====================== fair_contexts ======================
[22:50:14] [PASSED] 1 VF
[22:50:14] [PASSED] 2 VFs
[22:50:14] [PASSED] 3 VFs
[22:50:14] [PASSED] 4 VFs
[22:50:14] [PASSED] 5 VFs
[22:50:14] [PASSED] 6 VFs
[22:50:14] [PASSED] 7 VFs
[22:50:14] [PASSED] 8 VFs
[22:50:14] [PASSED] 9 VFs
[22:50:14] [PASSED] 10 VFs
[22:50:14] [PASSED] 11 VFs
[22:50:14] [PASSED] 12 VFs
[22:50:14] [PASSED] 13 VFs
[22:50:14] [PASSED] 14 VFs
[22:50:14] [PASSED] 15 VFs
[22:50:14] [PASSED] 16 VFs
[22:50:14] [PASSED] 17 VFs
[22:50:14] [PASSED] 18 VFs
[22:50:14] [PASSED] 19 VFs
[22:50:14] [PASSED] 20 VFs
[22:50:14] [PASSED] 21 VFs
[22:50:14] [PASSED] 22 VFs
[22:50:14] [PASSED] 23 VFs
[22:50:14] [PASSED] 24 VFs
[22:50:14] [PASSED] 25 VFs
[22:50:14] [PASSED] 26 VFs
[22:50:14] [PASSED] 27 VFs
[22:50:14] [PASSED] 28 VFs
[22:50:14] [PASSED] 29 VFs
[22:50:14] [PASSED] 30 VFs
[22:50:14] [PASSED] 31 VFs
[22:50:14] [PASSED] 32 VFs
[22:50:14] [PASSED] 33 VFs
[22:50:14] [PASSED] 34 VFs
[22:50:14] [PASSED] 35 VFs
[22:50:14] [PASSED] 36 VFs
[22:50:14] [PASSED] 37 VFs
[22:50:14] [PASSED] 38 VFs
[22:50:14] [PASSED] 39 VFs
[22:50:14] [PASSED] 40 VFs
[22:50:14] [PASSED] 41 VFs
[22:50:14] [PASSED] 42 VFs
[22:50:14] [PASSED] 43 VFs
[22:50:14] [PASSED] 44 VFs
[22:50:14] [PASSED] 45 VFs
[22:50:14] [PASSED] 46 VFs
[22:50:14] [PASSED] 47 VFs
[22:50:14] [PASSED] 48 VFs
[22:50:14] [PASSED] 49 VFs
[22:50:14] [PASSED] 50 VFs
[22:50:14] [PASSED] 51 VFs
[22:50:14] [PASSED] 52 VFs
[22:50:14] [PASSED] 53 VFs
[22:50:14] [PASSED] 54 VFs
[22:50:14] [PASSED] 55 VFs
[22:50:14] [PASSED] 56 VFs
[22:50:14] [PASSED] 57 VFs
[22:50:14] [PASSED] 58 VFs
[22:50:14] [PASSED] 59 VFs
[22:50:14] [PASSED] 60 VFs
[22:50:14] [PASSED] 61 VFs
[22:50:14] [PASSED] 62 VFs
[22:50:14] [PASSED] 63 VFs
[22:50:14] ================== [PASSED] fair_contexts ==================
[22:50:14] ===================== fair_doorbells ======================
[22:50:14] [PASSED] 1 VF
[22:50:14] [PASSED] 2 VFs
[22:50:14] [PASSED] 3 VFs
[22:50:14] [PASSED] 4 VFs
[22:50:14] [PASSED] 5 VFs
[22:50:14] [PASSED] 6 VFs
[22:50:14] [PASSED] 7 VFs
[22:50:14] [PASSED] 8 VFs
[22:50:14] [PASSED] 9 VFs
[22:50:14] [PASSED] 10 VFs
[22:50:14] [PASSED] 11 VFs
[22:50:14] [PASSED] 12 VFs
[22:50:14] [PASSED] 13 VFs
[22:50:14] [PASSED] 14 VFs
[22:50:14] [PASSED] 15 VFs
[22:50:14] [PASSED] 16 VFs
[22:50:14] [PASSED] 17 VFs
[22:50:14] [PASSED] 18 VFs
[22:50:14] [PASSED] 19 VFs
[22:50:14] [PASSED] 20 VFs
[22:50:14] [PASSED] 21 VFs
[22:50:14] [PASSED] 22 VFs
[22:50:14] [PASSED] 23 VFs
[22:50:14] [PASSED] 24 VFs
[22:50:14] [PASSED] 25 VFs
[22:50:14] [PASSED] 26 VFs
[22:50:14] [PASSED] 27 VFs
[22:50:14] [PASSED] 28 VFs
[22:50:14] [PASSED] 29 VFs
[22:50:14] [PASSED] 30 VFs
[22:50:14] [PASSED] 31 VFs
[22:50:14] [PASSED] 32 VFs
[22:50:14] [PASSED] 33 VFs
[22:50:14] [PASSED] 34 VFs
[22:50:14] [PASSED] 35 VFs
[22:50:14] [PASSED] 36 VFs
[22:50:14] [PASSED] 37 VFs
[22:50:14] [PASSED] 38 VFs
[22:50:14] [PASSED] 39 VFs
[22:50:14] [PASSED] 40 VFs
[22:50:14] [PASSED] 41 VFs
[22:50:14] [PASSED] 42 VFs
[22:50:14] [PASSED] 43 VFs
[22:50:14] [PASSED] 44 VFs
[22:50:14] [PASSED] 45 VFs
[22:50:14] [PASSED] 46 VFs
[22:50:14] [PASSED] 47 VFs
[22:50:14] [PASSED] 48 VFs
[22:50:14] [PASSED] 49 VFs
[22:50:14] [PASSED] 50 VFs
[22:50:14] [PASSED] 51 VFs
[22:50:14] [PASSED] 52 VFs
[22:50:14] [PASSED] 53 VFs
[22:50:14] [PASSED] 54 VFs
[22:50:14] [PASSED] 55 VFs
[22:50:14] [PASSED] 56 VFs
[22:50:14] [PASSED] 57 VFs
[22:50:14] [PASSED] 58 VFs
[22:50:15] [PASSED] 59 VFs
[22:50:15] [PASSED] 60 VFs
[22:50:15] [PASSED] 61 VFs
[22:50:15] [PASSED] 62 VFs
[22:50:15] [PASSED] 63 VFs
[22:50:15] ================= [PASSED] fair_doorbells ==================
[22:50:15] ======================== fair_ggtt ========================
[22:50:15] [PASSED] 1 VF
[22:50:15] [PASSED] 2 VFs
[22:50:15] [PASSED] 3 VFs
[22:50:15] [PASSED] 4 VFs
[22:50:15] [PASSED] 5 VFs
[22:50:15] [PASSED] 6 VFs
[22:50:15] [PASSED] 7 VFs
[22:50:15] [PASSED] 8 VFs
[22:50:15] [PASSED] 9 VFs
[22:50:15] [PASSED] 10 VFs
[22:50:15] [PASSED] 11 VFs
[22:50:15] [PASSED] 12 VFs
[22:50:15] [PASSED] 13 VFs
[22:50:15] [PASSED] 14 VFs
[22:50:15] [PASSED] 15 VFs
[22:50:15] [PASSED] 16 VFs
[22:50:15] [PASSED] 17 VFs
[22:50:15] [PASSED] 18 VFs
[22:50:15] [PASSED] 19 VFs
[22:50:15] [PASSED] 20 VFs
[22:50:15] [PASSED] 21 VFs
[22:50:15] [PASSED] 22 VFs
[22:50:15] [PASSED] 23 VFs
[22:50:15] [PASSED] 24 VFs
[22:50:15] [PASSED] 25 VFs
[22:50:15] [PASSED] 26 VFs
[22:50:15] [PASSED] 27 VFs
[22:50:15] [PASSED] 28 VFs
[22:50:15] [PASSED] 29 VFs
[22:50:15] [PASSED] 30 VFs
[22:50:15] [PASSED] 31 VFs
[22:50:15] [PASSED] 32 VFs
[22:50:15] [PASSED] 33 VFs
[22:50:15] [PASSED] 34 VFs
[22:50:15] [PASSED] 35 VFs
[22:50:15] [PASSED] 36 VFs
[22:50:15] [PASSED] 37 VFs
[22:50:15] [PASSED] 38 VFs
[22:50:15] [PASSED] 39 VFs
[22:50:15] [PASSED] 40 VFs
[22:50:15] [PASSED] 41 VFs
[22:50:15] [PASSED] 42 VFs
[22:50:15] [PASSED] 43 VFs
[22:50:15] [PASSED] 44 VFs
[22:50:15] [PASSED] 45 VFs
[22:50:15] [PASSED] 46 VFs
[22:50:15] [PASSED] 47 VFs
[22:50:15] [PASSED] 48 VFs
[22:50:15] [PASSED] 49 VFs
[22:50:15] [PASSED] 50 VFs
[22:50:15] [PASSED] 51 VFs
[22:50:15] [PASSED] 52 VFs
[22:50:15] [PASSED] 53 VFs
[22:50:15] [PASSED] 54 VFs
[22:50:15] [PASSED] 55 VFs
[22:50:15] [PASSED] 56 VFs
[22:50:15] [PASSED] 57 VFs
[22:50:15] [PASSED] 58 VFs
[22:50:15] [PASSED] 59 VFs
[22:50:15] [PASSED] 60 VFs
[22:50:15] [PASSED] 61 VFs
[22:50:15] [PASSED] 62 VFs
[22:50:15] [PASSED] 63 VFs
[22:50:15] ==================== [PASSED] fair_ggtt ====================
[22:50:15] ================== [PASSED] pf_gt_config ===================
[22:50:15] ===================== lmtt (1 subtest) =====================
[22:50:15] ======================== test_ops =========================
[22:50:15] [PASSED] 2-level
[22:50:15] [PASSED] multi-level
[22:50:15] ==================== [PASSED] test_ops =====================
[22:50:15] ====================== [PASSED] lmtt =======================
[22:50:15] ================= pf_service (11 subtests) =================
[22:50:15] [PASSED] pf_negotiate_any
[22:50:15] [PASSED] pf_negotiate_base_match
[22:50:15] [PASSED] pf_negotiate_base_newer
[22:50:15] [PASSED] pf_negotiate_base_next
[22:50:15] [SKIPPED] pf_negotiate_base_older
[22:50:15] [PASSED] pf_negotiate_base_prev
[22:50:15] [PASSED] pf_negotiate_latest_match
[22:50:15] [PASSED] pf_negotiate_latest_newer
[22:50:15] [PASSED] pf_negotiate_latest_next
[22:50:15] [SKIPPED] pf_negotiate_latest_older
[22:50:15] [SKIPPED] pf_negotiate_latest_prev
[22:50:15] =================== [PASSED] pf_service ====================
[22:50:15] ================= xe_guc_g2g (2 subtests) ==================
[22:50:15] ============== xe_live_guc_g2g_kunit_default ==============
[22:50:15] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[22:50:15] ============== xe_live_guc_g2g_kunit_allmem ===============
[22:50:15] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[22:50:15] =================== [SKIPPED] xe_guc_g2g ===================
[22:50:15] =================== xe_mocs (2 subtests) ===================
[22:50:15] ================ xe_live_mocs_kernel_kunit ================
[22:50:15] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[22:50:15] ================ xe_live_mocs_reset_kunit =================
[22:50:15] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[22:50:15] ==================== [SKIPPED] xe_mocs =====================
[22:50:15] ================= xe_migrate (2 subtests) ==================
[22:50:15] ================= xe_migrate_sanity_kunit =================
[22:50:15] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[22:50:15] ================== xe_validate_ccs_kunit ==================
[22:50:15] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[22:50:15] =================== [SKIPPED] xe_migrate ===================
[22:50:15] ================== xe_dma_buf (1 subtest) ==================
[22:50:15] ==================== xe_dma_buf_kunit =====================
[22:50:15] ================ [SKIPPED] xe_dma_buf_kunit ================
[22:50:15] =================== [SKIPPED] xe_dma_buf ===================
[22:50:15] ================= xe_bo_shrink (1 subtest) =================
[22:50:15] =================== xe_bo_shrink_kunit ====================
[22:50:15] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[22:50:15] ================== [SKIPPED] xe_bo_shrink ==================
[22:50:15] ==================== xe_bo (2 subtests) ====================
[22:50:15] ================== xe_ccs_migrate_kunit ===================
[22:50:15] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[22:50:15] ==================== xe_bo_evict_kunit ====================
[22:50:15] =============== [SKIPPED] xe_bo_evict_kunit ================
[22:50:15] ===================== [SKIPPED] xe_bo ======================
[22:50:15] ==================== args (11 subtests) ====================
[22:50:15] [PASSED] count_args_test
[22:50:15] [PASSED] call_args_example
[22:50:15] [PASSED] call_args_test
[22:50:15] [PASSED] drop_first_arg_example
[22:50:15] [PASSED] drop_first_arg_test
[22:50:15] [PASSED] first_arg_example
[22:50:15] [PASSED] first_arg_test
[22:50:15] [PASSED] last_arg_example
[22:50:15] [PASSED] last_arg_test
[22:50:15] [PASSED] pick_arg_example
[22:50:15] [PASSED] sep_comma_example
[22:50:15] ====================== [PASSED] args =======================
[22:50:15] =================== xe_pci (3 subtests) ====================
[22:50:15] ==================== check_graphics_ip ====================
[22:50:15] [PASSED] 12.00 Xe_LP
[22:50:15] [PASSED] 12.10 Xe_LP+
[22:50:15] [PASSED] 12.55 Xe_HPG
[22:50:15] [PASSED] 12.60 Xe_HPC
[22:50:15] [PASSED] 12.70 Xe_LPG
[22:50:15] [PASSED] 12.71 Xe_LPG
[22:50:15] [PASSED] 12.74 Xe_LPG+
[22:50:15] [PASSED] 20.01 Xe2_HPG
[22:50:15] [PASSED] 20.02 Xe2_HPG
[22:50:15] [PASSED] 20.04 Xe2_LPG
[22:50:15] [PASSED] 30.00 Xe3_LPG
[22:50:15] [PASSED] 30.01 Xe3_LPG
[22:50:15] [PASSED] 30.03 Xe3_LPG
[22:50:15] [PASSED] 30.04 Xe3_LPG
[22:50:15] [PASSED] 30.05 Xe3_LPG
[22:50:15] [PASSED] 35.11 Xe3p_XPC
[22:50:15] ================ [PASSED] check_graphics_ip ================
[22:50:15] ===================== check_media_ip ======================
[22:50:15] [PASSED] 12.00 Xe_M
[22:50:15] [PASSED] 12.55 Xe_HPM
[22:50:15] [PASSED] 13.00 Xe_LPM+
[22:50:15] [PASSED] 13.01 Xe2_HPM
[22:50:15] [PASSED] 20.00 Xe2_LPM
[22:50:15] [PASSED] 30.00 Xe3_LPM
[22:50:15] [PASSED] 30.02 Xe3_LPM
[22:50:15] [PASSED] 35.00 Xe3p_LPM
[22:50:15] [PASSED] 35.03 Xe3p_HPM
[22:50:15] ================= [PASSED] check_media_ip ==================
[22:50:15] =================== check_platform_desc ===================
[22:50:15] [PASSED] 0x9A60 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A68 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A70 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A40 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A49 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A59 (TIGERLAKE)
[22:50:15] [PASSED] 0x9A78 (TIGERLAKE)
[22:50:15] [PASSED] 0x9AC0 (TIGERLAKE)
[22:50:15] [PASSED] 0x9AC9 (TIGERLAKE)
[22:50:15] [PASSED] 0x9AD9 (TIGERLAKE)
[22:50:15] [PASSED] 0x9AF8 (TIGERLAKE)
[22:50:15] [PASSED] 0x4C80 (ROCKETLAKE)
[22:50:15] [PASSED] 0x4C8A (ROCKETLAKE)
[22:50:15] [PASSED] 0x4C8B (ROCKETLAKE)
[22:50:15] [PASSED] 0x4C8C (ROCKETLAKE)
[22:50:15] [PASSED] 0x4C90 (ROCKETLAKE)
[22:50:15] [PASSED] 0x4C9A (ROCKETLAKE)
[22:50:15] [PASSED] 0x4680 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4682 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4688 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x468A (ALDERLAKE_S)
[22:50:15] [PASSED] 0x468B (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4690 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4692 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4693 (ALDERLAKE_S)
[22:50:15] [PASSED] 0x46A0 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46A1 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46A2 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46A3 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46A6 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46A8 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46AA (ALDERLAKE_P)
[22:50:15] [PASSED] 0x462A (ALDERLAKE_P)
[22:50:15] [PASSED] 0x4626 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x4628 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46B0 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[22:50:15] [PASSED] 0x46B1 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46B2 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46B3 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46C0 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46C1 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46C2 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46C3 (ALDERLAKE_P)
[22:50:15] [PASSED] 0x46D0 (ALDERLAKE_N)
[22:50:15] [PASSED] 0x46D1 (ALDERLAKE_N)
[22:50:15] [PASSED] 0x46D2 (ALDERLAKE_N)
[22:50:15] [PASSED] 0x46D3 (ALDERLAKE_N)
[22:50:15] [PASSED] 0x46D4 (ALDERLAKE_N)
[22:50:15] [PASSED] 0xA721 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7A1 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7A9 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7AC (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7AD (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA720 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7A0 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7A8 (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7AA (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA7AB (ALDERLAKE_P)
[22:50:15] [PASSED] 0xA780 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA781 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA782 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA783 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA788 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA789 (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA78A (ALDERLAKE_S)
[22:50:15] [PASSED] 0xA78B (ALDERLAKE_S)
[22:50:15] [PASSED] 0x4905 (DG1)
[22:50:15] [PASSED] 0x4906 (DG1)
[22:50:15] [PASSED] 0x4907 (DG1)
[22:50:15] [PASSED] 0x4908 (DG1)
[22:50:15] [PASSED] 0x4909 (DG1)
[22:50:15] [PASSED] 0x56C0 (DG2)
[22:50:15] [PASSED] 0x56C2 (DG2)
[22:50:15] [PASSED] 0x56C1 (DG2)
[22:50:15] [PASSED] 0x7D51 (METEORLAKE)
[22:50:15] [PASSED] 0x7DD1 (METEORLAKE)
[22:50:15] [PASSED] 0x7D41 (METEORLAKE)
[22:50:15] [PASSED] 0x7D67 (METEORLAKE)
[22:50:15] [PASSED] 0xB640 (METEORLAKE)
[22:50:15] [PASSED] 0x56A0 (DG2)
[22:50:15] [PASSED] 0x56A1 (DG2)
[22:50:15] [PASSED] 0x56A2 (DG2)
[22:50:15] [PASSED] 0x56BE (DG2)
[22:50:15] [PASSED] 0x56BF (DG2)
[22:50:15] [PASSED] 0x5690 (DG2)
[22:50:15] [PASSED] 0x5691 (DG2)
[22:50:15] [PASSED] 0x5692 (DG2)
[22:50:15] [PASSED] 0x56A5 (DG2)
[22:50:15] [PASSED] 0x56A6 (DG2)
[22:50:15] [PASSED] 0x56B0 (DG2)
[22:50:15] [PASSED] 0x56B1 (DG2)
[22:50:15] [PASSED] 0x56BA (DG2)
[22:50:15] [PASSED] 0x56BB (DG2)
[22:50:15] [PASSED] 0x56BC (DG2)
[22:50:15] [PASSED] 0x56BD (DG2)
[22:50:15] [PASSED] 0x5693 (DG2)
[22:50:15] [PASSED] 0x5694 (DG2)
[22:50:15] [PASSED] 0x5695 (DG2)
[22:50:15] [PASSED] 0x56A3 (DG2)
[22:50:15] [PASSED] 0x56A4 (DG2)
[22:50:15] [PASSED] 0x56B2 (DG2)
[22:50:15] [PASSED] 0x56B3 (DG2)
[22:50:15] [PASSED] 0x5696 (DG2)
[22:50:15] [PASSED] 0x5697 (DG2)
[22:50:15] [PASSED] 0xB69 (PVC)
[22:50:15] [PASSED] 0xB6E (PVC)
[22:50:15] [PASSED] 0xBD4 (PVC)
[22:50:15] [PASSED] 0xBD5 (PVC)
[22:50:15] [PASSED] 0xBD6 (PVC)
[22:50:15] [PASSED] 0xBD7 (PVC)
[22:50:15] [PASSED] 0xBD8 (PVC)
[22:50:15] [PASSED] 0xBD9 (PVC)
[22:50:15] [PASSED] 0xBDA (PVC)
[22:50:15] [PASSED] 0xBDB (PVC)
[22:50:15] [PASSED] 0xBE0 (PVC)
[22:50:15] [PASSED] 0xBE1 (PVC)
[22:50:15] [PASSED] 0xBE5 (PVC)
[22:50:15] [PASSED] 0x7D40 (METEORLAKE)
[22:50:15] [PASSED] 0x7D45 (METEORLAKE)
[22:50:15] [PASSED] 0x7D55 (METEORLAKE)
[22:50:15] [PASSED] 0x7D60 (METEORLAKE)
[22:50:15] [PASSED] 0x7DD5 (METEORLAKE)
[22:50:15] [PASSED] 0x6420 (LUNARLAKE)
[22:50:15] [PASSED] 0x64A0 (LUNARLAKE)
[22:50:15] [PASSED] 0x64B0 (LUNARLAKE)
[22:50:15] [PASSED] 0xE202 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE209 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE20B (BATTLEMAGE)
[22:50:15] [PASSED] 0xE20C (BATTLEMAGE)
[22:50:15] [PASSED] 0xE20D (BATTLEMAGE)
[22:50:15] [PASSED] 0xE210 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE211 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE212 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE216 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE220 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE221 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE222 (BATTLEMAGE)
[22:50:15] [PASSED] 0xE223 (BATTLEMAGE)
[22:50:15] [PASSED] 0xB080 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB081 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB082 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB083 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB084 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB085 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB086 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB087 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB08F (PANTHERLAKE)
[22:50:15] [PASSED] 0xB090 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB0A0 (PANTHERLAKE)
[22:50:15] [PASSED] 0xB0B0 (PANTHERLAKE)
[22:50:15] [PASSED] 0xD740 (NOVALAKE_S)
[22:50:15] [PASSED] 0xD741 (NOVALAKE_S)
[22:50:15] [PASSED] 0xD742 (NOVALAKE_S)
[22:50:15] [PASSED] 0xD743 (NOVALAKE_S)
[22:50:15] [PASSED] 0xD744 (NOVALAKE_S)
[22:50:15] [PASSED] 0xD745 (NOVALAKE_S)
[22:50:15] [PASSED] 0x674C (CRESCENTISLAND)
[22:50:15] [PASSED] 0xFD80 (PANTHERLAKE)
[22:50:15] [PASSED] 0xFD81 (PANTHERLAKE)
[22:50:15] =============== [PASSED] check_platform_desc ===============
[22:50:15] ===================== [PASSED] xe_pci ======================
[22:50:15] =================== xe_rtp (2 subtests) ====================
[22:50:15] =============== xe_rtp_process_to_sr_tests ================
[22:50:15] [PASSED] coalesce-same-reg
[22:50:15] [PASSED] no-match-no-add
[22:50:15] [PASSED] match-or
[22:50:15] [PASSED] match-or-xfail
[22:50:15] [PASSED] no-match-no-add-multiple-rules
[22:50:15] [PASSED] two-regs-two-entries
[22:50:15] [PASSED] clr-one-set-other
[22:50:15] [PASSED] set-field
[22:50:15] [PASSED] conflict-duplicate
[22:50:15] [PASSED] conflict-not-disjoint
[22:50:15] [PASSED] conflict-reg-type
[22:50:15] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[22:50:15] ================== xe_rtp_process_tests ===================
[22:50:15] [PASSED] active1
[22:50:15] [PASSED] active2
[22:50:15] [PASSED] active-inactive
[22:50:15] [PASSED] inactive-active
[22:50:15] [PASSED] inactive-1st_or_active-inactive
[22:50:15] [PASSED] inactive-2nd_or_active-inactive
[22:50:15] [PASSED] inactive-last_or_active-inactive
[22:50:15] [PASSED] inactive-no_or_active-inactive
[22:50:15] ============== [PASSED] xe_rtp_process_tests ===============
[22:50:15] ===================== [PASSED] xe_rtp ======================
[22:50:15] ==================== xe_wa (1 subtest) =====================
[22:50:15] ======================== xe_wa_gt =========================
[22:50:15] [PASSED] TIGERLAKE B0
[22:50:15] [PASSED] DG1 A0
[22:50:15] [PASSED] DG1 B0
[22:50:15] [PASSED] ALDERLAKE_S A0
[22:50:15] [PASSED] ALDERLAKE_S B0
[22:50:15] [PASSED] ALDERLAKE_S C0
[22:50:15] [PASSED] ALDERLAKE_S D0
[22:50:15] [PASSED] ALDERLAKE_P A0
[22:50:15] [PASSED] ALDERLAKE_P B0
[22:50:15] [PASSED] ALDERLAKE_P C0
[22:50:15] [PASSED] ALDERLAKE_S RPLS D0
[22:50:15] [PASSED] ALDERLAKE_P RPLU E0
[22:50:15] [PASSED] DG2 G10 C0
[22:50:15] [PASSED] DG2 G11 B1
[22:50:15] [PASSED] DG2 G12 A1
[22:50:15] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:50:15] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:50:15] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[22:50:15] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[22:50:15] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[22:50:15] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[22:50:15] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[22:50:15] ==================== [PASSED] xe_wa_gt =====================
[22:50:15] ====================== [PASSED] xe_wa ======================
[22:50:15] ============================================================
[22:50:15] Testing complete. Ran 510 tests: passed: 492, skipped: 18
[22:50:15] Elapsed time: 34.903s total, 4.231s configuring, 30.155s building, 0.470s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[22:50:15] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[22:50:16] 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
[22:50:41] Starting KUnit Kernel (1/1)...
[22:50:41] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:50:41] ============ drm_test_pick_cmdline (2 subtests) ============
[22:50:41] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[22:50:41] =============== drm_test_pick_cmdline_named ===============
[22:50:41] [PASSED] NTSC
[22:50:41] [PASSED] NTSC-J
[22:50:41] [PASSED] PAL
[22:50:41] [PASSED] PAL-M
[22:50:41] =========== [PASSED] drm_test_pick_cmdline_named ===========
[22:50:41] ============== [PASSED] drm_test_pick_cmdline ==============
[22:50:41] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[22:50:41] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[22:50:41] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[22:50:41] =========== drm_validate_clone_mode (2 subtests) ===========
[22:50:41] ============== drm_test_check_in_clone_mode ===============
[22:50:41] [PASSED] in_clone_mode
[22:50:41] [PASSED] not_in_clone_mode
[22:50:41] ========== [PASSED] drm_test_check_in_clone_mode ===========
[22:50:41] =============== drm_test_check_valid_clones ===============
[22:50:41] [PASSED] not_in_clone_mode
[22:50:41] [PASSED] valid_clone
[22:50:41] [PASSED] invalid_clone
[22:50:41] =========== [PASSED] drm_test_check_valid_clones ===========
[22:50:41] ============= [PASSED] drm_validate_clone_mode =============
[22:50:41] ============= drm_validate_modeset (1 subtest) =============
[22:50:41] [PASSED] drm_test_check_connector_changed_modeset
[22:50:41] ============== [PASSED] drm_validate_modeset ===============
[22:50:41] ====== drm_test_bridge_get_current_state (2 subtests) ======
[22:50:41] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[22:50:41] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[22:50:41] ======== [PASSED] drm_test_bridge_get_current_state ========
[22:50:41] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[22:50:41] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[22:50:41] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[22:50:41] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[22:50:41] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[22:50:41] ============== drm_bridge_alloc (2 subtests) ===============
[22:50:41] [PASSED] drm_test_drm_bridge_alloc_basic
[22:50:41] [PASSED] drm_test_drm_bridge_alloc_get_put
[22:50:41] ================ [PASSED] drm_bridge_alloc =================
[22:50:41] ================== drm_buddy (8 subtests) ==================
[22:50:41] [PASSED] drm_test_buddy_alloc_limit
[22:50:41] [PASSED] drm_test_buddy_alloc_optimistic
[22:50:41] [PASSED] drm_test_buddy_alloc_pessimistic
[22:50:41] [PASSED] drm_test_buddy_alloc_pathological
[22:50:41] [PASSED] drm_test_buddy_alloc_contiguous
[22:50:41] [PASSED] drm_test_buddy_alloc_clear
[22:50:41] [PASSED] drm_test_buddy_alloc_range_bias
[22:50:41] [PASSED] drm_test_buddy_fragmentation_performance
[22:50:41] ==================== [PASSED] drm_buddy ====================
[22:50:41] ============= drm_cmdline_parser (40 subtests) =============
[22:50:41] [PASSED] drm_test_cmdline_force_d_only
[22:50:41] [PASSED] drm_test_cmdline_force_D_only_dvi
[22:50:41] [PASSED] drm_test_cmdline_force_D_only_hdmi
[22:50:41] [PASSED] drm_test_cmdline_force_D_only_not_digital
[22:50:41] [PASSED] drm_test_cmdline_force_e_only
[22:50:41] [PASSED] drm_test_cmdline_res
[22:50:41] [PASSED] drm_test_cmdline_res_vesa
[22:50:41] [PASSED] drm_test_cmdline_res_vesa_rblank
[22:50:41] [PASSED] drm_test_cmdline_res_rblank
[22:50:41] [PASSED] drm_test_cmdline_res_bpp
[22:50:41] [PASSED] drm_test_cmdline_res_refresh
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[22:50:41] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[22:50:41] [PASSED] drm_test_cmdline_res_margins_force_on
[22:50:41] [PASSED] drm_test_cmdline_res_vesa_margins
[22:50:41] [PASSED] drm_test_cmdline_name
[22:50:41] [PASSED] drm_test_cmdline_name_bpp
[22:50:41] [PASSED] drm_test_cmdline_name_option
[22:50:41] [PASSED] drm_test_cmdline_name_bpp_option
[22:50:41] [PASSED] drm_test_cmdline_rotate_0
[22:50:41] [PASSED] drm_test_cmdline_rotate_90
[22:50:41] [PASSED] drm_test_cmdline_rotate_180
[22:50:41] [PASSED] drm_test_cmdline_rotate_270
[22:50:41] [PASSED] drm_test_cmdline_hmirror
[22:50:41] [PASSED] drm_test_cmdline_vmirror
[22:50:41] [PASSED] drm_test_cmdline_margin_options
[22:50:41] [PASSED] drm_test_cmdline_multiple_options
[22:50:41] [PASSED] drm_test_cmdline_bpp_extra_and_option
[22:50:41] [PASSED] drm_test_cmdline_extra_and_option
[22:50:41] [PASSED] drm_test_cmdline_freestanding_options
[22:50:41] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[22:50:41] [PASSED] drm_test_cmdline_panel_orientation
[22:50:41] ================ drm_test_cmdline_invalid =================
[22:50:41] [PASSED] margin_only
[22:50:41] [PASSED] interlace_only
[22:50:41] [PASSED] res_missing_x
[22:50:41] [PASSED] res_missing_y
[22:50:41] [PASSED] res_bad_y
[22:50:41] [PASSED] res_missing_y_bpp
[22:50:41] [PASSED] res_bad_bpp
[22:50:41] [PASSED] res_bad_refresh
[22:50:41] [PASSED] res_bpp_refresh_force_on_off
[22:50:41] [PASSED] res_invalid_mode
[22:50:41] [PASSED] res_bpp_wrong_place_mode
[22:50:41] [PASSED] name_bpp_refresh
[22:50:41] [PASSED] name_refresh
[22:50:41] [PASSED] name_refresh_wrong_mode
[22:50:41] [PASSED] name_refresh_invalid_mode
[22:50:41] [PASSED] rotate_multiple
[22:50:41] [PASSED] rotate_invalid_val
[22:50:41] [PASSED] rotate_truncated
[22:50:41] [PASSED] invalid_option
[22:50:41] [PASSED] invalid_tv_option
[22:50:41] [PASSED] truncated_tv_option
[22:50:41] ============ [PASSED] drm_test_cmdline_invalid =============
[22:50:41] =============== drm_test_cmdline_tv_options ===============
[22:50:41] [PASSED] NTSC
[22:50:41] [PASSED] NTSC_443
[22:50:41] [PASSED] NTSC_J
[22:50:41] [PASSED] PAL
[22:50:41] [PASSED] PAL_M
[22:50:41] [PASSED] PAL_N
[22:50:41] [PASSED] SECAM
[22:50:41] [PASSED] MONO_525
[22:50:41] [PASSED] MONO_625
[22:50:41] =========== [PASSED] drm_test_cmdline_tv_options ===========
[22:50:41] =============== [PASSED] drm_cmdline_parser ================
[22:50:41] ========== drmm_connector_hdmi_init (20 subtests) ==========
[22:50:41] [PASSED] drm_test_connector_hdmi_init_valid
[22:50:41] [PASSED] drm_test_connector_hdmi_init_bpc_8
[22:50:41] [PASSED] drm_test_connector_hdmi_init_bpc_10
[22:50:41] [PASSED] drm_test_connector_hdmi_init_bpc_12
[22:50:41] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[22:50:41] [PASSED] drm_test_connector_hdmi_init_bpc_null
[22:50:41] [PASSED] drm_test_connector_hdmi_init_formats_empty
[22:50:41] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[22:50:41] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[22:50:41] [PASSED] supported_formats=0x9 yuv420_allowed=1
[22:50:41] [PASSED] supported_formats=0x9 yuv420_allowed=0
[22:50:41] [PASSED] supported_formats=0x3 yuv420_allowed=1
[22:50:41] [PASSED] supported_formats=0x3 yuv420_allowed=0
[22:50:41] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[22:50:41] [PASSED] drm_test_connector_hdmi_init_null_ddc
[22:50:41] [PASSED] drm_test_connector_hdmi_init_null_product
[22:50:41] [PASSED] drm_test_connector_hdmi_init_null_vendor
[22:50:41] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[22:50:41] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[22:50:41] [PASSED] drm_test_connector_hdmi_init_product_valid
[22:50:41] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[22:50:41] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[22:50:41] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[22:50:41] ========= drm_test_connector_hdmi_init_type_valid =========
[22:50:41] [PASSED] HDMI-A
[22:50:41] [PASSED] HDMI-B
[22:50:41] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[22:50:41] ======== drm_test_connector_hdmi_init_type_invalid ========
[22:50:41] [PASSED] Unknown
[22:50:41] [PASSED] VGA
[22:50:41] [PASSED] DVI-I
[22:50:41] [PASSED] DVI-D
[22:50:41] [PASSED] DVI-A
[22:50:41] [PASSED] Composite
[22:50:41] [PASSED] SVIDEO
[22:50:41] [PASSED] LVDS
[22:50:41] [PASSED] Component
[22:50:41] [PASSED] DIN
[22:50:41] [PASSED] DP
[22:50:41] [PASSED] TV
[22:50:41] [PASSED] eDP
[22:50:41] [PASSED] Virtual
[22:50:41] [PASSED] DSI
[22:50:41] [PASSED] DPI
[22:50:41] [PASSED] Writeback
[22:50:41] [PASSED] SPI
[22:50:41] [PASSED] USB
[22:50:41] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[22:50:41] ============ [PASSED] drmm_connector_hdmi_init =============
[22:50:41] ============= drmm_connector_init (3 subtests) =============
[22:50:41] [PASSED] drm_test_drmm_connector_init
[22:50:41] [PASSED] drm_test_drmm_connector_init_null_ddc
[22:50:41] ========= drm_test_drmm_connector_init_type_valid =========
[22:50:41] [PASSED] Unknown
[22:50:41] [PASSED] VGA
[22:50:41] [PASSED] DVI-I
[22:50:41] [PASSED] DVI-D
[22:50:41] [PASSED] DVI-A
[22:50:41] [PASSED] Composite
[22:50:41] [PASSED] SVIDEO
[22:50:41] [PASSED] LVDS
[22:50:41] [PASSED] Component
[22:50:41] [PASSED] DIN
[22:50:41] [PASSED] DP
[22:50:41] [PASSED] HDMI-A
[22:50:41] [PASSED] HDMI-B
[22:50:41] [PASSED] TV
[22:50:41] [PASSED] eDP
[22:50:41] [PASSED] Virtual
[22:50:41] [PASSED] DSI
[22:50:41] [PASSED] DPI
[22:50:41] [PASSED] Writeback
[22:50:41] [PASSED] SPI
[22:50:41] [PASSED] USB
[22:50:41] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[22:50:41] =============== [PASSED] drmm_connector_init ===============
[22:50:41] ========= drm_connector_dynamic_init (6 subtests) ==========
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_init
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_init_properties
[22:50:41] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[22:50:41] [PASSED] Unknown
[22:50:41] [PASSED] VGA
[22:50:41] [PASSED] DVI-I
[22:50:41] [PASSED] DVI-D
[22:50:41] [PASSED] DVI-A
[22:50:41] [PASSED] Composite
[22:50:41] [PASSED] SVIDEO
[22:50:41] [PASSED] LVDS
[22:50:41] [PASSED] Component
[22:50:41] [PASSED] DIN
[22:50:41] [PASSED] DP
[22:50:41] [PASSED] HDMI-A
[22:50:41] [PASSED] HDMI-B
[22:50:41] [PASSED] TV
[22:50:41] [PASSED] eDP
[22:50:41] [PASSED] Virtual
[22:50:41] [PASSED] DSI
[22:50:41] [PASSED] DPI
[22:50:41] [PASSED] Writeback
[22:50:41] [PASSED] SPI
[22:50:41] [PASSED] USB
[22:50:41] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[22:50:41] ======== drm_test_drm_connector_dynamic_init_name =========
[22:50:41] [PASSED] Unknown
[22:50:41] [PASSED] VGA
[22:50:41] [PASSED] DVI-I
[22:50:41] [PASSED] DVI-D
[22:50:41] [PASSED] DVI-A
[22:50:41] [PASSED] Composite
[22:50:41] [PASSED] SVIDEO
[22:50:41] [PASSED] LVDS
[22:50:41] [PASSED] Component
[22:50:41] [PASSED] DIN
[22:50:41] [PASSED] DP
[22:50:41] [PASSED] HDMI-A
[22:50:41] [PASSED] HDMI-B
[22:50:41] [PASSED] TV
[22:50:41] [PASSED] eDP
[22:50:41] [PASSED] Virtual
[22:50:41] [PASSED] DSI
[22:50:41] [PASSED] DPI
[22:50:41] [PASSED] Writeback
[22:50:41] [PASSED] SPI
[22:50:41] [PASSED] USB
[22:50:41] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[22:50:41] =========== [PASSED] drm_connector_dynamic_init ============
[22:50:41] ==== drm_connector_dynamic_register_early (4 subtests) =====
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[22:50:41] ====== [PASSED] drm_connector_dynamic_register_early =======
[22:50:41] ======= drm_connector_dynamic_register (7 subtests) ========
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[22:50:41] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[22:50:41] ========= [PASSED] drm_connector_dynamic_register ==========
[22:50:41] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[22:50:41] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[22:50:41] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[22:50:41] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[22:50:41] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[22:50:41] ========== drm_test_get_tv_mode_from_name_valid ===========
[22:50:41] [PASSED] NTSC
[22:50:41] [PASSED] NTSC-443
[22:50:41] [PASSED] NTSC-J
[22:50:41] [PASSED] PAL
[22:50:41] [PASSED] PAL-M
[22:50:41] [PASSED] PAL-N
[22:50:41] [PASSED] SECAM
[22:50:41] [PASSED] Mono
[22:50:41] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[22:50:41] [PASSED] drm_test_get_tv_mode_from_name_truncated
[22:50:41] ============ [PASSED] drm_get_tv_mode_from_name ============
[22:50:41] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[22:50:41] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[22:50:41] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[22:50:41] [PASSED] VIC 96
[22:50:41] [PASSED] VIC 97
[22:50:41] [PASSED] VIC 101
[22:50:41] [PASSED] VIC 102
[22:50:41] [PASSED] VIC 106
[22:50:41] [PASSED] VIC 107
[22:50:41] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[22:50:41] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[22:50:41] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[22:50:41] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[22:50:41] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[22:50:41] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[22:50:41] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[22:50:41] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[22:50:41] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[22:50:41] [PASSED] Automatic
[22:50:41] [PASSED] Full
[22:50:41] [PASSED] Limited 16:235
[22:50:41] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[22:50:41] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[22:50:41] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[22:50:41] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[22:50:41] === drm_test_drm_hdmi_connector_get_output_format_name ====
[22:50:41] [PASSED] RGB
[22:50:41] [PASSED] YUV 4:2:0
[22:50:41] [PASSED] YUV 4:2:2
[22:50:41] [PASSED] YUV 4:4:4
[22:50:41] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[22:50:41] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[22:50:41] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[22:50:41] ============= drm_damage_helper (21 subtests) ==============
[22:50:41] [PASSED] drm_test_damage_iter_no_damage
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_src_moved
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_not_visible
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[22:50:41] [PASSED] drm_test_damage_iter_no_damage_no_fb
[22:50:41] [PASSED] drm_test_damage_iter_simple_damage
[22:50:41] [PASSED] drm_test_damage_iter_single_damage
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_outside_src
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_src_moved
[22:50:41] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[22:50:41] [PASSED] drm_test_damage_iter_damage
[22:50:41] [PASSED] drm_test_damage_iter_damage_one_intersect
[22:50:41] [PASSED] drm_test_damage_iter_damage_one_outside
[22:50:41] [PASSED] drm_test_damage_iter_damage_src_moved
[22:50:41] [PASSED] drm_test_damage_iter_damage_not_visible
[22:50:41] ================ [PASSED] drm_damage_helper ================
[22:50:41] ============== drm_dp_mst_helper (3 subtests) ==============
[22:50:41] ============== drm_test_dp_mst_calc_pbn_mode ==============
[22:50:41] [PASSED] Clock 154000 BPP 30 DSC disabled
[22:50:41] [PASSED] Clock 234000 BPP 30 DSC disabled
[22:50:41] [PASSED] Clock 297000 BPP 24 DSC disabled
[22:50:41] [PASSED] Clock 332880 BPP 24 DSC enabled
[22:50:41] [PASSED] Clock 324540 BPP 24 DSC enabled
[22:50:41] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[22:50:41] ============== drm_test_dp_mst_calc_pbn_div ===============
[22:50:41] [PASSED] Link rate 2000000 lane count 4
[22:50:41] [PASSED] Link rate 2000000 lane count 2
[22:50:41] [PASSED] Link rate 2000000 lane count 1
[22:50:41] [PASSED] Link rate 1350000 lane count 4
[22:50:41] [PASSED] Link rate 1350000 lane count 2
[22:50:41] [PASSED] Link rate 1350000 lane count 1
[22:50:41] [PASSED] Link rate 1000000 lane count 4
[22:50:41] [PASSED] Link rate 1000000 lane count 2
[22:50:41] [PASSED] Link rate 1000000 lane count 1
[22:50:41] [PASSED] Link rate 810000 lane count 4
[22:50:41] [PASSED] Link rate 810000 lane count 2
[22:50:41] [PASSED] Link rate 810000 lane count 1
[22:50:41] [PASSED] Link rate 540000 lane count 4
[22:50:41] [PASSED] Link rate 540000 lane count 2
[22:50:41] [PASSED] Link rate 540000 lane count 1
[22:50:41] [PASSED] Link rate 270000 lane count 4
[22:50:41] [PASSED] Link rate 270000 lane count 2
[22:50:41] [PASSED] Link rate 270000 lane count 1
[22:50:41] [PASSED] Link rate 162000 lane count 4
[22:50:41] [PASSED] Link rate 162000 lane count 2
[22:50:41] [PASSED] Link rate 162000 lane count 1
[22:50:41] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[22:50:41] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[22:50:41] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[22:50:41] [PASSED] DP_POWER_UP_PHY with port number
[22:50:41] [PASSED] DP_POWER_DOWN_PHY with port number
[22:50:41] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[22:50:41] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[22:50:41] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[22:50:41] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[22:50:41] [PASSED] DP_QUERY_PAYLOAD with port number
[22:50:41] [PASSED] DP_QUERY_PAYLOAD with VCPI
[22:50:41] [PASSED] DP_REMOTE_DPCD_READ with port number
[22:50:41] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[22:50:41] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[22:50:41] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[22:50:41] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[22:50:41] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[22:50:41] [PASSED] DP_REMOTE_I2C_READ with port number
[22:50:41] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[22:50:41] [PASSED] DP_REMOTE_I2C_READ with transactions array
[22:50:41] [PASSED] DP_REMOTE_I2C_WRITE with port number
[22:50:41] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[22:50:41] [PASSED] DP_REMOTE_I2C_WRITE with data array
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[22:50:41] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[22:50:41] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[22:50:41] ================ [PASSED] drm_dp_mst_helper ================
[22:50:41] ================== drm_exec (7 subtests) ===================
[22:50:41] [PASSED] sanitycheck
[22:50:41] [PASSED] test_lock
[22:50:41] [PASSED] test_lock_unlock
[22:50:41] [PASSED] test_duplicates
[22:50:41] [PASSED] test_prepare
[22:50:41] [PASSED] test_prepare_array
[22:50:41] [PASSED] test_multiple_loops
[22:50:41] ==================== [PASSED] drm_exec =====================
[22:50:41] =========== drm_format_helper_test (17 subtests) ===========
[22:50:41] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[22:50:41] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[22:50:41] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[22:50:41] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[22:50:41] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[22:50:41] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[22:50:41] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[22:50:41] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[22:50:41] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[22:50:41] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[22:50:41] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[22:50:41] ============== drm_test_fb_xrgb8888_to_mono ===============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[22:50:41] ==================== drm_test_fb_swab =====================
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ================ [PASSED] drm_test_fb_swab =================
[22:50:41] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[22:50:41] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[22:50:41] [PASSED] single_pixel_source_buffer
[22:50:41] [PASSED] single_pixel_clip_rectangle
[22:50:41] [PASSED] well_known_colors
[22:50:41] [PASSED] destination_pitch
[22:50:41] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[22:50:41] ================= drm_test_fb_clip_offset =================
[22:50:41] [PASSED] pass through
[22:50:41] [PASSED] horizontal offset
[22:50:41] [PASSED] vertical offset
[22:50:41] [PASSED] horizontal and vertical offset
[22:50:41] [PASSED] horizontal offset (custom pitch)
[22:50:41] [PASSED] vertical offset (custom pitch)
[22:50:41] [PASSED] horizontal and vertical offset (custom pitch)
[22:50:41] ============= [PASSED] drm_test_fb_clip_offset =============
[22:50:41] =================== drm_test_fb_memcpy ====================
[22:50:41] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[22:50:41] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[22:50:41] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[22:50:41] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[22:50:41] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[22:50:41] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[22:50:41] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[22:50:41] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[22:50:42] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[22:50:42] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[22:50:42] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[22:50:42] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[22:50:42] =============== [PASSED] drm_test_fb_memcpy ================
[22:50:42] ============= [PASSED] drm_format_helper_test ==============
[22:50:42] ================= drm_format (18 subtests) =================
[22:50:42] [PASSED] drm_test_format_block_width_invalid
[22:50:42] [PASSED] drm_test_format_block_width_one_plane
[22:50:42] [PASSED] drm_test_format_block_width_two_plane
[22:50:42] [PASSED] drm_test_format_block_width_three_plane
[22:50:42] [PASSED] drm_test_format_block_width_tiled
[22:50:42] [PASSED] drm_test_format_block_height_invalid
[22:50:42] [PASSED] drm_test_format_block_height_one_plane
[22:50:42] [PASSED] drm_test_format_block_height_two_plane
[22:50:42] [PASSED] drm_test_format_block_height_three_plane
[22:50:42] [PASSED] drm_test_format_block_height_tiled
[22:50:42] [PASSED] drm_test_format_min_pitch_invalid
[22:50:42] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[22:50:42] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[22:50:42] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[22:50:42] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[22:50:42] [PASSED] drm_test_format_min_pitch_two_plane
[22:50:42] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[22:50:42] [PASSED] drm_test_format_min_pitch_tiled
[22:50:42] =================== [PASSED] drm_format ====================
[22:50:42] ============== drm_framebuffer (10 subtests) ===============
[22:50:42] ========== drm_test_framebuffer_check_src_coords ==========
[22:50:42] [PASSED] Success: source fits into fb
[22:50:42] [PASSED] Fail: overflowing fb with x-axis coordinate
[22:50:42] [PASSED] Fail: overflowing fb with y-axis coordinate
[22:50:42] [PASSED] Fail: overflowing fb with source width
[22:50:42] [PASSED] Fail: overflowing fb with source height
[22:50:42] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[22:50:42] [PASSED] drm_test_framebuffer_cleanup
[22:50:42] =============== drm_test_framebuffer_create ===============
[22:50:42] [PASSED] ABGR8888 normal sizes
[22:50:42] [PASSED] ABGR8888 max sizes
[22:50:42] [PASSED] ABGR8888 pitch greater than min required
[22:50:42] [PASSED] ABGR8888 pitch less than min required
[22:50:42] [PASSED] ABGR8888 Invalid width
[22:50:42] [PASSED] ABGR8888 Invalid buffer handle
[22:50:42] [PASSED] No pixel format
[22:50:42] [PASSED] ABGR8888 Width 0
[22:50:42] [PASSED] ABGR8888 Height 0
[22:50:42] [PASSED] ABGR8888 Out of bound height * pitch combination
[22:50:42] [PASSED] ABGR8888 Large buffer offset
[22:50:42] [PASSED] ABGR8888 Buffer offset for inexistent plane
[22:50:42] [PASSED] ABGR8888 Invalid flag
[22:50:42] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[22:50:42] [PASSED] ABGR8888 Valid buffer modifier
[22:50:42] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[22:50:42] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] NV12 Normal sizes
[22:50:42] [PASSED] NV12 Max sizes
[22:50:42] [PASSED] NV12 Invalid pitch
[22:50:42] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[22:50:42] [PASSED] NV12 different modifier per-plane
[22:50:42] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[22:50:42] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] NV12 Modifier for inexistent plane
[22:50:42] [PASSED] NV12 Handle for inexistent plane
[22:50:42] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[22:50:42] [PASSED] YVU420 Normal sizes
[22:50:42] [PASSED] YVU420 Max sizes
[22:50:42] [PASSED] YVU420 Invalid pitch
[22:50:42] [PASSED] YVU420 Different pitches
[22:50:42] [PASSED] YVU420 Different buffer offsets/pitches
[22:50:42] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[22:50:42] [PASSED] YVU420 Valid modifier
[22:50:42] [PASSED] YVU420 Different modifiers per plane
[22:50:42] [PASSED] YVU420 Modifier for inexistent plane
[22:50:42] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[22:50:42] [PASSED] X0L2 Normal sizes
[22:50:42] [PASSED] X0L2 Max sizes
[22:50:42] [PASSED] X0L2 Invalid pitch
[22:50:42] [PASSED] X0L2 Pitch greater than minimum required
[22:50:42] [PASSED] X0L2 Handle for inexistent plane
[22:50:42] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[22:50:42] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[22:50:42] [PASSED] X0L2 Valid modifier
[22:50:42] [PASSED] X0L2 Modifier for inexistent plane
[22:50:42] =========== [PASSED] drm_test_framebuffer_create ===========
[22:50:42] [PASSED] drm_test_framebuffer_free
[22:50:42] [PASSED] drm_test_framebuffer_init
[22:50:42] [PASSED] drm_test_framebuffer_init_bad_format
[22:50:42] [PASSED] drm_test_framebuffer_init_dev_mismatch
[22:50:42] [PASSED] drm_test_framebuffer_lookup
[22:50:42] [PASSED] drm_test_framebuffer_lookup_inexistent
[22:50:42] [PASSED] drm_test_framebuffer_modifiers_not_supported
[22:50:42] ================= [PASSED] drm_framebuffer =================
[22:50:42] ================ drm_gem_shmem (8 subtests) ================
[22:50:42] [PASSED] drm_gem_shmem_test_obj_create
[22:50:42] [PASSED] drm_gem_shmem_test_obj_create_private
[22:50:42] [PASSED] drm_gem_shmem_test_pin_pages
[22:50:42] [PASSED] drm_gem_shmem_test_vmap
[22:50:42] [PASSED] drm_gem_shmem_test_get_pages_sgt
[22:50:42] [PASSED] drm_gem_shmem_test_get_sg_table
[22:50:42] [PASSED] drm_gem_shmem_test_madvise
[22:50:42] [PASSED] drm_gem_shmem_test_purge
[22:50:42] ================== [PASSED] drm_gem_shmem ==================
[22:50:42] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[22:50:42] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[22:50:42] [PASSED] Automatic
[22:50:42] [PASSED] Full
[22:50:42] [PASSED] Limited 16:235
[22:50:42] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[22:50:42] [PASSED] drm_test_check_disable_connector
[22:50:42] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[22:50:42] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[22:50:42] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[22:50:42] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[22:50:42] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[22:50:42] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[22:50:42] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[22:50:42] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[22:50:42] [PASSED] drm_test_check_output_bpc_dvi
[22:50:42] [PASSED] drm_test_check_output_bpc_format_vic_1
[22:50:42] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[22:50:42] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[22:50:42] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[22:50:42] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[22:50:42] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[22:50:42] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[22:50:42] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[22:50:42] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[22:50:42] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[22:50:42] [PASSED] drm_test_check_broadcast_rgb_value
[22:50:42] [PASSED] drm_test_check_bpc_8_value
[22:50:42] [PASSED] drm_test_check_bpc_10_value
[22:50:42] [PASSED] drm_test_check_bpc_12_value
[22:50:42] [PASSED] drm_test_check_format_value
[22:50:42] [PASSED] drm_test_check_tmds_char_value
[22:50:42] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[22:50:42] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[22:50:42] [PASSED] drm_test_check_mode_valid
[22:50:42] [PASSED] drm_test_check_mode_valid_reject
[22:50:42] [PASSED] drm_test_check_mode_valid_reject_rate
[22:50:42] [PASSED] drm_test_check_mode_valid_reject_max_clock
[22:50:42] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[22:50:42] ================= drm_managed (2 subtests) =================
[22:50:42] [PASSED] drm_test_managed_release_action
[22:50:42] [PASSED] drm_test_managed_run_action
[22:50:42] =================== [PASSED] drm_managed ===================
[22:50:42] =================== drm_mm (6 subtests) ====================
[22:50:42] [PASSED] drm_test_mm_init
[22:50:42] [PASSED] drm_test_mm_debug
[22:50:42] [PASSED] drm_test_mm_align32
[22:50:42] [PASSED] drm_test_mm_align64
[22:50:42] [PASSED] drm_test_mm_lowest
[22:50:42] [PASSED] drm_test_mm_highest
[22:50:42] ===================== [PASSED] drm_mm ======================
[22:50:42] ============= drm_modes_analog_tv (5 subtests) =============
[22:50:42] [PASSED] drm_test_modes_analog_tv_mono_576i
[22:50:42] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[22:50:42] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[22:50:42] [PASSED] drm_test_modes_analog_tv_pal_576i
[22:50:42] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[22:50:42] =============== [PASSED] drm_modes_analog_tv ===============
[22:50:42] ============== drm_plane_helper (2 subtests) ===============
[22:50:42] =============== drm_test_check_plane_state ================
[22:50:42] [PASSED] clipping_simple
[22:50:42] [PASSED] clipping_rotate_reflect
[22:50:42] [PASSED] positioning_simple
[22:50:42] [PASSED] upscaling
[22:50:42] [PASSED] downscaling
[22:50:42] [PASSED] rounding1
[22:50:42] [PASSED] rounding2
[22:50:42] [PASSED] rounding3
[22:50:42] [PASSED] rounding4
[22:50:42] =========== [PASSED] drm_test_check_plane_state ============
[22:50:42] =========== drm_test_check_invalid_plane_state ============
[22:50:42] [PASSED] positioning_invalid
[22:50:42] [PASSED] upscaling_invalid
[22:50:42] [PASSED] downscaling_invalid
[22:50:42] ======= [PASSED] drm_test_check_invalid_plane_state ========
[22:50:42] ================ [PASSED] drm_plane_helper =================
[22:50:42] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[22:50:42] ====== drm_test_connector_helper_tv_get_modes_check =======
[22:50:42] [PASSED] None
[22:50:42] [PASSED] PAL
[22:50:42] [PASSED] NTSC
[22:50:42] [PASSED] Both, NTSC Default
[22:50:42] [PASSED] Both, PAL Default
[22:50:42] [PASSED] Both, NTSC Default, with PAL on command-line
[22:50:42] [PASSED] Both, PAL Default, with NTSC on command-line
[22:50:42] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[22:50:42] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[22:50:42] ================== drm_rect (9 subtests) ===================
[22:50:42] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[22:50:42] [PASSED] drm_test_rect_clip_scaled_not_clipped
[22:50:42] [PASSED] drm_test_rect_clip_scaled_clipped
[22:50:42] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[22:50:42] ================= drm_test_rect_intersect =================
[22:50:42] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[22:50:42] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[22:50:42] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[22:50:42] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[22:50:42] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[22:50:42] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[22:50:42] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[22:50:42] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[22:50:42] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[22:50:42] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[22:50:42] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[22:50:42] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[22:50:42] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[22:50:42] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[22:50:42] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[22:50:42] ============= [PASSED] drm_test_rect_intersect =============
[22:50:42] ================ drm_test_rect_calc_hscale ================
[22:50:42] [PASSED] normal use
[22:50:42] [PASSED] out of max range
[22:50:42] [PASSED] out of min range
[22:50:42] [PASSED] zero dst
[22:50:42] [PASSED] negative src
[22:50:42] [PASSED] negative dst
[22:50:42] ============ [PASSED] drm_test_rect_calc_hscale ============
[22:50:42] ================ drm_test_rect_calc_vscale ================
[22:50:42] [PASSED] normal use
stty: 'standard input': Inappropriate ioctl for device
[22:50:42] [PASSED] out of max range
[22:50:42] [PASSED] out of min range
[22:50:42] [PASSED] zero dst
[22:50:42] [PASSED] negative src
[22:50:42] [PASSED] negative dst
[22:50:42] ============ [PASSED] drm_test_rect_calc_vscale ============
[22:50:42] ================== drm_test_rect_rotate ===================
[22:50:42] [PASSED] reflect-x
[22:50:42] [PASSED] reflect-y
[22:50:42] [PASSED] rotate-0
[22:50:42] [PASSED] rotate-90
[22:50:42] [PASSED] rotate-180
[22:50:42] [PASSED] rotate-270
[22:50:42] ============== [PASSED] drm_test_rect_rotate ===============
[22:50:42] ================ drm_test_rect_rotate_inv =================
[22:50:42] [PASSED] reflect-x
[22:50:42] [PASSED] reflect-y
[22:50:42] [PASSED] rotate-0
[22:50:42] [PASSED] rotate-90
[22:50:42] [PASSED] rotate-180
[22:50:42] [PASSED] rotate-270
[22:50:42] ============ [PASSED] drm_test_rect_rotate_inv =============
[22:50:42] ==================== [PASSED] drm_rect =====================
[22:50:42] ============ drm_sysfb_modeset_test (1 subtest) ============
[22:50:42] ============ drm_test_sysfb_build_fourcc_list =============
[22:50:42] [PASSED] no native formats
[22:50:42] [PASSED] XRGB8888 as native format
[22:50:42] [PASSED] remove duplicates
[22:50:42] [PASSED] convert alpha formats
[22:50:42] [PASSED] random formats
[22:50:42] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[22:50:42] ============= [PASSED] drm_sysfb_modeset_test ==============
[22:50:42] ============================================================
[22:50:42] Testing complete. Ran 622 tests: passed: 622
[22:50:42] Elapsed time: 26.802s total, 1.636s configuring, 24.693s building, 0.445s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[22:50:42] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[22:50:43] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[22:50:53] Starting KUnit Kernel (1/1)...
[22:50:53] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:50:53] ================= ttm_device (5 subtests) ==================
[22:50:53] [PASSED] ttm_device_init_basic
[22:50:53] [PASSED] ttm_device_init_multiple
[22:50:53] [PASSED] ttm_device_fini_basic
[22:50:53] [PASSED] ttm_device_init_no_vma_man
[22:50:53] ================== ttm_device_init_pools ==================
[22:50:53] [PASSED] No DMA allocations, no DMA32 required
[22:50:53] [PASSED] DMA allocations, DMA32 required
[22:50:53] [PASSED] No DMA allocations, DMA32 required
[22:50:53] [PASSED] DMA allocations, no DMA32 required
[22:50:53] ============== [PASSED] ttm_device_init_pools ==============
[22:50:53] =================== [PASSED] ttm_device ====================
[22:50:53] ================== ttm_pool (8 subtests) ===================
[22:50:53] ================== ttm_pool_alloc_basic ===================
[22:50:53] [PASSED] One page
[22:50:53] [PASSED] More than one page
[22:50:53] [PASSED] Above the allocation limit
[22:50:53] [PASSED] One page, with coherent DMA mappings enabled
[22:50:53] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[22:50:53] ============== [PASSED] ttm_pool_alloc_basic ===============
[22:50:53] ============== ttm_pool_alloc_basic_dma_addr ==============
[22:50:53] [PASSED] One page
[22:50:53] [PASSED] More than one page
[22:50:53] [PASSED] Above the allocation limit
[22:50:53] [PASSED] One page, with coherent DMA mappings enabled
[22:50:53] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[22:50:53] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[22:50:53] [PASSED] ttm_pool_alloc_order_caching_match
[22:50:53] [PASSED] ttm_pool_alloc_caching_mismatch
[22:50:53] [PASSED] ttm_pool_alloc_order_mismatch
[22:50:53] [PASSED] ttm_pool_free_dma_alloc
[22:50:53] [PASSED] ttm_pool_free_no_dma_alloc
[22:50:53] [PASSED] ttm_pool_fini_basic
[22:50:53] ==================== [PASSED] ttm_pool =====================
[22:50:53] ================ ttm_resource (8 subtests) =================
[22:50:53] ================= ttm_resource_init_basic =================
[22:50:53] [PASSED] Init resource in TTM_PL_SYSTEM
[22:50:53] [PASSED] Init resource in TTM_PL_VRAM
[22:50:53] [PASSED] Init resource in a private placement
[22:50:53] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[22:50:53] ============= [PASSED] ttm_resource_init_basic =============
[22:50:53] [PASSED] ttm_resource_init_pinned
[22:50:53] [PASSED] ttm_resource_fini_basic
[22:50:53] [PASSED] ttm_resource_manager_init_basic
[22:50:53] [PASSED] ttm_resource_manager_usage_basic
[22:50:53] [PASSED] ttm_resource_manager_set_used_basic
[22:50:53] [PASSED] ttm_sys_man_alloc_basic
[22:50:53] [PASSED] ttm_sys_man_free_basic
[22:50:53] ================== [PASSED] ttm_resource ===================
[22:50:53] =================== ttm_tt (15 subtests) ===================
[22:50:53] ==================== ttm_tt_init_basic ====================
[22:50:53] [PASSED] Page-aligned size
[22:50:53] [PASSED] Extra pages requested
[22:50:53] ================ [PASSED] ttm_tt_init_basic ================
[22:50:53] [PASSED] ttm_tt_init_misaligned
[22:50:53] [PASSED] ttm_tt_fini_basic
[22:50:53] [PASSED] ttm_tt_fini_sg
[22:50:53] [PASSED] ttm_tt_fini_shmem
[22:50:53] [PASSED] ttm_tt_create_basic
[22:50:53] [PASSED] ttm_tt_create_invalid_bo_type
[22:50:53] [PASSED] ttm_tt_create_ttm_exists
[22:50:53] [PASSED] ttm_tt_create_failed
[22:50:53] [PASSED] ttm_tt_destroy_basic
[22:50:53] [PASSED] ttm_tt_populate_null_ttm
[22:50:53] [PASSED] ttm_tt_populate_populated_ttm
[22:50:53] [PASSED] ttm_tt_unpopulate_basic
[22:50:53] [PASSED] ttm_tt_unpopulate_empty_ttm
[22:50:53] [PASSED] ttm_tt_swapin_basic
[22:50:53] ===================== [PASSED] ttm_tt ======================
[22:50:53] =================== ttm_bo (14 subtests) ===================
[22:50:53] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[22:50:53] [PASSED] Cannot be interrupted and sleeps
[22:50:53] [PASSED] Cannot be interrupted, locks straight away
[22:50:53] [PASSED] Can be interrupted, sleeps
[22:50:53] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[22:50:53] [PASSED] ttm_bo_reserve_locked_no_sleep
[22:50:53] [PASSED] ttm_bo_reserve_no_wait_ticket
[22:50:53] [PASSED] ttm_bo_reserve_double_resv
[22:50:53] [PASSED] ttm_bo_reserve_interrupted
[22:50:53] [PASSED] ttm_bo_reserve_deadlock
[22:50:53] [PASSED] ttm_bo_unreserve_basic
[22:50:53] [PASSED] ttm_bo_unreserve_pinned
[22:50:53] [PASSED] ttm_bo_unreserve_bulk
[22:50:53] [PASSED] ttm_bo_fini_basic
[22:50:53] [PASSED] ttm_bo_fini_shared_resv
[22:50:53] [PASSED] ttm_bo_pin_basic
[22:50:53] [PASSED] ttm_bo_pin_unpin_resource
[22:50:53] [PASSED] ttm_bo_multiple_pin_one_unpin
[22:50:53] ===================== [PASSED] ttm_bo ======================
[22:50:53] ============== ttm_bo_validate (21 subtests) ===============
[22:50:53] ============== ttm_bo_init_reserved_sys_man ===============
[22:50:53] [PASSED] Buffer object for userspace
[22:50:53] [PASSED] Kernel buffer object
[22:50:53] [PASSED] Shared buffer object
[22:50:53] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[22:50:53] ============== ttm_bo_init_reserved_mock_man ==============
[22:50:53] [PASSED] Buffer object for userspace
[22:50:53] [PASSED] Kernel buffer object
[22:50:53] [PASSED] Shared buffer object
[22:50:53] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[22:50:53] [PASSED] ttm_bo_init_reserved_resv
[22:50:53] ================== ttm_bo_validate_basic ==================
[22:50:53] [PASSED] Buffer object for userspace
[22:50:53] [PASSED] Kernel buffer object
[22:50:53] [PASSED] Shared buffer object
[22:50:53] ============== [PASSED] ttm_bo_validate_basic ==============
[22:50:53] [PASSED] ttm_bo_validate_invalid_placement
[22:50:53] ============= ttm_bo_validate_same_placement ==============
[22:50:53] [PASSED] System manager
[22:50:53] [PASSED] VRAM manager
[22:50:53] ========= [PASSED] ttm_bo_validate_same_placement ==========
[22:50:53] [PASSED] ttm_bo_validate_failed_alloc
[22:50:53] [PASSED] ttm_bo_validate_pinned
[22:50:53] [PASSED] ttm_bo_validate_busy_placement
[22:50:53] ================ ttm_bo_validate_multihop =================
[22:50:53] [PASSED] Buffer object for userspace
[22:50:53] [PASSED] Kernel buffer object
[22:50:53] [PASSED] Shared buffer object
[22:50:53] ============ [PASSED] ttm_bo_validate_multihop =============
[22:50:53] ========== ttm_bo_validate_no_placement_signaled ==========
[22:50:53] [PASSED] Buffer object in system domain, no page vector
[22:50:53] [PASSED] Buffer object in system domain with an existing page vector
[22:50:53] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[22:50:53] ======== ttm_bo_validate_no_placement_not_signaled ========
[22:50:53] [PASSED] Buffer object for userspace
[22:50:53] [PASSED] Kernel buffer object
[22:50:53] [PASSED] Shared buffer object
[22:50:53] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[22:50:53] [PASSED] ttm_bo_validate_move_fence_signaled
[22:50:53] ========= ttm_bo_validate_move_fence_not_signaled =========
[22:50:53] [PASSED] Waits for GPU
[22:50:53] [PASSED] Tries to lock straight away
[22:50:53] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[22:50:53] [PASSED] ttm_bo_validate_happy_evict
[22:50:53] [PASSED] ttm_bo_validate_all_pinned_evict
[22:50:53] [PASSED] ttm_bo_validate_allowed_only_evict
[22:50:53] [PASSED] ttm_bo_validate_deleted_evict
[22:50:53] [PASSED] ttm_bo_validate_busy_domain_evict
[22:50:53] [PASSED] ttm_bo_validate_evict_gutting
[22:50:53] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[22:50:53] ================= [PASSED] ttm_bo_validate =================
[22:50:53] ============================================================
[22:50:53] Testing complete. Ran 101 tests: passed: 101
[22:50:53] Elapsed time: 11.366s total, 1.726s configuring, 9.424s building, 0.184s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 11+ messages in thread
* ✓ Xe.CI.BAT: success for drm/i915: Walk crtcs in pipe order (rev2)
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
` (7 preceding siblings ...)
2025-11-20 22:50 ` ✓ CI.KUnit: success " Patchwork
@ 2025-11-20 23:29 ` Patchwork
8 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2025-11-20 23:29 UTC (permalink / raw)
To: Ville Syrjala; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 2348 bytes --]
== Series Details ==
Series: drm/i915: Walk crtcs in pipe order (rev2)
URL : https://patchwork.freedesktop.org/series/157852/
State : success
== Summary ==
CI Bug Log - changes from xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7_BAT -> xe-pw-157852v2_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-157852v2_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [TIMEOUT][1] ([Intel XE#6506]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7/bat-dg2-oem2/igt@xe_waitfence@abstime.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v2/bat-dg2-oem2/igt@xe_waitfence@abstime.html
* igt@xe_waitfence@engine:
- bat-dg2-oem2: [FAIL][3] ([Intel XE#6519]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7/bat-dg2-oem2/igt@xe_waitfence@engine.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v2/bat-dg2-oem2/igt@xe_waitfence@engine.html
* igt@xe_waitfence@reltime:
- bat-dg2-oem2: [FAIL][5] ([Intel XE#6520]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7/bat-dg2-oem2/igt@xe_waitfence@reltime.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v2/bat-dg2-oem2/igt@xe_waitfence@reltime.html
[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
[Intel XE#6519]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6519
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
Build changes
-------------
* Linux: xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7 -> xe-pw-157852v2
IGT_8636: 254cd102396ff95d61f2ebe49fc09128878bf483 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4135-3d718db04a365cc44a3bc81ffa4db7bbd2e645d7: 3d718db04a365cc44a3bc81ffa4db7bbd2e645d7
xe-pw-157852v2: 157852v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-157852v2/index.html
[-- Attachment #2: Type: text/html, Size: 2972 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-11-20 23:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20 14:49 [PATCH] drm/i915: Walk crtcs in pipe order Ville Syrjala
2025-11-20 16:45 ` ✗ CI.checkpatch: warning for " Patchwork
2025-11-20 16:46 ` ✓ CI.KUnit: success " Patchwork
2025-11-20 17:43 ` ✓ Xe.CI.BAT: " Patchwork
2025-11-20 17:47 ` [PATCH] " Jani Nikula
2025-11-20 18:42 ` Ville Syrjälä
2025-11-20 19:21 ` [PATCH v2] " Ville Syrjala
2025-11-20 21:50 ` ✗ Xe.CI.Full: failure for " Patchwork
2025-11-20 22:49 ` ✗ CI.checkpatch: warning for drm/i915: Walk crtcs in pipe order (rev2) Patchwork
2025-11-20 22:50 ` ✓ CI.KUnit: success " Patchwork
2025-11-20 23:29 ` ✓ Xe.CI.BAT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).