Skip to contentSkip to conversation

FD close cleanup for XE

PATCH Superseded Daniel Charles 5 participants 17 messages Oct 13 – Oct 14

Subsystems (2)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

cover FD close cleanup for XE

This series adds the suggested logic to synchronously wait for the queue kill to complete on FD close. This is needed to avoid a race condition where the scheduler may still be processing messages for a queue that has been closed, which can lead to errors.

This series includes a rebase of patch

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

Daniel Charles (1):
drm/xe: Synchronously wait for queue kill on FD close

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

 drivers/gpu/drm/xe/xe_device.c               |  8 +-
 drivers/gpu/drm/xe/xe_exec_queue.c           | 13 +++
 drivers/gpu/drm/xe/xe_exec_queue.h           |  1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h     |  2 +
 drivers/gpu/drm/xe/xe_gpu_scheduler.c        | 13 ++-
 drivers/gpu/drm/xe/xe_gpu_scheduler_types.h  |  2 +-
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 85 ++++++++++++++++++--
 8 files changed, 112 insertions(+), 14 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/3 drm/xe: Read scheduler message opcode under lock

From: Matthew Brost <[email protected]>

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

Fixes ff796870f5dd ("drm/xe/guc: rework exec queue teardown PM/unplug handling")
Cc stable <[email protected]>
---
 drivers/gpu/drm/xe/xe_gpu_scheduler.c       | 13 +++++++++----
 drivers/gpu/drm/xe/xe_gpu_scheduler_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c          |  7 ++++---
 3 files changed, 14 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_gpu_scheduler.c +9 -4
index 9c8004d5dd915..d656db758cb3c 100644
@@ -23,15 +23,19 @@ static void xe_sched_process_msg_queue_if_ready(struct xe_gpu_scheduler *sched)
 }
 
 static struct xe_sched_msg *
-xe_sched_get_msg(struct xe_gpu_scheduler *sched)
+xe_sched_get_msg(struct xe_gpu_scheduler *sched, unsigned int *opcode)
 {
 	struct xe_sched_msg *msg;
 
 	xe_sched_msg_lock(sched);
 	msg = list_first_entry_or_null(&sched->msgs,
 				       struct xe_sched_msg, link);
-	if (msg)
+	if (msg) {
+		/* The opcode is only stable under lock for static messages */
+		*opcode = msg->opcode;
+
 		list_del_init(&msg->link);
+	}
 	xe_sched_msg_unlock(sched);
 
 	return msg;
@@ -42,13 +46,14 @@ static void xe_sched_process_msg_work(struct work_struct *w)
 	struct xe_gpu_scheduler *sched =
 		container_of(w, struct xe_gpu_scheduler, work_process_msg);
 	struct xe_sched_msg *msg;
+	unsigned int opcode;
 
 	if (drm_sched_is_stopped(&sched->base))
 		return;
 
-	msg = xe_sched_get_msg(sched);
+	msg = xe_sched_get_msg(sched, &opcode);
 	if (msg) {
-		sched->ops->process_msg(msg);
+		sched->ops->process_msg(msg, opcode);
 
 		xe_sched_process_msg_queue_if_ready(sched);
 	}
drivers/gpu/drm/xe/xe_gpu_scheduler_types.h +1 -1
index 78ef2e8ded4f3..163a0d85e3cb9 100644
@@ -34,7 +34,7 @@ struct xe_sched_backend_ops {
 	 * @process_msg: Process a message. Allowed to block, it is this
 	 * function's responsibility to free message if dynamically allocated.
 	 */
-	void (*process_msg)(struct xe_sched_msg *msg);
+	void (*process_msg)(struct xe_sched_msg *msg, unsigned int opcode);
 };
 
 /**
drivers/gpu/drm/xe/xe_guc_submit.c +4 -3
index 7ce73489c35fc..c4ef3e9bf7a18 100644
@@ -2056,16 +2056,17 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 #define MSG_HEAD	BIT(9)
 #define MSG_PM_REF	BIT(10)
 
-static void guc_exec_queue_process_msg(struct xe_sched_msg *msg)
+static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
+				       unsigned int opcode)
 {
 	struct xe_device *xe = guc_to_xe(exec_queue_to_guc(msg->private_data));
 	int idx;
-	bool pm_ref = !!(msg->opcode & MSG_PM_REF);
+	bool pm_ref = !!(opcode & MSG_PM_REF);
 	bool bound = drm_dev_enter(&xe->drm, &idx);
 
 	trace_xe_sched_msg_recv(msg);
 
-	switch (msg->opcode & OPCODE_MASK) {
+	switch (opcode & OPCODE_MASK) {
 	case CLEANUP:
 		__guc_exec_queue_process_msg_cleanup(msg, bound);
 		break;
Signature · 1 line
2.43.0
#2 lore raw

Re: [PATCH 1/3] drm/xe: Read scheduler message opcode under lock

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] drm/xe: data race on msg->opcode in tracepoint - [Medium] drm/xe: memory leak of dynamically…

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] drm/xe: data race on msg->opcode in tracepoint
- [Medium] drm/xe: memory leak of dynamically allocated scheduler messages --

commit f8887f43a6b200067866b162e2ad500eb6e16175
Author: Matthew Brost <[email protected]>

drm/xe: Read scheduler message opcode under lock

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

Quoted 4 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +0 -0
index 9c8004d5dd915..d656db758cb3c 100644

[ ... ]

drivers/gpu/drm/xe/xe_gpu_scheduler.c static void xe_sched_process_msg_work(struct work_struct *w) · line 52

Quoted 8 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +1 -0
@@ -42,13 +46,14 @@ static void xe_sched_process_msg_work(struct work_struct *w)
 	struct xe_gpu_scheduler *sched =
 		container_of(w, struct xe_gpu_scheduler, work_process_msg);
 	struct xe_sched_msg *msg;
+	unsigned int opcode;
 
 	if (drm_sched_is_stopped(&sched->base))
 		return;

[Severity: Medium]
When the scheduler is stopped, does this early return leak dynamically allocated messages?

If untrusted userspace triggers an error path by queuing property change messages (like SET_SCHED_PROPS) and then causes the queue to hang, wedge, or close during teardown, this worker exits without draining or freeing pending dynamically allocated messages.

During queue teardown, xe_sched_fini() and other cleanup paths fail to traverse sched->msgs and kfree() dynamically allocated messages before the list and lock are destroyed.

Quoted 8 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +2 -2
-	msg = xe_sched_get_msg(sched);
+	msg = xe_sched_get_msg(sched, &opcode);
 	if (msg) {
-		sched->ops->process_msg(msg);
+		sched->ops->process_msg(msg, opcode);
 
 		xe_sched_process_msg_queue_if_ready(sched);
 	}

[ ... ]

Quoted 9 lines
drivers/gpu/drm/xe/xe_guc_submit.c +0 -1
index 7ce73489c35fc..c4ef3e9bf7a18 100644
@@ -2056,16 +2056,17 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 #define MSG_HEAD	BIT(9)
 #define MSG_PM_REF	BIT(10)
 
-static void guc_exec_queue_process_msg(struct xe_sched_msg *msg)

drivers/gpu/drm/xe/xe_guc_submit.c static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg, · line 2067

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +3 -1
+static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
+				       unsigned int opcode)
 {
 	struct xe_device *xe = guc_to_xe(exec_queue_to_guc(msg->private_data));
 	int idx;
-	bool pm_ref = !!(msg->opcode & MSG_PM_REF);
+	bool pm_ref = !!(opcode & MSG_PM_REF);
 	bool bound = drm_dev_enter(&xe->drm, &idx);
 
 	trace_xe_sched_msg_recv(msg);

[Severity: Medium]
Does this tracepoint still contain a data race by reading the unstable msg->opcode?

The patch addresses a data race by extracting msg->opcode into a local variable under msg_lock, because static messages can be concurrently re-enqueued modifying their opcode outside the lock. However, trace_xe_sched_msg_recv(msg) continues to read msg->opcode directly via the xe_sched_msg event class:

drivers/gpu/drm/xe/xe_trace.h:DECLARE_EVENT_CLASS(xe_sched_msg) {
    ...
    __entry->opcode = msg->opcode;
    ...
}

Because trace_xe_sched_msg_recv() is called here with the message pointer, rather than the stable extracted opcode, this leaves a data race where the tracepoint may log an incorrect opcode or trigger KCSAN warnings.

Quoted 5 lines
drivers/gpu/drm/xe/xe_guc_submit.c +1 -1
-	switch (msg->opcode & OPCODE_MASK) {
+	switch (opcode & OPCODE_MASK) {
 	case CLEANUP:
 		__guc_exec_queue_process_msg_cleanup(msg, bound);
 		break;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer
#3 lore raw

Re: [PATCH 1/3] drm/xe: Read scheduler message opcode under lock

Quoted 28 lines · On Tue, Oct 13, 2026 at 03:00:33AM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] drm/xe: data race on msg->opcode in tracepoint
- [Medium] drm/xe: memory leak of dynamically allocated scheduler messages --

commit f8887f43a6b200067866b162e2ad500eb6e16175
Author: Matthew Brost <[email protected]>

drm/xe: Read scheduler message opcode under lock

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

Quoted 4 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +0 -0
index 9c8004d5dd915..d656db758cb3c 100644

[ ... ]

Quoted 6 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +1 -0
@@ -42,13 +46,14 @@ static void xe_sched_process_msg_work(struct work_struct *w)
 	struct xe_gpu_scheduler *sched =
 		container_of(w, struct xe_gpu_scheduler, work_process_msg);
 	struct xe_sched_msg *msg;
+	unsigned int opcode;
 
Quoted 7 lines

drivers/gpu/drm/xe/xe_gpu_scheduler.c static void xe_sched_process_msg_work(struct work_struct *w) · line 52

Quoted 2 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +0 -0
 	if (drm_sched_is_stopped(&sched->base))
 		return;

[Severity: Medium]
When the scheduler is stopped, does this early return leak dynamically allocated messages?

Not right - queues always start again regardless of any type of hang.

Matt

Quoted 68 lines

If untrusted userspace triggers an error path by queuing property change messages (like SET_SCHED_PROPS) and then causes the queue to hang, wedge, or close during teardown, this worker exits without draining or freeing pending dynamically allocated messages.

During queue teardown, xe_sched_fini() and other cleanup paths fail to traverse sched->msgs and kfree() dynamically allocated messages before the list and lock are destroyed.

Quoted 8 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +2 -2
-	msg = xe_sched_get_msg(sched);
+	msg = xe_sched_get_msg(sched, &opcode);
 	if (msg) {
-		sched->ops->process_msg(msg);
+		sched->ops->process_msg(msg, opcode);
 
 		xe_sched_process_msg_queue_if_ready(sched);
 	}

[ ... ]

Quoted 9 lines
drivers/gpu/drm/xe/xe_guc_submit.c +0 -1
index 7ce73489c35fc..c4ef3e9bf7a18 100644
@@ -2056,16 +2056,17 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 #define MSG_HEAD	BIT(9)
 #define MSG_PM_REF	BIT(10)
 
-static void guc_exec_queue_process_msg(struct xe_sched_msg *msg)

drivers/gpu/drm/xe/xe_guc_submit.c static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg, · line 2067

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +3 -1
+static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
+				       unsigned int opcode)
 {
 	struct xe_device *xe = guc_to_xe(exec_queue_to_guc(msg->private_data));
 	int idx;
-	bool pm_ref = !!(msg->opcode & MSG_PM_REF);
+	bool pm_ref = !!(opcode & MSG_PM_REF);
 	bool bound = drm_dev_enter(&xe->drm, &idx);
 
 	trace_xe_sched_msg_recv(msg);

[Severity: Medium]
Does this tracepoint still contain a data race by reading the unstable msg->opcode?

The patch addresses a data race by extracting msg->opcode into a local variable under msg_lock, because static messages can be concurrently re-enqueued modifying their opcode outside the lock. However, trace_xe_sched_msg_recv(msg) continues to read msg->opcode directly via the xe_sched_msg event class:

drivers/gpu/drm/xe/xe_trace.h:DECLARE_EVENT_CLASS(xe_sched_msg) {
    ...
    __entry->opcode = msg->opcode;
    ...
}

Because trace_xe_sched_msg_recv() is called here with the message pointer, rather than the stable extracted opcode, this leaves a data race where the tracepoint may log an incorrect opcode or trigger KCSAN warnings.

Quoted 5 lines
drivers/gpu/drm/xe/xe_guc_submit.c +1 -1
-	switch (msg->opcode & OPCODE_MASK) {
+	switch (opcode & OPCODE_MASK) {
 	case CLEANUP:
 		__guc_exec_queue_process_msg_cleanup(msg, bound);
 		break;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#4 lore raw

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

In reply to Daniel Charles

From: Matthew Brost <[email protected]>

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

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

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

This change improves robustness and reduces recovery latency in multiple queue teardown scenarios.

---
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 46 ++++++++++++++++++--
 2 files changed, 43 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h +1 -1
index 74b711abe2572..89397e1e65465 100644
@@ -36,7 +36,7 @@ struct xe_guc_exec_queue {
 	 * a message needs to sent through the GPU scheduler but memory
 	 * allocations are not allowed.
 	 */
-#define MAX_STATIC_MSG_TYPE	4
+#define MAX_STATIC_MSG_TYPE	5
 	struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE];
 	/** @destroy_async: do final destroy async from this worker */
 	struct work_struct destroy_async;
