Skip to contentSkip to conversation

drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe.

PATCH Superseded Maarten Lankhorst 4 participants 49 messages Feb 20 – Mar 5

Subsystems (7)

v6 of 10 Superseded Latest is v10 →

lore
Share & tools
lore
#0 lore raw

v6 cover drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe.

New version, new approach!

A lot of the problems with PREEMPT_RT happen because of the current vblank handling. The real solution is making it more deterministic.

After calling local_irq_disable(), all kinds of register reads/writes are done until interrupts are enabled again, without any lock used at all.

Patch 1-10 fixes all code related to vblank handling.
Patch 11-14 fixes all accidental locking in the atomic commit path.
Patch 15 is a standalone fix for interrupts, will probably push if xe results are clean. Patch 16-20 fix problems in i915 specific driver code.
Patch 21, 23 and 24 are broken, but silences i915 in CI, should not be upstreamed. Finally, patch 22 enables PREEMPT_RT on i915 too.

There are still failures on CI because of the uncore lock being problematic.

Still, I hope this series makes both the PREEMPT_RT devs and intel/display folk equally (un)happy with this sequence:

local_irq_disable()
bunch of timing sensitive register writes without a single lock local_irq_enable()

Maarten Lankhorst (19):
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 drm/i915/display: Make icl_dsi_frame_update use _fw too drm/i915/display: Use intel_de_read/write_fw in colorops drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset drm/i915/display: Make set_pipeconf use the fw variants drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT drm/i915/gt: Fix selftests on PREEMPT_RT
drm/i915/gt: Set stop_timeout() correctly on PREEMPT-RT drm/i915/display: Remove uncore lock from vlv_atomic_update_fifo PREEMPT_RT injection
FOR-CI: bump MAX_STACK_TRACE_ENTRIES

Mike Galbraith (1):
drm/i915: Use preempt_disable/enable_rt() where recommended

Sebastian Andrzej Siewior (4):
drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() +

    spin_lock()

drm/i915: Drop the irqs_disabled() check drm/i915/guc: Consider also RCU depth in busy loop. Revert "drm/i915: Depend on !PREEMPT_RT."

 drivers/gpu/drm/drm_vblank.c                  |  61 +++++++++-
 drivers/gpu/drm/drm_vblank_work.c             | 106 ++++++++++++----
 drivers/gpu/drm/i915/Kconfig                  |   1 -
 drivers/gpu/drm/i915/Kconfig.debug            |  15 ---
 drivers/gpu/drm/i915/display/i9xx_wm.c        |   4 -
 drivers/gpu/drm/i915/display/icl_dsi.c        |   4 +-
 drivers/gpu/drm/i915/display/intel_color.c    |   6 +-
 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_display.c  |  46 +++----
 .../gpu/drm/i915/display/intel_lpe_audio.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_vblank.c   | 115 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_vblank.h   |   1 +
 drivers/gpu/drm/i915/display/intel_vrr.c      |  18 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   2 +-
 .../drm/i915/gt/intel_execlists_submission.c  |  17 +--
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c  |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   2 +-
 drivers/gpu/drm/i915/i915_request.c           |   2 -
 drivers/gpu/drm/i915/intel_uncore.h           |  26 ++--
 drivers/gpu/drm/xe/Kconfig.debug              |   5 +
 .../drm/xe/compat-i915-headers/intel_uncore.h |   7 ++
 include/drm/drm_vblank.h                      |  14 ++-
 include/drm/drm_vblank_work.h                 |  12 ++
 kernel/Kconfig.preempt                        |   4 +-
 lib/Kconfig.debug                             |   4 +-
 28 files changed, 376 insertions(+), 209 deletions(-)
Signature · 1 line
2.51.0
#1 lore raw

PATCH v6 1/24 drm/vblank_work: Add methods to schedule vblank_work in 2 stages

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.

---
 drivers/gpu/drm/drm_vblank_work.c | 106 ++++++++++++++++++++++--------
 include/drm/drm_vblank_work.h     |  12 ++++
 2 files changed, 92 insertions(+), 26 deletions(-)
drivers/gpu/drm/drm_vblank_work.c +80 -26
index 70f0199251ea0..308093a0bbbf0 100644
@@ -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,82 @@ 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, true);
+}
+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);
+	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
include/drm/drm_vblank_work.h +12 -0
index e04d436b72973..e19351200da24 100644
@@ -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);
Signature · 1 line
2.51.0
#2 lore raw

PATCH 1/1 drm/vblank_work: Add methods to schedule vblank_work in 2 stages

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.

---
I had a small bug where I set armed = true for drm_vblank_work_schedule_disabled(), fortunately found by CI. Fix it to ensure work is delayed correctly.

 drivers/gpu/drm/drm_vblank_work.c | 106 ++++++++++++++++++++++--------
 include/drm/drm_vblank_work.h     |  12 ++++
 2 files changed, 92 insertions(+), 26 deletions(-)
drivers/gpu/drm/drm_vblank_work.c +80 -26
index 70f0199251ea0..6acb240b9c112 100644
@@ -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,82 @@ 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);
+	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
include/drm/drm_vblank_work.h +12 -0
index e04d436b72973..e19351200da24 100644
@@ -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);
Signature · 1 line
2.51.0
#3 lore raw

PATCH v6 2/24 drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event

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

---
 drivers/gpu/drm/drm_vblank.c | 61 +++++++++++++++++++++++++++++++++++-
 include/drm/drm_vblank.h     | 14 ++++++++-
 2 files changed, 73 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_vblank.c +60 -1
index 42fe11cc139b9..1a84a69e99810 100644
@@ -1118,12 +1118,68 @@ 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);
+
+	/* 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
@@ -1381,6 +1437,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);
@@ -1886,7 +1944,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;
include/drm/drm_vblank.h +13 -1
index 2fcef9c0f5b1b..956d5621eb7f9 100644
@@ -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);
Signature · 1 line
2.51.0
#4 lore raw

PATCH v6 3/24 drm/intel/display: Make intel_crtc_arm_vblank_event static

In reply to Maarten Lankhorst

Only used inside intel_crtc.c now, so no need to export it any more.

---
 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(-)
drivers/gpu/drm/i915/display/intel_crtc.c +1 -1
index ed3c6c4ce025e..663011af37e95 100644
@@ -638,7 +638,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;
drivers/gpu/drm/i915/display/intel_crtc.h +0 -1
index 12507b51ee77e..f65cbafe2b42a 100644
@@ -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);
Signature · 1 line
2.51.0
#5 lore raw

PATCH v6 4/24 drm/intel/display: Convert vblank event handling to 2-stage arming

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

---
 drivers/gpu/drm/i915/display/intel_crtc.c | 84 ++++++++++++-----------
 1 file changed, 44 insertions(+), 40 deletions(-)
drivers/gpu/drm/i915/display/intel_crtc.c +44 -40
index 663011af37e95..36a9685958bad 100644
@@ -480,6 +480,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.
@@ -525,6 +529,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
@@ -561,6 +580,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;
@@ -638,23 +659,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)
 {
@@ -708,29 +712,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;
 	}
 
 	/*
@@ -754,6 +739,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;
 
Signature · 1 line
2.51.0
#6 lore raw

PATCH v6 5/24 drm/i915/display: Move vblank put until after critical section

In reply to Maarten Lankhorst

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.

---
 drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cursor.c +6 -2
index 2c5d917fbd7e9..3e84a2078a0a7 100644
@@ -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);
Signature · 1 line
2.51.0
#7 lore raw

PATCH v6 6/24 drm/i915/display: Remove locking from intel_vblank_evade critical section

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

---
 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(-)
drivers/gpu/drm/i915/display/intel_crtc.c +1 -1
index 36a9685958bad..36bcd79263b6f 100644
@@ -688,7 +688,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();
 
drivers/gpu/drm/i915/display/intel_vblank.c +13 -17
index 1b7cfe226ff8f..73676d8ccec8b 100644
@@ -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.
drivers/gpu/drm/i915/display/intel_vblank.h +1 -0
index 98d04cacd65f8..aa1974400e9fc 100644
@@ -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,
Signature · 1 line
2.51.0
#8 lore raw

PATCH v6 7/24 drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too

In reply to Maarten Lankhorst

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.

---
 drivers/gpu/drm/i915/display/intel_vblank.c | 36 ++++++++++-----------
 1 file changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_vblank.c +18 -18
index 73676d8ccec8b..3eb6418723a84 100644
@@ -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;
 }
 
Signature · 1 line
2.51.0
#9 lore raw

PATCH v6 8/24 drm/i915: Use preempt_disable/enable_rt() where recommended

In reply to Maarten Lankhorst

From: Mike Galbraith <[email protected]>

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.]

---
 drivers/gpu/drm/i915/display/intel_vblank.c | 43 ++++++++++++++++-----
 1 file changed, 33 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/display/intel_vblank.c +33 -10
index 3eb6418723a84..8263cefaa0fb6 100644
@@ -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;
 }
Signature · 1 line
2.51.0
#10 lore raw

PATCH v6 9/24 drm/i915/display: Make get_vblank_counter use intel_de_read_fw()

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

---
 drivers/gpu/drm/i915/display/intel_vblank.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_vblank.c +1 -1
index 8263cefaa0fb6..e204c260b9aef 100644
@@ -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)
Signature · 1 line
2.51.0
#11 lore raw

PATCH v6 10/24 drm/i915/display: Do not take uncore lock in i915_get_vblank_counter

In reply to Maarten Lankhorst

This fixes a lockdep splat that occurs in the code that should be run with interrupts disabled. The uncore lock should not be taken and released repeatedly in a timing sensitive path.

---
 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(-)
drivers/gpu/drm/i915/display/intel_de.h +8 -0
index f30f3f8ebee1d..8990c2c778efe 100644
@@ -68,6 +68,14 @@ intel_de_read64_2x32(struct intel_display *display,
 	return val;
 }
 
+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, i915_reg_t reg)
 {
drivers/gpu/drm/i915/display/intel_vblank.c +2 -2
index e204c260b9aef..749127ae7794c 100644
@@ -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(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;
drivers/gpu/drm/i915/intel_uncore.h +18 -8
index fafc2ca9a2376..507398a562649 100644
@@ -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,
drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h +7 -0
index c5e198ace7bce..620d69c097dfb 100644
@@ -73,6 +73,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)
 {
Signature · 1 line
2.51.0
#12 lore raw

PATCH v6 11/24 drm/i915/display: Make icl_dsi_frame_update use _fw too

In reply to Maarten Lankhorst

Don't use the dmc lock inside the vblank critical section, not even as last call.

---
 drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/icl_dsi.c +2 -2
index 7cf511a6c0f95..52e1d45c63162 100644
@@ -242,8 +242,8 @@ void icl_dsi_frame_update(struct intel_crtc_state *crtc_state)
 	else
 		return;
 
-	intel_de_rmw(display, DSI_CMD_FRMCTL(port), 0,
-		     DSI_FRAME_UPDATE_REQUEST);
+	intel_de_rmw_fw(display, DSI_CMD_FRMCTL(port), 0,
+			DSI_FRAME_UPDATE_REQUEST);
 }
 
 static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder)
Signature · 1 line
2.51.0
#13 lore raw

PATCH v6 12/24 drm/i915/display: Use intel_de_read/write_fw in colorops

In reply to Maarten Lankhorst

Using the _fw variants fixes a module load error on PTL:

<4> [363.690050] Call Trace:

<4> [363.690052]  <TASK>
<4> [363.690055]  dump_stack_lvl+0x91/0xf0
<4> [363.690067]  dump_stack+0x10/0x20
<4> [363.690074]  __might_resched+0x174/0x260
<4> [363.690087]  rt_spin_lock+0x63/0x200
<4> [363.690092]  ? intel_dmc_wl_get+0x3c/0x140 [xe]
<4> [363.690470]  ? __lock_acquire+0x1195/0x2860
<4> [363.690487]  intel_dmc_wl_get+0x3c/0x140 [xe]
<4> [363.690842]  intel_color_plane_commit_arm+0xbc/0x140 [xe]
<4> [363.691246]  icl_plane_update_arm+0x23f/0x280 [xe]
<4> [363.691605]  intel_plane_update_arm+0x74/0x170 [xe]
<4> [363.691970]  intel_crtc_planes_update_arm+0x3cb/0x4c0 [xe]
<4> [363.692338]  intel_update_crtc+0x1c3/0x840 [xe]
<4> [363.692742]  ? intel_pre_update_crtc+0x2ce/0x470 [xe]
<4> [363.693125]  ? intel_enable_crtc+0x123/0x150 [xe]
<4> [363.693508]  skl_commit_modeset_enables+0x4c4/0x720 [xe]
<4> [363.693888]  intel_atomic_commit_tail+0xd9d/0x1b30 [xe]
<4> [363.694274]  intel_atomic_commit+0x2e8/0x330 [xe]
<4> [363.694621]  ? intel_atomic_commit+0x2e8/0x330 [xe]
<4> [363.694956]  drm_atomic_commit+0xaf/0xf0
<4> [363.694962]  ? __pfx___drm_printfn_info+0x10/0x10
<4> [363.694978]  drm_client_modeset_commit_atomic+0x25c/0x2b0
<4> [363.695018]  drm_client_modeset_commit_locked+0x63/0x1b0
<4> [363.695029]  drm_client_modeset_commit+0x26/0x50
<4> [363.695035]  __drm_fb_helper_restore_fbdev_mode_unlocked+0xdc/0x110
<4> [363.695045]  drm_fb_helper_set_par+0x2f/0x50
<4> [363.695052]  intel_fbdev_set_par+0x39/0x90 [xe]
<4> [363.695365]  fbcon_init+0x283/0x680
<4> [363.695382]  visual_init+0xf2/0x190
<4> [363.695396]  do_bind_con_driver.isra.0+0x1f1/0x4c0
<4> [363.695416]  do_take_over_console+0x181/0x220
<4> [363.695422]  ? vprintk_default+0x1d/0x30
<4> [363.695436]  do_fbcon_takeover+0x85/0x160
<4> [363.695447]  do_fb_registered+0x24c/0x2b0
<4> [363.695460]  fbcon_fb_registered+0x3a/0x90
<4> [363.695469]  do_register_framebuffer+0x216/0x320
<4> [363.695488]  register_framebuffer+0x23/0x50
<4> [363.695494]  __drm_fb_helper_initial_config_and_unlock+0x3ea/0x670
<4> [363.695502]  ? trace_hardirqs_on+0x1e/0xd0
<4> [363.695526]  drm_fb_helper_initial_config+0x3f/0x50
<4> [363.695534]  drm_fbdev_client_hotplug+0x80/0xd0
<4> [363.695543]  drm_client_register+0x8a/0xe0
<4> [363.695556]  drm_fbdev_client_setup+0x127/0x1f0
<4> [363.695563]  drm_client_setup+0xa7/0xe0
<4> [363.695569]  drm_client_setup_with_color_mode+0x24/0x40
<4> [363.695575]  intel_fbdev_setup+0x1c6/0x510 [xe]
<4> [363.695857]  intel_display_driver_register+0xb5/0x100 [xe]
<4> [363.696188]  ? __pfx___drm_printfn_dbg+0x10/0x10
<4> [363.696194]  ? intel_display_driver_register+0x2e/0x100 [xe]
<4> [363.696515]  xe_display_register+0x29/0x40 [xe]
<4> [363.696858]  xe_device_probe+0x51a/0x9e0 [xe]
<4> [363.697102]  ? __drmm_add_action+0x98/0x110
<4> [363.697108]  ? __pfx___drmm_mutex_release+0x10/0x10
<4> [363.697116]  ? __drmm_add_action_or_reset+0x1e/0x50
<4> [363.697130]  xe_pci_probe+0x396/0x620 [xe]
<4> [363.697423]  local_pci_probe+0x47/0xb0
<4> [363.697431]  pci_device_probe+0xf3/0x260
<4> [363.697444]  really_probe+0xf1/0x3c0
<4> [363.697451]  __driver_probe_device+0x8c/0x180
<4> [363.697458]  driver_probe_device+0x24/0xd0
<4> [363.697464]  __driver_attach+0x10f/0x220
<4> [363.697468]  ? __pfx___driver_attach+0x10/0x10
<4> [363.697472]  bus_for_each_dev+0x7f/0xe0
<4> [363.697484]  driver_attach+0x1e/0x30
<4> [363.697487]  bus_add_driver+0x154/0x290
<4> [363.697498]  driver_register+0x5e/0x130
<4> [363.697504]  __pci_register_driver+0x84/0xa0
<4> [363.697509]  xe_register_pci_driver+0x23/0x30 [xe]
<4> [363.697762]  xe_init+0x2c/0x110 [xe]
<4> [363.698007]  ? __pfx_xe_init+0x10/0x10 [xe]
<4> [363.698239]  do_one_initcall+0x60/0x3f0
<4> [363.698250]  ? __kmalloc_cache_noprof+0x470/0x690
<4> [363.698267]  do_init_module+0x97/0x2b0
<4> [363.698275]  load_module+0x2d08/0x2e30
<4> [363.698280]  ? __kernel_read+0x164/0x310
<4> [363.698312]  ? kernel_read_file+0x2ca/0x340
<4> [363.698328]  init_module_from_file+0x96/0xe0
<4> [363.698330]  ? init_module_from_file+0x96/0xe0
<4> [363.698357]  idempotent_init_module+0x11d/0x340
<4> [363.698384]  __x64_sys_finit_module+0x73/0xe0
<4> [363.698393]  x64_sys_call+0x1e3d/0x26a0
<4> [363.698399]  do_syscall_64+0x93/0xab0
<4> [363.698413]  ? ext4_llseek+0xc3/0x130
<4> [363.698425]  ? ksys_lseek+0x55/0xd0
<4> [363.698438]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698444]  ? switch_fpu_return+0xea/0x150
<4> [363.698454]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698465]  ? kernfs_fop_read_iter+0x197/0x210
<4> [363.698470]  ? rw_verify_area+0x16f/0x200
<4> [363.698482]  ? vfs_read+0x22a/0x360
<4> [363.698498]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698506]  ? ksys_read+0x72/0xf0
<4> [363.698520]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698526]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698532]  ? do_syscall_64+0x1b7/0xab0
<4> [363.698535]  ? exc_page_fault+0xbd/0x2c0
<4> [363.698545]  entry_SYSCALL_64_after_hwframe+0x76/0x7e

<4> [363.698549] RIP: 0033:0x715af255025d

And a similar backtrace in hsw_color_commit_arm().

---
 drivers/gpu/drm/i915/display/intel_color.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_color.c +3 -3
index e7950655434b8..9cbc719370456 100644
@@ -1050,7 +1050,7 @@ static void hsw_color_commit_arm(struct intel_dsb *dsb,
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	struct intel_display *display = to_intel_display(crtc);
 
-	intel_de_write(display, GAMMA_MODE(crtc->pipe),
+	intel_de_write_fw(display, GAMMA_MODE(crtc->pipe),
 		       crtc_state->gamma_mode);
 
 	intel_de_write_fw(display, PIPE_CSC_MODE(crtc->pipe),
@@ -4078,7 +4078,7 @@ static void glk_load_lut_3d(struct intel_dsb *dsb,
 	int i, lut_size = drm_color_lut32_size(blob);
 	enum pipe pipe = crtc->pipe;
 
-	if (!dsb && intel_de_read(display, LUT_3D_CTL(pipe)) & LUT_3D_READY) {
+	if (!dsb && intel_de_read_fw(display, LUT_3D_CTL(pipe)) & LUT_3D_READY) {
 		drm_err(display->drm, "[CRTC:%d:%s] 3D LUT not ready, not loading LUTs\n",
 			crtc->base.base.id, crtc->base.name);
 		return;
@@ -4096,7 +4096,7 @@ static void glk_lut_3d_commit(struct intel_dsb *dsb, struct intel_crtc *crtc, bo
 	enum pipe pipe = crtc->pipe;
 	u32 val = 0;
 
-	if (!dsb && intel_de_read(display, LUT_3D_CTL(pipe)) & LUT_3D_READY) {
+	if (!dsb && intel_de_read_fw(display, LUT_3D_CTL(pipe)) & LUT_3D_READY) {
 		drm_err(display->drm, "[CRTC:%d:%s] 3D LUT not ready, not committing change\n",
 			crtc->base.base.id, crtc->base.name);
 		return;
Signature · 1 line
2.51.0
#14 lore raw

PATCH v6 13/24 drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset

In reply to Maarten Lankhorst

intel_set_pipe_src_size(), hsw_set_linetime_wm(), intel_cpu_transcoder_set_m1_n1() and intel_set_transcoder_timings_lrr() are called from an atomic context on PREEMPT_RT, and should be using the _fw functions.

This likely prevents a deadlock on i915.

Again noticed when trying to disable preemption in vblank evasion:
<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: 1505, name: kms_cursor_lega <3> preempt_count: 1, expected: 0
<3> RCU nest depth: 0, expected: 0
<4> 4 locks held by kms_cursor_lega/1505:

<4>  #0: ffffc90003c6f988 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_mode_atomic_ioctl+0x13b/0xe90
<4>  #1: ffffc90003c6f9b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_mode_atomic_ioctl+0x13b/0xe90
<4>  #2: ffff888135b838b8 (&intel_dp->psr.lock){+.+.}-{3:3}, at: intel_psr_lock+0xc5/0xf0 [xe]
<4>  #3: ffff88812607bbc0 (&wl->lock){+.+.}-{2:2}, at: intel_dmc_wl_get+0x3c/0x140 [xe]

<4> CPU: 6 UID: 0 PID: 1505 Comm: kms_cursor_lega Tainted: G U 6.18.0-rc3-lgci-xe-xe-pw-156729v1+ #1 PREEMPT_{RT,(lazy)}
<4> Tainted: [U]=USER
<4> Hardware name: Intel Corporation Panther Lake Client Platform/PTL-UH LP5 T3 RVP1, BIOS PTLPFWI1.R00.3383.D02.2509240621 09/24/2025 <4> Call Trace:

<4>  <TASK>
<4>  dump_stack_lvl+0xc1/0xf0
<4>  dump_stack+0x10/0x20
<4>  __might_resched+0x174/0x260
<4>  rt_spin_lock+0x63/0x200
<4>  ? intel_dmc_wl_get+0x3c/0x140 [xe]
<4>  intel_dmc_wl_get+0x3c/0x140 [xe]
<4>  intel_set_pipe_src_size+0x89/0xe0 [xe]
<4>  intel_update_crtc+0x3c1/0x950 [xe]
<4>  ? intel_pre_update_crtc+0x258/0x400 [xe]
<4>  skl_commit_modeset_enables+0x217/0x720 [xe]
<4>  intel_atomic_commit_tail+0xd4e/0x1af0 [xe]
<4>  ? lock_release+0xce/0x2a0
<4>  intel_atomic_commit+0x2e5/0x330 [xe]
<4>  ? intel_atomic_commit+0x2e5/0x330 [xe]
<4>  drm_atomic_commit+0xaf/0xf0
<4>  ? __pfx___drm_printfn_info+0x10/0x10
<4>  drm_mode_atomic_ioctl+0xbd5/0xe90
<4>  ? lock_acquire+0xc4/0x2e0
<4>  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
<4>  drm_ioctl_kernel+0xb6/0x120
<4>  drm_ioctl+0x2d7/0x5a0
<4>  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
<4>  ? rt_spin_unlock+0xa0/0x140
<4>  ? __pm_runtime_resume+0x53/0x90
<4>  xe_drm_ioctl+0x56/0x90 [xe]
<4>  __x64_sys_ioctl+0xa8/0x110
<4>  ? lock_acquire+0xc4/0x2e0
<4>  x64_sys_call+0x1144/0x26a0
<4>  do_syscall_64+0x93/0xae0
<4>  ? lock_release+0xce/0x2a0
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  ? find_held_lock+0x31/0x90
<4>  ? __task_pid_nr_ns+0xcf/0x270
<4>  ? __lock_acquire+0x43e/0x2860
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? lock_acquire+0xc4/0x2e0
<4>  ? find_held_lock+0x31/0x90
<4>  ? __task_pid_nr_ns+0xcf/0x270
<4>  ? lock_release+0xce/0x2a0
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  entry_SYSCALL_64_after_hwframe+0x76/0x7e
---
 drivers/gpu/drm/i915/display/intel_display.c | 36 ++++++++++----------
 drivers/gpu/drm/i915/display/intel_vrr.c     | 18 +++++-----
 2 files changed, 27 insertions(+), 27 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +18 -18
index f224c9d7e0dfa..8fba2a8b6a6b5 100644
@@ -1607,9 +1607,9 @@ static void hsw_set_linetime_wm(const struct intel_crtc_state *crtc_state)
 	struct intel_display *display = to_intel_display(crtc_state);
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 
-	intel_de_write(display, WM_LINETIME(crtc->pipe),
-		       HSW_LINETIME(crtc_state->linetime) |
-		       HSW_IPS_LINETIME(crtc_state->ips_linetime));
+	intel_de_write_fw(display, WM_LINETIME(crtc->pipe),
+			  HSW_LINETIME(crtc_state->linetime) |
+			  HSW_IPS_LINETIME(crtc_state->ips_linetime));
 }
 
 static void hsw_set_frame_start_delay(const struct intel_crtc_state *crtc_state)
@@ -2606,14 +2606,14 @@ void intel_set_m_n(struct intel_display *display,
 		   i915_reg_t data_m_reg, i915_reg_t data_n_reg,
 		   i915_reg_t link_m_reg, i915_reg_t link_n_reg)
 {
-	intel_de_write(display, data_m_reg, TU_SIZE(m_n->tu) | m_n->data_m);
-	intel_de_write(display, data_n_reg, m_n->data_n);
-	intel_de_write(display, link_m_reg, m_n->link_m);
+	intel_de_write_fw(display, data_m_reg, TU_SIZE(m_n->tu) | m_n->data_m);
+	intel_de_write_fw(display, data_n_reg, m_n->data_n);
+	intel_de_write_fw(display, link_m_reg, m_n->link_m);
 	/*
 	 * On BDW+ writing LINK_N arms the double buffered update
 	 * of all the M/N registers, so it must be written last.
 	 */
