Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] FD close cleanup for XE
@ 2026-11-19 17:46 Daniel Charles
  2026-11-19 17:46 ` [PATCH v6 1/4] drm/xe: Read scheduler message opcode under lock Daniel Charles
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Daniel Charles @ 2026-11-19 17:46 UTC (permalink / raw)
  To: intel-xe; +Cc: x.wang, jia.yao, matthew.brost, jonathan.cavitt, Daniel Charles

On FD close, serialized TDR cleanup can lag behind VM teardown. GuC
may continue scheduling contexts while their page tables are being
torn down, leading to CAT errors and repeated engine resets.

This series keeps the early scheduling disable outside the serialized
TDR path and makes FD close wait before releasing queue references.
FD close first kills all queues, then waits for each queue before
dropping its reference.

Changes since v5:
 - Rebase onto drm-tip d05450d36ef3 (2026-11-19).
 - Patch 2 retains the upstream state-clear ordering and memory barrier
   in SCHED_DONE handling, and wakes the per-queue state waitqueue.
 - Patch 3 retains the upstream kernel-queue reinitialization helper.

Changes since v4:
 - Patch 1 is unchanged.
 - Patch 2 adds per-queue scheduling-state waitqueues as a standalone
   prerequisite. SCHED_DONE wakes waiters on the affected queue after
   updating its state, without waking unrelated CT waiters.
 - Patch 3 restricts early group DISABLE to the primary's own KILL.
   It also allows pending disable on a killed queue in run_job and
   avoids issuing a second DISABLE from TDR if KILL already disabled
   scheduling.
 - Patch 4 requires a KILL acknowledgement before accepting a disabled
   scheduling state, so FD close cannot finish the wait before KILL
   runs. Multi-queue members wait for their primary's acknowledgement
   and scheduling state on its per-queue waitqueue, replacing the
   shared kill_wq from v4.

v4: https://patchwork.freedesktop.org/series/175996/#rev4

Daniel Charles (2):
  drm/xe: Notify scheduling-state waiters per exec queue
  drm/xe: Synchronously wait for queue kill on FD close

Matthew Brost (2):
  drm/xe: Read scheduler message opcode under lock
  drm/xe: Disable scheduling early on FD close to avoid CAT error
    cascade

 drivers/gpu/drm/xe/xe_device.c               |   5 +
 drivers/gpu/drm/xe/xe_exec_queue.c           |  13 ++
 drivers/gpu/drm/xe/xe_exec_queue.h           |   1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h     |   2 +
 drivers/gpu/drm/xe/xe_gpu_scheduler.c        |  13 +-
 drivers/gpu/drm/xe/xe_gpu_scheduler_types.h  |   2 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c          |   1 +
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  10 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 181 +++++++++++++++++--
 drivers/gpu/drm/xe/xe_guc_submit.h           |   1 +
 10 files changed, 206 insertions(+), 23 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH v6 1/4] drm/xe: Read scheduler message opcode under lock
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
@ 2026-11-19 17:46 ` Daniel Charles
  2026-11-19 17:46 ` [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue Daniel Charles
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Daniel Charles @ 2026-11-19 17:46 UTC (permalink / raw)
  To: intel-xe; +Cc: x.wang, jia.yao, matthew.brost, jonathan.cavitt, stable

From: Matthew Brost <matthew.brost@intel.com>

For static scheduler messages, the opcode is only guaranteed to remain
stable while the message is on the pending message list. Read the opcode
under the message lock before removing the message from the pending list,
and pass it through the processing pipeline.

v5: No code changes.

Fixes: ff796870f5dd ("drm/xe/guc: rework exec queue teardown PM/unplug handling")
Cc: stable <stable@kernel.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_gpu_scheduler.c       | 13 +++++++++----
 drivers/gpu/drm/xe/xe_gpu_scheduler_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c          |  7 ++++---
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_gpu_scheduler.c b/drivers/gpu/drm/xe/xe_gpu_scheduler.c
index 0ef77cdec51d..0acee928cb70 100644
--- a/drivers/gpu/drm/xe/xe_gpu_scheduler.c
+++ b/drivers/gpu/drm/xe/xe_gpu_scheduler.c
@@ -26,15 +26,19 @@ static void xe_sched_process_msg_queue_if_ready(struct xe_gpu_scheduler *sched)
 }
 
 static struct xe_sched_msg *
-xe_sched_get_msg(struct xe_gpu_scheduler *sched)
+xe_sched_get_msg(struct xe_gpu_scheduler *sched, unsigned int *opcode)
 {
 	struct xe_sched_msg *msg;
 
 	xe_sched_msg_lock(sched);
 	msg = list_first_entry_or_null(&sched->msgs,
 				       struct xe_sched_msg, link);
-	if (msg)
+	if (msg) {
+		/* The opcode is only stable under lock for static messages */
+		*opcode = msg->opcode;
+
 		list_del_init(&msg->link);
+	}
 	xe_sched_msg_unlock(sched);
 
 	return msg;
@@ -45,13 +49,14 @@ static void xe_sched_process_msg_work(struct work_struct *w)
 	struct xe_gpu_scheduler *sched =
 		container_of(w, struct xe_gpu_scheduler, work_process_msg);
 	struct xe_sched_msg *msg;
+	unsigned int opcode;
 
 	if (drm_sched_is_stopped(&sched->base))
 		return;
 
-	msg = xe_sched_get_msg(sched);
+	msg = xe_sched_get_msg(sched, &opcode);
 	if (msg) {
-		sched->ops->process_msg(msg);
+		sched->ops->process_msg(msg, opcode);
 
 		xe_sched_process_msg_queue_if_ready(sched);
 	}
diff --git a/drivers/gpu/drm/xe/xe_gpu_scheduler_types.h b/drivers/gpu/drm/xe/xe_gpu_scheduler_types.h
index f40764aa78e0..37948406cb7d 100644
--- a/drivers/gpu/drm/xe/xe_gpu_scheduler_types.h
+++ b/drivers/gpu/drm/xe/xe_gpu_scheduler_types.h
@@ -34,7 +34,7 @@ struct xe_sched_backend_ops {
 	 * @process_msg: Process a message. Allowed to block, it is this
 	 * function's responsibility to free message if dynamically allocated.
 	 */
-	void (*process_msg)(struct xe_sched_msg *msg);
+	void (*process_msg)(struct xe_sched_msg *msg, unsigned int opcode);
 };
 
 /**
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index b5c916a764db..1f24e248acb9 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2073,16 +2073,17 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 #define MSG_HEAD	BIT(9)
 #define MSG_PM_REF	BIT(10)
 
-static void guc_exec_queue_process_msg(struct xe_sched_msg *msg)
+static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
+				       unsigned int opcode)
 {
 	struct xe_device *xe = guc_to_xe(exec_queue_to_guc(msg->private_data));
 	int idx;
-	bool pm_ref = !!(msg->opcode & MSG_PM_REF);
+	bool pm_ref = !!(opcode & MSG_PM_REF);
 	bool bound = drm_dev_enter(&xe->drm, &idx);
 
 	trace_xe_sched_msg_recv(msg);
 
-	switch (msg->opcode & OPCODE_MASK) {
+	switch (opcode & OPCODE_MASK) {
 	case CLEANUP:
 		__guc_exec_queue_process_msg_cleanup(msg, bound);
 		break;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
  2026-11-19 17:46 ` [PATCH v6 1/4] drm/xe: Read scheduler message opcode under lock Daniel Charles
@ 2026-11-19 17:46 ` Daniel Charles
  2026-11-19 18:06   ` sashiko-bot
  2026-11-19 17:46 ` [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade Daniel Charles
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Daniel Charles @ 2026-11-19 17:46 UTC (permalink / raw)
  To: intel-xe; +Cc: x.wang, jia.yao, matthew.brost, jonathan.cavitt, Daniel Charles

Wait for GuC scheduling state changes on the exec queue whose state is
being inspected. Wake its waiters after processing SCHED_DONE instead
of relying on a CT interrupt that can wake them before state changes.
Keep the existing CT notifications for their remaining users.

On submission stop, wedge and VF recovery, notify published queues.
Hold the lookup XArray lock with interrupts saved to prevent queue
removal during the walk, and skip parallel queue aliases.

v5: New prerequisite for early KILL and FD-close waits.
v6: resolved rebase conflict
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
---
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c          |  1 +
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +
 drivers/gpu/drm/xe/xe_guc_submit.c           | 40 +++++++++++++++++---
 drivers/gpu/drm/xe/xe_guc_submit.h           |  1 +
 4 files changed, 38 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index 2a5f2064ad3e..b5bb2227fc1b 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -911,6 +911,7 @@ static void vf_start_migration_recovery(struct xe_gt *gt)
 		smp_wmb();	/* Ensure above writes visible before wake */
 
 		xe_guc_ct_wake_waiters(&gt->uc.guc.ct);
+		xe_guc_submit_wake_state_waiters(&gt->uc.guc);
 
 		started = queue_work(gt->ordered_wq, &gt->sriov.vf.migration.worker);
 		xe_gt_sriov_info(gt, "VF migration recovery %s\n", started ?
diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
index 74b711abe257..2b1a40e288f1 100644
--- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
@@ -52,6 +52,8 @@ struct xe_guc_exec_queue {
 	u16 id;
 	/** @suspend_wait: wait queue used to wait on pending suspends */
 	wait_queue_head_t suspend_wait;
+	/** @state_wq: wait queue for scheduling enable/disable state changes */
+	wait_queue_head_t state_wq;
 	/**
 	 * @suspend_pending: a suspend of the exec_queue is pending.
 	 * Protected by @sched.msg_lock.
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 1f24e248acb9..4087a38ad3d6 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -559,6 +559,30 @@ static bool vf_recovery(struct xe_guc *guc)
 	return xe_gt_recovery_pending(guc_to_gt(guc));
 }
 
+/**
+ * xe_guc_submit_wake_state_waiters() - Wake all scheduling-state waiters
+ * @guc: the &xe_guc
+ *
+ * Notify per-queue waiters when a GuC-wide stop or recovery changes their
+ * wait conditions. May be called from interrupt context.
+ */
+void xe_guc_submit_wake_state_waiters(struct xe_guc *guc)
+{
+	struct xarray *lookup = &guc->submission_state.exec_queue_lookup;
+	struct xe_exec_queue *q;
+	unsigned long index, flags;
+
+	if (!guc->submission_state.initialized)
+		return;
+
+	/* Prevent removal and freeing of queues while waking their waiters. */
+	xa_lock_irqsave(lookup, flags);
+	xa_for_each(lookup, index, q)
+		if (q->guc->id == index)
+			wake_up_all(&q->guc->state_wq);
+	xa_unlock_irqrestore(lookup, flags);
+}
+
 static void xe_guc_exec_queue_trigger_cleanup(struct xe_exec_queue *q)
 {
 	struct xe_guc *guc = exec_queue_to_guc(q);
@@ -1380,7 +1404,7 @@ static void disable_scheduling_deregister(struct xe_guc *guc,
 		set_min_preemption_timeout(guc, q);
 
 	smp_rmb();
-	ret = wait_event_timeout(guc->ct.wq,
+	ret = wait_event_timeout(q->guc->state_wq,
 				 (!exec_queue_pending_enable(q) &&
 				  !exec_queue_pending_disable(q)) ||
 					 xe_guc_read_stopped(guc) ||
@@ -1441,6 +1465,7 @@ void xe_guc_submit_wedge(struct xe_guc *guc)
 			if (xe_exec_queue_get_unless_zero(q))
 				set_exec_queue_wedged(q);
 		mutex_unlock(&guc->submission_state.lock);
+		xe_guc_submit_wake_state_waiters(guc);
 	} else {
 		/* Forcefully kill any remaining exec queues, signal fences */
 		guc_submit_reset_prepare(guc);
@@ -1545,7 +1570,7 @@ static void enable_scheduling(struct xe_exec_queue *q)
 		xe_guc_ct_send(&guc->ct, action, ARRAY_SIZE(action),
 			       G2H_LEN_DW_SCHED_CONTEXT_MODE_SET, 1);
 
-	ret = wait_event_timeout(guc->ct.wq,
+	ret = wait_event_timeout(q->guc->state_wq,
 				 !exec_queue_pending_enable(q) ||
 				 xe_guc_read_stopped(guc) ||
 				 vf_recovery(guc), HZ * 5);
@@ -1697,7 +1722,7 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
 			 * Wait for any pending G2H to flush out before
 			 * modifying state
 			 */
-			ret = wait_event_timeout(guc->ct.wq,
+			ret = wait_event_timeout(primary->guc->state_wq,
 						 (!exec_queue_pending_enable(primary) &&
 						  !exec_queue_pending_disable(primary)) ||
 						 xe_guc_read_stopped(guc) ||
@@ -1719,7 +1744,7 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
 		 * lost. If this occurs, trigger a GT reset to recover.
 		 */
 		smp_rmb();
-		ret = wait_event_timeout(guc->ct.wq,
+		ret = wait_event_timeout(primary->guc->state_wq,
 					 !xe_uc_fw_is_running(&guc->fw) ||
 					 !exec_queue_pending_disable(primary) ||
 					 xe_guc_read_stopped(guc) ||
@@ -1997,7 +2022,7 @@ static void __guc_exec_queue_process_msg_suspend(struct xe_sched_msg *msg,
 
 	if (guc_exec_queue_allowed_to_change_state(q) && !exec_queue_suspended(q) &&
 	    exec_queue_enabled(q) && bound) {
-		wait_event(guc->ct.wq, vf_recovery(guc) ||
+		wait_event(q->guc->state_wq, vf_recovery(guc) ||
 			   ((q->guc->resume_time != RESUME_PENDING ||
 			   xe_guc_read_stopped(guc)) && !exec_queue_pending_disable(q)));
 
@@ -2146,6 +2171,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 	ge->q = q;
 	init_rcu_head(&ge->rcu);
 	init_waitqueue_head(&ge->suspend_wait);
+	init_waitqueue_head(&ge->state_wq);
 
 	for (i = 0; i < MAX_STATIC_MSG_TYPE; ++i)
 		INIT_LIST_HEAD(&ge->static_msgs[i].link);
@@ -2813,6 +2839,7 @@ static int guc_submit_reset_prepare(struct xe_guc *guc)
 	ret = atomic_fetch_or(1, &guc->submission_state.stopped);
 	smp_wmb();
 	wake_up_all(&guc->ct.wq);
+	xe_guc_submit_wake_state_waiters(guc);
 
 	return ret;
 }
@@ -3376,6 +3403,7 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
 		clear_exec_queue_pending_enable(q);
 		smp_wmb();
 		wake_up_all(&guc->ct.wq);
+		wake_up_all(&q->guc->state_wq);
 	} else {
 		bool was_pending;
 
@@ -3420,7 +3448,7 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
 		 * such as the TDR see the updated state on the first re-check.
 		 */
 		smp_wmb();
-		wake_up_all(&guc->ct.wq);
+		wake_up_all(&q->guc->state_wq);
 	}
 }
 
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.h b/drivers/gpu/drm/xe/xe_guc_submit.h
index 7a81d0aa19bb..fe4fbc16010b 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.h
+++ b/drivers/gpu/drm/xe/xe_guc_submit.h
@@ -28,6 +28,7 @@ void xe_guc_submit_unpause(struct xe_guc *guc);
 void xe_guc_submit_unpause_vf(struct xe_guc *guc);
 void xe_guc_submit_unpause_prepare_vf(struct xe_guc *guc);
 void xe_guc_submit_wedge(struct xe_guc *guc);
+void xe_guc_submit_wake_state_waiters(struct xe_guc *guc);
 
 int xe_guc_read_stopped(struct xe_guc *guc);
 int xe_guc_sched_done_handler(struct xe_guc *guc, u32 *msg, u32 len);
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
  2026-11-19 17:46 ` [PATCH v6 1/4] drm/xe: Read scheduler message opcode under lock Daniel Charles
  2026-11-19 17:46 ` [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue Daniel Charles
@ 2026-11-19 17:46 ` Daniel Charles
  2026-11-19 18:18   ` sashiko-bot
  2026-11-19 17:46 ` [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close Daniel Charles
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Daniel Charles @ 2026-11-19 17:46 UTC (permalink / raw)
  To: intel-xe; +Cc: x.wang, jia.yao, matthew.brost, jonathan.cavitt, Daniel Charles

From: Matthew Brost <matthew.brost@intel.com>

When an FD is closed with many exec queues, teardown relies on the TDR
path to clean up scheduling. However, the TDR handling is serialized
(i.e., only one exec queue is processed at a time), which can make it
too slow compared to GuC scheduling activity.

In this window, GuC may continue to schedule contexts backed by invalid
page tables, leading to a cascade of CAT errors and repeated engine
resets. This significantly increases recovery time and can degrade
system stability.

To mitigate this, eagerly disable scheduling by sending a self-message
outside of the TDR path. This prevents further scheduling of invalid
contexts and avoids the CAT error/reset cascade.

Wait for pending enable/disable operations to complete before sending
the early disable. If the queue has no references when the KILL message
is processed, let the following CLEANUP message handle teardown. Assert
that the queue is referenced when kill is entered.

Early KILL waits on the per-queue scheduling-state waitqueue. Only the
primary can issue the early DISABLE for a multi-queue group. Allow
pending disable on killed queues in run_job and have TDR recheck whether
scheduling is still enabled after waiting for a pending transition.

v5: Updated the description for the waitqueue, primary-only group KILL,
and the run_job and TDR fixes.

v6: resolved rebase conflicts

Cc: Wang Xin <x.wang@intel.com>
Cc: Jia Yao <jia.yao@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 87 ++++++++++++++++++--
 2 files changed, 80 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
index 2b1a40e288f1..3f5b1950a248 100644
--- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
@@ -36,7 +36,7 @@ struct xe_guc_exec_queue {
 	 * a message needs to sent through the GPU scheduler but memory
 	 * allocations are not allowed.
 	 */
-#define MAX_STATIC_MSG_TYPE	4
+#define MAX_STATIC_MSG_TYPE	5
 	struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE];
 	/** @destroy_async: do final destroy async from this worker */
 	struct work_struct destroy_async;
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 4087a38ad3d6..671852b56210 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1327,12 +1327,16 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
 	struct xe_sched_job *job = to_xe_sched_job(drm_job);
 	struct xe_exec_queue *q = job->q;
 	struct xe_guc *guc = exec_queue_to_guc(q);
+	unsigned int state = atomic_read(&q->guc->state);
 	bool killed_or_banned_or_wedged_or_error  =
-		exec_queue_killed_or_banned_or_wedged(q) ||
+		(state & (EXEC_QUEUE_STATE_KILLED | EXEC_QUEUE_STATE_BANNED |
+			  EXEC_QUEUE_STATE_WEDGED)) ||
 		xe_sched_job_is_error(job);
 
-	xe_gt_assert(guc_to_gt(guc), !(exec_queue_destroyed(q) || exec_queue_pending_disable(q)) ||
-		     exec_queue_banned(q) || exec_queue_suspended(q));
+	xe_gt_assert(guc_to_gt(guc),
+		     !(state & (EXEC_QUEUE_STATE_DESTROYED | EXEC_QUEUE_STATE_PENDING_DISABLE)) ||
+		     (state & (EXEC_QUEUE_STATE_BANNED | EXEC_QUEUE_STATE_SUSPENDED)) ||
+		     ((state & EXEC_QUEUE_STATE_KILLED) && !(state & EXEC_QUEUE_STATE_DESTROYED)));
 
 	trace_xe_sched_job_run(job);
 
@@ -1732,7 +1736,9 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
 			if (!ret || xe_guc_read_stopped(guc))
 				goto trigger_reset;
 
-			disable_scheduling(primary, skip_timeout_check);
+			/* KILL may have already disabled scheduling. */
+			if (exec_queue_enabled(primary))
+				disable_scheduling(primary, skip_timeout_check);
 		}
 
 		/*
@@ -2087,12 +2093,44 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 		guc_exec_queue_send_cgp_sync(q, 0);
 }
 
+static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
+					      bool bound)
+{
+	struct xe_exec_queue *q = msg->private_data;
+	struct xe_guc *guc = exec_queue_to_guc(q);
+	int ret;
+
+	/* At zero references, the queued CLEANUP message handles disabling. */
+	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
+		return;
+
+	ret = wait_event_timeout(q->guc->state_wq,
+				 (!exec_queue_pending_enable(q) &&
+				  !exec_queue_pending_disable(q)) ||
+				 xe_guc_read_stopped(guc) ||
+				 vf_recovery(guc), HZ * 5);
+	if (!ret && !vf_recovery(guc)) {
+		xe_gt_warn(q->gt, "Pending enable/disable failed to respond on kill, guc_id=%d\n",
+			   q->guc->id);
+		xe_gt_reset_async(q->gt);
+		xe_sched_tdr_queue_imm(&q->guc->sched);
+		return;
+	}
+
+	if (xe_guc_read_stopped(guc) || vf_recovery(guc))
+		return;
+
+	if (exec_queue_enabled(q))
+		disable_scheduling(q, true);
+}
+
 #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
 #define SET_SCHED_PROPS			2
 #define SUSPEND				3
 #define RESUME				4
 #define SET_MULTI_QUEUE_PRIORITY	5
 #define CGP_SYNC_MSG			6