drivers/gpu/drm/xe/xe_guc_submit.c +42 -4

84 lines not on this page · raw message

Signature · 1 line
2.43.0
#5 lore raw

RE: [PATCH 2/3] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

-----Original Message-----
From: Charles, Daniel <[email protected]>
Sent: Monday, October 12, 2026 7:35 PM
To: [email protected]
Cc: [email protected]; Yao, Jia <[email protected]>; Cavitt, Jonathan <[email protected]>; Brost, Matthew <[email protected]>; Wang, X <[email protected]>
Subject: [PATCH 2/3] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

Quoted 17 lines

From: Matthew Brost <[email protected]>

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

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

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

Quoted 8 lines

This change improves robustness and reduces recovery latency in multiple queue teardown scenarios.

I think this patch was designed as a holdover for until exec_queue_kill_sync was implemented, and as such is unneeded in the series that introduces exec_queue_kill_sync.

Matt, is this correct? Or does this patch serve a different purpose?

I'm not blocking on this (yet), just want some clarification. -Jonathan Cavitt

Quoted 115 lines
---
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 46 ++++++++++++++++++--
 2 files changed, 43 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h +1 -1
index 74b711abe2572..89397e1e65465 100644
@@ -36,7 +36,7 @@ struct xe_guc_exec_queue {
 	 * a message needs to sent through the GPU scheduler but memory
 	 * allocations are not allowed.
 	 */
-#define MAX_STATIC_MSG_TYPE	4
+#define MAX_STATIC_MSG_TYPE	5
 	struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE];
 	/** @destroy_async: do final destroy async from this worker */
 	struct work_struct destroy_async;
drivers/gpu/drm/xe/xe_guc_submit.c +42 -4
index c4ef3e9bf7a18..609af66b343d5 100644
@@ -2045,12 +2045,23 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 		guc_exec_queue_send_cgp_sync(q, 0);
 }
 
+static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
+					      bool bound)
+{
+	struct xe_exec_queue *q = msg->private_data;
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+
+	if (exec_queue_enabled(primary) && bound)
+		disable_scheduling(primary, true);
+}
+
 #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
 #define SET_SCHED_PROPS			2
 #define SUSPEND				3
 #define RESUME				4
 #define SET_MULTI_QUEUE_PRIORITY	5
 #define CGP_SYNC_MSG			6
