Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker
@ 2026-11-20 13:02 Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 1/6] drm/xe/vm: restore userptr invalidations on VMA op unwind Matthew Auld
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

drm_gpusvm_get_pages() fails with -EBUSY after a fixed 1s budget when
CPU mappings keep changing during a userptr repin (for instance under
AutoNUMA balancing or concurrent mapping churn), which Xe currently
treats as fatal.

Retry userptr repins with locks dropped up to a configurable
userptr_repin_timeout_ms sysfs timeout (requeuing the compute rebind
worker on -EAGAIN), restore userptr invalidations lost on VMA op unwind,
and run the compute rebind worker on the device's NUMA node so HMM
faults do not trigger remote AutoNUMA migrations (hopefully).

First patch is mostly orthogonal bug fix, however series here could
potentially make the race more likely, so included it here.

---
Changes in v2:
- Reduce the timeout, also give more time for known NUMA config.
- Move the compute rebind worker away from 1-at-a-time.
- Tweak the teardown order for rebind wq.
- Split one fix out from Thomas' patch.
- Link to v1: https://lore.kernel.org/r/20261119-userptr-repin-v1-0-af2e327833a9@intel.com

---
Matthew Auld (2):
      drm/xe/vm: restore userptr invalidations on VMA op unwind
      drm/xe: run compute rebind worker on device NUMA node

Thomas Hellström (4):
      drm/xe/vf: Free preempt fences on rebind worker retry
      drm/xe: Requeue the rebind worker instead of retrying in-line on -EAGAIN
      drm/xe: Add a userptr repin timeout sysfs attribute
      drm/xe/userptr: Make the repin retry loop non-fatal

 drivers/gpu/drm/xe/xe_device.c       |  12 ++-
 drivers/gpu/drm/xe/xe_device.h       |   3 +
 drivers/gpu/drm/xe/xe_device_sysfs.c |  57 ++++++++++++++
 drivers/gpu/drm/xe/xe_device_types.h |  14 +++-
 drivers/gpu/drm/xe/xe_exec.c         |   9 ++-
 drivers/gpu/drm/xe/xe_pagefault.c    |   4 +
 drivers/gpu/drm/xe/xe_userptr.c      |  47 ++++++++++--
 drivers/gpu/drm/xe/xe_userptr.h      |  53 +++++++++++++
 drivers/gpu/drm/xe/xe_vm.c           | 139 ++++++++++++++++++++++++-----------
 drivers/gpu/drm/xe/xe_vm.h           |   6 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c   |  23 +++++-
 drivers/gpu/drm/xe/xe_vm_types.h     |   8 ++
 12 files changed, 319 insertions(+), 56 deletions(-)
---
base-commit: 5273820504a824f0c81ed31f939599dd0da3fc69
change-id: 20261118-userptr-repin-52499936a13c


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

* [PATCH v2 1/6] drm/xe/vm: restore userptr invalidations on VMA op unwind
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 2/6] drm/xe/vf: Free preempt fences on rebind worker retry Matthew Auld
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

When xe_vma_op_commit() commits DRM_GPUVA_OP_UNMAP or
DRM_GPUVA_OP_REMAP, prep_vma_destroy() sets XE_VMA_DESTROYED while the
old VMA's GPU page tables remain live. If a subsequent step fails and
unwinds (for example splitting a userptr VMA where new_vma() fails, or a
later op in an array of binds failing), a concurrent MMU notifier
invalidation is lost on non-fault-mode VMs:

  CPU0 (VM_BIND / MADVISE)            CPU1 (MMU notifier)
  ------------------------            -------------------
  down_write(&vm->lock)
  xe_vma_op_commit()
    prep_vma_destroy(vma)
      flags |= XE_VMA_DESTROYED
  ...
  /* later step fails */
                                      xe_vma_userptr_invalidate_start()
                                        down_write(&notifier_lock)
                                        mmu_interval_set_seq()
                                        /* XE_VMA_DESTROYED set: skips
                                         * vm->userptr.invalidated
                                         */
                                        drm_gpusvm_unmap_pages()
                                        up_write(&notifier_lock)
  xe_vma_op_unwind()
    flags &= ~XE_VMA_DESTROYED
    xe_vm_insert_vma(vm, vma)
  up_write(&vm->lock)

Once vm->lock is dropped, the VMA remains in the VM with live GPU PTEs
pointing at unmapped pages, while neither exec nor the rebind worker
knows to repin and rebind it.

Add unprep_vma_destroy() to check xe_vma_userptr_check_repin() while
clearing XE_VMA_DESTROYED under the notifier lock and queue invalidated
non-fault-mode userptr VMAs onto vm->userptr.invalidated.

Fixes: b06d47be7c83 ("drm/xe: Port Xe to GPUVA")
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: stable@vger.kernel.org # v6.12+
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_vm.c | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index dd855876f571..75be5e5329bd 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -44,6 +44,7 @@
 #include "xe_tile.h"
 #include "xe_tlb_inval.h"
 #include "xe_trace_bo.h"
+#include "xe_userptr.h"
 #include "xe_vm_madvise.h"
 #include "xe_wa.h"
 
@@ -2401,6 +2402,26 @@ static void prep_vma_destroy(struct xe_vm *vm, struct xe_vma *vma,
 		xe_vm_remove_vma(vm, vma);
 }
 
+static void unprep_vma_destroy(struct xe_vm *vm, struct xe_vma *vma,
+			       bool post_commit)
+{
+	xe_svm_notifier_lock(vm);
+	vma->gpuva.flags &= ~XE_VMA_DESTROYED;
+	if (IS_ENABLED(CONFIG_DRM_GPUSVM) && !xe_vm_in_fault_mode(vm) &&
+	    xe_vma_is_userptr(vma) &&
+	    xe_vma_userptr_check_repin(to_userptr_vma(vma))) {
+		struct xe_userptr_vma *uvma = to_userptr_vma(vma);
+
+		spin_lock(&vm->userptr.invalidated_lock);
+		list_move_tail(&uvma->userptr.invalidate_link,
+			       &vm->userptr.invalidated);
+		spin_unlock(&vm->userptr.invalidated_lock);
+	}
+	xe_svm_notifier_unlock(vm);
+	if (post_commit)
+		xe_vm_insert_vma(vm, vma);
+}
+
 #undef ULL
 #define ULL	unsigned long long
 
@@ -3093,13 +3114,8 @@ static void xe_vma_op_unwind(struct xe_vm *vm, struct xe_vma_op *op,
 
 		xe_vm_assert_write_mode_or_garbage_collector(vm);
 
-		if (vma) {
-			xe_svm_notifier_lock(vm);
-			vma->gpuva.flags &= ~XE_VMA_DESTROYED;
-			xe_svm_notifier_unlock(vm);
-			if (post_commit)
-				xe_vm_insert_vma(vm, vma);
-		}
+		if (vma)
+			unprep_vma_destroy(vm, vma, post_commit);
 		break;
 	}
 	case DRM_GPUVA_OP_REMAP:
