Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume
@ 2026-07-13  3:00 Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 1/6] drm/xe: only resume exec queues that were actually suspended Niranjana Vishwanathapura
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

This series fixes and hardens the exec queue suspend/resume balance in
the Xe driver, and builds on that to make multi-queue group suspend
actually preempt the group's GuC context.

Today a consumer that suspends an exec queue (preempt fences, the hw
engine group fault-mode switch, ...) unconditionally issues the
matching resume(), even when the suspend() never took effect because the
queue was killed, banned or wedged in the meantime. Resuming a queue
that was never suspended is incorrect: with the GuC backend it can trip
the !suspend_pending assertion or leave scheduling state inconsistent.

The series addresses this in layers:

 - Track whether a consumer's suspend() actually succeeded and only
   issue resume() when one is owed (patch 1), and apply the same
   discipline to the hw engine group fault-mode switch, including
   undoing partial suspends on failure (patch 4).

 - Harden the GuC suspend wait so a GuC timeout bans the queue or the
   multi-queue group and tears it down instead of leaving it suspended
   forever (patch 2).

 - Add uninterruptible suspend wait support for cleanup/undo paths
   that must complete a suspend on behalf of a queue that may belong to a
   different process without causing cross-process DOS (patch 3)

 - Add a suspend reference count to the exec queue ops so overlapping
   suspends from independent callers stay balanced (patch 5).

 - Use that refcount to forward a multi-queue secondary's suspend to the
   group's primary, so suspending a secondary actually disables the
   primary's GuC context and preempts the group's in-flight GPU work
   (patch 6).

v2: In suspend_wait(), add additional comment and ban whole group
    upon error.
v3: Refactor patches, add suspend_wait_blocking(), revert to interruptible
    wait in suspend_wait(), don't let a dying queue block the switch,
    update comments.
v4: Do not suspend a secondary if primary is killed,
    wait for primay suspend to complete before drop_suspend()

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

Niranjana Vishwanathapura (5):
  drm/xe: only resume exec queues that were actually suspended
  drm/xe/guc: ban exec queue on suspend timeout
  drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup
  drm/xe/hw_engine_group: propagate suspend failures during mode switch
  drm/xe/multi_queue: preempt primary on queue group suspend

Thomas Hellström (1):
  drm/xe/guc: Add suspend refcount to exec queue ops

 drivers/gpu/drm/xe/xe_exec_queue.c           |   1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h     |  27 ++
 drivers/gpu/drm/xe/xe_execlist.c             |   1 +
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |   7 +
 drivers/gpu/drm/xe/xe_guc_submit.c           | 274 +++++++++++++++++--
 drivers/gpu/drm/xe/xe_hw_engine_group.c      |  85 +++++-
 drivers/gpu/drm/xe/xe_preempt_fence.c        |   7 +
 drivers/gpu/drm/xe/xe_vm.c                   |  18 +-
 8 files changed, 398 insertions(+), 22 deletions(-)

-- 
2.43.0


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

* [PATCH v4 1/6] drm/xe: only resume exec queues that were actually suspended
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout Niranjana Vishwanathapura
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

A consumer-issued suspend() can fail (e.g. the queue is killed, banned
or wedged), leaving the queue un-suspended. The consumer must then not
issue the matching resume(): resuming a queue that was never suspended
is incorrect.

Add an lr.suspended flag to struct xe_exec_queue that records whether a
consumer suspend() succeeded and a matching resume() is still owed. Set
it on a successful suspend() in the preempt-fence path, clear it on
resume(), and only resume queues that have it set.

In resume_and_reinstall_preempt_fences() also skip queues that have
since been reset/killed/banned/wedged: such a queue's suspend may not
have completed (suspend_pending can still be set, e.g. a preempt fence
signalled with -ENOENT without waiting), so resuming it would trip the
!suspend_pending assert in the backend. Leave it marked suspended and
let teardown resolve its state.

A queue is only ever suspended by a single consumer at a time
(preempt-fence mode and hw engine group fault mode are mutually
exclusive), so a single flag is sufficient.

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_exec_queue_types.h | 12 ++++++++++++
 drivers/gpu/drm/xe/xe_preempt_fence.c    |  7 +++++++
 drivers/gpu/drm/xe/xe_vm.c               | 18 +++++++++++++++++-
 3 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index d27ce24daae5..dbb2ee8eb5de 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -200,6 +200,18 @@ struct xe_exec_queue {
 		u32 seqno;
 		/** @lr.link: link into VM's list of exec queues */
 		struct list_head link;
+		/**
+		 * @lr.suspended: Tracks whether the consumer-issued suspend()
+		 * succeeded and a matching resume() is still owed. suspend() can
+		 * fail (e.g. killed/banned/wedged), leaving the queue
+		 * un-suspended, so consumers must only resume() queues that were
+		 * actually suspended. Set by the suspend caller on success and
+		 * cleared by the resume caller. A queue is only ever suspended by
+		 * a single consumer at a time (preempt-fence mode and hw engine
+		 * group fault mode are mutually exclusive), so a single flag is
+		 * sufficient.
+		 */
+		bool suspended;
 	} lr;
 
 #define XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT	0
diff --git a/drivers/gpu/drm/xe/xe_preempt_fence.c b/drivers/gpu/drm/xe/xe_preempt_fence.c
index d6427b473ddd..4aa570fe745d 100644
--- a/drivers/gpu/drm/xe/xe_preempt_fence.c
+++ b/drivers/gpu/drm/xe/xe_preempt_fence.c
@@ -74,6 +74,13 @@ static bool preempt_fence_enable_signaling(struct dma_fence *fence)
 	struct xe_exec_queue *q = pfence->q;
 
 	pfence->error = q->ops->suspend(q);