+#define KILL				7
 #define OPCODE_MASK	0xf
 #define MSG_LOCKED	BIT(8)
 #define MSG_HEAD	BIT(9)
@@ -2085,6 +2096,9 @@ static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
 	case CGP_SYNC_MSG:
 		__guc_exec_queue_process_msg_cgp_sync(msg, bound);
 		break;
+	case KILL:
+		__guc_exec_queue_process_msg_kill(msg, bound);
+		break;
 	default:
 		XE_WARN_ON("Unknown message type");
 	}
@@ -2211,8 +2225,19 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 	return err;
 }
 
+static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
+				       struct xe_sched_msg *msg,
+				       u32 opcode);
+
+#define STATIC_MSG_CLEANUP	0
+#define STATIC_MSG_SUSPEND	1
+#define STATIC_MSG_RESUME	2
+#define STATIC_MSG_CGP_SYNC	3
+#define STATIC_MSG_KILL		4
 static void guc_exec_queue_kill(struct xe_exec_queue *q)
 {
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+
 	trace_xe_exec_queue_kill(q);
 	set_exec_queue_killed(q);
 	/*
@@ -2222,6 +2247,23 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	 * stays set until the queue is torn down.
 	 */
 	suspend_wait_wake(q);
+
+	/*
+	 * We eagerly send a message to ourselves to disable scheduling, as the
+	 * TDR is serialized (i.e., only one exec queue is processed at a time).
+	 * If an FD is closed with many exec queues, the TDR can be slower than
+	 * the GuC scheduling contexts with invalid page tables, creating a
+	 * cascade of CAT errors and engine resets, which is quite slow. Avoid
+	 * this by immediately disabling scheduling outside of the TDR.
+	 */
+	if (kref_read(&q->refcount) && !exec_queue_wedged(q)) {
+		struct xe_gpu_scheduler *sched = &q->guc->sched;
+
+		xe_sched_msg_lock(sched);
+		guc_exec_queue_try_add_msg(q, msg, KILL);
+		xe_sched_msg_unlock(sched);
+	}
+
 	xe_guc_exec_queue_trigger_cleanup(q);
 }
 
@@ -2274,10 +2316,6 @@ static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
 	return true;
 }
 
-#define STATIC_MSG_CLEANUP	0
-#define STATIC_MSG_SUSPEND	1
-#define STATIC_MSG_RESUME	2
-#define STATIC_MSG_CGP_SYNC	3
 static void guc_exec_queue_destroy(struct xe_exec_queue *q)
 {
 	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_CLEANUP;
Signature · 1 line
2.43.0
#6 lore raw

RE: [PATCH 2/3] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

-----Original Message-----
From: Cavitt, Jonathan
Sent: Tuesday, October 13, 2026 7:47 AM
To: Charles, Daniel <[email protected]>; [email protected]; Brost, Matthew <[email protected]>
Cc: [email protected]; Yao, Jia <[email protected]>; Wang, X <[email protected]>
Subject: RE: [PATCH 2/3] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

Quoted 33 lines

-----Original Message-----
From: Charles, Daniel <[email protected]>
Sent: Monday, October 12, 2026 7:35 PM
To: [email protected]
Cc: [email protected]; Yao, Jia <[email protected]>; Cavitt, Jonathan <[email protected]>; Brost, Matthew <[email protected]>; Wang, X <[email protected]>
Subject: [PATCH 2/3] drm/xe: Disable scheduling early on FD close to avoid CAT error cascade

Quoted 17 lines

From: Matthew Brost <[email protected]>

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

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

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

Quoted 8 lines

This change improves robustness and reduces recovery latency in multiple queue teardown scenarios.

Quoted 7 lines

I think this patch was designed as a holdover for until exec_queue_kill_sync was implemented, and as such is unneeded in the series that introduces exec_queue_kill_sync.

Matt, is this correct? Or does this patch serve a different purpose?

I'm not blocking on this (yet), just want some clarification.

I received clarification via DM and yes, this patch is still necessary. My RB still stands.
-Jonathan Cavitt

Quoted 118 lines

-Jonathan Cavitt

Quoted 115 lines
---
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h |  2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 46 ++++++++++++++++++--
 2 files changed, 43 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h +1 -1
index 74b711abe2572..89397e1e65465 100644
@@ -36,7 +36,7 @@ struct xe_guc_exec_queue {
 	 * a message needs to sent through the GPU scheduler but memory
 	 * allocations are not allowed.
 	 */
-#define MAX_STATIC_MSG_TYPE	4
+#define MAX_STATIC_MSG_TYPE	5
 	struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE];
 	/** @destroy_async: do final destroy async from this worker */
 	struct work_struct destroy_async;
drivers/gpu/drm/xe/xe_guc_submit.c +42 -4
index c4ef3e9bf7a18..609af66b343d5 100644
@@ -2045,12 +2045,23 @@ static void __guc_exec_queue_process_msg_cgp_sync(struct xe_sched_msg *msg,
 		guc_exec_queue_send_cgp_sync(q, 0);
 }
 
+static void __guc_exec_queue_process_msg_kill(struct xe_sched_msg *msg,
+					      bool bound)
+{
+	struct xe_exec_queue *q = msg->private_data;
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+
+	if (exec_queue_enabled(primary) && bound)
+		disable_scheduling(primary, true);
+}
+
 #define CLEANUP				1	/* Non-zero values to catch uninitialized msg */
 #define SET_SCHED_PROPS			2
 #define SUSPEND				3
 #define RESUME				4
 #define SET_MULTI_QUEUE_PRIORITY	5
 #define CGP_SYNC_MSG			6
+#define KILL				7
 #define OPCODE_MASK	0xf
 #define MSG_LOCKED	BIT(8)
 #define MSG_HEAD	BIT(9)
@@ -2085,6 +2096,9 @@ static void guc_exec_queue_process_msg(struct xe_sched_msg *msg,
 	case CGP_SYNC_MSG:
 		__guc_exec_queue_process_msg_cgp_sync(msg, bound);
 		break;
+	case KILL:
+		__guc_exec_queue_process_msg_kill(msg, bound);
+		break;
 	default:
 		XE_WARN_ON("Unknown message type");
 	}
@@ -2211,8 +2225,19 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 	return err;
 }
 
+static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
+				       struct xe_sched_msg *msg,
+				       u32 opcode);
+
+#define STATIC_MSG_CLEANUP	0
+#define STATIC_MSG_SUSPEND	1
+#define STATIC_MSG_RESUME	2
+#define STATIC_MSG_CGP_SYNC	3
+#define STATIC_MSG_KILL		4
 static void guc_exec_queue_kill(struct xe_exec_queue *q)
 {
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+
 	trace_xe_exec_queue_kill(q);
 	set_exec_queue_killed(q);
 	/*
@@ -2222,6 +2247,23 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	 * stays set until the queue is torn down.
 	 */
 	suspend_wait_wake(q);
+
+	/*
+	 * We eagerly send a message to ourselves to disable scheduling, as the
+	 * TDR is serialized (i.e., only one exec queue is processed at a time).
+	 * If an FD is closed with many exec queues, the TDR can be slower than
+	 * the GuC scheduling contexts with invalid page tables, creating a
+	 * cascade of CAT errors and engine resets, which is quite slow. Avoid
+	 * this by immediately disabling scheduling outside of the TDR.
+	 */
+	if (kref_read(&q->refcount) && !exec_queue_wedged(q)) {
+		struct xe_gpu_scheduler *sched = &q->guc->sched;
+
+		xe_sched_msg_lock(sched);
+		guc_exec_queue_try_add_msg(q, msg, KILL);
+		xe_sched_msg_unlock(sched);
+	}
+
 	xe_guc_exec_queue_trigger_cleanup(q);
 }
 
@@ -2274,10 +2316,6 @@ static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q,
 	return true;
 }
 