+#define KILL				7
 #define OPCODE_MASK	0xf
 #define MSG_LOCKED	BIT(8)
 #define MSG_HEAD	BIT(9)
@@ -2127,6 +2165,9 @@ static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
 	case CGP_SYNC_MSG:
 		__guc_exec_queue_process_msg_cgp_sync(msg, bound);
 		break;
+	case KILL:
+		__guc_exec_queue_process_msg_kill(msg, bound);
+		break;
 	default:
 		XE_WARN_ON("Unknown message type");
 	}
@@ -2262,8 +2303,21 @@ static void guc_exec_queue_reinit_kernel(struct xe_exec_queue *q)
 	xe_sched_reinit(&q->guc->sched);
 }
 
+static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
+				       struct xe_sched_msg *msg,
+				       u32 opcode);
+
+#define STATIC_MSG_CLEANUP	0
+#define STATIC_MSG_SUSPEND	1
+#define STATIC_MSG_RESUME	2
+#define STATIC_MSG_CGP_SYNC	3
+#define STATIC_MSG_KILL		4
 static void guc_exec_queue_kill(struct xe_exec_queue *q)
 {
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+
+	xe_gt_assert(q->gt, kref_read(&q->refcount));
+
 	trace_xe_exec_queue_kill(q);
 	set_exec_queue_killed(q);
 	/*
@@ -2273,6 +2327,27 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	 * stays set until the queue is torn down.
 	 */
 	suspend_wait_wake(q);
+
+	/*
+	 * We eagerly send a message to ourselves to disable scheduling, as the
+	 * TDR is serialized (i.e., only one exec queue is processed at a time).
+	 * If an FD is closed with many exec queues, the TDR can be slower than
+	 * the GuC scheduling contexts with invalid page tables, creating a
+	 * cascade of CAT errors and engine resets, which is quite slow. Avoid
+	 * this by immediately disabling scheduling outside of the TDR.
+	 *
+	 * Only the primary's own KILL may do this for a multi-queue group.
+	 * Group jobs share its ordered submit workqueue and the killed primary
+	 * prevents later member jobs from submitting to GuC.
+	 */
+	if (!xe_exec_queue_is_multi_queue_secondary(q) && !exec_queue_wedged(q)) {
+		struct xe_gpu_scheduler *sched = &q->guc->sched;
+
+		xe_sched_msg_lock(sched);
+		guc_exec_queue_try_add_msg(q, msg, KILL);
+		xe_sched_msg_unlock(sched);
+	}
+
 	xe_guc_exec_queue_trigger_cleanup(q);
 }
 
@@ -2325,10 +2400,6 @@ static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
 	return true;
 }
 
