* [PATCH 01/10] drm/vblank_work: Add methods to schedule vblank_work in 2 stages
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 02/10] drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event Maarten Lankhorst
` (13 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
In case of vblank evasion in intel/display, it's necessary to
perform some work in advance, so the critical section will always run in
constant time on PREEMPT_RT.
By preparing all the work in advance, the part that needs to finish in
constant time only has to write a single variable instead. This allows
PREEMPT_RT to keep the interrupts disabled at the most critical part,
without completely reworking all locks to be raw spinlocks.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/drm_vblank_work.c | 110 +++++++++++++++++++++++-------
include/drm/drm_vblank_work.h | 12 ++++
2 files changed, 96 insertions(+), 26 deletions(-)
diff --git a/drivers/gpu/drm/drm_vblank_work.c b/drivers/gpu/drm/drm_vblank_work.c
index 70f0199251ea0..ed62c189fe041 100644
--- a/drivers/gpu/drm/drm_vblank_work.c
+++ b/drivers/gpu/drm/drm_vblank_work.c
@@ -54,7 +54,8 @@ void drm_handle_vblank_works(struct drm_vblank_crtc *vblank)
assert_spin_locked(&vblank->dev->event_lock);
list_for_each_entry_safe(work, next, &vblank->pending_work, node) {
- if (!drm_vblank_passed(count, work->count))
+ /* READ_ONCE pairs with WRITE_ONCE in drm_vblank_work_enable() */
+ if (!READ_ONCE(work->armed) || !drm_vblank_passed(count, work->count))
continue;
list_del_init(&work->node);
@@ -86,30 +87,8 @@ void drm_vblank_cancel_pending_works(struct drm_vblank_crtc *vblank)
wake_up_all(&vblank->work_wait_queue);
}
-/**
- * drm_vblank_work_schedule - schedule a vblank work
- * @work: vblank work to schedule
- * @count: target vblank count
- * @nextonmiss: defer until the next vblank if target vblank was missed
- *
- * Schedule @work for execution once the crtc vblank count reaches @count.
- *
- * If the crtc vblank count has already reached @count and @nextonmiss is
- * %false the work starts to execute immediately.
- *
- * If the crtc vblank count has already reached @count and @nextonmiss is
- * %true the work is deferred until the next vblank (as if @count has been
- * specified as crtc vblank count + 1).
- *
- * If @work is already scheduled, this function will reschedule said work
- * using the new @count. This can be used for self-rearming work items.
- *
- * Returns:
- * %1 if @work was successfully (re)scheduled, %0 if it was either already
- * scheduled or cancelled, or a negative error code on failure.
- */
-int drm_vblank_work_schedule(struct drm_vblank_work *work,
- u64 count, bool nextonmiss)
+static int __drm_vblank_work_schedule(struct drm_vblank_work *work,
+ u64 count, bool nextonmiss, bool armed)
{
struct drm_vblank_crtc *vblank = work->vblank;
struct drm_device *dev = vblank->dev;
@@ -139,6 +118,7 @@ int drm_vblank_work_schedule(struct drm_vblank_work *work,
rescheduling = true;
}
+ work->armed = armed;
work->count = count;
cur_vbl = drm_vblank_count(dev, vblank->pipe);
passed = drm_vblank_passed(cur_vbl, count);
@@ -147,7 +127,7 @@ int drm_vblank_work_schedule(struct drm_vblank_work *work,
"crtc %d vblank %llu already passed (current %llu)\n",
vblank->pipe, count, cur_vbl);
- if (!nextonmiss && passed) {
+ if (!nextonmiss && passed && armed) {
drm_vblank_put(dev, vblank->pipe);
ret = kthread_queue_work(vblank->worker, &work->base);
@@ -167,8 +147,86 @@ int drm_vblank_work_schedule(struct drm_vblank_work *work,
wake_up_all(&vblank->work_wait_queue);
return ret;
}
+
+/**
+ * drm_vblank_work_schedule - schedule a vblank work
+ * @work: vblank work to schedule
+ * @count: target vblank count
+ * @nextonmiss: defer until the next vblank if target vblank was missed
+ *
+ * Schedule @work for execution once the crtc vblank count reaches @count.
+ *
+ * If the crtc vblank count has already reached @count and @nextonmiss is
+ * %false the work starts to execute immediately.
+ *
+ * If the crtc vblank count has already reached @count and @nextonmiss is
+ * %true the work is deferred until the next vblank (as if @count has been
+ * specified as crtc vblank count + 1).
+ *
+ * If @work is already scheduled, this function will reschedule said work
+ * using the new @count. This can be used for self-rearming work items.
+ *
+ * Returns:
+ * %1 if @work was successfully (re)scheduled, %0 if it was either already
+ * scheduled or cancelled, or a negative error code on failure.
+ */
+int drm_vblank_work_schedule(struct drm_vblank_work *work,
+ u64 count, bool nextonmiss)
+{
+ return __drm_vblank_work_schedule(work, count, nextonmiss, true);
+}
EXPORT_SYMBOL(drm_vblank_work_schedule);
+
+/**
+ * drm_vblank_work_schedule_disabled - schedule a vblank work, withoug enabling
+ * @work: vblank work to schedule
+ * @count: target vblank count
+ *
+ * Schedule @work for execution once the crtc vblank count reaches @count.
+ *
+ * The vblank work will not be scheduled until drm_vblank_work_enable() is called.
+ * If the crtc vblank count has already reached @count, the work will still
+ * not be scheduled until the first following vblank.
+ *
+ * If @work is already scheduled, this function will reschedule said work
+ * using the new @count. This can be used for self-rearming work items.
+ *
+ * Returns:
+ * %1 if @work was successfully (re)scheduled, %0 if it was either already
+ * scheduled or cancelled, or a negative error code on failure.
+ */
+int drm_vblank_work_schedule_disabled(struct drm_vblank_work *work, u64 count)
+{
+ return __drm_vblank_work_schedule(work, count, true, false);
+}
+EXPORT_SYMBOL(drm_vblank_work_schedule_disabled);
+
+/**
+ * drm_vblank_work_enable - enable vblank work
+ * @work: vblank work to enable
+ *
+ * This function is specifically only for when drm_vblank_work_schedule_disabled() is
+ * called. It allows for the work to be armed in any context, without any locks.
+ *
+ * The work will be signalled earliest at the @count argument, if it has been passed,
+ * it will signalled at the next vblank.
+ *
+ * This is particularly useful for PREEMPT_RT, where the spin_lock is converted
+ * into a sleeping rtmutex, and vblank evasion requires some work to be
+ * scheduled on completion with interrupts disabled.
+ */
+void drm_vblank_work_enable(struct drm_vblank_work *work)
+{
+ WARN_ON(work->armed);
+
+ /* Ensure previous writes are visible */
+ smp_wmb();
+
+ WRITE_ONCE(work->armed, true);
+}
+EXPORT_SYMBOL(drm_vblank_work_enable);
+
/**
* drm_vblank_work_cancel_sync - cancel a vblank work and wait for it to
* finish executing
diff --git a/include/drm/drm_vblank_work.h b/include/drm/drm_vblank_work.h
index e04d436b72973..e19351200da24 100644
--- a/include/drm/drm_vblank_work.h
+++ b/include/drm/drm_vblank_work.h
@@ -47,6 +47,14 @@ struct drm_vblank_work {
*/
int cancelling;
+ /**
+ * @armed: If false, the work item has been added to the
+ * drm_vblank_crtc.pending_work list, but will not yet be signalled.
+ *
+ * Call drm_vblank_work_enable() to fire on next vblank.
+ */
+ bool armed;
+
/**
* @node: The position of this work item in
* &drm_vblank_crtc.pending_work.
@@ -64,6 +72,10 @@ struct drm_vblank_work {
int drm_vblank_work_schedule(struct drm_vblank_work *work,
u64 count, bool nextonmiss);
+
+int drm_vblank_work_schedule_disabled(struct drm_vblank_work *work, u64 count);
+void drm_vblank_work_enable(struct drm_vblank_work *work);
+
void drm_vblank_work_init(struct drm_vblank_work *work, struct drm_crtc *crtc,
void (*func)(struct kthread_work *work));
bool drm_vblank_work_cancel_sync(struct drm_vblank_work *work);
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 02/10] drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 01/10] drm/vblank_work: Add methods to schedule vblank_work in 2 stages Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 03/10] drm/intel/display: Make intel_crtc_arm_vblank_event static Maarten Lankhorst
` (12 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
When trying to fix the hardware programming in intel/display, I had
to take all the vblank locks with local_irqs_disabled(). This
required converting the entire vblank code to raw spinlocks.
In the alternative approach, do all preparations in advance, and only
enable the vblank_event with interrupts disabled, this requires only
a simple write and prevents a complete re-architecture of the code.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/drm_vblank.c | 64 +++++++++++++++++++++++++++++++++++-
include/drm/drm_vblank.h | 14 +++++++-
2 files changed, 76 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_vblank.c b/drivers/gpu/drm/drm_vblank.c
index f90fb2d13e423..b52e0215312f8 100644
--- a/drivers/gpu/drm/drm_vblank.c
+++ b/drivers/gpu/drm/drm_vblank.c
@@ -1127,12 +1127,71 @@ void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
assert_spin_locked(&dev->event_lock);
+ WARN_ON(e->postponed);
e->pipe = pipe;
e->sequence = drm_crtc_accurate_vblank_count(crtc) + 1;
list_add_tail(&e->base.link, &dev->vblank_event_list);
}
EXPORT_SYMBOL(drm_crtc_arm_vblank_event);
+/**
+ * drm_crtc_prepare_arm_vblank_event - arm vblank event *before* pageflip.
+ * @crtc: the source CRTC of the vblank event
+ * @e: the event to send
+ *
+ * See drm_crtc_arm_vblank_event(). This function is a 2-stage version of
+ * that call. This function is called *BEFORE* programming the hardware.
+ *
+ * After programming, call drm_crtc_arm_prepared_vblank_event() and the
+ * event will be scheduled on the next vblank.
+ *
+ * This is mainly useful for code that has to run on PREEMPT_RT kernels,
+ * with interrupts disabled, since all vblank spinlocks are converted to
+ * rtmutexes, and code running with irqs disabled cannot take any vblank lock.
+ *
+ * It also increases determinism for any hardware
+ * programming, since no vblank related locks are taking when arming.
+ */
+void drm_crtc_prepare_arm_vblank_event(struct drm_crtc *crtc,
+ struct drm_pending_vblank_event *e)
+{
+ drm_crtc_arm_vblank_event(crtc, e);
+
+ /* Set the flag, so that the event is not fired yet */
+ e->postponed = true;
+}
+EXPORT_SYMBOL(drm_crtc_prepare_arm_vblank_event);
+
+/**
+ * drm_crtc_arm_prepared_vblank_event - arm prepared vblank event *after* pageflip.
+ * @crtc: the source CRTC of the vblank event
+ * @e: the event to send
+ *
+ * See drm_crtc_prepare_arm_vblank_event(). This function is a 2-stage version of
+ * that call. This function is called directly *AFTER* programming the hardware.
+ *
+ * Before this function is called, drm_crtc_prepare_arm_vblank_event() should be
+ * called instead.
+ *
+ * This is mainly useful for code that has to run on PREEMPT_RT kernels,
+ * with interrupts disabled, since all vblank spinlocks are converted to
+ * rtmutexes, and code running with irqs disabled cannot take any vblank lock.
+ *
+ * It also increases determinism for any hardware
+ * programming, since no vblank related locks are taking when arming.
+ */
+void drm_crtc_arm_prepared_vblank_event(struct drm_pending_vblank_event *e)
+{
+ WARN_ON(!e->postponed);
+
+ /* Ensure previous writes are visible */
+ smp_wmb();
+
+ /* remove the flag to be processed as a normal event */
+ WRITE_ONCE(e->postponed, false);
+}
+EXPORT_SYMBOL(drm_crtc_arm_prepared_vblank_event);
+
/**
* drm_crtc_send_vblank_event - helper to send vblank event after pageflip
* @crtc: the source CRTC of the vblank event
@@ -1390,6 +1449,8 @@ void drm_crtc_vblank_off(struct drm_crtc *crtc)
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
if (e->pipe != pipe)
continue;
+
+ WARN_ON(e->postponed);
drm_dbg_core(dev, "Sending premature vblank event on disable: "
"wanted %llu, current %llu\n",
e->sequence, seq);
@@ -1892,7 +1953,8 @@ static void drm_handle_vblank_events(struct drm_device *dev, unsigned int pipe)
seq = drm_vblank_count_and_time(dev, pipe, &now);
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
- if (e->pipe != pipe)
+ /* Matches WRITE_ONCE in drm_crtc_arm_prepared_vblank_event() */
+ if (e->pipe != pipe || READ_ONCE(e->postponed))
continue;
if (!drm_vblank_passed(seq, e->sequence))
continue;
diff --git a/include/drm/drm_vblank.h b/include/drm/drm_vblank.h
index 2fcef9c0f5b1b..956d5621eb7f9 100644
--- a/include/drm/drm_vblank.h
+++ b/include/drm/drm_vblank.h
@@ -53,6 +53,13 @@ struct drm_pending_vblank_event {
* @sequence: frame event should be triggered at
*/
u64 sequence;
+
+ /**
+ * @postponed: whether drm_crtc_prepare_arm_vblank_event() is called,
+ * and drm_crtc_arm_prepared_vblank_event has yet to be called to arm.
+ */
+ bool postponed;
+
/**
* @event: Actual event which will be sent to userspace.
*/
@@ -294,7 +301,12 @@ int drm_crtc_next_vblank_start(struct drm_crtc *crtc, ktime_t *vblanktime);
void drm_crtc_send_vblank_event(struct drm_crtc *crtc,
struct drm_pending_vblank_event *e);
void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
- struct drm_pending_vblank_event *e);
+ struct drm_pending_vblank_event *e);
+
+void drm_crtc_prepare_arm_vblank_event(struct drm_crtc *crtc,
+ struct drm_pending_vblank_event *e);
+void drm_crtc_arm_prepared_vblank_event(struct drm_pending_vblank_event *e);
+
void drm_vblank_set_event(struct drm_pending_vblank_event *e,
u64 *seq,
ktime_t *now);
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 03/10] drm/intel/display: Make intel_crtc_arm_vblank_event static
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 01/10] drm/vblank_work: Add methods to schedule vblank_work in 2 stages Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 02/10] drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-10 14:20 ` Ville Syrjälä
2026-07-02 7:21 ` [PATCH 04/10] drm/intel/display: Convert vblank event handling to 2-stage arming Maarten Lankhorst
` (11 subsequent siblings)
14 siblings, 1 reply; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
Only used inside intel_crtc.c now, so no need to export it any more.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 2 +-
drivers/gpu/drm/i915/display/intel_crtc.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 10ed9bdfee763..805645318747f 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -684,7 +684,7 @@ static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end)
static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end) {}
#endif
-void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
+static void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
{
struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
unsigned long irqflags;
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.h b/drivers/gpu/drm/i915/display/intel_crtc.h
index 12507b51ee77e..f65cbafe2b42a 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.h
+++ b/drivers/gpu/drm/i915/display/intel_crtc.h
@@ -33,7 +33,6 @@ int intel_usecs_to_scanlines(const struct drm_display_mode *adjusted_mode,
int usecs);
int intel_scanlines_to_usecs(const struct drm_display_mode *adjusted_mode,
int scanlines);
-void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state);
void intel_crtc_prepare_vblank_event(struct intel_crtc_state *crtc_state,
struct drm_pending_vblank_event **event);
u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state);
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* Re: [PATCH 03/10] drm/intel/display: Make intel_crtc_arm_vblank_event static
2026-07-02 7:21 ` [PATCH 03/10] drm/intel/display: Make intel_crtc_arm_vblank_event static Maarten Lankhorst
@ 2026-07-10 14:20 ` Ville Syrjälä
0 siblings, 0 replies; 19+ messages in thread
From: Ville Syrjälä @ 2026-07-10 14:20 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe, intel-gfx, dri-devel
On Thu, Jul 02, 2026 at 09:21:46AM +0200, Maarten Lankhorst wrote:
> Only used inside intel_crtc.c now, so no need to export it any more.
>
> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_crtc.c | 2 +-
> drivers/gpu/drm/i915/display/intel_crtc.h | 1 -
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
> index 10ed9bdfee763..805645318747f 100644
> --- a/drivers/gpu/drm/i915/display/intel_crtc.c
> +++ b/drivers/gpu/drm/i915/display/intel_crtc.c
> @@ -684,7 +684,7 @@ static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end)
> static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end) {}
> #endif
>
> -void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
> +static void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
> {
> struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
> unsigned long irqflags;
> diff --git a/drivers/gpu/drm/i915/display/intel_crtc.h b/drivers/gpu/drm/i915/display/intel_crtc.h
> index 12507b51ee77e..f65cbafe2b42a 100644
> --- a/drivers/gpu/drm/i915/display/intel_crtc.h
> +++ b/drivers/gpu/drm/i915/display/intel_crtc.h
> @@ -33,7 +33,6 @@ int intel_usecs_to_scanlines(const struct drm_display_mode *adjusted_mode,
> int usecs);
> int intel_scanlines_to_usecs(const struct drm_display_mode *adjusted_mode,
> int scanlines);
> -void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state);
> void intel_crtc_prepare_vblank_event(struct intel_crtc_state *crtc_state,
> struct drm_pending_vblank_event **event);
> u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state);
> --
> 2.53.0
--
Ville Syrjälä
Intel
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 04/10] drm/intel/display: Convert vblank event handling to 2-stage arming
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (2 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 03/10] drm/intel/display: Make intel_crtc_arm_vblank_event static Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 05/10] drm/i915/display: Move vblank put until after critical section Maarten Lankhorst
` (10 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
This is converts the vblank functions to be called with interrupts
disabled, even on PREEMPT_RT kernels.
Because the PREEMPT_RT kernel converts all spinlocks to rt-mutexes,
the normal vblank functions cannot be used inside the critical section.
Instead, prepare the vblank at the start, and then enable the vblank
work after the hardware programming is completed.
This allows us to keep programming the hardware with interrupts
disabled, and still schedule completion on PREEMPT_RT on next vblank.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 84 ++++++++++++-----------
1 file changed, 44 insertions(+), 40 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 805645318747f..34a159f7c9a43 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -527,6 +527,10 @@ static void intel_crtc_vblank_work_init(struct intel_crtc_state *crtc_state)
drm_vblank_work_init(&crtc_state->vblank_work, &crtc->base,
intel_crtc_vblank_work);
+
+ drm_vblank_work_schedule_disabled(&crtc_state->vblank_work,
+ drm_crtc_accurate_vblank_count(&crtc->base) + 1);
+
/*
* Interrupt latency is critical for getting the vblank
* work executed as early as possible during the vblank.
@@ -571,6 +575,21 @@ int intel_scanlines_to_usecs(const struct drm_display_mode *adjusted_mode,
adjusted_mode->crtc_clock);
}
+static void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
+{
+ struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+ unsigned long irqflags;
+
+ if (!crtc_state->uapi.event)
+ return;
+
+ drm_WARN_ON(crtc->base.dev, drm_crtc_vblank_get(&crtc->base) != 0);
+
+ spin_lock_irqsave(&crtc->base.dev->event_lock, irqflags);
+ drm_crtc_prepare_arm_vblank_event(&crtc->base, crtc_state->uapi.event);
+ spin_unlock_irqrestore(&crtc->base.dev->event_lock, irqflags);
+}
+
/**
* intel_pipe_update_start() - start update of a set of display registers
* @state: the atomic state
@@ -607,6 +626,8 @@ void intel_pipe_update_start(struct intel_atomic_state *state,
if (intel_crtc_needs_vblank_work(new_crtc_state))
intel_crtc_vblank_work_init(new_crtc_state);
+ else
+ intel_crtc_arm_vblank_event(new_crtc_state);
if (state->base.legacy_cursor_update) {
struct intel_plane *plane;
@@ -684,23 +705,6 @@ static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end)
static void dbg_vblank_evade(struct intel_crtc *crtc, ktime_t end) {}
#endif
-static void intel_crtc_arm_vblank_event(struct intel_crtc_state *crtc_state)
-{
- struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
- unsigned long irqflags;
-
- if (!crtc_state->uapi.event)
- return;
-
- drm_WARN_ON(crtc->base.dev, drm_crtc_vblank_get(&crtc->base) != 0);
-
- spin_lock_irqsave(&crtc->base.dev->event_lock, irqflags);
- drm_crtc_arm_vblank_event(&crtc->base, crtc_state->uapi.event);
- spin_unlock_irqrestore(&crtc->base.dev->event_lock, irqflags);
-
- crtc_state->uapi.event = NULL;
-}
-
void intel_crtc_prepare_vblank_event(struct intel_crtc_state *crtc_state,
struct drm_pending_vblank_event **event)
{
@@ -754,29 +758,10 @@ void intel_pipe_update_end(struct intel_atomic_state *state,
* event outside of the critical section - the spinlock might spin for a
* while ... */
if (intel_crtc_needs_vblank_work(new_crtc_state)) {
- drm_vblank_work_schedule(&new_crtc_state->vblank_work,
- drm_crtc_accurate_vblank_count(&crtc->base) + 1,
- false);
- } else {
- intel_crtc_arm_vblank_event(new_crtc_state);
- }
-
- if (state->base.legacy_cursor_update) {
- struct intel_plane *plane;
- struct intel_plane_state *old_plane_state;
- int i;
-
- for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) {
- if (old_plane_state->hw.crtc == &crtc->base &&
- old_plane_state->unpin_work.vblank) {
- drm_vblank_work_schedule(&old_plane_state->unpin_work,
- drm_crtc_accurate_vblank_count(&crtc->base) + 1,
- false);
-
- /* Remove plane from atomic state, cleanup/free is done from vblank worker. */
- memset(&state->base.planes[i], 0, sizeof(state->base.planes[i]));
- }
- }
+ drm_vblank_work_enable(&new_crtc_state->vblank_work);
+ } else if (new_crtc_state->uapi.event) {
+ drm_crtc_arm_prepared_vblank_event(new_crtc_state->uapi.event);
+ new_crtc_state->uapi.event = NULL;
}
/*
@@ -800,6 +785,25 @@ void intel_pipe_update_end(struct intel_atomic_state *state,
local_irq_enable();
+ /* Run after local_irq_enable(), not timing sensitive */
+ if (state->base.legacy_cursor_update) {
+ struct intel_plane *plane;
+ struct intel_plane_state *old_plane_state;
+ int i;
+
+ for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) {
+ if (old_plane_state->hw.crtc == &crtc->base &&
+ old_plane_state->unpin_work.vblank) {
+ drm_vblank_work_schedule(&old_plane_state->unpin_work,
+ drm_crtc_accurate_vblank_count(&crtc->base) + 1,
+ false);
+
+ /* Remove plane from atomic state, cleanup/free is done from vblank worker. */
+ memset(&state->base.planes[i], 0, sizeof(state->base.planes[i]));
+ }
+ }
+ }
+
if (intel_parent_vgpu_active(display))
goto out;
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 05/10] drm/i915/display: Move vblank put until after critical section
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (3 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 04/10] drm/intel/display: Convert vblank event handling to 2-stage arming Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 06/10] drm/i915/display: Remove locking from intel_vblank_evade " Maarten Lankhorst
` (9 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst, Uma Shankar
drm_crtc_vblank_put may take some locks, this should probably
not be the first thing we do after entering the time sensitive
part.
A better place is after programming is completed. Add a flag
to put the vblank after completion.
In the case of drm_vblank_work_schedule, we may not even need
to disable the vblank interrupt any more if it takes its own
reference.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c
index 88384dea868b4..68b44a00567e4 100644
--- a/drivers/gpu/drm/i915/display/intel_cursor.c
+++ b/drivers/gpu/drm/i915/display/intel_cursor.c
@@ -816,6 +816,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
to_intel_crtc_state(crtc->base.state);
struct intel_crtc_state *new_crtc_state;
struct intel_vblank_evade_ctx evade;
+ bool has_vblank = false;
int ret;
/*
@@ -913,6 +914,8 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
intel_psr_lock(crtc_state);
if (!drm_WARN_ON(display->drm, drm_crtc_vblank_get(&crtc->base))) {
+ has_vblank = true;
+
/*
* TODO: maybe check if we're still in PSR
* and skip the vblank evasion entirely?
@@ -922,8 +925,6 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
local_irq_disable();
intel_vblank_evade(&evade);
-
- drm_crtc_vblank_put(&crtc->base);
} else {
local_irq_disable();
}
@@ -939,6 +940,9 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
intel_psr_unlock(crtc_state);
+ if (has_vblank)
+ drm_crtc_vblank_put(&crtc->base);
+
if (old_plane_state->ggtt_vma != new_plane_state->ggtt_vma) {
drm_vblank_work_init(&old_plane_state->unpin_work, &crtc->base,
intel_cursor_unpin_work);
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 06/10] drm/i915/display: Remove locking from intel_vblank_evade critical section
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (4 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 05/10] drm/i915/display: Move vblank put until after critical section Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 07/10] drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too Maarten Lankhorst
` (8 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
finish_wait() may take a lock, which means that it can take any amount
of time. On PREEMPT-RT we should not be taking any lock after disabling
preemption, so ensure that the completion is done before disabling
interrupts.
This also has the benefit of making vblank evasion more deterministic,
by performing the final vblank check after all locking is done.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 2 +-
drivers/gpu/drm/i915/display/intel_vblank.c | 30 +++++++++------------
drivers/gpu/drm/i915/display/intel_vblank.h | 1 +
3 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 34a159f7c9a43..8218938985b41 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -734,7 +734,7 @@ void intel_pipe_update_end(struct intel_atomic_state *state,
struct intel_crtc_state *new_crtc_state =
intel_atomic_get_new_crtc_state(state, crtc);
enum pipe pipe = crtc->pipe;
- int scanline_end = intel_get_crtc_scanline(crtc);
+ int scanline_end = __intel_get_crtc_scanline(crtc);
u32 end_vbl_count = intel_crtc_get_vblank_counter(crtc);
ktime_t end_vbl_time = ktime_get();
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
index 28d81199792ef..ca08059e088ea 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.c
+++ b/drivers/gpu/drm/i915/display/intel_vblank.c
@@ -241,7 +241,7 @@ int intel_crtc_scanline_offset(const struct intel_crtc_state *crtc_state)
* intel_de_read_fw(), only for fast reads of display block, no need for
* forcewake etc.
*/
-static int __intel_get_crtc_scanline(struct intel_crtc *crtc)
+int __intel_get_crtc_scanline(struct intel_crtc *crtc)
{
struct intel_display *display = to_intel_display(crtc);
struct drm_vblank_crtc *vblank = drm_crtc_vblank_crtc(&crtc->base);
@@ -732,6 +732,16 @@ void intel_vblank_evade_init(const struct intel_crtc_state *old_crtc_state,
evade->min -= vblank_delay;
}
+static bool scanline_in_safe_range(struct intel_vblank_evade_ctx *evade, int *scanline, bool unlocked)
+{
+ if (unlocked)
+ *scanline = intel_get_crtc_scanline(evade->crtc);
+ else
+ *scanline = __intel_get_crtc_scanline(evade->crtc);
+
+ return *scanline < evade->min || *scanline > evade->max;
+}
+
/* must be called with vblank interrupt already enabled! */
int intel_vblank_evade(struct intel_vblank_evade_ctx *evade)
{
@@ -739,24 +749,12 @@ int intel_vblank_evade(struct intel_vblank_evade_ctx *evade)
struct intel_display *display = to_intel_display(crtc);
long timeout = msecs_to_jiffies_timeout(1);
wait_queue_head_t *wq = drm_crtc_vblank_waitqueue(&crtc->base);
- DEFINE_WAIT(wait);
int scanline;
if (evade->min <= 0 || evade->max <= 0)
return 0;
- for (;;) {
- /*
- * prepare_to_wait() has a memory barrier, which guarantees
- * other CPUs can see the task state update by the time we
- * read the scanline.
- */
- prepare_to_wait(wq, &wait, TASK_UNINTERRUPTIBLE);
-
- scanline = intel_get_crtc_scanline(crtc);
- if (scanline < evade->min || scanline > evade->max)
- break;
-
+ while (!scanline_in_safe_range(evade, &scanline, false)) {
if (!timeout) {
drm_dbg_kms(display->drm,
"Potential atomic update failure on pipe %c\n",
@@ -766,13 +764,11 @@ int intel_vblank_evade(struct intel_vblank_evade_ctx *evade)
local_irq_enable();
- timeout = schedule_timeout(timeout);
+ timeout = wait_event_timeout(*wq, scanline_in_safe_range(evade, &scanline, true), timeout);
local_irq_disable();
}
- finish_wait(wq, &wait);
-
/*
* On VLV/CHV DSI the scanline counter would appear to
* increment approx. 1/3 of a scanline before start of vblank.
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.h b/drivers/gpu/drm/i915/display/intel_vblank.h
index 98d04cacd65f8..aa1974400e9fc 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.h
+++ b/drivers/gpu/drm/i915/display/intel_vblank.h
@@ -38,6 +38,7 @@ u32 g4x_get_vblank_counter(struct drm_crtc *crtc);
bool intel_crtc_get_vblank_timestamp(struct drm_crtc *crtc, int *max_error,
ktime_t *vblank_time, bool in_vblank_irq);
int intel_get_crtc_scanline(struct intel_crtc *crtc);
+int __intel_get_crtc_scanline(struct intel_crtc *crtc);
void intel_wait_for_pipe_scanline_stopped(struct intel_crtc *crtc);
void intel_wait_for_pipe_scanline_moving(struct intel_crtc *crtc);
void intel_crtc_update_active_timings(const struct intel_crtc_state *crtc_state,
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 07/10] drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (5 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 06/10] drm/i915/display: Remove locking from intel_vblank_evade " Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 08/10] drm/i915: Use preempt_disable/enable_rt() where recommended Maarten Lankhorst
` (7 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst, Uma Shankar
Now that we have a macro, might as well handle the VLV dsi workaround
too.
This makes the vblank evasion code slightly more deterministic, by not
looping with interrupts disabled.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
drivers/gpu/drm/i915/display/intel_vblank.c | 36 ++++++++++-----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
index ca08059e088ea..6f1fa952b5391 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.c
+++ b/drivers/gpu/drm/i915/display/intel_vblank.c
@@ -739,6 +739,24 @@ static bool scanline_in_safe_range(struct intel_vblank_evade_ctx *evade, int *sc
else
*scanline = __intel_get_crtc_scanline(evade->crtc);
+ /*
+ * On VLV/CHV DSI the scanline counter would appear to
+ * increment approx. 1/3 of a scanline before start of vblank.
+ * The registers still get latched at start of vblank however.
+ * This means we must not write any registers on the first
+ * line of vblank (since not the whole line is actually in
+ * vblank). And unfortunately we can't use the interrupt to
+ * wait here since it will fire too soon. We could use the
+ * frame start interrupt instead since it will fire after the
+ * critical scanline, but that would require more changes
+ * in the interrupt code. So for now we'll just do the nasty
+ * thing and poll for the bad scanline to pass us by.
+ *
+ * FIXME figure out if BXT+ DSI suffers from this as well
+ */
+ if (evade->need_vlv_dsi_wa && *scanline == evade->vblank_start)
+ return false;
+
return *scanline < evade->min || *scanline > evade->max;
}
@@ -769,24 +787,6 @@ int intel_vblank_evade(struct intel_vblank_evade_ctx *evade)
local_irq_disable();
}
- /*
- * On VLV/CHV DSI the scanline counter would appear to
- * increment approx. 1/3 of a scanline before start of vblank.
- * The registers still get latched at start of vblank however.
- * This means we must not write any registers on the first
- * line of vblank (since not the whole line is actually in
- * vblank). And unfortunately we can't use the interrupt to
- * wait here since it will fire too soon. We could use the
- * frame start interrupt instead since it will fire after the
- * critical scanline, but that would require more changes
- * in the interrupt code. So for now we'll just do the nasty
- * thing and poll for the bad scanline to pass us by.
- *
- * FIXME figure out if BXT+ DSI suffers from this as well
- */
- while (evade->need_vlv_dsi_wa && scanline == evade->vblank_start)
- scanline = intel_get_crtc_scanline(crtc);
-
return scanline;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 08/10] drm/i915: Use preempt_disable/enable_rt() where recommended
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (6 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 07/10] drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-02 7:21 ` [PATCH 09/10] drm/i915/display: Make get_vblank_counter use intel_de_read_fw() Maarten Lankhorst
` (6 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx
Cc: dri-devel, Mike Galbraith, Mario Kleiner, Thomas Gleixner,
Sebastian Andrzej Siewior, Maarten Lankhorst, Uma Shankar
From: Mike Galbraith <umgwanakikbuti@gmail.com>
Mario Kleiner suggest in commit
ad3543ede630f ("drm/intel: Push get_scanout_position() timestamping into kms driver.")
a spots where preemption should be disabled on PREEMPT_RT. The
difference is that on PREEMPT_RT the intel_uncore::lock disables neither
preemption nor interrupts and so region remains preemptible.
The area covers only register reads and writes. The part that worries me
is:
- __intel_get_crtc_scanline() the worst case is 100us if no match is
found.
- intel_crtc_scanlines_since_frame_timestamp() not sure how long this
may take in the worst case.
It was in the RT queue for a while and nobody complained.
Disable preemption on PREEPMPT_RT during timestamping.
[bigeasy: patch description.]
Cc: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
drivers/gpu/drm/i915/display/intel_vblank.c | 43 ++++++++++++++++-----
1 file changed, 33 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
index 6f1fa952b5391..07dca05332e5b 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.c
+++ b/drivers/gpu/drm/i915/display/intel_vblank.c
@@ -316,6 +316,20 @@ static void intel_vblank_section_exit(struct intel_display *display)
struct intel_uncore *uncore = to_intel_uncore(display->drm);
spin_unlock(&uncore->lock);
}
+
+static void intel_vblank_section_enter_irqf(struct intel_display *display, unsigned long *flags)
+ __acquires(i915->uncore.lock)
+{
+ struct intel_uncore *uncore = to_intel_uncore(display->drm);
+ spin_lock_irqsave(&uncore->lock, *flags);
+}
+
+static void intel_vblank_section_exit_irqf(struct intel_display *display, unsigned long flags)
+ __releases(i915->uncore.lock)
+{
+ struct intel_uncore *uncore = to_intel_uncore(display->drm);
+ spin_unlock_irqrestore(&uncore->lock, flags);
+}
#else
static void intel_vblank_section_enter(struct intel_display *display)
{
@@ -324,6 +338,17 @@ static void intel_vblank_section_enter(struct intel_display *display)
static void intel_vblank_section_exit(struct intel_display *display)
{
}
+
+static void intel_vblank_section_enter_irqf(struct intel_display *display, unsigned long *flags)
+{
+ *flags = 0;
+}
+
+static void intel_vblank_section_exit_irqf(struct intel_display *display, unsigned long flags)
+{
+ if (flags)
+ return;
+}
#endif
static bool i915_get_crtc_scanoutpos(struct drm_crtc *_crtc,
@@ -360,10 +385,10 @@ static bool i915_get_crtc_scanoutpos(struct drm_crtc *_crtc,
* timing critical raw register reads, potentially with
* preemption disabled, so the following code must not block.
*/
- local_irq_save(irqflags);
- intel_vblank_section_enter(display);
+ intel_vblank_section_enter_irqf(display, &irqflags);
- /* preempt_disable_rt() should go right here in PREEMPT_RT patchset. */
+ if (IS_ENABLED(CONFIG_PREEMPT_RT))
+ preempt_disable();
/* Get optional system timestamp before query. */
if (stime)
@@ -427,10 +452,10 @@ static bool i915_get_crtc_scanoutpos(struct drm_crtc *_crtc,
if (etime)
*etime = ktime_get();
- /* preempt_enable_rt() should go right here in PREEMPT_RT patchset. */
+ if (IS_ENABLED(CONFIG_PREEMPT_RT))
+ preempt_enable();
- intel_vblank_section_exit(display);
- local_irq_restore(irqflags);
+ intel_vblank_section_exit_irqf(display, irqflags);
/*
* While in vblank, position will be negative
@@ -468,13 +493,11 @@ int intel_get_crtc_scanline(struct intel_crtc *crtc)
unsigned long irqflags;
int position;
- local_irq_save(irqflags);
- intel_vblank_section_enter(display);
+ intel_vblank_section_enter_irqf(display, &irqflags);
position = __intel_get_crtc_scanline(crtc);
- intel_vblank_section_exit(display);
- local_irq_restore(irqflags);
+ intel_vblank_section_exit_irqf(display, irqflags);
return position;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* [PATCH 09/10] drm/i915/display: Make get_vblank_counter use intel_de_read_fw()
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (7 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 08/10] drm/i915: Use preempt_disable/enable_rt() where recommended Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-10 14:34 ` Ville Syrjälä
2026-07-02 7:21 ` [PATCH 10/10] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter Maarten Lankhorst
` (5 subsequent siblings)
14 siblings, 1 reply; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
Fixes the following lockdep splat on PREEMPT_RT:
<3> BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
<3> in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1373, name: xe_module_load
<3> preempt_count: 1, expected: 0
<3> RCU nest depth: 0, expected: 0
<4> 11 locks held by xe_module_load/1373:
<4> #0: ffff888107b691a0 (&dev->mutex){....}-{3:3}, at: __driver_attach+0x104/0x220
<4> #1: ffff88813cd30280 (&dev->clientlist_mutex){+.+.}-{3:3}, at: drm_client_register+0x32/0xe0
<4> #2: ffffffff837f88f8 (registration_lock){+.+.}-{3:3}, at: register_framebuffer+0x1b/0x50
<4> #3: ffffffff835985e0 (console_lock){+.+.}-{0:0}, at: fbcon_fb_registered+0x6f/0x90
<4> #4: ffff88812589e6a0 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x7b/0x110
<4> #5: ffff88813cd30158 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x20/0x50
<4> #6: ffff88812589e488 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x2a/0x1b0
<4> #7: ffffc9000031eef0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x4c/0x2b0
<4> #8: ffffc9000031ef18 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_atomic+0x4c/0x2b0
<4> #9: ffff888114f7b8b8 (&intel_dp->psr.lock){+.+.}-{3:3}, at: intel_psr_lock+0xc5/0xf0 [xe]
<4> #10: ffff88812a0cbbc0 (&wl->lock){+.+.}-{2:2}, at: intel_dmc_wl_get+0x3c/0x140 [xe]
This splat will happen otherwise on all tracepoints too, for similar reasons.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/i915/display/intel_vblank.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
index 07dca05332e5b..c0cc0a4c25dbe 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.c
+++ b/drivers/gpu/drm/i915/display/intel_vblank.c
@@ -132,7 +132,7 @@ u32 g4x_get_vblank_counter(struct drm_crtc *crtc)
if (!vblank->max_vblank_count)
return 0;
- return intel_de_read(display, PIPE_FRMCOUNT_G4X(display, pipe));
+ return intel_de_read_fw(display, PIPE_FRMCOUNT_G4X(display, pipe));
}
static u32 intel_crtc_scanlines_since_frame_timestamp(struct intel_crtc *crtc)
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* Re: [PATCH 09/10] drm/i915/display: Make get_vblank_counter use intel_de_read_fw()
2026-07-02 7:21 ` [PATCH 09/10] drm/i915/display: Make get_vblank_counter use intel_de_read_fw() Maarten Lankhorst
@ 2026-07-10 14:34 ` Ville Syrjälä
0 siblings, 0 replies; 19+ messages in thread
From: Ville Syrjälä @ 2026-07-10 14:34 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe, intel-gfx, dri-devel
On Thu, Jul 02, 2026 at 09:21:52AM +0200, Maarten Lankhorst wrote:
> Fixes the following lockdep splat on PREEMPT_RT:
> <3> BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
> <3> in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1373, name: xe_module_load
> <3> preempt_count: 1, expected: 0
> <3> RCU nest depth: 0, expected: 0
> <4> 11 locks held by xe_module_load/1373:
> <4> #0: ffff888107b691a0 (&dev->mutex){....}-{3:3}, at: __driver_attach+0x104/0x220
> <4> #1: ffff88813cd30280 (&dev->clientlist_mutex){+.+.}-{3:3}, at: drm_client_register+0x32/0xe0
> <4> #2: ffffffff837f88f8 (registration_lock){+.+.}-{3:3}, at: register_framebuffer+0x1b/0x50
> <4> #3: ffffffff835985e0 (console_lock){+.+.}-{0:0}, at: fbcon_fb_registered+0x6f/0x90
> <4> #4: ffff88812589e6a0 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x7b/0x110
> <4> #5: ffff88813cd30158 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x20/0x50
> <4> #6: ffff88812589e488 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x2a/0x1b0
> <4> #7: ffffc9000031eef0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x4c/0x2b0
> <4> #8: ffffc9000031ef18 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_atomic+0x4c/0x2b0
> <4> #9: ffff888114f7b8b8 (&intel_dp->psr.lock){+.+.}-{3:3}, at: intel_psr_lock+0xc5/0xf0 [xe]
> <4> #10: ffff88812a0cbbc0 (&wl->lock){+.+.}-{2:2}, at: intel_dmc_wl_get+0x3c/0x140 [xe]
>
> This splat will happen otherwise on all tracepoints too, for similar reasons.
>
> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
> ---
> drivers/gpu/drm/i915/display/intel_vblank.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
> index 07dca05332e5b..c0cc0a4c25dbe 100644
> --- a/drivers/gpu/drm/i915/display/intel_vblank.c
> +++ b/drivers/gpu/drm/i915/display/intel_vblank.c
> @@ -132,7 +132,7 @@ u32 g4x_get_vblank_counter(struct drm_crtc *crtc)
> if (!vblank->max_vblank_count)
> return 0;
>
> - return intel_de_read(display, PIPE_FRMCOUNT_G4X(display, pipe));
> + return intel_de_read_fw(display, PIPE_FRMCOUNT_G4X(display, pipe));
Sashiko didn't complain about potential ivb/hsw same-cacheline issues
here, so I'll point it out. There isn't too much on that cacheline
though so perhaps not a huge issue (assuming the issue is real in the
first place, which I'm not 100% convinced about). But I'm still thinking
that I'll just try to convert the lock into a raw spinlock while moving
all the mmio stuff directly into intel_de.[ch]. That would avoid part
of the problem at least.
The dmc wakelock stuff I'm not sure we should even worry about here.
If the pipe isn't active we shouldn't really end up calling this anyway,
except maybe if we race with the DMC. Although we don't have register
accessors that skip the DMC stuff while still taking the uncore lock.
I'm not super keen on adding yet another register accessor variant
either, so not sure how to deal with this sort of stuff in the end...
> }
>
> static u32 intel_crtc_scanlines_since_frame_timestamp(struct intel_crtc *crtc)
> --
> 2.53.0
--
Ville Syrjälä
Intel
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 10/10] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (8 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 09/10] drm/i915/display: Make get_vblank_counter use intel_de_read_fw() Maarten Lankhorst
@ 2026-07-02 7:21 ` Maarten Lankhorst
2026-07-10 14:19 ` Ville Syrjälä
2026-07-02 7:56 ` ✗ CI.checkpatch: warning for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Patchwork
` (4 subsequent siblings)
14 siblings, 1 reply; 19+ messages in thread
From: Maarten Lankhorst @ 2026-07-02 7:21 UTC (permalink / raw)
To: intel-xe, intel-gfx; +Cc: dri-devel, Maarten Lankhorst
This fixes a lockdep splat that occurs in the code that should be run
with interrupts disabled. The uncore and DMC locks should not be taken
and released repeatedly in a timing sensitive path.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/i915/display/intel_de.h | 8 ++++++
drivers/gpu/drm/i915/display/intel_vblank.c | 4 +--
drivers/gpu/drm/i915/intel_uncore.h | 26 +++++++++++++------
| 7 +++++
4 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_de.h b/drivers/gpu/drm/i915/display/intel_de.h
index 1029790194296..497a308322847 100644
--- a/drivers/gpu/drm/i915/display/intel_de.h
+++ b/drivers/gpu/drm/i915/display/intel_de.h
@@ -65,6 +65,14 @@ intel_de_read64_2x32(struct intel_display *display, intel_reg_t reg)
return (u64)upper << 32 | lower;
}
+static inline u64
+intel_de_read64_2x32_fw(struct intel_display *display,
+ i915_reg_t lower_reg, i915_reg_t upper_reg)
+{
+ return intel_uncore_read64_2x32_fw(__to_uncore(display),
+ lower_reg, upper_reg);
+}
+
static inline void
intel_de_posting_read(struct intel_display *display, intel_reg_t reg)
{
diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
index c0cc0a4c25dbe..5ca22899055d7 100644
--- a/drivers/gpu/drm/i915/display/intel_vblank.c
+++ b/drivers/gpu/drm/i915/display/intel_vblank.c
@@ -109,8 +109,8 @@ u32 i915_get_vblank_counter(struct drm_crtc *crtc)
* we get a low value that's stable across two reads of the high
* register.
*/
- frame = intel_de_read64_2x32_volatile(display, PIPEFRAMEPIXEL(display, pipe),
- PIPEFRAME(display, pipe));
+ frame = intel_de_read64_2x32_fw(display, PIPEFRAMEPIXEL(display, pipe),
+ PIPEFRAME(display, pipe));
pixel = frame & PIPE_PIXEL_MASK;
frame = (frame >> PIPE_FRAME_LOW_SHIFT) & 0xffffff;
diff --git a/drivers/gpu/drm/i915/intel_uncore.h b/drivers/gpu/drm/i915/intel_uncore.h
index fafc2ca9a2376..507398a562649 100644
--- a/drivers/gpu/drm/i915/intel_uncore.h
+++ b/drivers/gpu/drm/i915/intel_uncore.h
@@ -449,13 +449,28 @@ static inline void intel_uncore_rmw_fw(struct intel_uncore *uncore,
intel_uncore_write_fw(uncore, reg, val);
}
+static inline u64
+intel_uncore_read64_2x32_fw(struct intel_uncore *uncore,
+ i915_reg_t lower_reg, i915_reg_t upper_reg)
+{
+ u32 upper, lower, old_upper, loop = 0;
+ upper = intel_uncore_read_fw(uncore, upper_reg);
+ do {
+ old_upper = upper;
+ lower = intel_uncore_read_fw(uncore, lower_reg);
+ upper = intel_uncore_read_fw(uncore, upper_reg);
+ } while (upper != old_upper && loop++ < 2);
+
+ return (u64)upper << 32 | lower;
+}
+
static inline u64
intel_uncore_read64_2x32(struct intel_uncore *uncore,
i915_reg_t lower_reg, i915_reg_t upper_reg)
{
- u32 upper, lower, old_upper, loop = 0;
enum forcewake_domains fw_domains;
unsigned long flags;
+ u64 ret;
fw_domains = intel_uncore_forcewake_for_reg(uncore, lower_reg,
FW_REG_READ);
@@ -466,17 +481,12 @@ intel_uncore_read64_2x32(struct intel_uncore *uncore,
spin_lock_irqsave(&uncore->lock, flags);
intel_uncore_forcewake_get__locked(uncore, fw_domains);
- upper = intel_uncore_read_fw(uncore, upper_reg);
- do {
- old_upper = upper;
- lower = intel_uncore_read_fw(uncore, lower_reg);
- upper = intel_uncore_read_fw(uncore, upper_reg);
- } while (upper != old_upper && loop++ < 2);
+ ret = intel_uncore_read64_2x32_fw(uncore, lower_reg, upper_reg);
intel_uncore_forcewake_put__locked(uncore, fw_domains);
spin_unlock_irqrestore(&uncore->lock, flags);
- return (u64)upper << 32 | lower;
+ return ret;
}
static inline int intel_uncore_write_and_verify(struct intel_uncore *uncore,
--git a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
index 08d7ab9336725..764bc94044537 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
@@ -74,6 +74,13 @@ intel_uncore_read64_2x32(struct intel_uncore *uncore,
return (u64)upper << 32 | lower;
}
+static inline u64
+intel_uncore_read64_2x32_fw(struct intel_uncore *uncore,
+ i915_reg_t i915_lower_reg, i915_reg_t i915_upper_reg)
+{
+ return intel_uncore_read64_2x32(uncore, i915_lower_reg, i915_upper_reg);
+}
+
static inline void intel_uncore_posting_read(struct intel_uncore *uncore,
i915_reg_t i915_reg)
{
--
2.53.0
^ permalink raw reply related [flat|nested] 19+ messages in thread* Re: [PATCH 10/10] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
2026-07-02 7:21 ` [PATCH 10/10] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter Maarten Lankhorst
@ 2026-07-10 14:19 ` Ville Syrjälä
0 siblings, 0 replies; 19+ messages in thread
From: Ville Syrjälä @ 2026-07-10 14:19 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe, intel-gfx, dri-devel
On Thu, Jul 02, 2026 at 09:21:53AM +0200, Maarten Lankhorst wrote:
> This fixes a lockdep splat that occurs in the code that should be run
> with interrupts disabled. The uncore and DMC locks should not be taken
> and released repeatedly in a timing sensitive path.
>
> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
> ---
> drivers/gpu/drm/i915/display/intel_de.h | 8 ++++++
> drivers/gpu/drm/i915/display/intel_vblank.c | 4 +--
> drivers/gpu/drm/i915/intel_uncore.h | 26 +++++++++++++------
> .../drm/xe/compat-i915-headers/intel_uncore.h | 7 +++++
> 4 files changed, 35 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_de.h b/drivers/gpu/drm/i915/display/intel_de.h
> index 1029790194296..497a308322847 100644
> --- a/drivers/gpu/drm/i915/display/intel_de.h
> +++ b/drivers/gpu/drm/i915/display/intel_de.h
> @@ -65,6 +65,14 @@ intel_de_read64_2x32(struct intel_display *display, intel_reg_t reg)
> return (u64)upper << 32 | lower;
> }
>
> +static inline u64
> +intel_de_read64_2x32_fw(struct intel_display *display,
> + i915_reg_t lower_reg, i915_reg_t upper_reg)
> +{
> + return intel_uncore_read64_2x32_fw(__to_uncore(display),
> + lower_reg, upper_reg);
> +}
> +
> static inline void
> intel_de_posting_read(struct intel_display *display, intel_reg_t reg)
> {
> diff --git a/drivers/gpu/drm/i915/display/intel_vblank.c b/drivers/gpu/drm/i915/display/intel_vblank.c
> index c0cc0a4c25dbe..5ca22899055d7 100644
> --- a/drivers/gpu/drm/i915/display/intel_vblank.c
> +++ b/drivers/gpu/drm/i915/display/intel_vblank.c
> @@ -109,8 +109,8 @@ u32 i915_get_vblank_counter(struct drm_crtc *crtc)
> * we get a low value that's stable across two reads of the high
> * register.
> */
> - frame = intel_de_read64_2x32_volatile(display, PIPEFRAMEPIXEL(display, pipe),
> - PIPEFRAME(display, pipe));
> + frame = intel_de_read64_2x32_fw(display, PIPEFRAMEPIXEL(display, pipe),
> + PIPEFRAME(display, pipe));
This is the only user of intel_de_read64_2x32_volatile() and it
doesn't need any locking/wakelocks/etc so we should just convert
intel_de_read64_2x32_volatile() into intel_de_read64_2x32_volatile_fw().
And we should just skip the uncore dependency (so that we'll have one
less thing to worry about later) so I'd just implement it directly in
intel_de.[ch] in terms of intel_de_read_fw().
>
> pixel = frame & PIPE_PIXEL_MASK;
> frame = (frame >> PIPE_FRAME_LOW_SHIFT) & 0xffffff;
> diff --git a/drivers/gpu/drm/i915/intel_uncore.h b/drivers/gpu/drm/i915/intel_uncore.h
> index fafc2ca9a2376..507398a562649 100644
> --- a/drivers/gpu/drm/i915/intel_uncore.h
> +++ b/drivers/gpu/drm/i915/intel_uncore.h
> @@ -449,13 +449,28 @@ static inline void intel_uncore_rmw_fw(struct intel_uncore *uncore,
> intel_uncore_write_fw(uncore, reg, val);
> }
>
> +static inline u64
> +intel_uncore_read64_2x32_fw(struct intel_uncore *uncore,
> + i915_reg_t lower_reg, i915_reg_t upper_reg)
> +{
> + u32 upper, lower, old_upper, loop = 0;
> + upper = intel_uncore_read_fw(uncore, upper_reg);
> + do {
> + old_upper = upper;
> + lower = intel_uncore_read_fw(uncore, lower_reg);
> + upper = intel_uncore_read_fw(uncore, upper_reg);
> + } while (upper != old_upper && loop++ < 2);
> +
> + return (u64)upper << 32 | lower;
> +}
> +
> static inline u64
> intel_uncore_read64_2x32(struct intel_uncore *uncore,
> i915_reg_t lower_reg, i915_reg_t upper_reg)
> {
> - u32 upper, lower, old_upper, loop = 0;
> enum forcewake_domains fw_domains;
> unsigned long flags;
> + u64 ret;
>
> fw_domains = intel_uncore_forcewake_for_reg(uncore, lower_reg,
> FW_REG_READ);
> @@ -466,17 +481,12 @@ intel_uncore_read64_2x32(struct intel_uncore *uncore,
> spin_lock_irqsave(&uncore->lock, flags);
> intel_uncore_forcewake_get__locked(uncore, fw_domains);
>
> - upper = intel_uncore_read_fw(uncore, upper_reg);
> - do {
> - old_upper = upper;
> - lower = intel_uncore_read_fw(uncore, lower_reg);
> - upper = intel_uncore_read_fw(uncore, upper_reg);
> - } while (upper != old_upper && loop++ < 2);
> + ret = intel_uncore_read64_2x32_fw(uncore, lower_reg, upper_reg);
>
> intel_uncore_forcewake_put__locked(uncore, fw_domains);
> spin_unlock_irqrestore(&uncore->lock, flags);
>
> - return (u64)upper << 32 | lower;
> + return ret;
> }
>
> static inline int intel_uncore_write_and_verify(struct intel_uncore *uncore,
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
> index 08d7ab9336725..764bc94044537 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
> @@ -74,6 +74,13 @@ intel_uncore_read64_2x32(struct intel_uncore *uncore,
> return (u64)upper << 32 | lower;
> }
>
> +static inline u64
> +intel_uncore_read64_2x32_fw(struct intel_uncore *uncore,
> + i915_reg_t i915_lower_reg, i915_reg_t i915_upper_reg)
> +{
> + return intel_uncore_read64_2x32(uncore, i915_lower_reg, i915_upper_reg);
> +}
> +
> static inline void intel_uncore_posting_read(struct intel_uncore *uncore,
> i915_reg_t i915_reg)
> {
> --
> 2.53.0
--
Ville Syrjälä
Intel
^ permalink raw reply [flat|nested] 19+ messages in thread
* ✗ CI.checkpatch: warning for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (9 preceding siblings ...)
2026-07-02 7:21 ` [PATCH 10/10] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter Maarten Lankhorst
@ 2026-07-02 7:56 ` Patchwork
2026-07-02 7:58 ` ✓ CI.KUnit: success " Patchwork
` (3 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2026-07-02 7:56 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe
== Series Details ==
Series: drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
URL : https://patchwork.freedesktop.org/series/169662/
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
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b12b9e691fd6389de7294386dc81ad7f9fc984e8
Author: Maarten Lankhorst <dev@lankhorst.se>
Date: Thu Jul 2 09:21:53 2026 +0200
drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
This fixes a lockdep splat that occurs in the code that should be run
with interrupts disabled. The uncore and DMC locks should not be taken
and released repeatedly in a timing sensitive path.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
+ /mt/dim checkpatch 4a1a395fa156b92a83b501f8e331f21cd035c2e1 drm-intel
be6839585cba drm/vblank_work: Add methods to schedule vblank_work in 2 stages
-:116: CHECK:LINE_SPACING: Please don't use multiple blank lines
#116: FILE: drivers/gpu/drm/drm_vblank_work.c:180:
+
total: 0 errors, 0 warnings, 1 checks, 166 lines checked
ebe6ac844562 drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event
b519ee567646 drm/intel/display: Make intel_crtc_arm_vblank_event static
d951635dcc39 drm/intel/display: Convert vblank event handling to 2-stage arming
-:139: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#139: FILE: drivers/gpu/drm/i915/display/intel_crtc.c:798:
+ drm_crtc_accurate_vblank_count(&crtc->base) + 1,
-:142: WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#142: FILE: drivers/gpu/drm/i915/display/intel_crtc.c:801:
+ /* Remove plane from atomic state, cleanup/free is done from vblank worker. */
total: 0 errors, 2 warnings, 0 checks, 120 lines checked
8e240177d4a9 drm/i915/display: Move vblank put until after critical section
aa9571de616d drm/i915/display: Remove locking from intel_vblank_evade critical section
-:47: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#47: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:735:
+static bool scanline_in_safe_range(struct intel_vblank_evade_ctx *evade, int *scanline, bool unlocked)
-:91: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#91: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:767:
+ timeout = wait_event_timeout(*wq, scanline_in_safe_range(evade, &scanline, true), timeout);
total: 0 errors, 2 warnings, 0 checks, 78 lines checked
ed97d9d2a1b7 drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too
eb0ec1084c24 drm/i915: Use preempt_disable/enable_rt() where recommended
-:7: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#7:
ad3543ede630f ("drm/intel: Push get_scanout_position() timestamping into kms driver.")
-:46: WARNING:LINE_SPACING: Missing a blank line after declarations
#46: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:324:
+ struct intel_uncore *uncore = to_intel_uncore(display->drm);
+ spin_lock_irqsave(&uncore->lock, *flags);
-:53: WARNING:LINE_SPACING: Missing a blank line after declarations
#53: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:331:
+ struct intel_uncore *uncore = to_intel_uncore(display->drm);
+ spin_unlock_irqrestore(&uncore->lock, flags);
total: 0 errors, 3 warnings, 0 checks, 78 lines checked
81c996b8b7f0 drm/i915/display: Make get_vblank_counter use intel_de_read_fw()
-:8: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#8:
<3> BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
total: 0 errors, 1 warnings, 0 checks, 8 lines checked
b12b9e691fd6 drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
-:43: ERROR:CODE_INDENT: code indent should use tabs where possible
#43: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:113:
+^I^I^I^I PIPEFRAME(display, pipe));$
-:43: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#43: FILE: drivers/gpu/drm/i915/display/intel_vblank.c:113:
+ frame = intel_de_read64_2x32_fw(display, PIPEFRAMEPIXEL(display, pipe),
+ PIPEFRAME(display, pipe));
-:60: WARNING:LINE_SPACING: Missing a blank line after declarations
#60: FILE: drivers/gpu/drm/i915/intel_uncore.h:457:
+ u32 upper, lower, old_upper, loop = 0;
+ upper = intel_uncore_read_fw(uncore, upper_reg);
total: 1 errors, 1 warnings, 1 checks, 85 lines checked
^ permalink raw reply [flat|nested] 19+ messages in thread* ✓ CI.KUnit: success for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (10 preceding siblings ...)
2026-07-02 7:56 ` ✗ CI.checkpatch: warning for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Patchwork
@ 2026-07-02 7:58 ` Patchwork
2026-07-02 8:33 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
14 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2026-07-02 7:58 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe
== Series Details ==
Series: drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
URL : https://patchwork.freedesktop.org/series/169662/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[07:56:50] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:56:55] 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
../drivers/gpu/drm/xe/xe_pt.c:1420:13: warning: ‘xe_pt_svm_userptr_notifier_lock’ defined but not used [-Wunused-function]
1420 | static void xe_pt_svm_userptr_notifier_lock(struct xe_vm *vm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[07:57:26] Starting KUnit Kernel (1/1)...
[07:57:26] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:57:27] ================== guc_buf (11 subtests) ===================
[07:57:27] [PASSED] test_smallest
[07:57:27] [PASSED] test_largest
[07:57:27] [PASSED] test_granular
[07:57:27] [PASSED] test_unique
[07:57:27] [PASSED] test_overlap
[07:57:27] [PASSED] test_reusable
[07:57:27] [PASSED] test_too_big
[07:57:27] [PASSED] test_flush
[07:57:27] [PASSED] test_lookup
[07:57:27] [PASSED] test_data
[07:57:27] [PASSED] test_class
[07:57:27] ===================== [PASSED] guc_buf =====================
[07:57:27] =================== guc_dbm (7 subtests) ===================
[07:57:27] [PASSED] test_empty
[07:57:27] [PASSED] test_default
[07:57:27] ======================== test_size ========================
[07:57:27] [PASSED] 4
[07:57:27] [PASSED] 8
[07:57:27] [PASSED] 32
[07:57:27] [PASSED] 256
[07:57:27] ==================== [PASSED] test_size ====================
[07:57:27] ======================= test_reuse ========================
[07:57:27] [PASSED] 4
[07:57:27] [PASSED] 8
[07:57:27] [PASSED] 32
[07:57:27] [PASSED] 256
[07:57:27] =================== [PASSED] test_reuse ====================
[07:57:27] =================== test_range_overlap ====================
[07:57:27] [PASSED] 4
[07:57:27] [PASSED] 8
[07:57:27] [PASSED] 32
[07:57:27] [PASSED] 256
[07:57:27] =============== [PASSED] test_range_overlap ================
[07:57:27] =================== test_range_compact ====================
[07:57:27] [PASSED] 4
[07:57:27] [PASSED] 8
[07:57:27] [PASSED] 32
[07:57:27] [PASSED] 256
[07:57:27] =============== [PASSED] test_range_compact ================
[07:57:27] ==================== test_range_spare =====================
[07:57:27] [PASSED] 4
[07:57:27] [PASSED] 8
[07:57:27] [PASSED] 32
[07:57:27] [PASSED] 256
[07:57:27] ================ [PASSED] test_range_spare =================
[07:57:27] ===================== [PASSED] guc_dbm =====================
[07:57:27] =================== guc_idm (6 subtests) ===================
[07:57:27] [PASSED] bad_init
[07:57:27] [PASSED] no_init
[07:57:27] [PASSED] init_fini
[07:57:27] [PASSED] check_used
[07:57:27] [PASSED] check_quota
[07:57:27] [PASSED] check_all
[07:57:27] ===================== [PASSED] guc_idm =====================
[07:57:27] ================== no_relay (3 subtests) ===================
[07:57:27] [PASSED] xe_drops_guc2pf_if_not_ready
[07:57:27] [PASSED] xe_drops_guc2vf_if_not_ready
[07:57:27] [PASSED] xe_rejects_send_if_not_ready
[07:57:27] ==================== [PASSED] no_relay =====================
[07:57:27] ================== pf_relay (14 subtests) ==================
[07:57:27] [PASSED] pf_rejects_guc2pf_too_short
[07:57:27] [PASSED] pf_rejects_guc2pf_too_long
[07:57:27] [PASSED] pf_rejects_guc2pf_no_payload
[07:57:27] [PASSED] pf_fails_no_payload
[07:57:27] [PASSED] pf_fails_bad_origin
[07:57:27] [PASSED] pf_fails_bad_type
[07:57:27] [PASSED] pf_txn_reports_error
[07:57:27] [PASSED] pf_txn_sends_pf2guc
[07:57:27] [PASSED] pf_sends_pf2guc
[07:57:27] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:57:27] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:57:27] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:57:27] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:57:27] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[07:57:27] ==================== [PASSED] pf_relay =====================
[07:57:27] ================== vf_relay (3 subtests) ===================
[07:57:27] [PASSED] vf_rejects_guc2vf_too_short
[07:57:27] [PASSED] vf_rejects_guc2vf_too_long
[07:57:27] [PASSED] vf_rejects_guc2vf_no_payload
[07:57:27] ==================== [PASSED] vf_relay =====================
[07:57:27] ================ pf_gt_config (9 subtests) =================
[07:57:27] [PASSED] fair_contexts_1vf
[07:57:27] [PASSED] fair_doorbells_1vf
[07:57:27] [PASSED] fair_ggtt_1vf
[07:57:27] ====================== fair_vram_1vf ======================
[07:57:27] [PASSED] 3.50 GiB
[07:57:27] [PASSED] 11.5 GiB
[07:57:27] [PASSED] 15.5 GiB
[07:57:27] [PASSED] 31.5 GiB
[07:57:27] [PASSED] 63.5 GiB
[07:57:27] [PASSED] 1.91 GiB
[07:57:27] ================== [PASSED] fair_vram_1vf ==================
[07:57:27] ================ fair_vram_1vf_admin_only =================
[07:57:27] [PASSED] 3.50 GiB
[07:57:27] [PASSED] 11.5 GiB
[07:57:27] [PASSED] 15.5 GiB
[07:57:27] [PASSED] 31.5 GiB
[07:57:27] [PASSED] 63.5 GiB
[07:57:27] [PASSED] 1.91 GiB
[07:57:27] ============ [PASSED] fair_vram_1vf_admin_only =============
[07:57:27] ====================== fair_contexts ======================
[07:57:27] [PASSED] 1 VF
[07:57:27] [PASSED] 2 VFs
[07:57:27] [PASSED] 3 VFs
[07:57:27] [PASSED] 4 VFs
[07:57:27] [PASSED] 5 VFs
[07:57:27] [PASSED] 6 VFs
[07:57:27] [PASSED] 7 VFs
[07:57:27] [PASSED] 8 VFs
[07:57:27] [PASSED] 9 VFs
[07:57:27] [PASSED] 10 VFs
[07:57:27] [PASSED] 11 VFs
[07:57:27] [PASSED] 12 VFs
[07:57:27] [PASSED] 13 VFs
[07:57:27] [PASSED] 14 VFs
[07:57:27] [PASSED] 15 VFs
[07:57:27] [PASSED] 16 VFs
[07:57:27] [PASSED] 17 VFs
[07:57:27] [PASSED] 18 VFs
[07:57:27] [PASSED] 19 VFs
[07:57:27] [PASSED] 20 VFs
[07:57:27] [PASSED] 21 VFs
[07:57:27] [PASSED] 22 VFs
[07:57:27] [PASSED] 23 VFs
[07:57:27] [PASSED] 24 VFs
[07:57:27] [PASSED] 25 VFs
[07:57:27] [PASSED] 26 VFs
[07:57:27] [PASSED] 27 VFs
[07:57:27] [PASSED] 28 VFs
[07:57:27] [PASSED] 29 VFs
[07:57:27] [PASSED] 30 VFs
[07:57:27] [PASSED] 31 VFs
[07:57:27] [PASSED] 32 VFs
[07:57:27] [PASSED] 33 VFs
[07:57:27] [PASSED] 34 VFs
[07:57:27] [PASSED] 35 VFs
[07:57:27] [PASSED] 36 VFs
[07:57:27] [PASSED] 37 VFs
[07:57:27] [PASSED] 38 VFs
[07:57:27] [PASSED] 39 VFs
[07:57:27] [PASSED] 40 VFs
[07:57:27] [PASSED] 41 VFs
[07:57:27] [PASSED] 42 VFs
[07:57:27] [PASSED] 43 VFs
[07:57:27] [PASSED] 44 VFs
[07:57:27] [PASSED] 45 VFs
[07:57:27] [PASSED] 46 VFs
[07:57:27] [PASSED] 47 VFs
[07:57:27] [PASSED] 48 VFs
[07:57:27] [PASSED] 49 VFs
[07:57:27] [PASSED] 50 VFs
[07:57:27] [PASSED] 51 VFs
[07:57:27] [PASSED] 52 VFs
[07:57:27] [PASSED] 53 VFs
[07:57:27] [PASSED] 54 VFs
[07:57:27] [PASSED] 55 VFs
[07:57:27] [PASSED] 56 VFs
[07:57:27] [PASSED] 57 VFs
[07:57:27] [PASSED] 58 VFs
[07:57:27] [PASSED] 59 VFs
[07:57:27] [PASSED] 60 VFs
[07:57:27] [PASSED] 61 VFs
[07:57:27] [PASSED] 62 VFs
[07:57:27] [PASSED] 63 VFs
[07:57:27] ================== [PASSED] fair_contexts ==================
[07:57:27] ===================== fair_doorbells ======================
[07:57:27] [PASSED] 1 VF
[07:57:27] [PASSED] 2 VFs
[07:57:27] [PASSED] 3 VFs
[07:57:27] [PASSED] 4 VFs
[07:57:27] [PASSED] 5 VFs
[07:57:27] [PASSED] 6 VFs
[07:57:27] [PASSED] 7 VFs
[07:57:27] [PASSED] 8 VFs
[07:57:27] [PASSED] 9 VFs
[07:57:27] [PASSED] 10 VFs
[07:57:27] [PASSED] 11 VFs
[07:57:27] [PASSED] 12 VFs
[07:57:27] [PASSED] 13 VFs
[07:57:27] [PASSED] 14 VFs
[07:57:27] [PASSED] 15 VFs
[07:57:27] [PASSED] 16 VFs
[07:57:27] [PASSED] 17 VFs
[07:57:27] [PASSED] 18 VFs
[07:57:27] [PASSED] 19 VFs
[07:57:27] [PASSED] 20 VFs
[07:57:27] [PASSED] 21 VFs
[07:57:27] [PASSED] 22 VFs
[07:57:27] [PASSED] 23 VFs
[07:57:27] [PASSED] 24 VFs
[07:57:27] [PASSED] 25 VFs
[07:57:27] [PASSED] 26 VFs
[07:57:27] [PASSED] 27 VFs
[07:57:27] [PASSED] 28 VFs
[07:57:27] [PASSED] 29 VFs
[07:57:27] [PASSED] 30 VFs
[07:57:27] [PASSED] 31 VFs
[07:57:27] [PASSED] 32 VFs
[07:57:27] [PASSED] 33 VFs
[07:57:27] [PASSED] 34 VFs
[07:57:27] [PASSED] 35 VFs
[07:57:27] [PASSED] 36 VFs
[07:57:27] [PASSED] 37 VFs
[07:57:27] [PASSED] 38 VFs
[07:57:27] [PASSED] 39 VFs
[07:57:27] [PASSED] 40 VFs
[07:57:27] [PASSED] 41 VFs
[07:57:27] [PASSED] 42 VFs
[07:57:27] [PASSED] 43 VFs
[07:57:27] [PASSED] 44 VFs
[07:57:27] [PASSED] 45 VFs
[07:57:27] [PASSED] 46 VFs
[07:57:27] [PASSED] 47 VFs
[07:57:27] [PASSED] 48 VFs
[07:57:27] [PASSED] 49 VFs
[07:57:27] [PASSED] 50 VFs
[07:57:27] [PASSED] 51 VFs
[07:57:27] [PASSED] 52 VFs
[07:57:27] [PASSED] 53 VFs
[07:57:27] [PASSED] 54 VFs
[07:57:27] [PASSED] 55 VFs
[07:57:27] [PASSED] 56 VFs
[07:57:27] [PASSED] 57 VFs
[07:57:27] [PASSED] 58 VFs
[07:57:27] [PASSED] 59 VFs
[07:57:27] [PASSED] 60 VFs
[07:57:27] [PASSED] 61 VFs
[07:57:27] [PASSED] 62 VFs
[07:57:27] [PASSED] 63 VFs
[07:57:27] ================= [PASSED] fair_doorbells ==================
[07:57:27] ======================== fair_ggtt ========================
[07:57:27] [PASSED] 1 VF
[07:57:27] [PASSED] 2 VFs
[07:57:27] [PASSED] 3 VFs
[07:57:27] [PASSED] 4 VFs
[07:57:27] [PASSED] 5 VFs
[07:57:27] [PASSED] 6 VFs
[07:57:27] [PASSED] 7 VFs
[07:57:27] [PASSED] 8 VFs
[07:57:27] [PASSED] 9 VFs
[07:57:27] [PASSED] 10 VFs
[07:57:27] [PASSED] 11 VFs
[07:57:27] [PASSED] 12 VFs
[07:57:27] [PASSED] 13 VFs
[07:57:27] [PASSED] 14 VFs
[07:57:27] [PASSED] 15 VFs
[07:57:27] [PASSED] 16 VFs
[07:57:27] [PASSED] 17 VFs
[07:57:27] [PASSED] 18 VFs
[07:57:27] [PASSED] 19 VFs
[07:57:27] [PASSED] 20 VFs
[07:57:27] [PASSED] 21 VFs
[07:57:27] [PASSED] 22 VFs
[07:57:27] [PASSED] 23 VFs
[07:57:27] [PASSED] 24 VFs
[07:57:27] [PASSED] 25 VFs
[07:57:27] [PASSED] 26 VFs
[07:57:27] [PASSED] 27 VFs
[07:57:27] [PASSED] 28 VFs
[07:57:27] [PASSED] 29 VFs
[07:57:27] [PASSED] 30 VFs
[07:57:27] [PASSED] 31 VFs
[07:57:27] [PASSED] 32 VFs
[07:57:27] [PASSED] 33 VFs
[07:57:27] [PASSED] 34 VFs
[07:57:27] [PASSED] 35 VFs
[07:57:27] [PASSED] 36 VFs
[07:57:27] [PASSED] 37 VFs
[07:57:27] [PASSED] 38 VFs
[07:57:27] [PASSED] 39 VFs
[07:57:27] [PASSED] 40 VFs
[07:57:27] [PASSED] 41 VFs
[07:57:27] [PASSED] 42 VFs
[07:57:27] [PASSED] 43 VFs
[07:57:27] [PASSED] 44 VFs
[07:57:27] [PASSED] 45 VFs
[07:57:27] [PASSED] 46 VFs
[07:57:27] [PASSED] 47 VFs
[07:57:27] [PASSED] 48 VFs
[07:57:27] [PASSED] 49 VFs
[07:57:27] [PASSED] 50 VFs
[07:57:27] [PASSED] 51 VFs
[07:57:27] [PASSED] 52 VFs
[07:57:27] [PASSED] 53 VFs
[07:57:27] [PASSED] 54 VFs
[07:57:27] [PASSED] 55 VFs
[07:57:27] [PASSED] 56 VFs
[07:57:27] [PASSED] 57 VFs
[07:57:27] [PASSED] 58 VFs
[07:57:27] [PASSED] 59 VFs
[07:57:27] [PASSED] 60 VFs
[07:57:27] [PASSED] 61 VFs
[07:57:27] [PASSED] 62 VFs
[07:57:27] [PASSED] 63 VFs
[07:57:27] ==================== [PASSED] fair_ggtt ====================
[07:57:27] ======================== fair_vram ========================
[07:57:27] [PASSED] 1 VF
[07:57:27] [PASSED] 2 VFs
[07:57:27] [PASSED] 3 VFs
[07:57:27] [PASSED] 4 VFs
[07:57:27] [PASSED] 5 VFs
[07:57:27] [PASSED] 6 VFs
[07:57:27] [PASSED] 7 VFs
[07:57:27] [PASSED] 8 VFs
[07:57:27] [PASSED] 9 VFs
[07:57:27] [PASSED] 10 VFs
[07:57:27] [PASSED] 11 VFs
[07:57:27] [PASSED] 12 VFs
[07:57:27] [PASSED] 13 VFs
[07:57:27] [PASSED] 14 VFs
[07:57:27] [PASSED] 15 VFs
[07:57:27] [PASSED] 16 VFs
[07:57:27] [PASSED] 17 VFs
[07:57:27] [PASSED] 18 VFs
[07:57:27] [PASSED] 19 VFs
[07:57:27] [PASSED] 20 VFs
[07:57:27] [PASSED] 21 VFs
[07:57:27] [PASSED] 22 VFs
[07:57:27] [PASSED] 23 VFs
[07:57:27] [PASSED] 24 VFs
[07:57:27] [PASSED] 25 VFs
[07:57:27] [PASSED] 26 VFs
[07:57:27] [PASSED] 27 VFs
[07:57:27] [PASSED] 28 VFs
[07:57:27] [PASSED] 29 VFs
[07:57:27] [PASSED] 30 VFs
[07:57:27] [PASSED] 31 VFs
[07:57:27] [PASSED] 32 VFs
[07:57:27] [PASSED] 33 VFs
[07:57:27] [PASSED] 34 VFs
[07:57:27] [PASSED] 35 VFs
[07:57:27] [PASSED] 36 VFs
[07:57:27] [PASSED] 37 VFs
[07:57:27] [PASSED] 38 VFs
[07:57:27] [PASSED] 39 VFs
[07:57:27] [PASSED] 40 VFs
[07:57:27] [PASSED] 41 VFs
[07:57:27] [PASSED] 42 VFs
[07:57:27] [PASSED] 43 VFs
[07:57:27] [PASSED] 44 VFs
[07:57:27] [PASSED] 45 VFs
[07:57:27] [PASSED] 46 VFs
[07:57:27] [PASSED] 47 VFs
[07:57:27] [PASSED] 48 VFs
[07:57:27] [PASSED] 49 VFs
[07:57:27] [PASSED] 50 VFs
[07:57:27] [PASSED] 51 VFs
[07:57:27] [PASSED] 52 VFs
[07:57:27] [PASSED] 53 VFs
[07:57:27] [PASSED] 54 VFs
[07:57:27] [PASSED] 55 VFs
[07:57:27] [PASSED] 56 VFs
[07:57:27] [PASSED] 57 VFs
[07:57:27] [PASSED] 58 VFs
[07:57:27] [PASSED] 59 VFs
[07:57:27] [PASSED] 60 VFs
[07:57:27] [PASSED] 61 VFs
[07:57:27] [PASSED] 62 VFs
[07:57:27] [PASSED] 63 VFs
[07:57:27] ==================== [PASSED] fair_vram ====================
[07:57:27] ================== [PASSED] pf_gt_config ===================
[07:57:27] ===================== lmtt (1 subtest) =====================
[07:57:27] ======================== test_ops =========================
[07:57:27] [PASSED] 2-level
[07:57:27] [PASSED] multi-level
[07:57:27] ==================== [PASSED] test_ops =====================
[07:57:27] ====================== [PASSED] lmtt =======================
[07:57:27] ================= pf_service (11 subtests) =================
[07:57:27] [PASSED] pf_negotiate_any
[07:57:27] [PASSED] pf_negotiate_base_match
[07:57:27] [PASSED] pf_negotiate_base_newer
[07:57:27] [PASSED] pf_negotiate_base_next
[07:57:27] [SKIPPED] pf_negotiate_base_older (no older minor)
[07:57:27] [PASSED] pf_negotiate_base_prev
[07:57:27] [PASSED] pf_negotiate_latest_match
[07:57:27] [PASSED] pf_negotiate_latest_newer
[07:57:27] [PASSED] pf_negotiate_latest_next
[07:57:27] [SKIPPED] pf_negotiate_latest_older (no older minor)
[07:57:27] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[07:57:27] =================== [PASSED] pf_service ====================
[07:57:27] ================= xe_guc_g2g (2 subtests) ==================
[07:57:27] ============== xe_live_guc_g2g_kunit_default ==============
[07:57:27] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[07:57:27] ============== xe_live_guc_g2g_kunit_allmem ===============
[07:57:27] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[07:57:27] =================== [SKIPPED] xe_guc_g2g ===================
[07:57:27] =================== xe_mocs (2 subtests) ===================
[07:57:27] ================ xe_live_mocs_kernel_kunit ================
[07:57:27] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[07:57:27] ================ xe_live_mocs_reset_kunit =================
[07:57:27] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[07:57:27] ==================== [SKIPPED] xe_mocs =====================
[07:57:27] ================= xe_migrate (2 subtests) ==================
[07:57:27] ================= xe_migrate_sanity_kunit =================
[07:57:27] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[07:57:27] ================== xe_validate_ccs_kunit ==================
[07:57:27] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[07:57:27] =================== [SKIPPED] xe_migrate ===================
[07:57:27] ================== xe_dma_buf (1 subtest) ==================
[07:57:27] ==================== xe_dma_buf_kunit =====================
[07:57:27] ================ [SKIPPED] xe_dma_buf_kunit ================
[07:57:27] =================== [SKIPPED] xe_dma_buf ===================
[07:57:27] ================= xe_bo_shrink (1 subtest) =================
[07:57:27] =================== xe_bo_shrink_kunit ====================
[07:57:27] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[07:57:27] ================== [SKIPPED] xe_bo_shrink ==================
[07:57:27] ==================== xe_bo (2 subtests) ====================
[07:57:27] ================== xe_ccs_migrate_kunit ===================
[07:57:27] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[07:57:27] ==================== xe_bo_evict_kunit ====================
[07:57:27] =============== [SKIPPED] xe_bo_evict_kunit ================
[07:57:27] ===================== [SKIPPED] xe_bo ======================
[07:57:27] ==================== args (13 subtests) ====================
[07:57:27] [PASSED] count_args_test
[07:57:27] [PASSED] call_args_example
[07:57:27] [PASSED] call_args_test
[07:57:27] [PASSED] drop_first_arg_example
[07:57:27] [PASSED] drop_first_arg_test
[07:57:27] [PASSED] first_arg_example
[07:57:27] [PASSED] first_arg_test
[07:57:27] [PASSED] last_arg_example
[07:57:27] [PASSED] last_arg_test
[07:57:27] [PASSED] pick_arg_example
[07:57:27] [PASSED] if_args_example
[07:57:27] [PASSED] if_args_test
[07:57:27] [PASSED] sep_comma_example
[07:57:27] ====================== [PASSED] args =======================
[07:57:27] =================== xe_pci (3 subtests) ====================
[07:57:27] ==================== check_graphics_ip ====================
[07:57:27] [PASSED] 12.00 Xe_LP
[07:57:27] [PASSED] 12.10 Xe_LP+
[07:57:27] [PASSED] 12.55 Xe_HPG
[07:57:27] [PASSED] 12.60 Xe_HPC
[07:57:27] [PASSED] 12.70 Xe_LPG
[07:57:27] [PASSED] 12.71 Xe_LPG
[07:57:27] [PASSED] 12.74 Xe_LPG+
[07:57:27] [PASSED] 20.01 Xe2_HPG
[07:57:27] [PASSED] 20.02 Xe2_HPG
[07:57:27] [PASSED] 20.04 Xe2_LPG
[07:57:27] [PASSED] 30.00 Xe3_LPG
[07:57:27] [PASSED] 30.01 Xe3_LPG
[07:57:27] [PASSED] 30.03 Xe3_LPG
[07:57:27] [PASSED] 30.04 Xe3_LPG
[07:57:27] [PASSED] 30.05 Xe3_LPG
[07:57:27] [PASSED] 35.10 Xe3p_LPG
[07:57:27] [PASSED] 35.11 Xe3p_XPC
[07:57:27] ================ [PASSED] check_graphics_ip ================
[07:57:27] ===================== check_media_ip ======================
[07:57:27] [PASSED] 12.00 Xe_M
[07:57:27] [PASSED] 12.55 Xe_HPM
[07:57:27] [PASSED] 13.00 Xe_LPM+
[07:57:27] [PASSED] 13.01 Xe2_HPM
[07:57:27] [PASSED] 20.00 Xe2_LPM
[07:57:27] [PASSED] 30.00 Xe3_LPM
[07:57:27] [PASSED] 30.02 Xe3_LPM
[07:57:27] [PASSED] 35.00 Xe3p_LPM
[07:57:27] [PASSED] 35.03 Xe3p_HPM
[07:57:27] ================= [PASSED] check_media_ip ==================
[07:57:27] =================== check_platform_desc ===================
[07:57:27] [PASSED] 0x9A60 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A68 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A70 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A40 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A49 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A59 (TIGERLAKE)
[07:57:27] [PASSED] 0x9A78 (TIGERLAKE)
[07:57:27] [PASSED] 0x9AC0 (TIGERLAKE)
[07:57:27] [PASSED] 0x9AC9 (TIGERLAKE)
[07:57:27] [PASSED] 0x9AD9 (TIGERLAKE)
[07:57:27] [PASSED] 0x9AF8 (TIGERLAKE)
[07:57:27] [PASSED] 0x4C80 (ROCKETLAKE)
[07:57:27] [PASSED] 0x4C8A (ROCKETLAKE)
[07:57:27] [PASSED] 0x4C8B (ROCKETLAKE)
[07:57:27] [PASSED] 0x4C8C (ROCKETLAKE)
[07:57:27] [PASSED] 0x4C90 (ROCKETLAKE)
[07:57:27] [PASSED] 0x4C9A (ROCKETLAKE)
[07:57:27] [PASSED] 0x4680 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4682 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4688 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x468A (ALDERLAKE_S)
[07:57:27] [PASSED] 0x468B (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4690 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4692 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4693 (ALDERLAKE_S)
[07:57:27] [PASSED] 0x46A0 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46A1 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46A2 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46A3 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46A6 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46A8 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46AA (ALDERLAKE_P)
[07:57:27] [PASSED] 0x462A (ALDERLAKE_P)
[07:57:27] [PASSED] 0x4626 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x4628 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46B0 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46B1 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46B2 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46B3 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46C0 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46C1 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46C2 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46C3 (ALDERLAKE_P)
[07:57:27] [PASSED] 0x46D0 (ALDERLAKE_N)
[07:57:27] [PASSED] 0x46D1 (ALDERLAKE_N)
[07:57:27] [PASSED] 0x46D2 (ALDERLAKE_N)
[07:57:27] [PASSED] 0x46D3 (ALDERLAKE_N)
[07:57:27] [PASSED] 0x46D4 (ALDERLAKE_N)
[07:57:27] [PASSED] 0xA721 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7A1 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7A9 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7AC (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7AD (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA720 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7A0 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7A8 (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7AA (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA7AB (ALDERLAKE_P)
[07:57:27] [PASSED] 0xA780 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA781 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA782 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA783 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA788 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA789 (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA78A (ALDERLAKE_S)
[07:57:27] [PASSED] 0xA78B (ALDERLAKE_S)
[07:57:27] [PASSED] 0x4905 (DG1)
[07:57:27] [PASSED] 0x4906 (DG1)
[07:57:27] [PASSED] 0x4907 (DG1)
[07:57:27] [PASSED] 0x4908 (DG1)
[07:57:27] [PASSED] 0x4909 (DG1)
[07:57:27] [PASSED] 0x56C0 (DG2)
[07:57:27] [PASSED] 0x56C2 (DG2)
[07:57:27] [PASSED] 0x56C1 (DG2)
[07:57:27] [PASSED] 0x7D51 (METEORLAKE)
[07:57:27] [PASSED] 0x7DD1 (METEORLAKE)
[07:57:27] [PASSED] 0x7D41 (METEORLAKE)
[07:57:27] [PASSED] 0x7D67 (METEORLAKE)
[07:57:27] [PASSED] 0xB640 (METEORLAKE)
[07:57:27] [PASSED] 0x56A0 (DG2)
[07:57:27] [PASSED] 0x56A1 (DG2)
[07:57:27] [PASSED] 0x56A2 (DG2)
[07:57:27] [PASSED] 0x56BE (DG2)
[07:57:27] [PASSED] 0x56BF (DG2)
[07:57:27] [PASSED] 0x5690 (DG2)
[07:57:27] [PASSED] 0x5691 (DG2)
[07:57:27] [PASSED] 0x5692 (DG2)
[07:57:27] [PASSED] 0x56A5 (DG2)
[07:57:27] [PASSED] 0x56A6 (DG2)
[07:57:27] [PASSED] 0x56B0 (DG2)
[07:57:27] [PASSED] 0x56B1 (DG2)
[07:57:27] [PASSED] 0x56BA (DG2)
[07:57:27] [PASSED] 0x56BB (DG2)
[07:57:27] [PASSED] 0x56BC (DG2)
[07:57:27] [PASSED] 0x56BD (DG2)
[07:57:27] [PASSED] 0x5693 (DG2)
[07:57:27] [PASSED] 0x5694 (DG2)
[07:57:27] [PASSED] 0x5695 (DG2)
[07:57:27] [PASSED] 0x56A3 (DG2)
[07:57:27] [PASSED] 0x56A4 (DG2)
[07:57:27] [PASSED] 0x56B2 (DG2)
[07:57:27] [PASSED] 0x56B3 (DG2)
[07:57:27] [PASSED] 0x5696 (DG2)
[07:57:27] [PASSED] 0x5697 (DG2)
[07:57:27] [PASSED] 0xB69 (PVC)
[07:57:27] [PASSED] 0xB6E (PVC)
[07:57:27] [PASSED] 0xBD4 (PVC)
[07:57:27] [PASSED] 0xBD5 (PVC)
[07:57:27] [PASSED] 0xBD6 (PVC)
[07:57:27] [PASSED] 0xBD7 (PVC)
[07:57:27] [PASSED] 0xBD8 (PVC)
[07:57:27] [PASSED] 0xBD9 (PVC)
[07:57:27] [PASSED] 0xBDA (PVC)
[07:57:27] [PASSED] 0xBDB (PVC)
[07:57:27] [PASSED] 0xBE0 (PVC)
[07:57:27] [PASSED] 0xBE1 (PVC)
[07:57:27] [PASSED] 0xBE5 (PVC)
[07:57:27] [PASSED] 0x7D40 (METEORLAKE)
[07:57:27] [PASSED] 0x7D45 (METEORLAKE)
[07:57:27] [PASSED] 0x7D55 (METEORLAKE)
[07:57:27] [PASSED] 0x7D60 (METEORLAKE)
[07:57:27] [PASSED] 0x7DD5 (METEORLAKE)
[07:57:27] [PASSED] 0x6420 (LUNARLAKE)
[07:57:27] [PASSED] 0x64A0 (LUNARLAKE)
[07:57:27] [PASSED] 0x64B0 (LUNARLAKE)
[07:57:27] [PASSED] 0xE202 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE209 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE20B (BATTLEMAGE)
[07:57:27] [PASSED] 0xE20C (BATTLEMAGE)
[07:57:27] [PASSED] 0xE20D (BATTLEMAGE)
[07:57:27] [PASSED] 0xE210 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE211 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE212 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE216 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE220 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE221 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE222 (BATTLEMAGE)
[07:57:27] [PASSED] 0xE223 (BATTLEMAGE)
[07:57:27] [PASSED] 0xB080 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB081 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB082 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB083 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB084 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB085 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB086 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB087 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB08F (PANTHERLAKE)
[07:57:27] [PASSED] 0xB090 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB0A0 (PANTHERLAKE)
[07:57:27] [PASSED] 0xB0B0 (PANTHERLAKE)
[07:57:27] [PASSED] 0xFD80 (PANTHERLAKE)
[07:57:27] [PASSED] 0xFD81 (PANTHERLAKE)
[07:57:27] [PASSED] 0xD740 (NOVALAKE_S)
[07:57:27] [PASSED] 0xD741 (NOVALAKE_S)
[07:57:27] [PASSED] 0xD742 (NOVALAKE_S)
[07:57:27] [PASSED] 0xD743 (NOVALAKE_S)
[07:57:27] [PASSED] 0xD745 (NOVALAKE_S)
[07:57:27] [PASSED] 0xD74A (NOVALAKE_S)
[07:57:27] [PASSED] 0xD74B (NOVALAKE_S)
[07:57:27] [PASSED] 0x674C (CRESCENTISLAND)
[07:57:27] [PASSED] 0x674D (CRESCENTISLAND)
[07:57:27] [PASSED] 0x674E (CRESCENTISLAND)
[07:57:27] [PASSED] 0x674F (CRESCENTISLAND)
[07:57:27] [PASSED] 0x6750 (CRESCENTISLAND)
[07:57:27] [PASSED] 0xD750 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD751 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD752 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD753 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD754 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD755 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD756 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD757 (NOVALAKE_P)
[07:57:27] [PASSED] 0xD75F (NOVALAKE_P)
[07:57:27] =============== [PASSED] check_platform_desc ===============
[07:57:27] ===================== [PASSED] xe_pci ======================
[07:57:27] ============= xe_rtp_tables_test (5 subtests) ==============
[07:57:27] ================== xe_rtp_table_gt_test ===================
[07:57:27] [PASSED] gt_was/14011060649
[07:57:27] [PASSED] gt_was/14011059788
[07:57:27] [PASSED] gt_was/14015795083
[07:57:27] [PASSED] gt_was/16021867713
[07:57:27] [PASSED] gt_was/14019449301
[07:57:27] [PASSED] gt_was/16028005424
[07:57:27] [PASSED] gt_was/14026578760
[07:57:27] [PASSED] gt_was/1409420604
[07:57:27] [PASSED] gt_was/1408615072
[07:57:27] [PASSED] gt_was/22010523718
[07:57:27] [PASSED] gt_was/14011006942
[07:57:27] [PASSED] gt_was/14014830051
[07:57:27] [PASSED] gt_was/18018781329
[07:57:27] [PASSED] gt_was/1509235366
[07:57:27] [PASSED] gt_was/18018781329
[07:57:27] [PASSED] gt_was/16016694945
[07:57:27] [PASSED] gt_was/14018575942
[07:57:27] [PASSED] gt_was/22016670082
[07:57:27] [PASSED] gt_was/22016670082
[07:57:27] [PASSED] gt_was/14017421178
[07:57:27] [PASSED] gt_was/16025250150
[07:57:27] [PASSED] gt_was/14021871409
[07:57:27] [PASSED] gt_was/16021865536
[07:57:27] [PASSED] gt_was/14021486841
[07:57:27] [PASSED] gt_was/14025160223
[07:57:27] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[07:57:27] [PASSED] gt_was/14025635424
[07:57:27] [PASSED] gt_was/16028005424
[07:57:27] ============== [PASSED] xe_rtp_table_gt_test ===============
[07:57:27] ================== xe_rtp_table_gt_test ===================
[07:57:27] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[07:57:27] [PASSED] gt_tunings/Tuning: 32B Access Enable
[07:57:27] [PASSED] gt_tunings/Tuning: L3 cache
[07:57:27] [PASSED] gt_tunings/Tuning: L3 cache - media
[07:57:27] [PASSED] gt_tunings/Tuning: Compression Overfetch
[07:57:27] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[07:57:27] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[07:57:27] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[07:57:27] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[07:57:27] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[07:57:27] [PASSED] gt_tunings/Tuning: Stateless compression control
[07:57:27] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[07:57:27] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[07:57:27] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[07:57:27] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[07:57:27] ============== [PASSED] xe_rtp_table_gt_test ===============
[07:57:27] ================== xe_rtp_table_oob_test ==================
[07:57:27] [PASSED] oob_was/1607983814
[07:57:27] [PASSED] oob_was/16010904313
[07:57:27] [PASSED] oob_was/18022495364
[07:57:27] [PASSED] oob_was/22012773006
[07:57:27] [PASSED] oob_was/14014475959
[07:57:27] [PASSED] oob_was/22011391025
[07:57:27] [PASSED] oob_was/22012727170
[07:57:27] [PASSED] oob_was/22012727685
[07:57:27] [PASSED] oob_was/22016596838
[07:57:27] [PASSED] oob_was/18020744125
[07:57:27] [PASSED] oob_was/1409600907
[07:57:27] [PASSED] oob_was/22014953428
[07:57:27] [PASSED] oob_was/16017236439
[07:57:27] [PASSED] oob_was/14019821291
[07:57:27] [PASSED] oob_was/14015076503
[07:57:27] [PASSED] oob_was/14018913170
[07:57:27] [PASSED] oob_was/14018094691
[07:57:27] [PASSED] oob_was/18024947630
[07:57:27] [PASSED] oob_was/16022287689
[07:57:27] [PASSED] oob_was/13011645652
[07:57:27] [PASSED] oob_was/14022293748
[07:57:27] [PASSED] oob_was/22019794406
[07:57:27] [PASSED] oob_was/22019338487
[07:57:27] [PASSED] oob_was/16023588340
[07:57:27] [PASSED] oob_was/14019789679
[07:57:27] [PASSED] oob_was/14022866841
[07:57:27] [PASSED] oob_was/16021333562
[07:57:27] [PASSED] oob_was/14016712196
[07:57:27] [PASSED] oob_was/14015568240
[07:57:27] [PASSED] oob_was/18013179988
[07:57:27] [PASSED] oob_was/1508761755
[07:57:27] [PASSED] oob_was/16023105232
[07:57:27] [PASSED] oob_was/16026508708
[07:57:27] [PASSED] oob_was/14020001231
[07:57:27] [PASSED] oob_was/16023683509
[07:57:27] [PASSED] oob_was/14025515070
[07:57:27] [PASSED] oob_was/15015404425_disable
[07:57:27] [PASSED] oob_was/16026007364
[07:57:27] [PASSED] oob_was/14020316580
[07:57:27] [PASSED] oob_was/14025883347
[07:57:27] [PASSED] oob_was/16029380221
[07:57:27] ============== [PASSED] xe_rtp_table_oob_test ==============
[07:57:27] ================ xe_rtp_table_dev_oob_test ================
[07:57:27] [PASSED] device_oob_was/22010954014
[07:57:27] [PASSED] device_oob_was/15015404425
[07:57:27] [PASSED] device_oob_was/22019338487_display
[07:57:27] [PASSED] device_oob_was/14022085890
[07:57:27] [PASSED] device_oob_was/14026539277
[07:57:27] [PASSED] device_oob_was/14026633728
[07:57:27] [PASSED] device_oob_was/14026746987
[07:57:27] [PASSED] device_oob_was/14026779378
[07:57:27] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[07:57:27] ========== xe_rtp_table_missing_upper_bound_test ==========
[07:57:27] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[07:57:27] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[07:57:27] [PASSED] register_whitelist/1806527549
[07:57:27] [PASSED] register_whitelist/allow_read_ctx_timestamp
[07:57:27] [PASSED] register_whitelist/allow_read_queue_timestamp
[07:57:27] [PASSED] register_whitelist/16014440446
[07:57:27] [PASSED] register_whitelist/16017236439
[07:57:27] [PASSED] register_whitelist/16020183090
[07:57:27] [PASSED] register_whitelist/14024997852
[07:57:27] [PASSED] register_whitelist/14024997852
[07:57:27] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[07:57:27] =============== [PASSED] xe_rtp_tables_test ================
[07:57:27] =================== xe_rtp (3 subtests) ====================
[07:57:27] =================== xe_rtp_rules_tests ====================
[07:57:27] [PASSED] no
[07:57:27] [PASSED] yes
[07:57:27] [PASSED] no-and-no
[07:57:27] [PASSED] no-and-yes
[07:57:27] [PASSED] yes-and-no
[07:57:27] [PASSED] yes-and-yes
[07:57:27] [PASSED] no-or-no
[07:57:27] [PASSED] no-or-yes
[07:57:27] [PASSED] yes-or-no
[07:57:27] [PASSED] yes-or-yes
[07:57:27] [PASSED] no-yes-or-yes-no
[07:57:27] [PASSED] no-yes-or-yes-yes
[07:57:27] [PASSED] yes-yes-or-no-yes
[07:57:27] [PASSED] yes-yes-or-yes-yes
[07:57:27] [PASSED] no-no-or-yes-or-no
[07:57:27] [PASSED] or
[07:57:27] [PASSED] or-yes
[07:57:27] [PASSED] or-no
[07:57:27] [PASSED] yes-or
[07:57:27] [PASSED] no-or
[07:57:27] [PASSED] no-or-or-yes
[07:57:27] [PASSED] yes-or-or-no
[07:57:27] [PASSED] no-or-or-no
[07:57:27] [PASSED] missing-context-engine-class
[07:57:27] [PASSED] missing-context-engine-class-or-yes
[07:57:27] [PASSED] missing-context-engine-class-or-or-yes
[07:57:27] =============== [PASSED] xe_rtp_rules_tests ================
[07:57:27] =============== xe_rtp_process_to_sr_tests ================
[07:57:27] [PASSED] coalesce-same-reg
[07:57:27] [PASSED] coalesce-same-reg-literal-and-func
[07:57:27] [PASSED] no-match-no-add
[07:57:27] [PASSED] two-regs-two-entries
[07:57:27] [PASSED] clr-one-set-other
[07:57:27] [PASSED] set-field
[07:57:27] [PASSED] conflict-duplicate
[07:57:27] [PASSED] conflict-not-disjoint
[07:57:27] [PASSED] conflict-not-disjoint-literal-and-func
[07:57:27] [PASSED] conflict-reg-type
[07:57:27] [PASSED] bad-mcr-reg-forced-to-regular
[07:57:27] [PASSED] bad-regular-reg-forced-to-mcr
[07:57:27] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[07:57:27] ================== xe_rtp_process_tests ===================
[07:57:27] [PASSED] active1
[07:57:27] [PASSED] active2
[07:57:27] [PASSED] active-inactive
[07:57:27] [PASSED] inactive-active
[07:57:27] [PASSED] inactive-active-inactive
[07:57:27] [PASSED] inactive-inactive-inactive
[07:57:27] ============== [PASSED] xe_rtp_process_tests ===============
[07:57:27] ===================== [PASSED] xe_rtp ======================
[07:57:27] ==================== xe_wa (1 subtest) =====================
[07:57:27] ======================== xe_wa_gt =========================
[07:57:27] [PASSED] TIGERLAKE B0
[07:57:27] [PASSED] DG1 A0
[07:57:27] [PASSED] DG1 B0
[07:57:27] [PASSED] ALDERLAKE_S A0
[07:57:27] [PASSED] ALDERLAKE_S B0
[07:57:27] [PASSED] ALDERLAKE_S C0
[07:57:27] [PASSED] ALDERLAKE_S D0
[07:57:27] [PASSED] ALDERLAKE_P A0
[07:57:27] [PASSED] ALDERLAKE_P B0
[07:57:27] [PASSED] ALDERLAKE_P C0
[07:57:27] [PASSED] ALDERLAKE_S RPLS D0
[07:57:27] [PASSED] ALDERLAKE_P RPLU E0
[07:57:27] [PASSED] DG2 G10 C0
[07:57:27] [PASSED] DG2 G11 B1
[07:57:27] [PASSED] DG2 G12 A1
[07:57:27] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:57:27] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[07:57:27] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[07:57:27] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[07:57:27] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[07:57:27] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[07:57:27] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[07:57:27] ==================== [PASSED] xe_wa_gt =====================
[07:57:27] ====================== [PASSED] xe_wa ======================
[07:57:27] ============================================================
[07:57:27] Testing complete. Ran 729 tests: passed: 711, skipped: 18
[07:57:27] Elapsed time: 36.788s total, 4.421s configuring, 31.698s building, 0.647s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[07:57:27] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:57:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:57:53] Starting KUnit Kernel (1/1)...
[07:57:53] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:57:54] ============ drm_test_pick_cmdline (2 subtests) ============
[07:57:54] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[07:57:54] =============== drm_test_pick_cmdline_named ===============
[07:57:54] [PASSED] NTSC
[07:57:54] [PASSED] NTSC-J
[07:57:54] [PASSED] PAL
[07:57:54] [PASSED] PAL-M
[07:57:54] =========== [PASSED] drm_test_pick_cmdline_named ===========
[07:57:54] ============== [PASSED] drm_test_pick_cmdline ==============
[07:57:54] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[07:57:54] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[07:57:54] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[07:57:54] =========== drm_validate_clone_mode (2 subtests) ===========
[07:57:54] ============== drm_test_check_in_clone_mode ===============
[07:57:54] [PASSED] in_clone_mode
[07:57:54] [PASSED] not_in_clone_mode
[07:57:54] ========== [PASSED] drm_test_check_in_clone_mode ===========
[07:57:54] =============== drm_test_check_valid_clones ===============
[07:57:54] [PASSED] not_in_clone_mode
[07:57:54] [PASSED] valid_clone
[07:57:54] [PASSED] invalid_clone
[07:57:54] =========== [PASSED] drm_test_check_valid_clones ===========
[07:57:54] ============= [PASSED] drm_validate_clone_mode =============
[07:57:54] ============= drm_validate_modeset (1 subtest) =============
[07:57:54] [PASSED] drm_test_check_connector_changed_modeset
[07:57:54] ============== [PASSED] drm_validate_modeset ===============
[07:57:54] ====== drm_test_bridge_get_current_state (2 subtests) ======
[07:57:54] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[07:57:54] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[07:57:54] ======== [PASSED] drm_test_bridge_get_current_state ========
[07:57:54] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ======
[07:57:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[07:57:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[07:57:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[07:57:54] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[07:57:54] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[07:57:54] ============== drm_bridge_alloc (2 subtests) ===============
[07:57:54] [PASSED] drm_test_drm_bridge_alloc_basic
[07:57:54] [PASSED] drm_test_drm_bridge_alloc_get_put
[07:57:54] ================ [PASSED] drm_bridge_alloc =================
[07:57:54] ============= drm_bridge_bus_fmt (5 subtests) ==============
[07:57:54] [PASSED] drm_test_bridge_rgb_yuv_rgb
[07:57:54] [PASSED] drm_test_bridge_must_convert_to_yuv444
[07:57:54] [PASSED] drm_test_bridge_hdmi_auto_rgb
[07:57:54] [PASSED] drm_test_bridge_auto_first
[07:57:54] [PASSED] drm_test_bridge_rgb_yuv_no_path
[07:57:54] =============== [PASSED] drm_bridge_bus_fmt ================
[07:57:54] ============= drm_cmdline_parser (40 subtests) =============
[07:57:54] [PASSED] drm_test_cmdline_force_d_only
[07:57:54] [PASSED] drm_test_cmdline_force_D_only_dvi
[07:57:54] [PASSED] drm_test_cmdline_force_D_only_hdmi
[07:57:54] [PASSED] drm_test_cmdline_force_D_only_not_digital
[07:57:54] [PASSED] drm_test_cmdline_force_e_only
[07:57:54] [PASSED] drm_test_cmdline_res
[07:57:54] [PASSED] drm_test_cmdline_res_vesa
[07:57:54] [PASSED] drm_test_cmdline_res_vesa_rblank
[07:57:54] [PASSED] drm_test_cmdline_res_rblank
[07:57:54] [PASSED] drm_test_cmdline_res_bpp
[07:57:54] [PASSED] drm_test_cmdline_res_refresh
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[07:57:54] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[07:57:54] [PASSED] drm_test_cmdline_res_margins_force_on
[07:57:54] [PASSED] drm_test_cmdline_res_vesa_margins
[07:57:54] [PASSED] drm_test_cmdline_name
[07:57:54] [PASSED] drm_test_cmdline_name_bpp
[07:57:54] [PASSED] drm_test_cmdline_name_option
[07:57:54] [PASSED] drm_test_cmdline_name_bpp_option
[07:57:54] [PASSED] drm_test_cmdline_rotate_0
[07:57:54] [PASSED] drm_test_cmdline_rotate_90
[07:57:54] [PASSED] drm_test_cmdline_rotate_180
[07:57:54] [PASSED] drm_test_cmdline_rotate_270
[07:57:54] [PASSED] drm_test_cmdline_hmirror
[07:57:54] [PASSED] drm_test_cmdline_vmirror
[07:57:54] [PASSED] drm_test_cmdline_margin_options
[07:57:54] [PASSED] drm_test_cmdline_multiple_options
[07:57:54] [PASSED] drm_test_cmdline_bpp_extra_and_option
[07:57:54] [PASSED] drm_test_cmdline_extra_and_option
[07:57:54] [PASSED] drm_test_cmdline_freestanding_options
[07:57:54] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[07:57:54] [PASSED] drm_test_cmdline_panel_orientation
[07:57:54] ================ drm_test_cmdline_invalid =================
[07:57:54] [PASSED] margin_only
[07:57:54] [PASSED] interlace_only
[07:57:54] [PASSED] res_missing_x
[07:57:54] [PASSED] res_missing_y
[07:57:54] [PASSED] res_bad_y
[07:57:54] [PASSED] res_missing_y_bpp
[07:57:54] [PASSED] res_bad_bpp
[07:57:54] [PASSED] res_bad_refresh
[07:57:54] [PASSED] res_bpp_refresh_force_on_off
[07:57:54] [PASSED] res_invalid_mode
[07:57:54] [PASSED] res_bpp_wrong_place_mode
[07:57:54] [PASSED] name_bpp_refresh
[07:57:54] [PASSED] name_refresh
[07:57:54] [PASSED] name_refresh_wrong_mode
[07:57:54] [PASSED] name_refresh_invalid_mode
[07:57:54] [PASSED] rotate_multiple
[07:57:54] [PASSED] rotate_invalid_val
[07:57:54] [PASSED] rotate_truncated
[07:57:54] [PASSED] invalid_option
[07:57:54] [PASSED] invalid_tv_option
[07:57:54] [PASSED] truncated_tv_option
[07:57:54] ============ [PASSED] drm_test_cmdline_invalid =============
[07:57:54] =============== drm_test_cmdline_tv_options ===============
[07:57:54] [PASSED] NTSC
[07:57:54] [PASSED] NTSC_443
[07:57:54] [PASSED] NTSC_J
[07:57:54] [PASSED] PAL
[07:57:54] [PASSED] PAL_M
[07:57:54] [PASSED] PAL_N
[07:57:54] [PASSED] SECAM
[07:57:54] [PASSED] MONO_525
[07:57:54] [PASSED] MONO_625
[07:57:54] =========== [PASSED] drm_test_cmdline_tv_options ===========
[07:57:54] =============== [PASSED] drm_cmdline_parser ================
[07:57:54] ========== drmm_connector_hdmi_init (20 subtests) ==========
[07:57:54] [PASSED] drm_test_connector_hdmi_init_valid
[07:57:54] [PASSED] drm_test_connector_hdmi_init_bpc_8
[07:57:54] [PASSED] drm_test_connector_hdmi_init_bpc_10
[07:57:54] [PASSED] drm_test_connector_hdmi_init_bpc_12
[07:57:54] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[07:57:54] [PASSED] drm_test_connector_hdmi_init_bpc_null
[07:57:54] [PASSED] drm_test_connector_hdmi_init_formats_empty
[07:57:54] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[07:57:54] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:57:54] [PASSED] supported_formats=0x9 yuv420_allowed=1
[07:57:54] [PASSED] supported_formats=0x9 yuv420_allowed=0
[07:57:54] [PASSED] supported_formats=0x5 yuv420_allowed=1
[07:57:54] [PASSED] supported_formats=0x5 yuv420_allowed=0
[07:57:54] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:57:54] [PASSED] drm_test_connector_hdmi_init_null_ddc
[07:57:54] [PASSED] drm_test_connector_hdmi_init_null_product
[07:57:54] [PASSED] drm_test_connector_hdmi_init_null_vendor
[07:57:54] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[07:57:54] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[07:57:54] [PASSED] drm_test_connector_hdmi_init_product_valid
[07:57:54] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[07:57:54] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[07:57:54] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[07:57:54] ========= drm_test_connector_hdmi_init_type_valid =========
[07:57:54] [PASSED] HDMI-A
[07:57:54] [PASSED] HDMI-B
[07:57:54] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[07:57:54] ======== drm_test_connector_hdmi_init_type_invalid ========
[07:57:54] [PASSED] Unknown
[07:57:54] [PASSED] VGA
[07:57:54] [PASSED] DVI-I
[07:57:54] [PASSED] DVI-D
[07:57:54] [PASSED] DVI-A
[07:57:54] [PASSED] Composite
[07:57:54] [PASSED] SVIDEO
[07:57:54] [PASSED] LVDS
[07:57:54] [PASSED] Component
[07:57:54] [PASSED] DIN
[07:57:54] [PASSED] DP
[07:57:54] [PASSED] TV
[07:57:54] [PASSED] eDP
[07:57:54] [PASSED] Virtual
[07:57:54] [PASSED] DSI
[07:57:54] [PASSED] DPI
[07:57:54] [PASSED] Writeback
[07:57:54] [PASSED] SPI
[07:57:54] [PASSED] USB
[07:57:54] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[07:57:54] ============ [PASSED] drmm_connector_hdmi_init =============
[07:57:54] ============= drmm_connector_init (3 subtests) =============
[07:57:54] [PASSED] drm_test_drmm_connector_init
[07:57:54] [PASSED] drm_test_drmm_connector_init_null_ddc
[07:57:54] ========= drm_test_drmm_connector_init_type_valid =========
[07:57:54] [PASSED] Unknown
[07:57:54] [PASSED] VGA
[07:57:54] [PASSED] DVI-I
[07:57:54] [PASSED] DVI-D
[07:57:54] [PASSED] DVI-A
[07:57:54] [PASSED] Composite
[07:57:54] [PASSED] SVIDEO
[07:57:54] [PASSED] LVDS
[07:57:54] [PASSED] Component
[07:57:54] [PASSED] DIN
[07:57:54] [PASSED] DP
[07:57:54] [PASSED] HDMI-A
[07:57:54] [PASSED] HDMI-B
[07:57:54] [PASSED] TV
[07:57:54] [PASSED] eDP
[07:57:54] [PASSED] Virtual
[07:57:54] [PASSED] DSI
[07:57:54] [PASSED] DPI
[07:57:54] [PASSED] Writeback
[07:57:54] [PASSED] SPI
[07:57:54] [PASSED] USB
[07:57:54] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[07:57:54] =============== [PASSED] drmm_connector_init ===============
[07:57:54] ========= drm_connector_dynamic_init (6 subtests) ==========
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_init
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_init_properties
[07:57:54] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[07:57:54] [PASSED] Unknown
[07:57:54] [PASSED] VGA
[07:57:54] [PASSED] DVI-I
[07:57:54] [PASSED] DVI-D
[07:57:54] [PASSED] DVI-A
[07:57:54] [PASSED] Composite
[07:57:54] [PASSED] SVIDEO
[07:57:54] [PASSED] LVDS
[07:57:54] [PASSED] Component
[07:57:54] [PASSED] DIN
[07:57:54] [PASSED] DP
[07:57:54] [PASSED] HDMI-A
[07:57:54] [PASSED] HDMI-B
[07:57:54] [PASSED] TV
[07:57:54] [PASSED] eDP
[07:57:54] [PASSED] Virtual
[07:57:54] [PASSED] DSI
[07:57:54] [PASSED] DPI
[07:57:54] [PASSED] Writeback
[07:57:54] [PASSED] SPI
[07:57:54] [PASSED] USB
[07:57:54] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[07:57:54] ======== drm_test_drm_connector_dynamic_init_name =========
[07:57:54] [PASSED] Unknown
[07:57:54] [PASSED] VGA
[07:57:54] [PASSED] DVI-I
[07:57:54] [PASSED] DVI-D
[07:57:54] [PASSED] DVI-A
[07:57:54] [PASSED] Composite
[07:57:54] [PASSED] SVIDEO
[07:57:54] [PASSED] LVDS
[07:57:54] [PASSED] Component
[07:57:54] [PASSED] DIN
[07:57:54] [PASSED] DP
[07:57:54] [PASSED] HDMI-A
[07:57:54] [PASSED] HDMI-B
[07:57:54] [PASSED] TV
[07:57:54] [PASSED] eDP
[07:57:54] [PASSED] Virtual
[07:57:54] [PASSED] DSI
[07:57:54] [PASSED] DPI
[07:57:54] [PASSED] Writeback
[07:57:54] [PASSED] SPI
[07:57:54] [PASSED] USB
[07:57:54] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[07:57:54] =========== [PASSED] drm_connector_dynamic_init ============
[07:57:54] ==== drm_connector_dynamic_register_early (4 subtests) =====
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[07:57:54] ====== [PASSED] drm_connector_dynamic_register_early =======
[07:57:54] ======= drm_connector_dynamic_register (7 subtests) ========
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[07:57:54] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[07:57:54] ========= [PASSED] drm_connector_dynamic_register ==========
[07:57:54] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[07:57:54] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[07:57:54] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[07:57:54] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[07:57:54] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[07:57:54] ========== drm_test_get_tv_mode_from_name_valid ===========
[07:57:54] [PASSED] NTSC
[07:57:54] [PASSED] NTSC-443
[07:57:54] [PASSED] NTSC-J
[07:57:54] [PASSED] PAL
[07:57:54] [PASSED] PAL-M
[07:57:54] [PASSED] PAL-N
[07:57:54] [PASSED] SECAM
[07:57:54] [PASSED] Mono
[07:57:54] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[07:57:54] [PASSED] drm_test_get_tv_mode_from_name_truncated
[07:57:54] ============ [PASSED] drm_get_tv_mode_from_name ============
[07:57:54] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[07:57:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[07:57:54] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[07:57:54] [PASSED] VIC 96
[07:57:54] [PASSED] VIC 97
[07:57:54] [PASSED] VIC 101
[07:57:54] [PASSED] VIC 102
[07:57:54] [PASSED] VIC 106
[07:57:54] [PASSED] VIC 107
[07:57:54] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[07:57:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[07:57:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[07:57:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[07:57:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[07:57:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[07:57:54] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[07:57:54] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[07:57:54] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[07:57:54] [PASSED] Automatic
[07:57:54] [PASSED] Full
[07:57:54] [PASSED] Limited 16:235
[07:57:54] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[07:57:54] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[07:57:54] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[07:57:54] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[07:57:54] === drm_test_drm_hdmi_connector_get_output_format_name ====
[07:57:54] [PASSED] RGB
[07:57:54] [PASSED] YUV 4:2:0
[07:57:54] [PASSED] YUV 4:2:2
[07:57:54] [PASSED] YUV 4:4:4
[07:57:54] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[07:57:54] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[07:57:54] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[07:57:54] ============= drm_damage_helper (21 subtests) ==============
[07:57:54] [PASSED] drm_test_damage_iter_no_damage
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_src_moved
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_not_visible
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[07:57:54] [PASSED] drm_test_damage_iter_no_damage_no_fb
[07:57:54] [PASSED] drm_test_damage_iter_simple_damage
[07:57:54] [PASSED] drm_test_damage_iter_single_damage
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_outside_src
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_src_moved
[07:57:54] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[07:57:54] [PASSED] drm_test_damage_iter_damage
[07:57:54] [PASSED] drm_test_damage_iter_damage_one_intersect
[07:57:54] [PASSED] drm_test_damage_iter_damage_one_outside
[07:57:54] [PASSED] drm_test_damage_iter_damage_src_moved
[07:57:54] [PASSED] drm_test_damage_iter_damage_not_visible
[07:57:54] ================ [PASSED] drm_damage_helper ================
[07:57:54] ============== drm_dp_mst_helper (3 subtests) ==============
[07:57:54] ============== drm_test_dp_mst_calc_pbn_mode ==============
[07:57:54] [PASSED] Clock 154000 BPP 30 DSC disabled
[07:57:54] [PASSED] Clock 234000 BPP 30 DSC disabled
[07:57:54] [PASSED] Clock 297000 BPP 24 DSC disabled
[07:57:54] [PASSED] Clock 332880 BPP 24 DSC enabled
[07:57:54] [PASSED] Clock 324540 BPP 24 DSC enabled
[07:57:54] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[07:57:54] ============== drm_test_dp_mst_calc_pbn_div ===============
[07:57:54] [PASSED] Link rate 2000000 lane count 4
[07:57:54] [PASSED] Link rate 2000000 lane count 2
[07:57:54] [PASSED] Link rate 2000000 lane count 1
[07:57:54] [PASSED] Link rate 1350000 lane count 4
[07:57:54] [PASSED] Link rate 1350000 lane count 2
[07:57:54] [PASSED] Link rate 1350000 lane count 1
[07:57:54] [PASSED] Link rate 1000000 lane count 4
[07:57:54] [PASSED] Link rate 1000000 lane count 2
[07:57:54] [PASSED] Link rate 1000000 lane count 1
[07:57:54] [PASSED] Link rate 810000 lane count 4
[07:57:54] [PASSED] Link rate 810000 lane count 2
[07:57:54] [PASSED] Link rate 810000 lane count 1
[07:57:54] [PASSED] Link rate 540000 lane count 4
[07:57:54] [PASSED] Link rate 540000 lane count 2
[07:57:54] [PASSED] Link rate 540000 lane count 1
[07:57:54] [PASSED] Link rate 270000 lane count 4
[07:57:54] [PASSED] Link rate 270000 lane count 2
[07:57:54] [PASSED] Link rate 270000 lane count 1
[07:57:54] [PASSED] Link rate 162000 lane count 4
[07:57:54] [PASSED] Link rate 162000 lane count 2
[07:57:54] [PASSED] Link rate 162000 lane count 1
[07:57:54] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[07:57:54] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[07:57:54] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[07:57:54] [PASSED] DP_POWER_UP_PHY with port number
[07:57:54] [PASSED] DP_POWER_DOWN_PHY with port number
[07:57:54] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[07:57:54] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[07:57:54] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[07:57:54] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[07:57:54] [PASSED] DP_QUERY_PAYLOAD with port number
[07:57:54] [PASSED] DP_QUERY_PAYLOAD with VCPI
[07:57:54] [PASSED] DP_REMOTE_DPCD_READ with port number
[07:57:54] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[07:57:54] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[07:57:54] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[07:57:54] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[07:57:54] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[07:57:54] [PASSED] DP_REMOTE_I2C_READ with port number
[07:57:54] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[07:57:54] [PASSED] DP_REMOTE_I2C_READ with transactions array
[07:57:54] [PASSED] DP_REMOTE_I2C_WRITE with port number
[07:57:54] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[07:57:54] [PASSED] DP_REMOTE_I2C_WRITE with data array
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[07:57:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[07:57:54] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[07:57:54] ================ [PASSED] drm_dp_mst_helper ================
[07:57:54] ================== drm_exec (7 subtests) ===================
[07:57:54] [PASSED] sanitycheck
[07:57:54] [PASSED] test_lock
[07:57:54] [PASSED] test_lock_unlock
[07:57:54] [PASSED] test_duplicates
[07:57:54] [PASSED] test_prepare
[07:57:54] [PASSED] test_prepare_array
[07:57:54] [PASSED] test_multiple_loops
[07:57:54] ==================== [PASSED] drm_exec =====================
[07:57:54] =========== drm_format_helper_test (17 subtests) ===========
[07:57:54] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[07:57:54] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[07:57:54] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[07:57:54] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[07:57:54] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[07:57:54] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[07:57:54] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[07:57:54] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[07:57:54] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[07:57:54] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[07:57:54] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[07:57:54] ============== drm_test_fb_xrgb8888_to_mono ===============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[07:57:54] ==================== drm_test_fb_swab =====================
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ================ [PASSED] drm_test_fb_swab =================
[07:57:54] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[07:57:54] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[07:57:54] [PASSED] single_pixel_source_buffer
[07:57:54] [PASSED] single_pixel_clip_rectangle
[07:57:54] [PASSED] well_known_colors
[07:57:54] [PASSED] destination_pitch
[07:57:54] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[07:57:54] ================= drm_test_fb_clip_offset =================
[07:57:54] [PASSED] pass through
[07:57:54] [PASSED] horizontal offset
[07:57:54] [PASSED] vertical offset
[07:57:54] [PASSED] horizontal and vertical offset
[07:57:54] [PASSED] horizontal offset (custom pitch)
[07:57:54] [PASSED] vertical offset (custom pitch)
[07:57:54] [PASSED] horizontal and vertical offset (custom pitch)
[07:57:54] ============= [PASSED] drm_test_fb_clip_offset =============
[07:57:54] =================== drm_test_fb_memcpy ====================
[07:57:54] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[07:57:54] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[07:57:54] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[07:57:54] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[07:57:54] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[07:57:54] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[07:57:54] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[07:57:54] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[07:57:54] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[07:57:54] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[07:57:54] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[07:57:54] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[07:57:54] =============== [PASSED] drm_test_fb_memcpy ================
[07:57:54] ============= [PASSED] drm_format_helper_test ==============
[07:57:54] ================= drm_format (18 subtests) =================
[07:57:54] [PASSED] drm_test_format_block_width_invalid
[07:57:54] [PASSED] drm_test_format_block_width_one_plane
[07:57:54] [PASSED] drm_test_format_block_width_two_plane
[07:57:54] [PASSED] drm_test_format_block_width_three_plane
[07:57:54] [PASSED] drm_test_format_block_width_tiled
[07:57:54] [PASSED] drm_test_format_block_height_invalid
[07:57:54] [PASSED] drm_test_format_block_height_one_plane
[07:57:54] [PASSED] drm_test_format_block_height_two_plane
[07:57:54] [PASSED] drm_test_format_block_height_three_plane
[07:57:54] [PASSED] drm_test_format_block_height_tiled
[07:57:54] [PASSED] drm_test_format_min_pitch_invalid
[07:57:54] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[07:57:54] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[07:57:54] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[07:57:54] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[07:57:54] [PASSED] drm_test_format_min_pitch_two_plane
[07:57:54] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[07:57:54] [PASSED] drm_test_format_min_pitch_tiled
[07:57:54] =================== [PASSED] drm_format ====================
[07:57:54] ============== drm_framebuffer (10 subtests) ===============
[07:57:54] ========== drm_test_framebuffer_check_src_coords ==========
[07:57:54] [PASSED] Success: source fits into fb
[07:57:54] [PASSED] Fail: overflowing fb with x-axis coordinate
[07:57:54] [PASSED] Fail: overflowing fb with y-axis coordinate
[07:57:54] [PASSED] Fail: overflowing fb with source width
[07:57:54] [PASSED] Fail: overflowing fb with source height
[07:57:54] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[07:57:54] [PASSED] drm_test_framebuffer_cleanup
[07:57:54] =============== drm_test_framebuffer_create ===============
[07:57:54] [PASSED] ABGR8888 normal sizes
[07:57:54] [PASSED] ABGR8888 max sizes
[07:57:54] [PASSED] ABGR8888 pitch greater than min required
[07:57:54] [PASSED] ABGR8888 pitch less than min required
[07:57:54] [PASSED] ABGR8888 Invalid width
[07:57:54] [PASSED] ABGR8888 Invalid buffer handle
[07:57:54] [PASSED] No pixel format
[07:57:54] [PASSED] ABGR8888 Width 0
[07:57:54] [PASSED] ABGR8888 Height 0
[07:57:54] [PASSED] ABGR8888 Out of bound height * pitch combination
[07:57:54] [PASSED] ABGR8888 Large buffer offset
[07:57:54] [PASSED] ABGR8888 Buffer offset for inexistent plane
[07:57:54] [PASSED] ABGR8888 Invalid flag
[07:57:54] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[07:57:54] [PASSED] ABGR8888 Valid buffer modifier
[07:57:54] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[07:57:54] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] NV12 Normal sizes
[07:57:54] [PASSED] NV12 Max sizes
[07:57:54] [PASSED] NV12 Invalid pitch
[07:57:54] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[07:57:54] [PASSED] NV12 different modifier per-plane
[07:57:54] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[07:57:54] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] NV12 Modifier for inexistent plane
[07:57:54] [PASSED] NV12 Handle for inexistent plane
[07:57:54] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[07:57:54] [PASSED] YVU420 Normal sizes
[07:57:54] [PASSED] YVU420 Max sizes
[07:57:54] [PASSED] YVU420 Invalid pitch
[07:57:54] [PASSED] YVU420 Different pitches
[07:57:54] [PASSED] YVU420 Different buffer offsets/pitches
[07:57:54] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[07:57:54] [PASSED] YVU420 Valid modifier
[07:57:54] [PASSED] YVU420 Different modifiers per plane
[07:57:54] [PASSED] YVU420 Modifier for inexistent plane
[07:57:54] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[07:57:54] [PASSED] X0L2 Normal sizes
[07:57:54] [PASSED] X0L2 Max sizes
[07:57:54] [PASSED] X0L2 Invalid pitch
[07:57:54] [PASSED] X0L2 Pitch greater than minimum required
[07:57:54] [PASSED] X0L2 Handle for inexistent plane
[07:57:54] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[07:57:54] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[07:57:54] [PASSED] X0L2 Valid modifier
[07:57:54] [PASSED] X0L2 Modifier for inexistent plane
[07:57:54] =========== [PASSED] drm_test_framebuffer_create ===========
[07:57:54] [PASSED] drm_test_framebuffer_free
[07:57:54] [PASSED] drm_test_framebuffer_init
[07:57:54] [PASSED] drm_test_framebuffer_init_bad_format
[07:57:54] [PASSED] drm_test_framebuffer_init_dev_mismatch
[07:57:54] [PASSED] drm_test_framebuffer_lookup
[07:57:54] [PASSED] drm_test_framebuffer_lookup_inexistent
[07:57:54] [PASSED] drm_test_framebuffer_modifiers_not_supported
[07:57:54] ================= [PASSED] drm_framebuffer =================
[07:57:54] ================ drm_gem_shmem (8 subtests) ================
[07:57:54] [PASSED] drm_gem_shmem_test_obj_create
[07:57:54] [PASSED] drm_gem_shmem_test_obj_create_private
[07:57:54] [PASSED] drm_gem_shmem_test_pin_pages
[07:57:54] [PASSED] drm_gem_shmem_test_vmap
[07:57:54] [PASSED] drm_gem_shmem_test_get_sg_table
[07:57:54] [PASSED] drm_gem_shmem_test_get_pages_sgt
[07:57:54] [PASSED] drm_gem_shmem_test_madvise
[07:57:54] [PASSED] drm_gem_shmem_test_purge
[07:57:54] ================== [PASSED] drm_gem_shmem ==================
[07:57:54] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[07:57:54] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[07:57:54] [PASSED] Automatic
[07:57:54] [PASSED] Full
[07:57:54] [PASSED] Limited 16:235
[07:57:54] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[07:57:54] [PASSED] drm_test_check_disable_connector
[07:57:54] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[07:57:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[07:57:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[07:57:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[07:57:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[07:57:54] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[07:57:54] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[07:57:54] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[07:57:54] [PASSED] drm_test_check_output_bpc_dvi
[07:57:54] [PASSED] drm_test_check_output_bpc_format_vic_1
[07:57:54] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[07:57:54] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[07:57:54] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[07:57:54] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[07:57:54] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[07:57:54] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[07:57:54] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[07:57:54] ============ drm_test_check_hdmi_color_format =============
[07:57:54] [PASSED] AUTO -> RGB
[07:57:54] [PASSED] YCBCR422 -> YUV422
[07:57:54] [PASSED] YCBCR420 -> YUV420
[07:57:54] [PASSED] YCBCR444 -> YUV444
[07:57:54] [PASSED] RGB -> RGB
[07:57:54] ======== [PASSED] drm_test_check_hdmi_color_format =========
[07:57:54] ======== drm_test_check_hdmi_color_format_420_only ========
[07:57:54] [PASSED] RGB should fail
[07:57:54] [PASSED] YUV444 should fail
[07:57:54] [PASSED] YUV422 should fail
[07:57:54] [PASSED] YUV420 should work
[07:57:54] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[07:57:54] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[07:57:54] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[07:57:54] [PASSED] drm_test_check_broadcast_rgb_value
[07:57:54] [PASSED] drm_test_check_bpc_8_value
[07:57:54] [PASSED] drm_test_check_bpc_10_value
[07:57:54] [PASSED] drm_test_check_bpc_12_value
[07:57:54] [PASSED] drm_test_check_format_value
[07:57:54] [PASSED] drm_test_check_tmds_char_value
[07:57:54] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[07:57:54] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[07:57:54] [PASSED] drm_test_check_mode_valid
[07:57:54] [PASSED] drm_test_check_mode_valid_reject
[07:57:54] [PASSED] drm_test_check_mode_valid_reject_rate
[07:57:54] [PASSED] drm_test_check_mode_valid_reject_max_clock
[07:57:54] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[07:57:54] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[07:57:54] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[07:57:54] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[07:57:54] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[07:57:54] [PASSED] drm_test_check_infoframes
[07:57:54] [PASSED] drm_test_check_reject_avi_infoframe
[07:57:54] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[07:57:54] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[07:57:54] [PASSED] drm_test_check_reject_audio_infoframe
[07:57:54] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[07:57:54] ================= drm_managed (2 subtests) =================
[07:57:54] [PASSED] drm_test_managed_release_action
[07:57:54] [PASSED] drm_test_managed_run_action
[07:57:54] =================== [PASSED] drm_managed ===================
[07:57:54] =================== drm_mm (6 subtests) ====================
[07:57:54] [PASSED] drm_test_mm_init
[07:57:54] [PASSED] drm_test_mm_debug
[07:57:54] [PASSED] drm_test_mm_align32
[07:57:54] [PASSED] drm_test_mm_align64
[07:57:54] [PASSED] drm_test_mm_lowest
[07:57:54] [PASSED] drm_test_mm_highest
[07:57:54] ===================== [PASSED] drm_mm ======================
[07:57:54] ============= drm_modes_analog_tv (5 subtests) =============
[07:57:54] [PASSED] drm_test_modes_analog_tv_mono_576i
[07:57:54] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[07:57:54] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[07:57:54] [PASSED] drm_test_modes_analog_tv_pal_576i
[07:57:54] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[07:57:54] =============== [PASSED] drm_modes_analog_tv ===============
[07:57:54] ============== drm_plane_helper (2 subtests) ===============
[07:57:54] =============== drm_test_check_plane_state ================
[07:57:54] [PASSED] clipping_simple
[07:57:54] [PASSED] clipping_rotate_reflect
[07:57:54] [PASSED] positioning_simple
[07:57:54] [PASSED] upscaling
[07:57:54] [PASSED] downscaling
[07:57:54] [PASSED] rounding1
[07:57:54] [PASSED] rounding2
[07:57:54] [PASSED] rounding3
[07:57:54] [PASSED] rounding4
[07:57:54] =========== [PASSED] drm_test_check_plane_state ============
[07:57:54] =========== drm_test_check_invalid_plane_state ============
[07:57:54] [PASSED] positioning_invalid
[07:57:54] [PASSED] upscaling_invalid
[07:57:54] [PASSED] downscaling_invalid
[07:57:54] ======= [PASSED] drm_test_check_invalid_plane_state ========
[07:57:54] ================ [PASSED] drm_plane_helper =================
[07:57:54] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[07:57:54] ====== drm_test_connector_helper_tv_get_modes_check =======
[07:57:54] [PASSED] None
[07:57:54] [PASSED] PAL
[07:57:54] [PASSED] NTSC
[07:57:54] [PASSED] Both, NTSC Default
[07:57:54] [PASSED] Both, PAL Default
[07:57:54] [PASSED] Both, NTSC Default, with PAL on command-line
[07:57:54] [PASSED] Both, PAL Default, with NTSC on command-line
[07:57:54] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[07:57:54] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[07:57:54] ================== drm_rect (9 subtests) ===================
[07:57:54] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[07:57:54] [PASSED] drm_test_rect_clip_scaled_not_clipped
[07:57:54] [PASSED] drm_test_rect_clip_scaled_clipped
[07:57:54] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[07:57:54] ================= drm_test_rect_intersect =================
[07:57:54] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[07:57:54] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[07:57:54] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[07:57:54] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[07:57:54] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[07:57:54] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[07:57:54] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[07:57:54] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[07:57:54] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[07:57:54] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[07:57:54] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[07:57:54] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[07:57:54] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[07:57:54] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[07:57:54] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[07:57:54] ============= [PASSED] drm_test_rect_intersect =============
[07:57:54] ================ drm_test_rect_calc_hscale ================
[07:57:54] [PASSED] normal use
[07:57:54] [PASSED] out of max range
[07:57:54] [PASSED] out of min range
[07:57:54] [PASSED] zero dst
[07:57:54] [PASSED] negative src
[07:57:54] [PASSED] negative dst
[07:57:54] ============ [PASSED] drm_test_rect_calc_hscale ============
[07:57:54] ================ drm_test_rect_calc_vscale ================
[07:57:54] [PASSED] normal use
[07:57:54] [PASSED] out of max range
[07:57:54] [PASSED] out of min range
[07:57:54] [PASSED] zero dst
[07:57:54] [PASSED] negative src
[07:57:54] [PASSED] negative dst
[07:57:54] ============ [PASSED] drm_test_rect_calc_vscale ============
[07:57:54] ================== drm_test_rect_rotate ===================
[07:57:54] [PASSED] reflect-x
[07:57:54] [PASSED] reflect-y
[07:57:54] [PASSED] rotate-0
[07:57:54] [PASSED] rotate-90
[07:57:54] [PASSED] rotate-180
[07:57:54] [PASSED] rotate-270
[07:57:54] ============== [PASSED] drm_test_rect_rotate ===============
[07:57:54] ================ drm_test_rect_rotate_inv =================
[07:57:54] [PASSED] reflect-x
[07:57:54] [PASSED] reflect-y
[07:57:54] [PASSED] rotate-0
[07:57:54] [PASSED] rotate-90
[07:57:54] [PASSED] rotate-180
[07:57:54] [PASSED] rotate-270
[07:57:54] ============ [PASSED] drm_test_rect_rotate_inv =============
[07:57:54] ==================== [PASSED] drm_rect =====================
[07:57:54] ============ drm_sysfb_modeset_test (1 subtest) ============
[07:57:54] ============ drm_test_sysfb_build_fourcc_list =============
[07:57:54] [PASSED] no native formats
[07:57:54] [PASSED] XRGB8888 as native format
[07:57:54] [PASSED] remove duplicates
[07:57:54] [PASSED] convert alpha formats
[07:57:54] [PASSED] random formats
[07:57:54] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[07:57:54] ============= [PASSED] drm_sysfb_modeset_test ==============
[07:57:54] ================== drm_fixp (2 subtests) ===================
[07:57:54] [PASSED] drm_test_int2fixp
[07:57:54] [PASSED] drm_test_sm2fixp
[07:57:54] ==================== [PASSED] drm_fixp =====================
[07:57:54] ============================================================
[07:57:54] Testing complete. Ran 639 tests: passed: 639
[07:57:54] Elapsed time: 26.548s total, 1.831s configuring, 24.553s building, 0.146s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[07:57:54] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:57:56] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:58:05] Starting KUnit Kernel (1/1)...
[07:58:05] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:58:05] ================= ttm_device (5 subtests) ==================
[07:58:05] [PASSED] ttm_device_init_basic
[07:58:05] [PASSED] ttm_device_init_multiple
[07:58:05] [PASSED] ttm_device_fini_basic
[07:58:05] [PASSED] ttm_device_init_no_vma_man
[07:58:05] ================== ttm_device_init_pools ==================
[07:58:05] [PASSED] No DMA allocations, no DMA32 required
[07:58:05] [PASSED] DMA allocations, DMA32 required
[07:58:05] [PASSED] No DMA allocations, DMA32 required
[07:58:05] [PASSED] DMA allocations, no DMA32 required
[07:58:05] ============== [PASSED] ttm_device_init_pools ==============
[07:58:05] =================== [PASSED] ttm_device ====================
[07:58:05] ================== ttm_pool (8 subtests) ===================
[07:58:05] ================== ttm_pool_alloc_basic ===================
[07:58:05] [PASSED] One page
[07:58:05] [PASSED] More than one page
[07:58:05] [PASSED] Above the allocation limit
[07:58:05] [PASSED] One page, with coherent DMA mappings enabled
[07:58:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:58:05] ============== [PASSED] ttm_pool_alloc_basic ===============
[07:58:05] ============== ttm_pool_alloc_basic_dma_addr ==============
[07:58:05] [PASSED] One page
[07:58:05] [PASSED] More than one page
[07:58:05] [PASSED] Above the allocation limit
[07:58:05] [PASSED] One page, with coherent DMA mappings enabled
[07:58:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:58:05] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[07:58:05] [PASSED] ttm_pool_alloc_order_caching_match
[07:58:05] [PASSED] ttm_pool_alloc_caching_mismatch
[07:58:05] [PASSED] ttm_pool_alloc_order_mismatch
[07:58:05] [PASSED] ttm_pool_free_dma_alloc
[07:58:05] [PASSED] ttm_pool_free_no_dma_alloc
[07:58:05] [PASSED] ttm_pool_fini_basic
[07:58:05] ==================== [PASSED] ttm_pool =====================
[07:58:05] ================ ttm_resource (8 subtests) =================
[07:58:05] ================= ttm_resource_init_basic =================
[07:58:05] [PASSED] Init resource in TTM_PL_SYSTEM
[07:58:05] [PASSED] Init resource in TTM_PL_VRAM
[07:58:05] [PASSED] Init resource in a private placement
[07:58:05] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[07:58:05] ============= [PASSED] ttm_resource_init_basic =============
[07:58:05] [PASSED] ttm_resource_init_pinned
[07:58:05] [PASSED] ttm_resource_fini_basic
[07:58:05] [PASSED] ttm_resource_manager_init_basic
[07:58:05] [PASSED] ttm_resource_manager_usage_basic
[07:58:05] [PASSED] ttm_resource_manager_set_used_basic
[07:58:05] [PASSED] ttm_sys_man_alloc_basic
[07:58:05] [PASSED] ttm_sys_man_free_basic
[07:58:05] ================== [PASSED] ttm_resource ===================
[07:58:05] =================== ttm_tt (15 subtests) ===================
[07:58:05] ==================== ttm_tt_init_basic ====================
[07:58:05] [PASSED] Page-aligned size
[07:58:05] [PASSED] Extra pages requested
[07:58:05] ================ [PASSED] ttm_tt_init_basic ================
[07:58:05] [PASSED] ttm_tt_init_misaligned
[07:58:05] [PASSED] ttm_tt_fini_basic
[07:58:05] [PASSED] ttm_tt_fini_sg
[07:58:05] [PASSED] ttm_tt_fini_shmem
[07:58:05] [PASSED] ttm_tt_create_basic
[07:58:05] [PASSED] ttm_tt_create_invalid_bo_type
[07:58:05] [PASSED] ttm_tt_create_ttm_exists
[07:58:05] [PASSED] ttm_tt_create_failed
[07:58:05] [PASSED] ttm_tt_destroy_basic
[07:58:05] [PASSED] ttm_tt_populate_null_ttm
[07:58:05] [PASSED] ttm_tt_populate_populated_ttm
[07:58:05] [PASSED] ttm_tt_unpopulate_basic
[07:58:05] [PASSED] ttm_tt_unpopulate_empty_ttm
[07:58:05] [PASSED] ttm_tt_swapin_basic
[07:58:05] ===================== [PASSED] ttm_tt ======================
[07:58:05] =================== ttm_bo (14 subtests) ===================
[07:58:05] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[07:58:05] [PASSED] Cannot be interrupted and sleeps
[07:58:05] [PASSED] Cannot be interrupted, locks straight away
[07:58:05] [PASSED] Can be interrupted, sleeps
[07:58:05] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[07:58:05] [PASSED] ttm_bo_reserve_locked_no_sleep
[07:58:05] [PASSED] ttm_bo_reserve_no_wait_ticket
[07:58:06] [PASSED] ttm_bo_reserve_double_resv
[07:58:06] [PASSED] ttm_bo_reserve_interrupted
[07:58:06] [PASSED] ttm_bo_reserve_deadlock
[07:58:06] [PASSED] ttm_bo_unreserve_basic
[07:58:06] [PASSED] ttm_bo_unreserve_pinned
[07:58:06] [PASSED] ttm_bo_unreserve_bulk
[07:58:06] [PASSED] ttm_bo_fini_basic
[07:58:06] [PASSED] ttm_bo_fini_shared_resv
[07:58:06] [PASSED] ttm_bo_pin_basic
[07:58:06] [PASSED] ttm_bo_pin_unpin_resource
[07:58:06] [PASSED] ttm_bo_multiple_pin_one_unpin
[07:58:06] ===================== [PASSED] ttm_bo ======================
[07:58:06] ============== ttm_bo_validate (22 subtests) ===============
[07:58:06] ============== ttm_bo_init_reserved_sys_man ===============
[07:58:06] [PASSED] Buffer object for userspace
[07:58:06] [PASSED] Kernel buffer object
[07:58:06] [PASSED] Shared buffer object
[07:58:06] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[07:58:06] ============== ttm_bo_init_reserved_mock_man ==============
[07:58:06] [PASSED] Buffer object for userspace
[07:58:06] [PASSED] Kernel buffer object
[07:58:06] [PASSED] Shared buffer object
[07:58:06] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[07:58:06] [PASSED] ttm_bo_init_reserved_resv
[07:58:06] ================== ttm_bo_validate_basic ==================
[07:58:06] [PASSED] Buffer object for userspace
[07:58:06] [PASSED] Kernel buffer object
[07:58:06] [PASSED] Shared buffer object
[07:58:06] ============== [PASSED] ttm_bo_validate_basic ==============
[07:58:06] [PASSED] ttm_bo_validate_invalid_placement
[07:58:06] ============= ttm_bo_validate_same_placement ==============
[07:58:06] [PASSED] System manager
[07:58:06] [PASSED] VRAM manager
[07:58:06] ========= [PASSED] ttm_bo_validate_same_placement ==========
[07:58:06] [PASSED] ttm_bo_validate_failed_alloc
[07:58:06] [PASSED] ttm_bo_validate_pinned
[07:58:06] [PASSED] ttm_bo_validate_busy_placement
[07:58:06] ================ ttm_bo_validate_multihop =================
[07:58:06] [PASSED] Buffer object for userspace
[07:58:06] [PASSED] Kernel buffer object
[07:58:06] [PASSED] Shared buffer object
[07:58:06] ============ [PASSED] ttm_bo_validate_multihop =============
[07:58:06] ========== ttm_bo_validate_no_placement_signaled ==========
[07:58:06] [PASSED] Buffer object in system domain, no page vector
[07:58:06] [PASSED] Buffer object in system domain with an existing page vector
[07:58:06] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[07:58:06] ======== ttm_bo_validate_no_placement_not_signaled ========
[07:58:06] [PASSED] Buffer object for userspace
[07:58:06] [PASSED] Kernel buffer object
[07:58:06] [PASSED] Shared buffer object
[07:58:06] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[07:58:06] [PASSED] ttm_bo_validate_move_fence_signaled
[07:58:06] ========= ttm_bo_validate_move_fence_not_signaled =========
[07:58:06] [PASSED] Waits for GPU
[07:58:06] [PASSED] Tries to lock straight away
[07:58:06] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[07:58:06] [PASSED] ttm_bo_validate_swapout
[07:58:06] [PASSED] ttm_bo_validate_happy_evict
[07:58:06] [PASSED] ttm_bo_validate_all_pinned_evict
[07:58:06] [PASSED] ttm_bo_validate_allowed_only_evict
[07:58:06] [PASSED] ttm_bo_validate_deleted_evict
[07:58:06] [PASSED] ttm_bo_validate_busy_domain_evict
[07:58:06] [PASSED] ttm_bo_validate_evict_gutting
[07:58:06] [PASSED] ttm_bo_validate_recrusive_evict
[07:58:06] ================= [PASSED] ttm_bo_validate =================
[07:58:06] ============================================================
[07:58:06] Testing complete. Ran 102 tests: passed: 102
[07:58:06] Elapsed time: 11.831s total, 1.771s configuring, 9.845s building, 0.180s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 19+ messages in thread* ✓ Xe.CI.BAT: success for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (11 preceding siblings ...)
2026-07-02 7:58 ` ✓ CI.KUnit: success " Patchwork
@ 2026-07-02 8:33 ` Patchwork
2026-07-03 2:09 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-07-10 14:43 ` [PATCH 00/10] " Ville Syrjälä
14 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2026-07-02 8:33 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 983 bytes --]
== Series Details ==
Series: drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
URL : https://patchwork.freedesktop.org/series/169662/
State : success
== Summary ==
CI Bug Log - changes from xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a_BAT -> xe-pw-169662v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 12)
------------------------------
Missing (1): bat-ptl-vm
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a -> xe-pw-169662v1
IGT_8989: a8e2cbd2854d7980a9eccecc6e0c801d0824b88f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a: fa669b282e875afd49a387644ad4d47767fe2e0a
xe-pw-169662v1: 169662v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/index.html
[-- Attachment #2: Type: text/html, Size: 1531 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread* ✗ Xe.CI.FULL: failure for drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (12 preceding siblings ...)
2026-07-02 8:33 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-07-03 2:09 ` Patchwork
2026-07-10 14:43 ` [PATCH 00/10] " Ville Syrjälä
14 siblings, 0 replies; 19+ messages in thread
From: Patchwork @ 2026-07-03 2:09 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 24351 bytes --]
== Series Details ==
Series: drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
URL : https://patchwork.freedesktop.org/series/169662/
State : failure
== Summary ==
CI Bug Log - changes from xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a_FULL -> xe-pw-169662v1_FULL
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with xe-pw-169662v1_FULL need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-169662v1_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 (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-169662v1_FULL:
### IGT changes ###
#### Warnings ####
* igt@kms_content_protection@atomic-hdcp14:
- shard-bmg: [FAIL][1] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) -> [DMESG-FAIL][2] +1 other test dmesg-fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-8/igt@kms_content_protection@atomic-hdcp14.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-9/igt@kms_content_protection@atomic-hdcp14.html
Known issues
------------
Here are the changes found in xe-pw-169662v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@hotrebind:
- shard-bmg: [PASS][3] -> [ABORT][4] ([Intel XE#8007]) +1 other test abort
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-10/igt@core_hotunplug@hotrebind.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-8/igt@core_hotunplug@hotrebind.html
* igt@kms_addfb_basic@unused-pitches:
- shard-bmg: NOTRUN -> [ABORT][5] ([Intel XE#8007])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-1/igt@kms_addfb_basic@unused-pitches.html
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-bmg: [PASS][6] -> [FAIL][7] ([Intel XE#3718] / [Intel XE#6078]) +1 other test fail
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-9/igt@kms_async_flips@alternate-sync-async-flip.html
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-1/igt@kms_async_flips@alternate-sync-async-flip.html
* igt@kms_big_fb@x-tiled-32bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2327]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_big_fb@x-tiled-32bpp-rotate-90.html
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#1124]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_big_fb@y-tiled-32bpp-rotate-0.html
* igt@kms_big_fb@yf-tiled-addfb:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2328] / [Intel XE#7367])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_big_fb@yf-tiled-addfb.html
* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2887]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_ccs@bad-rotation-90-4-tiled-dg2-rc-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][12] -> [INCOMPLETE][13] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-1/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-10/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_ccs@crc-primary-suspend-y-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#3432])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_ccs@crc-primary-suspend-y-tiled-ccs.html
* igt@kms_chamelium_color@degamma:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2325] / [Intel XE#7358])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_chamelium_color@degamma.html
* igt@kms_chamelium_color_pipeline@plane-lut3d-green-only:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#7358])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_chamelium_color_pipeline@plane-lut3d-green-only.html
* igt@kms_chamelium_hpd@hdmi-hpd-enable-disable-mode:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2252]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_chamelium_hpd@hdmi-hpd-enable-disable-mode.html
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][18] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2.html
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2320])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_cursor_crc@cursor-rapid-movement-max-size.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#4156] / [Intel XE#7425])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_fbcon_fbt@fbc-suspend.html
* igt@kms_feature_discovery@dp-mst:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2375])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_feature_discovery@dp-mst.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-bmg: [PASS][22] -> [FAIL][23] ([Intel XE#3321]) +1 other test fail
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-3/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-3/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7178] / [Intel XE#7351])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2311]) +20 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#4141]) +3 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#7061]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsr-abgr161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#7399])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsrhdr-tiling-y.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#2313]) +17 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt.html
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][31] -> [SKIP][32] ([Intel XE#1503])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-8/igt@kms_hdr@invalid-hdr.html
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-9/igt@kms_hdr@invalid-hdr.html
* igt@kms_plane@pixel-format-4-tiled-bmg-ccs-modifier@pipe-b-plane-5:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#8303]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_plane@pixel-format-4-tiled-bmg-ccs-modifier@pipe-b-plane-5.html
* igt@kms_plane@pixel-format-4-tiled-mtl-mc-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#7283]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_plane@pixel-format-4-tiled-mtl-mc-ccs-modifier.html
* igt@kms_plane_lowres@tiling-y:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2393])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_plane_lowres@tiling-y.html
* igt@kms_pm_backlight@fade-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#7376] / [Intel XE#7760] / [Intel XE#870])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_pm_backlight@fade-with-dpms.html
* igt@kms_pm_dc@dc3co-framedrop-check:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#8395]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_pm_dc@dc3co-framedrop-check.html
* igt@kms_pm_dc@dc3co-framedrop-check@psr2:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#8396])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_pm_dc@dc3co-framedrop-check@psr2.html
* igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-fully-sf:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#1489]) +2 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@psr2-primary-page-flip:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_psr@psr2-primary-page-flip.html
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7795])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2330] / [Intel XE#5813])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html
* igt@xe_compute@ccs-mode-basic:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#6599])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_compute@ccs-mode-basic.html
* igt@xe_eudebug@read-metadata:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#7636]) +5 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@xe_eudebug@read-metadata.html
* igt@xe_evict@evict-small-multi-queue-cm:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#8370])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@xe_evict@evict-small-multi-queue-cm.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#2322] / [Intel XE#7372]) +2 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate.html
* igt@xe_exec_fault_mode@once-multi-queue-userptr-prefetch:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#8374]) +2 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_exec_fault_mode@once-multi-queue-userptr-prefetch.html
* igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-priority:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#8364]) +7 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-priority.html
* igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#8378]) +3 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race.html
* igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#6281] / [Intel XE#7426])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
* igt@xe_pat@pat-sw-hw-suspend:
- shard-bmg: NOTRUN -> [FAIL][51] ([Intel XE#7695])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@xe_pat@pat-sw-hw-suspend.html
* igt@xe_pat@xa-app-transient-media-off:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#7590])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_pat@xa-app-transient-media-off.html
* igt@xe_pm@s2idle-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#2284] / [Intel XE#7370])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_pm@s2idle-d3cold-basic-exec.html
* igt@xe_query@multigpu-query-invalid-extension:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#944])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-6/igt@xe_query@multigpu-query-invalid-extension.html
* igt@xe_wedged@wedged-mode-toggle:
- shard-lnl: [PASS][55] -> [ABORT][56] ([Intel XE#8007])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-lnl-4/igt@xe_wedged@wedged-mode-toggle.html
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-lnl-3/igt@xe_wedged@wedged-mode-toggle.html
#### Possible fixes ####
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][57] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][58] +1 other test pass
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-lnl: [FAIL][59] ([Intel XE#301]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][61] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-8/igt@xe_evict@evict-mixed-many-threads-small.html
* igt@xe_module_load@many-reload:
- shard-bmg: [ABORT][63] ([Intel XE#8007]) -> [PASS][64] +2 other tests pass
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-10/igt@xe_module_load@many-reload.html
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@xe_module_load@many-reload.html
#### Warnings ####
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-lnl: [SKIP][65] ([Intel XE#309] / [Intel XE#7343]) -> [SKIP][66] ([Intel XE#309] / [Intel XE#7343] / [Intel XE#7935])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-lnl-6/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-lnl-8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][67] ([Intel XE#3544]) -> [SKIP][68] ([Intel XE#3374] / [Intel XE#3544])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-5/igt@kms_hdr@brightness-with-hdr.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_hdr@brightness-with-hdr.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][69] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][70] ([Intel XE#2426] / [Intel XE#5848])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a/shard-bmg-10/igt@kms_tiled_display@basic-test-pattern.html
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/shard-bmg-7/igt@kms_tiled_display@basic-test-pattern.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2328
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2375
[Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4156]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4156
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7367
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7425
[Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7695]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7695
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
[Intel XE#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8303]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8303
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a -> xe-pw-169662v1
IGT_8989: a8e2cbd2854d7980a9eccecc6e0c801d0824b88f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5328-fa669b282e875afd49a387644ad4d47767fe2e0a: fa669b282e875afd49a387644ad4d47767fe2e0a
xe-pw-169662v1: 169662v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169662v1/index.html
[-- Attachment #2: Type: text/html, Size: 26868 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread* Re: [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe.
2026-07-02 7:21 [PATCH 00/10] drm/intel/display: Changes required to make vblank evasion PREEMPT_RT safe Maarten Lankhorst
` (13 preceding siblings ...)
2026-07-03 2:09 ` ✗ Xe.CI.FULL: failure " Patchwork
@ 2026-07-10 14:43 ` Ville Syrjälä
14 siblings, 0 replies; 19+ messages in thread
From: Ville Syrjälä @ 2026-07-10 14:43 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-xe, intel-gfx, dri-devel
On Thu, Jul 02, 2026 at 09:21:43AM +0200, Maarten Lankhorst wrote:
> CONFIG_PREEMPT_RT requires code to be as deterministic as possible,
> and codes with interrupts disabled cannot use spinlocks.
>
> In order to handle this correctly, we ensure any locking requirements
> are handled before disabling interrupts, and only start locking again
> after interrupts are re-enabled and timing sensitive path completed.
>
> This also has the benefit of making the vblank evasion code more
> deterministic; without locking there's much less jitter.
>
> Previously, we scheduled vblank work on completion.
> This is now handled by scheduling the vblank in advance, only arming
> it upon completion without locks.
Sashiko found a bunch of stuff that I was also thinking would be
a problem. Don't think I'll need to repeat it here.
I'm still thinking the easy way out would be to just convert
everything to raw spinlocks. The uncore lock I think should become
easier to deal with once I manage to move all of it into the
display code. I admit that the vblank locking is kinda annoying
and potentially inefficient. I've been pondering about making the
vblank locks to per-crtc to at least avoid some unnecessary contention,
but the fact that a lot of the drivers poke at the vblank internals
directly makes it a lot more work than it should be :/
>
> Maarten Lankhorst (9):
> drm/vblank_work: Add methods to schedule vblank_work in 2 stages
> drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event
> drm/intel/display: Make intel_crtc_arm_vblank_event static
> drm/intel/display: Convert vblank event handling to 2-stage arming
> drm/i915/display: Move vblank put until after critical section
> drm/i915/display: Remove locking from intel_vblank_evade critical
> section
> drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range
> too
> drm/i915/display: Make get_vblank_counter use intel_de_read_fw()
> drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
>
> Mike Galbraith (1):
> drm/i915: Use preempt_disable/enable_rt() where recommended
>
> drivers/gpu/drm/drm_vblank.c | 64 +++++++++-
> drivers/gpu/drm/drm_vblank_work.c | 110 +++++++++++++----
> drivers/gpu/drm/i915/display/intel_crtc.c | 86 ++++++-------
> drivers/gpu/drm/i915/display/intel_crtc.h | 1 -
> drivers/gpu/drm/i915/display/intel_cursor.c | 8 +-
> drivers/gpu/drm/i915/display/intel_de.h | 8 ++
> drivers/gpu/drm/i915/display/intel_vblank.c | 115 ++++++++++--------
> drivers/gpu/drm/i915/display/intel_vblank.h | 1 +
> drivers/gpu/drm/i915/intel_uncore.h | 26 ++--
> .../drm/xe/compat-i915-headers/intel_uncore.h | 7 ++
> include/drm/drm_vblank.h | 14 ++-
> include/drm/drm_vblank_work.h | 12 ++
> 12 files changed, 324 insertions(+), 128 deletions(-)
>
> --
> 2.53.0
--
Ville Syrjälä
Intel
^ permalink raw reply [flat|nested] 19+ messages in thread