-#define STATIC_MSG_CLEANUP	0
-#define STATIC_MSG_SUSPEND	1
-#define STATIC_MSG_RESUME	2
-#define STATIC_MSG_CGP_SYNC	3
 static void guc_exec_queue_destroy(struct xe_exec_queue *q)
 {
 	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_CLEANUP;
Signature · 1 line
2.43.0
#7 lore raw

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

In reply to Daniel Charles

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. GuC may still schedule contexts whose page tables are being torn down, producing CAT errors and engine resets.

Split FD close teardown into two passes: first kill every queue so all KILL messages are queued in parallel, then call the new xe_exec_queue_kill_sync() for every queue before dropping references.

The GuC backend implementation flushes the message worker while the static KILL message is pending, then waits for scheduling to be disabled with no pending enable/disable. The wait also completes when GuC submission is stopped, VF recovery is in progress, or the queue is wedged.

Wake ct.wq waiters when a scheduling-disable SCHED_DONE is processed so the waiter is woken as soon as scheduling is disabled.

Assisted-by LLM
---
 drivers/gpu/drm/xe/xe_device.c           |  8 +++++-
 drivers/gpu/drm/xe/xe_exec_queue.c       | 13 ++++++++++
 drivers/gpu/drm/xe/xe_exec_queue.h       |  1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h |  2 ++
 drivers/gpu/drm/xe/xe_guc_submit.c       | 32 ++++++++++++++++++++++++
 5 files changed, 55 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +7 -1
index 8392c9fad3c48..ffee8951a7b4e 100644
@@ -190,8 +190,14 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
 		if (q->vm && q->hwe->hw_engine_group)
 			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
 		xe_exec_queue_kill(q);
-		xe_exec_queue_put(q);
 	}
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_kill_sync(q);
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_put(q);
+
 	xa_for_each(&xef->vm.xa, idx, vm)
 		xe_vm_close_and_put(vm);
 
drivers/gpu/drm/xe/xe_exec_queue.c +13 -0
index 9a8efa2bf2bfb..8ba2cf45694dd 100644
@@ -1622,6 +1622,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
 	xe_vm_remove_compute_exec_queue(q->vm, q);
 }
 
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}
+
 /**
  * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
  * @dev: DRM device
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
index e8963f85cabd9..4be023b9a4c6c 100644
@@ -119,6 +119,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
 bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
 
 void xe_exec_queue_kill(struct xe_exec_queue *q);
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
 
 int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
 			       struct drm_file *file);
drivers/gpu/drm/xe/xe_exec_queue_types.h +2 -0
index 48c05398b0168..4882eeccb9bd5 100644
@@ -294,6 +294,8 @@ struct xe_exec_queue_ops {
 	int (*init)(struct xe_exec_queue *q);
 	/** @kill: Kill inflight submissions for backend */
 	void (*kill)(struct xe_exec_queue *q);
+	/** @kill_sync: Wait for the backend to stop queue scheduling */
+	void (*kill_sync)(struct xe_exec_queue *q);
 	/** @fini: Undoes the init() for submission backend */
 	void (*fini)(struct xe_exec_queue *q);
 	/**
drivers/gpu/drm/xe/xe_guc_submit.c +32 -0
index 609af66b343d5..36c8c3766f5fa 100644
@@ -2267,6 +2267,34 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	xe_guc_exec_queue_trigger_cleanup(q);
 }
 
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+	struct xe_guc *guc = exec_queue_to_guc(primary);
+	struct xe_gpu_scheduler *sched = &q->guc->sched;
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+	bool pending;
+
+	if (!exec_queue_killed(q))
+		return;
+
+	do {
+		flush_work(&sched->work_process_msg);
+
+		xe_sched_msg_lock(sched);
+		pending = !list_empty(&msg->link);
+		xe_sched_msg_unlock(sched);
+	} while (pending && !drm_sched_is_stopped(&sched->base));
+
+	wait_event(guc->ct.wq,
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}
+
 static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
 				   u32 opcode)
 {
@@ -2744,6 +2772,7 @@ static u64 guc_exec_queue_reset_status(struct xe_exec_queue *q)
 static const struct xe_exec_queue_ops guc_exec_queue_ops = {
 	.init = guc_exec_queue_init,
 	.kill = guc_exec_queue_kill,
+	.kill_sync = guc_exec_queue_kill_sync,
 	.fini = guc_exec_queue_fini,
 	.destroy = guc_exec_queue_destroy,
 	.set_priority = guc_exec_queue_set_priority,
@@ -3423,6 +3452,9 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
 				clear_exec_queue_pending_disable(q);
 			}
 		}
+		/* Publish the disabled state before waking kill_sync waiters. */
+		smp_wmb();
+		wake_up_all(&guc->ct.wq);
 	}
 }
 
Signature · 1 line
2.43.0
#8 lore raw

Re: [PATCH 3/3] drm/xe: Synchronously wait for queue kill on FD close

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [High] drm/xe: Infinite wait in guc_exec_queue_kill_sync() if GuC hangs - [High] xe: missing queue kill…

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] drm/xe: Infinite wait in guc_exec_queue_kill_sync() if GuC hangs
- [High] xe: missing queue kill synchronization in teardown paths
--

commit 85f52ae759a601199a902ba124e22498f6e78a14
Author: Daniel Charles <[email protected]>

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

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. Split FD close teardown into two passes:
first kill every queue, then wait using xe_exec_queue_kill_sync().

Quoted 4 lines
drivers/gpu/drm/xe/xe_exec_queue.c +0 -0
index 7ade915c59a85..af5d9e8f0b16e 100644

[ ... ]

drivers/gpu/drm/xe/xe_exec_queue.c void xe_exec_queue_kill(struct xe_exec_queue *q) · line 1634

Quoted 13 lines
drivers/gpu/drm/xe/xe_exec_queue.c +12 -0
@@ -1623,6 +1623,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}

[Severity: High]
Does this code leave other teardown paths vulnerable to CAT errors?

While xe_file_close() was updated to use this new sync function, it appears xe_exec_queue_destroy_ioctl() and xe_vm_close_and_put() both still call xe_exec_queue_kill() followed immediately by xe_exec_queue_put() without waiting.

If userspace destroys a user queue and then destroys its VM, xe_vm_close_and_put() synchronously destroys the VM's page tables while GuC is still actively scheduling the queue. Similarly, for the internal kernel bind queue (vm->q), xe_vm_close_and_put() kills it and proceeds to destroy the page tables. This results in GuC scheduling contexts with torn-down page tables, causing IOMMU CAT errors and unrecoverable engine resets.

[ ... ]

Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_submit.c +0 -0
index 609af66b343d5..36c8c3766f5fa 100644

[ ... ]

Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_submit.c +2 -0
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{

[ ... ]

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2296

Quoted 8 lines
drivers/gpu/drm/xe/xe_guc_submit.c +8 -0
+	wait_event(guc->ct.wq,
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}

[Severity: High]
Can this wait hang forever if the GuC firmware silently drops the H2G DISABLE message or hangs without triggering a global watchdog wedge?

If called on an idle queue (no pending jobs), the Time-out Driven Recovery (TDR) will not fire. xe_sched_tdr_queue_imm() calls drm_sched_tdr_queue_imm(), which only schedules the timeout worker if there are pending jobs. Even if the worker runs, drm_sched_job_timedout() exits early if the pending list is empty.

Since this uses an unbounded wait_event() without a timeout, it could cause the close() syscall to hang forever in uninterruptible sleep (D state), leading to an unkillable process. Other functions like enable_scheduling() and disable_scheduling_deregister() use wait_event_timeout() and manually trigger xe_gt_reset_async() on timeout to prevent this.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
maintainer
#9 lore raw

Re: [PATCH 3/3] drm/xe: Synchronously wait for queue kill on FD close

Quoted 42 lines · On Tue, Oct 13, 2026 at 02:59:42AM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] drm/xe: Infinite wait in guc_exec_queue_kill_sync() if GuC hangs
- [High] xe: missing queue kill synchronization in teardown paths
--