-	intel_de_write(display, link_n_reg, m_n->link_n);
+	intel_de_write_fw(display, link_n_reg, m_n->link_n);
 }
 
 bool intel_cpu_transcoder_has_m2_n2(struct intel_display *display,
@@ -2800,9 +2800,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	}
 
 	if (DISPLAY_VER(display) >= 13) {
-		intel_de_write(display,
-			       TRANS_SET_CONTEXT_LATENCY(display, cpu_transcoder),
-			       crtc_state->set_context_latency);
+		intel_de_write_fw(display,
+				  TRANS_SET_CONTEXT_LATENCY(display, cpu_transcoder),
+				  crtc_state->set_context_latency);
 
 		/*
 		 * VBLANK_START not used by hw, just clear it
@@ -2818,9 +2818,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	 * The hardware actually ignores TRANS_VBLANK.VBLANK_END in DP mode.
 	 * But let's write it anyway to keep the state checker happy.
 	 */
-	intel_de_write(display, TRANS_VBLANK(display, cpu_transcoder),
-		       VBLANK_START(crtc_vblank_start - 1) |
-		       VBLANK_END(crtc_vblank_end - 1));
+	intel_de_write_fw(display, TRANS_VBLANK(display, cpu_transcoder),
+			  VBLANK_START(crtc_vblank_start - 1) |
+			  VBLANK_END(crtc_vblank_end - 1));
 	/*
 	 * For platforms that always use VRR Timing Generator, the VTOTAL.Vtotal
 	 * bits are not required. Since the support for these bits is going to
@@ -2834,9 +2834,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	 * The double buffer latch point for TRANS_VTOTAL
 	 * is the transcoder's undelayed vblank.
 	 */
-	intel_de_write(display, TRANS_VTOTAL(display, cpu_transcoder),
-		       VACTIVE(crtc_vdisplay - 1) |
-		       VTOTAL(crtc_vtotal - 1));
+	intel_de_write_fw(display, TRANS_VTOTAL(display, cpu_transcoder),
+			  VACTIVE(crtc_vdisplay - 1) |
+			  VTOTAL(crtc_vtotal - 1));
 
 	intel_vrr_set_fixed_rr_timings(crtc_state);
 	intel_vrr_transcoder_enable(crtc_state);
@@ -2853,8 +2853,8 @@ static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state)
 	/* pipesrc controls the size that is scaled from, which should
 	 * always be the user's requested size.
 	 */
-	intel_de_write(display, PIPESRC(display, pipe),
-		       PIPESRC_WIDTH(width - 1) | PIPESRC_HEIGHT(height - 1));
+	intel_de_write_fw(display, PIPESRC(display, pipe),
+			  PIPESRC_WIDTH(width - 1) | PIPESRC_HEIGHT(height - 1));
 }
 
 static bool intel_pipe_is_interlaced(const struct intel_crtc_state *crtc_state)
drivers/gpu/drm/i915/display/intel_vrr.c +9 -9
index 00ca76dbdd6ce..128e19afc6c86 100644
@@ -318,12 +318,12 @@ void intel_vrr_set_fixed_rr_timings(const struct intel_crtc_state *crtc_state)
 	if (!intel_vrr_possible(crtc_state))
 		return;
 