-#define STATIC_MSG_CLEANUP	0
-#define STATIC_MSG_SUSPEND	1
-#define STATIC_MSG_RESUME	2
-#define STATIC_MSG_CGP_SYNC	3
 static void guc_exec_queue_destroy(struct xe_exec_queue *q)
 {
 	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_CLEANUP;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
                   ` (2 preceding siblings ...)
  2026-11-19 17:46 ` [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade Daniel Charles
@ 2026-11-19 17:46 ` Daniel Charles
  2026-11-19 18:21   ` sashiko-bot
  2026-11-19 19:44   ` Cavitt, Jonathan
  2026-11-20  0:16 ` ✗ CI.checkpatch: warning for FD close cleanup for XE (rev6) Patchwork
                   ` (2 subsequent siblings)
  6 siblings, 2 replies; 14+ messages in thread
From: Daniel Charles @ 2026-11-19 17:46 UTC (permalink / raw)
  To: intel-xe; +Cc: x.wang, jia.yao, matthew.brost, jonathan.cavitt, Daniel Charles

GuC may still schedule contexts while FD close tears down their page
tables, producing CAT errors and engine resets. Split FD close into
two passes: kill every queue, then wait for each queue before dropping
its reference.

Require the KILL handler to acknowledge processing before accepting a
single scheduling-state snapshot. For multi-queue groups, all members
wait for the primary KILL acknowledgement and scheduling state on the
primary state waitqueue.

The wait also exits on GuC submission stop, VF recovery, or wedge. On
timeout, request a GT reset asynchronously; the wait does not establish
hardware quiescence on those paths.

v2:
 - Bound the wait with a timeout, GT reset on timeout (Sashiko, Matt B)
 - Drop the flush_work() loop (Matt B)
 - Use xe_assert() for the killed-queue check (Matt B)
 - Merge the put loop into the kill_sync loop (Matt B)
v3:
 - Wait on a dedicated kill_wq instead of waking ct.wq on every
   scheduling-disable SCHED_DONE (CI)
v5: Rewrote the description for the primary KILL acknowledgement and
per-queue state waitqueue.

Assisted-by: LLM
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c               |  5 +++
 drivers/gpu/drm/xe/xe_exec_queue.c           | 13 ++++++
 drivers/gpu/drm/xe/xe_exec_queue.h           |  1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h     |  2 +
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  6 +++
 drivers/gpu/drm/xe/xe_guc_submit.c           | 47 ++++++++++++++++++++
 6 files changed, 74 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index f5a581d39c96..cc27a1604d59 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -194,8 +194,13 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
 		if (q->vm && q->hwe->hw_engine_group)
 			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
 		xe_exec_queue_kill(q);
+	}
+
+	xa_for_each(&xef->exec_queue.xa, idx, q) {
+		xe_exec_queue_kill_sync(q);
 		xe_exec_queue_put(q);
 	}
+
 	xa_for_each(&xef->vm.xa, idx, vm)
 		xe_vm_close_and_put(vm);
 
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index ddd9e38aa80b..00941a9853b5 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -1662,6 +1662,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
 	xe_vm_remove_compute_exec_queue(q->vm, q);
 }
 
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}
+
 /**
  * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
  * @dev: DRM device
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.h b/drivers/gpu/drm/xe/xe_exec_queue.h
index d48775ef6baf..b7079c35e822 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue.h
@@ -120,6 +120,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
 bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
 
 void xe_exec_queue_kill(struct xe_exec_queue *q);
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
 
 int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
 			       struct drm_file *file);
diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index 44a41ddc7a05..611d348145a6 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -296,6 +296,8 @@ struct xe_exec_queue_ops {
 	void (*reinit_kernel)(struct xe_exec_queue *q);
 	/** @kill: Kill inflight submissions for backend */
 	void (*kill)(struct xe_exec_queue *q);
+	/** @kill_sync: Wait for the backend to stop queue scheduling */
+	void (*kill_sync)(struct xe_exec_queue *q);
 	/** @fini: Undoes the init() for submission backend */
 	void (*fini)(struct xe_exec_queue *q);
 	/**
diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
index 3f5b1950a248..cb0e460f4762 100644
--- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
@@ -54,6 +54,12 @@ struct xe_guc_exec_queue {
 	wait_queue_head_t suspend_wait;
 	/** @state_wq: wait queue for scheduling enable/disable state changes */
 	wait_queue_head_t state_wq;
+	/**
+	 * @kill_processed: KILL handler has drained earlier submission work and
+	 * issued any required disable. Published with release semantics and
+	 * never cleared by repeated kill requests.
+	 */
+	bool kill_processed;
 	/**
 	 * @suspend_pending: a suspend of the exec_queue is pending.
 	 * Protected by @sched.msg_lock.
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 671852b56210..ec308b06c1be 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2104,6 +2104,9 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
 	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
 		return;
 
+	if (READ_ONCE(q->guc->kill_processed))
+		return;
+
 	ret = wait_event_timeout(q->guc->state_wq,
 				 (!exec_queue_pending_enable(q) &&
 				  !exec_queue_pending_disable(q)) ||
@@ -2122,6 +2125,10 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
 
 	if (exec_queue_enabled(q))
 		disable_scheduling(q, true);
+
+	/* Publish only after disable_scheduling() has established pending state. */
+	smp_store_release(&q->guc->kill_processed, true);
+	wake_up_all(&q->guc->state_wq);
 }
 
 #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
@@ -2351,6 +2358,45 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	xe_guc_exec_queue_trigger_cleanup(q);
 }
 
+static bool guc_exec_queue_kill_complete(struct xe_exec_queue *primary)
+{
+	unsigned int state;
+
+	/*
+	 * Pair with the primary KILL handler's release so earlier submission
+	 * work has finished and any required DISABLE has been issued.
+	 */
+	if (!smp_load_acquire(&primary->guc->kill_processed))
+		return false;
+
+	state = atomic_read(&primary->guc->state);
+
+	return !(state & (EXEC_QUEUE_STATE_ENABLED |
+			  EXEC_QUEUE_STATE_PENDING_DISABLE |
+			  EXEC_QUEUE_STATE_PENDING_ENABLE));
+}
+
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+	struct xe_guc *guc = exec_queue_to_guc(primary);
+	long ret;
+
+	xe_assert(guc_to_xe(guc), exec_queue_killed(q));
+
+	/* FD close has already killed every primary before waiting on any member. */
+	ret = wait_event_timeout(primary->guc->state_wq,
+				 guc_exec_queue_kill_complete(primary) ||
+				 xe_guc_read_stopped(guc) ||
+				 vf_recovery(guc) ||
+				 exec_queue_wedged(primary), HZ * 5);
+	if (!ret) {
+		xe_gt_warn(q->gt, "Queue kill failed to respond, guc_id=%d\n",
+			   primary->guc->id);
+		xe_gt_reset_async(q->gt);
+	}
+}
+
 static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
 				   u32 opcode)
 {
@@ -2829,6 +2875,7 @@ static const struct xe_exec_queue_ops guc_exec_queue_ops = {
 	.init = guc_exec_queue_init,
 	.reinit_kernel = guc_exec_queue_reinit_kernel,
 	.kill = guc_exec_queue_kill,
+	.kill_sync = guc_exec_queue_kill_sync,
 	.fini = guc_exec_queue_fini,
 	.destroy = guc_exec_queue_destroy,
 	.set_priority = guc_exec_queue_set_priority,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue
  2026-11-19 17:46 ` [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue Daniel Charles
@ 2026-11-19 18:06   ` sashiko-bot
  2026-11-19 19:16     ` Cavitt, Jonathan
  0 siblings, 1 reply; 14+ messages in thread
From: sashiko-bot @ 2026-11-19 18:06 UTC (permalink / raw)
  To: Daniel Charles, intel-xe

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe: IRQ deadlock on exec_queue_lookup in
  xe_guc_submit_wake_state_waiters()
--

commit 82584d6c0991b25ef45bbf198d37096f89c4db89
Author: Daniel Charles <daniel.charles@intel.com>

drm/xe: Notify scheduling-state waiters per exec queue

This commit adds a per-exec-queue waitqueue for GuC scheduling state
changes and wakes waiters upon SCHED_DONE, submission stop, wedge, and VF
migration recovery.

> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 1f24e248acb97..4087a38ad3d66 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -559,6 +559,30 @@ static bool vf_recovery(struct xe_guc *guc)
>  	return xe_gt_recovery_pending(guc_to_gt(guc));
>  }
>  
> +/**
> + * xe_guc_submit_wake_state_waiters() - Wake all scheduling-state waiters
> + * @guc: the &xe_guc
> + *
> + * Notify per-queue waiters when a GuC-wide stop or recovery changes their
> + * wait conditions. May be called from interrupt context.
> + */
> +void xe_guc_submit_wake_state_waiters(struct xe_guc *guc)
> +{
> +	struct xarray *lookup = &guc->submission_state.exec_queue_lookup;
> +	struct xe_exec_queue *q;
> +	unsigned long index, flags;
> +
> +	if (!guc->submission_state.initialized)
> +		return;
> +
> +	/* Prevent removal and freeing of queues while waking their waiters. */
> +	xa_lock_irqsave(lookup, flags);
> +	xa_for_each(lookup, index, q)
> +		if (q->guc->id == index)
> +			wake_up_all(&q->guc->state_wq);
> +	xa_unlock_irqrestore(lookup, flags);
> +}

[Severity: High]
Can taking exec_queue_lookup's xa_lock from hardirq context self-deadlock
against process-context mutators?

vf_start_migration_recovery() calls xe_guc_submit_wake_state_waiters()
from hardirq context via xe_guc_irq_handler() ->
xe_guc_sw_0_irq_handler() -> xe_gt_sriov_vf_migrated_event_handler().
However, exec_queue_lookup is initialized with xa_init() without
XA_FLAGS_LOCK_IRQ, and alloc_guc_id(), publish_guc_id(), and
__release_guc_id() mutate it using xa_insert(), xa_store(), and
xa_erase(), which take xa_lock with interrupts enabled:

alloc_guc_id()
  xa_insert(&guc->submission_state.exec_queue_lookup, ...)
    xa_lock(...)
    <hardirq>
      xe_guc_irq_handler()
        ...
          vf_start_migration_recovery()
            xe_guc_submit_wake_state_waiters()
              xa_lock_irqsave(lookup, flags)  <-- spins forever

Initializing exec_queue_lookup with xa_init_flags(..., XA_FLAGS_LOCK_IRQ)
and using the _irq variants for xa_insert(), xa_store(), and xa_erase()
would avoid this lock inversion.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261119174621.1311154-1-daniel.charles@intel.com?part=2

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
  2026-11-19 17:46 ` [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade Daniel Charles
@ 2026-11-19 18:18   ` sashiko-bot
  2026-11-19 19:26     ` Cavitt, Jonathan
  0 siblings, 1 reply; 14+ messages in thread
From: sashiko-bot @ 2026-11-19 18:18 UTC (permalink / raw)
  To: Daniel Charles, intel-xe

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [High] drm/xe: guc_exec_queue_kill() on zero-ref queue in pause_abort
- [High] drm/xe: async kill disable_scheduling() races with
  suspend_pending
- [High] drm/xe: primary kill disables multi-queue group without group
  cleanup
--

commit 99b38ad21631b92773b295aba24f48100578bda0
Author: Matthew Brost <matthew.brost@intel.com>

drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

This commit adds a static KILL scheduler message queued from
guc_exec_queue_kill() to disable GuC context scheduling immediately
outside of the serialized TDR path.

> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 4087a38ad3d66..671852b562105 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c

[ ... ]

> @@ -2087,12 +2093,44 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
>  		guc_exec_queue_send_cgp_sync(q, 0);
>  }
>  
> +static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
> +					      bool bound)
> +{
> +	struct xe_exec_queue *q = msg->private_data;
> +	struct xe_guc *guc = exec_queue_to_guc(q);
> +	int ret;
> +
> +	/* At zero references, the queued CLEANUP message handles disabling. */
> +	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
> +		return;
> +
> +	ret = wait_event_timeout(q->guc->state_wq,
> +				 (!exec_queue_pending_enable(q) &&
> +				  !exec_queue_pending_disable(q)) ||
> +				 xe_guc_read_stopped(guc) ||
> +				 vf_recovery(guc), HZ * 5);
> +	if (!ret && !vf_recovery(guc)) {
> +		xe_gt_warn(q->gt, "Pending enable/disable failed to respond on kill, guc_id=%d\n",
> +			   q->guc->id);
> +		xe_gt_reset_async(q->gt);
> +		xe_sched_tdr_queue_imm(&q->guc->sched);
> +		return;
> +	}
> +
> +	if (xe_guc_read_stopped(guc) || vf_recovery(guc))
> +		return;
> +
> +	if (exec_queue_enabled(q))
> +		disable_scheduling(q, true);
> +}

[Severity: High]
Can returning immediately after disable_scheduling() here race with a
queued SUSPEND message and the incoming SCHED_DONE G2H?

guc_exec_queue_suspend() checks exec_queue_killed_or_banned_or_wedged()
before __guc_exec_queue_suspend() takes sched->msg_lock, and
guc_exec_queue_kill() sets EXEC_QUEUE_STATE_KILLED before taking
sched->msg_lock, so STATIC_MSG_SUSPEND can be queued right behind
STATIC_MSG_KILL:

CPU0                              work_process_msg                  ct->g2h_wq
guc_exec_queue_suspend()
  !killed_or_banned_or_wedged()
  (passes)
CPU1: guc_exec_queue_kill()
  set_exec_queue_killed()
  try_add_msg(KILL)
__guc_exec_queue_suspend()
  suspend_pending = true
  try_add_msg(SUSPEND)
                                  __guc_exec_queue_process_msg_kill()
                                    disable_scheduling(q, true)
                                      clear_exec_queue_enabled()
                                      set_exec_queue_pending_disable()
                                  __guc_exec_queue_process_msg_suspend()
                                    else if (q->guc->suspend_pending)
                                      set_exec_queue_suspended(q)
                                                                    handle_sched_done()
                                                                      suspend_pending &&
                                                                      exec_queue_suspended()
                                      suspend_fence_signal(q)         suspend_fence_signal(q)
                                                                        <-- trips assert

Because __guc_exec_queue_process_msg_kill() does not wait for its
PENDING_DISABLE to finish, __guc_exec_queue_process_msg_suspend() runs
while KILL's disable is still in flight, enters the unlocked
"else if (q->guc->suspend_pending)" branch, signals the suspend fence
before GuC has actually preempted the context, and races with
handle_sched_done() on q->guc->suspend_pending (tripping
xe_gt_assert(guc_to_gt(guc), q->guc->suspend_pending) in
suspend_fence_signal()).  Also, setting EXEC_QUEUE_STATE_SUSPENDED while
KILL's PENDING_DISABLE is in flight causes
guc_exec_queue_revert_pending_state_change() during VF migration recovery
to misattribute the pending disable to SUSPEND and set
q->guc->needs_suspend = true after suspend_pending was already cleared.

[ ... ]

> @@ -2262,8 +2303,21 @@ static void guc_exec_queue_reinit_kernel(struct xe_exec_queue *q)
>  	xe_sched_reinit(&q->guc->sched);
>  }
>  
> +static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
> +				       struct xe_sched_msg *msg,
> +				       u32 opcode);
> +
> +#define STATIC_MSG_CLEANUP	0
> +#define STATIC_MSG_SUSPEND	1
> +#define STATIC_MSG_RESUME	2
> +#define STATIC_MSG_CGP_SYNC	3
> +#define STATIC_MSG_KILL		4
>  static void guc_exec_queue_kill(struct xe_exec_queue *q)
>  {
> +	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
> +
> +	xe_gt_assert(q->gt, kref_read(&q->refcount));

[Severity: High]
Can xe_guc_submit_pause_abort() hit this assertion and leak a runtime PM
reference when a queue in exec_queue_lookup already has a zero refcount?

When the last reference to an exec queue is dropped,
guc_exec_queue_destroy() only queues STATIC_MSG_CLEANUP; the queue remains
in guc->submission_state.exec_queue_lookup until the async destroy worker
runs guc_exec_queue_fini() -> release_guc_id().  Unlike
xe_guc_submit_wedge(), xe_guc_submit_pause_abort() iterates
exec_queue_lookup and calls guc_exec_queue_kill(q) without checking
kref_read(&q->refcount) (for example in guc_submit_fini() right after
dropping the wedge reference, or during vf_post_migration_abort() and
xe_guc_flr_prepare()):

drivers/gpu/drm/xe/xe_guc_submit.c:xe_guc_submit_pause_abort() {
	...
	xa_for_each(&guc->submission_state.exec_queue_lookup, index, q) {
		...
		xe_sched_submission_start(sched);
		guc_exec_queue_kill(q);
	}
}

Besides tripping the new assertion, queuing STATIC_MSG_KILL on a non-wedged
zero-refcount queue takes a runtime PM reference via MSG_PM_REF in
guc_exec_queue_add_msg().  If the already-in-flight CLEANUP / destroy_async
path reaches guc_exec_queue_fini() -> xe_sched_fini() and cancels
work_process_msg before STATIC_MSG_KILL is processed, that runtime PM
reference is never released.

>  	trace_xe_exec_queue_kill(q);
>  	set_exec_queue_killed(q);
>  	/*
> @@ -2273,6 +2327,27 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
>  	 * stays set until the queue is torn down.
>  	 */
>  	suspend_wait_wake(q);
> +
> +	/*
> +	 * We eagerly send a message to ourselves to disable scheduling, as the
> +	 * TDR is serialized (i.e., only one exec queue is processed at a time).
> +	 * If an FD is closed with many exec queues, the TDR can be slower than
> +	 * the GuC scheduling contexts with invalid page tables, creating a
> +	 * cascade of CAT errors and engine resets, which is quite slow. Avoid
> +	 * this by immediately disabling scheduling outside of the TDR.
> +	 *
> +	 * Only the primary's own KILL may do this for a multi-queue group.
> +	 * Group jobs share its ordered submit workqueue and the killed primary
> +	 * prevents later member jobs from submitting to GuC.
> +	 */
> +	if (!xe_exec_queue_is_multi_queue_secondary(q) && !exec_queue_wedged(q)) {
> +		struct xe_gpu_scheduler *sched = &q->guc->sched;
> +
> +		xe_sched_msg_lock(sched);
> +		guc_exec_queue_try_add_msg(q, msg, KILL);
> +		xe_sched_msg_unlock(sched);
> +	}
> +
>  	xe_guc_exec_queue_trigger_cleanup(q);
>  }

[Severity: High]
If a multi-queue primary queue is killed while secondary queues still have
in-flight jobs, does disabling scheduling on the primary without triggering
group cleanup leave the secondary jobs stranded?

Every secondary queue holds a kref on the primary queue until the
secondary is finalized, so when the primary is killed (e.g. userspace
destroys the primary queue first, or VRAM page-offline kills bo->q),
kref_read(&primary->refcount) is non-zero and
__guc_exec_queue_process_msg_kill() disables the shared GuC context for the
whole group.  However, guc_exec_queue_kill() only calls
xe_guc_exec_queue_trigger_cleanup(primary) rather than
xe_guc_exec_queue_group_trigger_cleanup(primary).  When the primary has no
pending jobs of its own, primary's TDR never runs to set group->banned or
schedule TDR on the secondaries: LR secondary jobs stall forever, and
non-LR secondary jobs eventually hit guc_exec_queue_timedout_job() with
skip_timeout_check == false, logging a false GPU hang, capturing a
devcoredump, and triggering a full GT reset via xe_gt_reset_async() for
any secondary job that had not started yet.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261119174621.1311154-1-daniel.charles@intel.com?part=3

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close
  2026-11-19 17:46 ` [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close Daniel Charles
@ 2026-11-19 18:21   ` sashiko-bot
  2026-11-19 19:44   ` Cavitt, Jonathan
  1 sibling, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-19 18:21 UTC (permalink / raw)
  To: Daniel Charles, intel-xe

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [High] drm/xe: timeout in guc_exec_queue_kill_sync() after reset or VF
  recovery
- [Medium] drm/xe: missing kill_processed reset in
  guc_exec_queue_reinit_kernel()
- [Medium] drm/xe: guc_exec_queue_kill_sync() stalls and resets on
  unplugged device
--

commit 4827880406140970103161afc0f5446cedf1ee73
Author: Daniel Charles <daniel.charles@intel.com>

drm/xe: Synchronously wait for queue kill on FD close

This commit splits FD close into two passes that first kill all queues on
the file and then wait for each queue's scheduling to stop before dropping
its reference and tearing down VMs.

> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 671852b562105..ec308b06c1bee 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -2104,6 +2104,9 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
>  	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
>  		return;
>  
> +	if (READ_ONCE(q->guc->kill_processed))
> +		return;

[Severity: Medium]
Does guc_exec_queue_reinit_kernel() need to reset q->guc->kill_processed to
false?

During PCI FLR preparation, xe_guc_flr_prepare() ->
xe_guc_submit_pause_abort() kills all queues, including kernel queues.
When FLR completes, guc_exec_queue_reinit_kernel() clears q->guc->state and
reinitializes the scheduler, but leaves q->guc->kill_processed set:

drivers/gpu/drm/xe/xe_guc_submit.c:guc_exec_queue_reinit_kernel() {
	xe_gt_assert(q->gt, q->flags & EXEC_QUEUE_FLAG_KERNEL);

	atomic_set(&q->guc->state, 0);
	xe_sched_reinit(&q->guc->sched);
}

If STATIC_MSG_KILL remained queued in sched->msgs when submission stopped,
xe_guc_submit_start() will also run __guc_exec_queue_process_msg_kill() on
the reinitialized kernel queue because it does not check
exec_queue_killed(q), disabling its scheduling and setting kill_processed.
Once kill_processed is true, any subsequent kill on that kernel queue
returns early without disabling scheduling.

> +
>  	ret = wait_event_timeout(q->guc->state_wq,
>  				 (!exec_queue_pending_enable(q) &&
>  				  !exec_queue_pending_disable(q)) ||
> @@ -2122,6 +2125,10 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
>  
>  	if (exec_queue_enabled(q))
>  		disable_scheduling(q, true);
> +
> +	/* Publish only after disable_scheduling() has established pending state. */
> +	smp_store_release(&q->guc->kill_processed, true);
> +	wake_up_all(&q->guc->state_wq);
>  }
>  
>  #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
> @@ -2351,6 +2358,45 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
>  	xe_guc_exec_queue_trigger_cleanup(q);
>  }
>  
> +static bool guc_exec_queue_kill_complete(struct xe_exec_queue *primary)
> +{
> +	unsigned int state;
> +
> +	/*
> +	 * Pair with the primary KILL handler's release so earlier submission
> +	 * work has finished and any required DISABLE has been issued.
> +	 */
> +	if (!smp_load_acquire(&primary->guc->kill_processed))
> +		return false;
> +
> +	state = atomic_read(&primary->guc->state);
> +
> +	return !(state & (EXEC_QUEUE_STATE_ENABLED |
> +			  EXEC_QUEUE_STATE_PENDING_DISABLE |
> +			  EXEC_QUEUE_STATE_PENDING_ENABLE));
> +}

[Severity: High]
Can guc_exec_queue_kill_complete() remain permanently false after a GT
reset or SR-IOV VF migration recovery, causing guc_exec_queue_kill_sync()
to time out and trigger a spurious GT reset?

When xe_sched_process_msg_work() dequeues STATIC_MSG_KILL and runs
__guc_exec_queue_process_msg_kill() while a GT reset or VF recovery is in
progress (or when its wait_event_timeout() times out or is woken by
xe_guc_read_stopped(guc) or vf_recovery(guc)), it returns early without
setting q->guc->kill_processed.  Once the GT reset or VF recovery finishes,
xe_guc_read_stopped(guc) and vf_recovery(guc) return to false, but
STATIC_MSG_KILL has already been consumed and kill_processed is still
false.

In addition, if __guc_exec_queue_process_msg_kill() already called
disable_scheduling() and set kill_processed before a VF migration pause,
guc_exec_queue_revert_pending_state_change() reverts the pending disable
back to EXEC_QUEUE_STATE_ENABLED without queuing a kill disable replay:

drivers/gpu/drm/xe/xe_guc_submit.c:guc_exec_queue_revert_pending_state_change() {
...
	if (pending_disable) {
		if (!pending_enable)
			set_exec_queue_enabled(q);
		clear_exec_queue_pending_disable(q);
		xe_gt_dbg(guc_to_gt(guc), "Replay DISABLE - guc_id=%d",
			  q->guc->id);
	}
...
}

In both cases, guc_exec_queue_kill_complete(primary) stays false after
reset or recovery completes, so guc_exec_queue_kill_sync() stalls for 5
seconds per affected queue on FD close and calls xe_gt_reset_async(q->gt).

> +
> +static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
> +{
> +	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
> +	struct xe_guc *guc = exec_queue_to_guc(primary);
> +	long ret;
> +
> +	xe_assert(guc_to_xe(guc), exec_queue_killed(q));
> +
> +	/* FD close has already killed every primary before waiting on any member. */
> +	ret = wait_event_timeout(primary->guc->state_wq,
> +				 guc_exec_queue_kill_complete(primary) ||
> +				 xe_guc_read_stopped(guc) ||
> +				 vf_recovery(guc) ||
> +				 exec_queue_wedged(primary), HZ * 5);
> +	if (!ret) {
> +		xe_gt_warn(q->gt, "Queue kill failed to respond, guc_id=%d\n",
> +			   primary->guc->id);
> +		xe_gt_reset_async(q->gt);
> +	}
> +}

[Severity: Medium]
Can guc_exec_queue_kill_sync() stall and queue a GT reset when an FD is
closed after drm_dev_unplug()?

In xe_device_remove(), drm_dev_unplug(&xe->drm) runs before
xe_bo_pci_dev_remove_all(xe), while guc->submission_state.stopped is only
set later when devres_release_all() invokes guc_submit_fini().  If
xe_file_close() runs in that window, drm_dev_enter() in
guc_exec_queue_process_msg() sets bound = false, so
__guc_exec_queue_process_msg_kill() returns immediately without setting
kill_processed or waking state_wq.  Because guc_exec_queue_kill_sync() does
not check drm_dev_enter() or drm_dev_is_unplugged(), it waits on state_wq
until guc_submit_fini() runs, or times out after 5 seconds per queue and
calls xe_gt_reset_async() on the unplugged device.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261119174621.1311154-1-daniel.charles@intel.com?part=4

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue
  2026-11-19 18:06   ` sashiko-bot
@ 2026-11-19 19:16     ` Cavitt, Jonathan
  0 siblings, 0 replies; 14+ messages in thread
From: Cavitt, Jonathan @ 2026-11-19 19:16 UTC (permalink / raw)
  To: sashiko-reviews@lists.linux.dev, Charles, Daniel,
	intel-xe@lists.freedesktop.org
  Cc: Cavitt, Jonathan

-----Original Message-----
From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf Of sashiko-bot@kernel.org
Sent: Thursday, November 19, 2026 10:07 AM
To: Charles, Daniel <daniel.charles@intel.com>; intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue
> 
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [High] drm/xe: IRQ deadlock on exec_queue_lookup in
>   xe_guc_submit_wake_state_waiters()
> --
> 
> commit 82584d6c0991b25ef45bbf198d37096f89c4db89
> Author: Daniel Charles <daniel.charles@intel.com>
> 
> drm/xe: Notify scheduling-state waiters per exec queue
> 
> This commit adds a per-exec-queue waitqueue for GuC scheduling state
> changes and wakes waiters upon SCHED_DONE, submission stop, wedge, and VF
> migration recovery.
> 
> > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> > index 1f24e248acb97..4087a38ad3d66 100644
> > --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> > @@ -559,6 +559,30 @@ static bool vf_recovery(struct xe_guc *guc)
> >  	return xe_gt_recovery_pending(guc_to_gt(guc));
> >  }
> >  
> > +/**
> > + * xe_guc_submit_wake_state_waiters() - Wake all scheduling-state waiters
> > + * @guc: the &xe_guc
> > + *
> > + * Notify per-queue waiters when a GuC-wide stop or recovery changes their
> > + * wait conditions. May be called from interrupt context.
> > + */
> > +void xe_guc_submit_wake_state_waiters(struct xe_guc *guc)
> > +{
> > +	struct xarray *lookup = &guc->submission_state.exec_queue_lookup;
> > +	struct xe_exec_queue *q;
> > +	unsigned long index, flags;
> > +
> > +	if (!guc->submission_state.initialized)
> > +		return;
> > +
> > +	/* Prevent removal and freeing of queues while waking their waiters. */
> > +	xa_lock_irqsave(lookup, flags);

Shouldn't we be using mutex_lock(&guc->submission_state.lock); here?

And mutex_unlock(&guc->submission_state.lock); below?

That's what we use in other places when targeting the exec_queue_lookup xarray.

And changing over to that would probably resolve the Sashiko report below.

-Jonathan Cavitt

> > +	xa_for_each(lookup, index, q)
> > +		if (q->guc->id == index)
> > +			wake_up_all(&q->guc->state_wq);
> > +	xa_unlock_irqrestore(lookup, flags);
> > +}
> 
> [Severity: High]
> Can taking exec_queue_lookup's xa_lock from hardirq context self-deadlock
> against process-context mutators?
> 
> vf_start_migration_recovery() calls xe_guc_submit_wake_state_waiters()
> from hardirq context via xe_guc_irq_handler() ->
> xe_guc_sw_0_irq_handler() -> xe_gt_sriov_vf_migrated_event_handler().
> However, exec_queue_lookup is initialized with xa_init() without
> XA_FLAGS_LOCK_IRQ, and alloc_guc_id(), publish_guc_id(), and
> __release_guc_id() mutate it using xa_insert(), xa_store(), and
> xa_erase(), which take xa_lock with interrupts enabled:
> 
> alloc_guc_id()
>   xa_insert(&guc->submission_state.exec_queue_lookup, ...)
>     xa_lock(...)
>     <hardirq>
>       xe_guc_irq_handler()
>         ...
>           vf_start_migration_recovery()
>             xe_guc_submit_wake_state_waiters()
>               xa_lock_irqsave(lookup, flags)  <-- spins forever
> 
> Initializing exec_queue_lookup with xa_init_flags(..., XA_FLAGS_LOCK_IRQ)
> and using the _irq variants for xa_insert(), xa_store(), and xa_erase()
> would avoid this lock inversion.
> 
> -- 
> Sashiko AI review · https://sashiko.dev/#/patchset/20261119174621.1311154-1-daniel.charles@intel.com?part=2
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
  2026-11-19 18:18   ` sashiko-bot
@ 2026-11-19 19:26     ` Cavitt, Jonathan
  0 siblings, 0 replies; 14+ messages in thread
From: Cavitt, Jonathan @ 2026-11-19 19:26 UTC (permalink / raw)
  To: sashiko-reviews@lists.linux.dev, Charles, Daniel,
	intel-xe@lists.freedesktop.org
  Cc: Cavitt, Jonathan

-----Original Message-----
From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf Of sashiko-bot@kernel.org
Sent: Thursday, November 19, 2026 10:19 AM
To: Charles, Daniel <daniel.charles@intel.com>; intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
> 
> Thank you for your contribution! Sashiko AI review found 3 potential
> issues to consider:
> - [High] drm/xe: guc_exec_queue_kill() on zero-ref queue in pause_abort
> - [High] drm/xe: async kill disable_scheduling() races with
>   suspend_pending
> - [High] drm/xe: primary kill disables multi-queue group without group
>   cleanup
> --
> 
> commit 99b38ad21631b92773b295aba24f48100578bda0
> Author: Matthew Brost <matthew.brost@intel.com>
> 
> drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
> 
> This commit adds a static KILL scheduler message queued from
> guc_exec_queue_kill() to disable GuC context scheduling immediately
> outside of the serialized TDR path.
> 
> > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> > index 4087a38ad3d66..671852b562105 100644
> > --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> 
> [ ... ]
> 
> > @@ -2087,12 +2093,44 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
> >  		guc_exec_queue_send_cgp_sync(q, 0);
> >  }
> >  
> > +static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
> > +					      bool bound)
> > +{
> > +	struct xe_exec_queue *q = msg->private_data;
> > +	struct xe_guc *guc = exec_queue_to_guc(q);
> > +	int ret;
> > +
> > +	/* At zero references, the queued CLEANUP message handles disabling. */
> > +	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
> > +		return;
> > +
> > +	ret = wait_event_timeout(q->guc->state_wq,
> > +				 (!exec_queue_pending_enable(q) &&
> > +				  !exec_queue_pending_disable(q)) ||
> > +				 xe_guc_read_stopped(guc) ||
> > +				 vf_recovery(guc), HZ * 5);
> > +	if (!ret && !vf_recovery(guc)) {
> > +		xe_gt_warn(q->gt, "Pending enable/disable failed to respond on kill, guc_id=%d\n",
> > +			   q->guc->id);
> > +		xe_gt_reset_async(q->gt);
> > +		xe_sched_tdr_queue_imm(&q->guc->sched);
> > +		return;
> > +	}
> > +
> > +	if (xe_guc_read_stopped(guc) || vf_recovery(guc))
> > +		return;
> > +
> > +	if (exec_queue_enabled(q))
> > +		disable_scheduling(q, true);
> > +}
> 
> [Severity: High]
> Can returning immediately after disable_scheduling() here race with a
> queued SUSPEND message and the incoming SCHED_DONE G2H?
> 
> guc_exec_queue_suspend() checks exec_queue_killed_or_banned_or_wedged()
> before __guc_exec_queue_suspend() takes sched->msg_lock, and
> guc_exec_queue_kill() sets EXEC_QUEUE_STATE_KILLED before taking
> sched->msg_lock, so STATIC_MSG_SUSPEND can be queued right behind
> STATIC_MSG_KILL:
> 
> CPU0                              work_process_msg                  ct->g2h_wq
> guc_exec_queue_suspend()
>   !killed_or_banned_or_wedged()
>   (passes)
> CPU1: guc_exec_queue_kill()
>   set_exec_queue_killed()
>   try_add_msg(KILL)
> __guc_exec_queue_suspend()
>   suspend_pending = true
>   try_add_msg(SUSPEND)
>                                   __guc_exec_queue_process_msg_kill()
>                                     disable_scheduling(q, true)
>                                       clear_exec_queue_enabled()
>                                       set_exec_queue_pending_disable()
>                                   __guc_exec_queue_process_msg_suspend()
>                                     else if (q->guc->suspend_pending)
>                                       set_exec_queue_suspended(q)
>                                                                     handle_sched_done()
>                                                                       suspend_pending &&
>                                                                       exec_queue_suspended()
>                                       suspend_fence_signal(q)         suspend_fence_signal(q)
>                                                                         <-- trips assert
> 
> Because __guc_exec_queue_process_msg_kill() does not wait for its
> PENDING_DISABLE to finish, __guc_exec_queue_process_msg_suspend() runs
> while KILL's disable is still in flight, enters the unlocked
> "else if (q->guc->suspend_pending)" branch, signals the suspend fence
> before GuC has actually preempted the context, and races with
> handle_sched_done() on q->guc->suspend_pending (tripping
> xe_gt_assert(guc_to_gt(guc), q->guc->suspend_pending) in
> suspend_fence_signal()).  Also, setting EXEC_QUEUE_STATE_SUSPENDED while
> KILL's PENDING_DISABLE is in flight causes
> guc_exec_queue_revert_pending_state_change() during VF migration recovery
> to misattribute the pending disable to SUSPEND and set
> q->guc->needs_suspend = true after suspend_pending was already cleared.