commit 85f52ae759a601199a902ba124e22498f6e78a14
Author: Daniel Charles <[email protected]>

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

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. Split FD close teardown into two passes:
first kill every queue, then wait using xe_exec_queue_kill_sync().

Quoted 4 lines
drivers/gpu/drm/xe/xe_exec_queue.c +0 -0
index 7ade915c59a85..af5d9e8f0b16e 100644

[ ... ]

drivers/gpu/drm/xe/xe_exec_queue.c void xe_exec_queue_kill(struct xe_exec_queue *q) · line 1634

Quoted 13 lines
drivers/gpu/drm/xe/xe_exec_queue.c +12 -0
@@ -1623,6 +1623,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}

[Severity: High]
Does this code leave other teardown paths vulnerable to CAT errors?

While xe_file_close() was updated to use this new sync function, it appears xe_exec_queue_destroy_ioctl() and xe_vm_close_and_put() both still call xe_exec_queue_kill() followed immediately by xe_exec_queue_put() without waiting.

Quoted 7 lines

If userspace destroys a user queue and then destroys its VM, xe_vm_close_and_put() synchronously destroys the VM's page tables while GuC is still actively scheduling the queue. Similarly, for the internal kernel bind queue (vm->q), xe_vm_close_and_put() kills it and proceeds to destroy the page tables. This results in GuC scheduling contexts with torn-down page tables, causing IOMMU CAT errors and unrecoverable engine resets.

I think we assume aside from an unexpected file close (segfault on user app, ctrl-c), a user shall be well behavied (it is) and at worst it spams dmesgs on debug levels.

Quoted 9 lines

[ ... ]

Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_submit.c +0 -0
index 609af66b343d5..36c8c3766f5fa 100644

[ ... ]

Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_submit.c +2 -0
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{

[ ... ]

Quoted 13 lines

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2296

Quoted 8 lines
drivers/gpu/drm/xe/xe_guc_submit.c +8 -0
+	wait_event(guc->ct.wq,
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}

[Severity: High]
Can this wait hang forever if the GuC firmware silently drops the H2G DISABLE message or hangs without triggering a global watchdog wedge?

This is right, would have a reasonable timeout even though eventually a GT reset pops us out here if the GuC stops responding.

Matt

Quoted 14 lines

If called on an idle queue (no pending jobs), the Time-out Driven Recovery (TDR) will not fire. xe_sched_tdr_queue_imm() calls drm_sched_tdr_queue_imm(), which only schedules the timeout worker if there are pending jobs. Even if the worker runs, drm_sched_job_timedout() exits early if the pending list is empty.

Since this uses an unbounded wait_event() without a timeout, it could cause the close() syscall to hang forever in uninterruptible sleep (D state), leading to an unkillable process. Other functions like enable_scheduling() and disable_scheduling_deregister() use wait_event_timeout() and manually trigger xe_gt_reset_async() on timeout to prevent this.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
maintainer
#10 lore raw

Re: [PATCH 3/3] drm/xe: Synchronously wait for queue kill on FD close

In reply to Daniel Charles

On Mon, Oct 12, 2026 at 07:34:42PM -0700, Daniel Charles wrote:

Thanks for taking a look here.

Quoted 34 lines

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. GuC may still schedule contexts whose page tables are being torn down, producing CAT errors and engine resets.

Split FD close teardown into two passes: first kill every queue so all KILL messages are queued in parallel, then call the new xe_exec_queue_kill_sync() for every queue before dropping references.

The GuC backend implementation flushes the message worker while the static KILL message is pending, then waits for scheduling to be disabled with no pending enable/disable. The wait also completes when GuC submission is stopped, VF recovery is in progress, or the queue is wedged.

Wake ct.wq waiters when a scheduling-disable SCHED_DONE is processed so the waiter is woken as soon as scheduling is disabled.

Assisted-by LLM
---
 drivers/gpu/drm/xe/xe_device.c           |  8 +++++-
 drivers/gpu/drm/xe/xe_exec_queue.c       | 13 ++++++++++
 drivers/gpu/drm/xe/xe_exec_queue.h       |  1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h |  2 ++
 drivers/gpu/drm/xe/xe_guc_submit.c       | 32 ++++++++++++++++++++++++
 5 files changed, 55 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +0 -0
index 8392c9fad3c48..ffee8951a7b4e 100644
@@ -190,8 +190,14 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
 		if (q->vm && q->hwe->hw_engine_group)

drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 199

Quoted 10 lines
drivers/gpu/drm/xe/xe_device.c +6 -1
 			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
 		xe_exec_queue_kill(q);
-		xe_exec_queue_put(q);
 	}
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_kill_sync(q);
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_put(q);

You can do the put in the same loop as xe_exec_queue_kill_sync.

Quoted 60 lines
drivers/gpu/drm/xe/xe_device.c +1 -0
+
 	xa_for_each(&xef->vm.xa, idx, vm)
 		xe_vm_close_and_put(vm);
 
drivers/gpu/drm/xe/xe_exec_queue.c +13 -0
index 9a8efa2bf2bfb..8ba2cf45694dd 100644
@@ -1622,6 +1622,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
 	xe_vm_remove_compute_exec_queue(q->vm, q);
 }
 
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}
+
 /**
  * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
  * @dev: DRM device
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
index e8963f85cabd9..4be023b9a4c6c 100644
@@ -119,6 +119,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
 bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
 
 void xe_exec_queue_kill(struct xe_exec_queue *q);
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
 
 int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
 			       struct drm_file *file);
drivers/gpu/drm/xe/xe_exec_queue_types.h +2 -0
index 48c05398b0168..4882eeccb9bd5 100644
@@ -294,6 +294,8 @@ struct xe_exec_queue_ops {
 	int (*init)(struct xe_exec_queue *q);
 	/** @kill: Kill inflight submissions for backend */
 	void (*kill)(struct xe_exec_queue *q);
+	/** @kill_sync: Wait for the backend to stop queue scheduling */
+	void (*kill_sync)(struct xe_exec_queue *q);
 	/** @fini: Undoes the init() for submission backend */
 	void (*fini)(struct xe_exec_queue *q);
 	/**
drivers/gpu/drm/xe/xe_guc_submit.c +0 -0
index 609af66b343d5..36c8c3766f5fa 100644
@@ -2267,6 +2267,34 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
 	xe_guc_exec_queue_trigger_cleanup(q);
 }

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2278

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
 
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+	struct xe_guc *guc = exec_queue_to_guc(primary);
+	struct xe_gpu_scheduler *sched = &q->guc->sched;
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+	bool pending;
+
+	if (!exec_queue_killed(q))

xe_assert(xe, exec_queue_killed(q))

^^^ This is a caller invarient.

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2287

Quoted 9 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
+		return;
+
+	do {
+		flush_work(&sched->work_process_msg);
+
+		xe_sched_msg_lock(sched);
+		pending = !list_empty(&msg->link);
+		xe_sched_msg_unlock(sched);
+	} while (pending && !drm_sched_is_stopped(&sched->base));

I'm honestly not quite following the logic above, and I don't think this is necessary. At this point, we've already queued a kill message. It will eventually run, or the TDR will fire, or a GT reset will occur. Any of these paths should eventually clear the flags below.

I can see that this was LLM-assisted, and it may well be smarter than me here, but I don't understand why this change is needed.

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2289

Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_submit.c +2 -0
+
+	wait_event(guc->ct.wq,

wait_event_timeout

A GT reset saves on the GuC taking a nap but that is unbounded, wait_event_timeout gives us a bound.

Matt

Quoted 32 lines
drivers/gpu/drm/xe/xe_guc_submit.c +12 -0
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}
+
 static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
 				   u32 opcode)
 {
@@ -2744,6 +2772,7 @@ static u64 guc_exec_queue_reset_status(struct xe_exec_queue *q)
 static const struct xe_exec_queue_ops guc_exec_queue_ops = {
 	.init = guc_exec_queue_init,
 	.kill = guc_exec_queue_kill,
+	.kill_sync = guc_exec_queue_kill_sync,
 	.fini = guc_exec_queue_fini,
 	.destroy = guc_exec_queue_destroy,
 	.set_priority = guc_exec_queue_set_priority,
@@ -3423,6 +3452,9 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
 				clear_exec_queue_pending_disable(q);
 			}
 		}
+		/* Publish the disabled state before waking kill_sync waiters. */
+		smp_wmb();
+		wake_up_all(&guc->ct.wq);
 	}
 }
 