+	/*
+	 * Record a successful suspend so the rebind worker only resumes queues
+	 * that were actually suspended; a failed suspend() leaves the queue
+	 * un-suspended and must not be paired with a resume().
+	 */
+	if (!pfence->error)
+		WRITE_ONCE(q->lr.suspended, true);
 	queue_work(q->vm->xe->preempt_fence_wq, &pfence->preempt_work);
 	return true;
 }
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 080c2fff0e95..23f4a9fb9a49 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -206,7 +206,23 @@ static void resume_and_reinstall_preempt_fences(struct xe_vm *vm,
 	xe_vm_assert_held(vm);
 
 	list_for_each_entry(q, &vm->preempt.exec_queues, lr.link) {
-		q->ops->resume(q);
+		/*
+		 * Only resume queues whose suspend() actually succeeded. A
+		 * failed suspend() (e.g. killed/banned/wedged) leaves the queue
+		 * un-suspended, so it must not be resumed.
+		 *
+		 * Also skip queues that have since been reset/killed/banned/
+		 * wedged: their suspend may not have completed (suspend_pending
+		 * can still be set, e.g. a preempt fence signalled with -ENOENT
+		 * without waiting), so resuming would trip the !suspend_pending
+		 * assert in the backend. Such queues are being torn down anyway,
+		 * so leave them marked suspended and let teardown resolve their
+		 * state.
+		 */
+		if (READ_ONCE(q->lr.suspended) && !q->ops->reset_status(q)) {
+			WRITE_ONCE(q->lr.suspended, false);
+			q->ops->resume(q);
+		}
 
 		drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, q->lr.pfence,
 					 DMA_RESV_USAGE_BOOKKEEP, DMA_RESV_USAGE_BOOKKEEP);
-- 
2.43.0


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

* [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 1/6] drm/xe: only resume exec queues that were actually suspended Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13 16:15   ` Matthew Brost
  2026-07-13  3:00 ` [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup Niranjana Vishwanathapura
                   ` (7 subsequent siblings)
  9 siblings, 1 reply; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

Harden guc_exec_queue_suspend_wait():

 - In multi-queue mode the primary owns the group's GuC scheduling
   context, so wait on the primary's suspend to complete.

 - On timeout, ban the queue and trigger cleanup rather than leaving it
   suspended forever. Clearing suspend_pending via __suspend_fence_signal()
   lets a subsequent resume() proceed without tripping the
   !suspend_pending assert. A timeout on the primary wedges the whole
   group, so ban and tear down the entire group in the multi-queue case.
   The ban/cleanup is factored into guc_exec_queue_suspend_timeout_ban().

Add a note that on a signal (-ERESTARTSYS) the queue is not banned and
the suspend is not confirmed complete, so callers must not resume()
without re-confirming.

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_submit.c | 53 +++++++++++++++++++++++++++---
 1 file changed, 49 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index cec3bbf3a10e..3ece51451f86 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2202,12 +2202,53 @@ static int guc_exec_queue_suspend(struct xe_exec_queue *q)
 	return 0;
 }
 
+static void guc_exec_queue_suspend_timeout_ban(struct xe_exec_queue *q)
+{
+	struct xe_guc *guc = exec_queue_to_guc(q);
+
+	xe_gt_warn(guc_to_gt(guc),
+		   "Suspend fence, guc_id=%d, failed to respond, banning queue",
+		   q->guc->id);
+	/*
+	 * The GuC failed to respond to the suspend within the timeout. This is
+	 * not recoverable for this context, so ban it and tear it down via
+	 * cleanup rather than leave it suspended forever. __suspend_fence_signal
+	 * clears suspend_pending and wakes any waiter.
+	 *
+	 * @q is the primary here; it owns the group's GuC context, so a failure
+	 * to suspend it wedges the whole group. Ban and tear down the entire
+	 * group in the multi-queue case.
+	 */
+	if (xe_exec_queue_is_multi_queue(q)) {
+		set_exec_queue_group_banned(q);
+		__suspend_fence_signal(q);
+		xe_guc_exec_queue_group_trigger_cleanup(q);
+	} else {
+		set_exec_queue_banned(q);
+		__suspend_fence_signal(q);
+		xe_guc_exec_queue_trigger_cleanup(q);
+	}
+}
+
 static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
 {
 	struct xe_guc *guc = exec_queue_to_guc(q);
 	struct xe_device *xe = guc_to_xe(guc);
 	int ret;
 
+	/*
+	 * In multi-queue mode the primary owns the GuC scheduling context for
+	 * the whole group, so wait on the primary's suspend to complete. All
+	 * group members share the same GuC/device, so guc, xe and timeout above
+	 * are computed from @q directly.
+	 *
+	 * A secondary's suspend is short-circuited (no GuC round-trip) and, as
+	 * its SUSPEND message precedes the primary's on the shared FIFO
+	 * submit_wq, completes before the primary's. So waiting on the primary
+	 * is sufficient.
+	 */
+	q = xe_exec_queue_multi_queue_primary(q);
+
 	/*
 	 * Likely don't need to check exec_queue_killed() as we clear
 	 * suspend_pending upon kill but to be paranoid but races in which
@@ -2230,10 +2271,7 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
 		return -EAGAIN;
 
 	if (!ret) {
-		xe_gt_warn(guc_to_gt(guc),
-			   "Suspend fence, guc_id=%d, failed to respond",
-			   q->guc->id);
-		/* XXX: Trigger GT reset? */
+		guc_exec_queue_suspend_timeout_ban(q);
 		return -ETIME;
 	} else if (IS_SRIOV_VF(xe) && !WAIT_COND) {
 		/* Corner case on RESFIX DONE where vf_recovery() changes */
@@ -2242,6 +2280,13 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
 
 #undef WAIT_COND
 
+	/*
+	 * ret < 0 (-ERESTARTSYS): the interruptible wait was aborted by a
+	 * signal. The queue is not banned - the failure is in the waiter, not
+	 * the queue. The suspend is not confirmed complete, so suspend_pending
+	 * may still be set; callers must not resume() on this error without
+	 * re-confirming the suspend.
+	 */
 	return ret < 0 ? ret : 0;
 }
 
-- 
2.43.0


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

* [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 1/6] drm/xe: only resume exec queues that were actually suspended Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13 16:17   ` Matthew Brost
  2026-07-13  3:00 ` [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch Niranjana Vishwanathapura
                   ` (6 subsequent siblings)
  9 siblings, 1 reply; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

Add a suspend_wait_blocking() exec queue op: an uninterruptible variant
of suspend_wait() for callers that must complete a suspend on behalf of a
queue that may belong to a different process than the calling task (e.g.
cleanup/undo paths). An interruptible suspend_wait() returns -ERESTARTSYS
when the calling task is signalled, which would leave the other process's
queue suspended forever - a cross-process DoS.

The blocking variant waits uninterruptibly and, on a genuine GuC timeout,
bans and tears down the queue like suspend_wait() (shared via
guc_exec_queue_suspend_timeout_ban()). It deliberately does not handle VF
recovery since a blocking caller cannot retry.

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
---
 drivers/gpu/drm/xe/xe_exec_queue_types.h |  9 ++++++
 drivers/gpu/drm/xe/xe_execlist.c         |  1 +
 drivers/gpu/drm/xe/xe_guc_submit.c       | 39 ++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index dbb2ee8eb5de..0aa0823cbdaa 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -322,6 +322,15 @@ struct xe_exec_queue_ops {
 	 * avoidance mechanism.
 	 */
 	int (*suspend_wait)(struct xe_exec_queue *q);
+	/**
+	 * @suspend_wait_blocking: Like @suspend_wait, but waits uninterruptibly
+	 * (does not abort on the calling task's signals). For cleanup/undo paths
+	 * that must complete a suspend on behalf of a queue that may belong to a
+	 * different process than the caller: a signal to the caller must not
+	 * abandon the wait, which would leave the other process's queue
+	 * suspended forever (cross-process DoS). A timeout bans like suspend_wait.
+	 */
+	int (*suspend_wait_blocking)(struct xe_exec_queue *q);
 	/**
 	 * @resume: Resume exec queue execution, exec queue must be in a suspended
 	 * state and dma fence returned from most recent suspend call must be
diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
index 6b86b4f9cc1c..cc33ae80e8cf 100644
--- a/drivers/gpu/drm/xe/xe_execlist.c
+++ b/drivers/gpu/drm/xe/xe_execlist.c
@@ -468,6 +468,7 @@ static const struct xe_exec_queue_ops execlist_exec_queue_ops = {
 	.set_preempt_timeout = execlist_exec_queue_set_preempt_timeout,
 	.suspend = execlist_exec_queue_suspend,
 	.suspend_wait = execlist_exec_queue_suspend_wait,
+	.suspend_wait_blocking = execlist_exec_queue_suspend_wait,
 	.resume = execlist_exec_queue_resume,
 	.reset_status = execlist_exec_queue_reset_status,
 };
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 3ece51451f86..de9c131fc62d 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2290,6 +2290,44 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
 	return ret < 0 ? ret : 0;
 }
 
+static int guc_exec_queue_suspend_wait_blocking(struct xe_exec_queue *q)
+{
+	struct xe_guc *guc = exec_queue_to_guc(q);
+	struct xe_device *xe = guc_to_xe(guc);
+	int ret;
+
+	/*
+	 * Uninterruptible variant of guc_exec_queue_suspend_wait() for callers
+	 * that must complete the wait on behalf of a queue possibly owned by a
+	 * different process (e.g. cleanup/undo paths). An interruptible wait
+	 * could return -ERESTARTSYS if the calling task is signalled, leaving
+	 * that queue suspended forever (cross-process DoS).
+	 *
+	 * A timeout is still a real per-queue fault, so it bans and cleans up
+	 * like suspend_wait(). VF recovery is deliberately not handled (no
+	 * -EAGAIN) since a blocking caller cannot retry.
+	 */
+	q = xe_exec_queue_multi_queue_primary(q);
+
+#define WAIT_COND \
+	(!READ_ONCE(q->guc->suspend_pending) ||	exec_queue_killed(q) || \
+	 xe_guc_read_stopped(guc))
+
+	if (IS_SRIOV_VF(xe))
+		ret = wait_event_timeout(guc->ct.wq, WAIT_COND, HZ * 5);
+	else
+		ret = wait_event_timeout(q->guc->suspend_wait, WAIT_COND, HZ * 5);
+
+#undef WAIT_COND
+
+	if (!ret) {
+		guc_exec_queue_suspend_timeout_ban(q);
+		return -ETIME;
+	}
+
+	return 0;
+}
+
 static void guc_exec_queue_resume(struct xe_exec_queue *q)
 {
 	struct xe_gpu_scheduler *sched = &q->guc->sched;
@@ -2329,6 +2367,7 @@ static const struct xe_exec_queue_ops guc_exec_queue_ops = {
 	.set_multi_queue_priority = guc_exec_queue_set_multi_queue_priority,
 	.suspend = guc_exec_queue_suspend,
 	.suspend_wait = guc_exec_queue_suspend_wait,
+	.suspend_wait_blocking = guc_exec_queue_suspend_wait_blocking,
 	.resume = guc_exec_queue_resume,
 	.reset_status = guc_exec_queue_reset_status,
 };
-- 
2.43.0


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

* [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (2 preceding siblings ...)
  2026-07-13  3:00 ` [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13 16:20   ` Matthew Brost
  2026-07-13  3:00 ` [PATCH v4 5/6] drm/xe/guc: Add suspend refcount to exec queue ops Niranjana Vishwanathapura
                   ` (5 subsequent siblings)
  9 siblings, 1 reply; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

The hw engine group fault-mode switch suspends all faulting LR queues
but ignored the suspend()/suspend_wait() return value. A suspend() can
fail (e.g. the queue is killed/banned/wedged), leaving the queue
un-suspended, so silently continuing could later resume a queue that was
never suspended.

Propagate the failure instead: in xe_hw_engine_group_add_exec_queue()
bail out if suspend() fails, and in
xe_hw_engine_group_suspend_faulting_lr_jobs() undo the partial suspend
via a new err_resume path that resumes the sibling queues already
suspended in this call. Record per-queue success with lr.suspended so
only queues that were actually suspended are waited on and resumed, and
skip the cleanup resume() when suspend_wait() failed or the queue was
reset/killed/banned/wedged (its suspend may not have completed, so
resuming would trip the !suspend_pending assert in the resume path;
teardown resolves its state instead).

Gate the group resume worker (hw_engine_group_resume_lr_jobs_func()) on
lr.suspended for the same reason, so it only resumes queues that were
actually suspended.

v2: Don't let a dying queue block the switch (Matt Brost)

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
---
 drivers/gpu/drm/xe/xe_hw_engine_group.c | 85 ++++++++++++++++++++++++-
 1 file changed, 82 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_hw_engine_group.c b/drivers/gpu/drm/xe/xe_hw_engine_group.c
index 02cf32ae5aa9..0804b426b6f9 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine_group.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine_group.c
@@ -34,6 +34,15 @@ hw_engine_group_resume_lr_jobs_func(struct work_struct *w)
 		if (!xe_vm_in_fault_mode(q->vm))
 			continue;
 
+		/*
+		 * Only resume queues that were actually suspended. A queue whose
+		 * suspend() failed (e.g. killed/banned/wedged) was never
+		 * suspended, so it must not be resumed.
+		 */
+		if (!READ_ONCE(q->lr.suspended))
+			continue;
+
+		WRITE_ONCE(q->lr.suspended, false);
 		q->ops->resume(q);
 	}
 
@@ -140,7 +149,18 @@ int xe_hw_engine_group_add_exec_queue(struct xe_hw_engine_group *group, struct x
 		return err;
 
 	if (xe_vm_in_fault_mode(q->vm) && group->cur_mode == EXEC_MODE_DMA_FENCE) {
-		q->ops->suspend(q);
+		/*
+		 * suspend() can fail (e.g. killed/banned/wedged), leaving the
+		 * queue un-suspended. Propagate the failure so the queue is not
+		 * added; on failure nothing was suspended, so there is nothing to
+		 * undo. Only record the queue as suspended (and later resume it)
+		 * once suspend() has succeeded.
+		 */
+		err = q->ops->suspend(q);
+		if (err)
+			goto err_suspend;
+
+		WRITE_ONCE(q->lr.suspended, true);
 		err = q->ops->suspend_wait(q);
 		if (err)
 			goto err_suspend;
@@ -216,8 +236,22 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
 			return -EAGAIN;
 
 		xe_gt_stats_incr(q->gt, XE_GT_STATS_ID_HW_ENGINE_GROUP_SUSPEND_LR_QUEUE_COUNT, 1);
+		/*
+		 * suspend() only fails when the queue is killed/banned/wedged.
+		 * Such a queue is being torn down (its removal from HW is handled
+		 * by the kill/ban teardown), so it is not a live fault-mode
+		 * context the mode switch must preempt. Skip it rather than
+		 * failing the switch, otherwise one dying sibling would block a
+		 * dma-fence submission on the healthy queues in the group. Only
+		 * queues recorded as suspended below are later waited on and
+		 * resumed.
+		 */
+		err = q->ops->suspend(q);
+		if (err)
+			continue;
+
+		WRITE_ONCE(q->lr.suspended, true);
 		need_resume = true;
-		q->ops->suspend(q);
 		gt = q->gt;
 	}
 
@@ -225,9 +259,13 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
 		if (!xe_vm_in_fault_mode(q->vm))
 			continue;
 
+		/* Only wait on queues that were actually suspended above. */
+		if (!READ_ONCE(q->lr.suspended))
+			continue;
+
 		err = q->ops->suspend_wait(q);
 		if (err)
-			return err;
+			goto err_resume;
 	}
 
 	if (gt) {
@@ -240,6 +278,47 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
 		xe_hw_engine_group_resume_faulting_lr_jobs(group);
 
 	return 0;
+
+err_resume:
+	/*
+	 * A suspend_wait() failed partway through the mode switch. Resume the
+	 * sibling queues that were already suspended in this call so they are
+	 * not left suspended forever.
+	 *
+	 * resume() requires the suspend to have completed (suspend_pending
+	 * cleared) or it trips the !suspend_pending assert. So skip the resume
+	 * when either:
+	 *  - suspend_wait_blocking() fails: on a GuC timeout it bans the queue
+	 *    and triggers cleanup, so the queue is being torn down; or
+	 *  - reset_status() is true: the queue was reset/killed/banned/wedged.
+	 *    suspend_wait() can return success in this case via its killed/
+	 *    stopped wait condition while suspend_pending is still set, and the
+	 *    queue is being torn down anyway, so its state is resolved by
+	 *    teardown rather than by a resume here.
+	 * In either case leave the queue marked suspended.
+	 *
+	 * Use the *blocking* (uninterruptible) wait here: the queues resumed on
+	 * this path may belong to a different process than the one that
+	 * triggered the mode switch. An interruptible suspend_wait() would
+	 * return -ERESTARTSYS if the triggering task is signalled, skip the
+	 * resume, and leave the other process's queue suspended forever
+	 * (cross-process DoS).
+	 */
+	list_for_each_entry(q, &group->exec_queue_list, hw_engine_group_link) {
+		if (!xe_vm_in_fault_mode(q->vm))
+			continue;
+
+		if (!READ_ONCE(q->lr.suspended))
+			continue;
+
+		if (q->ops->suspend_wait_blocking(q) || q->ops->reset_status(q))
+			continue;
+
+		WRITE_ONCE(q->lr.suspended, false);
+		q->ops->resume(q);
+	}
+
+	return err;
 }
 
 /**
-- 
2.43.0


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

* [PATCH v4 5/6] drm/xe/guc: Add suspend refcount to exec queue ops
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (3 preceding siblings ...)
  2026-07-13  3:00 ` [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13  3:00 ` [PATCH v4 6/6] drm/xe/multi_queue: preempt primary on queue group suspend Niranjana Vishwanathapura
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

From: Thomas Hellström <thomas.hellstrom@linux.intel.com>

With the lr.suspended flag a consumer already pairs its own suspend()
and resume() correctly, and no current path issues overlapping suspends
on the same queue.

Add a reference count to the exec queue suspend operations, as a small
self-contained building block for callers that can genuinely overlap.
A queue stays suspended as long as any caller holds a suspend and only
resumes once the last caller releases it, so each caller pairs its own
suspend/resume without needing to know about the others. This is what
the upcoming multi-queue support needs, where queues in a group share
a primary and may be suspended concurrently.

Assisted-by: GitHub_Copilot:claude-sonnet-4.6
Co-authored-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  7 +++++
 drivers/gpu/drm/xe/xe_guc_submit.c           | 30 ++++++++++++++------
 2 files changed, 28 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 e5e53b421f29..1207d51cf770 100644
--- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
@@ -49,6 +49,13 @@ struct xe_guc_exec_queue {
 	wait_queue_head_t suspend_wait;
 	/** @suspend_pending: a suspend of the exec_queue is pending */
 	bool suspend_pending;
+	/**
+	 * @suspend_count: Reference count of active suspend requests. The
+	 * exec_queue remains suspended while this is non-zero, allowing
+	 * multiple concurrent callers to independently hold a suspend without
+	 * prematurely re-enabling the queue. Protected by @sched.msg_lock.
+	 */
+	int suspend_count;
 	/**
 	 * @needs_cleanup: Needs a cleanup message during VF post migration
 	 * recovery.
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index de9c131fc62d..5a30f17f5c28 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2188,15 +2188,21 @@ static int guc_exec_queue_set_multi_queue_priority(struct xe_exec_queue *q,
 
 static int guc_exec_queue_suspend(struct xe_exec_queue *q)
 {
-	struct xe_gpu_scheduler *sched = &q->guc->sched;
-	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_SUSPEND;
+	struct xe_guc_exec_queue *ge = q->guc;
+	struct xe_gpu_scheduler *sched = &ge->sched;
+	struct xe_sched_msg *msg = ge->static_msgs + STATIC_MSG_SUSPEND;
 
 	if (exec_queue_killed_or_banned_or_wedged(q))
 		return -EINVAL;
 
 	xe_sched_msg_lock(sched);
-	if (guc_exec_queue_try_add_msg(q, msg, SUSPEND))
-		q->guc->suspend_pending = true;
+	if (++ge->suspend_count == 1) {
+		bool added = guc_exec_queue_try_add_msg(q, msg, SUSPEND);
+
+		/* slot must be free at 0->1 */
+		xe_gt_assert(guc_to_gt(exec_queue_to_guc(q)), added);
+		ge->suspend_pending = true;
+	}
 	xe_sched_msg_unlock(sched);
 
 	return 0;
@@ -2330,14 +2336,20 @@ static int guc_exec_queue_suspend_wait_blocking(struct xe_exec_queue *q)
 
 static void guc_exec_queue_resume(struct xe_exec_queue *q)
 {
-	struct xe_gpu_scheduler *sched = &q->guc->sched;
-	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_RESUME;
+	struct xe_guc_exec_queue *ge = q->guc;
+	struct xe_gpu_scheduler *sched = &ge->sched;
+	struct xe_sched_msg *msg = ge->static_msgs + STATIC_MSG_RESUME;
 	struct xe_guc *guc = exec_queue_to_guc(q);
 
-	xe_gt_assert(guc_to_gt(guc), !q->guc->suspend_pending);
-
 	xe_sched_msg_lock(sched);
-	guc_exec_queue_try_add_msg(q, msg, RESUME);
+	xe_gt_assert(guc_to_gt(guc), !ge->suspend_pending);
+	xe_gt_assert(guc_to_gt(guc), ge->suspend_count > 0);
+	if (--ge->suspend_count == 0) {
+		bool added = guc_exec_queue_try_add_msg(q, msg, RESUME);
+
+		/* slot must be free at 1->0 */
+		xe_gt_assert(guc_to_gt(guc), added);
+	}
 	xe_sched_msg_unlock(sched);
 }
 
-- 
2.43.0


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

* [PATCH v4 6/6] drm/xe/multi_queue: preempt primary on queue group suspend
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (4 preceding siblings ...)
  2026-07-13  3:00 ` [PATCH v4 5/6] drm/xe/guc: Add suspend refcount to exec queue ops Niranjana Vishwanathapura
@ 2026-07-13  3:00 ` Niranjana Vishwanathapura
  2026-07-13  3:06 ` ✗ CI.checkpatch: warning for drm/xe: balance exec queue suspend/resume (rev6) Patchwork
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: Niranjana Vishwanathapura @ 2026-07-13  3:00 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.brost, thomas.hellstrom

In a multi-queue group only the group's primary queue interfaces with
GuC for scheduling; suspend/resume of secondary queues is handled
internally and is not forwarded to GuC. As a result, suspending a
secondary queue alone (e.g. on its preempt fence signalling) does not
disable the primary's GuC context, so in-flight GPU work of the group
is not actually preempted.

Make a secondary queue suspend/resume like any other queue, driven by
its own xe_guc_exec_queue.suspend_count, and additionally forward the
suspend/resume to the primary so the GPU is actually preempted. The
forward is gated on the secondary's own 0->1 / 1->0 suspend_count
transition, so each group member contributes exactly one suspend
reference to the primary: the primary keeps its GuC context disabled
until every member that suspended it has resumed, including across the
resume-all-queues-each-rebind-cycle behavior. group->suspend_lock makes
the secondary transition and the primary forward atomic, and a member
leaving while still suspended (queue teardown) drops its reference on
the primary.

v2: Add comment about suspend_wait() in drop_suspend()
v3: Do not suspend a secondary if primary is killed,
    wait for primay suspend to complete before drop_suspend()

Assisted-by: Github-Copilot:Claude-opus-4.8
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_exec_queue.c       |   1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h |   6 +
 drivers/gpu/drm/xe/xe_guc_submit.c       | 176 ++++++++++++++++++++---
 3 files changed, 166 insertions(+), 17 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index cfd2a4e6d4c7..f4b297a19218 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -839,6 +839,7 @@ static int xe_exec_queue_group_init(struct xe_device *xe, struct xe_exec_queue *
 	group->primary = q;
 	group->cgp_bo = bo;
 	INIT_LIST_HEAD(&group->list);
+	spin_lock_init(&group->suspend_lock);
 	xa_init_flags(&group->xa, XA_FLAGS_ALLOC1);
 	mutex_init(&group->list_lock);
 	q->multi_queue.group = group;
diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index 0aa0823cbdaa..53b6c0bf4849 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -62,6 +62,12 @@ struct xe_exec_queue_group {
 	struct list_head list;
 	/** @list_lock: Secondary queue list lock */
 	struct mutex list_lock;
+	/**
+	 * @suspend_lock: Makes a secondary's suspend/resume and its forwarding
+	 * to the primary atomic. Nested outside of the queue's message lock
+	 * (@xe_guc_exec_queue.sched.msg_lock).
+	 */
+	spinlock_t suspend_lock;
 	/** @sync_pending: CGP_SYNC_DONE g2h response pending */
 	bool sync_pending;
 	/** @banned: Group banned */
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 5a30f17f5c28..c70c77141a74 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1704,11 +1704,36 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
 	return DRM_GPU_SCHED_STAT_NO_HANG;
 }
 
+static void guc_exec_queue_multi_queue_drop_suspend(struct xe_exec_queue *q);
+static int guc_exec_queue_suspend_wait_blocking(struct xe_exec_queue *q);
+
 static void guc_exec_queue_fini(struct xe_exec_queue *q)
 {
 	struct xe_guc_exec_queue *ge = q->guc;
 	struct xe_guc *guc = exec_queue_to_guc(q);
 
+	/*
+	 * A secondary can leave the group while still preempt suspended (e.g.
+	 * xe_vm_remove_compute_exec_queue() forces its preempt fence to signal,
+	 * which suspends it). It holds one forwarded suspend reference on the
+	 * primary, so drop it and resume the primary if it was the last member
+	 * that had it suspended. Primaries forward to nobody, so they don't need
+	 * this.
+	 *
+	 * First make sure the primary's forwarded suspend has completed. If the
+	 * secondary was killed/reset before its preempt fence worker ran, that
+	 * worker skips suspend_wait() (see preempt_fence_work_func()), leaving
+	 * the primary's suspend possibly in flight. drop_suspend() runs under a
+	 * spinlock and cannot wait, so drain it here with the uninterruptible
+	 * blocking wait; otherwise resuming the primary in drop_suspend() could
+	 * trip the !suspend_pending assert.
+	 */
+	if (xe_exec_queue_is_multi_queue_secondary(q)) {
+		if (READ_ONCE(q->guc->suspend_count))
+			guc_exec_queue_suspend_wait_blocking(q);
+		guc_exec_queue_multi_queue_drop_suspend(q);
+	}
+
 	if (xe_exec_queue_is_multi_queue_secondary(q)) {
 		struct xe_exec_queue_group *group = q->multi_queue.group;
 
@@ -2186,17 +2211,22 @@ static int guc_exec_queue_set_multi_queue_priority(struct xe_exec_queue *q,
 	return 0;
 }
 
-static int guc_exec_queue_suspend(struct xe_exec_queue *q)
+/*
+ * Core suspend: take a suspend reference on @q and, on the first reference,
+ * disable its GuC context so the GPU is actually preempted. Caller must have
+ * ensured @q is not killed/banned/wedged. Returns true if this was the first
+ * suspend reference (the 0->1 transition).
+ */
+static bool __guc_exec_queue_suspend(struct xe_exec_queue *q)
 {
 	struct xe_guc_exec_queue *ge = q->guc;
 	struct xe_gpu_scheduler *sched = &ge->sched;
 	struct xe_sched_msg *msg = ge->static_msgs + STATIC_MSG_SUSPEND;
-
-	if (exec_queue_killed_or_banned_or_wedged(q))
-		return -EINVAL;
+	bool first;
 
 	xe_sched_msg_lock(sched);
-	if (++ge->suspend_count == 1) {
+	first = (++ge->suspend_count == 1);
+	if (first) {
 		bool added = guc_exec_queue_try_add_msg(q, msg, SUSPEND);
 
 		/* slot must be free at 0->1 */
@@ -2205,6 +2235,80 @@ static int guc_exec_queue_suspend(struct xe_exec_queue *q)
 	}
 	xe_sched_msg_unlock(sched);
 
+	return first;
+}
+
+/*
+ * Core resume: drop a suspend reference on @q and, on the last reference,
+ * re-enable its GuC context. Returns true if this dropped the last suspend
+ * reference (the 1->0 transition).
+ */
+static bool __guc_exec_queue_resume(struct xe_exec_queue *q)
+{
+	struct xe_guc_exec_queue *ge = q->guc;
+	struct xe_gpu_scheduler *sched = &ge->sched;
+	struct xe_sched_msg *msg = ge->static_msgs + STATIC_MSG_RESUME;
+	struct xe_guc *guc = exec_queue_to_guc(q);
+	bool last;
+
+	xe_sched_msg_lock(sched);
+	xe_gt_assert(guc_to_gt(guc), !ge->suspend_pending);
+	xe_gt_assert(guc_to_gt(guc), ge->suspend_count > 0);
+	last = (--ge->suspend_count == 0);
+	if (last) {
+		bool added = guc_exec_queue_try_add_msg(q, msg, RESUME);
+
+		/* slot must be free at 1->0 */
+		xe_gt_assert(guc_to_gt(guc), added);
+	}
+	xe_sched_msg_unlock(sched);
+
+	return last;
+}
+
+static int guc_exec_queue_suspend(struct xe_exec_queue *q)
+{
+	if (exec_queue_killed_or_banned_or_wedged(q))
+		return -EINVAL;
+
+	/*
+	 * Non-multi-queue queues and multi-queue primaries suspend themselves
+	 * directly: their own msg_lock makes the suspend_count 0->1 transition
+	 * and the suspend_pending update atomic, so no group level serialization
+	 * is needed.
+	 */
+	if (!xe_exec_queue_is_multi_queue_secondary(q)) {
+		__guc_exec_queue_suspend(q);
+		return 0;
+	}
+
+	/*
+	 * A secondary's suspend is meaningless once the primary - which owns the
+	 * group's GuC context - is gone, so fail it too. This keeps the
+	 * secondary's effective state consistent with guc_exec_queue_reset_status(),
+	 * which already reports the primary's killed/banned/wedged state for
+	 * secondaries. A primary killed *after* this check is still handled at
+	 * message-processing time, where the SUSPEND is a no-op for a killed
+	 * context; this only covers an already-dead primary.
+	 */
+	if (exec_queue_killed_or_banned_or_wedged(xe_exec_queue_multi_queue_primary(q)))
+		return -EINVAL;
+
+	/*
+	 * A secondary doesn't interface with GuC: suspend it like any other
+	 * queue (its own suspend_count drives its internally handled scheduler
+	 * state) and, only on its own 0->1 transition, forward the suspend to the
+	 * primary so the GPU is actually preempted. Hold @suspend_lock so that
+	 * observing the secondary's transition and forwarding it to the primary
+	 * happen atomically; this keeps the primary's refcount paired with member
+	 * transitions even if the same secondary is suspended and resumed
+	 * concurrently across rebind cycles.
+	 */
+	scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) {
+		if (__guc_exec_queue_suspend(q))
+			__guc_exec_queue_suspend(xe_exec_queue_multi_queue_primary(q));
+	}
+
 	return 0;
 }
 
@@ -2336,21 +2440,59 @@ static int guc_exec_queue_suspend_wait_blocking(struct xe_exec_queue *q)
 
 static void guc_exec_queue_resume(struct xe_exec_queue *q)
 {
-	struct xe_guc_exec_queue *ge = q->guc;
-	struct xe_gpu_scheduler *sched = &ge->sched;
-	struct xe_sched_msg *msg = ge->static_msgs + STATIC_MSG_RESUME;
-	struct xe_guc *guc = exec_queue_to_guc(q);
+	/*
+	 * Non-multi-queue queues and multi-queue primaries resume themselves
+	 * directly; their own msg_lock is sufficient.
+	 */
+	if (!xe_exec_queue_is_multi_queue_secondary(q)) {
+		__guc_exec_queue_resume(q);
+		return;
+	}
 
-	xe_sched_msg_lock(sched);
-	xe_gt_assert(guc_to_gt(guc), !ge->suspend_pending);
-	xe_gt_assert(guc_to_gt(guc), ge->suspend_count > 0);
-	if (--ge->suspend_count == 0) {
-		bool added = guc_exec_queue_try_add_msg(q, msg, RESUME);
+	/*
+	 * Mirror of guc_exec_queue_suspend(): resume the secondary like any
+	 * other queue and, only on its own 1->0 transition, forward the resume
+	 * to the primary so the primary's GuC context is re-enabled once the
+	 * last member that suspended it resumes. @suspend_lock keeps the
+	 * secondary transition and the primary forward atomic.
+	 */
+	scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) {
+		if (__guc_exec_queue_resume(q))
+			__guc_exec_queue_resume(xe_exec_queue_multi_queue_primary(q));
+	}
+}
 
-		/* slot must be free at 1->0 */
-		xe_gt_assert(guc_to_gt(guc), added);
+/*
+ * Drop a leaving secondary's forwarded suspend reference on the primary and
+ * resume the primary if this was the last member that had it suspended.
+ * See guc_exec_queue_fini().
+ */
+static void guc_exec_queue_multi_queue_drop_suspend(struct xe_exec_queue *q)
+{
+	scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) {
+		struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+
+		/*
+		 * A suspended secondary holds exactly one suspend reference on the
+		 * primary (forwarded on its 0->1 transition). If it leaves while
+		 * still suspended, release that reference so the primary is not
+		 * kept disabled forever.
+		 */
+		if (!READ_ONCE(q->guc->suspend_count))
+			break;
+
+		if (exec_queue_killed_or_banned_or_wedged(primary))
+			break;
+
+		/*
+		 * No suspend_wait() here (and we can't - suspend_lock is a
+		 * spinlock). guc_exec_queue_fini() has already drained the
+		 * primary's forwarded suspend with the blocking wait, so its
+		 * suspend has completed (suspend_pending cleared) by the time we
+		 * resume it here. __guc_exec_queue_resume() asserts this.
+		 */
+		__guc_exec_queue_resume(primary);
 	}
-	xe_sched_msg_unlock(sched);
 }
 
 static bool guc_exec_queue_reset_status(struct xe_exec_queue *q)
-- 
2.43.0


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

* ✗ CI.checkpatch: warning for drm/xe: balance exec queue suspend/resume (rev6)
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (5 preceding siblings ...)
  2026-07-13  3:00 ` [PATCH v4 6/6] drm/xe/multi_queue: preempt primary on queue group suspend Niranjana Vishwanathapura
@ 2026-07-13  3:06 ` Patchwork
  2026-07-13  3:07 ` ✓ CI.KUnit: success " Patchwork
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-07-13  3:06 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe

== Series Details ==

Series: drm/xe: balance exec queue suspend/resume (rev6)
URL   : https://patchwork.freedesktop.org/series/169125/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e98827bf073b5214e2c89768bd2e18cb74bf7d17
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Date:   Sun Jul 12 20:00:10 2026 -0700

    drm/xe/multi_queue: preempt primary on queue group suspend
    
    In a multi-queue group only the group's primary queue interfaces with
    GuC for scheduling; suspend/resume of secondary queues is handled
    internally and is not forwarded to GuC. As a result, suspending a
    secondary queue alone (e.g. on its preempt fence signalling) does not
    disable the primary's GuC context, so in-flight GPU work of the group
    is not actually preempted.
    
    Make a secondary queue suspend/resume like any other queue, driven by
    its own xe_guc_exec_queue.suspend_count, and additionally forward the
    suspend/resume to the primary so the GPU is actually preempted. The
    forward is gated on the secondary's own 0->1 / 1->0 suspend_count
    transition, so each group member contributes exactly one suspend
    reference to the primary: the primary keeps its GuC context disabled
    until every member that suspended it has resumed, including across the
    resume-all-queues-each-rebind-cycle behavior. group->suspend_lock makes
    the secondary transition and the primary forward atomic, and a member
    leaving while still suspended (queue teardown) drops its reference on
    the primary.
    
    v2: Add comment about suspend_wait() in drop_suspend()
    v3: Do not suspend a secondary if primary is killed,
        wait for primay suspend to complete before drop_suspend()
    
    Assisted-by: Github-Copilot:Claude-opus-4.8
    Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
    Reviewed-by: Matthew Brost <matthew.brost@intel.com>
+ /mt/dim checkpatch f8ed2f7559466d59169b7a840c2403a0d4614f88 drm-intel
5770c32e5157 drm/xe: only resume exec queues that were actually suspended
3d6a3314da01 drm/xe/guc: ban exec queue on suspend timeout
81598e223301 drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup
e50a920712d5 drm/xe/hw_engine_group: propagate suspend failures during mode switch
e217986fe84d drm/xe/guc: Add suspend refcount to exec queue ops
-:22: WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by:
#22: 
Co-authored-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

-:22: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#22: 
Co-authored-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

total: 0 errors, 2 warnings, 0 checks, 63 lines checked
e98827bf073b drm/xe/multi_queue: preempt primary on queue group suspend



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

* ✓ CI.KUnit: success for drm/xe: balance exec queue suspend/resume (rev6)
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (6 preceding siblings ...)
  2026-07-13  3:06 ` ✗ CI.checkpatch: warning for drm/xe: balance exec queue suspend/resume (rev6) Patchwork
@ 2026-07-13  3:07 ` Patchwork
  2026-07-13  3:43 ` ✓ Xe.CI.BAT: " Patchwork
  2026-07-13  4:52 ` ✓ Xe.CI.FULL: " Patchwork
  9 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-07-13  3:07 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe

== Series Details ==

Series: drm/xe: balance exec queue suspend/resume (rev6)
URL   : https://patchwork.freedesktop.org/series/169125/
State : success

== Summary ==

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

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[03:07:08] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[03:07:10] 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
[03:07:20] Starting KUnit Kernel (1/1)...
[03:07:20] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[03:07:20] ================= ttm_device (5 subtests) ==================
[03:07:20] [PASSED] ttm_device_init_basic
[03:07:20] [PASSED] ttm_device_init_multiple
[03:07:20] [PASSED] ttm_device_fini_basic
[03:07:20] [PASSED] ttm_device_init_no_vma_man
[03:07:20] ================== ttm_device_init_pools  ==================
[03:07:20] [PASSED] No DMA allocations, no DMA32 required
[03:07:20] [PASSED] DMA allocations, DMA32 required
[03:07:20] [PASSED] No DMA allocations, DMA32 required
[03:07:20] [PASSED] DMA allocations, no DMA32 required
[03:07:20] ============== [PASSED] ttm_device_init_pools ==============
[03:07:20] =================== [PASSED] ttm_device ====================
[03:07:20] ================== ttm_pool (8 subtests) ===================
[03:07:20] ================== ttm_pool_alloc_basic  ===================
[03:07:20] [PASSED] One page
[03:07:20] [PASSED] More than one page
[03:07:20] [PASSED] Above the allocation limit
[03:07:20] [PASSED] One page, with coherent DMA mappings enabled
[03:07:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[03:07:20] ============== [PASSED] ttm_pool_alloc_basic ===============
[03:07:20] ============== ttm_pool_alloc_basic_dma_addr  ==============
[03:07:20] [PASSED] One page
[03:07:20] [PASSED] More than one page
[03:07:20] [PASSED] Above the allocation limit
[03:07:20] [PASSED] One page, with coherent DMA mappings enabled
[03:07:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[03:07:20] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[03:07:20] [PASSED] ttm_pool_alloc_order_caching_match
[03:07:20] [PASSED] ttm_pool_alloc_caching_mismatch
[03:07:20] [PASSED] ttm_pool_alloc_order_mismatch
[03:07:20] [PASSED] ttm_pool_free_dma_alloc
[03:07:20] [PASSED] ttm_pool_free_no_dma_alloc
[03:07:20] [PASSED] ttm_pool_fini_basic
[03:07:20] ==================== [PASSED] ttm_pool =====================
[03:07:20] ================ ttm_resource (8 subtests) =================
[03:07:20] ================= ttm_resource_init_basic  =================
[03:07:20] [PASSED] Init resource in TTM_PL_SYSTEM
[03:07:20] [PASSED] Init resource in TTM_PL_VRAM
[03:07:20] [PASSED] Init resource in a private placement
[03:07:20] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[03:07:20] ============= [PASSED] ttm_resource_init_basic =============
[03:07:20] [PASSED] ttm_resource_init_pinned
[03:07:20] [PASSED] ttm_resource_fini_basic
[03:07:20] [PASSED] ttm_resource_manager_init_basic
[03:07:20] [PASSED] ttm_resource_manager_usage_basic
[03:07:20] [PASSED] ttm_resource_manager_set_used_basic
[03:07:20] [PASSED] ttm_sys_man_alloc_basic
[03:07:20] [PASSED] ttm_sys_man_free_basic
[03:07:20] ================== [PASSED] ttm_resource ===================
[03:07:20] =================== ttm_tt (15 subtests) ===================
[03:07:20] ==================== ttm_tt_init_basic  ====================
[03:07:20] [PASSED] Page-aligned size
[03:07:20] [PASSED] Extra pages requested
[03:07:20] ================ [PASSED] ttm_tt_init_basic ================
[03:07:20] [PASSED] ttm_tt_init_misaligned
[03:07:20] [PASSED] ttm_tt_fini_basic
[03:07:20] [PASSED] ttm_tt_fini_sg
[03:07:20] [PASSED] ttm_tt_fini_shmem
[03:07:20] [PASSED] ttm_tt_create_basic
[03:07:20] [PASSED] ttm_tt_create_invalid_bo_type
[03:07:20] [PASSED] ttm_tt_create_ttm_exists
[03:07:20] [PASSED] ttm_tt_create_failed
[03:07:20] [PASSED] ttm_tt_destroy_basic
[03:07:20] [PASSED] ttm_tt_populate_null_ttm
[03:07:20] [PASSED] ttm_tt_populate_populated_ttm
[03:07:20] [PASSED] ttm_tt_unpopulate_basic
[03:07:20] [PASSED] ttm_tt_unpopulate_empty_ttm
[03:07:20] [PASSED] ttm_tt_swapin_basic
[03:07:20] ===================== [PASSED] ttm_tt ======================
[03:07:20] =================== ttm_bo (14 subtests) ===================
[03:07:20] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[03:07:20] [PASSED] Cannot be interrupted and sleeps
[03:07:20] [PASSED] Cannot be interrupted, locks straight away
[03:07:20] [PASSED] Can be interrupted, sleeps
[03:07:20] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[03:07:20] [PASSED] ttm_bo_reserve_locked_no_sleep
[03:07:20] [PASSED] ttm_bo_reserve_no_wait_ticket
[03:07:20] [PASSED] ttm_bo_reserve_double_resv
[03:07:20] [PASSED] ttm_bo_reserve_interrupted
[03:07:20] [PASSED] ttm_bo_reserve_deadlock
[03:07:20] [PASSED] ttm_bo_unreserve_basic
[03:07:20] [PASSED] ttm_bo_unreserve_pinned
[03:07:20] [PASSED] ttm_bo_unreserve_bulk
[03:07:20] [PASSED] ttm_bo_fini_basic
[03:07:20] [PASSED] ttm_bo_fini_shared_resv
[03:07:20] [PASSED] ttm_bo_pin_basic
[03:07:20] [PASSED] ttm_bo_pin_unpin_resource
[03:07:20] [PASSED] ttm_bo_multiple_pin_one_unpin
[03:07:20] ===================== [PASSED] ttm_bo ======================
[03:07:20] ============== ttm_bo_validate (22 subtests) ===============
[03:07:20] ============== ttm_bo_init_reserved_sys_man  ===============
[03:07:20] [PASSED] Buffer object for userspace
[03:07:20] [PASSED] Kernel buffer object
[03:07:20] [PASSED] Shared buffer object
[03:07:20] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[03:07:20] ============== ttm_bo_init_reserved_mock_man  ==============
[03:07:20] [PASSED] Buffer object for userspace
[03:07:20] [PASSED] Kernel buffer object
[03:07:20] [PASSED] Shared buffer object
[03:07:20] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[03:07:20] [PASSED] ttm_bo_init_reserved_resv
[03:07:20] ================== ttm_bo_validate_basic  ==================
[03:07:20] [PASSED] Buffer object for userspace
[03:07:20] [PASSED] Kernel buffer object
[03:07:20] [PASSED] Shared buffer object
[03:07:20] ============== [PASSED] ttm_bo_validate_basic ==============
[03:07:20] [PASSED] ttm_bo_validate_invalid_placement
[03:07:20] ============= ttm_bo_validate_same_placement  ==============
[03:07:20] [PASSED] System manager
[03:07:20] [PASSED] VRAM manager
[03:07:20] ========= [PASSED] ttm_bo_validate_same_placement ==========
[03:07:20] [PASSED] ttm_bo_validate_failed_alloc
[03:07:20] [PASSED] ttm_bo_validate_pinned
[03:07:20] [PASSED] ttm_bo_validate_busy_placement
[03:07:20] ================ ttm_bo_validate_multihop  =================
[03:07:20] [PASSED] Buffer object for userspace
[03:07:20] [PASSED] Kernel buffer object
[03:07:20] [PASSED] Shared buffer object
[03:07:20] ============ [PASSED] ttm_bo_validate_multihop =============
[03:07:20] ========== ttm_bo_validate_no_placement_signaled  ==========
[03:07:20] [PASSED] Buffer object in system domain, no page vector
[03:07:20] [PASSED] Buffer object in system domain with an existing page vector
[03:07:20] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[03:07:20] ======== ttm_bo_validate_no_placement_not_signaled  ========
[03:07:20] [PASSED] Buffer object for userspace
[03:07:20] [PASSED] Kernel buffer object
[03:07:20] [PASSED] Shared buffer object
[03:07:20] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[03:07:20] [PASSED] ttm_bo_validate_move_fence_signaled
[03:07:20] ========= ttm_bo_validate_move_fence_not_signaled  =========
[03:07:20] [PASSED] Waits for GPU
[03:07:20] [PASSED] Tries to lock straight away
[03:07:20] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[03:07:20] [PASSED] ttm_bo_validate_swapout
[03:07:20] [PASSED] ttm_bo_validate_happy_evict
[03:07:20] [PASSED] ttm_bo_validate_all_pinned_evict
[03:07:20] [PASSED] ttm_bo_validate_allowed_only_evict
[03:07:20] [PASSED] ttm_bo_validate_deleted_evict
[03:07:20] [PASSED] ttm_bo_validate_busy_domain_evict
[03:07:20] [PASSED] ttm_bo_validate_evict_gutting
[03:07:20] [PASSED] ttm_bo_validate_recrusive_evict
[03:07:20] ================= [PASSED] ttm_bo_validate =================
[03:07:20] ============================================================
[03:07:20] Testing complete. Ran 102 tests: passed: 102
[03:07:20] Elapsed time: 11.946s total, 1.804s configuring, 9.927s building, 0.182s 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 drm/xe: balance exec queue suspend/resume (rev6)
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (7 preceding siblings ...)
  2026-07-13  3:07 ` ✓ CI.KUnit: success " Patchwork
@ 2026-07-13  3:43 ` Patchwork
  2026-07-13  4:52 ` ✓ Xe.CI.FULL: " Patchwork
  9 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-07-13  3:43 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: balance exec queue suspend/resume (rev6)
URL   : https://patchwork.freedesktop.org/series/169125/
State : success

== Summary ==

CI Bug Log - changes from xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf_BAT -> xe-pw-169125v6_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (13 -> 13)
------------------------------

  No changes in participating hosts


Changes
-------

  No changes found


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

  * Linux: xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf -> xe-pw-169125v6

  IGT_9002: 9002
  xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf: 67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf
  xe-pw-169125v6: 169125v6

== Logs ==

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

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

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

* ✓ Xe.CI.FULL: success for drm/xe: balance exec queue suspend/resume (rev6)
  2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
                   ` (8 preceding siblings ...)
  2026-07-13  3:43 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-07-13  4:52 ` Patchwork
  9 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-07-13  4:52 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: balance exec queue suspend/resume (rev6)
URL   : https://patchwork.freedesktop.org/series/169125/
State : success

== Summary ==

CI Bug Log - changes from xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf_FULL -> xe-pw-169125v6_FULL
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts

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

  Here are the changes found in xe-pw-169125v6_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@x-tiled-32bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][1] ([Intel XE#2327]) +1 other test skip
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_big_fb@x-tiled-32bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-addfb:
    - shard-bmg:          NOTRUN -> [SKIP][2] ([Intel XE#2328] / [Intel XE#7367])
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_big_fb@y-tiled-addfb.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
    - shard-lnl:          NOTRUN -> [SKIP][3] ([Intel XE#1124])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#1124]) +3 other tests skip
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

  * igt@kms_bw@linear-tiling-1-displays-target-2160x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][5] ([Intel XE#367])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_bw@linear-tiling-1-displays-target-2160x1440p.html

  * igt@kms_ccs@crc-primary-basic-y-tiled-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#2887]) +4 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_ccs@crc-primary-basic-y-tiled-ccs.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs:
    - shard-lnl:          NOTRUN -> [SKIP][7] ([Intel XE#3432])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-mc-ccs.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][8] ([Intel XE#3432])
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs-cc:
    - shard-lnl:          NOTRUN -> [SKIP][9] ([Intel XE#2887])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs-cc.html

  * igt@kms_cdclk@plane-scaling:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2724] / [Intel XE#7449])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_cdclk@plane-scaling.html

  * igt@kms_chamelium_color@ctm-0-50:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#2325] / [Intel XE#7358])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_chamelium_color@ctm-0-50.html

  * igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#2252]) +1 other test skip
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k.html

  * igt@kms_chamelium_frames@dp-crc-fast:
    - shard-lnl:          NOTRUN -> [SKIP][13] ([Intel XE#373])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_chamelium_frames@dp-crc-fast.html

  * igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][14] ([Intel XE#3304] / [Intel XE#7374]) +1 other test fail
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-2.html

  * igt@kms_cursor_crc@cursor-offscreen-32x32:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#2320]) +3 other tests skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_cursor_crc@cursor-offscreen-32x32.html

  * igt@kms_cursor_crc@cursor-sliding-512x512:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#2321] / [Intel XE#7355])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_cursor_crc@cursor-sliding-512x512.html

  * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#2286] / [Intel XE#6035])
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-dp2:
    - shard-bmg:          NOTRUN -> [FAIL][18] ([Intel XE#3321]) +1 other test fail
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-dp2.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
    - shard-lnl:          [PASS][19] -> [FAIL][20] ([Intel XE#301] / [Intel XE#3149])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html

  * igt@kms_flip@flip-vs-expired-vblank@a-edp1:
    - shard-lnl:          [PASS][21] -> [FAIL][22] ([Intel XE#301]) +1 other test fail
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#7178] / [Intel XE#7351])
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
    - shard-lnl:          NOTRUN -> [SKIP][24] ([Intel XE#7178] / [Intel XE#7351])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html

  * igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#7179])
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x.html

  * igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-pri-shrfb-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][27] ([Intel XE#7905]) +2 other tests skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#7061])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#4141]) +6 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#2311]) +19 other tests skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-indfb-plflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][31] ([Intel XE#656] / [Intel XE#7905]) +3 other tests skip
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-indfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@fbchdr-1p-offscreen-pri-shrfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][32] ([Intel XE#7865]) +2 other tests skip
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_frontbuffer_tracking@fbchdr-1p-offscreen-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2313]) +24 other tests skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-abgr161616f-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][34] ([Intel XE#7061] / [Intel XE#7356])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_frontbuffer_tracking@psr-abgr161616f-draw-mmap-wc.html

  * igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#7283])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier.html

  * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b.html

  * igt@kms_pm_dc@dc3co-vpb-simulation@pr:
    - shard-bmg:          NOTRUN -> [SKIP][37] ([Intel XE#8395]) +1 other test skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_pm_dc@dc3co-vpb-simulation@pr.html

  * igt@kms_pm_dc@dc3co-vpb-simulation@psr2:
    - shard-bmg:          NOTRUN -> [SKIP][38] ([Intel XE#8396])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_pm_dc@dc3co-vpb-simulation@psr2.html

  * igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#1489]) +2 other tests skip
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf.html

  * igt@kms_psr2_su@frontbuffer-xrgb8888:
    - shard-bmg:          NOTRUN -> [SKIP][40] ([Intel XE#2387] / [Intel XE#7429])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_psr2_su@frontbuffer-xrgb8888.html

  * igt@kms_psr@pr-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_psr@pr-suspend.html

  * igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#7795])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html
    - shard-lnl:          [PASS][43] -> [SKIP][44] ([Intel XE#8361])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-1/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-5/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html

  * igt@kms_sharpness_filter@filter-strength:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#6503])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@kms_sharpness_filter@filter-strength.html

  * igt@kms_vrr@flip-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#1499])
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_vrr@flip-suspend.html

  * igt@xe_evict@evict-mixed-many-threads-small:
    - shard-bmg:          [PASS][47] -> [INCOMPLETE][48] ([Intel XE#6321] / [Intel XE#8355])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-4/igt@xe_evict@evict-mixed-many-threads-small.html
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html

  * igt@xe_exec_balancer@many-cm-virtual-userptr-invalidate:
    - shard-lnl:          NOTRUN -> [SKIP][49] ([Intel XE#7482]) +1 other test skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@xe_exec_balancer@many-cm-virtual-userptr-invalidate.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#2322] / [Intel XE#7372]) +3 other tests skip
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate.html

  * igt@xe_exec_fault_mode@atomic-many:
    - shard-bmg:          [PASS][51] -> [FAIL][52] ([Intel XE#8578])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-9/igt@xe_exec_fault_mode@atomic-many.html
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-6/igt@xe_exec_fault_mode@atomic-many.html

  * igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#8374]) +3 other tests skip
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr.html

  * igt@xe_exec_fault_mode@twice-multi-queue-invalid-fault:
    - shard-lnl:          NOTRUN -> [SKIP][54] ([Intel XE#8374])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@xe_exec_fault_mode@twice-multi-queue-invalid-fault.html

  * igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority-smem:
    - shard-lnl:          NOTRUN -> [SKIP][55] ([Intel XE#8364])
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority-smem.html

  * igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-dyn-priority-smem:
    - shard-bmg:          NOTRUN -> [SKIP][56] ([Intel XE#8364]) +7 other tests skip
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-dyn-priority-smem.html

  * igt@xe_exec_reset@cm-multi-queue-gt-reset:
    - shard-lnl:          NOTRUN -> [SKIP][57] ([Intel XE#8369]) +1 other test skip
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@xe_exec_reset@cm-multi-queue-gt-reset.html

  * igt@xe_exec_reset@multi-queue-cat-error-on-secondary:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#8369])
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@xe_exec_reset@multi-queue-cat-error-on-secondary.html

  * igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate-race:
    - shard-bmg:          NOTRUN -> [SKIP][59] ([Intel XE#8378]) +3 other tests skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate-race.html

  * igt@xe_module_load@unload:
    - shard-bmg:          [PASS][60] -> [ABORT][61] ([Intel XE#8007]) +1 other test abort
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-2/igt@xe_module_load@unload.html
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-4/igt@xe_module_load@unload.html

  * igt@xe_multigpu_svm@mgpu-atomic-op-basic:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#6964])
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_multigpu_svm@mgpu-atomic-op-basic.html

  * igt@xe_pxp@pxp-termination-key-update-post-termination-irq:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_pxp@pxp-termination-key-update-post-termination-irq.html

  * igt@xe_query@multigpu-query-topology-l3-bank-mask:
    - shard-bmg:          NOTRUN -> [SKIP][64] ([Intel XE#944])
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-7/igt@xe_query@multigpu-query-topology-l3-bank-mask.html

  * igt@xe_wedged@wedged-mode-toggle:
    - shard-lnl:          [PASS][65] -> [ABORT][66] ([Intel XE#8007])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-3/igt@xe_wedged@wedged-mode-toggle.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-1/igt@xe_wedged@wedged-mode-toggle.html

  
#### Possible fixes ####

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
    - shard-lnl:          [FAIL][67] ([Intel XE#301]) -> [PASS][68]
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html

  * igt@kms_flip@flip-vs-suspend:
    - shard-lnl:          [INCOMPLETE][69] ([Intel XE#2597] / [Intel XE#8488]) -> [PASS][70] +1 other test pass
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-6/igt@kms_flip@flip-vs-suspend.html
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-6/igt@kms_flip@flip-vs-suspend.html

  * igt@kms_flip@plain-flip-ts-check-interruptible@b-hdmi-a3:
    - shard-bmg:          [FAIL][71] ([Intel XE#5408] / [Intel XE#6266]) -> [PASS][72] +1 other test pass
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-6/igt@kms_flip@plain-flip-ts-check-interruptible@b-hdmi-a3.html
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@kms_flip@plain-flip-ts-check-interruptible@b-hdmi-a3.html

  * igt@xe_exec_reset@long-spin-many-preempt-threads:
    - shard-bmg:          [FAIL][73] ([Intel XE#7956]) -> [PASS][74]
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-8/igt@xe_exec_reset@long-spin-many-preempt-threads.html
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-9/igt@xe_exec_reset@long-spin-many-preempt-threads.html

  * igt@xe_fault_injection@inject-fault-probe-function-xe_guc_relay_init:
    - shard-bmg:          [ABORT][75] ([Intel XE#8007]) -> [PASS][76] +1 other test pass
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-4/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_relay_init.html
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-3/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_relay_init.html

  * igt@xe_pmu@fn-engine-activity-sched-if-idle:
    - shard-bmg:          [FAIL][77] ([Intel XE#7992]) -> [PASS][78]
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-3/igt@xe_pmu@fn-engine-activity-sched-if-idle.html
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-2/igt@xe_pmu@fn-engine-activity-sched-if-idle.html

  
#### Warnings ####

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [FAIL][79] ([Intel XE#301]) -> [FAIL][80] ([Intel XE#301] / [Intel XE#3149])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][81] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][82] ([Intel XE#3544])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf/shard-bmg-7/igt@kms_hdr@brightness-with-hdr.html
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169125v6/shard-bmg-9/igt@kms_hdr@brightness-with-hdr.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2328
  [Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
  [Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
  [Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
  [Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#5408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5408
  [Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
  [Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
  [Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7367
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
  [Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
  [Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#7956]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7956
  [Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
  [Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
  [Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
  [Intel XE#8361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8361
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
  [Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
  [Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
  [Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
  [Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
  [Intel XE#8488]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8488
  [Intel XE#8578]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8578
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * Linux: xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf -> xe-pw-169125v6

  IGT_9002: 9002
  xe-5389-67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf: 67aa8ad5c4c59cd1a7c379ad70feec4c04caebaf
  xe-pw-169125v6: 169125v6

== Logs ==

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

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

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

* Re: [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout
  2026-07-13  3:00 ` [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout Niranjana Vishwanathapura
@ 2026-07-13 16:15   ` Matthew Brost
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Brost @ 2026-07-13 16:15 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe, thomas.hellstrom

On Sun, Jul 12, 2026 at 08:00:06PM -0700, Niranjana Vishwanathapura wrote:
> Harden guc_exec_queue_suspend_wait():
> 
>  - In multi-queue mode the primary owns the group's GuC scheduling
>    context, so wait on the primary's suspend to complete.
> 
>  - On timeout, ban the queue and trigger cleanup rather than leaving it
>    suspended forever. Clearing suspend_pending via __suspend_fence_signal()
>    lets a subsequent resume() proceed without tripping the
>    !suspend_pending assert. A timeout on the primary wedges the whole
>    group, so ban and tear down the entire group in the multi-queue case.
>    The ban/cleanup is factored into guc_exec_queue_suspend_timeout_ban().
> 
> Add a note that on a signal (-ERESTARTSYS) the queue is not banned and
> the suspend is not confirmed complete, so callers must not resume()
> without re-confirming.
> 
> Assisted-by: Github-Copilot:Claude-opus-4.8
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

Reviewed-by: Matthew Brost <matthew.brost@intel.com>

> ---
>  drivers/gpu/drm/xe/xe_guc_submit.c | 53 +++++++++++++++++++++++++++---
>  1 file changed, 49 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index cec3bbf3a10e..3ece51451f86 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -2202,12 +2202,53 @@ static int guc_exec_queue_suspend(struct xe_exec_queue *q)
>  	return 0;
>  }
>  
> +static void guc_exec_queue_suspend_timeout_ban(struct xe_exec_queue *q)
> +{
> +	struct xe_guc *guc = exec_queue_to_guc(q);
> +
> +	xe_gt_warn(guc_to_gt(guc),
> +		   "Suspend fence, guc_id=%d, failed to respond, banning queue",
> +		   q->guc->id);
> +	/*
> +	 * The GuC failed to respond to the suspend within the timeout. This is
> +	 * not recoverable for this context, so ban it and tear it down via
> +	 * cleanup rather than leave it suspended forever. __suspend_fence_signal
> +	 * clears suspend_pending and wakes any waiter.
> +	 *
> +	 * @q is the primary here; it owns the group's GuC context, so a failure
> +	 * to suspend it wedges the whole group. Ban and tear down the entire
> +	 * group in the multi-queue case.
> +	 */
> +	if (xe_exec_queue_is_multi_queue(q)) {
> +		set_exec_queue_group_banned(q);
> +		__suspend_fence_signal(q);
> +		xe_guc_exec_queue_group_trigger_cleanup(q);
> +	} else {
> +		set_exec_queue_banned(q);
> +		__suspend_fence_signal(q);
> +		xe_guc_exec_queue_trigger_cleanup(q);
> +	}
> +}
> +
>  static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
>  {
>  	struct xe_guc *guc = exec_queue_to_guc(q);
>  	struct xe_device *xe = guc_to_xe(guc);
>  	int ret;
>  
> +	/*
> +	 * In multi-queue mode the primary owns the GuC scheduling context for
> +	 * the whole group, so wait on the primary's suspend to complete. All
> +	 * group members share the same GuC/device, so guc, xe and timeout above
> +	 * are computed from @q directly.
> +	 *
> +	 * A secondary's suspend is short-circuited (no GuC round-trip) and, as
> +	 * its SUSPEND message precedes the primary's on the shared FIFO
> +	 * submit_wq, completes before the primary's. So waiting on the primary
> +	 * is sufficient.
> +	 */
> +	q = xe_exec_queue_multi_queue_primary(q);
> +
>  	/*
>  	 * Likely don't need to check exec_queue_killed() as we clear
>  	 * suspend_pending upon kill but to be paranoid but races in which
> @@ -2230,10 +2271,7 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
>  		return -EAGAIN;
>  
>  	if (!ret) {
> -		xe_gt_warn(guc_to_gt(guc),
> -			   "Suspend fence, guc_id=%d, failed to respond",
> -			   q->guc->id);
> -		/* XXX: Trigger GT reset? */
> +		guc_exec_queue_suspend_timeout_ban(q);
>  		return -ETIME;
>  	} else if (IS_SRIOV_VF(xe) && !WAIT_COND) {
>  		/* Corner case on RESFIX DONE where vf_recovery() changes */
> @@ -2242,6 +2280,13 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
>  
>  #undef WAIT_COND
>  
> +	/*
> +	 * ret < 0 (-ERESTARTSYS): the interruptible wait was aborted by a
> +	 * signal. The queue is not banned - the failure is in the waiter, not
> +	 * the queue. The suspend is not confirmed complete, so suspend_pending
> +	 * may still be set; callers must not resume() on this error without
> +	 * re-confirming the suspend.
> +	 */
>  	return ret < 0 ? ret : 0;
>  }
>  
> -- 
> 2.43.0
> 

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

* Re: [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup
  2026-07-13  3:00 ` [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup Niranjana Vishwanathapura
@ 2026-07-13 16:17   ` Matthew Brost
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Brost @ 2026-07-13 16:17 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe, thomas.hellstrom

On Sun, Jul 12, 2026 at 08:00:07PM -0700, Niranjana Vishwanathapura wrote:
> Add a suspend_wait_blocking() exec queue op: an uninterruptible variant
> of suspend_wait() for callers that must complete a suspend on behalf of a
> queue that may belong to a different process than the calling task (e.g.
> cleanup/undo paths). An interruptible suspend_wait() returns -ERESTARTSYS
> when the calling task is signalled, which would leave the other process's
> queue suspended forever - a cross-process DoS.
> 
> The blocking variant waits uninterruptibly and, on a genuine GuC timeout,
> bans and tears down the queue like suspend_wait() (shared via
> guc_exec_queue_suspend_timeout_ban()). It deliberately does not handle VF
> recovery since a blocking caller cannot retry.
> 
> Assisted-by: Github-Copilot:Claude-opus-4.8
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

Reviewed-by: Matthew Brost <matthew.brost@intel.com>

> ---
>  drivers/gpu/drm/xe/xe_exec_queue_types.h |  9 ++++++
>  drivers/gpu/drm/xe/xe_execlist.c         |  1 +
>  drivers/gpu/drm/xe/xe_guc_submit.c       | 39 ++++++++++++++++++++++++
>  3 files changed, 49 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> index dbb2ee8eb5de..0aa0823cbdaa 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
> +++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> @@ -322,6 +322,15 @@ struct xe_exec_queue_ops {
>  	 * avoidance mechanism.
>  	 */
>  	int (*suspend_wait)(struct xe_exec_queue *q);
> +	/**
> +	 * @suspend_wait_blocking: Like @suspend_wait, but waits uninterruptibly
> +	 * (does not abort on the calling task's signals). For cleanup/undo paths
> +	 * that must complete a suspend on behalf of a queue that may belong to a
> +	 * different process than the caller: a signal to the caller must not
> +	 * abandon the wait, which would leave the other process's queue
> +	 * suspended forever (cross-process DoS). A timeout bans like suspend_wait.
> +	 */
> +	int (*suspend_wait_blocking)(struct xe_exec_queue *q);
>  	/**
>  	 * @resume: Resume exec queue execution, exec queue must be in a suspended
>  	 * state and dma fence returned from most recent suspend call must be
> diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
> index 6b86b4f9cc1c..cc33ae80e8cf 100644
> --- a/drivers/gpu/drm/xe/xe_execlist.c
> +++ b/drivers/gpu/drm/xe/xe_execlist.c
> @@ -468,6 +468,7 @@ static const struct xe_exec_queue_ops execlist_exec_queue_ops = {
>  	.set_preempt_timeout = execlist_exec_queue_set_preempt_timeout,
>  	.suspend = execlist_exec_queue_suspend,
>  	.suspend_wait = execlist_exec_queue_suspend_wait,
> +	.suspend_wait_blocking = execlist_exec_queue_suspend_wait,
>  	.resume = execlist_exec_queue_resume,
>  	.reset_status = execlist_exec_queue_reset_status,
>  };
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 3ece51451f86..de9c131fc62d 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -2290,6 +2290,44 @@ static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q)
>  	return ret < 0 ? ret : 0;
>  }
>  
> +static int guc_exec_queue_suspend_wait_blocking(struct xe_exec_queue *q)
> +{
> +	struct xe_guc *guc = exec_queue_to_guc(q);
> +	struct xe_device *xe = guc_to_xe(guc);
> +	int ret;
> +
> +	/*
> +	 * Uninterruptible variant of guc_exec_queue_suspend_wait() for callers
> +	 * that must complete the wait on behalf of a queue possibly owned by a
> +	 * different process (e.g. cleanup/undo paths). An interruptible wait
> +	 * could return -ERESTARTSYS if the calling task is signalled, leaving
> +	 * that queue suspended forever (cross-process DoS).
> +	 *
> +	 * A timeout is still a real per-queue fault, so it bans and cleans up
> +	 * like suspend_wait(). VF recovery is deliberately not handled (no
> +	 * -EAGAIN) since a blocking caller cannot retry.
> +	 */
> +	q = xe_exec_queue_multi_queue_primary(q);
> +
> +#define WAIT_COND \
> +	(!READ_ONCE(q->guc->suspend_pending) ||	exec_queue_killed(q) || \
> +	 xe_guc_read_stopped(guc))
> +
> +	if (IS_SRIOV_VF(xe))
> +		ret = wait_event_timeout(guc->ct.wq, WAIT_COND, HZ * 5);
> +	else
> +		ret = wait_event_timeout(q->guc->suspend_wait, WAIT_COND, HZ * 5);
> +
> +#undef WAIT_COND
> +
> +	if (!ret) {
> +		guc_exec_queue_suspend_timeout_ban(q);
> +		return -ETIME;
> +	}
> +
> +	return 0;
> +}
> +
>  static void guc_exec_queue_resume(struct xe_exec_queue *q)
>  {
>  	struct xe_gpu_scheduler *sched = &q->guc->sched;
> @@ -2329,6 +2367,7 @@ static const struct xe_exec_queue_ops guc_exec_queue_ops = {
>  	.set_multi_queue_priority = guc_exec_queue_set_multi_queue_priority,
>  	.suspend = guc_exec_queue_suspend,
>  	.suspend_wait = guc_exec_queue_suspend_wait,
> +	.suspend_wait_blocking = guc_exec_queue_suspend_wait_blocking,
>  	.resume = guc_exec_queue_resume,
>  	.reset_status = guc_exec_queue_reset_status,
>  };
> -- 
> 2.43.0
> 

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

* Re: [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch
  2026-07-13  3:00 ` [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch Niranjana Vishwanathapura
@ 2026-07-13 16:20   ` Matthew Brost
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Brost @ 2026-07-13 16:20 UTC (permalink / raw)
  To: Niranjana Vishwanathapura; +Cc: intel-xe, thomas.hellstrom

On Sun, Jul 12, 2026 at 08:00:08PM -0700, Niranjana Vishwanathapura wrote:
> The hw engine group fault-mode switch suspends all faulting LR queues
> but ignored the suspend()/suspend_wait() return value. A suspend() can
> fail (e.g. the queue is killed/banned/wedged), leaving the queue
> un-suspended, so silently continuing could later resume a queue that was
> never suspended.
> 
> Propagate the failure instead: in xe_hw_engine_group_add_exec_queue()
> bail out if suspend() fails, and in
> xe_hw_engine_group_suspend_faulting_lr_jobs() undo the partial suspend
> via a new err_resume path that resumes the sibling queues already
> suspended in this call. Record per-queue success with lr.suspended so
> only queues that were actually suspended are waited on and resumed, and
> skip the cleanup resume() when suspend_wait() failed or the queue was
> reset/killed/banned/wedged (its suspend may not have completed, so
> resuming would trip the !suspend_pending assert in the resume path;
> teardown resolves its state instead).
> 
> Gate the group resume worker (hw_engine_group_resume_lr_jobs_func()) on
> lr.suspended for the same reason, so it only resumes queues that were
> actually suspended.
> 
> v2: Don't let a dying queue block the switch (Matt Brost)
> 
> Assisted-by: Github-Copilot:Claude-opus-4.8
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

Reviewed-by: Matthew Brost <matthew.brost@intel.com>

> ---
>  drivers/gpu/drm/xe/xe_hw_engine_group.c | 85 ++++++++++++++++++++++++-
>  1 file changed, 82 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_hw_engine_group.c b/drivers/gpu/drm/xe/xe_hw_engine_group.c
> index 02cf32ae5aa9..0804b426b6f9 100644
> --- a/drivers/gpu/drm/xe/xe_hw_engine_group.c
> +++ b/drivers/gpu/drm/xe/xe_hw_engine_group.c
> @@ -34,6 +34,15 @@ hw_engine_group_resume_lr_jobs_func(struct work_struct *w)
>  		if (!xe_vm_in_fault_mode(q->vm))
>  			continue;
>  
> +		/*
> +		 * Only resume queues that were actually suspended. A queue whose
> +		 * suspend() failed (e.g. killed/banned/wedged) was never
> +		 * suspended, so it must not be resumed.
> +		 */
> +		if (!READ_ONCE(q->lr.suspended))
> +			continue;
> +
> +		WRITE_ONCE(q->lr.suspended, false);
>  		q->ops->resume(q);
>  	}
>  
> @@ -140,7 +149,18 @@ int xe_hw_engine_group_add_exec_queue(struct xe_hw_engine_group *group, struct x
>  		return err;
>  
>  	if (xe_vm_in_fault_mode(q->vm) && group->cur_mode == EXEC_MODE_DMA_FENCE) {
> -		q->ops->suspend(q);
> +		/*
> +		 * suspend() can fail (e.g. killed/banned/wedged), leaving the
> +		 * queue un-suspended. Propagate the failure so the queue is not
> +		 * added; on failure nothing was suspended, so there is nothing to
> +		 * undo. Only record the queue as suspended (and later resume it)
> +		 * once suspend() has succeeded.
> +		 */
> +		err = q->ops->suspend(q);
> +		if (err)
> +			goto err_suspend;
> +
> +		WRITE_ONCE(q->lr.suspended, true);
>  		err = q->ops->suspend_wait(q);
>  		if (err)
>  			goto err_suspend;
> @@ -216,8 +236,22 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
>  			return -EAGAIN;
>  
>  		xe_gt_stats_incr(q->gt, XE_GT_STATS_ID_HW_ENGINE_GROUP_SUSPEND_LR_QUEUE_COUNT, 1);
> +		/*
> +		 * suspend() only fails when the queue is killed/banned/wedged.
> +		 * Such a queue is being torn down (its removal from HW is handled
> +		 * by the kill/ban teardown), so it is not a live fault-mode
> +		 * context the mode switch must preempt. Skip it rather than
> +		 * failing the switch, otherwise one dying sibling would block a
> +		 * dma-fence submission on the healthy queues in the group. Only
> +		 * queues recorded as suspended below are later waited on and
> +		 * resumed.
> +		 */
> +		err = q->ops->suspend(q);
> +		if (err)
> +			continue;
> +
> +		WRITE_ONCE(q->lr.suspended, true);
>  		need_resume = true;
> -		q->ops->suspend(q);
>  		gt = q->gt;
>  	}
>  
> @@ -225,9 +259,13 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
>  		if (!xe_vm_in_fault_mode(q->vm))
>  			continue;
>  
> +		/* Only wait on queues that were actually suspended above. */
> +		if (!READ_ONCE(q->lr.suspended))
> +			continue;
> +
>  		err = q->ops->suspend_wait(q);
>  		if (err)
> -			return err;
> +			goto err_resume;
>  	}
>  
>  	if (gt) {
> @@ -240,6 +278,47 @@ static int xe_hw_engine_group_suspend_faulting_lr_jobs(struct xe_hw_engine_group
>  		xe_hw_engine_group_resume_faulting_lr_jobs(group);
>  
>  	return 0;
> +
> +err_resume:
> +	/*
> +	 * A suspend_wait() failed partway through the mode switch. Resume the
> +	 * sibling queues that were already suspended in this call so they are
> +	 * not left suspended forever.
> +	 *
> +	 * resume() requires the suspend to have completed (suspend_pending
> +	 * cleared) or it trips the !suspend_pending assert. So skip the resume
> +	 * when either:
> +	 *  - suspend_wait_blocking() fails: on a GuC timeout it bans the queue
> +	 *    and triggers cleanup, so the queue is being torn down; or
> +	 *  - reset_status() is true: the queue was reset/killed/banned/wedged.
> +	 *    suspend_wait() can return success in this case via its killed/
> +	 *    stopped wait condition while suspend_pending is still set, and the
> +	 *    queue is being torn down anyway, so its state is resolved by
> +	 *    teardown rather than by a resume here.
> +	 * In either case leave the queue marked suspended.
> +	 *
> +	 * Use the *blocking* (uninterruptible) wait here: the queues resumed on
> +	 * this path may belong to a different process than the one that
> +	 * triggered the mode switch. An interruptible suspend_wait() would
> +	 * return -ERESTARTSYS if the triggering task is signalled, skip the
> +	 * resume, and leave the other process's queue suspended forever
> +	 * (cross-process DoS).
> +	 */
> +	list_for_each_entry(q, &group->exec_queue_list, hw_engine_group_link) {
> +		if (!xe_vm_in_fault_mode(q->vm))
> +			continue;
> +
> +		if (!READ_ONCE(q->lr.suspended))
> +			continue;
> +
> +		if (q->ops->suspend_wait_blocking(q) || q->ops->reset_status(q))
> +			continue;
> +
> +		WRITE_ONCE(q->lr.suspended, false);
> +		q->ops->resume(q);
> +	}
> +
> +	return err;
>  }
>  
>  /**
> -- 
> 2.43.0
> 

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

end of thread, other threads:[~2026-07-13 16:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13  3:00 [PATCH v4 0/6] drm/xe: balance exec queue suspend/resume Niranjana Vishwanathapura
2026-07-13  3:00 ` [PATCH v4 1/6] drm/xe: only resume exec queues that were actually suspended Niranjana Vishwanathapura
2026-07-13  3:00 ` [PATCH v4 2/6] drm/xe/guc: ban exec queue on suspend timeout Niranjana Vishwanathapura
2026-07-13 16:15   ` Matthew Brost
2026-07-13  3:00 ` [PATCH v4 3/6] drm/xe/guc: add uninterruptible suspend wait for cross-process cleanup Niranjana Vishwanathapura
2026-07-13 16:17   ` Matthew Brost
2026-07-13  3:00 ` [PATCH v4 4/6] drm/xe/hw_engine_group: propagate suspend failures during mode switch Niranjana Vishwanathapura
2026-07-13 16:20   ` Matthew Brost
2026-07-13  3:00 ` [PATCH v4 5/6] drm/xe/guc: Add suspend refcount to exec queue ops Niranjana Vishwanathapura
2026-07-13  3:00 ` [PATCH v4 6/6] drm/xe/multi_queue: preempt primary on queue group suspend Niranjana Vishwanathapura
2026-07-13  3:06 ` ✗ CI.checkpatch: warning for drm/xe: balance exec queue suspend/resume (rev6) Patchwork
2026-07-13  3:07 ` ✓ CI.KUnit: success " Patchwork
2026-07-13  3:43 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-13  4:52 ` ✓ Xe.CI.FULL: " Patchwork

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