Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes
@ 2026-06-24  4:10 Arvind Yadav
  2026-06-24  4:16 ` Matthew Brost
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Arvind Yadav @ 2026-06-24  4:10 UTC (permalink / raw)
  To: intel-xe
  Cc: matthew.brost, himal.prasad.ghimiray, thomas.hellstrom,
	rodrigo.vivi, tejas.upadhyay

GuC exec queue destruction can run asynchronously. If the final device
put happens from a destroy worker, drmm cleanup can end up draining
the same workqueue and deadlock.

Hold a drm_device reference for the queue lifetime and drop it after
queue teardown completes. This keeps drmm cleanup from running while
async destroy work is still pending.

Move destroy work to a module-lifetime Xe workqueue and flush it on
PCI remove so hot-unbind/rebind still waits for pending destroy work.

With queue-held device refs, guc_submit_sw_fini() cannot run with live
GuC IDs. Replace the fini wait with an assertion and remove the unused
fini_wq.

v2:
  - Rebase

v3:
  - Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
  - Queue async teardown on system_dfl_wq instead of xe->destroy_wq. (Matt)
  - Drop separate deferred drm_dev_put worker.
  - Remove stale drain_workqueue(xe->destroy_wq) from guc_submit_sw_fini().

v4:
  - Replace the guc_submit_sw_fini() wait with an assertion and remove
    the now-unused fini_wq. (sashiko)

v5:
  - Move destroy work to a module-lifetime Xe workqueue instead of
    system_dfl_wq. (Matt)
  - Flush the module-lifetime destroy workqueue during PCI remove to
    preserve the old device-remove wait semantics.

v6:
  - Keep SVM pagemap destroy work on the per-device destroy_wq to avoid
    letting it outlive the xe_device/drm_device. (Sashiko)
  - Use WQ_MEM_RECLAIM for xe->destroy_wq because SVM pagemap destroy work
    can be queued from the reclaim path.

v7:
  - Drop the per-device xe->destroy_wq and use the module-level destroy WQ
    for SVM pagemap destroy as well. (Matt)
  - Rename xe_exec_queue_destroy_wq_*() helpers to xe_destroy_wq_*()
    helpers because the WQ is no longer exec-queue specific. (Matt)

Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c       |  6 +--
 drivers/gpu/drm/xe/xe_device_types.h |  3 --
 drivers/gpu/drm/xe/xe_guc_submit.c   | 66 ++++++++++++++++------------
 drivers/gpu/drm/xe/xe_guc_types.h    |  2 -
 drivers/gpu/drm/xe/xe_module.c       | 50 +++++++++++++++++++++
 drivers/gpu/drm/xe/xe_module.h       |  5 +++
 drivers/gpu/drm/xe/xe_pci.c          |  6 +++
 drivers/gpu/drm/xe/xe_svm.c          |  3 +-
 8 files changed, 101 insertions(+), 40 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 089872507bdd..0d8848e66d6b 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -469,9 +469,6 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)
 	if (xe->unordered_wq)
 		destroy_workqueue(xe->unordered_wq);
 
-	if (xe->destroy_wq)
-		destroy_workqueue(xe->destroy_wq);
-
 	ttm_device_fini(&xe->ttm);
 }
 
@@ -580,9 +577,8 @@ int xe_device_init_early(struct xe_device *xe)
 						       WQ_MEM_RECLAIM);
 	xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
 	xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
-	xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU, 0);
 	if (!xe->ordered_wq || !xe->unordered_wq ||
-	    !xe->preempt_fence_wq || !xe->destroy_wq) {
+	    !xe->preempt_fence_wq) {
 		/*
 		 * Cleanup done in xe_device_destroy via
 		 * drmm_add_action_or_reset register above
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 32dd2ffbc796..1ed993dffb52 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -355,9 +355,6 @@ struct xe_device {
 	/** @unordered_wq: used to serialize unordered work */
 	struct workqueue_struct *unordered_wq;
 
-	/** @destroy_wq: used to serialize user destroy work, like queue */
-	struct workqueue_struct *destroy_wq;
-
 	/** @tiles: device tiles */
 	struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
 
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index afe5d99cdd8b..982356513f3c 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -10,6 +10,7 @@
 #include <linux/circ_buf.h>
 #include <linux/dma-fence-array.h>
 
+#include <drm/drm_drv.h>
 #include <drm/drm_managed.h>
 
 #include "abi/guc_actions_abi.h"
@@ -37,6 +38,7 @@
 #include "xe_macros.h"
 #include "xe_map.h"
 #include "xe_mocs.h"
+#include "xe_module.h"
 #include "xe_pm.h"
 #include "xe_ring_ops_types.h"
 #include "xe_sched_job.h"
@@ -232,17 +234,9 @@ static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q)
 static void guc_submit_sw_fini(struct drm_device *drm, void *arg)
 {
 	struct xe_guc *guc = arg;
-	struct xe_device *xe = guc_to_xe(guc);
 	struct xe_gt *gt = guc_to_gt(guc);
-	int ret;
-
-	ret = wait_event_timeout(guc->submission_state.fini_wq,
-				 xa_empty(&guc->submission_state.exec_queue_lookup),
-				 HZ * 5);
 
-	drain_workqueue(xe->destroy_wq);
-
-	xe_gt_assert(gt, ret);
+	xe_gt_assert(gt, xa_empty(&guc->submission_state.exec_queue_lookup));
 
 	xa_destroy(&guc->submission_state.exec_queue_lookup);
 }
@@ -319,8 +313,6 @@ int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids)
 
 	xa_init(&guc->submission_state.exec_queue_lookup);
 
-	init_waitqueue_head(&guc->submission_state.fini_wq);
-
 	primelockdep(guc);
 
 	guc->submission_state.initialized = true;
@@ -411,9 +403,6 @@ static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q,
 	xe_guc_id_mgr_release_locked(&guc->submission_state.idm,
 				     q->guc->id, q->width);
 
-	if (xa_empty(&guc->submission_state.exec_queue_lookup))
-		wake_up(&guc->submission_state.fini_wq);
-
 	mutex_unlock(&guc->submission_state.lock);
 }
 
@@ -1685,6 +1674,7 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
 {
 	struct xe_guc_exec_queue *ge = q->guc;
 	struct xe_guc *guc = exec_queue_to_guc(q);
+	struct drm_device *drm = &guc_to_xe(guc)->drm;
 
 	if (xe_exec_queue_is_multi_queue_secondary(q)) {
 		struct xe_exec_queue_group *group = q->multi_queue.group;
@@ -1703,36 +1693,52 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
 	 * (timeline name).
 	 */
 	kfree_rcu(ge, rcu);
+
+	drm_dev_put(drm);
 }
 
-static void __guc_exec_queue_destroy_async(struct work_struct *w)
+static void guc_exec_queue_do_destroy(struct xe_exec_queue *q)
 {
-	struct xe_guc_exec_queue *ge =
-		container_of(w, struct xe_guc_exec_queue, destroy_async);
-	struct xe_exec_queue *q = ge->q;
+	struct xe_guc_exec_queue *ge = q->guc;
 	struct xe_guc *guc = exec_queue_to_guc(q);
+	struct xe_device *xe = guc_to_xe(guc);
+	struct drm_device *drm = &xe->drm;
 
-	guard(xe_pm_runtime)(guc_to_xe(guc));
-	trace_xe_exec_queue_destroy(q);
+	/*
+	 * guc_exec_queue_fini() drops the queue's drm_device ref.
+	 * Keep the device alive until the PM-runtime guard unwinds.
+	 */
+	drm_dev_get(drm);
 
-	/* Confirm no work left behind accessing device structures */
-	cancel_delayed_work_sync(&ge->sched.base.work_tdr);
+	scoped_guard(xe_pm_runtime, xe) {
+		trace_xe_exec_queue_destroy(q);
 
-	xe_exec_queue_fini(q);
+		/* Confirm no work left behind accessing device structures */
+		cancel_delayed_work_sync(&ge->sched.base.work_tdr);
+
+		xe_exec_queue_fini(q);
+	}
+
+	drm_dev_put(drm);
 }
 
-static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
+static void __guc_exec_queue_destroy_async(struct work_struct *w)
 {
-	struct xe_guc *guc = exec_queue_to_guc(q);
-	struct xe_device *xe = guc_to_xe(guc);
+	struct xe_guc_exec_queue *ge =
+		container_of(w, struct xe_guc_exec_queue, destroy_async);
+
+	guc_exec_queue_do_destroy(ge->q);
+}
 
+static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
+{
 	INIT_WORK(&q->guc->destroy_async, __guc_exec_queue_destroy_async);
 
 	/* We must block on kernel engines so slabs are empty on driver unload */
 	if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
-		__guc_exec_queue_destroy_async(&q->guc->destroy_async);
+		guc_exec_queue_do_destroy(q);
 	else
-		queue_work(xe->destroy_wq, &q->guc->destroy_async);
+		xe_destroy_wq_queue(&q->guc->destroy_async);
 }
 
 static void __guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)
@@ -1927,6 +1933,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 {
 	struct xe_gpu_scheduler *sched;
 	struct xe_guc *guc = exec_queue_to_guc(q);
+	struct drm_device *drm = &guc_to_xe(guc)->drm;
 	struct workqueue_struct *submit_wq = NULL;
 	struct xe_guc_exec_queue *ge;
 	long timeout;
@@ -1938,6 +1945,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 	if (!ge)
 		return -ENOMEM;
 
+	drm_dev_get(drm);
+
 	q->guc = ge;
 	ge->q = q;
 	init_rcu_head(&ge->rcu);
@@ -2014,6 +2023,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
 	release_guc_id(guc, q);
 err_free:
 	kfree(ge);
+	drm_dev_put(drm);
 
 	return err;
 }
diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
index c7b9642b41ba..31a2acb63ac3 100644
--- a/drivers/gpu/drm/xe/xe_guc_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_types.h
@@ -100,8 +100,6 @@ struct xe_guc {
 		 * even initialized - before that not even the lock is valid
 		 */
 		bool initialized;
-		/** @submission_state.fini_wq: submit fini wait queue */
-		wait_queue_head_t fini_wq;
 	} submission_state;
 
 	/** @hwconfig: Hardware config state */
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 4cb578182912..473be717e2c4 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -7,6 +7,7 @@
 
 #include <linux/init.h>
 #include <linux/module.h>
+#include <linux/workqueue.h>
 
 #include <drm/drm_module.h>
 
@@ -91,6 +92,51 @@ static int xe_check_nomodeset(void)
 	return 0;
 }
 
+static struct workqueue_struct *xe_destroy_wq;
+
+static int __init xe_destroy_wq_module_init(void)
+{
+	xe_destroy_wq = alloc_workqueue("xe-destroy-wq",
+					WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
+	if (!xe_destroy_wq)
+		return -ENOMEM;
+	return 0;
+}
+
+static void xe_destroy_wq_module_exit(void)
+{
+	if (xe_destroy_wq)
+		destroy_workqueue(xe_destroy_wq);
+	xe_destroy_wq = NULL;
+}
+
+/**
+ * xe_destroy_wq_queue() - Queue work on the destroy workqueue
+ * @work: work item to queue
+ *
+ * The destroy workqueue has module lifetime and is used for async teardown
+ * work that can outlive a single xe_device, such as GuC exec queue and SVM
+ * pagemap destroy.
+ *
+ * Return: %true if @work was queued, %false if it was already pending.
+ */
+bool xe_destroy_wq_queue(struct work_struct *work)
+{
+	return queue_work(xe_destroy_wq, work);
+}
+
+/**
+ * xe_destroy_wq_flush() - Flush the destroy workqueue
+ *
+ * Drains all pending destroy work. Called from PCI remove to ensure
+ * teardown ordering before the device is destroyed.
+ */
+void xe_destroy_wq_flush(void)
+{
+	if (xe_destroy_wq)
+		flush_workqueue(xe_destroy_wq);
+}
+
 struct init_funcs {
 	int (*init)(void);
 	void (*exit)(void);
@@ -112,6 +158,10 @@ static const struct init_funcs init_funcs[] = {
 		.init = xe_sched_job_module_init,
 		.exit = xe_sched_job_module_exit,
 	},
+	{
+		.init = xe_destroy_wq_module_init,
+		.exit = xe_destroy_wq_module_exit,
+	},
 	{
 		.init = xe_register_pci_driver,
 		.exit = xe_unregister_pci_driver,
diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
index 79cb9639c0f3..e8e54f701cf3 100644
--- a/drivers/gpu/drm/xe/xe_module.h
+++ b/drivers/gpu/drm/xe/xe_module.h
@@ -8,6 +8,8 @@
 
 #include <linux/types.h>
 
+struct work_struct;
+
 /* Module modprobe variables */
 struct xe_modparam {
 	bool force_execlist;
@@ -27,5 +29,8 @@ struct xe_modparam {
 
 extern struct xe_modparam xe_modparam;
 
+bool xe_destroy_wq_queue(struct work_struct *work);
+void xe_destroy_wq_flush(void);
+
 #endif
 
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 78fc2e4dcfc6..dc35f8a8c4b8 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -1049,6 +1049,12 @@ static void xe_pci_remove(struct pci_dev *pdev)
 		return;
 
 	xe_device_remove(xe);
+
+	/*
+	 * Preserve remove-time flush after moving destroy work to module
+	 * lifetime.
+	 */
+	xe_destroy_wq_flush();
 	xe_pm_fini(xe);
 }
 
diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
index e1651e70c8f0..6ff99310fdb4 100644
--- a/drivers/gpu/drm/xe/xe_svm.c
+++ b/drivers/gpu/drm/xe/xe_svm.c
@@ -1732,10 +1732,9 @@ static void xe_pagemap_destroy_work(struct work_struct *work)
 static void xe_pagemap_destroy(struct drm_pagemap *dpagemap, bool from_atomic_or_reclaim)
 {
 	struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
-	struct xe_device *xe = to_xe_device(dpagemap->drm);
 
 	if (from_atomic_or_reclaim)
-		queue_work(xe->destroy_wq, &xpagemap->destroy_work);
+		xe_destroy_wq_queue(&xpagemap->destroy_work);
 	else
 		xe_pagemap_destroy_work(&xpagemap->destroy_work);
 }
-- 
2.43.0


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

* Re: [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes
  2026-06-24  4:10 [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
@ 2026-06-24  4:16 ` Matthew Brost
  2026-07-03 18:27   ` Rodrigo Vivi
  2026-06-24  4:17 ` ✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5) Patchwork
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Matthew Brost @ 2026-06-24  4:16 UTC (permalink / raw)
  To: Arvind Yadav
  Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, rodrigo.vivi,
	tejas.upadhyay