Signature · 1 line
2.43.0
#11 lore raw

Re: [PATCH 3/3] drm/xe: Synchronously wait for queue kill on FD close

Quoted 41 lines · Matthew Brost

On Mon, Oct 12, 2026 at 07:34:42PM -0700, Daniel Charles wrote:

Thanks for taking a look here.

Quoted 37 lines

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. GuC may still schedule contexts whose page tables are being torn down, producing CAT errors and engine resets.

Split FD close teardown into two passes: first kill every queue so all KILL messages are queued in parallel, then call the new xe_exec_queue_kill_sync() for every queue before dropping references.

The GuC backend implementation flushes the message worker while the static KILL message is pending, then waits for scheduling to be disabled with no pending enable/disable. The wait also completes when GuC submission is stopped, VF recovery is in progress, or the queue is wedged.

Wake ct.wq waiters when a scheduling-disable SCHED_DONE is processed so the waiter is woken as soon as scheduling is disabled.

Assisted-by LLM
---
  drivers/gpu/drm/xe/xe_device.c           |  8 +++++-
  drivers/gpu/drm/xe/xe_exec_queue.c       | 13 ++++++++++
  drivers/gpu/drm/xe/xe_exec_queue.h       |  1 +
  drivers/gpu/drm/xe/xe_exec_queue_types.h |  2 ++
  drivers/gpu/drm/xe/xe_guc_submit.c       | 32 ++++++++++++++++++++++++
  5 files changed, 55 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +0 -1
index 8392c9fad3c48..ffee8951a7b4e 100644
@@ -190,8 +190,14 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
  		if (q->vm && q->hwe->hw_engine_group)
  			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
  		xe_exec_queue_kill(q);
-		xe_exec_queue_put(q);
Quoted 8 lines

drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 199

Quoted 7 lines
drivers/gpu/drm/xe/xe_device.c +6 -0
  	}
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_kill_sync(q);
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_put(q);

You can do the put in the same loop as xe_exec_queue_kill_sync.

Yes, I'll fix this in the next version.

Quoted 73 lines
Quoted 61 lines
drivers/gpu/drm/xe/xe_device.c +1 -0
+
  	xa_for_each(&xef->vm.xa, idx, vm)
  		xe_vm_close_and_put(vm);
 
drivers/gpu/drm/xe/xe_exec_queue.c +13 -0
index 9a8efa2bf2bfb..8ba2cf45694dd 100644
@@ -1622,6 +1622,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
  	xe_vm_remove_compute_exec_queue(q->vm, q);
  }
 
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}
+
  /**
   * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
   * @dev: DRM device
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
index e8963f85cabd9..4be023b9a4c6c 100644
@@ -119,6 +119,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
  bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
 
  void xe_exec_queue_kill(struct xe_exec_queue *q);
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
 
  int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
  			       struct drm_file *file);
drivers/gpu/drm/xe/xe_exec_queue_types.h +2 -0
index 48c05398b0168..4882eeccb9bd5 100644
@@ -294,6 +294,8 @@ struct xe_exec_queue_ops {
  	int (*init)(struct xe_exec_queue *q);
  	/** @kill: Kill inflight submissions for backend */
  	void (*kill)(struct xe_exec_queue *q);
+	/** @kill_sync: Wait for the backend to stop queue scheduling */
+	void (*kill_sync)(struct xe_exec_queue *q);
  	/** @fini: Undoes the init() for submission backend */
  	void (*fini)(struct xe_exec_queue *q);
  	/**
drivers/gpu/drm/xe/xe_guc_submit.c +0 -0
index 609af66b343d5..36c8c3766f5fa 100644
@@ -2267,6 +2267,34 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
  	xe_guc_exec_queue_trigger_cleanup(q);
  }

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2278

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
 
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+	struct xe_guc *guc = exec_queue_to_guc(primary);
+	struct xe_gpu_scheduler *sched = &q->guc->sched;
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+	bool pending;
+
+	if (!exec_queue_killed(q))

xe_assert(xe, exec_queue_killed(q))

Quoted 1 line

^^^ This is a caller invarient.

To be fixed in next version.

Quoted 15 lines

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2287

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
+		return;
+
+	do {
+		flush_work(&sched->work_process_msg);
+
+		xe_sched_msg_lock(sched);
+		pending = !list_empty(&msg->link);
+		xe_sched_msg_unlock(sched);
+	} while (pending && !drm_sched_is_stopped(&sched->base));

I'm honestly not quite following the logic above, and I don't think this is necessary. At this point, we've already queued a kill message. It will eventually run, or the TDR will fire, or a GT reset will occur. Any of these paths should eventually clear the flags below.

Quoted 2 lines

I can see that this was LLM-assisted, and it may well be smarter than me here, but I don't understand why this change is needed.

The loop was intended to ensure all queued KILL messages had been processed before tear down continued. As you point out, those messages should be handled through normal processing, TDR, or GT reset. I’ll remove the flush_work()/pending-message loop and bound the scheduling-state wait with wait_event_timeout().

Quoted 7 lines

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2289

Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_submit.c +2 -0
+
+	wait_event(guc->ct.wq,

wait_event_timeout

A GT reset saves on the GuC taking a nap but that is unbounded, wait_event_timeout gives us a bound.

What is the best action when this wait times out? We have no confirmation that GuC has stopped scheduling, yet xe_file_close() will continue tearing down the VM. Is it acceptable to continue teardown, or should timeout trigger GT reset recovery? If so, should we queue it with xe_gt_reset_async() or wait for it to complete with xe_gt_reset() before proceeding?

Signature · 1 line
Daniel.
Quoted 35 lines

Matt

Quoted 32 lines
drivers/gpu/drm/xe/xe_guc_submit.c +12 -0
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}
+
  static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
  				   u32 opcode)
  {
@@ -2744,6 +2772,7 @@ static u64 guc_exec_queue_reset_status(struct xe_exec_queue *q)
  static const struct xe_exec_queue_ops guc_exec_queue_ops = {
  	.init = guc_exec_queue_init,
  	.kill = guc_exec_queue_kill,
+	.kill_sync = guc_exec_queue_kill_sync,
  	.fini = guc_exec_queue_fini,
  	.destroy = guc_exec_queue_destroy,
  	.set_priority = guc_exec_queue_set_priority,
@@ -3423,6 +3452,9 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
  				clear_exec_queue_pending_disable(q);
  			}
  		}
+		/* Publish the disabled state before waking kill_sync waiters. */
+		smp_wmb();
+		wake_up_all(&guc->ct.wq);
  	}
  }
 
Signature · 1 line
2.43.0
maintainer
#12 lore raw

Re: [PATCH 3/3] drm/xe: Synchronously wait for queue kill on FD close

Quoted 153 lines · Daniel Charles
Quoted 41 lines · Matthew Brost

On Mon, Oct 12, 2026 at 07:34:42PM -0700, Daniel Charles wrote:

Thanks for taking a look here.

Quoted 37 lines

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. GuC may still schedule contexts whose page tables are being torn down, producing CAT errors and engine resets.

Split FD close teardown into two passes: first kill every queue so all KILL messages are queued in parallel, then call the new xe_exec_queue_kill_sync() for every queue before dropping references.

The GuC backend implementation flushes the message worker while the static KILL message is pending, then waits for scheduling to be disabled with no pending enable/disable. The wait also completes when GuC submission is stopped, VF recovery is in progress, or the queue is wedged.