@@ -3117,9 +3133,6 @@ static void xe_vma_op_unwind(struct xe_vm *vm, struct xe_vma_op *op,
 			xe_vma_destroy_unlocked(op->remap.next);
 		}
 		if (vma) {
-			xe_svm_notifier_lock(vm);
-			vma->gpuva.flags &= ~XE_VMA_DESTROYED;
-			xe_svm_notifier_unlock(vm);
 			if (post_commit) {
 				/*
 				 * Restore the old va range, in case of the
@@ -3131,8 +3144,8 @@ static void xe_vma_op_unwind(struct xe_vm *vm, struct xe_vma_op *op,
 					op->remap.old_start;
 				op->base.remap.unmap->va->va.range =
 					op->remap.old_range;
-				xe_vm_insert_vma(vm, vma);
 			}
+			unprep_vma_destroy(vm, vma, post_commit);
 		}
 		break;
 	}

-- 
2.56.1


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

* [PATCH v2 2/6] drm/xe/vf: Free preempt fences on rebind worker retry
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 1/6] drm/xe/vm: restore userptr invalidations on VMA op unwind Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 3/6] drm/xe: Requeue the rebind worker instead of retrying in-line on -EAGAIN Matthew Auld
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

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

When preempt_rebind_work_func() hits -EAGAIN after
alloc_preempt_fences(), the SR-IOV VF migration path requeues the worker
and returns without freeing the local preempt_fences list or emitting
trace_xe_vm_rebind_worker_exit().

Free preempt_fences and emit the exit tracepoint before returning.

Fixes: 1faeeea056ab ("drm/xe/vf: Avoid indefinite blocking in preempt rebind worker for VFs supporting migration")
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <stable@vger.kernel.org> # v6.19+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_vm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 75be5e5329bd..82e716b12b49 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -649,7 +649,9 @@ static void preempt_rebind_work_func(struct work_struct *w)
 		if (IS_SRIOV_VF(vm->xe) &&
 		    xe_sriov_vf_migration_supported(vm->xe)) {
 			up_write(&vm->lock);
+			free_preempt_fences(&preempt_fences);
 			xe_vm_queue_rebind_worker(vm);
+			trace_xe_vm_rebind_worker_exit(vm);
 			return;
 		}
 

-- 
2.56.1


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

* [PATCH v2 3/6] drm/xe: Requeue the rebind worker instead of retrying in-line on -EAGAIN
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 1/6] drm/xe/vm: restore userptr invalidations on VMA op unwind Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 2/6] drm/xe/vf: Free preempt fences on rebind worker retry Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 4/6] drm/xe: Add a userptr repin timeout sysfs attribute Matthew Auld
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

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

When the preempt rebind worker needs to retry, it currently jumps back
and keeps holding vm->lock in write mode across the retry. Only VFs
with migration support drop the lock and requeue the worker.

Holding the vm lock across retries needlessly blocks other users of the
lock and other work on the ordered workqueue, and makes the retry unfit
for conditions that may last for a while, like repeatedly invalidated
userptrs.

Always drop the vm lock and requeue the worker on -EAGAIN.

The userptr invalidation injection state that forces one retry per
rebind sequence was a local variable that would be reset by a requeue.
Move it to the vm.

v2 (Matt):
- Split out the VF preempt fence leak fix into a separate patch.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_vm.c       | 61 +++++++++++++++++++++++++---------------
 drivers/gpu/drm/xe/xe_vm_types.h |  8 ++++++
 2 files changed, 46 insertions(+), 23 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 82e716b12b49..ff8d355728fc 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -542,6 +542,31 @@ void xe_vm_resume_rebind_worker(struct xe_vm *vm)
 	queue_work(vm->xe->ordered_wq, &vm->preempt.rebind_work);
 }
 
+#if IS_ENABLED(CONFIG_DRM_XE_USERPTR_INVAL_INJECT)
+/*
+ * Force one retry per rebind sequence. The sequence spans requeues of the
+ * worker, so the state must live in the vm.
+ */
+static bool xe_vm_rebind_worker_inject_retry(struct xe_vm *vm)
+{
+	return !vm->preempt.inval_inject_tries++;
+}
+
+static void xe_vm_rebind_worker_reset_inject(struct xe_vm *vm)
+{
+	vm->preempt.inval_inject_tries = 0;
+}
+#else
+static bool xe_vm_rebind_worker_inject_retry(struct xe_vm *vm)
+{
+	return false;
+}
+
+static void xe_vm_rebind_worker_reset_inject(struct xe_vm *vm)
+{
+}
+#endif
+
 static void preempt_rebind_work_func(struct work_struct *w)
 {
 	struct xe_vm *vm = container_of(w, struct xe_vm, preempt.rebind_work);
@@ -551,7 +576,6 @@ static void preempt_rebind_work_func(struct work_struct *w)
 	LIST_HEAD(preempt_fences);
 	int err = 0;
 	long wait;
-	int __maybe_unused tries = 0;
 
 	xe_assert(vm->xe, xe_vm_in_preempt_fence_mode(vm));
 	trace_xe_vm_rebind_worker_enter(vm);
@@ -564,7 +588,6 @@ static void preempt_rebind_work_func(struct work_struct *w)
 		return;
 	}
 
-retry:
 	if (!try_wait_for_completion(&vm->xe->pm_block) && vm_suspend_rebind_worker(vm)) {
 		up_write(&vm->lock);
 		/* We don't actually block but don't make progress. */
@@ -614,20 +637,14 @@ static void preempt_rebind_work_func(struct work_struct *w)
 		goto out_unlock;
 	}
 
-#define retry_required(__tries, __vm) \
-	(IS_ENABLED(CONFIG_DRM_XE_USERPTR_INVAL_INJECT) ? \
-	(!(__tries)++ || __xe_vm_userptr_needs_repin(__vm)) : \
-	__xe_vm_userptr_needs_repin(__vm))
-
 	xe_svm_notifier_lock(vm);
-	if (retry_required(tries, vm)) {
+	if (xe_vm_rebind_worker_inject_retry(vm) ||
+	    __xe_vm_userptr_needs_repin(vm)) {
 		xe_svm_notifier_unlock(vm);
 		err = -EAGAIN;
 		goto out_unlock;
 	}
 
-#undef retry_required
-
 	xe_vm_bump_lru(vm, &exec);
 
 	/* Point of no return. */
@@ -642,22 +659,20 @@ static void preempt_rebind_work_func(struct work_struct *w)
 		trace_xe_vm_rebind_worker_retry(vm);
 
 		/*
-		 * We can't block in workers on a VF which supports migration
-		 * given this can block the VF post-migration workers from
-		 * getting scheduled.
+		 * Drop all locks and requeue rather than retrying in-line.
+		 * This avoids blocking other work items, such as VF
+		 * post-migration workers, and lets other users of the vm
+		 * lock make progress between attempts.
 		 */
-		if (IS_SRIOV_VF(vm->xe) &&
-		    xe_sriov_vf_migration_supported(vm->xe)) {
-			up_write(&vm->lock);
-			free_preempt_fences(&preempt_fences);
-			xe_vm_queue_rebind_worker(vm);
-			trace_xe_vm_rebind_worker_exit(vm);
-			return;
-		}
-
-		goto retry;
+		up_write(&vm->lock);
+		free_preempt_fences(&preempt_fences);
+		xe_vm_queue_rebind_worker(vm);
+		trace_xe_vm_rebind_worker_exit(vm);
+		return;
 	}
 
+	xe_vm_rebind_worker_reset_inject(vm);
+
 	if (err) {
 		drm_warn(&vm->xe->drm, "VM worker error: %d\n", err);
 		xe_vm_kill(vm, true);
diff --git a/drivers/gpu/drm/xe/xe_vm_types.h b/drivers/gpu/drm/xe/xe_vm_types.h
index fb9305124679..756cf2dbee8a 100644
--- a/drivers/gpu/drm/xe/xe_vm_types.h
+++ b/drivers/gpu/drm/xe/xe_vm_types.h
@@ -350,6 +350,14 @@ struct xe_vm {
 		 * kicked on resume.
 		 */
 		struct list_head pm_activate_link;
+#if IS_ENABLED(CONFIG_DRM_XE_USERPTR_INVAL_INJECT)
+		/**
+		 * @inval_inject_tries: Number of rebind attempts in the
+		 * current rebind sequence. Used to force a retry for testing.
+		 * Protected by @lock.
+		 */
+		unsigned int inval_inject_tries;
+#endif
 	} preempt;
 
 	/** @exec_queues: Manages list of exec queues attached to this VM, protected by lock. */

-- 
2.56.1


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

* [PATCH v2 4/6] drm/xe: Add a userptr repin timeout sysfs attribute
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
                   ` (2 preceding siblings ...)
  2026-11-20 13:02 ` [PATCH v2 3/6] drm/xe: Requeue the rebind worker instead of retrying in-line on -EAGAIN Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 13:02 ` [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal Matthew Auld
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

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

Add a per-device sysfs attribute, userptr_repin_timeout_ms, to be used
to bound the overall time a userptr repin is retried when the CPU
mappings keep changing during the repin. The default is 10000 ms on
single-node systems and 30000 ms on multi-node NUMA systems, and zero
means retry indefinitely. The value can be changed at any time and is
read each time the timeout is checked.

v2 (Matt):
- Reject values above INT_MAX (or reaching MAX_JIFFY_OFFSET) with
  -EINVAL in userptr_repin_timeout_ms_store() so msecs_to_jiffies() does
  not treat them as an infinite timeout.
- Lower the default from 100000 ms to 10000 ms on single-node systems
  and 30000 ms on multi-node NUMA systems (Himal).

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Co-developed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c       |  5 ++++
 drivers/gpu/drm/xe/xe_device.h       |  3 ++
 drivers/gpu/drm/xe/xe_device_sysfs.c | 57 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_device_types.h |  8 +++++
 4 files changed, 73 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index f5a581d39c96..f0c88d3297f9 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -8,6 +8,7 @@
 #include <linux/aperture.h>
 #include <linux/delay.h>
 #include <linux/error-injection.h>
+#include <linux/nodemask.h>
 #include <linux/units.h>
 
 #include <drm/drm_client.h>
@@ -439,6 +440,10 @@ struct xe_device *xe_device_create(struct pci_dev *pdev)
 	if (err)
 		return ERR_PTR(err);
 
+	xe->userptr_repin_timeout_ms = num_online_nodes() > 1 ?
+		XE_USERPTR_REPIN_TIMEOUT_MS_NUMA_DEFAULT :
+		XE_USERPTR_REPIN_TIMEOUT_MS_DEFAULT;
+
 	return xe;
 }
 ALLOW_ERROR_INJECTION(xe_device_create, ERRNO); /* See xe_pci_probe() */
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
index 7a7632e2d56b..6b1e48369bdd 100644
--- a/drivers/gpu/drm/xe/xe_device.h
+++ b/drivers/gpu/drm/xe/xe_device.h
@@ -43,6 +43,9 @@ static inline struct xe_device *ttm_to_xe_device(struct ttm_device *ttm)
 	return container_of(ttm, struct xe_device, ttm);
 }
 
+#define XE_USERPTR_REPIN_TIMEOUT_MS_DEFAULT		10000
+#define XE_USERPTR_REPIN_TIMEOUT_MS_NUMA_DEFAULT	30000
+
 struct xe_device *xe_device_create(struct pci_dev *pdev);
 int xe_device_init_early(struct xe_device *xe);
 int xe_device_probe_early(struct xe_device *xe);
diff --git a/drivers/gpu/drm/xe/xe_device_sysfs.c b/drivers/gpu/drm/xe/xe_device_sysfs.c
index ff5d25dd867c..f6275e74eb31 100644
--- a/drivers/gpu/drm/xe/xe_device_sysfs.c
+++ b/drivers/gpu/drm/xe/xe_device_sysfs.c
@@ -4,7 +4,9 @@
  */
 
 #include <linux/device.h>
+#include <linux/jiffies.h>
 #include <linux/kobject.h>
+#include <linux/limits.h>
 #include <linux/pci.h>
 #include <linux/sysfs.h>
 
@@ -38,6 +40,16 @@
  * reclaimed by the shrinker. Higher values reduce reclaim pressure on
  * non-purgeable buffer objects. Valid values are 1 to 64. Defaults to
  * CONFIG_DRM_XE_SHRINKER_NON_PURGEABLE_SEEKS.
+ *
+ * userptr_repin_timeout_ms - Report/change the overall time, in
+ * milliseconds, a userptr repin is retried, with all locks dropped between
+ * the attempts, when the CPU mappings keep changing during the repin. The
+ * time is measured from the first repin attempt after an invalidation. When
+ * it expires the repin fails with -EBUSY. Zero means retry indefinitely.
+ * Valid values are 0 to INT_MAX (capped by MAX_JIFFY_OFFSET). The value is
+ * read each time the timeout is checked, so a change takes effect
+ * immediately. Defaults to 10000 on single-node systems and 30000 on
+ * multi-node NUMA systems.
  */
 
 static ssize_t
@@ -340,6 +352,47 @@ static const struct attribute_group shrinker_attr_group = {
 	.attrs = shrinker_attrs,
 };
 
+static ssize_t
+userptr_repin_timeout_ms_show(struct device *dev,
+			      struct device_attribute *attr, char *buf)
+{
+	struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev));
+
+	return sysfs_emit(buf, "%u\n", READ_ONCE(xe->userptr_repin_timeout_ms));
+}
+
+static ssize_t
+userptr_repin_timeout_ms_store(struct device *dev,
+			       struct device_attribute *attr,
+			       const char *buf, size_t count)
+{
+	struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev));
+	u32 val;
+	int ret;
+
+	ret = kstrtou32(buf, 0, &val);
+	if (ret)
+		return ret;
+
+	if (val > INT_MAX || msecs_to_jiffies(val) >= MAX_JIFFY_OFFSET)
+		return -EINVAL;
+
+	WRITE_ONCE(xe->userptr_repin_timeout_ms, val);
+
+	return count;
+}
+
+static DEVICE_ATTR_RW(userptr_repin_timeout_ms);
+
+static struct attribute *userptr_attrs[] = {
+	&dev_attr_userptr_repin_timeout_ms.attr,
+	NULL
+};
+
+static const struct attribute_group userptr_attr_group = {
+	.attrs = userptr_attrs,
+};
+
 int xe_device_sysfs_init(struct xe_device *xe)
 {
 	struct device *dev = xe->drm.dev;
@@ -349,6 +402,10 @@ int xe_device_sysfs_init(struct xe_device *xe)
 	if (ret)
 		return ret;
 
+	ret = devm_device_add_group(dev, &userptr_attr_group);
+	if (ret)
+		return ret;
+
 	if (xe->d3cold.capable) {
 		ret = devm_device_add_group(dev, &vram_attr_group);
 		if (ret)
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 8f2a31949073..fc80cd2c766e 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -437,6 +437,14 @@ struct xe_device {
 		u16 idx[__XE_CACHE_LEVEL_COUNT];
 	} pat;
 
+	/**
+	 * @userptr_repin_timeout_ms: Overall time in milliseconds a userptr
+	 * repin is retried before failing with -EBUSY. Zero means retry
+	 * indefinitely. Accessed with READ_ONCE() / WRITE_ONCE() and tunable
+	 * through sysfs.
+	 */
+	u32 userptr_repin_timeout_ms;
+
 	/** @d3cold: Encapsulate d3cold related stuff */
 	struct {
 		/** @d3cold.capable: Indicates if root port is d3cold capable */

-- 
2.56.1


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

* [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
                   ` (3 preceding siblings ...)
  2026-11-20 13:02 ` [PATCH v2 4/6] drm/xe: Add a userptr repin timeout sysfs attribute Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 14:03   ` sashiko-bot
  2026-11-20 13:02 ` [PATCH v2 6/6] drm/xe: run compute rebind worker on device NUMA node Matthew Auld
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

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

drm_gpusvm_get_pages() gives up with -EBUSY after a fixed one second
budget if the CPU mappings keep changing during the repin. That error
was treated as fatal: the rebind worker killed the VM, exec returned it
to user-space and the bind ioctl converted it to -ENOMEM.

Instead, time-stamp the first repin attempt of a userptr and, as long as
the overall timeout (the userptr_repin_timeout_ms sysfs attribute, read
on each check) hasn't expired, translate -EBUSY into -EAGAIN. Discount
idle gaps between attempts (for example if the task was stopped via
SIGTSTP) so resuming does not immediately trip the timeout. Callers drop
all locks and retry:

- exec and the rebind worker already retry on -EAGAIN.
- The bind and madvise ioctls restart from the top with vm->lock
  dropped. Since new vmas are created on each attempt, they track the
  overall timeout themselves.
- The pagefault handler repeats the repin.

Only when the overall timeout expires is -EBUSY returned. Drop the
-EBUSY to -ENOMEM conversion in new_vma() as -EBUSY now means just that.

v2 (Matt):
 - Reset num_ufence at the retry label in xe_vm_bind_ioctl() so user
   fences are not counted twice across repin retries.
 - Handle -EAGAIN from xe_vm_alloc_madvise_vma() in
   xe_vm_madvise_ioctl() with vm->lock dropped and repin timeout
   tracking.
 - Discount idle gaps longer than XE_USERPTR_REPIN_IDLE_MS between
   attempts and check signal_pending() / return -ERESTARTSYS in ioctl
   retry loops so stopping and resuming (e.g. Ctrl-Z) works without
   immediately timing out.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Co-developed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_exec.c       |  9 +++++--
 drivers/gpu/drm/xe/xe_pagefault.c  |  4 +++
 drivers/gpu/drm/xe/xe_userptr.c    | 47 ++++++++++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_userptr.h    | 53 ++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_vm.c         | 43 ++++++++++++++++++++++++-------
 drivers/gpu/drm/xe/xe_vm_madvise.c | 23 ++++++++++++++++-
 6 files changed, 159 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_exec.c b/drivers/gpu/drm/xe/xe_exec.c
index 1949fb103fad..0e6a197a8e85 100644
--- a/drivers/gpu/drm/xe/xe_exec.c
+++ b/drivers/gpu/drm/xe/xe_exec.c
@@ -10,6 +10,7 @@
 #include <drm/drm_file.h>
 #include <uapi/drm/xe_drm.h>
 #include <linux/delay.h>
+#include <linux/sched/signal.h>
 
 #include "xe_device.h"
 #include "xe_exec_queue.h"
@@ -380,8 +381,12 @@ int xe_exec_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 		xe_validation_ctx_fini(&ctx);
 err_unlock_list:
 	up_read(&vm->lock);
-	if (err == -EAGAIN)
-		goto retry;
+	if (err == -EAGAIN) {
+		cond_resched();
+		if (!signal_pending(current))
+			goto retry;
+		err = -ERESTARTSYS;
+	}
 err_hw_exec_mode:
 	if (mode == EXEC_MODE_DMA_FENCE)
 		xe_hw_engine_group_put(group);
diff --git a/drivers/gpu/drm/xe/xe_pagefault.c b/drivers/gpu/drm/xe/xe_pagefault.c
index 98cce0f12b12..6c4e5e77e1c6 100644
--- a/drivers/gpu/drm/xe/xe_pagefault.c
+++ b/drivers/gpu/drm/xe/xe_pagefault.c
@@ -191,6 +191,10 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,
 			struct xe_userptr_vma *uvma = to_userptr_vma(vma);
 
 			err = xe_vma_userptr_pin_pages(uvma);
+			if (err == -EAGAIN) {
+				cond_resched();
+				continue;
+			}
 			if (err) {
 				xe_pagefault_set_error(pf, XE_PAGEFAULT_ERROR_VMA_USERPTR_PIN);
 				return err;
diff --git a/drivers/gpu/drm/xe/xe_userptr.c b/drivers/gpu/drm/xe/xe_userptr.c
index 9c1dac0fce6f..39806ca9f54a 100644
--- a/drivers/gpu/drm/xe/xe_userptr.c
+++ b/drivers/gpu/drm/xe/xe_userptr.c
@@ -74,6 +74,23 @@ static bool __xe_vma_userptr_lockdep(struct xe_userptr_vma *uvma)
 #define xe_vma_userptr_lockdep(uvma)
 #endif
 
+/**
+ * xe_vma_userptr_pin_pages() - Pin and map the pages of a userptr vma
+ * @uvma: The userptr vma.
+ *
+ * Pin the pages and set up the dma mappings. If the CPU mappings keep changing
+ * during the repin, drm_gpusvm_get_pages() eventually gives up with -EBUSY.
+ * That is converted to -EAGAIN until the overall repin timeout, measured from
+ * the first attempt since the last successful repin, expires. The caller is
+ * then expected to drop all locks and retry.
+ *
+ * Context: Either vm->lock held in write mode, or in read mode together with
+ * the vma's fault_lock.
+ *
+ * Return: 0 on success, -EAGAIN if the caller should retry with all locks
+ * dropped, -EBUSY if the overall timeout expired, or another negative error
+ * code on failure.
+ */
 int xe_vma_userptr_pin_pages(struct xe_userptr_vma *uvma)
 {
 	struct xe_vma *vma = &uvma->vma;
@@ -84,19 +101,35 @@ int xe_vma_userptr_pin_pages(struct xe_userptr_vma *uvma)
 		.device_private_page_owner = xe_svm_private_page_owner(vm, false),
 		.allow_mixed = true,
 	};
+	int err;
 
 	xe_vma_userptr_lockdep(uvma);
 	xe_assert(xe, xe_vma_is_userptr(vma));
 
-	if (vma->gpuva.flags & XE_VMA_DESTROYED)
+	if (vma->gpuva.flags & XE_VMA_DESTROYED) {
+		uvma->userptr.repin = (struct xe_userptr_repin){};
 		return 0;
+	}
 
-	return drm_gpusvm_get_pages(&vm->svm.gpusvm, &uvma->userptr.pages, 1,
-				    uvma->userptr.notifier.mm,
-				    &uvma->userptr.notifier,
-				    xe_vma_userptr(vma),
-				    xe_vma_userptr(vma) + xe_vma_size(vma),
-				    &ctx);
+	xe_userptr_repin_begin(&uvma->userptr.repin);
+
+	err = drm_gpusvm_get_pages(&vm->svm.gpusvm, &uvma->userptr.pages, 1,
+				   uvma->userptr.notifier.mm,
+				   &uvma->userptr.notifier,
+				   xe_vma_userptr(vma),
+				   xe_vma_userptr(vma) + xe_vma_size(vma),
+				   &ctx);
+	if (err == -EBUSY) {
+		u32 timeout_ms = READ_ONCE(xe->userptr_repin_timeout_ms);
+
+		if (xe_userptr_repin_should_retry(&uvma->userptr.repin,
+						  timeout_ms))
+			return -EAGAIN;
+	}
+
+	uvma->userptr.repin = (struct xe_userptr_repin){};
+
+	return err;
 }
 
 static struct mmu_interval_notifier_finish *
diff --git a/drivers/gpu/drm/xe/xe_userptr.h b/drivers/gpu/drm/xe/xe_userptr.h
index 2a3cd1b5efbb..179f2aca26a3 100644
--- a/drivers/gpu/drm/xe/xe_userptr.h
+++ b/drivers/gpu/drm/xe/xe_userptr.h
@@ -6,6 +6,8 @@
 #ifndef _XE_USERPTR_H_
 #define _XE_USERPTR_H_
 
+#include <linux/hmm.h>
+#include <linux/jiffies.h>
 #include <linux/list.h>
 #include <linux/mutex.h>
 #include <linux/notifier.h>
@@ -20,6 +22,51 @@ struct xe_vm;
 struct xe_vma;
 struct xe_userptr_vma;
 
+/**
+ * struct xe_userptr_repin - Timeout tracking state for userptr repin retries
+ * @start: Timestamp in jiffies of the first repin attempt, adjusted for idle
+ *	   gaps, or zero if no repin is in progress.
+ * @last: Timestamp in jiffies when the previous attempt failed with -EBUSY,
+ *	  or zero if no retry is pending.
+ */
+struct xe_userptr_repin {
+	unsigned long start;
+	unsigned long last;
+};
+
+/*
+ * If more than XE_USERPTR_REPIN_IDLE_MS elapses between attempts (for example
+ * when the task was stopped via SIGTSTP/Ctrl-Z), discount the idle gap so
+ * waking up does not immediately expire the overall repin timeout.
+ */
+#define XE_USERPTR_REPIN_IDLE_MS (5 * HMM_RANGE_DEFAULT_TIMEOUT)
+
+static inline void xe_userptr_repin_begin(struct xe_userptr_repin *repin)
+{
+	unsigned long now = jiffies;
+
+	if (!repin->start) {
+		repin->start = now ?: 1;
+		return;
+	}
+
+	if (repin->last &&
+	    time_after(now, repin->last +
+		       msecs_to_jiffies(XE_USERPTR_REPIN_IDLE_MS)))
+		repin->start = (repin->start + (now - repin->last)) ?: 1;
+	repin->last = 0;
+}
+
+static inline bool xe_userptr_repin_should_retry(struct xe_userptr_repin *repin,
+						 u32 timeout_ms)
+{
+	unsigned long now = jiffies;
+
+	repin->last = now ?: 1;
+	return !timeout_ms ||
+	       time_before(now, repin->start + msecs_to_jiffies(timeout_ms));
+}
+
 /** struct xe_userptr_vm - User pointer VM level state */
 struct xe_userptr_vm {
 	/**
@@ -92,6 +139,12 @@ struct xe_userptr {
 	 * read: vm->svm.gpusvm.notifier_lock in write mode or vm->resv held.
 	 */
 	bool initial_bind;
+	/**
+	 * @repin: Timeout state for an in-progress repin retry sequence.
+	 * Protected by vm->lock in write mode, or in read mode together with
+	 * the vma's fault_lock.
+	 */
+	struct xe_userptr_repin repin;
 #if IS_ENABLED(CONFIG_DRM_XE_USERPTR_INVAL_INJECT)
 	u32 divisor;
 #endif
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index ff8d355728fc..0c5121361f8e 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -18,6 +18,7 @@
 #include <linux/delay.h>
 #include <linux/kthread.h>
 #include <linux/mm.h>
+#include <linux/sched/signal.h>
 #include <linux/swap.h>
 
 #include <generated/xe_wa_oob.h>
@@ -2782,14 +2783,6 @@ static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op,
 
 		if (xe_vma_is_userptr(vma)) {
 			err = xe_vma_userptr_pin_pages(to_userptr_vma(vma));
-			/*
-			 * -EBUSY has dedicated meaning that a user fence
-			 * attached to the VMA is busy, in practice
-			 * xe_vma_userptr_pin_pages can only fail with -EBUSY if
-			 * we are low on memory so convert this to -ENOMEM.
-			 */
-			if (err == -EBUSY)
-				err = -ENOMEM;
 		}
 	}
 	if (err) {
@@ -4085,11 +4078,13 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 	struct drm_gpuva_ops **ops = NULL;
 	struct xe_vm *vm;
 	struct xe_exec_queue *q = NULL;
-	u32 num_syncs, num_ufence = 0;
+	u32 num_syncs, num_ufence;
 	struct xe_sync_entry *syncs = NULL;
 	struct drm_xe_vm_bind_op *bind_ops = NULL;
 	struct xe_vma_ops vops = { .flags = 0, };
+	struct xe_userptr_repin repin = {};
 	struct dma_fence *fence;
+	bool repin_again;
 	int err;
 	int i;
 
@@ -4122,6 +4117,9 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 	/* Ensure all UNMAPs visible */
 	xe_svm_flush(vm);
 
+retry:
+	repin_again = false;
+	num_ufence = 0;
 	err = down_write_killable(&vm->lock);
 	if (err)
 		goto put_exec_queue;
@@ -4225,6 +4223,7 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 	xe_vma_ops_init(&vops, vm, q, syncs, num_syncs);
 	if (args->num_binds > 1)
 		vops.flags |= XE_VMA_OPS_ARRAY_OF_BINDS;
+	xe_userptr_repin_begin(&repin);
 	for (i = 0; i < args->num_binds; ++i) {
 		u64 range = bind_ops[i].range;
 		u64 addr = bind_ops[i].addr;
@@ -4240,12 +4239,15 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 		if (IS_ERR(ops[i])) {
 			err = PTR_ERR(ops[i]);
 			ops[i] = NULL;
+			repin_again = err == -EAGAIN;
 			goto unwind_ops;
 		}
 
 		err = vm_bind_ioctl_ops_parse(vm, ops[i], &vops);
-		if (err)
+		if (err) {
+			repin_again = err == -EAGAIN;
 			goto unwind_ops;
+		}
 
 #ifdef TEST_VM_OPS_ERROR
 		if (flags & FORCE_OP_ERROR) {
@@ -4308,6 +4310,27 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 		up_read(&vm->lock);
 	else
 		up_write(&vm->lock);
+	if (repin_again) {
+		/*
+		 * A userptr repin keeps failing due to concurrent CPU mapping
+		 * changes. New vmas are created on every attempt so the overall
+		 * timeout is tracked here. Retry with all locks dropped.
+		 */
+		u32 timeout_ms = READ_ONCE(vm->xe->userptr_repin_timeout_ms);
+
+		if (xe_userptr_repin_should_retry(&repin, timeout_ms)) {
+			bos = NULL;
+			ops = NULL;
+			syncs = NULL;
+			vops.flags = 0;
+			cond_resched();
+			if (!signal_pending(current))
+				goto retry;
+			err = -ERESTARTSYS;
+		} else {
+			err = -EBUSY;
+		}
+	}
 put_exec_queue:
 	if (q)
 		xe_exec_queue_put(q);
diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.c b/drivers/gpu/drm/xe/xe_vm_madvise.c
index 31245c6c96d4..4bb544ee168b 100644
--- a/drivers/gpu/drm/xe/xe_vm_madvise.c
+++ b/drivers/gpu/drm/xe/xe_vm_madvise.c
@@ -6,6 +6,7 @@
 #include "xe_vm_madvise.h"
 
 #include <linux/nospec.h>
+#include <linux/sched/signal.h>
 #include <drm/xe_drm.h>
 
 #include "xe_bo.h"
@@ -13,6 +14,7 @@
 #include "xe_pt.h"
 #include "xe_svm.h"
 #include "xe_tlb_inval.h"
+#include "xe_userptr.h"
 #include "xe_vm.h"
 
 struct xe_vmas_in_madvise_range {
@@ -592,11 +594,13 @@ int xe_vm_madvise_ioctl(struct drm_device *dev, void *data, struct drm_file *fil
 		.addr = xe_device_uncanonicalize_addr(xe, args->start),
 		.range = args->range,
 	};
+	struct xe_userptr_repin repin = {};
 	struct xe_madvise_details details;
 	u16 pat_index, coh_mode;
 	struct xe_vm *vm;
 	struct drm_exec exec;
 	int err, attr_type;
+	bool repin_again;
 	bool do_retained;
 
 	vm = xe_vm_lookup(xef, args->vm_id);
@@ -629,6 +633,8 @@ int xe_vm_madvise_ioctl(struct drm_device *dev, void *data, struct drm_file *fil
 
 	xe_svm_flush(vm);
 
+retry:
+	repin_again = false;
 	err = down_write_killable(&vm->lock);
 	if (err)
 		goto put_vm;
@@ -642,9 +648,12 @@ int xe_vm_madvise_ioctl(struct drm_device *dev, void *data, struct drm_file *fil
 	if (err)
 		goto unlock_vm;
 
+	xe_userptr_repin_begin(&repin);
 	err = xe_vm_alloc_madvise_vma(vm, madvise_range.addr, args->range);
-	if (err)
+	if (err) {
+		repin_again = err == -EAGAIN;
 		goto madv_fini;
+	}
 
 	err = get_vmas(vm, &madvise_range);
 	if (err || !madvise_range.num_vmas)
@@ -730,6 +739,18 @@ int xe_vm_madvise_ioctl(struct drm_device *dev, void *data, struct drm_file *fil
 	xe_madvise_details_fini(&details);
 unlock_vm:
 	up_write(&vm->lock);
+	if (repin_again) {
+		u32 timeout_ms = READ_ONCE(xe->userptr_repin_timeout_ms);
+
+		if (xe_userptr_repin_should_retry(&repin, timeout_ms)) {
+			cond_resched();
+			if (!signal_pending(current))
+				goto retry;
+			err = -ERESTARTSYS;
+		} else {
+			err = -EBUSY;
+		}
+	}
 
 	/* Write retained value to user after releasing all locks */
 	if (!err && do_retained)

-- 
2.56.1


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

* [PATCH v2 6/6] drm/xe: run compute rebind worker on device NUMA node
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
                   ` (4 preceding siblings ...)
  2026-11-20 13:02 ` [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal Matthew Auld
@ 2026-11-20 13:02 ` Matthew Auld
  2026-11-20 13:12 ` ✓ CI.KUnit: success for Non-fatal repin retries and NUMA-local rebind worker (rev2) Patchwork
  2026-11-20 13:47 ` ✓ Xe.CI.BAT: " Patchwork
  7 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 13:02 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Himal Prasad Ghimiray,
	Stuart Summers
  Cc: intel-xe, Matthew Auld

preempt_rebind_work_func() currently runs on xe->ordered_wq, whose
unbound worker pool spans all NUMA nodes. On multi-socket systems, if
the rebind worker runs on a remote socket when faulting userptr pages
marked PROT_NONE by AutoNUMA, hmm_range_fault() invokes do_numa_page()
using the worker's NUMA node and triggers migrate_misplaced_folio(),
pulling pages away from the GPU's local node and causing self-inflicted
MMU notifier invalidations.

Historically, xe->ordered_wq also serialised compute VM rebinds across
the device to avoid eviction ping-pong, which should no longer be
necessary since commit 8f25e5abcbfb ("drm/xe: Convert existing drm_exec
transactions for exhaustive eviction") serialises OOM eviction via
xe_validation_ctx.

Move vm->preempt.rebind_work onto a dedicated WQ_UNBOUND workqueue
queued via queue_work_node() with dev_to_node(), leaving user-fence
signalling on xe->ordered_wq.

v2 (Thomas):
 - Drop the whole 1-at-a-time ordered wq requirement for the worker.
 - Move the rebind destroy before destroy_wq; much safer.

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c       | 7 ++++++-
 drivers/gpu/drm/xe/xe_device_types.h | 6 +++++-
 drivers/gpu/drm/xe/xe_vm.c           | 2 +-
 drivers/gpu/drm/xe/xe_vm.h           | 6 +++++-
 4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index f0c88d3297f9..8dfc8ef9dbd7 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -10,6 +10,7 @@
 #include <linux/error-injection.h>
 #include <linux/nodemask.h>
 #include <linux/units.h>
+#include <linux/workqueue.h>
 
 #include <drm/drm_client.h>
 #include <drm/drm_gem_ttm_helper.h>
@@ -390,6 +391,9 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)
 	if (xe->preempt_fence_wq)
 		destroy_workqueue(xe->preempt_fence_wq);
 
+	if (xe->rebind_wq)
+		destroy_workqueue(xe->rebind_wq);
+
 	if (xe->ordered_wq)
 		destroy_workqueue(xe->ordered_wq);
 
@@ -523,10 +527,11 @@ int xe_device_init_early(struct xe_device *xe)
 
 	xe->preempt_fence_wq = alloc_ordered_workqueue("xe-preempt-fence-wq",
 						       WQ_MEM_RECLAIM);
+	xe->rebind_wq = alloc_workqueue("xe-rebind-wq", WQ_UNBOUND, 0);
 	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 | WQ_MEM_RECLAIM, 0);
-	if (!xe->ordered_wq || !xe->unordered_wq ||
+	if (!xe->ordered_wq || !xe->unordered_wq || !xe->rebind_wq ||
 	    !xe->preempt_fence_wq || !xe->destroy_wq) {
 		/*
 		 * Cleanup done in xe_device_destroy via
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index fc80cd2c766e..778cc1c9b39a 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -7,6 +7,7 @@
 #define _XE_DEVICE_TYPES_H_
 
 #include <linux/pci.h>
+#include <linux/workqueue.h>
 
 #include <drm/drm_device.h>
 #include <drm/drm_file.h>
@@ -375,7 +376,10 @@ struct xe_device {
 	/** @preempt_fence_wq: used to serialize preempt fences */
 	struct workqueue_struct *preempt_fence_wq;
 
-	/** @ordered_wq: used to serialize compute mode resume */
+	/** @rebind_wq: used to run compute mode rebind work on device node */
+	struct workqueue_struct *rebind_wq;
+
+	/** @ordered_wq: used to serialize ordered work */
 	struct workqueue_struct *ordered_wq;
 
 	/** @unordered_wq: used to serialize unordered work */
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 0c5121361f8e..ab138d495f3f 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -540,7 +540,7 @@ static bool vm_suspend_rebind_worker(struct xe_vm *vm)
  */
 void xe_vm_resume_rebind_worker(struct xe_vm *vm)
 {
-	queue_work(vm->xe->ordered_wq, &vm->preempt.rebind_work);
+	xe_vm_queue_rebind_worker(vm);
 }
 
 #if IS_ENABLED(CONFIG_DRM_XE_USERPTR_INVAL_INJECT)
diff --git a/drivers/gpu/drm/xe/xe_vm.h b/drivers/gpu/drm/xe/xe_vm.h
index b1c5f940bcc5..ed590bad892c 100644
--- a/drivers/gpu/drm/xe/xe_vm.h
+++ b/drivers/gpu/drm/xe/xe_vm.h
@@ -6,6 +6,9 @@
 #ifndef _XE_VM_H_
 #define _XE_VM_H_
 
+#include <linux/device.h>
+#include <linux/workqueue.h>
+
 #include "xe_assert.h"
 #include "xe_bo_types.h"
 #include "xe_macros.h"
@@ -259,7 +262,8 @@ int xe_vm_validate_protected(struct xe_vm *vm);
 static inline void xe_vm_queue_rebind_worker(struct xe_vm *vm)
 {
 	xe_assert(vm->xe, xe_vm_in_preempt_fence_mode(vm));
-	queue_work(vm->xe->ordered_wq, &vm->preempt.rebind_work);
+	queue_work_node(dev_to_node(vm->xe->drm.dev), vm->xe->rebind_wq,
+			&vm->preempt.rebind_work);
 }
 
 /**

-- 
2.56.1


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

* ✓ CI.KUnit: success for Non-fatal repin retries and NUMA-local rebind worker (rev2)
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
                   ` (5 preceding siblings ...)
  2026-11-20 13:02 ` [PATCH v2 6/6] drm/xe: run compute rebind worker on device NUMA node Matthew Auld
@ 2026-11-20 13:12 ` Patchwork
  2026-11-20 13:47 ` ✓ Xe.CI.BAT: " Patchwork
  7 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2026-11-20 13:12 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe

== Series Details ==

Series: Non-fatal repin retries and NUMA-local rebind worker (rev2)
URL   : https://patchwork.freedesktop.org/series/179052/
State : success

== Summary ==

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

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

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

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

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

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



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

* ✓ Xe.CI.BAT: success for Non-fatal repin retries and NUMA-local rebind worker (rev2)
  2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
                   ` (6 preceding siblings ...)
  2026-11-20 13:12 ` ✓ CI.KUnit: success for Non-fatal repin retries and NUMA-local rebind worker (rev2) Patchwork
@ 2026-11-20 13:47 ` Patchwork
  7 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2026-11-20 13:47 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe

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

== Series Details ==

Series: Non-fatal repin retries and NUMA-local rebind worker (rev2)
URL   : https://patchwork.freedesktop.org/series/179052/
State : success

== Summary ==

CI Bug Log - changes from xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69_BAT -> xe-pw-179052v2_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts


Changes
-------

  No changes found


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

  * Linux: xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69 -> xe-pw-179052v2

  IGT_9200: 9200
  xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69: 5273820504a824f0c81ed31f939599dd0da3fc69
  xe-pw-179052v2: 179052v2

== Logs ==

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

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

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

* Re: [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal
  2026-11-20 13:02 ` [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal Matthew Auld
@ 2026-11-20 14:03   ` sashiko-bot
  2026-11-20 14:52     ` Matthew Auld
  0 siblings, 1 reply; 11+ messages in thread
From: sashiko-bot @ 2026-11-20 14:03 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/xe/userptr: stale uvma->userptr.repin causes premature
  timeout after retry abort
--

commit 90fc6239c153f6d32105ac91a7723de6506c06a9
Author: Thomas Hellström <thomas.hellstrom@linux.intel.com>

drm/xe/userptr: Make the repin retry loop non-fatal

This commit converts -EBUSY from drm_gpusvm_get_pages() during userptr repin
into -EAGAIN until an overall repin timeout expires, discounting idle gaps
between retry attempts.

> diff --git a/drivers/gpu/drm/xe/xe_userptr.h b/drivers/gpu/drm/xe/xe_userptr.h
> index 2a3cd1b5efbb0..179f2aca26a39 100644
> --- a/drivers/gpu/drm/xe/xe_userptr.h
> +++ b/drivers/gpu/drm/xe/xe_userptr.h

[ ... ]

> +static inline void xe_userptr_repin_begin(struct xe_userptr_repin *repin)
> +{
> +	unsigned long now = jiffies;
> +
> +	if (!repin->start) {
> +		repin->start = now ?: 1;
> +		return;
> +	}
> +
> +	if (repin->last &&
> +	    time_after(now, repin->last +
> +		       msecs_to_jiffies(XE_USERPTR_REPIN_IDLE_MS)))
> +		repin->start = (repin->start + (now - repin->last)) ?: 1;
> +	repin->last = 0;
> +}

[Severity: Medium]
Can an aborted retry sequence leave stale timestamps in
uvma->userptr.repin and cause a later repin to time out early?

xe_vma_userptr_pin_pages() only zeroes uvma->userptr.repin when the repin
completes or its timeout expires.  If the caller's retry loop aborts after
receiving -EAGAIN, such as when xe_exec_ioctl() returns -ERESTARTSYS on a
pending signal or DRM_XE_VM_BIND_OP_PREFETCH hits its outer repin timeout
in xe_vm_bind_ioctl(), uvma->userptr.repin keeps its non-zero start and
last timestamps.

On a separate repin of that VMA after XE_USERPTR_REPIN_IDLE_MS,
xe_userptr_repin_begin() treats the elapsed time as an idle pause in the
earlier loop and advances repin->start only by (now - repin->last).  That
deducts the prior attempt's accrued duration (repin->last - repin->start)
from the new attempt's timeout budget, which can make the next repin fail
with -EBUSY after a single drm_gpusvm_get_pages() call and kill the VM in
the rebind worker.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261120-userptr-repin-v2-0-65e1f6e582ef@intel.com?part=5

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

* Re: [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal
  2026-11-20 14:03   ` sashiko-bot
@ 2026-11-20 14:52     ` Matthew Auld
  0 siblings, 0 replies; 11+ messages in thread
From: Matthew Auld @ 2026-11-20 14:52 UTC (permalink / raw)
  To: sashiko-reviews; +Cc: intel-xe

On 20/11/2026 14:03, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Medium] drm/xe/userptr: stale uvma->userptr.repin causes premature
>    timeout after retry abort
> --
> 
> commit 90fc6239c153f6d32105ac91a7723de6506c06a9
> Author: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> 
> drm/xe/userptr: Make the repin retry loop non-fatal
> 
> This commit converts -EBUSY from drm_gpusvm_get_pages() during userptr repin
> into -EAGAIN until an overall repin timeout expires, discounting idle gaps
> between retry attempts.
> 
>> diff --git a/drivers/gpu/drm/xe/xe_userptr.h b/drivers/gpu/drm/xe/xe_userptr.h
>> index 2a3cd1b5efbb0..179f2aca26a39 100644
>> --- a/drivers/gpu/drm/xe/xe_userptr.h
>> +++ b/drivers/gpu/drm/xe/xe_userptr.h
> 
> [ ... ]
> 
>> +static inline void xe_userptr_repin_begin(struct xe_userptr_repin *repin)
>> +{
>> +	unsigned long now = jiffies;
>> +
>> +	if (!repin->start) {
>> +		repin->start = now ?: 1;
>> +		return;
>> +	}
>> +
>> +	if (repin->last &&
>> +	    time_after(now, repin->last +
>> +		       msecs_to_jiffies(XE_USERPTR_REPIN_IDLE_MS)))
>> +		repin->start = (repin->start + (now - repin->last)) ?: 1;
>> +	repin->last = 0;
>> +}
> 
> [Severity: Medium]
> Can an aborted retry sequence leave stale timestamps in
> uvma->userptr.repin and cause a later repin to time out early?
> 
> xe_vma_userptr_pin_pages() only zeroes uvma->userptr.repin when the repin
> completes or its timeout expires.  If the caller's retry loop aborts after
> receiving -EAGAIN, such as when xe_exec_ioctl() returns -ERESTARTSYS on a
> pending signal or DRM_XE_VM_BIND_OP_PREFETCH hits its outer repin timeout
> in xe_vm_bind_ioctl(), uvma->userptr.repin keeps its non-zero start and
> last timestamps.
> 
> On a separate repin of that VMA after XE_USERPTR_REPIN_IDLE_MS,
> xe_userptr_repin_begin() treats the elapsed time as an idle pause in the
> earlier loop and advances repin->start only by (now - repin->last).  That
> deducts the prior attempt's accrued duration (repin->last - repin->start)
> from the new attempt's timeout budget, which can make the next repin fail
> with -EBUSY after a single drm_gpusvm_get_pages() call and kill the VM in
> the rebind worker.

Yeah, I saw something like this already locally, and did play with some 
different solutions but threw them away. IMO this is kind of by design. 
We shouldn't just keep resetting and retrying forever on a troublesome 
userptr, and the 30 seconds is already pretty extreme if we start 
approaching that.

> 


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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 13:02 [PATCH v2 0/6] Non-fatal repin retries and NUMA-local rebind worker Matthew Auld
2026-11-20 13:02 ` [PATCH v2 1/6] drm/xe/vm: restore userptr invalidations on VMA op unwind Matthew Auld
2026-11-20 13:02 ` [PATCH v2 2/6] drm/xe/vf: Free preempt fences on rebind worker retry Matthew Auld
2026-11-20 13:02 ` [PATCH v2 3/6] drm/xe: Requeue the rebind worker instead of retrying in-line on -EAGAIN Matthew Auld
2026-11-20 13:02 ` [PATCH v2 4/6] drm/xe: Add a userptr repin timeout sysfs attribute Matthew Auld
2026-11-20 13:02 ` [PATCH v2 5/6] drm/xe/userptr: Make the repin retry loop non-fatal Matthew Auld
2026-11-20 14:03   ` sashiko-bot
2026-11-20 14:52     ` Matthew Auld
2026-11-20 13:02 ` [PATCH v2 6/6] drm/xe: run compute rebind worker on device NUMA node Matthew Auld
2026-11-20 13:12 ` ✓ CI.KUnit: success for Non-fatal repin retries and NUMA-local rebind worker (rev2) Patchwork
2026-11-20 13:47 ` ✓ Xe.CI.BAT: " Patchwork

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