The scheduled work queue is serialized, so this cannot occur.

> 
> [ ... ]
> 
> > @@ -2262,8 +2303,21 @@ static void guc_exec_queue_reinit_kernel(struct xe_exec_queue *q)
> >  	xe_sched_reinit(&q->guc->sched);
> >  }
> >  
> > +static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
> > +				       struct xe_sched_msg *msg,
> > +				       u32 opcode);
> > +
> > +#define STATIC_MSG_CLEANUP	0
> > +#define STATIC_MSG_SUSPEND	1
> > +#define STATIC_MSG_RESUME	2
> > +#define STATIC_MSG_CGP_SYNC	3
> > +#define STATIC_MSG_KILL		4
> >  static void guc_exec_queue_kill(struct xe_exec_queue *q)
> >  {
> > +	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
> > +
> > +	xe_gt_assert(q->gt, kref_read(&q->refcount));
> 
> [Severity: High]
> Can xe_guc_submit_pause_abort() hit this assertion and leak a runtime PM
> reference when a queue in exec_queue_lookup already has a zero refcount?
> 
> When the last reference to an exec queue is dropped,
> guc_exec_queue_destroy() only queues STATIC_MSG_CLEANUP; the queue remains
> in guc->submission_state.exec_queue_lookup until the async destroy worker
> runs guc_exec_queue_fini() -> release_guc_id().  Unlike
> xe_guc_submit_wedge(), xe_guc_submit_pause_abort() iterates
> exec_queue_lookup and calls guc_exec_queue_kill(q) without checking
> kref_read(&q->refcount) (for example in guc_submit_fini() right after
> dropping the wedge reference, or during vf_post_migration_abort() and
> xe_guc_flr_prepare()):
> 
> drivers/gpu/drm/xe/xe_guc_submit.c:xe_guc_submit_pause_abort() {
> 	...
> 	xa_for_each(&guc->submission_state.exec_queue_lookup, index, q) {
> 		...
> 		xe_sched_submission_start(sched);
> 		guc_exec_queue_kill(q);
> 	}
> }
> 
> Besides tripping the new assertion, queuing STATIC_MSG_KILL on a non-wedged
> zero-refcount queue takes a runtime PM reference via MSG_PM_REF in
> guc_exec_queue_add_msg().  If the already-in-flight CLEANUP / destroy_async
> path reaches guc_exec_queue_fini() -> xe_sched_fini() and cancels
> work_process_msg before STATIC_MSG_KILL is processed, that runtime PM
> reference is never released.

In guc_submit_fini(), xe_exec_queue_put() is only called if the queue is wedged.  And the
queue wedged state is only ever set by xe_guc_submit_wedge, which itself only sets this
state if the refcount is at least one, additionally incrementing the refcount.  This means that
in guc_submit_fini(), xe_exec_queue_put() can only be called if the refcount is at least 2, so
decrementing it cannot set it to zero here.

> 
> >  	trace_xe_exec_queue_kill(q);
> >  	set_exec_queue_killed(q);
> >  	/*
> > @@ -2273,6 +2327,27 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
> >  	 * stays set until the queue is torn down.
> >  	 */
> >  	suspend_wait_wake(q);
> > +
> > +	/*
> > +	 * We eagerly send a message to ourselves to disable scheduling, as the
> > +	 * TDR is serialized (i.e., only one exec queue is processed at a time).
> > +	 * If an FD is closed with many exec queues, the TDR can be slower than
> > +	 * the GuC scheduling contexts with invalid page tables, creating a
> > +	 * cascade of CAT errors and engine resets, which is quite slow. Avoid
> > +	 * this by immediately disabling scheduling outside of the TDR.
> > +	 *
> > +	 * Only the primary's own KILL may do this for a multi-queue group.
> > +	 * Group jobs share its ordered submit workqueue and the killed primary
> > +	 * prevents later member jobs from submitting to GuC.
> > +	 */
> > +	if (!xe_exec_queue_is_multi_queue_secondary(q) && !exec_queue_wedged(q)) {
> > +		struct xe_gpu_scheduler *sched = &q->guc->sched;
> > +
> > +		xe_sched_msg_lock(sched);
> > +		guc_exec_queue_try_add_msg(q, msg, KILL);
> > +		xe_sched_msg_unlock(sched);
> > +	}
> > +
> >  	xe_guc_exec_queue_trigger_cleanup(q);
> >  }
> 
> [Severity: High]
> If a multi-queue primary queue is killed while secondary queues still have
> in-flight jobs, does disabling scheduling on the primary without triggering
> group cleanup leave the secondary jobs stranded?

I'm 99% certain that xe_guc_exec_queue_trigger_cleanup is what
cleans up the secondary queues in that case.  Or, more specifically,
the guc_exec_queue_timedout_job() that it triggers cleans up
the secondary queues and cancels in-flight jobs.

-Jonathan Cavitt

> 
> Every secondary queue holds a kref on the primary queue until the
> secondary is finalized, so when the primary is killed (e.g. userspace
> destroys the primary queue first, or VRAM page-offline kills bo->q),
> kref_read(&primary->refcount) is non-zero and
> __guc_exec_queue_process_msg_kill() disables the shared GuC context for the
> whole group.  However, guc_exec_queue_kill() only calls
> xe_guc_exec_queue_trigger_cleanup(primary) rather than
> xe_guc_exec_queue_group_trigger_cleanup(primary).  When the primary has no
> pending jobs of its own, primary's TDR never runs to set group->banned or
> schedule TDR on the secondaries: LR secondary jobs stall forever, and
> non-LR secondary jobs eventually hit guc_exec_queue_timedout_job() with
> skip_timeout_check == false, logging a false GPU hang, capturing a
> devcoredump, and triggering a full GT reset via xe_gt_reset_async() for
> any secondary job that had not started yet.
> 
> -- 
> Sashiko AI review * https://sashiko.dev/#/patchset/20261119174621.1311154-1-daniel.charles@intel.com?part=3
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close
  2026-11-19 17:46 ` [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close Daniel Charles
  2026-11-19 18:21   ` sashiko-bot
@ 2026-11-19 19:44   ` Cavitt, Jonathan
  1 sibling, 0 replies; 14+ messages in thread
From: Cavitt, Jonathan @ 2026-11-19 19:44 UTC (permalink / raw)
  To: Charles, Daniel, intel-xe@lists.freedesktop.org
  Cc: Wang, X, Yao, Jia, Brost, Matthew, Cavitt, Jonathan

-----Original Message-----
From: Charles, Daniel <daniel.charles@intel.com> 
Sent: Thursday, November 19, 2026 9:46 AM
To: intel-xe@lists.freedesktop.org
Cc: Wang, X <x.wang@intel.com>; Yao, Jia <jia.yao@intel.com>; Brost, Matthew <matthew.brost@intel.com>; Cavitt, Jonathan <jonathan.cavitt@intel.com>; Charles, Daniel <daniel.charles@intel.com>
Subject: [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close
> 
> GuC may still schedule contexts while FD close tears down their page
> tables, producing CAT errors and engine resets. Split FD close into
> two passes: kill every queue, then wait for each queue before dropping
> its reference.
> 
> Require the KILL handler to acknowledge processing before accepting a
> single scheduling-state snapshot. For multi-queue groups, all members
> wait for the primary KILL acknowledgement and scheduling state on the
> primary state waitqueue.
> 
> The wait also exits on GuC submission stop, VF recovery, or wedge. On
> timeout, request a GT reset asynchronously; the wait does not establish
> hardware quiescence on those paths.
> 
> v2:
>  - Bound the wait with a timeout, GT reset on timeout (Sashiko, Matt B)
>  - Drop the flush_work() loop (Matt B)
>  - Use xe_assert() for the killed-queue check (Matt B)
>  - Merge the put loop into the kill_sync loop (Matt B)
> v3:
>  - Wait on a dedicated kill_wq instead of waking ct.wq on every
>    scheduling-disable SCHED_DONE (CI)
> v5: Rewrote the description for the primary KILL acknowledgement and
> per-queue state waitqueue.
> 
> Assisted-by: LLM
> Signed-off-by: Daniel Charles <daniel.charles@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device.c               |  5 +++
>  drivers/gpu/drm/xe/xe_exec_queue.c           | 13 ++++++
>  drivers/gpu/drm/xe/xe_exec_queue.h           |  1 +
>  drivers/gpu/drm/xe/xe_exec_queue_types.h     |  2 +
>  drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  6 +++
>  drivers/gpu/drm/xe/xe_guc_submit.c           | 47 ++++++++++++++++++++
>  6 files changed, 74 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index f5a581d39c96..cc27a1604d59 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -194,8 +194,13 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
>  		if (q->vm && q->hwe->hw_engine_group)
>  			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
>  		xe_exec_queue_kill(q);
> +	}
> +
> +	xa_for_each(&xef->exec_queue.xa, idx, q) {
> +		xe_exec_queue_kill_sync(q);
>  		xe_exec_queue_put(q);
>  	}
> +
>  	xa_for_each(&xef->vm.xa, idx, vm)
>  		xe_vm_close_and_put(vm);
>  
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
> index ddd9e38aa80b..00941a9853b5 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue.c
> +++ b/drivers/gpu/drm/xe/xe_exec_queue.c
> @@ -1662,6 +1662,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
>  	xe_vm_remove_compute_exec_queue(q->vm, q);
>  }
>  
> +/**
> + * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
> + * @q: The exec queue
> + *
> + * This function waits for the backend to finish stopping the queue after
> + * xe_exec_queue_kill(). It is safe to call multiple times.
> + */
> +void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
> +{
> +	if (q->ops->kill_sync)
> +		q->ops->kill_sync(q);
> +}
> +
>  /**
>   * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
>   * @dev: DRM device
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue.h b/drivers/gpu/drm/xe/xe_exec_queue.h
> index d48775ef6baf..b7079c35e822 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue.h
> +++ b/drivers/gpu/drm/xe/xe_exec_queue.h
> @@ -120,6 +120,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
>  bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
>  
>  void xe_exec_queue_kill(struct xe_exec_queue *q);
> +void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
>  
>  int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
>  			       struct drm_file *file);
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> index 44a41ddc7a05..611d348145a6 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
> +++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> @@ -296,6 +296,8 @@ struct xe_exec_queue_ops {
>  	void (*reinit_kernel)(struct xe_exec_queue *q);
>  	/** @kill: Kill inflight submissions for backend */
>  	void (*kill)(struct xe_exec_queue *q);
> +	/** @kill_sync: Wait for the backend to stop queue scheduling */
> +	void (*kill_sync)(struct xe_exec_queue *q);
>  	/** @fini: Undoes the init() for submission backend */
>  	void (*fini)(struct xe_exec_queue *q);
>  	/**
> diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
> index 3f5b1950a248..cb0e460f4762 100644
> --- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
> +++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
> @@ -54,6 +54,12 @@ struct xe_guc_exec_queue {
>  	wait_queue_head_t suspend_wait;
>  	/** @state_wq: wait queue for scheduling enable/disable state changes */
>  	wait_queue_head_t state_wq;
> +	/**
> +	 * @kill_processed: KILL handler has drained earlier submission work and
> +	 * issued any required disable. Published with release semantics and
> +	 * never cleared by repeated kill requests.
> +	 */
> +	bool kill_processed;

This solution to Sashiko-bot's previous concerns about guc_exec_queue_kill_sync()
returning prematurely before GuC scheduling is actually disabled might be a bit
over-engineered, IMO.  I think it would've been sufficient to just reverse the order that
clear_exec_queue_enabled() and set_exec_queue_pending_disable() are called in
disable_scheduling(), instead of adding the kill_processed Boolean.

-Jonathan Cavitt

>  	/**
>  	 * @suspend_pending: a suspend of the exec_queue is pending.
>  	 * Protected by @sched.msg_lock.
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 671852b56210..ec308b06c1be 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -2104,6 +2104,9 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
>  	if (!kref_read(&q->refcount) || !bound || exec_queue_wedged(q))
>  		return;
>  
> +	if (READ_ONCE(q->guc->kill_processed))
> +		return;
> +
>  	ret = wait_event_timeout(q->guc->state_wq,
>  				 (!exec_queue_pending_enable(q) &&
>  				  !exec_queue_pending_disable(q)) ||
> @@ -2122,6 +2125,10 @@ static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
>  
>  	if (exec_queue_enabled(q))
>  		disable_scheduling(q, true);
> +
> +	/* Publish only after disable_scheduling() has established pending state. */
> +	smp_store_release(&q->guc->kill_processed, true);
> +	wake_up_all(&q->guc->state_wq);
>  }
>  
>  #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
> @@ -2351,6 +2358,45 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
>  	xe_guc_exec_queue_trigger_cleanup(q);
>  }
>  
> +static bool guc_exec_queue_kill_complete(struct xe_exec_queue *primary)
> +{
> +	unsigned int state;
> +
> +	/*
> +	 * Pair with the primary KILL handler's release so earlier submission
> +	 * work has finished and any required DISABLE has been issued.
> +	 */
> +	if (!smp_load_acquire(&primary->guc->kill_processed))
> +		return false;
> +
> +	state = atomic_read(&primary->guc->state);
> +
> +	return !(state & (EXEC_QUEUE_STATE_ENABLED |
> +			  EXEC_QUEUE_STATE_PENDING_DISABLE |
> +			  EXEC_QUEUE_STATE_PENDING_ENABLE));
> +}
> +
> +static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
> +{
> +	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
> +	struct xe_guc *guc = exec_queue_to_guc(primary);
> +	long ret;
> +
> +	xe_assert(guc_to_xe(guc), exec_queue_killed(q));
> +
> +	/* FD close has already killed every primary before waiting on any member. */
> +	ret = wait_event_timeout(primary->guc->state_wq,
> +				 guc_exec_queue_kill_complete(primary) ||
> +				 xe_guc_read_stopped(guc) ||
> +				 vf_recovery(guc) ||
> +				 exec_queue_wedged(primary), HZ * 5);
> +	if (!ret) {
> +		xe_gt_warn(q->gt, "Queue kill failed to respond, guc_id=%d\n",
> +			   primary->guc->id);
> +		xe_gt_reset_async(q->gt);
> +	}
> +}
> +
>  static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
>  				   u32 opcode)
>  {
> @@ -2829,6 +2875,7 @@ static const struct xe_exec_queue_ops guc_exec_queue_ops = {
>  	.init = guc_exec_queue_init,
>  	.reinit_kernel = guc_exec_queue_reinit_kernel,
>  	.kill = guc_exec_queue_kill,
> +	.kill_sync = guc_exec_queue_kill_sync,
>  	.fini = guc_exec_queue_fini,
>  	.destroy = guc_exec_queue_destroy,
>  	.set_priority = guc_exec_queue_set_priority,
> -- 
> 2.43.0
> 
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* ✗ CI.checkpatch: warning for FD close cleanup for XE (rev6)
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
                   ` (3 preceding siblings ...)
  2026-11-19 17:46 ` [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close Daniel Charles
@ 2026-11-20  0:16 ` Patchwork
  2026-11-20  0:18 ` ✓ CI.KUnit: success " Patchwork
  2026-11-20  0:58 ` ✓ Xe.CI.BAT: " Patchwork
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-11-20  0:16 UTC (permalink / raw)
  To: Daniel Charles; +Cc: intel-xe