Wake ct.wq waiters when a scheduling-disable SCHED_DONE is processed so the waiter is woken as soon as scheduling is disabled.

Assisted-by LLM
---
  drivers/gpu/drm/xe/xe_device.c           |  8 +++++-
  drivers/gpu/drm/xe/xe_exec_queue.c       | 13 ++++++++++
  drivers/gpu/drm/xe/xe_exec_queue.h       |  1 +
  drivers/gpu/drm/xe/xe_exec_queue_types.h |  2 ++
  drivers/gpu/drm/xe/xe_guc_submit.c       | 32 ++++++++++++++++++++++++
  5 files changed, 55 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +0 -1
index 8392c9fad3c48..ffee8951a7b4e 100644
@@ -190,8 +190,14 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)
  		if (q->vm && q->hwe->hw_engine_group)
  			xe_hw_engine_group_del_exec_queue(q->hwe->hw_engine_group, q);
  		xe_exec_queue_kill(q);
-		xe_exec_queue_put(q);
Quoted 8 lines

drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 199

Quoted 7 lines
drivers/gpu/drm/xe/xe_device.c +6 -0
  	}
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_kill_sync(q);
+
+	xa_for_each(&xef->exec_queue.xa, idx, q)
+		xe_exec_queue_put(q);

You can do the put in the same loop as xe_exec_queue_kill_sync.

Yes, I'll fix this in the next version.

Quoted 68 lines
Quoted 56 lines
drivers/gpu/drm/xe/xe_device.c +1 -0
+
  	xa_for_each(&xef->vm.xa, idx, vm)
  		xe_vm_close_and_put(vm);
drivers/gpu/drm/xe/xe_exec_queue.c +13 -0
index 9a8efa2bf2bfb..8ba2cf45694dd 100644
@@ -1622,6 +1622,19 @@ void xe_exec_queue_kill(struct xe_exec_queue *q)
  	xe_vm_remove_compute_exec_queue(q->vm, q);
  }
+/**
+ * xe_exec_queue_kill_sync() - Wait for queue scheduling to stop
+ * @q: The exec queue
+ *
+ * This function waits for the backend to finish stopping the queue after
+ * xe_exec_queue_kill(). It is safe to call multiple times.
+ */
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	if (q->ops->kill_sync)
+		q->ops->kill_sync(q);
+}
+
  /**
   * xe_exec_queue_destroy_ioctl() - Destroy an exec queue via IOCTL
   * @dev: DRM device
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
index e8963f85cabd9..4be023b9a4c6c 100644
@@ -119,6 +119,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
  bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
  void xe_exec_queue_kill(struct xe_exec_queue *q);
+void xe_exec_queue_kill_sync(struct xe_exec_queue *q);
  int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
  			       struct drm_file *file);
drivers/gpu/drm/xe/xe_exec_queue_types.h +2 -0
index 48c05398b0168..4882eeccb9bd5 100644
@@ -294,6 +294,8 @@ struct xe_exec_queue_ops {
  	int (*init)(struct xe_exec_queue *q);
  	/** @kill: Kill inflight submissions for backend */
  	void (*kill)(struct xe_exec_queue *q);
+	/** @kill_sync: Wait for the backend to stop queue scheduling */
+	void (*kill_sync)(struct xe_exec_queue *q);
  	/** @fini: Undoes the init() for submission backend */
  	void (*fini)(struct xe_exec_queue *q);
  	/**
drivers/gpu/drm/xe/xe_guc_submit.c +0 -0
index 609af66b343d5..36c8c3766f5fa 100644
@@ -2267,6 +2267,34 @@ static void guc_exec_queue_kill(struct xe_exec_queue *q)
  	xe_guc_exec_queue_trigger_cleanup(q);

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2277

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
  }
+static void guc_exec_queue_kill_sync(struct xe_exec_queue *q)
+{
+	struct xe_exec_queue *primary = xe_exec_queue_multi_queue_primary(q);
+	struct xe_guc *guc = exec_queue_to_guc(primary);
+	struct xe_gpu_scheduler *sched = &q->guc->sched;
+	struct xe_sched_msg *msg = q->guc->static_msgs + STATIC_MSG_KILL;
+	bool pending;
+
+	if (!exec_queue_killed(q))

xe_assert(xe, exec_queue_killed(q))

Quoted 1 line

^^^ This is a caller invarient.

To be fixed in next version.

Quoted 15 lines

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2287

Quoted 10 lines
drivers/gpu/drm/xe/xe_guc_submit.c +9 -0
+		return;
+
+	do {
+		flush_work(&sched->work_process_msg);
+
+		xe_sched_msg_lock(sched);
+		pending = !list_empty(&msg->link);
+		xe_sched_msg_unlock(sched);
+	} while (pending && !drm_sched_is_stopped(&sched->base));

I'm honestly not quite following the logic above, and I don't think this is necessary. At this point, we've already queued a kill message. It will eventually run, or the TDR will fire, or a GT reset will occur. Any of these paths should eventually clear the flags below.

Quoted 2 lines

I can see that this was LLM-assisted, and it may well be smarter than me here, but I don't understand why this change is needed.

The loop was intended to ensure all queued KILL messages had been processed before tear down continued. As you point out, those messages should be handled through normal processing, TDR, or GT reset. I’ll remove the flush_work()/pending-message loop and bound the scheduling-state wait with wait_event_timeout().

Quoted 7 lines

drivers/gpu/drm/xe/xe_guc_submit.c static void guc_exec_queue_kill(struct xe_exec_queue *q) · line 2288

Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_submit.c +2 -0
+
+	wait_event(guc->ct.wq,

wait_event_timeout

A GT reset saves on the GuC taking a nap but that is unbounded, wait_event_timeout gives us a bound.

Quoted 8 lines

What is the best action when this wait times out? We have no confirmation that GuC has stopped scheduling, yet xe_file_close() will continue tearing down the VM. Is it acceptable to continue teardown, or should timeout
trigger GT reset recovery? If so, should we queue it with xe_gt_reset_async()
or wait for it to complete with xe_gt_reset() before proceeding?

I'd just queue a xe_gt_reset_async, no need to wait as things have gone badly at this point.

Matt

Quoted 36 lines
Signature · 1 line
Daniel.
Quoted 34 lines

Matt

Quoted 31 lines
drivers/gpu/drm/xe/xe_guc_submit.c +12 -0
+		   (!exec_queue_enabled(primary) &&
+		    !exec_queue_pending_disable(primary) &&
+		    !exec_queue_pending_enable(primary)) ||
+		   xe_guc_read_stopped(guc) ||
+		   vf_recovery(guc) ||
+		   exec_queue_wedged(primary));
+}
+
  static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg,
  				   u32 opcode)
  {
@@ -2744,6 +2772,7 @@ static u64 guc_exec_queue_reset_status(struct xe_exec_queue *q)
  static const struct xe_exec_queue_ops guc_exec_queue_ops = {
  	.init = guc_exec_queue_init,
  	.kill = guc_exec_queue_kill,
+	.kill_sync = guc_exec_queue_kill_sync,
  	.fini = guc_exec_queue_fini,
  	.destroy = guc_exec_queue_destroy,
  	.set_priority = guc_exec_queue_set_priority,
@@ -3423,6 +3452,9 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
  				clear_exec_queue_pending_disable(q);
  			}
  		}
+		/* Publish the disabled state before waking kill_sync waiters. */
+		smp_wmb();
+		wake_up_all(&guc->ct.wq);
  	}
  }
Signature · 1 line
2.43.0
#13 lore raw

✗ CI.checkpatch: warning for FD close cleanup for XE

In reply to Daniel Charles
== Series Details ==

== Series Details ==

Series: FD close cleanup for XE
URL : https://patchwork.freedesktop.org/series/175996/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 6bef5ce5c74dc76b4ee69ab2832c0d1fd63c91c7
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9c5e937a622e249cb474128b7c759020f2d64da3