On Wed, Jun 24, 2026 at 09:40:29AM +0530, Arvind Yadav wrote:
> GuC exec queue destruction can run asynchronously. If the final device
> put happens from a destroy worker, drmm cleanup can end up draining
> the same workqueue and deadlock.
> 
> Hold a drm_device reference for the queue lifetime and drop it after
> queue teardown completes. This keeps drmm cleanup from running while
> async destroy work is still pending.
> 
> Move destroy work to a module-lifetime Xe workqueue and flush it on
> PCI remove so hot-unbind/rebind still waits for pending destroy work.
> 
> With queue-held device refs, guc_submit_sw_fini() cannot run with live
> GuC IDs. Replace the fini wait with an assertion and remove the unused
> fini_wq.
> 
> v2:
>   - Rebase
> 
> v3:
>   - Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
>   - Queue async teardown on system_dfl_wq instead of xe->destroy_wq. (Matt)
>   - Drop separate deferred drm_dev_put worker.
>   - Remove stale drain_workqueue(xe->destroy_wq) from guc_submit_sw_fini().
> 
> v4:
>   - Replace the guc_submit_sw_fini() wait with an assertion and remove
>     the now-unused fini_wq. (sashiko)
> 
> v5:
>   - Move destroy work to a module-lifetime Xe workqueue instead of
>     system_dfl_wq. (Matt)
>   - Flush the module-lifetime destroy workqueue during PCI remove to
>     preserve the old device-remove wait semantics.
> 
> v6:
>   - Keep SVM pagemap destroy work on the per-device destroy_wq to avoid
>     letting it outlive the xe_device/drm_device. (Sashiko)
>   - Use WQ_MEM_RECLAIM for xe->destroy_wq because SVM pagemap destroy work
>     can be queued from the reclaim path.
> 
> v7:
>   - Drop the per-device xe->destroy_wq and use the module-level destroy WQ
>     for SVM pagemap destroy as well. (Matt)
>   - Rename xe_exec_queue_destroy_wq_*() helpers to xe_destroy_wq_*()
>     helpers because the WQ is no longer exec-queue specific. (Matt)
> 
> Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
> Cc: Matthew Brost <matthew.brost@intel.com>

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

> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device.c       |  6 +--
>  drivers/gpu/drm/xe/xe_device_types.h |  3 --
>  drivers/gpu/drm/xe/xe_guc_submit.c   | 66 ++++++++++++++++------------
>  drivers/gpu/drm/xe/xe_guc_types.h    |  2 -
>  drivers/gpu/drm/xe/xe_module.c       | 50 +++++++++++++++++++++
>  drivers/gpu/drm/xe/xe_module.h       |  5 +++
>  drivers/gpu/drm/xe/xe_pci.c          |  6 +++
>  drivers/gpu/drm/xe/xe_svm.c          |  3 +-
>  8 files changed, 101 insertions(+), 40 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 089872507bdd..0d8848e66d6b 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -469,9 +469,6 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)
>  	if (xe->unordered_wq)
>  		destroy_workqueue(xe->unordered_wq);
>  
> -	if (xe->destroy_wq)
> -		destroy_workqueue(xe->destroy_wq);
> -
>  	ttm_device_fini(&xe->ttm);
>  }
>  
> @@ -580,9 +577,8 @@ int xe_device_init_early(struct xe_device *xe)
>  						       WQ_MEM_RECLAIM);
>  	xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
>  	xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
> -	xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU, 0);
>  	if (!xe->ordered_wq || !xe->unordered_wq ||
> -	    !xe->preempt_fence_wq || !xe->destroy_wq) {
> +	    !xe->preempt_fence_wq) {
>  		/*
>  		 * Cleanup done in xe_device_destroy via
>  		 * drmm_add_action_or_reset register above
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 32dd2ffbc796..1ed993dffb52 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -355,9 +355,6 @@ struct xe_device {
>  	/** @unordered_wq: used to serialize unordered work */
>  	struct workqueue_struct *unordered_wq;
>  
> -	/** @destroy_wq: used to serialize user destroy work, like queue */
> -	struct workqueue_struct *destroy_wq;
> -
>  	/** @tiles: device tiles */
>  	struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
>  
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index afe5d99cdd8b..982356513f3c 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -10,6 +10,7 @@
>  #include <linux/circ_buf.h>
>  #include <linux/dma-fence-array.h>
>  
> +#include <drm/drm_drv.h>
>  #include <drm/drm_managed.h>
>  
>  #include "abi/guc_actions_abi.h"
> @@ -37,6 +38,7 @@
>  #include "xe_macros.h"
>  #include "xe_map.h"
>  #include "xe_mocs.h"
> +#include "xe_module.h"
>  #include "xe_pm.h"
>  #include "xe_ring_ops_types.h"
>  #include "xe_sched_job.h"
> @@ -232,17 +234,9 @@ static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q)
>  static void guc_submit_sw_fini(struct drm_device *drm, void *arg)
>  {
>  	struct xe_guc *guc = arg;
> -	struct xe_device *xe = guc_to_xe(guc);
>  	struct xe_gt *gt = guc_to_gt(guc);
> -	int ret;
> -
> -	ret = wait_event_timeout(guc->submission_state.fini_wq,
> -				 xa_empty(&guc->submission_state.exec_queue_lookup),
> -				 HZ * 5);
>  
> -	drain_workqueue(xe->destroy_wq);
> -
> -	xe_gt_assert(gt, ret);
> +	xe_gt_assert(gt, xa_empty(&guc->submission_state.exec_queue_lookup));
>  
>  	xa_destroy(&guc->submission_state.exec_queue_lookup);
>  }
> @@ -319,8 +313,6 @@ int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids)
>  
>  	xa_init(&guc->submission_state.exec_queue_lookup);
>  
> -	init_waitqueue_head(&guc->submission_state.fini_wq);
> -
>  	primelockdep(guc);
>  
>  	guc->submission_state.initialized = true;
> @@ -411,9 +403,6 @@ static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q,
>  	xe_guc_id_mgr_release_locked(&guc->submission_state.idm,
>  				     q->guc->id, q->width);
>  
> -	if (xa_empty(&guc->submission_state.exec_queue_lookup))
> -		wake_up(&guc->submission_state.fini_wq);
> -
>  	mutex_unlock(&guc->submission_state.lock);
>  }
>  
> @@ -1685,6 +1674,7 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
>  {
>  	struct xe_guc_exec_queue *ge = q->guc;
>  	struct xe_guc *guc = exec_queue_to_guc(q);
> +	struct drm_device *drm = &guc_to_xe(guc)->drm;
>  
>  	if (xe_exec_queue_is_multi_queue_secondary(q)) {
>  		struct xe_exec_queue_group *group = q->multi_queue.group;
> @@ -1703,36 +1693,52 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
>  	 * (timeline name).
>  	 */
>  	kfree_rcu(ge, rcu);
> +
> +	drm_dev_put(drm);
>  }
>  
> -static void __guc_exec_queue_destroy_async(struct work_struct *w)
> +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q)
>  {
> -	struct xe_guc_exec_queue *ge =
> -		container_of(w, struct xe_guc_exec_queue, destroy_async);
> -	struct xe_exec_queue *q = ge->q;
> +	struct xe_guc_exec_queue *ge = q->guc;
>  	struct xe_guc *guc = exec_queue_to_guc(q);
> +	struct xe_device *xe = guc_to_xe(guc);
> +	struct drm_device *drm = &xe->drm;
>  
> -	guard(xe_pm_runtime)(guc_to_xe(guc));
> -	trace_xe_exec_queue_destroy(q);
> +	/*
> +	 * guc_exec_queue_fini() drops the queue's drm_device ref.
> +	 * Keep the device alive until the PM-runtime guard unwinds.
> +	 */
> +	drm_dev_get(drm);
>  
> -	/* Confirm no work left behind accessing device structures */
> -	cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> +	scoped_guard(xe_pm_runtime, xe) {
> +		trace_xe_exec_queue_destroy(q);
>  
> -	xe_exec_queue_fini(q);
> +		/* Confirm no work left behind accessing device structures */
> +		cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> +
> +		xe_exec_queue_fini(q);
> +	}
> +
> +	drm_dev_put(drm);
>  }
>  
> -static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> +static void __guc_exec_queue_destroy_async(struct work_struct *w)
>  {
> -	struct xe_guc *guc = exec_queue_to_guc(q);
> -	struct xe_device *xe = guc_to_xe(guc);
> +	struct xe_guc_exec_queue *ge =
> +		container_of(w, struct xe_guc_exec_queue, destroy_async);
> +
> +	guc_exec_queue_do_destroy(ge->q);
> +}
>  
> +static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> +{
>  	INIT_WORK(&q->guc->destroy_async, __guc_exec_queue_destroy_async);
>  
>  	/* We must block on kernel engines so slabs are empty on driver unload */
>  	if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
> -		__guc_exec_queue_destroy_async(&q->guc->destroy_async);
> +		guc_exec_queue_do_destroy(q);
>  	else
> -		queue_work(xe->destroy_wq, &q->guc->destroy_async);
> +		xe_destroy_wq_queue(&q->guc->destroy_async);
>  }
>  
>  static void __guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)
> @@ -1927,6 +1933,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
>  {
>  	struct xe_gpu_scheduler *sched;
>  	struct xe_guc *guc = exec_queue_to_guc(q);
> +	struct drm_device *drm = &guc_to_xe(guc)->drm;
>  	struct workqueue_struct *submit_wq = NULL;
>  	struct xe_guc_exec_queue *ge;
>  	long timeout;
> @@ -1938,6 +1945,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
>  	if (!ge)
>  		return -ENOMEM;
>  
> +	drm_dev_get(drm);
> +
>  	q->guc = ge;
>  	ge->q = q;
>  	init_rcu_head(&ge->rcu);
> @@ -2014,6 +2023,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
>  	release_guc_id(guc, q);
>  err_free:
>  	kfree(ge);
> +	drm_dev_put(drm);
>  
>  	return err;
>  }
> diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
> index c7b9642b41ba..31a2acb63ac3 100644
> --- a/drivers/gpu/drm/xe/xe_guc_types.h
> +++ b/drivers/gpu/drm/xe/xe_guc_types.h
> @@ -100,8 +100,6 @@ struct xe_guc {
>  		 * even initialized - before that not even the lock is valid
>  		 */
>  		bool initialized;
> -		/** @submission_state.fini_wq: submit fini wait queue */
> -		wait_queue_head_t fini_wq;
>  	} submission_state;
>  
>  	/** @hwconfig: Hardware config state */
> diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
> index 4cb578182912..473be717e2c4 100644
> --- a/drivers/gpu/drm/xe/xe_module.c
> +++ b/drivers/gpu/drm/xe/xe_module.c
> @@ -7,6 +7,7 @@
>  
>  #include <linux/init.h>
>  #include <linux/module.h>
> +#include <linux/workqueue.h>
>  
>  #include <drm/drm_module.h>
>  
> @@ -91,6 +92,51 @@ static int xe_check_nomodeset(void)
>  	return 0;
>  }
>  
> +static struct workqueue_struct *xe_destroy_wq;
> +
> +static int __init xe_destroy_wq_module_init(void)
> +{
> +	xe_destroy_wq = alloc_workqueue("xe-destroy-wq",
> +					WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
> +	if (!xe_destroy_wq)
> +		return -ENOMEM;
> +	return 0;
> +}
> +
> +static void xe_destroy_wq_module_exit(void)
> +{
> +	if (xe_destroy_wq)
> +		destroy_workqueue(xe_destroy_wq);
> +	xe_destroy_wq = NULL;
> +}
> +
> +/**
> + * xe_destroy_wq_queue() - Queue work on the destroy workqueue
> + * @work: work item to queue
> + *
> + * The destroy workqueue has module lifetime and is used for async teardown
> + * work that can outlive a single xe_device, such as GuC exec queue and SVM
> + * pagemap destroy.
> + *
> + * Return: %true if @work was queued, %false if it was already pending.
> + */
> +bool xe_destroy_wq_queue(struct work_struct *work)
> +{
> +	return queue_work(xe_destroy_wq, work);
> +}
> +
> +/**
> + * xe_destroy_wq_flush() - Flush the destroy workqueue
> + *
> + * Drains all pending destroy work. Called from PCI remove to ensure
> + * teardown ordering before the device is destroyed.
> + */
> +void xe_destroy_wq_flush(void)
> +{
> +	if (xe_destroy_wq)
> +		flush_workqueue(xe_destroy_wq);
> +}
> +
>  struct init_funcs {
>  	int (*init)(void);
>  	void (*exit)(void);
> @@ -112,6 +158,10 @@ static const struct init_funcs init_funcs[] = {
>  		.init = xe_sched_job_module_init,
>  		.exit = xe_sched_job_module_exit,
>  	},
> +	{
> +		.init = xe_destroy_wq_module_init,
> +		.exit = xe_destroy_wq_module_exit,
> +	},
>  	{
>  		.init = xe_register_pci_driver,
>  		.exit = xe_unregister_pci_driver,
> diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
> index 79cb9639c0f3..e8e54f701cf3 100644
> --- a/drivers/gpu/drm/xe/xe_module.h
> +++ b/drivers/gpu/drm/xe/xe_module.h
> @@ -8,6 +8,8 @@
>  
>  #include <linux/types.h>
>  
> +struct work_struct;
> +
>  /* Module modprobe variables */
>  struct xe_modparam {
>  	bool force_execlist;
> @@ -27,5 +29,8 @@ struct xe_modparam {
>  
>  extern struct xe_modparam xe_modparam;
>  
> +bool xe_destroy_wq_queue(struct work_struct *work);
> +void xe_destroy_wq_flush(void);
> +
>  #endif
>  
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 78fc2e4dcfc6..dc35f8a8c4b8 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1049,6 +1049,12 @@ static void xe_pci_remove(struct pci_dev *pdev)
>  		return;
>  
>  	xe_device_remove(xe);
> +
> +	/*
> +	 * Preserve remove-time flush after moving destroy work to module
> +	 * lifetime.
> +	 */
> +	xe_destroy_wq_flush();
>  	xe_pm_fini(xe);
>  }
>  
> diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
> index e1651e70c8f0..6ff99310fdb4 100644
> --- a/drivers/gpu/drm/xe/xe_svm.c
> +++ b/drivers/gpu/drm/xe/xe_svm.c
> @@ -1732,10 +1732,9 @@ static void xe_pagemap_destroy_work(struct work_struct *work)
>  static void xe_pagemap_destroy(struct drm_pagemap *dpagemap, bool from_atomic_or_reclaim)
>  {
>  	struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
> -	struct xe_device *xe = to_xe_device(dpagemap->drm);
>  
>  	if (from_atomic_or_reclaim)
> -		queue_work(xe->destroy_wq, &xpagemap->destroy_work);
> +		xe_destroy_wq_queue(&xpagemap->destroy_work);
>  	else
>  		xe_pagemap_destroy_work(&xpagemap->destroy_work);
>  }
> -- 
> 2.43.0
> 

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

* ✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5)
  2026-06-24  4:10 [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
  2026-06-24  4:16 ` Matthew Brost
@ 2026-06-24  4:17 ` Patchwork
  2026-06-24  4:59 ` ✓ Xe.CI.BAT: " Patchwork
  2026-06-24  7:32 ` ✓ Xe.CI.FULL: " Patchwork
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-06-24  4:17 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/xe/guc: Hold device ref until queue teardown completes (rev5)
URL   : https://patchwork.freedesktop.org/series/168424/
State : success

== Summary ==

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

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5)
  2026-06-24  4:10 [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
  2026-06-24  4:16 ` Matthew Brost
  2026-06-24  4:17 ` ✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5) Patchwork
@ 2026-06-24  4:59 ` Patchwork
  2026-06-24  7:32 ` ✓ Xe.CI.FULL: " Patchwork
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-06-24  4:59 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/guc: Hold device ref until queue teardown completes (rev5)
URL   : https://patchwork.freedesktop.org/series/168424/
State : success

== Summary ==

CI Bug Log - changes from xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36_BAT -> xe-pw-168424v5_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (12 -> 12)
------------------------------

  No changes in participating hosts


Changes
-------

  No changes found


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

  * IGT: IGT_8981 -> IGT_8982
  * Linux: xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36 -> xe-pw-168424v5

  IGT_8981: 28416da6681a1afa167bdd73cdc934cb36d13133 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8982: 48befce9e6b0c0d371c4812bfff34a61319f68f1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36: e7cd62086ec5a70cefb8b8b00964096692bfab36
  xe-pw-168424v5: 168424v5

== Logs ==

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

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

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

* ✓ Xe.CI.FULL: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5)
  2026-06-24  4:10 [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
                   ` (2 preceding siblings ...)
  2026-06-24  4:59 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-06-24  7:32 ` Patchwork
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-06-24  7:32 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/guc: Hold device ref until queue teardown completes (rev5)
URL   : https://patchwork.freedesktop.org/series/168424/
State : success

== Summary ==

CI Bug Log - changes from xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36_FULL -> xe-pw-168424v5_FULL
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts

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

  Here are the changes found in xe-pw-168424v5_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@asahi/asahi_get_params@get-params-uint32-max:
    - shard-lnl:          NOTRUN -> [SKIP][1] ([Intel XE#8416])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-3/igt@asahi/asahi_get_params@get-params-uint32-max.html

  * igt@asahi/asahi_get_time@get-time-flags-1:
    - shard-bmg:          NOTRUN -> [SKIP][2] ([Intel XE#8416]) +1 other test skip
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@asahi/asahi_get_time@get-time-flags-1.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@kms_big_fb@4-tiled-64bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-64bpp-rotate-0:
    - shard-lnl:          NOTRUN -> [SKIP][4] ([Intel XE#1124])
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-5/igt@kms_big_fb@y-tiled-64bpp-rotate-0.html

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

  * igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#7679])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p.html

  * igt@kms_bw@linear-tiling-3-displays-target-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#367]) +1 other test skip
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-2/igt@kms_bw@linear-tiling-3-displays-target-3840x2160p.html
    - shard-lnl:          NOTRUN -> [SKIP][8] ([Intel XE#367])
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-4/igt@kms_bw@linear-tiling-3-displays-target-3840x2160p.html

  * igt@kms_ccs@ccs-on-another-bo-y-tiled-gen12-rc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2887]) +5 other tests skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_ccs@ccs-on-another-bo-y-tiled-gen12-rc-ccs.html
    - shard-lnl:          NOTRUN -> [SKIP][10] ([Intel XE#2887])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-7/igt@kms_ccs@ccs-on-another-bo-y-tiled-gen12-rc-ccs.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
    - shard-bmg:          [PASS][11] -> [INCOMPLETE][12] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-2/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html

  * igt@kms_cdclk@mode-transition-all-outputs:
    - shard-bmg:          NOTRUN -> [SKIP][13] ([Intel XE#2724] / [Intel XE#7449])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-9/igt@kms_cdclk@mode-transition-all-outputs.html

  * igt@kms_chamelium_color_pipeline@plane-ctm3x4:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#7358])
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-10/igt@kms_chamelium_color_pipeline@plane-ctm3x4.html

  * igt@kms_chamelium_frames@dp-crc-single:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#2252]) +1 other test skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_chamelium_frames@dp-crc-single.html

  * igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][16] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2.html

  * igt@kms_cursor_crc@cursor-onscreen-512x512:
    - shard-lnl:          NOTRUN -> [SKIP][17] ([Intel XE#2321] / [Intel XE#7355])
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-8/igt@kms_cursor_crc@cursor-onscreen-512x512.html
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_cursor_crc@cursor-onscreen-512x512.html

  * igt@kms_cursor_crc@cursor-random-128x42:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#2320])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_cursor_crc@cursor-random-128x42.html

  * igt@kms_cursor_crc@cursor-sliding-256x256:
    - shard-bmg:          [PASS][20] -> [FAIL][21] ([Intel XE#8117] / [Intel XE#8197])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-5/igt@kms_cursor_crc@cursor-sliding-256x256.html
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_cursor_crc@cursor-sliding-256x256.html

  * igt@kms_cursor_crc@cursor-sliding-256x256@pipe-d-dp-2:
    - shard-bmg:          [PASS][22] -> [FAIL][23] ([Intel XE#8197])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-5/igt@kms_cursor_crc@cursor-sliding-256x256@pipe-d-dp-2.html
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_cursor_crc@cursor-sliding-256x256@pipe-d-dp-2.html

  * igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions:
    - shard-lnl:          NOTRUN -> [SKIP][24] ([Intel XE#309] / [Intel XE#7343])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-8/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions.html

  * igt@kms_dirtyfb@drrs-dirtyfb-ioctl:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#1508])
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html

  * igt@kms_dp_link_training@non-uhbr-mst:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#4354] / [Intel XE#5882])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-1/igt@kms_dp_link_training@non-uhbr-mst.html

  * igt@kms_dsc@dsc-with-output-formats-with-bpc-ultrajoiner:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#8265])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@kms_dsc@dsc-with-output-formats-with-bpc-ultrajoiner.html

  * igt@kms_feature_discovery@display-3x:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#2373] / [Intel XE#7448])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_feature_discovery@display-3x.html

  * igt@kms_flip@2x-nonexisting-fb-interruptible:
    - shard-lnl:          NOTRUN -> [SKIP][29] ([Intel XE#1421])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-5/igt@kms_flip@2x-nonexisting-fb-interruptible.html

  * igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#7179])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#7178] / [Intel XE#7351])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html

  * igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][32] ([Intel XE#7061] / [Intel XE#7356])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-2/igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#4141]) +3 other tests skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#2311]) +17 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-argb161616f-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#7061] / [Intel XE#7356]) +3 other tests skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-argb161616f-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-abgr161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#7061])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrshdr-abgr161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][37] ([Intel XE#6312]) +1 other test skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-2/igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-render.html

  * igt@kms_frontbuffer_tracking@fbchdr-2p-primscrn-pri-indfb-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][38] ([Intel XE#7905]) +1 other test skip
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-7/igt@kms_frontbuffer_tracking@fbchdr-2p-primscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-indfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#2313]) +17 other tests skip
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-indfb-plflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][40] ([Intel XE#656] / [Intel XE#7905])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-5/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-indfb-plflip-blt.html

  * igt@kms_hdmi_inject@inject-audio:
    - shard-bmg:          [PASS][41] -> [SKIP][42] ([Intel XE#7308])
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-1/igt@kms_hdmi_inject@inject-audio.html
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@kms_hdmi_inject@inject-audio.html

  * igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#7283])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-3/igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping.html

  * igt@kms_plane@planar-pixel-format-settings@nv12-tile4-src-y:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#8076])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-2/igt@kms_plane@planar-pixel-format-settings@nv12-tile4-src-y.html

  * igt@kms_plane_scaling@intel-max-src-size:
    - shard-bmg:          [PASS][45] -> [SKIP][46] ([Intel XE#2685] / [Intel XE#3307])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-7/igt@kms_plane_scaling@intel-max-src-size.html
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-3/igt@kms_plane_scaling@intel-max-src-size.html

  * igt@kms_pm_backlight@fade-with-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#7376] / [Intel XE#7760] / [Intel XE#870])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-8/igt@kms_pm_backlight@fade-with-suspend.html

  * igt@kms_pm_dc@dc3co-after-dc6:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#8395]) +1 other test skip
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-10/igt@kms_pm_dc@dc3co-after-dc6.html

  * igt@kms_pm_dc@dc3co-after-dc6@psr2:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#8396])
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-10/igt@kms_pm_dc@dc3co-after-dc6@psr2.html

  * igt@kms_pm_rpm@modeset-non-lpsp:
    - shard-lnl:          NOTRUN -> [SKIP][50] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-1/igt@kms_pm_rpm@modeset-non-lpsp.html

  * igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#1489]) +4 other tests skip
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area.html

  * igt@kms_psr@fbc-psr2-cursor-plane-move:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#2234] / [Intel XE#2850]) +4 other tests skip
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_psr@fbc-psr2-cursor-plane-move.html
    - shard-lnl:          NOTRUN -> [SKIP][53] ([Intel XE#1406] / [Intel XE#7345])
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-8/igt@kms_psr@fbc-psr2-cursor-plane-move.html

  * igt@kms_psr@fbc-psr2-cursor-plane-move@edp-1:
    - shard-lnl:          NOTRUN -> [SKIP][54] ([Intel XE#1406] / [Intel XE#4609])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-8/igt@kms_psr@fbc-psr2-cursor-plane-move@edp-1.html

  * igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
    - shard-bmg:          NOTRUN -> [SKIP][55] ([Intel XE#3904] / [Intel XE#7342]) +1 other test skip
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-1/igt@kms_rotation_crc@sprite-rotation-90-pos-100-0.html

  * igt@kms_setmode@invalid-clone-single-crtc-stealing:
    - shard-lnl:          NOTRUN -> [SKIP][56] ([Intel XE#1435])
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-4/igt@kms_setmode@invalid-clone-single-crtc-stealing.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          NOTRUN -> [SKIP][57] ([Intel XE#2426] / [Intel XE#5848])
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  * igt@sriov_basic@enable-vfs-autoprobe-off@numvfs-7:
    - shard-bmg:          [PASS][58] -> [FAIL][59] ([Intel XE#7992]) +27 other tests fail
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-1/igt@sriov_basic@enable-vfs-autoprobe-off@numvfs-7.html
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@sriov_basic@enable-vfs-autoprobe-off@numvfs-7.html

  * igt@xe_compute@ccs-mode-compute-kernel:
    - shard-bmg:          NOTRUN -> [SKIP][60] ([Intel XE#6599])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-3/igt@xe_compute@ccs-mode-compute-kernel.html
    - shard-lnl:          NOTRUN -> [SKIP][61] ([Intel XE#1447] / [Intel XE#7469])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-3/igt@xe_compute@ccs-mode-compute-kernel.html

  * igt@xe_eudebug@discovery-race-sigint:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#7636]) +3 other tests skip
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@xe_eudebug@discovery-race-sigint.html

  * igt@xe_evict@evict-beng-small-multi-vm:
    - shard-lnl:          NOTRUN -> [SKIP][63] ([Intel XE#6540] / [Intel XE#688])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-8/igt@xe_evict@evict-beng-small-multi-vm.html

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

  * igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][65] ([Intel XE#8374]) +2 other tests skip
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch.html

  * igt@xe_exec_multi_queue@two-queues-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][66] ([Intel XE#8364]) +9 other tests skip
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@xe_exec_multi_queue@two-queues-userptr.html

  * igt@xe_exec_threads@threads-multi-queue-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][67] ([Intel XE#8378]) +3 other tests skip
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-1/igt@xe_exec_threads@threads-multi-queue-userptr.html
    - shard-lnl:          NOTRUN -> [SKIP][68] ([Intel XE#8378])
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-5/igt@xe_exec_threads@threads-multi-queue-userptr.html

  * igt@xe_multigpu_svm@mgpu-coherency-basic:
    - shard-bmg:          NOTRUN -> [SKIP][69] ([Intel XE#6964]) +1 other test skip
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@xe_multigpu_svm@mgpu-coherency-basic.html

  * igt@xe_pat@l2-flush-opt-svm-pat-restrict:
    - shard-bmg:          NOTRUN -> [SKIP][70] ([Intel XE#7590])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-10/igt@xe_pat@l2-flush-opt-svm-pat-restrict.html

  * igt@xe_pm@d3cold-mocs:
    - shard-bmg:          NOTRUN -> [SKIP][71] ([Intel XE#2284] / [Intel XE#7370])
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-4/igt@xe_pm@d3cold-mocs.html

  * igt@xe_pm@s3-d3hot-basic-exec:
    - shard-lnl:          NOTRUN -> [SKIP][72] ([Intel XE#584] / [Intel XE#7369])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-6/igt@xe_pm@s3-d3hot-basic-exec.html

  * igt@xe_query@multigpu-query-invalid-extension:
    - shard-bmg:          NOTRUN -> [SKIP][73] ([Intel XE#944])
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-3/igt@xe_query@multigpu-query-invalid-extension.html

  * igt@xe_sriov_flr@flr-vf1-clear:
    - shard-bmg:          [PASS][74] -> [FAIL][75] ([Intel XE#6569])
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-7/igt@xe_sriov_flr@flr-vf1-clear.html
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-4/igt@xe_sriov_flr@flr-vf1-clear.html

  * igt@xe_vm@overcommit-nonfault-vram-lr-external-nodefer:
    - shard-lnl:          NOTRUN -> [SKIP][76] ([Intel XE#7892])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-1/igt@xe_vm@overcommit-nonfault-vram-lr-external-nodefer.html

  
#### Possible fixes ####

  * igt@kms_flip@flip-vs-absolute-wf_vblank@b-hdmi-a3:
    - shard-bmg:          [FAIL][77] ([Intel XE#3098]) -> [PASS][78] +1 other test pass
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-9/igt@kms_flip@flip-vs-absolute-wf_vblank@b-hdmi-a3.html
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-4/igt@kms_flip@flip-vs-absolute-wf_vblank@b-hdmi-a3.html

  * igt@kms_flip@flip-vs-expired-vblank@a-edp1:
    - shard-lnl:          [FAIL][79] ([Intel XE#301]) -> [PASS][80] +2 other tests pass
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html

  * igt@xe_evict@evict-mixed-many-threads-small:
    - shard-bmg:          [INCOMPLETE][81] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][82]
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-9/igt@xe_evict@evict-mixed-many-threads-small.html
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html

  * igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads:
    - shard-bmg:          [FAIL][83] ([Intel XE#7850]) -> [PASS][84]
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-5/igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads.html
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-4/igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads.html

  * igt@xe_exec_system_allocator@prefetch-benchmark:
    - shard-bmg:          [ABORT][85] ([Intel XE#8403]) -> [PASS][86]
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-3/igt@xe_exec_system_allocator@prefetch-benchmark.html
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-7/igt@xe_exec_system_allocator@prefetch-benchmark.html

  * igt@xe_exec_system_allocator@threads-many-large-mmap-prefetch-shared:
    - shard-lnl:          [ABORT][87] ([Intel XE#8007]) -> [PASS][88]
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-lnl-3/igt@xe_exec_system_allocator@threads-many-large-mmap-prefetch-shared.html
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-lnl-2/igt@xe_exec_system_allocator@threads-many-large-mmap-prefetch-shared.html

  * igt@xe_sriov_flr@flr-basic@numvfs-1:
    - shard-bmg:          [FAIL][89] ([Intel XE#7992]) -> [PASS][90] +1 other test pass
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-8/igt@xe_sriov_flr@flr-basic@numvfs-1.html
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-8/igt@xe_sriov_flr@flr-basic@numvfs-1.html

  * igt@xe_sriov_flr@flr-twice:
    - shard-bmg:          [FAIL][91] ([Intel XE#6569]) -> [PASS][92]
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-2/igt@xe_sriov_flr@flr-twice.html
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-1/igt@xe_sriov_flr@flr-twice.html

  * igt@xe_wedged@wedged-mode-toggle:
    - shard-bmg:          [ABORT][93] ([Intel XE#8007]) -> [PASS][94]
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-9/igt@xe_wedged@wedged-mode-toggle.html
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-6/igt@xe_wedged@wedged-mode-toggle.html

  
#### Warnings ####

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][95] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][96] ([Intel XE#3544])
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36/shard-bmg-8/igt@kms_hdr@brightness-with-hdr.html
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v5/shard-bmg-5/igt@kms_hdr@brightness-with-hdr.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1447]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1447
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2373
  [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2685]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2685
  [Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
  [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3307
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
  [Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
  [Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
  [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
  [Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
  [Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
  [Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7308
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
  [Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
  [Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
  [Intel XE#7448]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7448
  [Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
  [Intel XE#7469]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7469
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
  [Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
  [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
  [Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
  [Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
  [Intel XE#7892]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7892
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
  [Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
  [Intel XE#8076]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8076
  [Intel XE#8117]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8117
  [Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
  [Intel XE#8197]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8197
  [Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
  [Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
  [Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
  [Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
  [Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
  [Intel XE#8403]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8403
  [Intel XE#8416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8416
  [Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * IGT: IGT_8981 -> IGT_8982
  * Linux: xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36 -> xe-pw-168424v5

  IGT_8981: 28416da6681a1afa167bdd73cdc934cb36d13133 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8982: 48befce9e6b0c0d371c4812bfff34a61319f68f1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-5292-e7cd62086ec5a70cefb8b8b00964096692bfab36: e7cd62086ec5a70cefb8b8b00964096692bfab36
  xe-pw-168424v5: 168424v5

== Logs ==

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

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

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

* Re: [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes
  2026-06-24  4:16 ` Matthew Brost
@ 2026-07-03 18:27   ` Rodrigo Vivi
  2026-07-03 22:28     ` Matthew Brost
  0 siblings, 1 reply; 7+ messages in thread
From: Rodrigo Vivi @ 2026-07-03 18:27 UTC (permalink / raw)
  To: Matthew Brost
  Cc: Arvind Yadav, intel-xe, himal.prasad.ghimiray, thomas.hellstrom,
	tejas.upadhyay

On Tue, Jun 23, 2026 at 09:16:25PM -0700, Matthew Brost wrote:
> On Wed, Jun 24, 2026 at 09:40:29AM +0530, Arvind Yadav wrote:
> > GuC exec queue destruction can run asynchronously. If the final device
> > put happens from a destroy worker, drmm cleanup can end up draining
> > the same workqueue and deadlock.
> > 
> > Hold a drm_device reference for the queue lifetime and drop it after
> > queue teardown completes. This keeps drmm cleanup from running while
> > async destroy work is still pending.
> > 
> > Move destroy work to a module-lifetime Xe workqueue and flush it on
> > PCI remove so hot-unbind/rebind still waits for pending destroy work.
> > 
> > With queue-held device refs, guc_submit_sw_fini() cannot run with live
> > GuC IDs. Replace the fini wait with an assertion and remove the unused
> > fini_wq.
> > 
> > v2:
> >   - Rebase
> > 
> > v3:
> >   - Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
> >   - Queue async teardown on system_dfl_wq instead of xe->destroy_wq. (Matt)
> >   - Drop separate deferred drm_dev_put worker.
> >   - Remove stale drain_workqueue(xe->destroy_wq) from guc_submit_sw_fini().
> > 
> > v4:
> >   - Replace the guc_submit_sw_fini() wait with an assertion and remove
> >     the now-unused fini_wq. (sashiko)
> > 
> > v5:
> >   - Move destroy work to a module-lifetime Xe workqueue instead of
> >     system_dfl_wq. (Matt)
> >   - Flush the module-lifetime destroy workqueue during PCI remove to
> >     preserve the old device-remove wait semantics.
> > 
> > v6:
> >   - Keep SVM pagemap destroy work on the per-device destroy_wq to avoid
> >     letting it outlive the xe_device/drm_device. (Sashiko)
> >   - Use WQ_MEM_RECLAIM for xe->destroy_wq because SVM pagemap destroy work
> >     can be queued from the reclaim path.
> > 
> > v7:
> >   - Drop the per-device xe->destroy_wq and use the module-level destroy WQ
> >     for SVM pagemap destroy as well. (Matt)
> >   - Rename xe_exec_queue_destroy_wq_*() helpers to xe_destroy_wq_*()
> >     helpers because the WQ is no longer exec-queue specific. (Matt)
> > 
> > Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
> > Cc: Matthew Brost <matthew.brost@intel.com>
> 
> Reviewed-by: Matthew Brost <matthew.brost@intel.com>

I was going to push this patch, but have you guys seen this:

https://sashiko.dev/#/patchset/20260624041029.2357470-1-arvind.yadav%40intel.com

?

> 
> > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> > Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> > Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> > ---
> >  drivers/gpu/drm/xe/xe_device.c       |  6 +--
> >  drivers/gpu/drm/xe/xe_device_types.h |  3 --
> >  drivers/gpu/drm/xe/xe_guc_submit.c   | 66 ++++++++++++++++------------
> >  drivers/gpu/drm/xe/xe_guc_types.h    |  2 -
> >  drivers/gpu/drm/xe/xe_module.c       | 50 +++++++++++++++++++++
> >  drivers/gpu/drm/xe/xe_module.h       |  5 +++
> >  drivers/gpu/drm/xe/xe_pci.c          |  6 +++
> >  drivers/gpu/drm/xe/xe_svm.c          |  3 +-
> >  8 files changed, 101 insertions(+), 40 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> > index 089872507bdd..0d8848e66d6b 100644
> > --- a/drivers/gpu/drm/xe/xe_device.c
> > +++ b/drivers/gpu/drm/xe/xe_device.c
> > @@ -469,9 +469,6 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)
> >  	if (xe->unordered_wq)
> >  		destroy_workqueue(xe->unordered_wq);
> >  
> > -	if (xe->destroy_wq)
> > -		destroy_workqueue(xe->destroy_wq);
> > -
> >  	ttm_device_fini(&xe->ttm);
> >  }
> >  
> > @@ -580,9 +577,8 @@ int xe_device_init_early(struct xe_device *xe)
> >  						       WQ_MEM_RECLAIM);
> >  	xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
> >  	xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
> > -	xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU, 0);
> >  	if (!xe->ordered_wq || !xe->unordered_wq ||
> > -	    !xe->preempt_fence_wq || !xe->destroy_wq) {
> > +	    !xe->preempt_fence_wq) {
> >  		/*
> >  		 * Cleanup done in xe_device_destroy via
> >  		 * drmm_add_action_or_reset register above
> > diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> > index 32dd2ffbc796..1ed993dffb52 100644
> > --- a/drivers/gpu/drm/xe/xe_device_types.h
> > +++ b/drivers/gpu/drm/xe/xe_device_types.h
> > @@ -355,9 +355,6 @@ struct xe_device {
> >  	/** @unordered_wq: used to serialize unordered work */
> >  	struct workqueue_struct *unordered_wq;
> >  
> > -	/** @destroy_wq: used to serialize user destroy work, like queue */
> > -	struct workqueue_struct *destroy_wq;
> > -
> >  	/** @tiles: device tiles */
> >  	struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
> >  
> > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> > index afe5d99cdd8b..982356513f3c 100644
> > --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> > @@ -10,6 +10,7 @@
> >  #include <linux/circ_buf.h>
> >  #include <linux/dma-fence-array.h>
> >  
> > +#include <drm/drm_drv.h>
> >  #include <drm/drm_managed.h>
> >  
> >  #include "abi/guc_actions_abi.h"
> > @@ -37,6 +38,7 @@
> >  #include "xe_macros.h"
> >  #include "xe_map.h"
> >  #include "xe_mocs.h"
> > +#include "xe_module.h"
> >  #include "xe_pm.h"
> >  #include "xe_ring_ops_types.h"
> >  #include "xe_sched_job.h"
> > @@ -232,17 +234,9 @@ static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q)
> >  static void guc_submit_sw_fini(struct drm_device *drm, void *arg)
> >  {
> >  	struct xe_guc *guc = arg;
> > -	struct xe_device *xe = guc_to_xe(guc);
> >  	struct xe_gt *gt = guc_to_gt(guc);
> > -	int ret;
> > -
> > -	ret = wait_event_timeout(guc->submission_state.fini_wq,
> > -				 xa_empty(&guc->submission_state.exec_queue_lookup),
> > -				 HZ * 5);
> >  
> > -	drain_workqueue(xe->destroy_wq);
> > -
> > -	xe_gt_assert(gt, ret);
> > +	xe_gt_assert(gt, xa_empty(&guc->submission_state.exec_queue_lookup));
> >  
> >  	xa_destroy(&guc->submission_state.exec_queue_lookup);
> >  }
> > @@ -319,8 +313,6 @@ int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids)
> >  
> >  	xa_init(&guc->submission_state.exec_queue_lookup);
> >  
> > -	init_waitqueue_head(&guc->submission_state.fini_wq);
> > -
> >  	primelockdep(guc);
> >  
> >  	guc->submission_state.initialized = true;
> > @@ -411,9 +403,6 @@ static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q,
> >  	xe_guc_id_mgr_release_locked(&guc->submission_state.idm,
> >  				     q->guc->id, q->width);
> >  
> > -	if (xa_empty(&guc->submission_state.exec_queue_lookup))
> > -		wake_up(&guc->submission_state.fini_wq);
> > -
> >  	mutex_unlock(&guc->submission_state.lock);
> >  }
> >  
> > @@ -1685,6 +1674,7 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> >  {
> >  	struct xe_guc_exec_queue *ge = q->guc;
> >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > +	struct drm_device *drm = &guc_to_xe(guc)->drm;
> >  
> >  	if (xe_exec_queue_is_multi_queue_secondary(q)) {
> >  		struct xe_exec_queue_group *group = q->multi_queue.group;
> > @@ -1703,36 +1693,52 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> >  	 * (timeline name).
> >  	 */
> >  	kfree_rcu(ge, rcu);
> > +
> > +	drm_dev_put(drm);
> >  }
> >  
> > -static void __guc_exec_queue_destroy_async(struct work_struct *w)
> > +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q)
> >  {
> > -	struct xe_guc_exec_queue *ge =
> > -		container_of(w, struct xe_guc_exec_queue, destroy_async);
> > -	struct xe_exec_queue *q = ge->q;
> > +	struct xe_guc_exec_queue *ge = q->guc;
> >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > +	struct xe_device *xe = guc_to_xe(guc);
> > +	struct drm_device *drm = &xe->drm;
> >  
> > -	guard(xe_pm_runtime)(guc_to_xe(guc));
> > -	trace_xe_exec_queue_destroy(q);
> > +	/*
> > +	 * guc_exec_queue_fini() drops the queue's drm_device ref.
> > +	 * Keep the device alive until the PM-runtime guard unwinds.
> > +	 */
> > +	drm_dev_get(drm);
> >  
> > -	/* Confirm no work left behind accessing device structures */
> > -	cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> > +	scoped_guard(xe_pm_runtime, xe) {
> > +		trace_xe_exec_queue_destroy(q);
> >  
> > -	xe_exec_queue_fini(q);
> > +		/* Confirm no work left behind accessing device structures */
> > +		cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> > +
> > +		xe_exec_queue_fini(q);
> > +	}
> > +
> > +	drm_dev_put(drm);
> >  }
> >  
> > -static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> > +static void __guc_exec_queue_destroy_async(struct work_struct *w)
> >  {
> > -	struct xe_guc *guc = exec_queue_to_guc(q);
> > -	struct xe_device *xe = guc_to_xe(guc);
> > +	struct xe_guc_exec_queue *ge =
> > +		container_of(w, struct xe_guc_exec_queue, destroy_async);
> > +
> > +	guc_exec_queue_do_destroy(ge->q);
> > +}
> >  
> > +static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> > +{
> >  	INIT_WORK(&q->guc->destroy_async, __guc_exec_queue_destroy_async);
> >  
> >  	/* We must block on kernel engines so slabs are empty on driver unload */
> >  	if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
> > -		__guc_exec_queue_destroy_async(&q->guc->destroy_async);
> > +		guc_exec_queue_do_destroy(q);
> >  	else
> > -		queue_work(xe->destroy_wq, &q->guc->destroy_async);
> > +		xe_destroy_wq_queue(&q->guc->destroy_async);
> >  }
> >  
> >  static void __guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)
> > @@ -1927,6 +1933,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> >  {
> >  	struct xe_gpu_scheduler *sched;
> >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > +	struct drm_device *drm = &guc_to_xe(guc)->drm;
> >  	struct workqueue_struct *submit_wq = NULL;
> >  	struct xe_guc_exec_queue *ge;
> >  	long timeout;
> > @@ -1938,6 +1945,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> >  	if (!ge)
> >  		return -ENOMEM;
> >  
> > +	drm_dev_get(drm);
> > +
> >  	q->guc = ge;
> >  	ge->q = q;
> >  	init_rcu_head(&ge->rcu);
> > @@ -2014,6 +2023,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> >  	release_guc_id(guc, q);
> >  err_free:
> >  	kfree(ge);
> > +	drm_dev_put(drm);
> >  
> >  	return err;
> >  }
> > diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
> > index c7b9642b41ba..31a2acb63ac3 100644
> > --- a/drivers/gpu/drm/xe/xe_guc_types.h
> > +++ b/drivers/gpu/drm/xe/xe_guc_types.h
> > @@ -100,8 +100,6 @@ struct xe_guc {
> >  		 * even initialized - before that not even the lock is valid
> >  		 */
> >  		bool initialized;
> > -		/** @submission_state.fini_wq: submit fini wait queue */
> > -		wait_queue_head_t fini_wq;
> >  	} submission_state;
> >  
> >  	/** @hwconfig: Hardware config state */
> > diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
> > index 4cb578182912..473be717e2c4 100644
> > --- a/drivers/gpu/drm/xe/xe_module.c
> > +++ b/drivers/gpu/drm/xe/xe_module.c
> > @@ -7,6 +7,7 @@
> >  
> >  #include <linux/init.h>
> >  #include <linux/module.h>
> > +#include <linux/workqueue.h>
> >  
> >  #include <drm/drm_module.h>
> >  
> > @@ -91,6 +92,51 @@ static int xe_check_nomodeset(void)
> >  	return 0;
> >  }
> >  
> > +static struct workqueue_struct *xe_destroy_wq;
> > +
> > +static int __init xe_destroy_wq_module_init(void)
> > +{
> > +	xe_destroy_wq = alloc_workqueue("xe-destroy-wq",
> > +					WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
> > +	if (!xe_destroy_wq)
> > +		return -ENOMEM;
> > +	return 0;
> > +}
> > +
> > +static void xe_destroy_wq_module_exit(void)
> > +{
> > +	if (xe_destroy_wq)
> > +		destroy_workqueue(xe_destroy_wq);
> > +	xe_destroy_wq = NULL;
> > +}
> > +
> > +/**
> > + * xe_destroy_wq_queue() - Queue work on the destroy workqueue
> > + * @work: work item to queue
> > + *
> > + * The destroy workqueue has module lifetime and is used for async teardown
> > + * work that can outlive a single xe_device, such as GuC exec queue and SVM
> > + * pagemap destroy.
> > + *
> > + * Return: %true if @work was queued, %false if it was already pending.
> > + */
> > +bool xe_destroy_wq_queue(struct work_struct *work)
> > +{
> > +	return queue_work(xe_destroy_wq, work);
> > +}
> > +
> > +/**
> > + * xe_destroy_wq_flush() - Flush the destroy workqueue
> > + *
> > + * Drains all pending destroy work. Called from PCI remove to ensure
> > + * teardown ordering before the device is destroyed.
> > + */
> > +void xe_destroy_wq_flush(void)
> > +{
> > +	if (xe_destroy_wq)
> > +		flush_workqueue(xe_destroy_wq);
> > +}
> > +
> >  struct init_funcs {
> >  	int (*init)(void);
> >  	void (*exit)(void);
> > @@ -112,6 +158,10 @@ static const struct init_funcs init_funcs[] = {
> >  		.init = xe_sched_job_module_init,
> >  		.exit = xe_sched_job_module_exit,
> >  	},
> > +	{
> > +		.init = xe_destroy_wq_module_init,
> > +		.exit = xe_destroy_wq_module_exit,
> > +	},
> >  	{
> >  		.init = xe_register_pci_driver,
> >  		.exit = xe_unregister_pci_driver,
> > diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
> > index 79cb9639c0f3..e8e54f701cf3 100644
> > --- a/drivers/gpu/drm/xe/xe_module.h
> > +++ b/drivers/gpu/drm/xe/xe_module.h
> > @@ -8,6 +8,8 @@
> >  
> >  #include <linux/types.h>
> >  
> > +struct work_struct;
> > +
> >  /* Module modprobe variables */
> >  struct xe_modparam {
> >  	bool force_execlist;
> > @@ -27,5 +29,8 @@ struct xe_modparam {
> >  
> >  extern struct xe_modparam xe_modparam;
> >  
> > +bool xe_destroy_wq_queue(struct work_struct *work);
> > +void xe_destroy_wq_flush(void);
> > +
> >  #endif
> >  
> > diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> > index 78fc2e4dcfc6..dc35f8a8c4b8 100644
> > --- a/drivers/gpu/drm/xe/xe_pci.c
> > +++ b/drivers/gpu/drm/xe/xe_pci.c
> > @@ -1049,6 +1049,12 @@ static void xe_pci_remove(struct pci_dev *pdev)
> >  		return;
> >  
> >  	xe_device_remove(xe);
> > +
> > +	/*
> > +	 * Preserve remove-time flush after moving destroy work to module
> > +	 * lifetime.
> > +	 */
> > +	xe_destroy_wq_flush();
> >  	xe_pm_fini(xe);
> >  }
> >  
> > diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
> > index e1651e70c8f0..6ff99310fdb4 100644
> > --- a/drivers/gpu/drm/xe/xe_svm.c
> > +++ b/drivers/gpu/drm/xe/xe_svm.c
> > @@ -1732,10 +1732,9 @@ static void xe_pagemap_destroy_work(struct work_struct *work)
> >  static void xe_pagemap_destroy(struct drm_pagemap *dpagemap, bool from_atomic_or_reclaim)
> >  {
> >  	struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
> > -	struct xe_device *xe = to_xe_device(dpagemap->drm);
> >  
> >  	if (from_atomic_or_reclaim)
> > -		queue_work(xe->destroy_wq, &xpagemap->destroy_work);
> > +		xe_destroy_wq_queue(&xpagemap->destroy_work);
> >  	else
> >  		xe_pagemap_destroy_work(&xpagemap->destroy_work);
> >  }
> > -- 
> > 2.43.0
> > 

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

* Re: [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes
  2026-07-03 18:27   ` Rodrigo Vivi
@ 2026-07-03 22:28     ` Matthew Brost
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew Brost @ 2026-07-03 22:28 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Arvind Yadav, intel-xe, himal.prasad.ghimiray, thomas.hellstrom,
	tejas.upadhyay

On Fri, Jul 03, 2026 at 02:27:34PM -0400, Rodrigo Vivi wrote:
> On Tue, Jun 23, 2026 at 09:16:25PM -0700, Matthew Brost wrote:
> > On Wed, Jun 24, 2026 at 09:40:29AM +0530, Arvind Yadav wrote:
> > > GuC exec queue destruction can run asynchronously. If the final device
> > > put happens from a destroy worker, drmm cleanup can end up draining
> > > the same workqueue and deadlock.
> > > 
> > > Hold a drm_device reference for the queue lifetime and drop it after
> > > queue teardown completes. This keeps drmm cleanup from running while
> > > async destroy work is still pending.
> > > 
> > > Move destroy work to a module-lifetime Xe workqueue and flush it on
> > > PCI remove so hot-unbind/rebind still waits for pending destroy work.
> > > 
> > > With queue-held device refs, guc_submit_sw_fini() cannot run with live
> > > GuC IDs. Replace the fini wait with an assertion and remove the unused
> > > fini_wq.
> > > 
> > > v2:
> > >   - Rebase
> > > 
> > > v3:
> > >   - Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
> > >   - Queue async teardown on system_dfl_wq instead of xe->destroy_wq. (Matt)
> > >   - Drop separate deferred drm_dev_put worker.
> > >   - Remove stale drain_workqueue(xe->destroy_wq) from guc_submit_sw_fini().
> > > 
> > > v4:
> > >   - Replace the guc_submit_sw_fini() wait with an assertion and remove
> > >     the now-unused fini_wq. (sashiko)
> > > 
> > > v5:
> > >   - Move destroy work to a module-lifetime Xe workqueue instead of
> > >     system_dfl_wq. (Matt)
> > >   - Flush the module-lifetime destroy workqueue during PCI remove to
> > >     preserve the old device-remove wait semantics.
> > > 
> > > v6:
> > >   - Keep SVM pagemap destroy work on the per-device destroy_wq to avoid
> > >     letting it outlive the xe_device/drm_device. (Sashiko)
> > >   - Use WQ_MEM_RECLAIM for xe->destroy_wq because SVM pagemap destroy work
> > >     can be queued from the reclaim path.
> > > 
> > > v7:
> > >   - Drop the per-device xe->destroy_wq and use the module-level destroy WQ
> > >     for SVM pagemap destroy as well. (Matt)
> > >   - Rename xe_exec_queue_destroy_wq_*() helpers to xe_destroy_wq_*()
> > >     helpers because the WQ is no longer exec-queue specific. (Matt)
> > > 
> > > Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
> > > Cc: Matthew Brost <matthew.brost@intel.com>
> > 
> > Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> 
> I was going to push this patch, but have you guys seen this:
> 
> https://sashiko.dev/#/patchset/20260624041029.2357470-1-arvind.yadav%40intel.com
> 

It very hard to reason if this is correct, but in general for safety we
should likely call xe_destroy_wq_flush in the a devmem fini handler that
is registered very early early during device probe so an latent cleanup
or we should hold drm ref while is xe_pagemap is alive, or perhaps both.

Matt

> ?
> 
> > 
> > > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> > > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> > > Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> > > Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> > > ---
> > >  drivers/gpu/drm/xe/xe_device.c       |  6 +--
> > >  drivers/gpu/drm/xe/xe_device_types.h |  3 --
> > >  drivers/gpu/drm/xe/xe_guc_submit.c   | 66 ++++++++++++++++------------
> > >  drivers/gpu/drm/xe/xe_guc_types.h    |  2 -
> > >  drivers/gpu/drm/xe/xe_module.c       | 50 +++++++++++++++++++++
> > >  drivers/gpu/drm/xe/xe_module.h       |  5 +++
> > >  drivers/gpu/drm/xe/xe_pci.c          |  6 +++
> > >  drivers/gpu/drm/xe/xe_svm.c          |  3 +-
> > >  8 files changed, 101 insertions(+), 40 deletions(-)
> > > 
> > > diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> > > index 089872507bdd..0d8848e66d6b 100644
> > > --- a/drivers/gpu/drm/xe/xe_device.c
> > > +++ b/drivers/gpu/drm/xe/xe_device.c
> > > @@ -469,9 +469,6 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)
> > >  	if (xe->unordered_wq)
> > >  		destroy_workqueue(xe->unordered_wq);
> > >  
> > > -	if (xe->destroy_wq)
> > > -		destroy_workqueue(xe->destroy_wq);
> > > -
> > >  	ttm_device_fini(&xe->ttm);
> > >  }
> > >  
> > > @@ -580,9 +577,8 @@ int xe_device_init_early(struct xe_device *xe)
> > >  						       WQ_MEM_RECLAIM);
> > >  	xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
> > >  	xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
> > > -	xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU, 0);
> > >  	if (!xe->ordered_wq || !xe->unordered_wq ||
> > > -	    !xe->preempt_fence_wq || !xe->destroy_wq) {
> > > +	    !xe->preempt_fence_wq) {
> > >  		/*
> > >  		 * Cleanup done in xe_device_destroy via
> > >  		 * drmm_add_action_or_reset register above
> > > diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> > > index 32dd2ffbc796..1ed993dffb52 100644
> > > --- a/drivers/gpu/drm/xe/xe_device_types.h
> > > +++ b/drivers/gpu/drm/xe/xe_device_types.h
> > > @@ -355,9 +355,6 @@ struct xe_device {
> > >  	/** @unordered_wq: used to serialize unordered work */
> > >  	struct workqueue_struct *unordered_wq;
> > >  
> > > -	/** @destroy_wq: used to serialize user destroy work, like queue */
> > > -	struct workqueue_struct *destroy_wq;
> > > -
> > >  	/** @tiles: device tiles */
> > >  	struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
> > >  
> > > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> > > index afe5d99cdd8b..982356513f3c 100644
> > > --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> > > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> > > @@ -10,6 +10,7 @@
> > >  #include <linux/circ_buf.h>
> > >  #include <linux/dma-fence-array.h>
> > >  
> > > +#include <drm/drm_drv.h>
> > >  #include <drm/drm_managed.h>
> > >  
> > >  #include "abi/guc_actions_abi.h"
> > > @@ -37,6 +38,7 @@
> > >  #include "xe_macros.h"
> > >  #include "xe_map.h"
> > >  #include "xe_mocs.h"
> > > +#include "xe_module.h"
> > >  #include "xe_pm.h"
> > >  #include "xe_ring_ops_types.h"
> > >  #include "xe_sched_job.h"
> > > @@ -232,17 +234,9 @@ static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q)
> > >  static void guc_submit_sw_fini(struct drm_device *drm, void *arg)
> > >  {
> > >  	struct xe_guc *guc = arg;
> > > -	struct xe_device *xe = guc_to_xe(guc);
> > >  	struct xe_gt *gt = guc_to_gt(guc);
> > > -	int ret;
> > > -
> > > -	ret = wait_event_timeout(guc->submission_state.fini_wq,
> > > -				 xa_empty(&guc->submission_state.exec_queue_lookup),
> > > -				 HZ * 5);
> > >  
> > > -	drain_workqueue(xe->destroy_wq);
> > > -
> > > -	xe_gt_assert(gt, ret);
> > > +	xe_gt_assert(gt, xa_empty(&guc->submission_state.exec_queue_lookup));
> > >  
> > >  	xa_destroy(&guc->submission_state.exec_queue_lookup);
> > >  }
> > > @@ -319,8 +313,6 @@ int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids)
> > >  
> > >  	xa_init(&guc->submission_state.exec_queue_lookup);
> > >  
> > > -	init_waitqueue_head(&guc->submission_state.fini_wq);
> > > -
> > >  	primelockdep(guc);
> > >  
> > >  	guc->submission_state.initialized = true;
> > > @@ -411,9 +403,6 @@ static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q,
> > >  	xe_guc_id_mgr_release_locked(&guc->submission_state.idm,
> > >  				     q->guc->id, q->width);
> > >  
> > > -	if (xa_empty(&guc->submission_state.exec_queue_lookup))
> > > -		wake_up(&guc->submission_state.fini_wq);
> > > -
> > >  	mutex_unlock(&guc->submission_state.lock);
> > >  }
> > >  
> > > @@ -1685,6 +1674,7 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> > >  {
> > >  	struct xe_guc_exec_queue *ge = q->guc;
> > >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > > +	struct drm_device *drm = &guc_to_xe(guc)->drm;
> > >  
> > >  	if (xe_exec_queue_is_multi_queue_secondary(q)) {
> > >  		struct xe_exec_queue_group *group = q->multi_queue.group;
> > > @@ -1703,36 +1693,52 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> > >  	 * (timeline name).
> > >  	 */
> > >  	kfree_rcu(ge, rcu);
> > > +
> > > +	drm_dev_put(drm);
> > >  }
> > >  
> > > -static void __guc_exec_queue_destroy_async(struct work_struct *w)
> > > +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q)
> > >  {
> > > -	struct xe_guc_exec_queue *ge =
> > > -		container_of(w, struct xe_guc_exec_queue, destroy_async);
> > > -	struct xe_exec_queue *q = ge->q;
> > > +	struct xe_guc_exec_queue *ge = q->guc;
> > >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > > +	struct xe_device *xe = guc_to_xe(guc);
> > > +	struct drm_device *drm = &xe->drm;
> > >  
> > > -	guard(xe_pm_runtime)(guc_to_xe(guc));
> > > -	trace_xe_exec_queue_destroy(q);
> > > +	/*
> > > +	 * guc_exec_queue_fini() drops the queue's drm_device ref.
> > > +	 * Keep the device alive until the PM-runtime guard unwinds.
> > > +	 */
> > > +	drm_dev_get(drm);
> > >  
> > > -	/* Confirm no work left behind accessing device structures */
> > > -	cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> > > +	scoped_guard(xe_pm_runtime, xe) {
> > > +		trace_xe_exec_queue_destroy(q);
> > >  
> > > -	xe_exec_queue_fini(q);
> > > +		/* Confirm no work left behind accessing device structures */
> > > +		cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> > > +
> > > +		xe_exec_queue_fini(q);
> > > +	}
> > > +
> > > +	drm_dev_put(drm);
> > >  }
> > >  
> > > -static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> > > +static void __guc_exec_queue_destroy_async(struct work_struct *w)
> > >  {
> > > -	struct xe_guc *guc = exec_queue_to_guc(q);
> > > -	struct xe_device *xe = guc_to_xe(guc);
> > > +	struct xe_guc_exec_queue *ge =
> > > +		container_of(w, struct xe_guc_exec_queue, destroy_async);
> > > +
> > > +	guc_exec_queue_do_destroy(ge->q);
> > > +}
> > >  
> > > +static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> > > +{
> > >  	INIT_WORK(&q->guc->destroy_async, __guc_exec_queue_destroy_async);
> > >  
> > >  	/* We must block on kernel engines so slabs are empty on driver unload */
> > >  	if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
> > > -		__guc_exec_queue_destroy_async(&q->guc->destroy_async);
> > > +		guc_exec_queue_do_destroy(q);
> > >  	else
> > > -		queue_work(xe->destroy_wq, &q->guc->destroy_async);
> > > +		xe_destroy_wq_queue(&q->guc->destroy_async);
> > >  }
> > >  
> > >  static void __guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)
> > > @@ -1927,6 +1933,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> > >  {
> > >  	struct xe_gpu_scheduler *sched;
> > >  	struct xe_guc *guc = exec_queue_to_guc(q);
> > > +	struct drm_device *drm = &guc_to_xe(guc)->drm;
> > >  	struct workqueue_struct *submit_wq = NULL;
> > >  	struct xe_guc_exec_queue *ge;
> > >  	long timeout;
> > > @@ -1938,6 +1945,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> > >  	if (!ge)
> > >  		return -ENOMEM;
> > >  
> > > +	drm_dev_get(drm);
> > > +
> > >  	q->guc = ge;
> > >  	ge->q = q;
> > >  	init_rcu_head(&ge->rcu);
> > > @@ -2014,6 +2023,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> > >  	release_guc_id(guc, q);
> > >  err_free:
> > >  	kfree(ge);
> > > +	drm_dev_put(drm);
> > >  
> > >  	return err;
> > >  }
> > > diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
> > > index c7b9642b41ba..31a2acb63ac3 100644
> > > --- a/drivers/gpu/drm/xe/xe_guc_types.h
> > > +++ b/drivers/gpu/drm/xe/xe_guc_types.h
> > > @@ -100,8 +100,6 @@ struct xe_guc {
> > >  		 * even initialized - before that not even the lock is valid
> > >  		 */
> > >  		bool initialized;
> > > -		/** @submission_state.fini_wq: submit fini wait queue */
> > > -		wait_queue_head_t fini_wq;
> > >  	} submission_state;
> > >  
> > >  	/** @hwconfig: Hardware config state */
> > > diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
> > > index 4cb578182912..473be717e2c4 100644
> > > --- a/drivers/gpu/drm/xe/xe_module.c
> > > +++ b/drivers/gpu/drm/xe/xe_module.c
> > > @@ -7,6 +7,7 @@
> > >  
> > >  #include <linux/init.h>
> > >  #include <linux/module.h>
> > > +#include <linux/workqueue.h>
> > >  
> > >  #include <drm/drm_module.h>
> > >  
> > > @@ -91,6 +92,51 @@ static int xe_check_nomodeset(void)
> > >  	return 0;
> > >  }
> > >  
> > > +static struct workqueue_struct *xe_destroy_wq;
> > > +
> > > +static int __init xe_destroy_wq_module_init(void)
> > > +{
> > > +	xe_destroy_wq = alloc_workqueue("xe-destroy-wq",
> > > +					WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
> > > +	if (!xe_destroy_wq)
> > > +		return -ENOMEM;
> > > +	return 0;
> > > +}
> > > +
> > > +static void xe_destroy_wq_module_exit(void)
> > > +{
> > > +	if (xe_destroy_wq)
> > > +		destroy_workqueue(xe_destroy_wq);
> > > +	xe_destroy_wq = NULL;
> > > +}
> > > +
> > > +/**
> > > + * xe_destroy_wq_queue() - Queue work on the destroy workqueue
> > > + * @work: work item to queue
> > > + *
> > > + * The destroy workqueue has module lifetime and is used for async teardown
> > > + * work that can outlive a single xe_device, such as GuC exec queue and SVM
> > > + * pagemap destroy.
> > > + *
> > > + * Return: %true if @work was queued, %false if it was already pending.
> > > + */
> > > +bool xe_destroy_wq_queue(struct work_struct *work)
> > > +{
> > > +	return queue_work(xe_destroy_wq, work);
> > > +}
> > > +
> > > +/**
> > > + * xe_destroy_wq_flush() - Flush the destroy workqueue
> > > + *
> > > + * Drains all pending destroy work. Called from PCI remove to ensure
> > > + * teardown ordering before the device is destroyed.
> > > + */
> > > +void xe_destroy_wq_flush(void)
> > > +{
> > > +	if (xe_destroy_wq)
> > > +		flush_workqueue(xe_destroy_wq);
> > > +}
> > > +
> > >  struct init_funcs {
> > >  	int (*init)(void);
> > >  	void (*exit)(void);
> > > @@ -112,6 +158,10 @@ static const struct init_funcs init_funcs[] = {
> > >  		.init = xe_sched_job_module_init,
> > >  		.exit = xe_sched_job_module_exit,
> > >  	},
> > > +	{
> > > +		.init = xe_destroy_wq_module_init,
> > > +		.exit = xe_destroy_wq_module_exit,
> > > +	},
> > >  	{
> > >  		.init = xe_register_pci_driver,
> > >  		.exit = xe_unregister_pci_driver,
> > > diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
> > > index 79cb9639c0f3..e8e54f701cf3 100644
> > > --- a/drivers/gpu/drm/xe/xe_module.h
> > > +++ b/drivers/gpu/drm/xe/xe_module.h
> > > @@ -8,6 +8,8 @@
> > >  
> > >  #include <linux/types.h>
> > >  
> > > +struct work_struct;
> > > +
> > >  /* Module modprobe variables */
> > >  struct xe_modparam {
> > >  	bool force_execlist;
> > > @@ -27,5 +29,8 @@ struct xe_modparam {
> > >  
> > >  extern struct xe_modparam xe_modparam;
> > >  
> > > +bool xe_destroy_wq_queue(struct work_struct *work);
> > > +void xe_destroy_wq_flush(void);
> > > +
> > >  #endif
> > >  
> > > diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> > > index 78fc2e4dcfc6..dc35f8a8c4b8 100644
> > > --- a/drivers/gpu/drm/xe/xe_pci.c
> > > +++ b/drivers/gpu/drm/xe/xe_pci.c
> > > @@ -1049,6 +1049,12 @@ static void xe_pci_remove(struct pci_dev *pdev)
> > >  		return;
> > >  
> > >  	xe_device_remove(xe);
> > > +
> > > +	/*
> > > +	 * Preserve remove-time flush after moving destroy work to module
> > > +	 * lifetime.
> > > +	 */
> > > +	xe_destroy_wq_flush();
> > >  	xe_pm_fini(xe);
> > >  }
> > >  
> > > diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
> > > index e1651e70c8f0..6ff99310fdb4 100644
> > > --- a/drivers/gpu/drm/xe/xe_svm.c
> > > +++ b/drivers/gpu/drm/xe/xe_svm.c
> > > @@ -1732,10 +1732,9 @@ static void xe_pagemap_destroy_work(struct work_struct *work)
> > >  static void xe_pagemap_destroy(struct drm_pagemap *dpagemap, bool from_atomic_or_reclaim)
> > >  {
> > >  	struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
> > > -	struct xe_device *xe = to_xe_device(dpagemap->drm);
> > >  
> > >  	if (from_atomic_or_reclaim)
> > > -		queue_work(xe->destroy_wq, &xpagemap->destroy_work);
> > > +		xe_destroy_wq_queue(&xpagemap->destroy_work);
> > >  	else
> > >  		xe_pagemap_destroy_work(&xpagemap->destroy_work);
> > >  }
> > > -- 
> > > 2.43.0
> > > 

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

end of thread, other threads:[~2026-07-03 22:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24  4:10 [PATCH v7] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
2026-06-24  4:16 ` Matthew Brost
2026-07-03 18:27   ` Rodrigo Vivi
2026-07-03 22:28     ` Matthew Brost
2026-06-24  4:17 ` ✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev5) Patchwork
2026-06-24  4:59 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-24  7:32 ` ✓ Xe.CI.FULL: " Patchwork

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