== Series Details ==

Series: FD close cleanup for XE (rev6)
URL   : https://patchwork.freedesktop.org/series/175996/
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
3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b86d75579ebd58a9e95448b7d963265474c56a8c
Author: Daniel Charles <daniel.charles@intel.com>
Date:   Thu Nov 19 09:46:21 2026 -0800

    drm/xe: Synchronously wait for queue kill on FD close
    
    GuC may still schedule contexts while FD close tears down their page
    tables, producing CAT errors and engine resets. Split FD close into
    two passes: kill every queue, then wait for each queue before dropping
    its reference.
    
    Require the KILL handler to acknowledge processing before accepting a
    single scheduling-state snapshot. For multi-queue groups, all members
    wait for the primary KILL acknowledgement and scheduling state on the
    primary state waitqueue.
    
    The wait also exits on GuC submission stop, VF recovery, or wedge. On
    timeout, request a GT reset asynchronously; the wait does not establish
    hardware quiescence on those paths.
    
    v2:
     - Bound the wait with a timeout, GT reset on timeout (Sashiko, Matt B)
     - Drop the flush_work() loop (Matt B)
     - Use xe_assert() for the killed-queue check (Matt B)
     - Merge the put loop into the kill_sync loop (Matt B)
    v3:
     - Wait on a dedicated kill_wq instead of waking ct.wq on every
       scheduling-disable SCHED_DONE (CI)
    v5: Rewrote the description for the primary KILL acknowledgement and
    per-queue state waitqueue.
    
    Assisted-by: LLM
    Signed-off-by: Daniel Charles <daniel.charles@intel.com>
+ /mt/dim checkpatch 9bf864cd53c8e7651a038b9be01b2b0dfc67b420 drm-intel
f0e7776d46ce drm/xe: Read scheduler message opcode under lock
-:14: WARNING:BAD_STABLE_ADDRESS_STYLE: Invalid email format for stable: 'stable <stable@kernel.org>', prefer 'stable@kernel.org'
#14: 
Cc: stable <stable@kernel.org>

total: 0 errors, 1 warnings, 0 checks, 65 lines checked
0d6395ad6e73 drm/xe: Notify scheduling-state waiters per exec queue
b55e35924e1f drm/xe: Disable scheduling early on FD close to avoid CAT error cascade
b86d75579ebd drm/xe: Synchronously wait for queue kill on FD close
-:13: WARNING:TYPO_SPELLING: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
#13: 
wait for the primary KILL acknowledgement and scheduling state on the
                          ^^^^^^^^^^^^^^^

-:28: WARNING:TYPO_SPELLING: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
#28: 
v5: Rewrote the description for the primary KILL acknowledgement and
                                                 ^^^^^^^^^^^^^^^

-:31: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#31: 
Assisted-by: LLM

-:31: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#31: 
Assisted-by: LLM

total: 1 errors, 3 warnings, 0 checks, 130 lines checked



^ permalink raw reply	[flat|nested] 14+ messages in thread

* ✓ CI.KUnit: success for FD close cleanup for XE (rev6)
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
                   ` (4 preceding siblings ...)
  2026-11-20  0:16 ` ✗ CI.checkpatch: warning for FD close cleanup for XE (rev6) Patchwork
@ 2026-11-20  0:18 ` Patchwork
  2026-11-20  0:58 ` ✓ Xe.CI.BAT: " Patchwork
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-11-20  0:18 UTC (permalink / raw)
  To: Daniel Charles; +Cc: intel-xe

== Series Details ==