Author: Daniel Charles <[email protected]>
Date:   Mon Oct 12 19:34:42 2026 -0700

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

The early KILL message disables GuC scheduling outside the serialized TDR path, but xe_file_close() does not wait for it to complete before dropping queue references. GuC may still schedule contexts whose page tables are being torn down, producing CAT errors and engine resets.

Split FD close teardown into two passes: first kill every queue so all KILL messages are queued in parallel, then call the new xe_exec_queue_kill_sync() for every queue before dropping references.

The GuC backend implementation flushes the message worker while the static KILL message is pending, then waits for scheduling to be disabled with no pending enable/disable. The wait also completes when GuC submission is stopped, VF recovery is in progress, or the queue is wedged.

Wake ct.wq waiters when a scheduling-disable SCHED_DONE is processed so the waiter is woken as soon as scheduling is disabled.

Assisted-by LLM

+ /mt/dim checkpatch 882b0f966d25236f00d6ec0c349f7948d2ed1376 drm-intel
ced339c32b55 drm/xe: Read scheduler message opcode under lock
-:12: WARNING:BAD_STABLE_ADDRESS_STYLE: Invalid email format for stable: 'stable <[email protected]>', prefer '[email protected]' #12:
Cc: stable <[email protected]>

total: 0 errors, 1 warnings, 0 checks, 65 lines checked
2f4a996c1d92 drm/xe: Disable scheduling early on FD close to avoid CAT error cascade 9c5e937a622e drm/xe: Synchronously wait for queue kill on FD close

#14 lore raw

✓ CI.KUnit: success for FD close cleanup for XE

In reply to Daniel Charles
== Series Details ==

== Series Details ==

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

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[02:54:15] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[02:54:20] 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
[02:54:40] Starting KUnit Kernel (1/1)...
[02:54:40] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:54:40] ================= gpu_buddy (14 subtests) ==================
[02:54:40] [PASSED] gpu_test_buddy_alloc_limit
[02:54:40] [PASSED] gpu_test_buddy_alloc_optimistic
[02:54:40] [PASSED] gpu_test_buddy_alloc_pessimistic
[02:54:40] [PASSED] gpu_test_buddy_alloc_pathological
[02:54:40] [PASSED] gpu_test_buddy_alloc_contiguous
[02:54:40] [PASSED] gpu_test_buddy_alloc_clear
[02:54:40] [PASSED] gpu_test_buddy_alloc_range
[02:54:40] [PASSED] gpu_test_buddy_alloc_range_bias
[02:54:41] [PASSED] gpu_test_buddy_fragmentation_performance
[02:54:42] [PASSED] gpu_test_buddy_dirty_tracker_performance
[02:54:42] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[02:54:42] [PASSED] gpu_test_buddy_offset_aligned_allocation
[02:54:42] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[02:54:42] [PASSED] gpu_test_buddy_addr_to_block
[02:54:42] ==================== [PASSED] gpu_buddy ====================
[02:54:42] ============================================================
[02:54:42] Testing complete. Ran 14 tests: passed: 14
[02:54:42] Elapsed time: 26.649s total, 4.444s configuring, 20.237s building, 1.895s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [02:54:42] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [02:55:19] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [02:55:46] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [02:55:58] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[02:56:00] 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
[02:56:09] Starting KUnit Kernel (1/1)...
[02:56:09] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:56:09] =============== dma-buf-fence (12 subtests) ================
[02:56:09] [PASSED] test_sanitycheck
[02:56:09] [PASSED] test_signaling
[02:56:09] [PASSED] test_add_callback
[02:56:09] [PASSED] test_late_add_callback
[02:56:09] [PASSED] test_rm_callback
[02:56:09] [PASSED] test_late_rm_callback
[02:56:09] [PASSED] test_status
[02:56:09] [PASSED] test_error
[02:56:09] [PASSED] test_wait
[02:56:09] [PASSED] test_wait_timeout
[02:56:09] [PASSED] test_stub
[02:56:09] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[02:56:09] ================== [PASSED] dma-buf-fence ==================
[02:56:09] ============ dma-buf-fence-chain (11 subtests) =============
[02:56:09] [PASSED] test_sanitycheck
[02:56:09] [PASSED] test_find_seqno
[02:56:09] [PASSED] test_find_signaled
[02:56:09] [PASSED] test_find_out_of_order
[02:56:14] [PASSED] test_find_gap
[02:56:14] [PASSED] test_find_race
[02:56:14] [PASSED] test_signal_forward
[02:56:14] [PASSED] test_signal_backward
[02:56:14] [PASSED] test_wait_forward
[02:56:14] [PASSED] test_wait_backward
[02:56:14] [PASSED] test_wait_random
[02:56:14] =============== [PASSED] dma-buf-fence-chain ===============
[02:56:14] ============ dma-buf-fence-unwrap (10 subtests) ============
[02:56:14] [PASSED] test_sanitycheck
[02:56:14] [PASSED] test_unwrap_array
[02:56:14] [PASSED] test_unwrap_chain
[02:56:14] [PASSED] test_unwrap_chain_array
[02:56:14] [PASSED] test_unwrap_merge
[02:56:14] [PASSED] test_unwrap_merge_duplicate
[02:56:14] [PASSED] test_unwrap_merge_seqno
[02:56:14] [PASSED] test_unwrap_merge_order
[02:56:14] [PASSED] test_unwrap_merge_complex
[02:56:14] [PASSED] test_unwrap_merge_complex_seqno
[02:56:14] ============== [PASSED] dma-buf-fence-unwrap ===============
[02:56:14] ================ dma-buf-resv (5 subtests) =================
[02:56:14] [PASSED] test_sanitycheck
[02:56:14] ===================== test_signaling  ======================
[02:56:14] [PASSED] kernel
[02:56:14] [PASSED] write
[02:56:14] [PASSED] read
[02:56:14] [PASSED] bookkeep
[02:56:14] ================= [PASSED] test_signaling ==================
[02:56:14] ====================== test_for_each  ======================
[02:56:14] [PASSED] kernel
[02:56:14] [PASSED] write
[02:56:14] [PASSED] read
[02:56:14] [PASSED] bookkeep
[02:56:14] ================== [PASSED] test_for_each ==================
[02:56:14] ================= test_for_each_unlocked  ==================
[02:56:14] [PASSED] kernel
[02:56:14] [PASSED] write
[02:56:14] [PASSED] read
[02:56:14] [PASSED] bookkeep
[02:56:14] ============= [PASSED] test_for_each_unlocked ==============
[02:56:14] ===================== test_get_fences  =====================
[02:56:14] [PASSED] kernel
[02:56:14] [PASSED] write
[02:56:14] [PASSED] read
[02:56:14] [PASSED] bookkeep
[02:56:14] ================= [PASSED] test_get_fences =================
[02:56:14] ================== [PASSED] dma-buf-resv ===================
[02:56:14] ============================================================
[02:56:14] Testing complete. Ran 50 tests: passed: 49, skipped: 1
[02:56:14] Elapsed time: 15.947s total, 1.866s configuring, 8.809s building, 5.262s running

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

#15 lore raw

✓ Xe.CI.BAT: success for FD close cleanup for XE

In reply to Daniel Charles
== Series Details ==

== Series Details ==

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

== Summary ==

CI Bug Log - changes from xe-5936-882b0f966d25236f00d6ec0c349f7948d2ed1376_BAT -> xe-pw-175996v1_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

No changes in participating hosts

Changes
-------

No changes found

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

* Linux: xe-5936-882b0f966d25236f00d6ec0c349f7948d2ed1376 -> xe-pw-175996v1

IGT_9140: 3b0daa274edb520204660fa1e15424b66ce0aea0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5936-882b0f966d25236f00d6ec0c349f7948d2ed1376: 882b0f966d25236f00d6ec0c349f7948d2ed1376
xe-pw-175996v1: 175996v1

== Logs ==

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