-	intel_de_write(display, TRANS_VRR_VMIN(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_vmin(crtc_state) - 1);
-	intel_de_write(display, TRANS_VRR_VMAX(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_vmax(crtc_state) - 1);
-	intel_de_write(display, TRANS_VRR_FLIPLINE(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_flipline(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_VMIN(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_vmin(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_VMAX(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_vmax(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_FLIPLINE(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_flipline(crtc_state) - 1);
 }
 
 static
@@ -896,8 +896,8 @@ static void intel_vrr_tg_enable(const struct intel_crtc_state *crtc_state,
 	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	u32 vrr_ctl;
 
-	intel_de_write(display, TRANS_PUSH(display, cpu_transcoder),
-		       trans_vrr_push(crtc_state, false));
+	intel_de_write_fw(display, TRANS_PUSH(display, cpu_transcoder),
+			  trans_vrr_push(crtc_state, false));
 
 	vrr_ctl = VRR_CTL_VRR_ENABLE | trans_vrr_ctl(crtc_state);
 
@@ -909,7 +909,7 @@ static void intel_vrr_tg_enable(const struct intel_crtc_state *crtc_state,
 	if (cmrr_enable)
 		vrr_ctl |= VRR_CTL_CMRR_ENABLE;
 
-	intel_de_write(display, TRANS_VRR_CTL(display, cpu_transcoder), vrr_ctl);
+	intel_de_write_fw(display, TRANS_VRR_CTL(display, cpu_transcoder), vrr_ctl);
 }
 
 static void intel_vrr_tg_disable(const struct intel_crtc_state *old_crtc_state)
Signature · 1 line
2.51.0
maintainer
#15 lore raw

Re: [i915-rt v6 13/24] drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset

Quoted 4 lines · Maarten Lankhorst

intel_set_pipe_src_size(), hsw_set_linetime_wm(), intel_cpu_transcoder_set_m1_n1() and intel_set_transcoder_timings_lrr() are called from an atomic context on PREEMPT_RT, and should be using the _fw functions.

Problem is, ~nobody knows when they should be using _fw anymore when they're all over the place. It'll get cargo culted.

BR,
Jani.

Quoted 198 lines

This likely prevents a deadlock on i915.

Again noticed when trying to disable preemption in vblank evasion:
<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: 1505, name: kms_cursor_lega <3> preempt_count: 1, expected: 0
<3> RCU nest depth: 0, expected: 0
<4> 4 locks held by kms_cursor_lega/1505:

<4>  #0: ffffc90003c6f988 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_mode_atomic_ioctl+0x13b/0xe90
<4>  #1: ffffc90003c6f9b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_mode_atomic_ioctl+0x13b/0xe90
<4>  #2: ffff888135b838b8 (&intel_dp->psr.lock){+.+.}-{3:3}, at: intel_psr_lock+0xc5/0xf0 [xe]
<4>  #3: ffff88812607bbc0 (&wl->lock){+.+.}-{2:2}, at: intel_dmc_wl_get+0x3c/0x140 [xe]

<4> CPU: 6 UID: 0 PID: 1505 Comm: kms_cursor_lega Tainted: G U 6.18.0-rc3-lgci-xe-xe-pw-156729v1+ #1 PREEMPT_{RT,(lazy)}
<4> Tainted: [U]=USER
<4> Hardware name: Intel Corporation Panther Lake Client Platform/PTL-UH LP5 T3 RVP1, BIOS PTLPFWI1.R00.3383.D02.2509240621 09/24/2025 <4> Call Trace:

<4>  <TASK>
<4>  dump_stack_lvl+0xc1/0xf0
<4>  dump_stack+0x10/0x20
<4>  __might_resched+0x174/0x260
<4>  rt_spin_lock+0x63/0x200
<4>  ? intel_dmc_wl_get+0x3c/0x140 [xe]
<4>  intel_dmc_wl_get+0x3c/0x140 [xe]
<4>  intel_set_pipe_src_size+0x89/0xe0 [xe]
<4>  intel_update_crtc+0x3c1/0x950 [xe]
<4>  ? intel_pre_update_crtc+0x258/0x400 [xe]
<4>  skl_commit_modeset_enables+0x217/0x720 [xe]
<4>  intel_atomic_commit_tail+0xd4e/0x1af0 [xe]
<4>  ? lock_release+0xce/0x2a0
<4>  intel_atomic_commit+0x2e5/0x330 [xe]
<4>  ? intel_atomic_commit+0x2e5/0x330 [xe]
<4>  drm_atomic_commit+0xaf/0xf0
<4>  ? __pfx___drm_printfn_info+0x10/0x10
<4>  drm_mode_atomic_ioctl+0xbd5/0xe90
<4>  ? lock_acquire+0xc4/0x2e0
<4>  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
<4>  drm_ioctl_kernel+0xb6/0x120
<4>  drm_ioctl+0x2d7/0x5a0
<4>  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
<4>  ? rt_spin_unlock+0xa0/0x140
<4>  ? __pm_runtime_resume+0x53/0x90
<4>  xe_drm_ioctl+0x56/0x90 [xe]
<4>  __x64_sys_ioctl+0xa8/0x110
<4>  ? lock_acquire+0xc4/0x2e0
<4>  x64_sys_call+0x1144/0x26a0
<4>  do_syscall_64+0x93/0xae0
<4>  ? lock_release+0xce/0x2a0
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  ? find_held_lock+0x31/0x90
<4>  ? __task_pid_nr_ns+0xcf/0x270
<4>  ? __lock_acquire+0x43e/0x2860
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? lock_acquire+0xc4/0x2e0
<4>  ? find_held_lock+0x31/0x90
<4>  ? __task_pid_nr_ns+0xcf/0x270
<4>  ? lock_release+0xce/0x2a0
<4>  ? __task_pid_nr_ns+0xd9/0x270
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  ? do_syscall_64+0x1b7/0xae0
<4>  entry_SYSCALL_64_after_hwframe+0x76/0x7e
---
 drivers/gpu/drm/i915/display/intel_display.c | 36 ++++++++++----------
 drivers/gpu/drm/i915/display/intel_vrr.c     | 18 +++++-----
 2 files changed, 27 insertions(+), 27 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +18 -18
index f224c9d7e0dfa..8fba2a8b6a6b5 100644
@@ -1607,9 +1607,9 @@ static void hsw_set_linetime_wm(const struct intel_crtc_state *crtc_state)
 	struct intel_display *display = to_intel_display(crtc_state);
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 
-	intel_de_write(display, WM_LINETIME(crtc->pipe),
-		       HSW_LINETIME(crtc_state->linetime) |
-		       HSW_IPS_LINETIME(crtc_state->ips_linetime));
+	intel_de_write_fw(display, WM_LINETIME(crtc->pipe),
+			  HSW_LINETIME(crtc_state->linetime) |
+			  HSW_IPS_LINETIME(crtc_state->ips_linetime));
 }
 
 static void hsw_set_frame_start_delay(const struct intel_crtc_state *crtc_state)
@@ -2606,14 +2606,14 @@ void intel_set_m_n(struct intel_display *display,
 		   i915_reg_t data_m_reg, i915_reg_t data_n_reg,
 		   i915_reg_t link_m_reg, i915_reg_t link_n_reg)
 {
-	intel_de_write(display, data_m_reg, TU_SIZE(m_n->tu) | m_n->data_m);
-	intel_de_write(display, data_n_reg, m_n->data_n);
-	intel_de_write(display, link_m_reg, m_n->link_m);
+	intel_de_write_fw(display, data_m_reg, TU_SIZE(m_n->tu) | m_n->data_m);
+	intel_de_write_fw(display, data_n_reg, m_n->data_n);
+	intel_de_write_fw(display, link_m_reg, m_n->link_m);
 	/*
 	 * On BDW+ writing LINK_N arms the double buffered update
 	 * of all the M/N registers, so it must be written last.
 	 */
-	intel_de_write(display, link_n_reg, m_n->link_n);
+	intel_de_write_fw(display, link_n_reg, m_n->link_n);
 }
 
 bool intel_cpu_transcoder_has_m2_n2(struct intel_display *display,
@@ -2800,9 +2800,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	}
 
 	if (DISPLAY_VER(display) >= 13) {
-		intel_de_write(display,
-			       TRANS_SET_CONTEXT_LATENCY(display, cpu_transcoder),
-			       crtc_state->set_context_latency);
+		intel_de_write_fw(display,
+				  TRANS_SET_CONTEXT_LATENCY(display, cpu_transcoder),
+				  crtc_state->set_context_latency);
 
 		/*
 		 * VBLANK_START not used by hw, just clear it
@@ -2818,9 +2818,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	 * The hardware actually ignores TRANS_VBLANK.VBLANK_END in DP mode.
 	 * But let's write it anyway to keep the state checker happy.
 	 */
-	intel_de_write(display, TRANS_VBLANK(display, cpu_transcoder),
-		       VBLANK_START(crtc_vblank_start - 1) |
-		       VBLANK_END(crtc_vblank_end - 1));
+	intel_de_write_fw(display, TRANS_VBLANK(display, cpu_transcoder),
+			  VBLANK_START(crtc_vblank_start - 1) |
+			  VBLANK_END(crtc_vblank_end - 1));
 	/*
 	 * For platforms that always use VRR Timing Generator, the VTOTAL.Vtotal
 	 * bits are not required. Since the support for these bits is going to
@@ -2834,9 +2834,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
 	 * The double buffer latch point for TRANS_VTOTAL
 	 * is the transcoder's undelayed vblank.
 	 */
-	intel_de_write(display, TRANS_VTOTAL(display, cpu_transcoder),
-		       VACTIVE(crtc_vdisplay - 1) |
-		       VTOTAL(crtc_vtotal - 1));
+	intel_de_write_fw(display, TRANS_VTOTAL(display, cpu_transcoder),
+			  VACTIVE(crtc_vdisplay - 1) |
+			  VTOTAL(crtc_vtotal - 1));
 
 	intel_vrr_set_fixed_rr_timings(crtc_state);
 	intel_vrr_transcoder_enable(crtc_state);
@@ -2853,8 +2853,8 @@ static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state)
 	/* pipesrc controls the size that is scaled from, which should
 	 * always be the user's requested size.
 	 */
-	intel_de_write(display, PIPESRC(display, pipe),
-		       PIPESRC_WIDTH(width - 1) | PIPESRC_HEIGHT(height - 1));
+	intel_de_write_fw(display, PIPESRC(display, pipe),
+			  PIPESRC_WIDTH(width - 1) | PIPESRC_HEIGHT(height - 1));
 }
 
 static bool intel_pipe_is_interlaced(const struct intel_crtc_state *crtc_state)
drivers/gpu/drm/i915/display/intel_vrr.c +9 -9
index 00ca76dbdd6ce..128e19afc6c86 100644
@@ -318,12 +318,12 @@ void intel_vrr_set_fixed_rr_timings(const struct intel_crtc_state *crtc_state)
 	if (!intel_vrr_possible(crtc_state))
 		return;
 
-	intel_de_write(display, TRANS_VRR_VMIN(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_vmin(crtc_state) - 1);
-	intel_de_write(display, TRANS_VRR_VMAX(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_vmax(crtc_state) - 1);
-	intel_de_write(display, TRANS_VRR_FLIPLINE(display, cpu_transcoder),
-		       intel_vrr_fixed_rr_hw_flipline(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_VMIN(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_vmin(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_VMAX(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_vmax(crtc_state) - 1);
+	intel_de_write_fw(display, TRANS_VRR_FLIPLINE(display, cpu_transcoder),
+			  intel_vrr_fixed_rr_hw_flipline(crtc_state) - 1);
 }
 
 static
@@ -896,8 +896,8 @@ static void intel_vrr_tg_enable(const struct intel_crtc_state *crtc_state,
 	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	u32 vrr_ctl;
 
-	intel_de_write(display, TRANS_PUSH(display, cpu_transcoder),
-		       trans_vrr_push(crtc_state, false));
+	intel_de_write_fw(display, TRANS_PUSH(display, cpu_transcoder),
+			  trans_vrr_push(crtc_state, false));
 
 	vrr_ctl = VRR_CTL_VRR_ENABLE | trans_vrr_ctl(crtc_state);
 
@@ -909,7 +909,7 @@ static void intel_vrr_tg_enable(const struct intel_crtc_state *crtc_state,
 	if (cmrr_enable)
 		vrr_ctl |= VRR_CTL_CMRR_ENABLE;
 
-	intel_de_write(display, TRANS_VRR_CTL(display, cpu_transcoder), vrr_ctl);
+	intel_de_write_fw(display, TRANS_VRR_CTL(display, cpu_transcoder), vrr_ctl);
 }
 
 static void intel_vrr_tg_disable(const struct intel_crtc_state *old_crtc_state)
Signature · 1 line
Jani Nikula, Intel
#16 lore raw

Re: [i915-rt v6 13/24] drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset

Hey,

Den 2026-02-25 kl. 10:25, skrev Jani Nikula:

Quoted 8 lines · Maarten Lankhorst
Quoted 4 lines

intel_set_pipe_src_size(), hsw_set_linetime_wm(), intel_cpu_transcoder_set_m1_n1() and intel_set_transcoder_timings_lrr() are called from an atomic context on PREEMPT_RT, and should be using the _fw functions.

Problem is, ~nobody knows when they should be using _fw anymore when they're all over the place. It'll get cargo culted.

It's not too hard, IMO.

Called from vblank evasion:
All functions should use the _dsb postfixed functions if applicable, and intel_de_read_fw. On code only for old platforms, the _fw functions can be used.

Lockdep complains hard on PREEMPT_RT if this is not the case, especially since vblank evasion with this series doesn't acquire or release any lock at all. It will allow us to uncouple the VBLANK_EVASION_TIME_US define from PROVE_LOCKING.

Should I switch to use the _dsb prefixes all the time for readability?

Called from vblank readout:
- we're disabling preemption, so _fw functions must be used as the spinlocks cannot be taken.

Other cases:
- Normal functions. Same for encoder enabling etc.

Sidenote:
I believe it's a mistake to make the intel_dmc_wl_get/put() functions implicit. There is already power well support for everything that needs it.

Explicit force_wake like xe_force_wake would be a better model. It could be implemented as simple as holding the dmc forcewake around the entire modeset sequence, which would still be protective. While for debugging we can still complain about affected registers outside the sequence until CI is clean.

Kind regards,
~Maarten Lankhorst

#17 lore raw

PATCH v6 14/24 drm/i915/display: Make set_pipeconf use the fw variants

In reply to Maarten Lankhorst

The calls are used inside the critical section when updating the gamma mode, and thus should use the _fw variants to prevent locks.

Fixes following splat:

| BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
| in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 2115, name: modprobe
| preempt_count: 0, expected: 0
| RCU nest depth: 0, expected: 0
| 4 locks held by modprobe/2115:
|  #0: ffff99b9425161a0 (&dev->mutex){....}-{4:4}, at: __driver_attach+0xaf/0x1c0
|  #1: ffffaa224810f6c0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: intel_initial_commit+0x4c/0x200 [i915]
|  #2: ffffaa224810f6e8 (crtc_ww_class_mutex){+.+.}-{4:4}, at: intel_initial_commit+0x4c/0x200 [i915]
|  #3: ffff99b94a6c9030 (&uncore->lock){+.+.}-{3:3}, at: gen6_write32+0x50/0x290 [i915]
| irq event stamp: 513344
| hardirqs last  enabled at (513343): [<ffffffff8ba8d84c>] _raw_spin_unlock_irqrestore+0x4c/0x60
| hardirqs last disabled at (513344): [<ffffffffc1543646>] intel_pipe_update_start+0x216/0x2c0 [i915]
| softirqs last  enabled at (512766): [<ffffffff8af045cf>] __local_bh_enable_ip+0x10f/0x170
| softirqs last disabled at (512712): [<ffffffffc14dfb6a>] __i915_request_queue+0x3a/0x70 [i915]
| CPU: 3 UID: 0 PID: 2115 Comm: modprobe Tainted: G        W           6.18.0-rc1+ #17 PREEMPT_{RT,(lazy)}
| Tainted: [W]=WARN
| Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Pro3-M, BIOS P2.30 06/29/2012
| Call Trace:
|  <TASK>
|  dump_stack_lvl+0x68/0x90
|  __might_resched.cold+0xf0/0x12b
|  rt_spin_lock+0x5f/0x200
|  gen6_write32+0x50/0x290 [i915]
|  ilk_set_pipeconf+0x12d/0x230 [i915]
|  ilk_color_commit_arm+0x2d/0x70 [i915]
|  intel_update_crtc+0x15b/0x690 [i915]
|  intel_commit_modeset_enables+0xa6/0xd0 [i915]
|  intel_atomic_commit_tail+0xd55/0x19a0 [i915]
|  intel_atomic_commit+0x25d/0x2a0 [i915]
|  drm_atomic_commit+0xad/0xe0 [drm]
|  intel_initial_commit+0x16c/0x200 [i915]
|  intel_display_driver_probe+0x2e/0x80 [i915]
|  i915_driver_probe+0x791/0xc10 [i915]
|  i915_pci_probe+0xd7/0x190 [i915]
---
 drivers/gpu/drm/i915/display/intel_display.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +6 -4
index 8fba2a8b6a6b5..2129fad13b17c 100644
@@ -3037,8 +3037,9 @@ void i9xx_set_pipeconf(const struct intel_crtc_state *crtc_state)
 
 	val |= TRANSCONF_FRAME_START_DELAY(crtc_state->framestart_delay - 1);
 
-	intel_de_write(display, TRANSCONF(display, cpu_transcoder), val);
-	intel_de_posting_read(display, TRANSCONF(display, cpu_transcoder));
+	intel_de_write_fw(display, TRANSCONF(display, cpu_transcoder), val);
+	/* posting read */
+	intel_de_read_fw(display, TRANSCONF(display, cpu_transcoder));
 }
 
 static enum intel_output_format
@@ -3233,8 +3234,9 @@ void ilk_set_pipeconf(const struct intel_crtc_state *crtc_state)
 	val |= TRANSCONF_FRAME_START_DELAY(crtc_state->framestart_delay - 1);
 	val |= TRANSCONF_MSA_TIMING_DELAY(crtc_state->msa_timing_delay);
 
-	intel_de_write(display, TRANSCONF(display, cpu_transcoder), val);
-	intel_de_posting_read(display, TRANSCONF(display, cpu_transcoder));
+	intel_de_write_fw(display, TRANSCONF(display, cpu_transcoder), val);
+	/* posting read */
+	intel_de_read_fw(display, TRANSCONF(display, cpu_transcoder));
 }
 
 static void hsw_set_transconf(const struct intel_crtc_state *crtc_state)
Signature · 1 line
2.51.0
#18 lore raw

PATCH v6 15/24 drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT

In reply to Maarten Lankhorst

The LPE audio interrupt comes from the i915 interrupt handler. It should be in irq disabled context.

With PREEMPT_RT enabled, the IRQ handler is threaded.
Because intel_lpe_audio_irq_handler() may be called in threaded IRQ context, generic_handle_irq_safe API disables the interrupts before calling LPE's interrupt top half handler.

This fixes braswell audio issues with RT enabled.

---
 drivers/gpu/drm/i915/display/intel_lpe_audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_lpe_audio.c +1 -1
index 5b41abe1c64d5..172c0062237eb 100644
@@ -262,7 +262,7 @@ void intel_lpe_audio_irq_handler(struct intel_display *display)
 	if (!HAS_LPE_AUDIO(display))
 		return;
 
-	ret = generic_handle_irq(display->audio.lpe.irq);
+	ret = generic_handle_irq_safe(display->audio.lpe.irq);
 	if (ret)
 		drm_err_ratelimited(display->drm,
 				    "error handling LPE audio irq: %d\n", ret);
Signature · 1 line
2.51.0
#19 lore raw

PATCH v6 16/24 drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()

In reply to Maarten Lankhorst

From: Sebastian Andrzej Siewior <[email protected]>

execlists_dequeue() is invoked from a function which uses local_irq_disable() to disable interrupts so the spin_lock() behaves like spin_lock_irq().
This breaks PREEMPT_RT because local_irq_disable() + spin_lock() is not the same as spin_lock_irq().

execlists_dequeue_irq() and execlists_dequeue() has each one caller only. If intel_engine_cs::active::lock is acquired and released with the _irq suffix then it behaves almost as if execlists_dequeue() would be invoked with disabled interrupts. The difference is the last part of the function which is then invoked with enabled interrupts.
I can't tell if this makes a difference. From looking at it, it might work to move the last unlock at the end of the function as I didn't find anything that would acquire the lock again.

---
 .../drm/i915/gt/intel_execlists_submission.c    | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +5 -12
index 3df683b0402ad..948975e72d295 100644
@@ -1300,7 +1300,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
 	 * and context switches) submission.
 	 */
 
-	spin_lock(&sched_engine->lock);
+	spin_lock_irq(&sched_engine->lock);
 
 	/*
 	 * If the queue is higher priority than the last
@@ -1400,7 +1400,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
 				 * Even if ELSP[1] is occupied and not worthy
 				 * of timeslices, our queue might be.
 				 */
-				spin_unlock(&sched_engine->lock);
+				spin_unlock_irq(&sched_engine->lock);
 				return;
 			}
 		}
@@ -1426,7 +1426,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
 
 		if (last && !can_merge_rq(last, rq)) {
 			spin_unlock(&ve->base.sched_engine->lock);
-			spin_unlock(&engine->sched_engine->lock);
+			spin_unlock_irq(&engine->sched_engine->lock);
 			return; /* leave this for another sibling */
 		}
 
@@ -1588,7 +1588,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
 	 */
 	sched_engine->queue_priority_hint = queue_prio(sched_engine);
 	i915_sched_engine_reset_on_empty(sched_engine);
-	spin_unlock(&sched_engine->lock);
+	spin_unlock_irq(&sched_engine->lock);
 
 	/*
 	 * We can skip poking the HW if we ended up with exactly the same set
@@ -1614,13 +1614,6 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
 	}
 }
 
-static void execlists_dequeue_irq(struct intel_engine_cs *engine)
-{
-	local_irq_disable(); /* Suspend interrupts across request submission */
-	execlists_dequeue(engine);
-	local_irq_enable(); /* flush irq_work (e.g. breadcrumb enabling) */
-}
-
 static void clear_ports(struct i915_request **ports, int count)
 {
 	memset_p((void **)ports, NULL, count);
@@ -2475,7 +2468,7 @@ static void execlists_submission_tasklet(struct tasklet_struct *t)
 	}
 
 	if (!engine->execlists.pending[0]) {
-		execlists_dequeue_irq(engine);
+		execlists_dequeue(engine);
 		start_timeslice(engine);
 	}
 
Signature · 1 line
2.51.0
#20 lore raw

PATCH v6 17/24 drm/i915: Drop the irqs_disabled() check

In reply to Maarten Lankhorst

From: Sebastian Andrzej Siewior <[email protected]>

The !irqs_disabled() check triggers on PREEMPT_RT even with i915_sched_engine::lock acquired. The reason is the lock is transformed into a sleeping lock on PREEMPT_RT and does not disable interrupts.

There is no need to check for disabled interrupts. The lockdep annotation below already check if the lock has been acquired by the caller and will yell if the interrupts are not disabled.

Remove the !irqs_disabled() check.

---
 drivers/gpu/drm/i915/i915_request.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_request.c +0 -2
index d2c7b1090df08..f66f8efc70629 100644
@@ -610,7 +610,6 @@ bool __i915_request_submit(struct i915_request *request)
 
 	RQ_TRACE(request, "\n");
 
-	GEM_BUG_ON(!irqs_disabled());
 	lockdep_assert_held(&engine->sched_engine->lock);
 
 	/*
@@ -719,7 +718,6 @@ void __i915_request_unsubmit(struct i915_request *request)
 	 */
 	RQ_TRACE(request, "\n");
 
-	GEM_BUG_ON(!irqs_disabled());
 	lockdep_assert_held(&engine->sched_engine->lock);
 
 	/*
Signature · 1 line
2.51.0
#21 lore raw

PATCH v6 18/24 drm/i915/guc: Consider also RCU depth in busy loop.

In reply to Maarten Lankhorst

From: Sebastian Andrzej Siewior <[email protected]>

intel_guc_send_busy_loop() looks at in_atomic() and irqs_disabled() to decide if it should busy-spin while waiting or if it may sleep. Both checks will report false on PREEMPT_RT if sleeping spinlocks are acquired leading to RCU splats while the function sleeps.

Check also if RCU has been disabled.

---
 drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/uc/intel_guc.h +1 -1
index 053780f562c1a..b25fa8f4dc4bd 100644
@@ -362,7 +362,7 @@ static inline int intel_guc_send_busy_loop(struct intel_guc *guc,
 {
 	int err;
 	unsigned int sleep_period_ms = 1;
-	bool not_atomic = !in_atomic() && !irqs_disabled();
+	bool not_atomic = !in_atomic() && !irqs_disabled() && !rcu_preempt_depth();
 
 	/*
 	 * FIXME: Have caller pass in if we are in an atomic context to avoid
Signature · 1 line
2.51.0
#22 lore raw

PATCH v6 19/24 drm/i915/gt: Fix selftests on PREEMPT_RT

In reply to Maarten Lankhorst
---
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gt/selftest_engine_pm.c +4 -4
index 10e556a7eac45..c1eff9edd8a5e 100644
@@ -277,11 +277,11 @@ static int live_engine_busy_stats(void *arg)
 		st_engine_heartbeat_disable(engine);
 
 		ENGINE_TRACE(engine, "measuring idle time\n");
-		preempt_disable();
+		migrate_disable();
 		de = intel_engine_get_busy_time(engine, &t[0]);
 		udelay(100);
 		de = ktime_sub(intel_engine_get_busy_time(engine, &t[1]), de);
-		preempt_enable();
+		migrate_enable();
 		dt = ktime_sub(t[1], t[0]);
 		if (de < 0 || de > 10) {
 			pr_err("%s: reported %lldns [%d%%] busyness while sleeping [for %lldns]\n",
@@ -316,11 +316,11 @@ static int live_engine_busy_stats(void *arg)
 		}
 
 		ENGINE_TRACE(engine, "measuring busy time\n");
-		preempt_disable();
+		migrate_disable();
 		de = intel_engine_get_busy_time(engine, &t[0]);
 		mdelay(100);
 		de = ktime_sub(intel_engine_get_busy_time(engine, &t[1]), de);
-		preempt_enable();
+		migrate_enable();
 		dt = ktime_sub(t[1], t[0]);
 		if (100 * de < 95 * dt || 95 * de > 100 * dt) {
 			pr_err("%s: reported %lldns [%d%%] busyness while spinning [for %lldns]\n",
Signature · 1 line
2.51.0
#23 lore raw

PATCH v6 20/24 drm/i915/gt: Set stop_timeout() correctly on PREEMPT-RT

In reply to Maarten Lankhorst

Also check if RCU is disabled for PREEMPT-RT, which is the case when local_bh_disable() is called.

---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +1 -1
index 98a3a7a9de502..856250b457a55 100644
@@ -1607,7 +1607,7 @@ u64 intel_engine_get_last_batch_head(const struct intel_engine_cs *engine)
 
 static unsigned long stop_timeout(const struct intel_engine_cs *engine)
 {
-	if (in_atomic() || irqs_disabled()) /* inside atomic preempt-reset? */
+	if (in_atomic() || irqs_disabled() || rcu_preempt_depth()) /* inside atomic preempt-reset? */
 		return 0;
 
 	/*
Signature · 1 line
2.51.0
#24 lore raw

PATCH v6 21/24 drm/i915/display: Remove uncore lock from vlv_atomic_update_fifo

In reply to Maarten Lankhorst

TODO: Grab uncore lock during entire vblank evasion before disabling interrupts, and check what breaks?

---
 drivers/gpu/drm/i915/display/i9xx_wm.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/i915/display/i9xx_wm.c +0 -4
index 24f898efa9dd7..abf9f023bdd58 100644
@@ -1863,7 +1863,6 @@ static void vlv_atomic_update_fifo(struct intel_atomic_state *state,
 				   struct intel_crtc *crtc)
 {
 	struct intel_display *display = to_intel_display(crtc);
-	struct intel_uncore *uncore = to_intel_uncore(display->drm);
 	const struct intel_crtc_state *crtc_state =
 		intel_atomic_get_new_crtc_state(state, crtc);
 	const struct vlv_fifo_state *fifo_state =
@@ -1892,7 +1891,6 @@ static void vlv_atomic_update_fifo(struct intel_atomic_state *state,
 	 * intel_pipe_update_start() has already disabled interrupts
 	 * for us, so a plain spin_lock() is sufficient here.
 	 */
-	spin_lock(&uncore->lock);
 
 	switch (crtc->pipe) {
 	case PIPE_A:
@@ -1951,8 +1949,6 @@ static void vlv_atomic_update_fifo(struct intel_atomic_state *state,
 	}
 
 	intel_de_read_fw(display, DSPARB(display));
-
-	spin_unlock(&uncore->lock);
 }
 
 #undef VLV_FIFO
Signature · 1 line
2.51.0
#25 lore raw

PATCH v6 22/24 Revert "drm/i915: Depend on !PREEMPT_RT."

In reply to Maarten Lankhorst

From: Sebastian Andrzej Siewior <[email protected]>

Once the known issues are addressed, it should be safe to enable the driver.

---
 drivers/gpu/drm/i915/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/i915/Kconfig +0 -1
index 5e939004b6463..40a9234e6e5dc 100644
@@ -3,7 +3,6 @@ config DRM_I915
 	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
 	depends on DRM
 	depends on X86 && PCI
-	depends on !PREEMPT_RT
 	select INTEL_GTT if X86
 	select INTERVAL_TREE
 	# we need shmfs for the swappable backing store, and in particular
Signature · 1 line
2.51.0
#26 lore raw

PATCH v6 23/24 PREEMPT_RT injection

In reply to Maarten Lankhorst
---
 drivers/gpu/drm/i915/Kconfig.debug | 15 ---------------
 drivers/gpu/drm/xe/Kconfig.debug   |  5 +++++
 kernel/Kconfig.preempt             |  4 ++--
 3 files changed, 7 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/Kconfig.debug +0 -15
index 3562a02ef7adc..0ab10ff41e38d 100644
@@ -233,21 +233,6 @@ config DRM_I915_LOW_LEVEL_TRACEPOINTS
 
 	  If in doubt, say "N".
 
-config DRM_I915_DEBUG_VBLANK_EVADE
-	bool "Enable extra debug warnings for vblank evasion"
-	depends on DRM_I915
-	default n
-	help
-	  Choose this option to turn on extra debug warnings for the
-	  vblank evade mechanism. This gives a warning every time the
-	  the deadline allotted for the vblank evade critical section
-	  is exceeded, even if there isn't an actual risk of missing
-	  the vblank.
-
-	  Recommended for driver developers only.
-
-	  If in doubt, say "N".
-
 config DRM_I915_DEBUG_RUNTIME_PM
 	bool "Enable extra state checking for runtime PM"
 	depends on DRM_I915
drivers/gpu/drm/xe/Kconfig.debug +5 -0
index 01227c77f6d70..1d5f11c6e88f3 100644
@@ -30,6 +30,11 @@ config DRM_XE_DEBUG
 
 	  If in doubt, say "N".
 
+config DRM_I915_DEBUG_VBLANK_EVADE
+        def_bool y
+        depends on DRM_XE
+
+
 config DRM_XE_DEBUG_VM
 	bool "Enable extra VM debugging info"
 	default n
kernel/Kconfig.preempt +2 -2
index da326800c1c9b..68a6d42c55abe 100644
@@ -87,9 +87,9 @@ config PREEMPT_LAZY
 endchoice
 
 config PREEMPT_RT
-	bool "Fully Preemptible Kernel (Real-Time)"
-	depends on EXPERT && ARCH_SUPPORTS_RT && !COMPILE_TEST
+	def_bool y
 	select PREEMPTION
+	depends on ARCH_SUPPORTS_RT
 	help
 	  This option turns the kernel into a real-time kernel by replacing
 	  various locking primitives (spinlocks, rwlocks, etc.) with
Signature · 1 line
2.51.0
#27 lore raw

PATCH v6 24/24 FOR-CI: bump MAX_STACK_TRACE_ENTRIES

In reply to Maarten Lankhorst

We're hitting a bug in CI where MAX_STACK_TRACE_ENTRIES is set too low. My guess is the repeated loading/unloading is creating multiples of the same entries. As a hack just reset lockdep. This might only be necessary for CI + PREEMPT_RT.

---
 lib/Kconfig.debug | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/Kconfig.debug +2 -2
index 1e1776049a84e..e8da58d2bf5c8 100644
@@ -1545,8 +1545,8 @@ config LOCKDEP_CHAINS_BITS
 config LOCKDEP_STACK_TRACE_BITS
 	int "Size for MAX_STACK_TRACE_ENTRIES (as Nth power of 2)"
 	depends on LOCKDEP && !LOCKDEP_SMALL
-	range 10 26
-	default 19
+	range 22 26
+	default 22
 	help
 	  Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES too low!" message.
 
Signature · 1 line
2.51.0
#28 lore raw

Re: [i915-rt v6 24/24] FOR-CI: bump MAX_STACK_TRACE_ENTRIES

Quoted 4 lines · Maarten Lankhorst

We're hitting a bug in CI where MAX_STACK_TRACE_ENTRIES is set too low. My guess is the repeated loading/unloading is creating multiples of the same entries. As a hack just reset lockdep. This might only be necessary for CI + PREEMPT_RT.

spinlock_t on PREEMPT_RT uses the rtmutex which from lockdep's point of view counts twice: The "logical" lock and the inner wait lock. That makes twice as many locks. I hope it is this and not some accounting error…

Quoted 1 line

Sebastian

#29 lore raw

Re: [i915-rt v6 24/24] FOR-CI: bump MAX_STACK_TRACE_ENTRIES

Hey,

Den 2026-02-24 kl. 15:15, skrev Sebastian Andrzej Siewior:

Quoted 10 lines · Maarten Lankhorst
Quoted 4 lines

We're hitting a bug in CI where MAX_STACK_TRACE_ENTRIES is set too low. My guess is the repeated loading/unloading is creating multiples of the same entries. As a hack just reset lockdep. This might only be necessary for CI + PREEMPT_RT.

spinlock_t on PREEMPT_RT uses the rtmutex which from lockdep's point of view counts twice: The "logical" lock and the inner wait lock. That makes twice as many locks. I hope it is this and not some accounting error…

Yeah that will probably help explode the amount of entries, thanks for the explanation.

I'm running out of entries with default PROVE_LOCKING settings on PREEMPT_RT within a minute of booting.

Kind regards,
~Maarten Lankhorst

CI Acked-by Tvrtko Ursulin Reviewed-by Rodrigo Vivi on the v6 series
#30 lore raw

✗ CI.checkpatch: warning for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159034/
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 1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 00187b2430c9a55aaef319d7a1d8cf5ccdbf963d

Author: Maarten Lankhorst <[email protected]>
Date:   Fri Feb 20 09:37:22 2026 +0100

FOR-CI: bump MAX_STACK_TRACE_ENTRIES

We're hitting a bug in CI where MAX_STACK_TRACE_ENTRIES is set too low. My guess is the repeated loading/unloading is creating multiples of the same entries. As a hack just reset lockdep. This might only be necessary for CI + PREEMPT_RT.

+ /mt/dim checkpatch 157c1f59af33fb9acf6e0e055e7317b634711120 drm-intel 4b75c5794df5 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, 162 lines checked e6c52016d981 drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event 4ba6d74ff92d drm/intel/display: Make intel_crtc_arm_vblank_event static a60f9b463b3d 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:752:
+ 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:755:
+ /* Remove plane from atomic state, cleanup/free is done from vblank worker. */

total: 0 errors, 2 warnings, 0 checks, 120 lines checked
52e70b4208c8 drm/i915/display: Move vblank put until after critical section 67b391e6973a 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
577cf1ed6e84 drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too 31a68a460214 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
8c60602fc6a7 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
0eaebab63e96 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 7d572990e57f drm/i915/display: Make icl_dsi_frame_update use _fw too c3acfe47de38 drm/i915/display: Use intel_de_read/write_fw in colorops -:123: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #123: FILE: drivers/gpu/drm/i915/display/intel_color.c:1054:
+ intel_de_write_fw(display, GAMMA_MODE(crtc->pipe),
crtc_state->gamma_mode);

-:143: WARNING:MISSING_FIXES_TAG: The commit message has 'Call Trace:', perhaps it also needs a 'Fixes:' tag?

total: 0 errors, 1 warnings, 1 checks, 24 lines checked
1fca62ba889a drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset
-:14: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #14:
<3> BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48

-:203: WARNING:MISSING_FIXES_TAG: The commit message has 'Call Trace:', perhaps it also needs a 'Fixes:' tag?

total: 0 errors, 2 warnings, 0 checks, 112 lines checked
97c9a4fadfd9 drm/i915/display: Make set_pipeconf use the fw variants
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #11:
| BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48

-:46: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report #46:

-:76: WARNING:MISSING_FIXES_TAG: The commit message has 'Call Trace:', perhaps it also needs a 'Fixes:' tag?

total: 0 errors, 3 warnings, 0 checks, 22 lines checked
b1a0ca5c805e drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #11:
Because intel_lpe_audio_irq_handler() may be called in threaded IRQ context,

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
7e83ce39c541 drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
-:22: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report #22:

total: 0 errors, 1 warnings, 0 checks, 53 lines checked
bba832becea2 drm/i915: Drop the irqs_disabled() check
-:16: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report #16:

total: 0 errors, 1 warnings, 0 checks, 14 lines checked
c611510d73de drm/i915/guc: Consider also RCU depth in busy loop.
-:13: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report #13:

-:27: ERROR:IN_ATOMIC: do not use in_atomic in drivers #27: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc.h:365:
+ bool not_atomic = !in_atomic() && !irqs_disabled() && !rcu_preempt_depth();

total: 1 errors, 1 warnings, 0 checks, 8 lines checked
1495e9c88ef2 drm/i915/gt: Fix selftests on PREEMPT_RT
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

total: 0 errors, 1 warnings, 0 checks, 26 lines checked a57d0f4f8dcf drm/i915/gt: Set stop_timeout() correctly on PREEMPT-RT -:20: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns #20: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:1610:
+ if (in_atomic() || irqs_disabled() || rcu_preempt_depth()) /* inside atomic preempt-reset? */

-:20: ERROR:IN_ATOMIC: do not use in_atomic in drivers #20: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:1610:
+ if (in_atomic() || irqs_disabled() || rcu_preempt_depth()) /* inside atomic preempt-reset? */

total: 1 errors, 1 warnings, 0 checks, 8 lines checked
fd23461ff101 drm/i915/display: Remove uncore lock from vlv_atomic_update_fifo 66b05cb52d1d Revert "drm/i915: Depend on !PREEMPT_RT."
1cd240b9794a PREEMPT_RT injection
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

total: 0 errors, 1 warnings, 0 checks, 43 lines checked 00187b2430c9 FOR-CI: bump MAX_STACK_TRACE_ENTRIES

#31 lore raw

✓ CI.KUnit: success for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159034/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [08:46:59] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[08:47:03] 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
[08:47:35] Starting KUnit Kernel (1/1)...
[08:47:35] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[08:47:35] ================== guc_buf (11 subtests) ===================
[08:47:35] [PASSED] test_smallest
[08:47:35] [PASSED] test_largest
[08:47:35] [PASSED] test_granular
[08:47:35] [PASSED] test_unique
[08:47:35] [PASSED] test_overlap
[08:47:35] [PASSED] test_reusable
[08:47:35] [PASSED] test_too_big
[08:47:35] [PASSED] test_flush
[08:47:35] [PASSED] test_lookup
[08:47:35] [PASSED] test_data
[08:47:35] [PASSED] test_class
[08:47:35] ===================== [PASSED] guc_buf =====================
[08:47:35] =================== guc_dbm (7 subtests) ===================
[08:47:35] [PASSED] test_empty
[08:47:35] [PASSED] test_default
[08:47:35] ======================== test_size  ========================
[08:47:35] [PASSED] 4
[08:47:35] [PASSED] 8
[08:47:35] [PASSED] 32
[08:47:35] [PASSED] 256
[08:47:35] ==================== [PASSED] test_size ====================
[08:47:35] ======================= test_reuse  ========================
[08:47:35] [PASSED] 4
[08:47:35] [PASSED] 8
[08:47:35] [PASSED] 32
[08:47:35] [PASSED] 256
[08:47:35] =================== [PASSED] test_reuse ====================
[08:47:35] =================== test_range_overlap  ====================
[08:47:35] [PASSED] 4
[08:47:35] [PASSED] 8
[08:47:35] [PASSED] 32
[08:47:35] [PASSED] 256
[08:47:35] =============== [PASSED] test_range_overlap ================
[08:47:35] =================== test_range_compact  ====================
[08:47:35] [PASSED] 4
[08:47:35] [PASSED] 8
[08:47:35] [PASSED] 32
[08:47:35] [PASSED] 256
[08:47:35] =============== [PASSED] test_range_compact ================
[08:47:35] ==================== test_range_spare  =====================
[08:47:35] [PASSED] 4
[08:47:35] [PASSED] 8
[08:47:35] [PASSED] 32
[08:47:35] [PASSED] 256
[08:47:35] ================ [PASSED] test_range_spare =================
[08:47:35] ===================== [PASSED] guc_dbm =====================
[08:47:35] =================== guc_idm (6 subtests) ===================
[08:47:35] [PASSED] bad_init
[08:47:35] [PASSED] no_init
[08:47:35] [PASSED] init_fini
[08:47:35] [PASSED] check_used
[08:47:35] [PASSED] check_quota
[08:47:35] [PASSED] check_all
[08:47:35] ===================== [PASSED] guc_idm =====================
[08:47:35] ================== no_relay (3 subtests) ===================
[08:47:35] [PASSED] xe_drops_guc2pf_if_not_ready
[08:47:35] [PASSED] xe_drops_guc2vf_if_not_ready
[08:47:35] [PASSED] xe_rejects_send_if_not_ready
[08:47:35] ==================== [PASSED] no_relay =====================
[08:47:35] ================== pf_relay (14 subtests) ==================
[08:47:35] [PASSED] pf_rejects_guc2pf_too_short
[08:47:35] [PASSED] pf_rejects_guc2pf_too_long
[08:47:35] [PASSED] pf_rejects_guc2pf_no_payload
[08:47:35] [PASSED] pf_fails_no_payload
[08:47:35] [PASSED] pf_fails_bad_origin
[08:47:35] [PASSED] pf_fails_bad_type
[08:47:35] [PASSED] pf_txn_reports_error
[08:47:35] [PASSED] pf_txn_sends_pf2guc
[08:47:35] [PASSED] pf_sends_pf2guc
[08:47:35] [SKIPPED] pf_loopback_nop
[08:47:35] [SKIPPED] pf_loopback_echo
[08:47:35] [SKIPPED] pf_loopback_fail
[08:47:35] [SKIPPED] pf_loopback_busy
[08:47:35] [SKIPPED] pf_loopback_retry
[08:47:35] ==================== [PASSED] pf_relay =====================
[08:47:35] ================== vf_relay (3 subtests) ===================
[08:47:35] [PASSED] vf_rejects_guc2vf_too_short
[08:47:35] [PASSED] vf_rejects_guc2vf_too_long
[08:47:35] [PASSED] vf_rejects_guc2vf_no_payload
[08:47:35] ==================== [PASSED] vf_relay =====================
[08:47:35] ================ pf_gt_config (6 subtests) =================
[08:47:35] [PASSED] fair_contexts_1vf
[08:47:35] [PASSED] fair_doorbells_1vf
[08:47:35] [PASSED] fair_ggtt_1vf
[08:47:35] ====================== fair_contexts  ======================
[08:47:35] [PASSED] 1 VF
[08:47:35] [PASSED] 2 VFs
[08:47:35] [PASSED] 3 VFs
[08:47:35] [PASSED] 4 VFs
[08:47:35] [PASSED] 5 VFs
[08:47:35] [PASSED] 6 VFs
[08:47:35] [PASSED] 7 VFs
[08:47:35] [PASSED] 8 VFs
[08:47:35] [PASSED] 9 VFs
[08:47:35] [PASSED] 10 VFs
[08:47:35] [PASSED] 11 VFs
[08:47:35] [PASSED] 12 VFs
[08:47:35] [PASSED] 13 VFs
[08:47:35] [PASSED] 14 VFs
[08:47:35] [PASSED] 15 VFs
[08:47:35] [PASSED] 16 VFs
[08:47:35] [PASSED] 17 VFs
[08:47:35] [PASSED] 18 VFs
[08:47:35] [PASSED] 19 VFs
[08:47:35] [PASSED] 20 VFs
[08:47:35] [PASSED] 21 VFs
[08:47:35] [PASSED] 22 VFs
[08:47:35] [PASSED] 23 VFs
[08:47:35] [PASSED] 24 VFs
[08:47:35] [PASSED] 25 VFs
[08:47:35] [PASSED] 26 VFs
[08:47:35] [PASSED] 27 VFs
[08:47:35] [PASSED] 28 VFs
[08:47:35] [PASSED] 29 VFs
[08:47:35] [PASSED] 30 VFs
[08:47:35] [PASSED] 31 VFs
[08:47:35] [PASSED] 32 VFs
[08:47:35] [PASSED] 33 VFs
[08:47:35] [PASSED] 34 VFs
[08:47:35] [PASSED] 35 VFs
[08:47:35] [PASSED] 36 VFs
[08:47:35] [PASSED] 37 VFs
[08:47:35] [PASSED] 38 VFs
[08:47:35] [PASSED] 39 VFs
[08:47:35] [PASSED] 40 VFs
[08:47:35] [PASSED] 41 VFs
[08:47:35] [PASSED] 42 VFs
[08:47:35] [PASSED] 43 VFs
[08:47:35] [PASSED] 44 VFs
[08:47:35] [PASSED] 45 VFs
[08:47:35] [PASSED] 46 VFs
[08:47:35] [PASSED] 47 VFs
[08:47:35] [PASSED] 48 VFs
[08:47:35] [PASSED] 49 VFs
[08:47:35] [PASSED] 50 VFs
[08:47:35] [PASSED] 51 VFs
[08:47:35] [PASSED] 52 VFs
[08:47:35] [PASSED] 53 VFs
[08:47:35] [PASSED] 54 VFs
[08:47:35] [PASSED] 55 VFs
[08:47:35] [PASSED] 56 VFs
[08:47:35] [PASSED] 57 VFs
[08:47:35] [PASSED] 58 VFs
[08:47:35] [PASSED] 59 VFs
[08:47:35] [PASSED] 60 VFs
[08:47:35] [PASSED] 61 VFs
[08:47:35] [PASSED] 62 VFs
[08:47:35] [PASSED] 63 VFs
[08:47:35] ================== [PASSED] fair_contexts ==================
[08:47:35] ===================== fair_doorbells  ======================
[08:47:35] [PASSED] 1 VF
[08:47:35] [PASSED] 2 VFs
[08:47:35] [PASSED] 3 VFs
[08:47:35] [PASSED] 4 VFs
[08:47:35] [PASSED] 5 VFs
[08:47:35] [PASSED] 6 VFs
[08:47:35] [PASSED] 7 VFs
[08:47:35] [PASSED] 8 VFs
[08:47:35] [PASSED] 9 VFs
[08:47:35] [PASSED] 10 VFs
[08:47:35] [PASSED] 11 VFs
[08:47:35] [PASSED] 12 VFs
[08:47:35] [PASSED] 13 VFs
[08:47:35] [PASSED] 14 VFs
[08:47:35] [PASSED] 15 VFs
[08:47:35] [PASSED] 16 VFs
[08:47:35] [PASSED] 17 VFs
[08:47:35] [PASSED] 18 VFs
[08:47:35] [PASSED] 19 VFs
[08:47:35] [PASSED] 20 VFs
[08:47:35] [PASSED] 21 VFs
[08:47:35] [PASSED] 22 VFs
[08:47:35] [PASSED] 23 VFs
[08:47:35] [PASSED] 24 VFs
[08:47:35] [PASSED] 25 VFs
[08:47:35] [PASSED] 26 VFs
[08:47:35] [PASSED] 27 VFs
[08:47:35] [PASSED] 28 VFs
[08:47:35] [PASSED] 29 VFs
[08:47:35] [PASSED] 30 VFs
[08:47:35] [PASSED] 31 VFs
[08:47:35] [PASSED] 32 VFs
[08:47:35] [PASSED] 33 VFs
[08:47:35] [PASSED] 34 VFs
[08:47:35] [PASSED] 35 VFs
[08:47:35] [PASSED] 36 VFs
[08:47:35] [PASSED] 37 VFs
[08:47:35] [PASSED] 38 VFs
[08:47:35] [PASSED] 39 VFs
[08:47:35] [PASSED] 40 VFs
[08:47:35] [PASSED] 41 VFs
[08:47:35] [PASSED] 42 VFs
[08:47:35] [PASSED] 43 VFs
[08:47:35] [PASSED] 44 VFs
[08:47:35] [PASSED] 45 VFs
[08:47:35] [PASSED] 46 VFs
[08:47:35] [PASSED] 47 VFs
[08:47:35] [PASSED] 48 VFs
[08:47:35] [PASSED] 49 VFs
[08:47:35] [PASSED] 50 VFs
[08:47:35] [PASSED] 51 VFs
[08:47:35] [PASSED] 52 VFs
[08:47:35] [PASSED] 53 VFs
[08:47:35] [PASSED] 54 VFs
[08:47:35] [PASSED] 55 VFs
[08:47:35] [PASSED] 56 VFs
[08:47:35] [PASSED] 57 VFs
[08:47:35] [PASSED] 58 VFs
[08:47:35] [PASSED] 59 VFs
[08:47:35] [PASSED] 60 VFs
[08:47:35] [PASSED] 61 VFs
[08:47:35] [PASSED] 62 VFs
[08:47:35] [PASSED] 63 VFs
[08:47:35] ================= [PASSED] fair_doorbells ==================
[08:47:35] ======================== fair_ggtt  ========================
[08:47:35] [PASSED] 1 VF
[08:47:35] [PASSED] 2 VFs
[08:47:35] [PASSED] 3 VFs
[08:47:35] [PASSED] 4 VFs
[08:47:35] [PASSED] 5 VFs
[08:47:35] [PASSED] 6 VFs
[08:47:35] [PASSED] 7 VFs
[08:47:35] [PASSED] 8 VFs
[08:47:35] [PASSED] 9 VFs
[08:47:35] [PASSED] 10 VFs
[08:47:35] [PASSED] 11 VFs
[08:47:35] [PASSED] 12 VFs
[08:47:35] [PASSED] 13 VFs
[08:47:35] [PASSED] 14 VFs
[08:47:35] [PASSED] 15 VFs
[08:47:35] [PASSED] 16 VFs
[08:47:35] [PASSED] 17 VFs
[08:47:35] [PASSED] 18 VFs
[08:47:35] [PASSED] 19 VFs
[08:47:35] [PASSED] 20 VFs
[08:47:35] [PASSED] 21 VFs
[08:47:35] [PASSED] 22 VFs
[08:47:35] [PASSED] 23 VFs
[08:47:35] [PASSED] 24 VFs
[08:47:35] [PASSED] 25 VFs
[08:47:35] [PASSED] 26 VFs
[08:47:35] [PASSED] 27 VFs
[08:47:35] [PASSED] 28 VFs
[08:47:35] [PASSED] 29 VFs
[08:47:35] [PASSED] 30 VFs
[08:47:35] [PASSED] 31 VFs
[08:47:35] [PASSED] 32 VFs
[08:47:35] [PASSED] 33 VFs
[08:47:35] [PASSED] 34 VFs
[08:47:35] [PASSED] 35 VFs
[08:47:35] [PASSED] 36 VFs
[08:47:35] [PASSED] 37 VFs
[08:47:35] [PASSED] 38 VFs
[08:47:35] [PASSED] 39 VFs
[08:47:35] [PASSED] 40 VFs
[08:47:35] [PASSED] 41 VFs
[08:47:35] [PASSED] 42 VFs
[08:47:35] [PASSED] 43 VFs
[08:47:35] [PASSED] 44 VFs
[08:47:35] [PASSED] 45 VFs
[08:47:35] [PASSED] 46 VFs
[08:47:35] [PASSED] 47 VFs
[08:47:35] [PASSED] 48 VFs
[08:47:35] [PASSED] 49 VFs
[08:47:35] [PASSED] 50 VFs
[08:47:35] [PASSED] 51 VFs
[08:47:35] [PASSED] 52 VFs
[08:47:35] [PASSED] 53 VFs
[08:47:35] [PASSED] 54 VFs
[08:47:35] [PASSED] 55 VFs
[08:47:35] [PASSED] 56 VFs
[08:47:35] [PASSED] 57 VFs
[08:47:35] [PASSED] 58 VFs
[08:47:35] [PASSED] 59 VFs
[08:47:35] [PASSED] 60 VFs
[08:47:35] [PASSED] 61 VFs
[08:47:35] [PASSED] 62 VFs
[08:47:35] [PASSED] 63 VFs
[08:47:35] ==================== [PASSED] fair_ggtt ====================
[08:47:35] ================== [PASSED] pf_gt_config ===================
[08:47:35] ===================== lmtt (1 subtest) =====================
[08:47:35] ======================== test_ops  =========================
[08:47:35] [PASSED] 2-level
[08:47:35] [PASSED] multi-level
[08:47:35] ==================== [PASSED] test_ops =====================
[08:47:35] ====================== [PASSED] lmtt =======================
[08:47:35] ================= pf_service (11 subtests) =================
[08:47:35] [PASSED] pf_negotiate_any
[08:47:35] [PASSED] pf_negotiate_base_match
[08:47:35] [PASSED] pf_negotiate_base_newer
[08:47:35] [PASSED] pf_negotiate_base_next
[08:47:35] [SKIPPED] pf_negotiate_base_older
[08:47:35] [PASSED] pf_negotiate_base_prev
[08:47:35] [PASSED] pf_negotiate_latest_match
[08:47:35] [PASSED] pf_negotiate_latest_newer
[08:47:35] [PASSED] pf_negotiate_latest_next
[08:47:35] [SKIPPED] pf_negotiate_latest_older
[08:47:35] [SKIPPED] pf_negotiate_latest_prev
[08:47:35] =================== [PASSED] pf_service ====================
[08:47:35] ================= xe_guc_g2g (2 subtests) ==================
[08:47:35] ============== xe_live_guc_g2g_kunit_default  ==============
[08:47:35] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[08:47:35] ============== xe_live_guc_g2g_kunit_allmem  ===============
[08:47:35] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[08:47:35] =================== [SKIPPED] xe_guc_g2g ===================
[08:47:35] =================== xe_mocs (2 subtests) ===================
[08:47:35] ================ xe_live_mocs_kernel_kunit  ================
[08:47:35] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[08:47:35] ================ xe_live_mocs_reset_kunit  =================
[08:47:35] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[08:47:35] ==================== [SKIPPED] xe_mocs =====================
[08:47:35] ================= xe_migrate (2 subtests) ==================
[08:47:35] ================= xe_migrate_sanity_kunit  =================
[08:47:35] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[08:47:35] ================== xe_validate_ccs_kunit  ==================
[08:47:35] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[08:47:35] =================== [SKIPPED] xe_migrate ===================
[08:47:35] ================== xe_dma_buf (1 subtest) ==================
[08:47:35] ==================== xe_dma_buf_kunit  =====================
[08:47:35] ================ [SKIPPED] xe_dma_buf_kunit ================
[08:47:35] =================== [SKIPPED] xe_dma_buf ===================
[08:47:35] ================= xe_bo_shrink (1 subtest) =================
[08:47:35] =================== xe_bo_shrink_kunit  ====================
[08:47:35] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[08:47:35] ================== [SKIPPED] xe_bo_shrink ==================
[08:47:35] ==================== xe_bo (2 subtests) ====================
[08:47:35] ================== xe_ccs_migrate_kunit  ===================
[08:47:35] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[08:47:35] ==================== xe_bo_evict_kunit  ====================
[08:47:35] =============== [SKIPPED] xe_bo_evict_kunit ================
[08:47:35] ===================== [SKIPPED] xe_bo ======================
[08:47:35] ==================== args (13 subtests) ====================
[08:47:35] [PASSED] count_args_test
[08:47:35] [PASSED] call_args_example
[08:47:35] [PASSED] call_args_test
[08:47:35] [PASSED] drop_first_arg_example
[08:47:35] [PASSED] drop_first_arg_test
[08:47:35] [PASSED] first_arg_example
[08:47:35] [PASSED] first_arg_test
[08:47:35] [PASSED] last_arg_example
[08:47:35] [PASSED] last_arg_test
[08:47:35] [PASSED] pick_arg_example
[08:47:35] [PASSED] if_args_example
[08:47:35] [PASSED] if_args_test
[08:47:35] [PASSED] sep_comma_example
[08:47:35] ====================== [PASSED] args =======================
[08:47:35] =================== xe_pci (3 subtests) ====================
[08:47:35] ==================== check_graphics_ip  ====================
[08:47:35] [PASSED] 12.00 Xe_LP
[08:47:35] [PASSED] 12.10 Xe_LP+
[08:47:35] [PASSED] 12.55 Xe_HPG
[08:47:35] [PASSED] 12.60 Xe_HPC
[08:47:35] [PASSED] 12.70 Xe_LPG
[08:47:35] [PASSED] 12.71 Xe_LPG
[08:47:35] [PASSED] 12.74 Xe_LPG+
[08:47:35] [PASSED] 20.01 Xe2_HPG
[08:47:35] [PASSED] 20.02 Xe2_HPG
[08:47:35] [PASSED] 20.04 Xe2_LPG
[08:47:35] [PASSED] 30.00 Xe3_LPG
[08:47:35] [PASSED] 30.01 Xe3_LPG
[08:47:35] [PASSED] 30.03 Xe3_LPG
[08:47:35] [PASSED] 30.04 Xe3_LPG
[08:47:35] [PASSED] 30.05 Xe3_LPG
[08:47:35] [PASSED] 35.10 Xe3p_LPG
[08:47:35] [PASSED] 35.11 Xe3p_XPC
[08:47:35] ================ [PASSED] check_graphics_ip ================
[08:47:35] ===================== check_media_ip  ======================
[08:47:35] [PASSED] 12.00 Xe_M
[08:47:35] [PASSED] 12.55 Xe_HPM
[08:47:35] [PASSED] 13.00 Xe_LPM+
[08:47:35] [PASSED] 13.01 Xe2_HPM
[08:47:35] [PASSED] 20.00 Xe2_LPM
[08:47:35] [PASSED] 30.00 Xe3_LPM
[08:47:35] [PASSED] 30.02 Xe3_LPM
[08:47:35] [PASSED] 35.00 Xe3p_LPM
[08:47:35] [PASSED] 35.03 Xe3p_HPM
[08:47:35] ================= [PASSED] check_media_ip ==================
[08:47:35] =================== check_platform_desc  ===================
[08:47:35] [PASSED] 0x9A60 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A68 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A70 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A40 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A49 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A59 (TIGERLAKE)
[08:47:35] [PASSED] 0x9A78 (TIGERLAKE)
[08:47:35] [PASSED] 0x9AC0 (TIGERLAKE)
[08:47:35] [PASSED] 0x9AC9 (TIGERLAKE)
[08:47:35] [PASSED] 0x9AD9 (TIGERLAKE)
[08:47:35] [PASSED] 0x9AF8 (TIGERLAKE)
[08:47:35] [PASSED] 0x4C80 (ROCKETLAKE)
[08:47:35] [PASSED] 0x4C8A (ROCKETLAKE)
[08:47:35] [PASSED] 0x4C8B (ROCKETLAKE)
[08:47:35] [PASSED] 0x4C8C (ROCKETLAKE)
[08:47:35] [PASSED] 0x4C90 (ROCKETLAKE)
[08:47:35] [PASSED] 0x4C9A (ROCKETLAKE)
[08:47:35] [PASSED] 0x4680 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4682 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4688 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x468A (ALDERLAKE_S)
[08:47:35] [PASSED] 0x468B (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4690 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4692 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4693 (ALDERLAKE_S)
[08:47:35] [PASSED] 0x46A0 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46A1 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46A2 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46A3 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46A6 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46A8 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46AA (ALDERLAKE_P)
[08:47:35] [PASSED] 0x462A (ALDERLAKE_P)
[08:47:35] [PASSED] 0x4626 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[08:47:35] [PASSED] 0x4628 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46B0 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46B1 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46B2 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46B3 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46C0 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46C1 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46C2 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46C3 (ALDERLAKE_P)
[08:47:35] [PASSED] 0x46D0 (ALDERLAKE_N)
[08:47:35] [PASSED] 0x46D1 (ALDERLAKE_N)
[08:47:35] [PASSED] 0x46D2 (ALDERLAKE_N)
[08:47:35] [PASSED] 0x46D3 (ALDERLAKE_N)
[08:47:35] [PASSED] 0x46D4 (ALDERLAKE_N)
[08:47:35] [PASSED] 0xA721 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7A1 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7A9 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7AC (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7AD (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA720 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7A0 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7A8 (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7AA (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA7AB (ALDERLAKE_P)
[08:47:35] [PASSED] 0xA780 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA781 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA782 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA783 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA788 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA789 (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA78A (ALDERLAKE_S)
[08:47:35] [PASSED] 0xA78B (ALDERLAKE_S)
[08:47:35] [PASSED] 0x4905 (DG1)
[08:47:35] [PASSED] 0x4906 (DG1)
[08:47:35] [PASSED] 0x4907 (DG1)
[08:47:35] [PASSED] 0x4908 (DG1)
[08:47:35] [PASSED] 0x4909 (DG1)
[08:47:35] [PASSED] 0x56C0 (DG2)
[08:47:35] [PASSED] 0x56C2 (DG2)
[08:47:35] [PASSED] 0x56C1 (DG2)
[08:47:35] [PASSED] 0x7D51 (METEORLAKE)
[08:47:35] [PASSED] 0x7DD1 (METEORLAKE)
[08:47:35] [PASSED] 0x7D41 (METEORLAKE)
[08:47:35] [PASSED] 0x7D67 (METEORLAKE)
[08:47:35] [PASSED] 0xB640 (METEORLAKE)
[08:47:35] [PASSED] 0x56A0 (DG2)
[08:47:35] [PASSED] 0x56A1 (DG2)
[08:47:35] [PASSED] 0x56A2 (DG2)
[08:47:35] [PASSED] 0x56BE (DG2)
[08:47:35] [PASSED] 0x56BF (DG2)
[08:47:35] [PASSED] 0x5690 (DG2)
[08:47:35] [PASSED] 0x5691 (DG2)
[08:47:35] [PASSED] 0x5692 (DG2)
[08:47:35] [PASSED] 0x56A5 (DG2)
[08:47:35] [PASSED] 0x56A6 (DG2)
[08:47:35] [PASSED] 0x56B0 (DG2)
[08:47:35] [PASSED] 0x56B1 (DG2)
[08:47:35] [PASSED] 0x56BA (DG2)
[08:47:35] [PASSED] 0x56BB (DG2)
[08:47:35] [PASSED] 0x56BC (DG2)
[08:47:35] [PASSED] 0x56BD (DG2)
[08:47:35] [PASSED] 0x5693 (DG2)
[08:47:35] [PASSED] 0x5694 (DG2)
[08:47:35] [PASSED] 0x5695 (DG2)
[08:47:35] [PASSED] 0x56A3 (DG2)
[08:47:35] [PASSED] 0x56A4 (DG2)
[08:47:35] [PASSED] 0x56B2 (DG2)
[08:47:35] [PASSED] 0x56B3 (DG2)
[08:47:35] [PASSED] 0x5696 (DG2)
[08:47:35] [PASSED] 0x5697 (DG2)
[08:47:35] [PASSED] 0xB69 (PVC)
[08:47:35] [PASSED] 0xB6E (PVC)
[08:47:35] [PASSED] 0xBD4 (PVC)
[08:47:35] [PASSED] 0xBD5 (PVC)
[08:47:35] [PASSED] 0xBD6 (PVC)
[08:47:35] [PASSED] 0xBD7 (PVC)
[08:47:35] [PASSED] 0xBD8 (PVC)
[08:47:35] [PASSED] 0xBD9 (PVC)
[08:47:35] [PASSED] 0xBDA (PVC)
[08:47:35] [PASSED] 0xBDB (PVC)
[08:47:35] [PASSED] 0xBE0 (PVC)
[08:47:35] [PASSED] 0xBE1 (PVC)
[08:47:35] [PASSED] 0xBE5 (PVC)
[08:47:35] [PASSED] 0x7D40 (METEORLAKE)
[08:47:35] [PASSED] 0x7D45 (METEORLAKE)
[08:47:35] [PASSED] 0x7D55 (METEORLAKE)
[08:47:35] [PASSED] 0x7D60 (METEORLAKE)
[08:47:35] [PASSED] 0x7DD5 (METEORLAKE)
[08:47:35] [PASSED] 0x6420 (LUNARLAKE)
[08:47:35] [PASSED] 0x64A0 (LUNARLAKE)
[08:47:35] [PASSED] 0x64B0 (LUNARLAKE)
[08:47:35] [PASSED] 0xE202 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE209 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE20B (BATTLEMAGE)
[08:47:35] [PASSED] 0xE20C (BATTLEMAGE)
[08:47:35] [PASSED] 0xE20D (BATTLEMAGE)
[08:47:35] [PASSED] 0xE210 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE211 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE212 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE216 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE220 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE221 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE222 (BATTLEMAGE)
[08:47:35] [PASSED] 0xE223 (BATTLEMAGE)
[08:47:35] [PASSED] 0xB080 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB081 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB082 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB083 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB084 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB085 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB086 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB087 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB08F (PANTHERLAKE)
[08:47:35] [PASSED] 0xB090 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB0A0 (PANTHERLAKE)
[08:47:35] [PASSED] 0xB0B0 (PANTHERLAKE)
[08:47:35] [PASSED] 0xFD80 (PANTHERLAKE)
[08:47:35] [PASSED] 0xFD81 (PANTHERLAKE)
[08:47:35] [PASSED] 0xD740 (NOVALAKE_S)
[08:47:35] [PASSED] 0xD741 (NOVALAKE_S)
[08:47:35] [PASSED] 0xD742 (NOVALAKE_S)
[08:47:35] [PASSED] 0xD743 (NOVALAKE_S)
[08:47:35] [PASSED] 0xD744 (NOVALAKE_S)
[08:47:35] [PASSED] 0xD745 (NOVALAKE_S)
[08:47:35] [PASSED] 0x674C (CRESCENTISLAND)
[08:47:35] [PASSED] 0xD750 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD751 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD752 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD753 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD754 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD755 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD756 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD757 (NOVALAKE_P)
[08:47:35] [PASSED] 0xD75F (NOVALAKE_P)
[08:47:35] =============== [PASSED] check_platform_desc ===============
[08:47:35] ===================== [PASSED] xe_pci ======================
[08:47:35] =================== xe_rtp (2 subtests) ====================
[08:47:35] =============== xe_rtp_process_to_sr_tests  ================
[08:47:35] [PASSED] coalesce-same-reg
[08:47:35] [PASSED] no-match-no-add
[08:47:35] [PASSED] match-or
[08:47:35] [PASSED] match-or-xfail
[08:47:35] [PASSED] no-match-no-add-multiple-rules
[08:47:35] [PASSED] two-regs-two-entries
[08:47:35] [PASSED] clr-one-set-other
[08:47:35] [PASSED] set-field
[08:47:35] [PASSED] conflict-duplicate
[08:47:35] [PASSED] conflict-not-disjoint
[08:47:35] [PASSED] conflict-reg-type
[08:47:35] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[08:47:35] ================== xe_rtp_process_tests  ===================
[08:47:35] [PASSED] active1
[08:47:35] [PASSED] active2
[08:47:35] [PASSED] active-inactive
[08:47:35] [PASSED] inactive-active
[08:47:35] [PASSED] inactive-1st_or_active-inactive
[08:47:35] [PASSED] inactive-2nd_or_active-inactive
[08:47:35] [PASSED] inactive-last_or_active-inactive
[08:47:35] [PASSED] inactive-no_or_active-inactive
[08:47:35] ============== [PASSED] xe_rtp_process_tests ===============
[08:47:35] ===================== [PASSED] xe_rtp ======================
[08:47:35] ==================== xe_wa (1 subtest) =====================
[08:47:35] ======================== xe_wa_gt  =========================
[08:47:35] [PASSED] TIGERLAKE B0
[08:47:35] [PASSED] DG1 A0
[08:47:35] [PASSED] DG1 B0
[08:47:35] [PASSED] ALDERLAKE_S A0
[08:47:35] [PASSED] ALDERLAKE_S B0
[08:47:35] [PASSED] ALDERLAKE_S C0
[08:47:35] [PASSED] ALDERLAKE_S D0
[08:47:35] [PASSED] ALDERLAKE_P A0
[08:47:35] [PASSED] ALDERLAKE_P B0
[08:47:35] [PASSED] ALDERLAKE_P C0
[08:47:35] [PASSED] ALDERLAKE_S RPLS D0
[08:47:35] [PASSED] ALDERLAKE_P RPLU E0
[08:47:35] [PASSED] DG2 G10 C0
[08:47:35] [PASSED] DG2 G11 B1
[08:47:35] [PASSED] DG2 G12 A1
[08:47:35] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[08:47:35] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[08:47:35] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[08:47:35] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[08:47:35] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[08:47:35] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[08:47:35] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[08:47:35] ==================== [PASSED] xe_wa_gt =====================
[08:47:35] ====================== [PASSED] xe_wa ======================
[08:47:35] ============================================================
[08:47:35] Testing complete. Ran 522 tests: passed: 504, skipped: 18
[08:47:35] Elapsed time: 36.327s total, 4.178s configuring, 31.678s building, 0.459s running

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

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

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

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

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

#32 lore raw

✗ CI.checksparse: warning for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159034/
State : warning

== Summary ==

+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast 157c1f59af33fb9acf6e0e055e7317b634711120
Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately.
-
+drivers/gpu/drm/display/drm_display_helper_mod.c:7:1: error: bad constant expression
+drivers/gpu/drm/display/drm_display_helper_mod.c:8:1: error: bad constant expression
+drivers/gpu/drm/display/drm_display_helper_mod.c:8:1: error: bad constant expression
+drivers/gpu/drm/display/drm_dp_helper.c:1979:1: error: bad constant expression
+drivers/gpu/drm/display/drm_dp_helper.c:1980:1: error: bad constant expression
+drivers/gpu/drm/display/drm_dp_helper.c:2144:1: error: bad constant expression
+drivers/gpu/drm/display/drm_dp_helper.c:2145:1: error: bad constant expression
+drivers/gpu/drm/drm_bridge.c:1647:1: error: bad constant expression
+drivers/gpu/drm/drm_bridge.c:1648:1: error: bad constant expression
+drivers/gpu/drm/drm_bridge.c:1649:1: error: bad constant expression
+drivers/gpu/drm/drm_bridge.c:1649:1: error: bad constant expression
+drivers/gpu/drm/drm_buddy.c:76:1: error: bad constant expression
+drivers/gpu/drm/drm_buddy.c:77:1: error: bad constant expression
+drivers/gpu/drm/drm_buddy.c:77:1: error: bad constant expression
+drivers/gpu/drm/drm_drv.c:60:1: error: bad constant expression
+drivers/gpu/drm/drm_drv.c:61:1: error: bad constant expression
+drivers/gpu/drm/drm_drv.c:62:1: error: bad constant expression
+drivers/gpu/drm/drm_drv.c:62:1: error: bad constant expression
+drivers/gpu/drm/drm_edid.c:1800:1: error: bad constant expression
+drivers/gpu/drm/drm_edid.c:1801:1: error: bad constant expression
+drivers/gpu/drm/drm_gem.c:487:9: warning: context imbalance in 'drm_gem_handle_create_tail' - unexpected unlock +drivers/gpu/drm/drm_gem_framebuffer_helper.c:23:1: error: bad constant expression
+drivers/gpu/drm/drm_gem_shmem_helper.c:28:1: error: bad constant expression
+drivers/gpu/drm/drm_gem_shmem_helper.c:967:1: error: bad constant expression
+drivers/gpu/drm/drm_gem_shmem_helper.c:968:1: error: bad constant expression
+drivers/gpu/drm/drm_gem_shmem_helper.c:969:1: error: bad constant expression
+drivers/gpu/drm/drm_gem_shmem_helper.c:969:1: error: bad constant expression
+drivers/gpu/drm/drm_kms_helper_common.c:30:1: error: bad constant expression
+drivers/gpu/drm/drm_kms_helper_common.c:31:1: error: bad constant expression
+drivers/gpu/drm/drm_kms_helper_common.c:32:1: error: bad constant expression
+drivers/gpu/drm/drm_kms_helper_common.c:32:1: error: bad constant expression
+drivers/gpu/drm/drm_mipi_dsi.c:2051:1: error: bad constant expression
+drivers/gpu/drm/drm_mipi_dsi.c:2052:1: error: bad constant expression
+drivers/gpu/drm/drm_mipi_dsi.c:2053:1: error: bad constant expression
+drivers/gpu/drm/drm_mipi_dsi.c:2053:1: error: bad constant expression
+drivers/gpu/drm/drm_panel.c:733:1: error: bad constant expression
+drivers/gpu/drm/drm_panel.c:734:1: error: bad constant expression
+drivers/gpu/drm/drm_panel.c:735:1: error: bad constant expression
+drivers/gpu/drm/drm_panel.c:735:1: error: bad constant expression
+drivers/gpu/drm/drm_panel_orientation_quirks.c:601:1: error: bad constant expression
+drivers/gpu/drm/drm_panel_orientation_quirks.c:602:1: error: bad constant expression
+drivers/gpu/drm/drm_panel_orientation_quirks.c:602:1: error: bad constant expression
+drivers/gpu/drm/drm_prime.c:44:1: error: bad constant expression
+drivers/gpu/drm/drm_print.c:46:1: error: bad constant expression
+drivers/gpu/drm/drm_print.c:57:1: error: bad constant expression
+drivers/gpu/drm/drm_probe_helper.c:68:1: error: bad constant expression
+drivers/gpu/drm/drm_simple_kms_helper.c:457:1: error: bad constant expression
+drivers/gpu/drm/drm_simple_kms_helper.c:458:1: error: bad constant expression
+drivers/gpu/drm/drm_simple_kms_helper.c:458:1: error: bad constant expression
+drivers/gpu/drm/drm_vblank.c:173:1: error: bad constant expression
+drivers/gpu/drm/drm_vblank.c:174:1: error: bad constant expression
+drivers/gpu/drm/drm_vblank.c:175:1: error: bad constant expression
+drivers/gpu/drm/drm_vblank.c:176:1: error: bad constant expression
+drivers/gpu/drm/i915/display/dvo_ch7017.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/dvo_ch7xxx.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/dvo_ivch.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/dvo_ns2501.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/dvo_sil164.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/dvo_tfp410.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/g4x_dp.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/g4x_hdmi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/hsw_ips.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/i9xx_plane.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/i9xx_wm.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/icl_dsi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_dsi.h):
+drivers/gpu/drm/i915/display/intel_acpi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_alpm.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_atomic.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_audio.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_backlight.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_bios.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_bw.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_casf.c:152:21: error: too long token expansion
+drivers/gpu/drm/i915/display/intel_casf.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_cdclk.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_color.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_colorop.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_color_pipeline.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_combo_phy.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_connector.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_crtc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_crt.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_crtc_state_dump.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_cursor.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_cx0_phy.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dbuf_bw.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_ddi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_debugfs.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_device.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_driver.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_irq.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_display_params.c:102:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:102:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:105:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:105:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:108:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:108:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:111:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:111:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:114:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:114:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:118:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:118:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:123:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:123:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:126:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:126:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:132:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:132:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:137:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:137:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:35:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:35:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:39:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:39:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:42:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:42:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:46:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:46:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:50:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:50:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:54:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:54:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:59:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:59:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:62:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:62:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:65:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:65:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:68:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:68:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:71:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:71:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:75:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:75:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:77:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:77:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:85:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:85:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:90:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:90:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:94:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:94:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:98:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_params.c:98:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_display_power.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_power_map.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_power_well.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_reset.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_display_rps.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dmc.c:130:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:133:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:136:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:139:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:142:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:145:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:148:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:152:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:153:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:156:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:159:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:162:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:165:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:169:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:173:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:177:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:181:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c:185:1: error: bad constant expression
+drivers/gpu/drm/i915/display/intel_dmc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_aux.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_hdcp.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dpio_phy.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_link_training.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dpll.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dpll_mgr.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_mst.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dpt.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dpt_common.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dp_test.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_drrs.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dsb.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dsi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_dsi.h):
+drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dsi_vbt.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_dvo.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_encoder.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_fb_bo.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_fbc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_fb.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_fb_pin.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_fdi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_fifo_underrun.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_flipq.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_frontbuffer.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_global_state.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_gmbus.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_hdcp.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_hdmi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_hotplug.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_hotplug_irq.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_initial_plane.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_link_bw.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_load_detect.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_lspcon.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_lt_phy.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_lvds.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_modeset_lock.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_modeset_setup.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_modeset_verify.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_opregion.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_overlay.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_panel.c: note: in included file:
+drivers/gpu/drm/i915/display/intel_pch_display.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_pch_refclk.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_pfit.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_pipe_crc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_plane.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_pmdemand.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/intel_pps.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_psr.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_quirks.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_sdvo.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_snps_phy.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_sprite.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_sprite_uapi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_tc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_tv.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_vblank.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_vdsc.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_vga.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_vrr.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/intel_wm.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/skl_prefill.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/skl_scaler.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h, drivers/gpu/drm/i915/display/intel_display_trace.h):
+drivers/gpu/drm/i915/display/skl_universal_plane.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/skl_watermark.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/vlv_clock.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/vlv_dsi.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/vlv_dsi_pll.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/display/vlv_sideband.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c:18:1: error: bad constant expression
+drivers/gpu/drm/i915/gem/i915_gem_pages.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c:77:38: warning: context imbalance in 'pool_free_older_than' - different lock contexts for basic block +drivers/gpu/drm/i915/gt/intel_reset.c:1569:12: warning: context imbalance in '_intel_gt_reset_lock' - different lock contexts for basic block +drivers/gpu/drm/i915/gt/intel_sseu.c:600:17: error: too long token expansion
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:191:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:192:1: error: bad constant expression
+drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c:193:1: error: bad constant expression
+drivers/gpu/drm/i915/i915_active.c:1062:16: warning: context imbalance in '__i915_active_fence_set' - different lock contexts for basic block +drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):

+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    expected struct list_head const *list
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    got struct list_head [noderef] __rcu *pos
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9:    struct list_head [noderef] __rcu *

+drivers/gpu/drm/i915/i915_drm_client.c:92:9: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/i915_initial_plane.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/i915_irq.c:468:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:468:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:476:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:476:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:481:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:481:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:481:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:519:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:519:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:527:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:527:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:532:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:532:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:532:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:576:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:576:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:579:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:579:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:583:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:583:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:590:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:590:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:590:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:590:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_mitigations.c:133:1: error: bad constant expression +drivers/gpu/drm/i915/i915_module.c:125:1: error: bad constant expression +drivers/gpu/drm/i915/i915_module.c:126:1: error: bad constant expression +drivers/gpu/drm/i915/i915_module.c:128:1: error: bad constant expression +drivers/gpu/drm/i915/i915_module.c:129:1: error: bad constant expression +drivers/gpu/drm/i915/i915_module.c:129:1: error: bad constant expression +drivers/gpu/drm/i915/i915_panic.c: note: in included file (through drivers/gpu/drm/i915/display/intel_display_types.h):
+drivers/gpu/drm/i915/i915_params.c:100:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:100:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:104:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:104:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:107:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:107:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:110:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:110:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:119:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:119:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:123:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:123:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:125:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:125:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:66:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:66:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:69:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:69:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:73:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:73:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:79:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:79:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:84:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:84:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:88:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:88:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:91:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:91:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:95:1: error: bad constant expression +drivers/gpu/drm/i915/i915_params.c:95:1: error: bad constant expression +drivers/gpu/drm/i915/intel_uncore.c:1930:1: warning: context imbalance in 'fwtable_read8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1931:1: warning: context imbalance in 'fwtable_read16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1932:1: warning: context imbalance in 'fwtable_read32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1933:1: warning: context imbalance in 'fwtable_read64' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1998:1: warning: context imbalance in 'gen6_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1999:1: warning: context imbalance in 'gen6_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2000:1: warning: context imbalance in 'gen6_write32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2020:1: warning: context imbalance in 'fwtable_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2021:1: warning: context imbalance in 'fwtable_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2022:1: warning: context imbalance in 'fwtable_write32' - unexpected unlock +drivers/gpu/drm/i915/intel_wakeref.c:148:19: warning: context imbalance in 'wakeref_auto_timeout' - unexpected unlock +drivers/gpu/drm/ttm/ttm_bo.c:1203:31: warning: symbol 'ttm_swap_ops' was not declared. Should it be static?
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: expected void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: got void [noderef] __iomem *
+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: warning: incorrect type in assignment (different address spaces)
+drivers/gpu/drm/ttm/ttm_bo_util.c:465:28: expected void volatile [noderef] __iomem *addr
+drivers/gpu/drm/ttm/ttm_bo_util.c:465:28: got void *virtual
+drivers/gpu/drm/ttm/ttm_bo_util.c:465:28: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/ttm/ttm_module.c:90:1: error: bad constant expression +drivers/gpu/drm/ttm/ttm_module.c:91:1: error: bad constant expression +drivers/gpu/drm/ttm/ttm_module.c:92:1: error: bad constant expression +drivers/gpu/drm/ttm/ttm_module.c:92:1: error: bad constant expression +drivers/gpu/drm/ttm/ttm_pool.c:119:1: error: bad constant expression +drivers/gpu/drm/ttm/ttm_pool.c:120:1: error: bad constant expression
+drivers/gpu/drm/ttm/ttm_tt.c:54:1: error: bad constant expression
+drivers/gpu/drm/ttm/ttm_tt.c:55:1: error: bad constant expression
+drivers/gpu/drm/ttm/ttm_tt.c:59:1: error: bad constant expression
+drivers/gpu/drm/ttm/ttm_tt.c:60:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:217:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:218:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:218:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:219:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:220:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:221:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:52:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_drv.c:53:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_object.c:34:1: error: bad constant expression +drivers/gpu/drm/virtio/virtgpu_prime.c:30:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression
+./include/linux/pwm.h:13:1: error: bad constant expression

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

#33 lore raw

✓ Xe.CI.BAT: success for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159034/
State : success

== Summary ==

CI Bug Log - changes from xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120_BAT -> xe-pw-159034v12_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (14 -> 14)
------------------------------

No changes in participating hosts

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

Here are the changes found in xe-pw-159034v12_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- bat-bmg-2: [PASS][1] -> [ABORT][2] ([Intel XE#7249])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/bat-bmg-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/bat-bmg-2/igt@[email protected]

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

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

* IGT: IGT_8763 -> IGT_8764
* Linux: xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120 -> xe-pw-159034v12

IGT_8763: 8763
IGT_8764: 8764
xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120: 157c1f59af33fb9acf6e0e055e7317b634711120
xe-pw-159034v12: 159034v12

== Logs ==

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

#34 lore raw

✗ i915.CI.BAT: failure for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159035/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_18008 -> Patchwork_159035v12
====================================================

Summary
-------

**FAILURE**

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

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

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

Participating hosts (43 -> 38)
------------------------------

Missing (5): fi-snb-2520m fi-glk-j4005 bat-adls-6 bat-dg2-13 fi-skl-6600u

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

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

### IGT changes ###

#### Possible regressions ####

* igt@dmabuf@all-tests:
- fi-ilk-650: [PASS][1] -> [ABORT][2] +1 other test abort
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-ilk-650/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-ilk-650/igt@[email protected]

* igt@i915_module_load@load:
- fi-bsw-n3050: [PASS][3] -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-bsw-n3050/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-bsw-n3050/igt@[email protected]

* igt@i915_module_load@reload:
- fi-pnv-d510: [PASS][5] -> [ABORT][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-pnv-d510/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-pnv-d510/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-bsw-nick: [PASS][7] -> [ABORT][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-bsw-nick/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-bsw-nick/igt@[email protected]

* igt@i915_selftest@live:
- fi-hsw-4770: [PASS][9] -> [ABORT][10] +1 other test abort
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-hsw-4770/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-hsw-4770/igt@[email protected]
- fi-ivb-3770: [PASS][11] -> [ABORT][12] +1 other test abort
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-ivb-3770/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-ivb-3770/igt@[email protected]
- bat-mtlp-8: [PASS][13] -> [ABORT][14] +1 other test abort
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-mtlp-8/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-mtlp-8/igt@[email protected]
- bat-dg2-8: [PASS][15] -> [ABORT][16] +1 other test abort
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg2-8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg2-8/igt@[email protected]
- bat-jsl-1: [PASS][17] -> [ABORT][18] +1 other test abort
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-jsl-1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-jsl-1/igt@[email protected]
- bat-arlh-3: [PASS][19] -> [ABORT][20] +1 other test abort
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-arlh-3/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-arlh-3/igt@[email protected]
- bat-dg1-7: [PASS][21] -> [ABORT][22] +1 other test abort
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg1-7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg1-7/igt@[email protected]
- bat-adlp-9: [PASS][23] -> [ABORT][24] +1 other test abort
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-adlp-9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-adlp-9/igt@[email protected]
- bat-rpls-4: [PASS][25] -> [ABORT][26] +1 other test abort
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-rpls-4/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-rpls-4/igt@[email protected]
- fi-kbl-7567u: [PASS][27] -> [ABORT][28] +1 other test abort
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-kbl-7567u/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-kbl-7567u/igt@[email protected]
- bat-twl-1: [PASS][29] -> [ABORT][30] +1 other test abort
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-twl-1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-twl-1/igt@[email protected]
- bat-jsl-5: [PASS][31] -> [ABORT][32] +1 other test abort
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-jsl-5/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-jsl-5/igt@[email protected]
- bat-apl-1: [PASS][33] -> [ABORT][34] +1 other test abort
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-apl-1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-apl-1/igt@[email protected]
- bat-arls-5: [PASS][35] -> [ABORT][36] +1 other test abort
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-arls-5/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-arls-5/igt@[email protected]
- bat-rplp-1: [PASS][37] -> [ABORT][38] +1 other test abort
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-rplp-1/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-rplp-1/igt@[email protected]
- bat-arlh-2: [PASS][39] -> [ABORT][40] +1 other test abort
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-arlh-2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-arlh-2/igt@[email protected]
- fi-rkl-11600: [PASS][41] -> [ABORT][42] +1 other test abort
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-rkl-11600/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-rkl-11600/igt@[email protected]
- fi-cfl-guc: [PASS][43] -> [ABORT][44] +1 other test abort
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-cfl-guc/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-cfl-guc/igt@[email protected]
- fi-kbl-x1275: [PASS][45] -> [ABORT][46] +1 other test abort
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-kbl-x1275/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-kbl-x1275/igt@[email protected]
- bat-adlp-11: [PASS][47] -> [ABORT][48] +1 other test abort
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-adlp-11/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-adlp-11/igt@[email protected]
- fi-cfl-8109u: [PASS][49] -> [ABORT][50] +1 other test abort
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-cfl-8109u/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-cfl-8109u/igt@[email protected]
- fi-kbl-8809g: [PASS][51] -> [ABORT][52] +1 other test abort
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-kbl-8809g/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-kbl-8809g/igt@[email protected]
- bat-dg1-6: [PASS][53] -> [ABORT][54] +1 other test abort
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg1-6/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg1-6/igt@[email protected]
- bat-adlp-6: [PASS][55] -> [ABORT][56] +1 other test abort
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-adlp-6/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-adlp-6/igt@[email protected]

* igt@i915_selftest@live@reset:
- bat-twl-2: [PASS][57] -> [ABORT][58] +1 other test abort
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-twl-2/igt@i915_selftest@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-twl-2/igt@i915_selftest@[email protected]
- fi-cfl-8700k: [PASS][59] -> [ABORT][60] +1 other test abort
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-cfl-8700k/igt@i915_selftest@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-cfl-8700k/igt@i915_selftest@[email protected]
- bat-dg2-14: [PASS][61] -> [ABORT][62] +1 other test abort
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg2-14/igt@i915_selftest@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg2-14/igt@i915_selftest@[email protected]
- bat-kbl-2: [PASS][63] -> [ABORT][64] +1 other test abort
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-kbl-2/igt@i915_selftest@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-kbl-2/igt@i915_selftest@[email protected]
- bat-atsm-1: [PASS][65] -> [ABORT][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-atsm-1/igt@i915_selftest@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-atsm-1/igt@i915_selftest@[email protected]
- bat-mtlp-9: [PASS][67] -> [ABORT][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-mtlp-9/igt@i915_selftest@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-mtlp-9/igt@i915_selftest@[email protected]
- bat-arls-6: [PASS][69] -> [ABORT][70] +1 other test abort
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-arls-6/igt@i915_selftest@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-arls-6/igt@i915_selftest@[email protected]
- bat-dg2-9: [PASS][71] -> [ABORT][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg2-9/igt@i915_selftest@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg2-9/igt@i915_selftest@[email protected]
- fi-tgl-1115g4: NOTRUN -> [ABORT][73]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-tgl-1115g4/igt@i915_selftest@[email protected]

#### Warnings ####

* igt@i915_selftest@live:
- bat-dg2-9: [DMESG-FAIL][74] ([i915#12061]) -> [ABORT][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg2-9/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg2-9/igt@[email protected]
- bat-atsm-1: [DMESG-FAIL][76] ([i915#12061]) -> [ABORT][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-atsm-1/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-atsm-1/igt@[email protected]
- bat-mtlp-9: [DMESG-FAIL][78] ([i915#12061]) -> [ABORT][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-mtlp-9/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-mtlp-9/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_18008 and Patchwork_159035v12:

### New IGT tests (8) ###

* igt@kms_flip@basic-flip-vs-wf_vblank@a-dp7:
- Statuses : 1 pass(s)
- Exec time: [1.35] s

* igt@kms_flip@basic-flip-vs-wf_vblank@b-dp7:
- Statuses : 1 pass(s)
- Exec time: [1.35] s

* igt@kms_flip@basic-flip-vs-wf_vblank@c-dp7:
- Statuses : 1 pass(s)
- Exec time: [1.33] s

* igt@kms_flip@basic-flip-vs-wf_vblank@d-dp7:
- Statuses : 1 pass(s)
- Exec time: [1.33] s

* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-7:
- Statuses : 1 pass(s)
- Exec time: [0.91] s

* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-7:
- Statuses : 1 pass(s)
- Exec time: [0.87] s

* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-c-dp-7:
- Statuses : 1 pass(s)
- Exec time: [0.81] s

* igt@kms_pipe_crc_basic@read-crc@pipe-c-dp-7:
- Statuses : 1 pass(s)
- Exec time: [0.82] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@gt_pm:
- bat-jsl-1: [PASS][80] -> [DMESG-FAIL][81] ([i915#15394])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-jsl-1/igt@i915_selftest@live@gt_pm.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-jsl-1/igt@i915_selftest@live@gt_pm.html

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-pnv-d510: [PASS][82] -> [FAIL][83] ([i915#2346])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-pnv-d510/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-pnv-d510/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_lrc:
- fi-tgl-1115g4: [ABORT][84] ([i915#15711]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/fi-tgl-1115g4/igt@i915_selftest@live@gt_lrc.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-tgl-1115g4/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@workarounds:
- bat-dg2-9: [DMESG-FAIL][86] ([i915#12061]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18008/bat-dg2-9/igt@i915_selftest@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/bat-dg2-9/igt@i915_selftest@[email protected]

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

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

* Linux: CI_DRM_18008 -> Patchwork_159035v12

CI-20190529: 20190529
CI_DRM_18008: 157c1f59af33fb9acf6e0e055e7317b634711120 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8763: 8763
Patchwork_159035v12: 157c1f59af33fb9acf6e0e055e7317b634711120 @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

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

#35 lore raw

✗ Xe.CI.FULL: failure for drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915/display: All patches to make PREEMPT_RT work on i915 + xe. (rev12)
URL : https://patchwork.freedesktop.org/series/159034/
State : failure

== Summary ==

CI Bug Log - changes from xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120_FULL -> xe-pw-159034v12_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-159034v12_FULL absolutely need to be verified manually.

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

Participating hosts (2 -> 2)
------------------------------

No changes in participating hosts

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

Here are the unknown changes that may have been introduced in xe-pw-159034v12_FULL:

### IGT changes ###

#### Possible regressions ####

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ad-dp2-hdmi-a3:
- shard-bmg: [PASS][1] -> [FAIL][2] +10 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-4/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@kms_flip@[email protected]

* igt@kms_flip@2x-flip-vs-suspend@ab-dp2-hdmi-a3:
- shard-bmg: [PASS][3] -> [DMESG-WARN][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-4/igt@kms_flip@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-6/igt@kms_flip@[email protected]

* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [PASS][5] -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@xe_exec_fault_mode@many-bindexecqueue-userptr-prefetch:
- shard-lnl: [PASS][7] -> [ABORT][8]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-6/igt@[email protected]

* igt@xe_pm@s4-exec-after:
- shard-lnl: [PASS][9] -> [DMESG-WARN][10]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

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

Here are the changes found in xe-pw-159034v12_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_async_flips@alternate-sync-async-flip:
- shard-bmg: NOTRUN -> [FAIL][11] ([Intel XE#3718] / [Intel XE#6078]) +1 other test fail
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [PASS][12] -> [FAIL][13] ([Intel XE#3718] / [Intel XE#6078])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-4/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-1:
- shard-bmg: NOTRUN -> [FAIL][14] ([Intel XE#6078]) +7 other tests fail
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@kms_async_flips@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [FAIL][15] ([Intel XE#3718] / [Intel XE#7265]) +2 other tests fail
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@kms_async_flips@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events-linear:
- shard-lnl: [PASS][16] -> [FAIL][17] ([Intel XE#5993]) +3 other tests fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-8/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-1/igt@[email protected]

* igt@kms_async_flips@test-cursor:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#664])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2370])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html

* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2327])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#1407]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#3658])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_fb@linear-max-hw-stride-32bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#7059])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7059])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@[email protected]

* igt@kms_big_fb@y-tiled-16bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#1124]) +5 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#1124]) +7 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@y-tiled-addfb:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#2328])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@[email protected]

* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#1428])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#1477])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#2314] / [Intel XE#2894])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#2191])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-1/igt@[email protected]

* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#367]) +1 other test skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-6/igt@[email protected]

* igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#2887]) +12 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-6/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2652]) +3 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2887]) +5 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#3432])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#3432]) +2 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_cdclk@mode-transition:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#2724])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@[email protected]

* igt@kms_chamelium_color@ctm-blue-to-red:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#306])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@kms_chamelium_color@ctm-limited-range:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#2325])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@kms_chamelium_frames@hdmi-cmp-planar-formats:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2252]) +4 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-enable-disable-mode:
- shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#373]) +9 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-1/igt@[email protected]

* igt@kms_content_protection@atomic-dpms:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#3278]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-1:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#307] / [Intel XE#6974]) +1 other test skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2390] / [Intel XE#6974])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][46] ([Intel XE#3304]) +3 other tests fail
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@kms_content_protection@[email protected]

* igt@kms_content_protection@srm@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][47] ([Intel XE#1178] / [Intel XE#3304]) +2 other tests fail
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-6/igt@kms_content_protection@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-256x85:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2320])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-128x42:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#1424]) +2 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-2/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#2321]) +2 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-512x512:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#2321]) +2 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#309]) +7 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size:
- shard-bmg: [PASS][53] -> [DMESG-WARN][54] ([Intel XE#5354])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-1/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html

* igt@kms_dp_link_training@non-uhbr-mst:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#4354])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#4354])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_dp_linktrain_fallback@dsc-fallback:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#4331])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-1/igt@[email protected]

* igt@kms_dsc@dsc-fractional-bpp:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#2244])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#4422])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@[email protected]

* igt@kms_feature_discovery@chamelium:
- shard-lnl: NOTRUN -> [SKIP][60] ([Intel XE#701])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@kms_flip@2x-flip-vs-blocking-wf-vblank@bd-dp2-hdmi-a3:
- shard-bmg: [PASS][61] -> [FAIL][62] ([Intel XE#6266]) +1 other test fail
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-4/igt@kms_flip@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@kms_flip@[email protected]

* igt@kms_flip@2x-flip-vs-rmfb:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#1421]) +4 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@[email protected]

* igt@kms_flip@2x-flip-vs-suspend:
- shard-bmg: [PASS][64] -> [DMESG-WARN][65] ([Intel XE#5208])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-4/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-6/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-dp2:
- shard-bmg: [PASS][66] -> [FAIL][67] ([Intel XE#3321]) +5 other tests fail
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-1/igt@kms_flip@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [PASS][68] -> [FAIL][69] ([Intel XE#301]) +2 other tests fail
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-5/igt@kms_flip@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][70] -> [FAIL][71] ([Intel XE#301] / [Intel XE#3149]) +2 other tests fail
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-1/igt@kms_flip@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#7178]) +4 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#7178]) +3 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling.html

* igt@kms_force_connector_basic@force-edid:
- shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#352])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][75] ([Intel XE#651]) +7 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw:
- shard-bmg: NOTRUN -> [SKIP][76] ([Intel XE#2311]) +19 other tests skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#4141]) +9 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#656]) +35 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][79] ([Intel XE#7061]) +6 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][80] ([Intel XE#6312]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#7061]) +1 other test skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#2313]) +15 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-4/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html

* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][83] -> [SKIP][84] ([Intel XE#1503])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-1/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#1503])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-lnl: NOTRUN -> [SKIP][86] ([Intel XE#7086])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-2/igt@[email protected]

* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-bmg: NOTRUN -> [SKIP][87] ([Intel XE#2501])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_plane@pixel-format-y-tiled-ccs-modifier:
- shard-lnl: NOTRUN -> [SKIP][88] ([Intel XE#7283]) +3 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][89] ([Intel XE#7283]) +3 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping.html

* igt@kms_plane_lowres@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#2393])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@kms_plane_multiple@tiling-y:
- shard-lnl: NOTRUN -> [SKIP][91] ([Intel XE#5020])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-2/igt@[email protected]

* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling:
- shard-lnl: NOTRUN -> [SKIP][92] ([Intel XE#2763] / [Intel XE#6886]) +7 other tests skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-6/igt@[email protected]

* igt@kms_pm_rpm@modeset-lpsp-stress:
- shard-bmg: NOTRUN -> [SKIP][93] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#836]) +1 other test skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-4/igt@[email protected]

* igt@kms_pm_rpm@package-g7:
- shard-bmg: NOTRUN -> [SKIP][94] ([Intel XE#6814])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area:
- shard-lnl: NOTRUN -> [SKIP][95] ([Intel XE#1406] / [Intel XE#2893] / [Intel XE#4608]) +2 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][96] ([Intel XE#1406] / [Intel XE#4608]) +5 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@kms_psr2_sf@[email protected]

* igt@kms_psr2_sf@pr-cursor-plane-move-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][97] ([Intel XE#1406] / [Intel XE#2893]) +1 other test skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#1406] / [Intel XE#1489]) +3 other tests skip
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-lnl: NOTRUN -> [SKIP][99] ([Intel XE#1128] / [Intel XE#1406])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-3/igt@[email protected]

* igt@kms_psr@fbc-psr2-sprite-plane-move:
- shard-lnl: NOTRUN -> [SKIP][100] ([Intel XE#1406]) +3 other tests skip
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@kms_psr@fbc-psr2-sprite-plane-move@edp-1:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#1406] / [Intel XE#4609])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@kms_psr@[email protected]

* igt@kms_psr@psr2-no-drrs:
- shard-bmg: NOTRUN -> [SKIP][102] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +10 other tests skip
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_rotation_crc@sprite-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][103] ([Intel XE#3414] / [Intel XE#3904])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@[email protected]

* igt@kms_setmode@invalid-clone-exclusive-crtc:
- shard-bmg: NOTRUN -> [SKIP][104] ([Intel XE#1435])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

* igt@kms_sharpness_filter@invalid-filter-with-plane:
- shard-bmg: NOTRUN -> [SKIP][105] ([Intel XE#6503]) +2 other tests skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@kms_vrr@lobf:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#2168])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-4/igt@[email protected]

* igt@xe_compute@eu-busy-10s:
- shard-bmg: NOTRUN -> [SKIP][107] ([Intel XE#6599])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@[email protected]

* igt@xe_create@multigpu-create-massive-size:
- shard-bmg: NOTRUN -> [SKIP][108] ([Intel XE#2504])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@xe_eudebug@basic-vm-access-parameters:
- shard-bmg: NOTRUN -> [SKIP][109] ([Intel XE#4837]) +2 other tests skip
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-4/igt@[email protected]

* igt@xe_eudebug@read-metadata:
- shard-lnl: NOTRUN -> [SKIP][110] ([Intel XE#4837]) +6 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@xe_eudebug_online@breakpoint-many-sessions-single-tile:
- shard-bmg: NOTRUN -> [SKIP][111] ([Intel XE#4837] / [Intel XE#6665]) +4 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-8/igt@[email protected]

* igt@xe_eudebug_online@debugger-reopen:
- shard-lnl: NOTRUN -> [SKIP][112] ([Intel XE#4837] / [Intel XE#6665]) +3 other tests skip
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@xe_eudebug_online@pagefault-read-stress:
- shard-lnl: NOTRUN -> [SKIP][113] ([Intel XE#6665])
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [PASS][114] -> [INCOMPLETE][115] ([Intel XE#6321])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-5/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-7/igt@[email protected]

* igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd:
- shard-lnl: NOTRUN -> [SKIP][116] ([Intel XE#6540] / [Intel XE#688]) +7 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][117] ([Intel XE#2322]) +4 other tests skip
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-6/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate.html

* igt@xe_exec_basic@multigpu-no-exec-null-defer-mmap:
- shard-lnl: NOTRUN -> [SKIP][118] ([Intel XE#1392]) +7 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@xe_exec_fault_mode@many-multi-queue-userptr-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][119] ([Intel XE#7136]) +3 other tests skip
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@xe_exec_fault_mode@twice-multi-queue-userptr-imm:
- shard-lnl: NOTRUN -> [SKIP][120] ([Intel XE#7136]) +10 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@xe_exec_multi_queue@many-execs-basic-smem:
- shard-bmg: NOTRUN -> [SKIP][121] ([Intel XE#6874]) +13 other tests skip
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-basic-smem:
- shard-lnl: NOTRUN -> [SKIP][122] ([Intel XE#6874]) +24 other tests skip
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-basic-smem.html

* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma:
- shard-lnl: [PASS][123] -> [FAIL][124] ([Intel XE#5625])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-4/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma.html
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma.html

* igt@xe_exec_system_allocator@prefetch-sys-benchmark:
- shard-bmg: NOTRUN -> [TIMEOUT][125] ([Intel XE#6932])
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-fd-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][126] ([Intel XE#7138]) +5 other tests skip
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@xe_exec_threads@threads-multi-queue-fd-userptr-invalidate-race.html

* igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][127] ([Intel XE#7138]) +5 other tests skip
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-2/igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-invalidate-race.html

* igt@xe_mmap@pci-membarrier:
- shard-lnl: NOTRUN -> [SKIP][128] ([Intel XE#5100])
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-4/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-atomic-op-prefetch:
- shard-lnl: NOTRUN -> [SKIP][129] ([Intel XE#6964]) +1 other test skip
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-concurrent-access-basic:
- shard-bmg: NOTRUN -> [SKIP][130] ([Intel XE#6964])
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@[email protected]

* igt@xe_pat@pat-index-xelp:
- shard-lnl: NOTRUN -> [SKIP][131] ([Intel XE#977])
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][132] ([Intel XE#2245])
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@xe_pm@d3cold-multiple-execs:
- shard-bmg: NOTRUN -> [SKIP][133] ([Intel XE#2284]) +1 other test skip
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][134] ([Intel XE#2284] / [Intel XE#366]) +1 other test skip
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-2/igt@[email protected]

* igt@xe_pm@s3-vm-bind-unbind-all:
- shard-lnl: NOTRUN -> [SKIP][135] ([Intel XE#584])
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@xe_pxp@pxp-termination-key-update-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][136] ([Intel XE#4733]) +2 other tests skip
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@xe_query@multigpu-query-cs-cycles:
- shard-lnl: NOTRUN -> [SKIP][137] ([Intel XE#944])
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

* igt@xe_sriov_admin@bulk-exec-quantum-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][138] ([Intel XE#7174]) +1 other test skip
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-5/igt@[email protected]

* igt@xe_sriov_auto_provisioning@exclusive-ranges@numvfs-random:
- shard-bmg: [PASS][139] -> [FAIL][140] ([Intel XE#5937]) +1 other test fail
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-6/igt@xe_sriov_auto_provisioning@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-9/igt@xe_sriov_auto_provisioning@[email protected]

* igt@xe_sriov_flr@flr-vf1-clear:
- shard-lnl: NOTRUN -> [SKIP][141] ([Intel XE#3342])
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-7/igt@[email protected]

#### Possible fixes ####

* igt@kms_bw@linear-tiling-1-displays-2560x1440p:
- shard-bmg: [SKIP][142] ([Intel XE#367]) -> [PASS][143] +1 other test pass
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-3/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-5/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][144] ([Intel XE#7084]) -> [PASS][145]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs@pipe-c-hdmi-a-3:
- shard-bmg: [INCOMPLETE][146] -> [PASS][147]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-6/igt@kms_ccs@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-3/igt@kms_ccs@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][148] ([Intel XE#6715]) -> [PASS][149]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-9/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [FAIL][150] ([Intel XE#5299]) -> [PASS][151]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-2/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [INCOMPLETE][152] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][153] +1 other test pass
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-9/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-1/igt@[email protected]

* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [FAIL][154] ([Intel XE#2142]) -> [PASS][155] +1 other test pass
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-7/igt@kms_vrr@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@kms_vrr@[email protected]

* igt@xe_exec_threads@threads-bal-mixed-fd-userptr:
- shard-bmg: [FAIL][156] ([Intel XE#5625]) -> [PASS][157]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-5/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-2/igt@[email protected]

#### Warnings ####

* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][158] ([Intel XE#301]) -> [FAIL][159] ([Intel XE#301] / [Intel XE#3149])
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-lnl-5/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-lnl-8/igt@[email protected]

* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-bmg: [ABORT][160] ([Intel XE#5466] / [Intel XE#6652]) -> [ABORT][161] ([Intel XE#5466])
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120/shard-bmg-2/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159034v12/shard-bmg-6/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1428
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1477]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1477
[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#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
[Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[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#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#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#2370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2370
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
[Intel XE#2501]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2501
[Intel XE#2504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2504
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[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#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3278]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3278
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
[Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4331]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4331
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5100]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5100
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5299]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5299
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
[Intel XE#5625]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5625
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#5937]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5937
[Intel XE#5993]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5993
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#664]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/664
[Intel XE#6652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6652
[Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
[Intel XE#6715]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6715
[Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6932]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6932
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#701]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/701
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[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#7086]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7086
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7265
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977

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

* IGT: IGT_8763 -> IGT_8764
* Linux: xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120 -> xe-pw-159034v12

IGT_8763: 8763
IGT_8764: 8764
xe-4577-157c1f59af33fb9acf6e0e055e7317b634711120: 157c1f59af33fb9acf6e0e055e7317b634711120
xe-pw-159034v12: 159034v12

== Logs ==

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

#36 lore raw
In reply to Maarten Lankhorst
Quoted 5 lines · Maarten Lankhorst

New version, new approach!

A lot of the problems with PREEMPT_RT happen because of the current vblank handling. The real solution is making it more deterministic.

…

I applied this on top of drm-tip because nothing else I had around applied cleanly. I had to tell the selftests to use dma_fence_lock_irqsave() instead of spin_lock_irq() but I guess you are aware of it.
I've been using it a bit and haven't noticed any big spikes while doing this and that. The help message for CONFIG_DRM_I915_SELFTEST refers to i915.selftest but this seems to have been replaced by {mock|live|perf}_selftests. Using mock_selftest I get

| i915: Running i915_sw_fence_mock_selftests/test_timer
| BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
| in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4667, name: modprobe
| preempt_count: 1, expected: 0
| RCU nest depth: 0, expected: 0
| 1 lock held by modprobe/4667:
|  #0: ffffd06703d0ba58 (&tf->fence/1){+.+.}-{2:2}, at: __i915_sw_fence_wake_up_all+0x122/0x1d0 [i915]
| Preemption disabled at:
| [<ffffffffc1a1990e>] test_timer+0x2e/0x230 [i915]
^
| CPU: 2 UID: 0 PID: 4667 Comm: modprobe Tainted: G     U              7.0.0-rc1+ #1 PREEMPT_{RT,(lazy)}
| Tainted: [U]=USER
| Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Pro3-M, BIOS P2.30 06/29/2012
| Call Trace:
|  <TASK>
|  dump_stack_lvl+0x68/0x90
|  __might_resched.cold+0xf0/0x12b
|  rt_spin_lock_nested+0x5d/0x200
|  __i915_sw_fence_wake_up_all+0x122/0x1d0 [i915]
|  i915_sw_fence_complete+0x3e/0x60 [i915]
|  test_timer+0x42/0x230 [i915]

^ has a preempt_disable()

|  __i915_subtests.cold+0x22/0x71 [i915]
|  __run_selftests.cold+0x89/0xb8 [i915]
|  i915_mock_selftests+0x30/0x70 [i915]
|  i915_init+0x22/0x80 [i915]
|
| i915: Running i915_sw_fence_mock_selftests/test_dma_fence
| Asynchronous wait on fence mock:mock:0 timed out (hint:fence_notify [i915])
| BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
| in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 86, name: ktimers/7
| preempt_count: 0, expected: 0
| RCU nest depth: 2, expected: 2
| 6 locks held by ktimers/7/86:
|  #0: ffffffff8f881700 (local_bh){.+.+}-{1:2}, at: __local_bh_disable_ip+0x23/0x230
|  #1: ffffffff8f909440 (rcu_read_lock){....}-{1:2}, at: __local_bh_disable_ip+0x124/0x230
|  #2: ffff8acf9751fce0 (&base->expiry_lock){+...}-{2:2}, at: timer_expire_remote+0x37/0x60
|  #3: ffffffff8f909440 (rcu_read_lock){....}-{1:2}, at: rt_spin_lock+0xf6/0x200
|  #4: ffffd0670031fc58 ((&timer->timer)){....}-{0:0}, at: call_timer_fn+0x7e/0x280
|  #5: ffff8acf857eb7d8 (fence/1){+.+.}-{2:2}, at: __i915_sw_fence_wake_up_all+0x122/0x1d0 [i915]
| irq event stamp: 729273
| hardirqs last  enabled at (729272): [<ffffffff8f0df4dc>] _raw_spin_unlock_irqrestore+0x4c/0x70
| hardirqs last disabled at (729273): [<ffffffff8f0df162>] _raw_spin_lock_irq+0x52/0x60

I guess this could be improved…

| softirqs last  enabled at (729252): [<ffffffff8e50da42>] run_ktimerd+0x72/0xb0
| softirqs last disabled at (729256): [<ffffffff8e50d9db>] run_ktimerd+0xb/0xb0
| CPU: 7 UID: 0 PID: 86 Comm: ktimers/7 Tainted: G     U  W           7.0.0-rc1+ #1 PREEMPT_{RT,(lazy)}
| Tainted: [U]=USER, [W]=WARN
| Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Pro3-M, BIOS P2.30 06/29/2012
| Call Trace:
|  <TASK>
|  dump_stack_lvl+0x68/0x90
|  __might_resched.cold+0xf0/0x12b
|  rt_spin_lock_nested+0x5d/0x200
|  __i915_sw_fence_wake_up_all+0x122/0x1d0 [i915]
|  i915_sw_fence_complete+0x3e/0x60 [i915]
|  call_timer_fn+0xaa/0x280
|  __run_timers+0x1e8/0x340
|  timer_expire_remote+0x47/0x60
|  tmigr_handle_remote+0x381/0x500
|  handle_softirqs.isra.0+0xc0/0x3f0
|  run_ktimerd+0x50/0xb0
|  smpboot_thread_fn+0x12d/0x2e0
| i915: Running scatterlist
| i915: Running scatterlist_mock_selftests/igt_sg_alloc
| sg_alloc_table timed out
| i915: Running scatterlist_mock_selftests/igt_sg_trim
| i915_sg_trim timed out

…

There is nothing else, that popped up. So far no objections from my side ;) Thank you.

Sebastian

#37 lore raw
Quoted 3 lines · To Maarten Lankhorst

There is nothing else, that popped up. So far no objections from my side ;) Thank you.

different HW.

|  i915 0000:00:02.0: [drm] *ERROR* [CRTC:170:pipe A] flip_done timed out
|  rcu: INFO: rcu_preempt self-detected stall on CPU
|  rcu: 	7-....: (1 GPs behind) idle=bc04/1/0x4000000000000000 softirq=0/0 fqs=3084 rcuc=6502 jiffies(starved)
|  rcu: 	(t=6500 jiffies g=46813 q=13322 ncpus=8)
|  CPU: 7 UID: 0 PID: 12616 Comm: irq/182-i915 Tainted: G     U      E       7.0.0-rc1-lockdep+ #2 PREEMPT_{RT,(lazy)}
|  Tainted: [U]=USER, [E]=UNSIGNED_MODULE
|  Hardware name: LENOVO 20TD00GLGE/20TD00GLGE, BIOS R1EET64W(1.64 ) 03/18/2025
|  RIP: 0010:intel_context_remove_breadcrumbs+0x14a/0x1a0 [i915]
|  Code: 00 00 48 8b 50 70 b8 ff ff ff ff f0 41 0f c1 06 83 f8 01 74 58 85 c0 7f 11 be 03 00 00 00 4c 89 f7 e8 fa 65 db e7 eb 02 f3 90 <41> 8b 84 24 a0 00 00 00 85 c0 75 f2 48 83 c4 08 5b 5d 41 5c 41 5d
|  RSP: 0018:ffffd2aa007d7c48 EFLAGS: 00000202
|  RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001
|  RDX: ffffffffc282ab20 RSI: ffffffffab33e33f RDI: 00000000ffffffff
|  RBP: ffff8f1247401680 R08: 0000000000000001 R09: 0000000000000000
|  R10: 0000000000000000 R11: 0000000000000000 R12: ffff8f104f3b6200
|  R13: ffff8f12474017e0 R14: ffff8f1247401798 R15: ffff8f119e89e3a8
|  FS:  0000000000000000(0000) GS:ffff8f140318b000(0000) knlGS:0000000000000000
|  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
|  CR2: 00007f5409dc6000 CR3: 000000029ea56006 CR4: 0000000000f72ef0
|  PKRU: 55555554
|  Call Trace:
|   <TASK>
|   __execlists_schedule_out+0x1a6/0x340 [i915]
|   execlists_submission_tasklet+0x178/0x1bb0 [i915]
|   tasklet_action_common+0x1e9/0x410
|   handle_softirqs.isra.0+0xbd/0x3f0
|   __local_bh_enable_ip+0xe0/0x170
|   irq_forced_thread_fn+0x41/0x50
|   irq_thread+0x20d/0x360
|   kthread+0x103/0x140
|   ret_from_fork+0x34d/0x480
|   ret_from_fork_asm+0x1a/0x30
|   </TASK>

It seems to be always stuck in intel_context_remove_breadcrumbs.

and top shows

|     42 root      20   0       0      0      0 R 100,0   0,0   3:21.62 ksoftirqd/2
|  12616 root     -51   0       0      0      0 R 100,0   0,0   3:34.61 irq/182-i915

seems busy. The NMI backtrace reports always intel_context_remove_breadcrumbs() on CPU, don't see the irq handler.

This one I can reproduce while opening a browser and surfing a bit. Let me try step by step without lockdep, without RT and maybe just play v7.0-rc1 to figure out where this is from…

Sebastian

#38 lore raw

On 2026-02-24 17:59:04 [+0100], To Maarten Lankhorst wrote:
…

Quoted 3 lines

This one I can reproduce while opening a browser and surfing a bit. Let me try step by step without lockdep, without RT and maybe just play v7.0-rc1 to figure out where this is from…

It triggers without lockdep but takes longer. It does not trigger without RT so far. I will try to narrow it down later unless it is obvious where this is coming from.

Sebastian

#39 lore raw

Hey,

Den 2026-02-25 kl. 08:58, skrev Sebastian Andrzej Siewior:

Quoted 11 lines · To Maarten Lankhorst

…

Quoted 3 lines

This one I can reproduce while opening a browser and surfing a bit. Let me try step by step without lockdep, without RT and maybe just play v7.0-rc1 to figure out where this is from…

It triggers without lockdep but takes longer. It does not trigger without RT so far. I will try to narrow it down later unless it is obvious where this is coming from.

Sebastian

Personally I've been running this entirely on xe, and it in stability it is comparable to !PREEMPT_RT.

I didn't entirely fix i915 yet. The changes I've made are the changes from the PREEMPT_RT tree, plus what I found when running the submissions against CI.

The most likely problem is that the uncore lock needs to be converted to a raw spinlock. I postponed this, as I have been focused mostly on display and then especially the vblank bits.

The selftests failing are very likely related, GPU reset is probably broken on i915 if I look at the CI results.

GPU reset failure:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_159035v12/fi-cfl-8700k/igt@i915_selftest@[email protected]#dmesg-warnings533

I'll check what happens if I convert the spinlock to a raw_spinlock.

Kind regards,
~Maarten Lankhorst

#40 lore raw
In reply to Sebastian Andrzej Siewior

Hey,

Den 2026-02-25 kl. 08:58, skrev Sebastian Andrzej Siewior:

Quoted 11 lines · To Maarten Lankhorst

…

Quoted 3 lines

This one I can reproduce while opening a browser and surfing a bit. Let me try step by step without lockdep, without RT and maybe just play v7.0-rc1 to figure out where this is from…

It triggers without lockdep but takes longer. It does not trigger without RT so far. I will try to narrow it down later unless it is obvious where this is coming from.

Sebastian

After realizing the uncore lock only needed to be converted to a raw spinlock because the testcase was broken, I tested the alternative fix of using sleeping context only in the selftests:
https://patchwork.freedesktop.org/patch/707063/?series=162145&rev=1

With that the reset selftest works as expected.

But I do see some weird lockdep splats and aborts after that fixed the uncore lock testcases:
https://patchwork.freedesktop.org/series/162145/

I believe it could be a different instance of:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162145v1/bat-dg2-9/igt@[email protected]#dmesg-warnings904

Which is tracked under:

https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15759

Perhaps those are related to what you are seeing?

Also don't use that series for anything but CI results, I rather want to submit a new version of this series.

Kind regards,
~Maarten Lankhorst

#41 lore raw
Quoted 1 line · Maarten Lankhorst

Hey,

Hi,

Quoted 4 lines

After realizing the uncore lock only needed to be converted to a raw spinlock because the testcase was broken, I tested the alternative fix of using sleeping context only in the selftests:
https://patchwork.freedesktop.org/patch/707063/?series=162145&rev=1

I have some memory that makeing uncore raw "solved" the tracing problem but the latencies jumped at the same.

Since you did test XE only, xe does not show the lockup. I spills this however:

|[    T632] ============================================
|[    T632] WARNING: possible recursive locking detected
|[    T632] 7.0.0-rc1-plain+ #5 Tainted: G     U      E
|[    T632] --------------------------------------------
|[    T632] kworker/u32:13/632 is trying to acquire lock:
|[    T632] ffff8efb858e7c58 (&fence->inline_lock){+.+.}-{2:2}, at: dma_fence_add_callback+0x4b/0x100
|[    T632]
|           but task is already holding lock:
|[    T632] ffff8efb524a1b58 (&fence->inline_lock){+.+.}-{2:2}, at: dma_fence_add_callback+0x4b/0x100
|[    T632]
|           other info that might help us debug this:
|[    T632]  Possible unsafe locking scenario:
|[    T632]        CPU0
|[    T632]        ----
|[    T632]   lock(&fence->inline_lock);
|[    T632]   lock(&fence->inline_lock);
|[    T632]
|            *** DEADLOCK ***
|[    T632]  May be due to missing lock nesting notation
|[    T632] 5 locks held by kworker/u32:13/632:
|[    T632]  #0: ffffffffc0ba3540 (drm_sched_lockdep_map){+.+.}-{0:0}, at: process_one_work+0x57a/0x600
|[    T632]  #1: ffffcf7f020f7e48 ((work_completion)(&sched->work_run_job)){+.+.}-{0:0}, at: process_one_work+0x1dc/0x600
|[    T632]  #2: ffff8efb524a1b58 (&fence->inline_lock){+.+.}-{2:2}, at: dma_fence_add_callback+0x4b/0x100
|[    T632]  #3: ffffffffb60fecc0 (rcu_read_lock){....}-{1:2}, at: rt_spin_lock+0xe6/0x1d0
|[    T632]  #4: ffffffffb60fecc0 (rcu_read_lock){....}-{1:2}, at: __dma_fence_enable_signaling+0x59/0x320
|[    T632]
|           stack backtrace:
|[    T632] CPU: 6 UID: 0 PID: 632 Comm: kworker/u32:13 Tainted: G     U      E       7.0.0-rc1-plain+ #5 PREEMPT_{RT,(lazy)}
|[    T632] Tainted: [U]=USER, [E]=UNSIGNED_MODULE
|[    T632] Hardware name: LENOVO 20TD00GLGE/20TD00GLGE, BIOS R1EET64W(1.64 ) 03/18/2025
|[    T632] Workqueue:  drm_sched_run_job_work [gpu_sched]
|[    T632] Call Trace:
|[    T632]  <TASK>
|[    T632]  dump_stack_lvl+0x6e/0xa0
|[    T632]  print_deadlock_bug.cold+0xc0/0xcd
|[    T632]  __lock_acquire+0x1232/0x2180
|[    T632]  lock_acquire+0xca/0x2f0
|[    T632]  rt_spin_lock+0x3f/0x1d0
|[    T632]  dma_fence_add_callback+0x4b/0x100
|[    T632]  dma_fence_chain_enable_signaling+0x11e/0x280
|[    T632]  __dma_fence_enable_signaling+0xc8/0x320
|[    T632]  dma_fence_add_callback+0x53/0x100
|[    T632]  drm_sched_entity_pop_job+0xf5/0x550 [gpu_sched]
|[    T632]  drm_sched_run_job_work+0x136/0x470 [gpu_sched]
|[    T632]  process_one_work+0x21d/0x600
|[    T632]  worker_thread+0x1d9/0x3b0
|[    T632]  kthread+0xf4/0x130
|[    T632]  ret_from_fork+0x3a5/0x430
|[    T632]  ret_from_fork_asm+0x1a/0x30
|[    T632]  </TASK>

Nothing else so far.

Quoted 5 lines

With that the reset selftest works as expected.

But I do see some weird lockdep splats and aborts after that fixed the uncore lock testcases:
https://patchwork.freedesktop.org/series/162145/

Quoted 8 lines

I believe it could be a different instance of:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162145v1/bat-dg2-9/igt@[email protected]#dmesg-warnings904

Which is tracked under:

https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15759

Perhaps those are related to what you are seeing?

Not sure if it was the uncore in both cases. If you have an update series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

Quoted 2 lines

Also don't use that series for anything but CI results, I rather want to submit a new version of this series.

So I am brave for using it on my actual HW then ;)

Quoted 2 lines

Kind regards,
~Maarten Lankhorst

Sebastian

#42 lore raw
Quoted 2 lines · To Maarten Lankhorst

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

Sebastian

#43 lore raw
Quoted 5 lines · To Maarten Lankhorst
Quoted 2 lines · To Maarten Lankhorst

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

This the atomic sync as-is, IRQ-Work (FIFO-1) will be preempted by the threaded-interrupt (FIFO-50) and the interrupt will poll on signaler_active while the irq-work can't make progress.

This will provide the needed sync:

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c +7 -1
index a2b413982ce64..337f6e88faf05 100644
@@ -209,6 +209,7 @@ static void signal_irq_work(struct irq_work *work)
 		intel_breadcrumbs_disarm_irq(b);
 
 	rcu_read_lock();
+	spin_lock(&b->signaler_active_sync);
 	atomic_inc(&b->signaler_active);
 	list_for_each_entry_rcu(ce, &b->signalers, signal_link) {
 		struct i915_request *rq;
@@ -246,6 +247,7 @@ static void signal_irq_work(struct irq_work *work)
 		}
 	}
 	atomic_dec(&b->signaler_active);
+	spin_unlock(&b->signaler_active_sync);
 	rcu_read_unlock();
 
 	llist_for_each_safe(signal, sn, signal) {
@@ -290,6 +292,7 @@ intel_breadcrumbs_create(struct intel_engine_cs *irq_engine)
 	init_llist_head(&b->signaled_requests);
 
 	spin_lock_init(&b->irq_lock);
+	spin_lock_init(&b->signaler_active_sync);
 	init_irq_work(&b->irq_work, signal_irq_work);
 
 	b->irq_engine = irq_engine;
@@ -487,8 +490,11 @@ void intel_context_remove_breadcrumbs(struct intel_context *ce,
 	if (release)
 		intel_context_put(ce);
 
-	while (atomic_read(&b->signaler_active))
+	while (atomic_read(&b->signaler_active)) {
+		spin_lock(&b->signaler_active_sync);
+		spin_unlock(&b->signaler_active_sync);
 		cpu_relax();
+	}
 }
 
 static void print_signals(struct intel_breadcrumbs *b, struct drm_printer *p)
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +1 -0
index bdf09fd67b6e7..28dae32628aab 100644
@@ -40,6 +40,7 @@ struct intel_breadcrumbs {
 	struct list_head signalers;
 	struct llist_head signaled_requests;
 	atomic_t signaler_active;
+	spinlock_t signaler_active_sync;
 
 	spinlock_t irq_lock; /* protects the interrupt from hardirq context */
 	struct irq_work irq_work; /* for use from inside irq_lock */

Sebastian

#44 lore raw

Hey,

Den 2026-02-26 kl. 15:38, skrev Sebastian Andrzej Siewior:

Quoted 67 lines · To Maarten Lankhorst
Quoted 5 lines · To Maarten Lankhorst
Quoted 2 lines

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

This the atomic sync as-is, IRQ-Work (FIFO-1) will be preempted by the threaded-interrupt (FIFO-50) and the interrupt will poll on signaler_active while the irq-work can't make progress.

This will provide the needed sync:

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c +7 -1
index a2b413982ce64..337f6e88faf05 100644
@@ -209,6 +209,7 @@ static void signal_irq_work(struct irq_work *work)
 		intel_breadcrumbs_disarm_irq(b);
 
 	rcu_read_lock();
+	spin_lock(&b->signaler_active_sync);
 	atomic_inc(&b->signaler_active);
 	list_for_each_entry_rcu(ce, &b->signalers, signal_link) {
 		struct i915_request *rq;
@@ -246,6 +247,7 @@ static void signal_irq_work(struct irq_work *work)
 		}
 	}
 	atomic_dec(&b->signaler_active);
+	spin_unlock(&b->signaler_active_sync);
 	rcu_read_unlock();
 
 	llist_for_each_safe(signal, sn, signal) {
@@ -290,6 +292,7 @@ intel_breadcrumbs_create(struct intel_engine_cs *irq_engine)
 	init_llist_head(&b->signaled_requests);
 
 	spin_lock_init(&b->irq_lock);
+	spin_lock_init(&b->signaler_active_sync);
 	init_irq_work(&b->irq_work, signal_irq_work);
 
 	b->irq_engine = irq_engine;
@@ -487,8 +490,11 @@ void intel_context_remove_breadcrumbs(struct intel_context *ce,
 	if (release)
 		intel_context_put(ce);
 
-	while (atomic_read(&b->signaler_active))
+	while (atomic_read(&b->signaler_active)) {
+		spin_lock(&b->signaler_active_sync);
+		spin_unlock(&b->signaler_active_sync);
 		cpu_relax();
+	}
 }
 
 static void print_signals(struct intel_breadcrumbs *b, struct drm_printer *p)
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +1 -0
index bdf09fd67b6e7..28dae32628aab 100644
@@ -40,6 +40,7 @@ struct intel_breadcrumbs {
 	struct list_head signalers;
 	struct llist_head signaled_requests;
 	atomic_t signaler_active;
+	spinlock_t signaler_active_sync;
 
 	spinlock_t irq_lock; /* protects the interrupt from hardirq context */
 	struct irq_work irq_work; /* for use from inside irq_lock */
Quoted 1 line

Sebastian

Seems like signaler_active is used as a hand-rolled completion barrier here, your patch would be even better if we could use the correct primitive here instead?

or if that doesn't exist, remove signaler_active, and replace the read side with a 'if spin_is_locked() { lock/unlock }' pair and comments it waits for completion?

Kind regards,
~Maarten Lankhorst

#45 lore raw
In reply to Sebastian Andrzej Siewior

Hey,

Den 2026-02-26 kl. 15:38, skrev Sebastian Andrzej Siewior:

Quoted 60 lines · To Maarten Lankhorst
Quoted 5 lines · To Maarten Lankhorst
Quoted 2 lines

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

This the atomic sync as-is, IRQ-Work (FIFO-1) will be preempted by the threaded-interrupt (FIFO-50) and the interrupt will poll on signaler_active while the irq-work can't make progress.

This will provide the needed sync:

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c +7 -1
index a2b413982ce64..337f6e88faf05 100644
@@ -209,6 +209,7 @@ static void signal_irq_work(struct irq_work *work)
 		intel_breadcrumbs_disarm_irq(b);
 
 	rcu_read_lock();
+	spin_lock(&b->signaler_active_sync);
 	atomic_inc(&b->signaler_active);
 	list_for_each_entry_rcu(ce, &b->signalers, signal_link) {
 		struct i915_request *rq;
@@ -246,6 +247,7 @@ static void signal_irq_work(struct irq_work *work)
 		}
 	}
 	atomic_dec(&b->signaler_active);
+	spin_unlock(&b->signaler_active_sync);
 	rcu_read_unlock();
 
 	llist_for_each_safe(signal, sn, signal) {
@@ -290,6 +292,7 @@ intel_breadcrumbs_create(struct intel_engine_cs *irq_engine)
 	init_llist_head(&b->signaled_requests);
 
 	spin_lock_init(&b->irq_lock);
+	spin_lock_init(&b->signaler_active_sync);
 	init_irq_work(&b->irq_work, signal_irq_work);
 
 	b->irq_engine = irq_engine;
@@ -487,8 +490,11 @@ void intel_context_remove_breadcrumbs(struct intel_context *ce,
 	if (release)
 		intel_context_put(ce);
 
-	while (atomic_read(&b->signaler_active))
+	while (atomic_read(&b->signaler_active)) {
+		spin_lock(&b->signaler_active_sync);
+		spin_unlock(&b->signaler_active_sync);
 		cpu_relax();
+	}
 }
 
 static void print_signals(struct intel_breadcrumbs *b, struct drm_printer *p)
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +0 -0
index bdf09fd67b6e7..28dae32628aab 100644

drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h struct intel_breadcrumbs { · line 46

Quoted 7 lines
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +1 -0
@@ -40,6 +40,7 @@ struct intel_breadcrumbs {
 	struct list_head signalers;
 	struct llist_head signaled_requests;
 	atomic_t signaler_active;
+	spinlock_t signaler_active_sync;
 
 	spinlock_t irq_lock; /* protects the interrupt from hardirq context */
 	struct irq_work irq_work; /* for use from inside irq_lock */

Thinking some more, replacing signaler_active with signaler_active_sync might be the best fix. I'm not sure there's much use for parallel completion of the same breadcrumb, and using completion might be too heavy handed.

Kind regards,
~Maarten Lankhorst

#46 lore raw
Quoted 1 line · Maarten Lankhorst

Hey,

Hi,

Quoted 65 lines

Den 2026-02-26 kl. 15:38, skrev Sebastian Andrzej Siewior:

Quoted 64 lines · To Maarten Lankhorst
Quoted 5 lines · To Maarten Lankhorst
Quoted 2 lines

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

This the atomic sync as-is, IRQ-Work (FIFO-1) will be preempted by the threaded-interrupt (FIFO-50) and the interrupt will poll on signaler_active while the irq-work can't make progress.

This will provide the needed sync:

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c +7 -1
index a2b413982ce64..337f6e88faf05 100644
@@ -209,6 +209,7 @@ static void signal_irq_work(struct irq_work *work)
 		intel_breadcrumbs_disarm_irq(b);
 
 	rcu_read_lock();
+	spin_lock(&b->signaler_active_sync);
 	atomic_inc(&b->signaler_active);
 	list_for_each_entry_rcu(ce, &b->signalers, signal_link) {
 		struct i915_request *rq;
@@ -246,6 +247,7 @@ static void signal_irq_work(struct irq_work *work)
 		}
 	}
 	atomic_dec(&b->signaler_active);
+	spin_unlock(&b->signaler_active_sync);
 	rcu_read_unlock();
 
 	llist_for_each_safe(signal, sn, signal) {
@@ -290,6 +292,7 @@ intel_breadcrumbs_create(struct intel_engine_cs *irq_engine)
 	init_llist_head(&b->signaled_requests);
 
 	spin_lock_init(&b->irq_lock);
+	spin_lock_init(&b->signaler_active_sync);
 	init_irq_work(&b->irq_work, signal_irq_work);
 
 	b->irq_engine = irq_engine;
@@ -487,8 +490,11 @@ void intel_context_remove_breadcrumbs(struct intel_context *ce,
 	if (release)
 		intel_context_put(ce);
 
-	while (atomic_read(&b->signaler_active))
+	while (atomic_read(&b->signaler_active)) {
+		spin_lock(&b->signaler_active_sync);
+		spin_unlock(&b->signaler_active_sync);
 		cpu_relax();
+	}
 }
 
 static void print_signals(struct intel_breadcrumbs *b, struct drm_printer *p)
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +1 -0
index bdf09fd67b6e7..28dae32628aab 100644
@@ -40,6 +40,7 @@ struct intel_breadcrumbs {
 	struct list_head signalers;
 	struct llist_head signaled_requests;
 	atomic_t signaler_active;
+	spinlock_t signaler_active_sync;
 
Quoted 7 lines

drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h struct intel_breadcrumbs { · line 46

Quoted 3 lines
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +0 -0
 	spinlock_t irq_lock; /* protects the interrupt from hardirq context */
 	struct irq_work irq_work; /* for use from inside irq_lock */

Thinking some more, replacing signaler_active with signaler_active_sync might be the best fix. I'm not sure there's much use for parallel completion of the same breadcrumb, and using completion might be too heavy handed.

We have something similar in timer, tasklet and other "similar" code where on RT you have preemption and therefore the possibility of another user on the same CPU while on !RT it is only possible on a remote CPU. Using the spinlock_t for synchronisation would restrict to one-on-one. The closest API that comes to mind would be a sequence lock. One writer, multiple reader. So that would be an option that you might like ;) If the pure spinlock_t is off the table.

Quoted 2 lines

Kind regards,
~Maarten Lankhorst

Sebastian

#47 lore raw

Hey,

Den 2026-03-05 kl. 11:50, skrev Sebastian Andrzej Siewior:

Quoted 77 lines · Maarten Lankhorst
Quoted 1 line

Hey,

Hi,

Quoted 65 lines

Den 2026-02-26 kl. 15:38, skrev Sebastian Andrzej Siewior:

Quoted 64 lines · To Maarten Lankhorst
Quoted 5 lines · To Maarten Lankhorst
Quoted 2 lines

series somewhere I could pull and check. In meantime I would look what causes the lockup on i915.

I think I got it.

This the atomic sync as-is, IRQ-Work (FIFO-1) will be preempted by the threaded-interrupt (FIFO-50) and the interrupt will poll on signaler_active while the irq-work can't make progress.

This will provide the needed sync:

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c +7 -1
index a2b413982ce64..337f6e88faf05 100644
@@ -209,6 +209,7 @@ static void signal_irq_work(struct irq_work *work)
 		intel_breadcrumbs_disarm_irq(b);
 
 	rcu_read_lock();
+	spin_lock(&b->signaler_active_sync);
 	atomic_inc(&b->signaler_active);
 	list_for_each_entry_rcu(ce, &b->signalers, signal_link) {
 		struct i915_request *rq;
@@ -246,6 +247,7 @@ static void signal_irq_work(struct irq_work *work)
 		}
 	}
 	atomic_dec(&b->signaler_active);
+	spin_unlock(&b->signaler_active_sync);
 	rcu_read_unlock();
 
 	llist_for_each_safe(signal, sn, signal) {
@@ -290,6 +292,7 @@ intel_breadcrumbs_create(struct intel_engine_cs *irq_engine)
 	init_llist_head(&b->signaled_requests);
 
 	spin_lock_init(&b->irq_lock);
+	spin_lock_init(&b->signaler_active_sync);
 	init_irq_work(&b->irq_work, signal_irq_work);
 
 	b->irq_engine = irq_engine;
@@ -487,8 +490,11 @@ void intel_context_remove_breadcrumbs(struct intel_context *ce,
 	if (release)
 		intel_context_put(ce);
 
-	while (atomic_read(&b->signaler_active))
+	while (atomic_read(&b->signaler_active)) {
+		spin_lock(&b->signaler_active_sync);
+		spin_unlock(&b->signaler_active_sync);
 		cpu_relax();
+	}
 }
 
 static void print_signals(struct intel_breadcrumbs *b, struct drm_printer *p)
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +1 -0
index bdf09fd67b6e7..28dae32628aab 100644
@@ -40,6 +40,7 @@ struct intel_breadcrumbs {
 	struct list_head signalers;
 	struct llist_head signaled_requests;
 	atomic_t signaler_active;
+	spinlock_t signaler_active_sync;
 
Quoted 7 lines

drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h struct intel_breadcrumbs { · line 46

Quoted 3 lines
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h +0 -0
 	spinlock_t irq_lock; /* protects the interrupt from hardirq context */
 	struct irq_work irq_work; /* for use from inside irq_lock */

Thinking some more, replacing signaler_active with signaler_active_sync might be the best fix. I'm not sure there's much use for parallel completion of the same breadcrumb, and using completion might be too heavy handed.

Quoted 7 lines

We have something similar in timer, tasklet and other "similar" code where on RT you have preemption and therefore the possibility of another user on the same CPU while on !RT it is only possible on a remote CPU. Using the spinlock_t for synchronisation would restrict to one-on-one. The closest API that comes to mind would be a sequence lock. One writer, multiple reader. So that would be an option that you might like ;) If the pure spinlock_t is off the table.

I think it should be possible then to remove signaler_active, and change the reader side to if (spin_is_locked()) { spin_lock(); spin_unlock(); } ?

#48 lore raw
Quoted 1 line · Maarten Lankhorst

Hey,

Hi,

Quoted 2 lines

I think it should be possible then to remove signaler_active, and change the reader side to if (spin_is_locked()) { spin_lock(); spin_unlock(); } ?

If signaler_active is only going 0 <-> 1 then it should be doable. Let me get to this then.

Sebastian