Series: FD close cleanup for XE (rev6)
URL   : https://patchwork.freedesktop.org/series/175996/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[00:16:36] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:16:41] 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
[00:17:02] Starting KUnit Kernel (1/1)...
[00:17:02] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:17:02] ================= gpu_buddy (15 subtests) ==================
[00:17:02] [PASSED] gpu_test_buddy_alloc_limit
[00:17:02] [PASSED] gpu_test_buddy_alloc_optimistic
[00:17:02] [PASSED] gpu_test_buddy_alloc_pessimistic
[00:17:02] [PASSED] gpu_test_buddy_alloc_pathological
[00:17:02] [PASSED] gpu_test_buddy_alloc_contiguous
[00:17:02] [PASSED] gpu_test_buddy_alloc_clear
[00:17:02] [PASSED] gpu_test_buddy_alloc_range
[00:17:02] [PASSED] gpu_test_buddy_alloc_range_bias
[00:17:02] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[00:17:03] [PASSED] gpu_test_buddy_fragmentation_performance
[00:17:04] [PASSED] gpu_test_buddy_dirty_tracker_performance
[00:17:04] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[00:17:04] [PASSED] gpu_test_buddy_offset_aligned_allocation
[00:17:04] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[00:17:04] [PASSED] gpu_test_buddy_addr_to_block
[00:17:04] ==================== [PASSED] gpu_buddy ====================
[00:17:04] ============================================================
[00:17:04] Testing complete. Ran 15 tests: passed: 15
[00:17:04] Elapsed time: 28.009s total, 5.180s configuring, 20.810s building, 1.975s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[00:17:04] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:17:07] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[00:17:46] Starting KUnit Kernel (1/1)...
[00:17:46] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:17:46] ================= xe_ggtt_iov (9 subtests) =================
[00:17:46] [PASSED] init_shared_pf
[00:17:46] [PASSED] init_partial_overlap
[00:17:46] [PASSED] alloc_usable_pool_low
[00:17:46] [PASSED] alloc_shareable_pool_high
[00:17:46] [PASSED] alloc_partial_overlap
[00:17:46] [PASSED] alloc_partial_overlap_usable_full
[00:17:46] [PASSED] alloc_partial_overlap_shareable_full
[00:17:46] [PASSED] alloc_shareable_pool_unavailable
[00:17:46] [PASSED] alloc_shareable_pool_oversized
[00:17:46] =================== [PASSED] xe_ggtt_iov ===================
[00:17:46] =================== xe_ggtt (3 subtests) ===================
[00:17:46] [PASSED] init_native
[00:17:46] [PASSED] alloc_usable_pool_native
[00:17:46] [PASSED] alloc_usable_pool_oversized
[00:17:46] ===================== [PASSED] xe_ggtt =====================
[00:17:46] ================== guc_buf (11 subtests) ===================
[00:17:46] [PASSED] test_smallest
[00:17:46] [PASSED] test_largest
[00:17:46] [PASSED] test_granular
[00:17:46] [PASSED] test_unique
[00:17:46] [PASSED] test_overlap
[00:17:46] [PASSED] test_reusable
[00:17:46] [PASSED] test_too_big
[00:17:46] [PASSED] test_flush
[00:17:46] [PASSED] test_lookup
[00:17:46] [PASSED] test_data
[00:17:46] [PASSED] test_class
[00:17:46] ===================== [PASSED] guc_buf =====================
[00:17:46] =================== guc_dbm (7 subtests) ===================
[00:17:46] [PASSED] test_empty
[00:17:46] [PASSED] test_default
[00:17:46] ======================== test_size  ========================
[00:17:46] [PASSED] 4
[00:17:46] [PASSED] 8
[00:17:46] [PASSED] 32
[00:17:46] [PASSED] 256
[00:17:46] ==================== [PASSED] test_size ====================
[00:17:46] ======================= test_reuse  ========================
[00:17:46] [PASSED] 4
[00:17:46] [PASSED] 8
[00:17:46] [PASSED] 32
[00:17:46] [PASSED] 256
[00:17:46] =================== [PASSED] test_reuse ====================
[00:17:46] =================== test_range_overlap  ====================
[00:17:46] [PASSED] 4
[00:17:46] [PASSED] 8
[00:17:46] [PASSED] 32
[00:17:46] [PASSED] 256
[00:17:46] =============== [PASSED] test_range_overlap ================
[00:17:46] =================== test_range_compact  ====================
[00:17:46] [PASSED] 4
[00:17:46] [PASSED] 8
[00:17:46] [PASSED] 32
[00:17:46] [PASSED] 256
[00:17:46] =============== [PASSED] test_range_compact ================
[00:17:46] ==================== test_range_spare  =====================
[00:17:46] [PASSED] 4
[00:17:46] [PASSED] 8
[00:17:46] [PASSED] 32
[00:17:46] [PASSED] 256
[00:17:46] ================ [PASSED] test_range_spare =================
[00:17:46] ===================== [PASSED] guc_dbm =====================
[00:17:46] ================== guc_idm (22 subtests) ===================
[00:17:46] [PASSED] bad_init
[00:17:46] [PASSED] no_init
[00:17:46] [PASSED] init_fini
[00:17:46] [PASSED] check_init_small
[00:17:46] [PASSED] check_init_shared
[00:17:46] [PASSED] check_used
[00:17:46] [PASSED] check_quota
[00:17:46] [PASSED] check_all
[00:17:46] [PASSED] check_limits
[00:17:46] [PASSED] check_overlap
[00:17:46] [PASSED] check_overlap_alloc
[00:17:46] [PASSED] check_overlap_release
[00:17:46] [PASSED] check_overlap_partial_init
[00:17:46] [PASSED] check_overlap_partial_shared_range_blocking
[00:17:46] [PASSED] check_used_usable
[00:17:46] [PASSED] check_used_shareable
[00:17:46] [PASSED] check_used_mixed
[00:17:46] [PASSED] check_release_usable_range
[00:17:46] [PASSED] check_release_shareable_range
[00:17:46] [PASSED] check_split_boundaries
[00:17:46] [PASSED] check_shareable_spare
[00:17:46] [PASSED] check_shareable_spare_fragmented_tail
[00:17:46] ===================== [PASSED] guc_idm =====================
[00:17:46] ============== guc_klv_helpers (13 subtests) ===============
[00:17:46] [PASSED] test_count
[00:17:46] [PASSED] test_encode_u32
[00:17:46] [PASSED] test_encode_u64
[00:17:46] [PASSED] test_encode_string
[00:17:46] [PASSED] test_encode_object_raw
[00:17:46] [PASSED] test_encode_object_klv
[00:17:46] [PASSED] test_encode_object_nested
[00:17:46] [PASSED] test_encode_object_basic
[00:17:46] ===================== test_decode_u16  =====================
[00:17:46] [PASSED] empty
[00:17:46] [PASSED] valid
[00:17:46] [PASSED] max
[00:17:46] [PASSED] big
[00:17:46] [PASSED] long
[00:17:46] ================= [PASSED] test_decode_u16 =================
[00:17:46] ===================== test_decode_u32  =====================
[00:17:46] [PASSED] empty
[00:17:46] [PASSED] valid
[00:17:46] [PASSED] max
[00:17:46] [PASSED] long
[00:17:46] ================= [PASSED] test_decode_u32 =================
[00:17:46] ===================== test_decode_u64  =====================
[00:17:46] [PASSED] empty
[00:17:46] [PASSED] short
[00:17:46] [PASSED] valid
[00:17:46] [PASSED] max
[00:17:46] [PASSED] long
[00:17:46] ================= [PASSED] test_decode_u64 =================
[00:17:46] ===================== test_decode_str  =====================
[00:17:46] [PASSED] empty
[00:17:46] [PASSED] one
[00:17:46] [PASSED] one_trash
[00:17:46] [PASSED] two
[00:17:46] [PASSED] two_trash
[00:17:46] [PASSED] three
[00:17:46] [PASSED] dword
[00:17:46] [PASSED] four
[00:17:46] [PASSED] five
[00:17:46] [PASSED] six
[00:17:46] [PASSED] seven
[00:17:46] [PASSED] qword
[00:17:46] ================= [PASSED] test_decode_str =================
[00:17:46] [PASSED] test_print
[00:17:46] ================= [PASSED] guc_klv_helpers =================
[00:17:46] =================== xe_log (4 subtests) ====================
[00:17:46] [PASSED] demo_cper
[00:17:46] [PASSED] demo_dmesg
[00:17:46] ======================= test_dmesg  ========================
[00:17:46] [PASSED] test_fatal
[00:17:46] [PASSED] test_fatal_tile
[00:17:46] [PASSED] test_fatal_gt
[00:17:46] [PASSED] test_fatal_comp
[00:17:46] [PASSED] test_fatal_comp_tile
[00:17:46] [PASSED] test_fatal_comp_gt
[00:17:46] [PASSED] test_fatal_all
[00:17:46] [PASSED] test_recoverable
[00:17:46] [PASSED] test_recoverable_tile
[00:17:46] [PASSED] test_recoverable_gt
[00:17:46] [PASSED] test_recoverable_comp
[00:17:46] [PASSED] test_recoverable_comp_tile
[00:17:46] [PASSED] test_recoverable_comp_gt
[00:17:46] [PASSED] test_recoverable_all
[00:17:46] [PASSED] test_info
[00:17:46] [PASSED] test_info_tile
[00:17:46] [PASSED] test_info_gt
[00:17:46] [PASSED] test_info_err
[00:17:46] [PASSED] test_info_comp
[00:17:46] [PASSED] test_info_comp_tile
[00:17:46] [PASSED] test_info_comp_gt
[00:17:46] [PASSED] test_info_all
[00:17:46] [PASSED] test_hw_fatal
[00:17:46] [PASSED] test_hw_recoverable
[00:17:46] [PASSED] test_hw_corrected
[00:17:46] [PASSED] test_hw_informational
[00:17:46] =================== [PASSED] test_dmesg ====================
[00:17:46] ====================== test_invalid  =======================
[00:17:46] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[00:17:46] ================== [SKIPPED] test_invalid ==================
[00:17:46] ===================== [PASSED] xe_log ======================
[00:17:46] ================== no_relay (3 subtests) ===================
[00:17:46] [PASSED] xe_drops_guc2pf_if_not_ready
[00:17:46] [PASSED] xe_drops_guc2vf_if_not_ready
[00:17:46] [PASSED] xe_rejects_send_if_not_ready
[00:17:46] ==================== [PASSED] no_relay =====================
[00:17:46] ================== pf_relay (14 subtests) ==================
[00:17:46] [PASSED] pf_rejects_guc2pf_too_short
[00:17:46] [PASSED] pf_rejects_guc2pf_too_long
[00:17:46] [PASSED] pf_rejects_guc2pf_no_payload
[00:17:46] [PASSED] pf_fails_no_payload
[00:17:46] [PASSED] pf_fails_bad_origin
[00:17:46] [PASSED] pf_fails_bad_type
[00:17:46] [PASSED] pf_txn_reports_error
[00:17:46] [PASSED] pf_txn_sends_pf2guc
[00:17:46] [PASSED] pf_sends_pf2guc
[00:17:46] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[00:17:46] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[00:17:46] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[00:17:46] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[00:17:46] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[00:17:46] ==================== [PASSED] pf_relay =====================
[00:17:46] ================== vf_relay (3 subtests) ===================
[00:17:46] [PASSED] vf_rejects_guc2vf_too_short
[00:17:46] [PASSED] vf_rejects_guc2vf_too_long
[00:17:46] [PASSED] vf_rejects_guc2vf_no_payload
[00:17:46] ==================== [PASSED] vf_relay =====================
[00:17:46] ================ pf_gt_config (9 subtests) =================
[00:17:46] [PASSED] fair_contexts_1vf
[00:17:46] [PASSED] fair_doorbells_1vf
[00:17:46] [PASSED] fair_ggtt_1vf
[00:17:46] ====================== fair_vram_1vf  ======================
[00:17:46] [PASSED] 3.50 GiB
[00:17:46] [PASSED] 11.5 GiB
[00:17:46] [PASSED] 15.5 GiB
[00:17:46] [PASSED] 31.5 GiB
[00:17:46] [PASSED] 63.5 GiB
[00:17:46] [PASSED] 1.91 GiB
[00:17:46] ================== [PASSED] fair_vram_1vf ==================
[00:17:46] ================ fair_vram_1vf_admin_only  =================
[00:17:46] [PASSED] 3.50 GiB
[00:17:46] [PASSED] 11.5 GiB
[00:17:46] [PASSED] 15.5 GiB
[00:17:46] [PASSED] 31.5 GiB
[00:17:46] [PASSED] 63.5 GiB
[00:17:46] [PASSED] 1.91 GiB
[00:17:46] ============ [PASSED] fair_vram_1vf_admin_only =============
[00:17:46] ====================== fair_contexts  ======================
[00:17:46] [PASSED] 1 VF
[00:17:46] [PASSED] 2 VFs
[00:17:46] [PASSED] 3 VFs
[00:17:46] [PASSED] 4 VFs
[00:17:46] [PASSED] 5 VFs
[00:17:46] [PASSED] 6 VFs
[00:17:46] [PASSED] 7 VFs
[00:17:46] [PASSED] 8 VFs
[00:17:46] [PASSED] 9 VFs
[00:17:46] [PASSED] 10 VFs
[00:17:46] [PASSED] 11 VFs
[00:17:46] [PASSED] 12 VFs
[00:17:46] [PASSED] 13 VFs
[00:17:46] [PASSED] 14 VFs
[00:17:46] [PASSED] 15 VFs
[00:17:46] [PASSED] 16 VFs
[00:17:46] [PASSED] 17 VFs
[00:17:46] [PASSED] 18 VFs
[00:17:46] [PASSED] 19 VFs
[00:17:46] [PASSED] 20 VFs
[00:17:46] [PASSED] 21 VFs
[00:17:46] [PASSED] 22 VFs
[00:17:46] [PASSED] 23 VFs
[00:17:46] [PASSED] 24 VFs
[00:17:46] [PASSED] 25 VFs
[00:17:46] [PASSED] 26 VFs
[00:17:46] [PASSED] 27 VFs
[00:17:46] [PASSED] 28 VFs
[00:17:46] [PASSED] 29 VFs
[00:17:46] [PASSED] 30 VFs
[00:17:46] [PASSED] 31 VFs
[00:17:46] [PASSED] 32 VFs
[00:17:46] [PASSED] 33 VFs
[00:17:46] [PASSED] 34 VFs
[00:17:46] [PASSED] 35 VFs
[00:17:46] [PASSED] 36 VFs
[00:17:46] [PASSED] 37 VFs
[00:17:46] [PASSED] 38 VFs
[00:17:46] [PASSED] 39 VFs
[00:17:46] [PASSED] 40 VFs
[00:17:46] [PASSED] 41 VFs
[00:17:46] [PASSED] 42 VFs
[00:17:46] [PASSED] 43 VFs
[00:17:46] [PASSED] 44 VFs
[00:17:46] [PASSED] 45 VFs
[00:17:46] [PASSED] 46 VFs
[00:17:46] [PASSED] 47 VFs
[00:17:46] [PASSED] 48 VFs
[00:17:46] [PASSED] 49 VFs
[00:17:46] [PASSED] 50 VFs
[00:17:46] [PASSED] 51 VFs
[00:17:46] [PASSED] 52 VFs
[00:17:46] [PASSED] 53 VFs
[00:17:46] [PASSED] 54 VFs
[00:17:46] [PASSED] 55 VFs
[00:17:46] [PASSED] 56 VFs
[00:17:46] [PASSED] 57 VFs
[00:17:46] [PASSED] 58 VFs
[00:17:46] [PASSED] 59 VFs
[00:17:46] [PASSED] 60 VFs
[00:17:46] [PASSED] 61 VFs
[00:17:46] [PASSED] 62 VFs
[00:17:46] [PASSED] 63 VFs
[00:17:46] ================== [PASSED] fair_contexts ==================
[00:17:46] ===================== fair_doorbells  ======================
[00:17:46] [PASSED] 1 VF
[00:17:46] [PASSED] 2 VFs
[00:17:46] [PASSED] 3 VFs
[00:17:46] [PASSED] 4 VFs
[00:17:46] [PASSED] 5 VFs
[00:17:46] [PASSED] 6 VFs
[00:17:46] [PASSED] 7 VFs
[00:17:46] [PASSED] 8 VFs
[00:17:46] [PASSED] 9 VFs
[00:17:46] [PASSED] 10 VFs
[00:17:46] [PASSED] 11 VFs
[00:17:46] [PASSED] 12 VFs
[00:17:46] [PASSED] 13 VFs
[00:17:46] [PASSED] 14 VFs
[00:17:46] [PASSED] 15 VFs
[00:17:46] [PASSED] 16 VFs
[00:17:46] [PASSED] 17 VFs
[00:17:46] [PASSED] 18 VFs
[00:17:46] [PASSED] 19 VFs
[00:17:46] [PASSED] 20 VFs
[00:17:46] [PASSED] 21 VFs
[00:17:46] [PASSED] 22 VFs
[00:17:46] [PASSED] 23 VFs
[00:17:46] [PASSED] 24 VFs
[00:17:46] [PASSED] 25 VFs
[00:17:46] [PASSED] 26 VFs
[00:17:46] [PASSED] 27 VFs
[00:17:46] [PASSED] 28 VFs
[00:17:46] [PASSED] 29 VFs
[00:17:46] [PASSED] 30 VFs
[00:17:46] [PASSED] 31 VFs
[00:17:46] [PASSED] 32 VFs
[00:17:46] [PASSED] 33 VFs
[00:17:46] [PASSED] 34 VFs
[00:17:46] [PASSED] 35 VFs
[00:17:46] [PASSED] 36 VFs
[00:17:46] [PASSED] 37 VFs
[00:17:46] [PASSED] 38 VFs
[00:17:46] [PASSED] 39 VFs
[00:17:46] [PASSED] 40 VFs
[00:17:46] [PASSED] 41 VFs
[00:17:46] [PASSED] 42 VFs
[00:17:46] [PASSED] 43 VFs
[00:17:46] [PASSED] 44 VFs
[00:17:46] [PASSED] 45 VFs
[00:17:46] [PASSED] 46 VFs
[00:17:46] [PASSED] 47 VFs
[00:17:46] [PASSED] 48 VFs
[00:17:46] [PASSED] 49 VFs
[00:17:46] [PASSED] 50 VFs
[00:17:46] [PASSED] 51 VFs
[00:17:46] [PASSED] 52 VFs
[00:17:46] [PASSED] 53 VFs
[00:17:46] [PASSED] 54 VFs
[00:17:46] [PASSED] 55 VFs
[00:17:46] [PASSED] 56 VFs
[00:17:46] [PASSED] 57 VFs
[00:17:46] [PASSED] 58 VFs
[00:17:46] [PASSED] 59 VFs
[00:17:46] [PASSED] 60 VFs
[00:17:46] [PASSED] 61 VFs
[00:17:46] [PASSED] 62 VFs
[00:17:46] [PASSED] 63 VFs
[00:17:46] ================= [PASSED] fair_doorbells ==================
[00:17:46] ======================== fair_ggtt  ========================
[00:17:46] [PASSED] 1 VF
[00:17:46] [PASSED] 2 VFs
[00:17:46] [PASSED] 3 VFs
[00:17:46] [PASSED] 4 VFs
[00:17:46] [PASSED] 5 VFs
[00:17:46] [PASSED] 6 VFs
[00:17:46] [PASSED] 7 VFs
[00:17:46] [PASSED] 8 VFs
[00:17:46] [PASSED] 9 VFs
[00:17:46] [PASSED] 10 VFs
[00:17:46] [PASSED] 11 VFs
[00:17:46] [PASSED] 12 VFs
[00:17:46] [PASSED] 13 VFs
[00:17:46] [PASSED] 14 VFs
[00:17:46] [PASSED] 15 VFs
[00:17:46] [PASSED] 16 VFs
[00:17:46] [PASSED] 17 VFs
[00:17:46] [PASSED] 18 VFs
[00:17:46] [PASSED] 19 VFs
[00:17:46] [PASSED] 20 VFs
[00:17:46] [PASSED] 21 VFs
[00:17:46] [PASSED] 22 VFs
[00:17:46] [PASSED] 23 VFs
[00:17:46] [PASSED] 24 VFs
[00:17:46] [PASSED] 25 VFs
[00:17:46] [PASSED] 26 VFs
[00:17:46] [PASSED] 27 VFs
[00:17:46] [PASSED] 28 VFs
[00:17:46] [PASSED] 29 VFs
[00:17:46] [PASSED] 30 VFs
[00:17:46] [PASSED] 31 VFs
[00:17:46] [PASSED] 32 VFs
[00:17:46] [PASSED] 33 VFs
[00:17:46] [PASSED] 34 VFs
[00:17:46] [PASSED] 35 VFs
[00:17:46] [PASSED] 36 VFs
[00:17:46] [PASSED] 37 VFs
[00:17:46] [PASSED] 38 VFs
[00:17:46] [PASSED] 39 VFs
[00:17:46] [PASSED] 40 VFs
[00:17:46] [PASSED] 41 VFs
[00:17:46] [PASSED] 42 VFs
[00:17:46] [PASSED] 43 VFs
[00:17:46] [PASSED] 44 VFs
[00:17:46] [PASSED] 45 VFs
[00:17:46] [PASSED] 46 VFs
[00:17:46] [PASSED] 47 VFs
[00:17:46] [PASSED] 48 VFs
[00:17:46] [PASSED] 49 VFs
[00:17:46] [PASSED] 50 VFs
[00:17:46] [PASSED] 51 VFs
[00:17:46] [PASSED] 52 VFs
[00:17:46] [PASSED] 53 VFs
[00:17:46] [PASSED] 54 VFs
[00:17:46] [PASSED] 55 VFs
[00:17:46] [PASSED] 56 VFs
[00:17:46] [PASSED] 57 VFs
[00:17:46] [PASSED] 58 VFs
[00:17:46] [PASSED] 59 VFs
[00:17:46] [PASSED] 60 VFs
[00:17:46] [PASSED] 61 VFs
[00:17:46] [PASSED] 62 VFs
[00:17:46] [PASSED] 63 VFs
[00:17:46] ==================== [PASSED] fair_ggtt ====================
[00:17:46] ======================== fair_vram  ========================
[00:17:46] [PASSED] 1 VF
[00:17:46] [PASSED] 2 VFs
[00:17:46] [PASSED] 3 VFs
[00:17:46] [PASSED] 4 VFs
[00:17:46] [PASSED] 5 VFs
[00:17:46] [PASSED] 6 VFs
[00:17:46] [PASSED] 7 VFs
[00:17:46] [PASSED] 8 VFs
[00:17:46] [PASSED] 9 VFs
[00:17:46] [PASSED] 10 VFs
[00:17:46] [PASSED] 11 VFs
[00:17:46] [PASSED] 12 VFs
[00:17:46] [PASSED] 13 VFs
[00:17:46] [PASSED] 14 VFs
[00:17:46] [PASSED] 15 VFs
[00:17:46] [PASSED] 16 VFs
[00:17:46] [PASSED] 17 VFs
[00:17:46] [PASSED] 18 VFs
[00:17:46] [PASSED] 19 VFs
[00:17:46] [PASSED] 20 VFs
[00:17:46] [PASSED] 21 VFs
[00:17:46] [PASSED] 22 VFs
[00:17:46] [PASSED] 23 VFs
[00:17:46] [PASSED] 24 VFs
[00:17:46] [PASSED] 25 VFs
[00:17:46] [PASSED] 26 VFs
[00:17:46] [PASSED] 27 VFs
[00:17:46] [PASSED] 28 VFs
[00:17:46] [PASSED] 29 VFs
[00:17:46] [PASSED] 30 VFs
[00:17:46] [PASSED] 31 VFs
[00:17:46] [PASSED] 32 VFs
[00:17:46] [PASSED] 33 VFs
[00:17:46] [PASSED] 34 VFs
[00:17:46] [PASSED] 35 VFs
[00:17:46] [PASSED] 36 VFs
[00:17:46] [PASSED] 37 VFs
[00:17:46] [PASSED] 38 VFs
[00:17:46] [PASSED] 39 VFs
[00:17:46] [PASSED] 40 VFs
[00:17:46] [PASSED] 41 VFs
[00:17:46] [PASSED] 42 VFs
[00:17:46] [PASSED] 43 VFs
[00:17:46] [PASSED] 44 VFs
[00:17:46] [PASSED] 45 VFs
[00:17:46] [PASSED] 46 VFs
[00:17:46] [PASSED] 47 VFs
[00:17:46] [PASSED] 48 VFs
[00:17:46] [PASSED] 49 VFs
[00:17:46] [PASSED] 50 VFs
[00:17:46] [PASSED] 51 VFs
[00:17:46] [PASSED] 52 VFs
[00:17:46] [PASSED] 53 VFs
[00:17:46] [PASSED] 54 VFs
[00:17:46] [PASSED] 55 VFs
[00:17:46] [PASSED] 56 VFs
[00:17:46] [PASSED] 57 VFs
[00:17:46] [PASSED] 58 VFs
[00:17:46] [PASSED] 59 VFs
[00:17:46] [PASSED] 60 VFs
[00:17:46] [PASSED] 61 VFs
[00:17:46] [PASSED] 62 VFs
[00:17:46] [PASSED] 63 VFs
[00:17:46] ==================== [PASSED] fair_vram ====================
[00:17:46] ================== [PASSED] pf_gt_config ===================
[00:17:46] ===================== lmtt (1 subtest) =====================
[00:17:46] ======================== test_ops  =========================
[00:17:46] [PASSED] 2-level
[00:17:46] [PASSED] multi-level
[00:17:46] ==================== [PASSED] test_ops =====================
[00:17:46] ====================== [PASSED] lmtt =======================
[00:17:46] ================= sriov_packet (1 subtest) =================
[00:17:46] [PASSED] test_descriptor_init
[00:17:46] ================== [PASSED] sriov_packet ===================
[00:17:46] ================= pf_service (11 subtests) =================
[00:17:46] [PASSED] pf_negotiate_any
[00:17:46] [PASSED] pf_negotiate_base_match
[00:17:46] [PASSED] pf_negotiate_base_newer
[00:17:46] [PASSED] pf_negotiate_base_next
[00:17:46] [SKIPPED] pf_negotiate_base_older (no older minor)
[00:17:46] [PASSED] pf_negotiate_base_prev
[00:17:46] [PASSED] pf_negotiate_latest_match
[00:17:46] [PASSED] pf_negotiate_latest_newer
[00:17:46] [PASSED] pf_negotiate_latest_next
[00:17:46] [SKIPPED] pf_negotiate_latest_older (no older minor)
[00:17:46] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[00:17:46] =================== [PASSED] pf_service ====================
[00:17:46] ================= xe_guc_g2g (2 subtests) ==================
[00:17:46] ============== xe_live_guc_g2g_kunit_default  ==============
[00:17:46] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[00:17:46] ============== xe_live_guc_g2g_kunit_allmem  ===============
[00:17:46] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[00:17:46] =================== [SKIPPED] xe_guc_g2g ===================
[00:17:46] =================== xe_mocs (2 subtests) ===================
[00:17:46] ================ xe_live_mocs_kernel_kunit  ================
[00:17:46] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[00:17:46] ================ xe_live_mocs_reset_kunit  =================
[00:17:46] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[00:17:46] ==================== [SKIPPED] xe_mocs =====================
[00:17:46] ================= xe_migrate (3 subtests) ==================
[00:17:46] ================= xe_migrate_sanity_kunit  =================
[00:17:46] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[00:17:46] ================== xe_validate_ccs_kunit  ==================
[00:17:46] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[00:17:46] ============= xe_migrate_access_memory_kunit  ==============
[00:17:46] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[00:17:46] =================== [SKIPPED] xe_migrate ===================
[00:17:46] ================== xe_dma_buf (1 subtest) ==================
[00:17:46] ==================== xe_dma_buf_kunit  =====================
[00:17:46] ================ [SKIPPED] xe_dma_buf_kunit ================
[00:17:46] =================== [SKIPPED] xe_dma_buf ===================
[00:17:46] ================= xe_bo_shrink (1 subtest) =================
[00:17:46] =================== xe_bo_shrink_kunit  ====================
[00:17:46] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[00:17:46] ================== [SKIPPED] xe_bo_shrink ==================
[00:17:46] ==================== xe_bo (2 subtests) ====================
[00:17:46] ================== xe_ccs_migrate_kunit  ===================
[00:17:46] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[00:17:46] ==================== xe_bo_evict_kunit  ====================
[00:17:46] =============== [SKIPPED] xe_bo_evict_kunit ================
[00:17:46] ===================== [SKIPPED] xe_bo ======================
[00:17:46] =================== xe_any (9 subtests) ====================
[00:17:46] [PASSED] test_to_xe
[00:17:46] [PASSED] test_to_dev
[00:17:46] [PASSED] test_to_pdev
[00:17:46] [PASSED] test_to_drm
[00:17:46] [PASSED] test_if_pdev
[00:17:46] [PASSED] test_if_xe
[00:17:46] [PASSED] test_if_tile
[00:17:46] [PASSED] test_if_gt
[00:17:46] [PASSED] test_to_id
[00:17:46] ===================== [PASSED] xe_any ======================
[00:17:46] ==================== args (13 subtests) ====================
[00:17:46] [PASSED] count_args_test
[00:17:46] [PASSED] call_args_example
[00:17:46] [PASSED] call_args_test
[00:17:46] [PASSED] drop_first_arg_example
[00:17:46] [PASSED] drop_first_arg_test
[00:17:46] [PASSED] first_arg_example
[00:17:46] [PASSED] first_arg_test
[00:17:46] [PASSED] last_arg_example
[00:17:46] [PASSED] last_arg_test
[00:17:46] [PASSED] pick_arg_example
[00:17:46] [PASSED] if_args_example
[00:17:46] [PASSED] if_args_test
[00:17:46] [PASSED] sep_comma_example
[00:17:46] ====================== [PASSED] args =======================
[00:17:46] =================== xe_pci (3 subtests) ====================
[00:17:46] ==================== check_graphics_ip  ====================
[00:17:46] [PASSED] 12.00 Xe_LP
[00:17:46] [PASSED] 12.10 Xe_LP+
[00:17:46] [PASSED] 12.55 Xe_HPG
[00:17:46] [PASSED] 12.60 Xe_HPC
[00:17:46] [PASSED] 12.70 Xe_LPG
[00:17:46] [PASSED] 12.71 Xe_LPG
[00:17:46] [PASSED] 12.74 Xe_LPG+
[00:17:46] [PASSED] 20.01 Xe2_HPG
[00:17:46] [PASSED] 20.02 Xe2_HPG
[00:17:46] [PASSED] 20.04 Xe2_LPG
[00:17:46] [PASSED] 30.00 Xe3_LPG
[00:17:46] [PASSED] 30.01 Xe3_LPG
[00:17:46] [PASSED] 30.03 Xe3_LPG
[00:17:46] [PASSED] 30.04 Xe3_LPG
[00:17:46] [PASSED] 30.05 Xe3_LPG
[00:17:46] [PASSED] 35.10 Xe3p_LPG
[00:17:46] [PASSED] 35.11 Xe3p_XPC
[00:17:46] ================ [PASSED] check_graphics_ip ================
[00:17:46] ===================== check_media_ip  ======================
[00:17:46] [PASSED] 12.00 Xe_M
[00:17:46] [PASSED] 12.55 Xe_HPM
[00:17:46] [PASSED] 13.00 Xe_LPM+
[00:17:46] [PASSED] 13.01 Xe2_HPM
[00:17:46] [PASSED] 20.00 Xe2_LPM
[00:17:46] [PASSED] 30.00 Xe3_LPM
[00:17:46] [PASSED] 30.02 Xe3_LPM
[00:17:46] [PASSED] 35.00 Xe3p_LPM
[00:17:46] [PASSED] 35.03 Xe3p_HPM
[00:17:46] ================= [PASSED] check_media_ip ==================
[00:17:46] =================== check_platform_desc  ===================
[00:17:46] [PASSED] 0x9A60 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A68 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A70 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A40 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A49 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A59 (TIGERLAKE)
[00:17:46] [PASSED] 0x9A78 (TIGERLAKE)
[00:17:46] [PASSED] 0x9AC0 (TIGERLAKE)
[00:17:46] [PASSED] 0x9AC9 (TIGERLAKE)
[00:17:46] [PASSED] 0x9AD9 (TIGERLAKE)
[00:17:46] [PASSED] 0x9AF8 (TIGERLAKE)
[00:17:46] [PASSED] 0x4C80 (ROCKETLAKE)
[00:17:46] [PASSED] 0x4C8A (ROCKETLAKE)
[00:17:46] [PASSED] 0x4C8B (ROCKETLAKE)
[00:17:46] [PASSED] 0x4C8C (ROCKETLAKE)
[00:17:46] [PASSED] 0x4C90 (ROCKETLAKE)
[00:17:46] [PASSED] 0x4C9A (ROCKETLAKE)
[00:17:46] [PASSED] 0x4680 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4682 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4688 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x468A (ALDERLAKE_S)
[00:17:46] [PASSED] 0x468B (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4690 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4692 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4693 (ALDERLAKE_S)
[00:17:46] [PASSED] 0x46A0 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46A1 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46A2 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46A3 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46A6 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46A8 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46AA (ALDERLAKE_P)
[00:17:46] [PASSED] 0x462A (ALDERLAKE_P)
[00:17:46] [PASSED] 0x4626 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x4628 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46B0 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46B1 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46B2 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46B3 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46C0 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46C1 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46C2 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46C3 (ALDERLAKE_P)
[00:17:46] [PASSED] 0x46D0 (ALDERLAKE_N)
[00:17:46] [PASSED] 0x46D1 (ALDERLAKE_N)
[00:17:46] [PASSED] 0x46D2 (ALDERLAKE_N)
[00:17:46] [PASSED] 0x46D3 (ALDERLAKE_N)
[00:17:46] [PASSED] 0x46D4 (ALDERLAKE_N)
[00:17:46] [PASSED] 0xA721 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7A1 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7A9 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7AC (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7AD (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA720 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7A0 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7A8 (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7AA (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA7AB (ALDERLAKE_P)
[00:17:46] [PASSED] 0xA780 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA781 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA782 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA783 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA788 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA789 (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA78A (ALDERLAKE_S)
[00:17:46] [PASSED] 0xA78B (ALDERLAKE_S)
[00:17:46] [PASSED] 0x4905 (DG1)
[00:17:46] [PASSED] 0x4906 (DG1)
[00:17:46] [PASSED] 0x4907 (DG1)
[00:17:46] [PASSED] 0x4908 (DG1)
[00:17:46] [PASSED] 0x4909 (DG1)
[00:17:46] [PASSED] 0x56C0 (DG2)
[00:17:46] [PASSED] 0x56C2 (DG2)
[00:17:46] [PASSED] 0x56C1 (DG2)
[00:17:46] [PASSED] 0x7D51 (METEORLAKE)
[00:17:46] [PASSED] 0x7DD1 (METEORLAKE)
[00:17:46] [PASSED] 0x7D41 (METEORLAKE)
[00:17:46] [PASSED] 0x7D67 (METEORLAKE)
[00:17:46] [PASSED] 0xB640 (METEORLAKE)
[00:17:46] [PASSED] 0x56A0 (DG2)
[00:17:46] [PASSED] 0x56A1 (DG2)
[00:17:46] [PASSED] 0x56A2 (DG2)
[00:17:46] [PASSED] 0x56BE (DG2)
[00:17:46] [PASSED] 0x56BF (DG2)
[00:17:46] [PASSED] 0x5690 (DG2)
[00:17:46] [PASSED] 0x5691 (DG2)
[00:17:46] [PASSED] 0x5692 (DG2)
[00:17:46] [PASSED] 0x56A5 (DG2)
[00:17:46] [PASSED] 0x56A6 (DG2)
[00:17:46] [PASSED] 0x56B0 (DG2)
[00:17:46] [PASSED] 0x56B1 (DG2)
[00:17:46] [PASSED] 0x56BA (DG2)
[00:17:46] [PASSED] 0x56BB (DG2)
[00:17:46] [PASSED] 0x56BC (DG2)
[00:17:46] [PASSED] 0x56BD (DG2)
[00:17:46] [PASSED] 0x5693 (DG2)
[00:17:46] [PASSED] 0x5694 (DG2)
[00:17:46] [PASSED] 0x5695 (DG2)
[00:17:46] [PASSED] 0x56A3 (DG2)
[00:17:46] [PASSED] 0x56A4 (DG2)
[00:17:46] [PASSED] 0x56B2 (DG2)
[00:17:46] [PASSED] 0x56B3 (DG2)
[00:17:46] [PASSED] 0x5696 (DG2)
[00:17:46] [PASSED] 0x5697 (DG2)
[00:17:46] [PASSED] 0xB69 (PVC)
[00:17:46] [PASSED] 0xB6E (PVC)
[00:17:46] [PASSED] 0xBD4 (PVC)
[00:17:46] [PASSED] 0xBD5 (PVC)
[00:17:46] [PASSED] 0xBD6 (PVC)
[00:17:46] [PASSED] 0xBD7 (PVC)
[00:17:46] [PASSED] 0xBD8 (PVC)
[00:17:46] [PASSED] 0xBD9 (PVC)
[00:17:46] [PASSED] 0xBDA (PVC)
[00:17:46] [PASSED] 0xBDB (PVC)
[00:17:46] [PASSED] 0xBE0 (PVC)
[00:17:46] [PASSED] 0xBE1 (PVC)
[00:17:46] [PASSED] 0xBE5 (PVC)
[00:17:46] [PASSED] 0x7D40 (METEORLAKE)
[00:17:46] [PASSED] 0x7D45 (METEORLAKE)
[00:17:46] [PASSED] 0x7D55 (METEORLAKE)
[00:17:46] [PASSED] 0x7D60 (METEORLAKE)
[00:17:46] [PASSED] 0x7DD5 (METEORLAKE)
[00:17:46] [PASSED] 0x6420 (LUNARLAKE)
[00:17:46] [PASSED] 0x64A0 (LUNARLAKE)
[00:17:46] [PASSED] 0x64B0 (LUNARLAKE)
[00:17:46] [PASSED] 0xE202 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE209 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE20B (BATTLEMAGE)
[00:17:46] [PASSED] 0xE20C (BATTLEMAGE)
[00:17:46] [PASSED] 0xE20D (BATTLEMAGE)
[00:17:46] [PASSED] 0xE210 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE211 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE212 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE216 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE220 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE221 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE222 (BATTLEMAGE)
[00:17:46] [PASSED] 0xE223 (BATTLEMAGE)
[00:17:46] [PASSED] 0xB080 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB081 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB082 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB083 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB084 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB085 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB086 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB087 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB08F (PANTHERLAKE)
[00:17:46] [PASSED] 0xB090 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB0A0 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB0A1 (PANTHERLAKE)
[00:17:46] [PASSED] 0xB0B0 (PANTHERLAKE)
[00:17:46] [PASSED] 0xFD80 (PANTHERLAKE)
[00:17:46] [PASSED] 0xFD81 (PANTHERLAKE)
[00:17:46] [PASSED] 0xD740 (NOVALAKE_S)
[00:17:46] [PASSED] 0xD741 (NOVALAKE_S)
[00:17:46] [PASSED] 0xD742 (NOVALAKE_S)
[00:17:46] [PASSED] 0xD743 (NOVALAKE_S)
[00:17:46] [PASSED] 0xD745 (NOVALAKE_S)
[00:17:46] [PASSED] 0xD74A (NOVALAKE_S)
[00:17:46] [PASSED] 0xD74B (NOVALAKE_S)
[00:17:46] [PASSED] 0x674C (CRESCENTISLAND)
[00:17:46] [PASSED] 0x674D (CRESCENTISLAND)
[00:17:46] [PASSED] 0x674E (CRESCENTISLAND)
[00:17:46] [PASSED] 0x674F (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6750 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6751 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6752 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6753 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6754 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6755 (CRESCENTISLAND)
[00:17:46] [PASSED] 0x6756 (CRESCENTISLAND)
[00:17:46] [PASSED] 0xD750 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD751 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD752 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD753 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD754 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD755 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD756 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD757 (NOVALAKE_P)
[00:17:46] [PASSED] 0xD75F (NOVALAKE_P)
[00:17:46] =============== [PASSED] check_platform_desc ===============
[00:17:46] ===================== [PASSED] xe_pci ======================
[00:17:46] ============= xe_rtp_tables_test (5 subtests) ==============
[00:17:46] ================== xe_rtp_table_gt_test  ===================
[00:17:46] [PASSED] gt_was/14011060649
[00:17:46] [PASSED] gt_was/14011059788
[00:17:46] [PASSED] gt_was/14015795083
[00:17:46] [PASSED] gt_was/16021867713
[00:17:46] [PASSED] gt_was/14019449301
[00:17:46] [PASSED] gt_was/16028005424
[00:17:46] [PASSED] gt_was/14026578760
[00:17:46] [PASSED] gt_was/1409420604
[00:17:46] [PASSED] gt_was/1408615072
[00:17:46] [PASSED] gt_was/22010523718
[00:17:46] [PASSED] gt_was/14011006942
[00:17:46] [PASSED] gt_was/14014830051
[00:17:46] [PASSED] gt_was/18018781329
[00:17:46] [PASSED] gt_was/1509235366
[00:17:46] [PASSED] gt_was/18018781329
[00:17:46] [PASSED] gt_was/16016694945
[00:17:46] [PASSED] gt_was/14018575942
[00:17:46] [PASSED] gt_was/22016670082
[00:17:46] [PASSED] gt_was/22016670082
[00:17:46] [PASSED] gt_was/14017421178
[00:17:46] [PASSED] gt_was/16025250150
[00:17:46] [PASSED] gt_was/14021871409
[00:17:46] [PASSED] gt_was/16021865536
[00:17:46] [PASSED] gt_was/14021486841
[00:17:46] [PASSED] gt_was/14025160223
[00:17:46] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[00:17:46] [PASSED] gt_was/14025635424
[00:17:46] [PASSED] gt_was/16028005424
[00:17:46] ============== [PASSED] xe_rtp_table_gt_test ===============
[00:17:46] ================== xe_rtp_table_gt_test  ===================
[00:17:46] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[00:17:46] [PASSED] gt_tunings/Tuning: 32B Access Enable
[00:17:46] [PASSED] gt_tunings/Tuning: L3 cache
[00:17:46] [PASSED] gt_tunings/Tuning: L3 cache - media
[00:17:46] [PASSED] gt_tunings/Tuning: Compression Overfetch
[00:17:46] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[00:17:46] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[00:17:46] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[00:17:46] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[00:17:46] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[00:17:46] [PASSED] gt_tunings/Tuning: Stateless compression control
[00:17:46] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[00:17:46] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[00:17:46] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[00:17:46] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[00:17:46] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[00:17:46] ============== [PASSED] xe_rtp_table_gt_test ===============
[00:17:46] ================== xe_rtp_table_oob_test  ==================
[00:17:46] [PASSED] oob_was/1607983814
[00:17:46] [PASSED] oob_was/16010904313
[00:17:46] [PASSED] oob_was/18022495364
[00:17:46] [PASSED] oob_was/22012773006
[00:17:46] [PASSED] oob_was/14014475959
[00:17:46] [PASSED] oob_was/22011391025
[00:17:46] [PASSED] oob_was/22012727170
[00:17:46] [PASSED] oob_was/22012727685
[00:17:46] [PASSED] oob_was/22016596838
[00:17:46] [PASSED] oob_was/18020744125
[00:17:46] [PASSED] oob_was/1409600907
[00:17:46] [PASSED] oob_was/22014953428
[00:17:46] [PASSED] oob_was/16017236439
[00:17:46] [PASSED] oob_was/14019821291
[00:17:46] [PASSED] oob_was/14015076503
[00:17:46] [PASSED] oob_was/22016122933
[00:17:46] [PASSED] oob_was/14018913170
[00:17:46] [PASSED] oob_was/14018094691
[00:17:46] [PASSED] oob_was/18024947630
[00:17:46] [PASSED] oob_was/16022287689
[00:17:46] [PASSED] oob_was/13011645652
[00:17:46] [PASSED] oob_was/14022293748
[00:17:46] [PASSED] oob_was/22019794406
[00:17:46] [PASSED] oob_was/22019338487
[00:17:46] [PASSED] oob_was/16023588340
[00:17:46] [PASSED] oob_was/14019789679
[00:17:46] [PASSED] oob_was/14022866841
[00:17:46] [PASSED] oob_was/16021333562
[00:17:46] [PASSED] oob_was/14016712196
[00:17:46] [PASSED] oob_was/14015568240
[00:17:46] [PASSED] oob_was/18013179988
[00:17:46] [PASSED] oob_was/1508761755
[00:17:46] [PASSED] oob_was/16023105232
[00:17:46] [PASSED] oob_was/16026508708
[00:17:46] [PASSED] oob_was/14020001231
[00:17:46] [PASSED] oob_was/16023683509
[00:17:46] [PASSED] oob_was/14025515070
[00:17:46] [PASSED] oob_was/15015404425_disable
[00:17:46] [PASSED] oob_was/16026007364
[00:17:46] [PASSED] oob_was/14020316580
[00:17:46] [PASSED] oob_was/14025883347
[00:17:46] [PASSED] oob_was/16029380221
[00:17:46] [PASSED] oob_was/22022079272
[00:17:46] [PASSED] oob_was/16029897822
[00:17:46] [PASSED] oob_was/14026539277
[00:17:46] [PASSED] oob_was/14027054324
[00:17:46] [PASSED] oob_was/14025941587
[00:17:46] [PASSED] oob_was/16030224309
[00:17:46] [PASSED] oob_was/14028709524
[00:17:46] [PASSED] oob_was/14028250015
[00:17:46] [PASSED] oob_was/16031259911
[00:17:46] ============== [PASSED] xe_rtp_table_oob_test ==============
[00:17:46] ================ xe_rtp_table_dev_oob_test  ================
[00:17:46] [PASSED] device_oob_was/22010954014
[00:17:46] [PASSED] device_oob_was/15015404425
[00:17:46] [PASSED] device_oob_was/22019338487_display
[00:17:46] [PASSED] device_oob_was/14022085890
[00:17:46] [PASSED] device_oob_was/14026633728
[00:17:46] [PASSED] device_oob_was/14026746987
[00:17:46] [PASSED] device_oob_was/14026779378
[00:17:46] [PASSED] device_oob_was/14028586678
[00:17:46] [PASSED] device_oob_was/14028434957
[00:17:46] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[00:17:46] ========== xe_rtp_table_missing_upper_bound_test  ==========
[00:17:46] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[00:17:46] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[00:17:46] [PASSED] register_whitelist/1806527549
[00:17:46] [PASSED] register_whitelist/allow_read_ctx_timestamp
[00:17:46] [PASSED] register_whitelist/allow_read_queue_timestamp
[00:17:46] [PASSED] register_whitelist/16014440446
[00:17:46] [PASSED] register_whitelist/16017236439
[00:17:46] [PASSED] register_whitelist/16020183090
[00:17:46] [PASSED] register_whitelist/14024997852
[00:17:46] [PASSED] register_whitelist/14024997852
[00:17:46] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[00:17:46] =============== [PASSED] xe_rtp_tables_test ================
[00:17:46] =================== xe_rtp (3 subtests) ====================
[00:17:46] =================== xe_rtp_rules_tests  ====================
[00:17:46] [PASSED] no
[00:17:46] [PASSED] yes
[00:17:46] [PASSED] no-and-no
[00:17:46] [PASSED] no-and-yes
[00:17:46] [PASSED] yes-and-no
[00:17:46] [PASSED] yes-and-yes
[00:17:46] [PASSED] no-or-no
[00:17:46] [PASSED] no-or-yes
[00:17:46] [PASSED] yes-or-no
[00:17:46] [PASSED] yes-or-yes
[00:17:46] [PASSED] no-yes-or-yes-no
[00:17:46] [PASSED] no-yes-or-yes-yes
[00:17:46] [PASSED] yes-yes-or-no-yes
[00:17:46] [PASSED] yes-yes-or-yes-yes
[00:17:46] [PASSED] no-no-or-yes-or-no
[00:17:46] [PASSED] or
[00:17:46] [PASSED] or-yes
[00:17:46] [PASSED] or-no
[00:17:46] [PASSED] yes-or
[00:17:46] [PASSED] no-or
[00:17:46] [PASSED] no-or-or-yes
[00:17:46] [PASSED] yes-or-or-no
[00:17:46] [PASSED] no-or-or-no
[00:17:46] [PASSED] missing-context-engine-class
[00:17:46] [PASSED] missing-context-engine-class-or-yes
[00:17:46] [PASSED] missing-context-engine-class-or-or-yes
[00:17:46] =============== [PASSED] xe_rtp_rules_tests ================
[00:17:46] =============== xe_rtp_process_to_sr_tests  ================
[00:17:46] [PASSED] coalesce-same-reg
[00:17:46] [PASSED] coalesce-same-reg-literal-and-func
[00:17:46] [PASSED] no-match-no-add
[00:17:46] [PASSED] two-regs-two-entries
[00:17:46] [PASSED] clr-one-set-other
[00:17:46] [PASSED] set-field
[00:17:46] [PASSED] conflict-duplicate
[00:17:46] [PASSED] conflict-not-disjoint
[00:17:46] [PASSED] conflict-not-disjoint-literal-and-func
[00:17:46] [PASSED] conflict-reg-type
[00:17:46] [PASSED] bad-mcr-reg-forced-to-regular
[00:17:46] [PASSED] bad-regular-reg-forced-to-mcr
[00:17:46] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[00:17:46] ================== xe_rtp_process_tests  ===================
[00:17:46] [PASSED] active1
[00:17:46] [PASSED] active2
[00:17:46] [PASSED] active-inactive
[00:17:46] [PASSED] inactive-active
[00:17:46] [PASSED] inactive-active-inactive
[00:17:46] [PASSED] inactive-inactive-inactive
[00:17:46] ============== [PASSED] xe_rtp_process_tests ===============
[00:17:46] ===================== [PASSED] xe_rtp ======================
[00:17:46] ==================== xe_wa (1 subtest) =====================
[00:17:46] ======================== xe_wa_gt  =========================
[00:17:46] [PASSED] TIGERLAKE B0
[00:17:46] [PASSED] DG1 A0
[00:17:46] [PASSED] DG1 B0
[00:17:46] [PASSED] ALDERLAKE_S A0
[00:17:46] [PASSED] ALDERLAKE_S B0
[00:17:46] [PASSED] ALDERLAKE_S C0
[00:17:46] [PASSED] ALDERLAKE_S D0
[00:17:46] [PASSED] ALDERLAKE_P A0
[00:17:46] [PASSED] ALDERLAKE_P B0
[00:17:46] [PASSED] ALDERLAKE_P C0
[00:17:46] [PASSED] ALDERLAKE_S RPLS D0
[00:17:46] [PASSED] ALDERLAKE_P RPLU E0
[00:17:46] [PASSED] DG2 G10 C0
[00:17:46] [PASSED] DG2 G11 B1
[00:17:46] [PASSED] DG2 G12 A1
[00:17:46] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[00:17:46] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[00:17:46] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[00:17:46] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[00:17:46] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[00:17:46] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[00:17:46] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[00:17:46] ==================== [PASSED] xe_wa_gt =====================
[00:17:46] ====================== [PASSED] xe_wa ======================
[00:17:46] ============================================================
[00:17:46] Testing complete. Ran 860 tests: passed: 831, skipped: 29
[00:17:47] Elapsed time: 42.359s total, 2.482s configuring, 39.111s building, 0.733s running

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[00:18:16] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:18:18] 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
[00:18:29] Starting KUnit Kernel (1/1)...
[00:18:29] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:18:29] ================= ttm_device (5 subtests) ==================
[00:18:29] [PASSED] ttm_device_init_basic
[00:18:29] [PASSED] ttm_device_init_multiple
[00:18:29] [PASSED] ttm_device_fini_basic
[00:18:29] [PASSED] ttm_device_init_no_vma_man
[00:18:29] ================== ttm_device_init_pools  ==================
[00:18:29] [PASSED] No DMA allocations, no DMA32 required
[00:18:29] [PASSED] DMA allocations, DMA32 required
[00:18:29] [PASSED] No DMA allocations, DMA32 required
[00:18:29] [PASSED] DMA allocations, no DMA32 required
[00:18:29] ============== [PASSED] ttm_device_init_pools ==============
[00:18:29] =================== [PASSED] ttm_device ====================
[00:18:29] ================== ttm_pool (8 subtests) ===================
[00:18:29] ================== ttm_pool_alloc_basic  ===================
[00:18:29] [PASSED] One page
[00:18:29] [PASSED] More than one page
[00:18:29] [PASSED] Above the allocation limit
[00:18:29] [PASSED] One page, with coherent DMA mappings enabled
[00:18:29] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[00:18:29] ============== [PASSED] ttm_pool_alloc_basic ===============
[00:18:29] ============== ttm_pool_alloc_basic_dma_addr  ==============
[00:18:29] [PASSED] One page
[00:18:29] [PASSED] More than one page
[00:18:29] [PASSED] Above the allocation limit
[00:18:29] [PASSED] One page, with coherent DMA mappings enabled
[00:18:29] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[00:18:29] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[00:18:29] [PASSED] ttm_pool_alloc_order_caching_match
[00:18:29] [PASSED] ttm_pool_alloc_caching_mismatch
[00:18:29] [PASSED] ttm_pool_alloc_order_mismatch
[00:18:29] [PASSED] ttm_pool_free_dma_alloc
[00:18:29] [PASSED] ttm_pool_free_no_dma_alloc
[00:18:29] [PASSED] ttm_pool_fini_basic
[00:18:29] ==================== [PASSED] ttm_pool =====================
[00:18:29] ================ ttm_resource (8 subtests) =================
[00:18:29] ================= ttm_resource_init_basic  =================
[00:18:29] [PASSED] Init resource in TTM_PL_SYSTEM
[00:18:29] [PASSED] Init resource in TTM_PL_VRAM
[00:18:29] [PASSED] Init resource in a private placement
[00:18:29] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[00:18:29] ============= [PASSED] ttm_resource_init_basic =============
[00:18:29] [PASSED] ttm_resource_init_pinned
[00:18:29] [PASSED] ttm_resource_fini_basic
[00:18:29] [PASSED] ttm_resource_manager_init_basic
[00:18:29] [PASSED] ttm_resource_manager_usage_basic
[00:18:29] [PASSED] ttm_resource_manager_set_used_basic
[00:18:29] [PASSED] ttm_sys_man_alloc_basic
[00:18:29] [PASSED] ttm_sys_man_free_basic
[00:18:29] ================== [PASSED] ttm_resource ===================
[00:18:29] =================== ttm_tt (15 subtests) ===================
[00:18:29] ==================== ttm_tt_init_basic  ====================
[00:18:29] [PASSED] Page-aligned size
[00:18:29] [PASSED] Extra pages requested
[00:18:29] ================ [PASSED] ttm_tt_init_basic ================
[00:18:29] [PASSED] ttm_tt_init_misaligned
[00:18:29] [PASSED] ttm_tt_fini_basic
[00:18:29] [PASSED] ttm_tt_fini_sg
[00:18:29] [PASSED] ttm_tt_fini_shmem
[00:18:29] [PASSED] ttm_tt_create_basic
[00:18:29] [PASSED] ttm_tt_create_invalid_bo_type
[00:18:29] [PASSED] ttm_tt_create_ttm_exists
[00:18:29] [PASSED] ttm_tt_create_failed
[00:18:29] [PASSED] ttm_tt_destroy_basic
[00:18:29] [PASSED] ttm_tt_populate_null_ttm
[00:18:29] [PASSED] ttm_tt_populate_populated_ttm
[00:18:29] [PASSED] ttm_tt_unpopulate_basic
[00:18:29] [PASSED] ttm_tt_unpopulate_empty_ttm
[00:18:29] [PASSED] ttm_tt_swapin_basic
[00:18:29] ===================== [PASSED] ttm_tt ======================
[00:18:29] =================== ttm_bo (14 subtests) ===================
[00:18:29] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[00:18:29] [PASSED] Cannot be interrupted and sleeps
[00:18:29] [PASSED] Cannot be interrupted, locks straight away
[00:18:29] [PASSED] Can be interrupted, sleeps
[00:18:29] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[00:18:29] [PASSED] ttm_bo_reserve_locked_no_sleep
[00:18:29] [PASSED] ttm_bo_reserve_no_wait_ticket
[00:18:29] [PASSED] ttm_bo_reserve_double_resv
[00:18:29] [PASSED] ttm_bo_reserve_interrupted
[00:18:29] [PASSED] ttm_bo_reserve_deadlock
[00:18:29] [PASSED] ttm_bo_unreserve_basic
[00:18:29] [PASSED] ttm_bo_unreserve_pinned
[00:18:29] [PASSED] ttm_bo_unreserve_bulk
[00:18:29] [PASSED] ttm_bo_fini_basic
[00:18:29] [PASSED] ttm_bo_fini_shared_resv
[00:18:29] [PASSED] ttm_bo_pin_basic
[00:18:29] [PASSED] ttm_bo_pin_unpin_resource
[00:18:29] [PASSED] ttm_bo_multiple_pin_one_unpin
[00:18:29] ===================== [PASSED] ttm_bo ======================
[00:18:29] ============== ttm_bo_validate (22 subtests) ===============
[00:18:29] ============== ttm_bo_init_reserved_sys_man  ===============
[00:18:29] [PASSED] Buffer object for userspace
[00:18:29] [PASSED] Kernel buffer object
[00:18:29] [PASSED] Shared buffer object
[00:18:29] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[00:18:29] ============== ttm_bo_init_reserved_mock_man  ==============
[00:18:29] [PASSED] Buffer object for userspace
[00:18:29] [PASSED] Kernel buffer object
[00:18:29] [PASSED] Shared buffer object
[00:18:29] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[00:18:29] [PASSED] ttm_bo_init_reserved_resv
[00:18:29] ================== ttm_bo_validate_basic  ==================
[00:18:29] [PASSED] Buffer object for userspace
[00:18:29] [PASSED] Kernel buffer object
[00:18:29] [PASSED] Shared buffer object
[00:18:29] ============== [PASSED] ttm_bo_validate_basic ==============
[00:18:29] [PASSED] ttm_bo_validate_invalid_placement
[00:18:29] ============= ttm_bo_validate_same_placement  ==============
[00:18:29] [PASSED] System manager
[00:18:29] [PASSED] VRAM manager
[00:18:29] ========= [PASSED] ttm_bo_validate_same_placement ==========
[00:18:29] [PASSED] ttm_bo_validate_failed_alloc
[00:18:29] [PASSED] ttm_bo_validate_pinned
[00:18:29] [PASSED] ttm_bo_validate_busy_placement
[00:18:29] ================ ttm_bo_validate_multihop  =================
[00:18:29] [PASSED] Buffer object for userspace
[00:18:29] [PASSED] Kernel buffer object
[00:18:29] [PASSED] Shared buffer object
[00:18:29] ============ [PASSED] ttm_bo_validate_multihop =============
[00:18:29] ========== ttm_bo_validate_no_placement_signaled  ==========
[00:18:29] [PASSED] Buffer object in system domain, no page vector
[00:18:29] [PASSED] Buffer object in system domain with an existing page vector
[00:18:29] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[00:18:29] ======== ttm_bo_validate_no_placement_not_signaled  ========
[00:18:29] [PASSED] Buffer object for userspace
[00:18:29] [PASSED] Kernel buffer object
[00:18:29] [PASSED] Shared buffer object
[00:18:29] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[00:18:29] [PASSED] ttm_bo_validate_move_fence_signaled
[00:18:29] ========= ttm_bo_validate_move_fence_not_signaled  =========
[00:18:29] [PASSED] Waits for GPU
[00:18:29] [PASSED] Tries to lock straight away
[00:18:29] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[00:18:29] [PASSED] ttm_bo_validate_swapout
[00:18:29] [PASSED] ttm_bo_validate_happy_evict
[00:18:29] [PASSED] ttm_bo_validate_all_pinned_evict
[00:18:29] [PASSED] ttm_bo_validate_allowed_only_evict
[00:18:29] [PASSED] ttm_bo_validate_deleted_evict
[00:18:29] [PASSED] ttm_bo_validate_busy_domain_evict
[00:18:29] [PASSED] ttm_bo_validate_evict_gutting
[00:18:29] [PASSED] ttm_bo_validate_recrusive_evict
[00:18:29] ================= [PASSED] ttm_bo_validate =================
[00:18:29] ============================================================
[00:18:29] Testing complete. Ran 102 tests: passed: 102
[00:18:29] Elapsed time: 13.567s total, 2.562s configuring, 10.790s building, 0.181s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[00:18:29] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:18:32] 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
[00:18:41] Starting KUnit Kernel (1/1)...
[00:18:41] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:18:41] =============== dma-buf-fence (12 subtests) ================
[00:18:41] [PASSED] test_sanitycheck
[00:18:41] [PASSED] test_signaling
[00:18:41] [PASSED] test_add_callback
[00:18:41] [PASSED] test_late_add_callback
[00:18:41] [PASSED] test_rm_callback
[00:18:41] [PASSED] test_late_rm_callback
[00:18:41] [PASSED] test_status
[00:18:41] [PASSED] test_error
[00:18:41] [PASSED] test_wait
[00:18:41] [PASSED] test_wait_timeout
[00:18:41] [PASSED] test_stub
[00:18:41] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[00:18:41] ================== [PASSED] dma-buf-fence ==================
[00:18:41] ============ dma-buf-fence-chain (11 subtests) =============
[00:18:41] [PASSED] test_sanitycheck
[00:18:41] [PASSED] test_find_seqno
[00:18:41] [PASSED] test_find_signaled
[00:18:41] [PASSED] test_find_out_of_order
[00:18:46] [PASSED] test_find_gap
[00:18:46] [PASSED] test_find_race
[00:18:46] [PASSED] test_signal_forward
[00:18:47] [PASSED] test_signal_backward
[00:18:47] [PASSED] test_wait_forward
[00:18:47] [PASSED] test_wait_backward
[00:18:47] [PASSED] test_wait_random
[00:18:47] =============== [PASSED] dma-buf-fence-chain ===============
[00:18:47] ============ dma-buf-fence-unwrap (11 subtests) ============
[00:18:47] [PASSED] test_sanitycheck
[00:18:47] [PASSED] test_unwrap_array
[00:18:47] [PASSED] test_unwrap_chain
[00:18:47] [PASSED] test_unwrap_chain_array
[00:18:47] [PASSED] test_unwrap_merge
[00:18:47] [PASSED] test_unwrap_merge_duplicate
[00:18:47] [PASSED] test_unwrap_merge_seqno
[00:18:47] [PASSED] test_unwrap_merge_order
[00:18:47] [PASSED] test_unwrap_merge_complex
[00:18:47] [PASSED] test_unwrap_merge_complex_seqno
[00:18:47] [PASSED] test_dedup_empty
[00:18:47] ============== [PASSED] dma-buf-fence-unwrap ===============
[00:18:47] ================ dma-buf-resv (5 subtests) =================
[00:18:47] [PASSED] test_sanitycheck
[00:18:47] ===================== test_signaling  ======================
[00:18:47] [PASSED] kernel
[00:18:47] [PASSED] write
[00:18:47] [PASSED] read
[00:18:47] [PASSED] bookkeep
[00:18:47] ================= [PASSED] test_signaling ==================
[00:18:47] ====================== test_for_each  ======================
[00:18:47] [PASSED] kernel
[00:18:47] [PASSED] write
[00:18:47] [PASSED] read
[00:18:47] [PASSED] bookkeep
[00:18:47] ================== [PASSED] test_for_each ==================
[00:18:47] ================= test_for_each_unlocked  ==================
[00:18:47] [PASSED] kernel
[00:18:47] [PASSED] write
[00:18:47] [PASSED] read
[00:18:47] [PASSED] bookkeep
[00:18:47] ============= [PASSED] test_for_each_unlocked ==============
[00:18:47] ===================== test_get_fences  =====================
[00:18:47] [PASSED] kernel
[00:18:47] [PASSED] write
[00:18:47] [PASSED] read
[00:18:47] [PASSED] bookkeep
[00:18:47] ================= [PASSED] test_get_fences =================
[00:18:47] ================== [PASSED] dma-buf-resv ===================
[00:18:47] ============================================================
[00:18:47] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[00:18:47] Elapsed time: 17.259s total, 2.574s configuring, 9.363s building, 5.269s running

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

* ✓ Xe.CI.BAT: success for FD close cleanup for XE (rev6)
  2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
                   ` (5 preceding siblings ...)
  2026-11-20  0:18 ` ✓ CI.KUnit: success " Patchwork
@ 2026-11-20  0:58 ` Patchwork
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-11-20  0:58 UTC (permalink / raw)
  To: Daniel Charles; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 5840 bytes --]

== Series Details ==

Series: FD close cleanup for XE (rev6)
URL   : https://patchwork.freedesktop.org/series/175996/
State : success

== Summary ==

CI Bug Log - changes from xe-6193-5e1f7086abf6664123216020e4afb75a2512292e_BAT -> xe-pw-175996v6_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  Additional (1): bat-wcl-2 

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

  Here are the changes found in xe-pw-175996v6_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@fbdev@eof:
    - bat-wcl-2:          NOTRUN -> [SKIP][1] ([Intel XE#7241]) +4 other tests skip
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@fbdev@eof.html

  * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
    - bat-wcl-2:          NOTRUN -> [SKIP][2] ([Intel XE#7245])
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html

  * igt@kms_flip@basic-flip-vs-wf_vblank:
    - bat-wcl-2:          NOTRUN -> [SKIP][3] ([Intel XE#7240]) +3 other tests skip
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@kms_flip@basic-flip-vs-wf_vblank.html

  * igt@kms_frontbuffer_tracking@basic:
    - bat-wcl-2:          NOTRUN -> [SKIP][4] ([Intel XE#7246])
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@kms_frontbuffer_tracking@basic.html

  * igt@kms_pipe_crc_basic@hang-read-crc:
    - bat-wcl-2:          NOTRUN -> [SKIP][5] ([Intel XE#7237]) +13 other tests skip
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@kms_pipe_crc_basic@hang-read-crc.html

  * igt@kms_psr@psr-sprite-plane-onoff:
    - bat-wcl-2:          NOTRUN -> [SKIP][6] ([Intel XE#2850]) +2 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@kms_psr@psr-sprite-plane-onoff.html

  * igt@xe_evict@evict-small-multi-vm:
    - bat-wcl-2:          NOTRUN -> [SKIP][7] ([Intel XE#7238]) +11 other tests skip
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_evict@evict-small-multi-vm.html

  * igt@xe_exec_balancer@twice-virtual-userptr-rebind:
    - bat-wcl-2:          NOTRUN -> [SKIP][8] ([Intel XE#7482]) +17 other tests skip
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_exec_balancer@twice-virtual-userptr-rebind.html

  * igt@xe_exec_multi_queue@many-queues-userptr-invalidate:
    - bat-wcl-2:          NOTRUN -> [SKIP][9] ([Intel XE#8364]) +13 other tests skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_exec_multi_queue@many-queues-userptr-invalidate.html

  * igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit:
    - bat-wcl-2:          NOTRUN -> [SKIP][10] ([Intel XE#7239]) +2 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html

  * igt@xe_live_ktest@xe_migrate@xe_migrate_access_memory_kunit:
    - bat-wcl-2:          NOTRUN -> [SKIP][11] ([Intel XE#9657])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_live_ktest@xe_migrate@xe_migrate_access_memory_kunit.html

  * igt@xe_mmap@vram:
    - bat-wcl-2:          NOTRUN -> [SKIP][12] ([Intel XE#7243])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_mmap@vram.html

  * igt@xe_pat@pat-index-xehpc:
    - bat-wcl-2:          NOTRUN -> [SKIP][13] ([Intel XE#7247] / [Intel XE#7590])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_pat@pat-index-xehpc.html

  * igt@xe_pat@pat-index-xelp:
    - bat-wcl-2:          NOTRUN -> [SKIP][14] ([Intel XE#7242] / [Intel XE#7590])
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_pat@pat-index-xelp.html

  * igt@xe_pat@pat-index-xelpg:
    - bat-wcl-2:          NOTRUN -> [SKIP][15] ([Intel XE#7248] / [Intel XE#7590])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175996v6/bat-wcl-2/igt@xe_pat@pat-index-xelpg.html

  
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#7237]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7237
  [Intel XE#7238]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7238
  [Intel XE#7239]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7239
  [Intel XE#7240]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7240
  [Intel XE#7241]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7241
  [Intel XE#7242]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7242
  [Intel XE#7243]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7243
  [Intel XE#7245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7245
  [Intel XE#7246]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7246
  [Intel XE#7247]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7247
  [Intel XE#7248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7248
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#9657]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9657


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

  * Linux: xe-6193-5e1f7086abf6664123216020e4afb75a2512292e -> xe-pw-175996v6

  IGT_9199: f28241ac1ad57574315e7bd31b174294cca2f29c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-6193-5e1f7086abf6664123216020e4afb75a2512292e: 5e1f7086abf6664123216020e4afb75a2512292e
  xe-pw-175996v6: 175996v6

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 6868 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-11-20  0:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 17:46 [PATCH v6 0/4] FD close cleanup for XE Daniel Charles
2026-11-19 17:46 ` [PATCH v6 1/4] drm/xe: Read scheduler message opcode under lock Daniel Charles
2026-11-19 17:46 ` [PATCH v6 2/4] drm/xe: Notify scheduling-state waiters per exec queue Daniel Charles
2026-11-19 18:06   ` sashiko-bot
2026-11-19 19:16     ` Cavitt, Jonathan
2026-11-19 17:46 ` [PATCH v6 3/4] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade Daniel Charles
2026-11-19 18:18   ` sashiko-bot
2026-11-19 19:26     ` Cavitt, Jonathan
2026-11-19 17:46 ` [PATCH v6 4/4] drm/xe: Synchronously wait for queue kill on FD close Daniel Charles
2026-11-19 18:21   ` sashiko-bot
2026-11-19 19:44   ` Cavitt, Jonathan
2026-11-20  0:16 ` ✗ CI.checkpatch: warning for FD close cleanup for XE (rev6) Patchwork
2026-11-20  0:18 ` ✓ CI.KUnit: success " Patchwork
2026-11-20  0:58 ` ✓ Xe.CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox