Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters
@ 2026-05-06 13:20 Arvind Yadav
  2026-05-06 13:27 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev3) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Arvind Yadav @ 2026-05-06 13:20 UTC (permalink / raw)
  To: intel-xe
  Cc: matthew.brost, himal.prasad.ghimiray, thomas.hellstrom,
	tejas.upadhyay

xe_bo_recompute_purgeable_state() walks all VMAs of a BO to determine
whether the BO can be made purgeable. This makes VMA create/destroy and
madvise updates O(n) in the number of mappings.

Replace the walk with BO-local counters protected by the BO dma-resv
lock:

  - vma_count tracks the number of VMAs mapping the BO.
  - willneed_count tracks active WILLNEED holders, including WILLNEED
    VMAs and active dma-buf exports for non-imported BOs.

A DONTNEED BO is promoted back to WILLNEED on a 0->1 transition of
willneed_count. A BO is demoted to DONTNEED on a 1->0 transition only
when it still has VMAs, preserving the previous behaviour where a BO
with no mappings keeps its current madvise state.

PURGED remains terminal, preserving the existing "once purged, always
purged" rule.

Fixes: 4f44961eab84 ("drm/xe/vm: Prevent binding of purged buffer objects")

v2:
  - Use early return for imported BOs in all four helpers to avoid
    nesting (Matt B).
  - Group purgeability state into a purgeable sub-struct on struct
    xe_bo (Matt B).
  - Reword xe_bo_willneed_put_locked() kernel-doc to explain that a 1->0
    transition means all remaining active VMAs are DONTNEED (Matt B).

v3:
  - Move DONTNEED/PURGED reject from vma_lock_and_validate() into
    xe_vma_create(), gated on attr->purgeable_state == WILLNEED.
    Fixes vm_bind bypass and partial-unbind rejection on DONTNEED
    BOs (Matt B).
  - Drop .check_purged from MAP and REMAP; keep it for PREFETCH and
    add a comment why (Matt B).
  - Skip BO validation in vma_lock_and_validate() for non-WILLNEED
    VMA remnants so cleanup/remap paths do not repopulate
    DONTNEED/PURGED BOs.

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
---
 drivers/gpu/drm/xe/xe_bo.c         |   6 +-
 drivers/gpu/drm/xe/xe_bo.h         |  88 +++++++++++++++-
 drivers/gpu/drm/xe/xe_bo_types.h   |  28 ++++-
 drivers/gpu/drm/xe/xe_dma_buf.c    |  28 ++++-
 drivers/gpu/drm/xe/xe_vm.c         |  51 +++++++--
 drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++---------------------------
 drivers/gpu/drm/xe/xe_vm_madvise.h |   2 -
 7 files changed, 190 insertions(+), 175 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 5ce60d161e09..eaa3a4ee9111 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -884,10 +884,10 @@ void xe_bo_set_purgeable_state(struct xe_bo *bo,
 		  new_state == XE_MADV_PURGEABLE_PURGED);
 
 	/* Once purged, always purged - cannot transition out */
-	xe_assert(xe, !(bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED &&
+	xe_assert(xe, !(bo->purgeable.state == XE_MADV_PURGEABLE_PURGED &&
 			new_state != XE_MADV_PURGEABLE_PURGED));
 
-	bo->madv_purgeable = new_state;
+	bo->purgeable.state = new_state;
 	xe_bo_set_purgeable_shrinker(bo, new_state);
 }
 
@@ -2355,7 +2355,7 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,
 	INIT_LIST_HEAD(&bo->vram_userfault_link);
 
 	/* Initialize purge advisory state */
-	bo->madv_purgeable = XE_MADV_PURGEABLE_WILLNEED;
+	bo->purgeable.state = XE_MADV_PURGEABLE_WILLNEED;
 
 	drm_gem_private_object_init(&xe->drm, &bo->ttm.base, size);
 
diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
index 68dea7d25a6b..6340317f7d2e 100644
--- a/drivers/gpu/drm/xe/xe_bo.h
+++ b/drivers/gpu/drm/xe/xe_bo.h
@@ -251,7 +251,7 @@ static inline bool xe_bo_is_protected(const struct xe_bo *bo)
 static inline bool xe_bo_is_purged(struct xe_bo *bo)
 {
 	xe_bo_assert_held(bo);
-	return bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED;
+	return bo->purgeable.state == XE_MADV_PURGEABLE_PURGED;
 }
 
 /**
@@ -268,11 +268,95 @@ static inline bool xe_bo_is_purged(struct xe_bo *bo)
 static inline bool xe_bo_madv_is_dontneed(struct xe_bo *bo)
 {
 	xe_bo_assert_held(bo);
-	return bo->madv_purgeable == XE_MADV_PURGEABLE_DONTNEED;
+	return bo->purgeable.state == XE_MADV_PURGEABLE_DONTNEED;
 }
 
 void xe_bo_set_purgeable_state(struct xe_bo *bo, enum xe_madv_purgeable_state new_state);
 
+/**
+ * xe_bo_willneed_get_locked() - Acquire a WILLNEED holder on a BO
+ * @bo: Buffer object
+ *
+ * Increments willneed_count and, on a 0->1 transition, promotes the BO
+ * from DONTNEED to WILLNEED. PURGED is terminal and is never modified.
+ *
+ * Caller must hold the BO's dma-resv lock.
+ */
+static inline void xe_bo_willneed_get_locked(struct xe_bo *bo)
+{
+	xe_bo_assert_held(bo);
+
+	/* Imported BOs are owned externally; do not track purgeability. */
+	if (drm_gem_is_imported(&bo->ttm.base))
+		return;
+
+	if (bo->purgeable.willneed_count++ == 0 && xe_bo_madv_is_dontneed(bo))
+		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_WILLNEED);
+}
+
+/**
+ * xe_bo_willneed_put_locked() - Release a WILLNEED holder on a BO
+ * @bo: Buffer object
+ *
+ * Decrements willneed_count and, on a 1->0 transition, marks the BO
+ * DONTNEED only if it still has VMAs (implying all active VMAs are
+ * DONTNEED). If the last VMA is being removed, preserve the current BO
+ * state to match the previous VMA-walk semantics.
+ *
+ * PURGED is terminal and the BO state is never modified.
+ *
+ * Caller must hold the BO's dma-resv lock.
+ */
+static inline void xe_bo_willneed_put_locked(struct xe_bo *bo)
+{
+	xe_bo_assert_held(bo);
+
+	if (drm_gem_is_imported(&bo->ttm.base))
+		return;
+
+	xe_assert(xe_bo_device(bo), bo->purgeable.willneed_count > 0);
+	if (--bo->purgeable.willneed_count == 0 && bo->purgeable.vma_count > 0 &&
+	    !xe_bo_is_purged(bo))
+		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_DONTNEED);
+}
+
+/**
+ * xe_bo_vma_count_inc_locked() - Account a new VMA on a BO
+ * @bo: Buffer object
+ *
+ * Increments vma_count.
+ *
+ * Caller must hold the BO's dma-resv lock.
+ */
+static inline void xe_bo_vma_count_inc_locked(struct xe_bo *bo)
+{
+	xe_bo_assert_held(bo);
+
+	if (drm_gem_is_imported(&bo->ttm.base))
+		return;
+
+	bo->purgeable.vma_count++;
+}
+
+/**
+ * xe_bo_vma_count_dec_locked() - Account a VMA removal on a BO
+ * @bo: Buffer object
+ *
+ * Decrements vma_count.
+ *
+ * Caller must hold the BO's dma-resv lock.
+ */
+static inline void xe_bo_vma_count_dec_locked(struct xe_bo *bo)
+{
+	xe_bo_assert_held(bo);
+
+	if (drm_gem_is_imported(&bo->ttm.base))
+		return;
+
+	xe_assert(xe_bo_device(bo), bo->purgeable.vma_count > 0);
+	bo->purgeable.vma_count--;
+}
+
 static inline void xe_bo_unpin_map_no_vm(struct xe_bo *bo)
 {
 	if (likely(bo)) {
diff --git a/drivers/gpu/drm/xe/xe_bo_types.h b/drivers/gpu/drm/xe/xe_bo_types.h
index 9c199badd9b2..fcc63ae3f455 100644
--- a/drivers/gpu/drm/xe/xe_bo_types.h
+++ b/drivers/gpu/drm/xe/xe_bo_types.h
@@ -111,10 +111,32 @@ struct xe_bo {
 	u64 min_align;
 
 	/**
-	 * @madv_purgeable: user space advise on BO purgeability, protected
-	 * by BO's dma-resv lock.
+	 * @purgeable: Purgeability state and accounting.
+	 *
+	 * All fields are protected by the BO's dma-resv lock.
 	 */
-	u32 madv_purgeable;
+	struct {
+		/**
+		 * @purgeable.state: BO purgeability state
+		 *                   (WILLNEED/DONTNEED/PURGED).
+		 */
+		u32 state;
+
+		/**
+		 * @purgeable.vma_count: Number of VMAs currently mapping this BO.
+		 */
+		u32 vma_count;
+
+		/**
+		 * @purgeable.willneed_count: Number of active WILLNEED holders.
+		 *
+		 * Counts WILLNEED VMAs plus active dma-buf exports for
+		 * non-imported BOs. The BO flips to DONTNEED on a 1->0
+		 * transition only when VMAs still exist; if the last VMA is
+		 * removed, the previous BO state is preserved.
+		 */
+		u32 willneed_count;
+	} purgeable;
 };
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c
index b9828da15897..855d32ba314d 100644
--- a/drivers/gpu/drm/xe/xe_dma_buf.c
+++ b/drivers/gpu/drm/xe/xe_dma_buf.c
@@ -193,6 +193,18 @@ static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
 	return 0;
 }
 
+static void xe_dma_buf_release(struct dma_buf *dmabuf)
+{
+	struct drm_gem_object *obj = dmabuf->priv;
+	struct xe_bo *bo = gem_to_xe_bo(obj);
+
+	xe_bo_lock(bo, false);
+	xe_bo_willneed_put_locked(bo);
+	xe_bo_unlock(bo);
+
+	drm_gem_dmabuf_release(dmabuf);
+}
+
 static const struct dma_buf_ops xe_dmabuf_ops = {
 	.attach = xe_dma_buf_attach,
 	.detach = xe_dma_buf_detach,
@@ -200,7 +212,7 @@ static const struct dma_buf_ops xe_dmabuf_ops = {
 	.unpin = xe_dma_buf_unpin,
 	.map_dma_buf = xe_dma_buf_map,
 	.unmap_dma_buf = xe_dma_buf_unmap,
-	.release = drm_gem_dmabuf_release,
+	.release = xe_dma_buf_release,
 	.begin_cpu_access = xe_dma_buf_begin_cpu_access,
 	.mmap = drm_gem_dmabuf_mmap,
 	.vmap = drm_gem_dmabuf_vmap,
@@ -241,18 +253,26 @@ struct dma_buf *xe_gem_prime_export(struct drm_gem_object *obj, int flags)
 		ret = -EINVAL;
 		goto out_unlock;
 	}
+
+	xe_bo_willneed_get_locked(bo);
 	xe_bo_unlock(bo);
 
 	ret = ttm_bo_setup_export(&bo->ttm, &ctx);
 	if (ret)
-		return ERR_PTR(ret);
+		goto out_put;
 
 	buf = drm_gem_prime_export(obj, flags);
-	if (!IS_ERR(buf))
-		buf->ops = &xe_dmabuf_ops;
+	if (IS_ERR(buf)) {
+		ret = PTR_ERR(buf);
+		goto out_put;
+	}
 
+	buf->ops = &xe_dmabuf_ops;
 	return buf;
 
+out_put:
+	xe_bo_lock(bo, false);
+	xe_bo_willneed_put_locked(bo);
 out_unlock:
 	xe_bo_unlock(bo);
 	return ERR_PTR(ret);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 43a578d9c067..b01f31ed4417 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1120,6 +1120,25 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
 
 		xe_bo_assert_held(bo);
 
+		/*
+		 * Reject only WILLNEED mappings on DONTNEED/PURGED BOs. This
+		 * gates new vm_bind ioctls (user supplies WILLNEED) while
+		 * still allowing partial-unbind / remap splits whose new VMAs
+		 * inherit the parent's DONTNEED attr. It must also run before
+		 * xe_bo_willneed_get_locked() below so a 0->1 holder bump
+		 * cannot silently promote DONTNEED back to WILLNEED.
+		 */
+		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
+			if (xe_bo_madv_is_dontneed(bo)) {
+				xe_vma_free(vma);
+				return ERR_PTR(-EBUSY);
+			}
+			if (xe_bo_is_purged(bo)) {
+				xe_vma_free(vma);
+				return ERR_PTR(-EINVAL);
+			}
+		}
+
 		vm_bo = drm_gpuvm_bo_obtain_locked(vma->gpuva.vm, &bo->ttm.base);
 		if (IS_ERR(vm_bo)) {
 			xe_vma_free(vma);
@@ -1131,6 +1150,10 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
 		vma->gpuva.gem.offset = bo_offset_or_userptr;
 		drm_gpuva_link(&vma->gpuva, vm_bo);
 		drm_gpuvm_bo_put(vm_bo);
+
+		xe_bo_vma_count_inc_locked(bo);
+		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
+			xe_bo_willneed_get_locked(bo);
 	} else /* userptr or null */ {
 		if (!is_null && !is_cpu_addr_mirror) {
 			struct xe_userptr_vma *uvma = to_userptr_vma(vma);
@@ -1208,7 +1231,10 @@ static void xe_vma_destroy(struct xe_vma *vma, struct dma_fence *fence)
 		xe_bo_assert_held(bo);
 
 		drm_gpuva_unlink(&vma->gpuva);
-		xe_bo_recompute_purgeable_state(bo);
+
+		xe_bo_vma_count_dec_locked(bo);
+		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
+			xe_bo_willneed_put_locked(bo);
 	}
 
 	xe_vm_assert_held(vm);
@@ -3016,7 +3042,7 @@ static void vm_bind_ioctl_ops_unwind(struct xe_vm *vm,
  * @res_evict: Allow evicting resources during validation
  * @validate: Perform BO validation
  * @request_decompress: Request BO decompression
- * @check_purged: Reject operation if BO is purged
+ * @check_purged: Reject operation if BO is DONTNEED or PURGED
  */
 struct xe_vma_lock_and_validate_flags {
 	u32 res_evict : 1;
@@ -3030,6 +3056,7 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
 {
 	struct xe_bo *bo = xe_vma_bo(vma);
 	struct xe_vm *vm = xe_vma_vm(vma);
+	bool validate_bo = flags.validate;
 	int err = 0;
 
 	if (bo) {
@@ -3044,7 +3071,11 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
 				err = -EINVAL; /* BO already purged */
 		}
 
-		if (!err && flags.validate)
+		/* Don't validate the BO for DONTNEED/PURGED remap remnants. */
+		if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_WILLNEED)
+			validate_bo = false;
+
+		if (!err && validate_bo)
 			err = xe_bo_validate(bo, vm,
 					     xe_vm_allow_vm_eviction(vm) &&
 					     flags.res_evict, exec);
@@ -3152,7 +3183,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
 								    op->map.immediate,
 							.request_decompress =
 							op->map.request_decompress,
-							.check_purged = true,
+							.check_purged = false,
 						    });
 		break;
 	case DRM_GPUVA_OP_REMAP:
@@ -3174,7 +3205,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
 							    .res_evict = res_evict,
 							    .validate = true,
 							    .request_decompress = false,
-							    .check_purged = true,
+							    .check_purged = false,
 						    });
 		if (!err && op->remap.next)
 			err = vma_lock_and_validate(exec, op->remap.next,
@@ -3182,7 +3213,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
 							    .res_evict = res_evict,
 							    .validate = true,
 							    .request_decompress = false,
-							    .check_purged = true,
+							    .check_purged = false,
 						    });
 		break;
 	case DRM_GPUVA_OP_UNMAP:
@@ -3211,9 +3242,11 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
 		}
 
 		/*
-		 * Prefetch attempts to migrate BO's backing store without
-		 * repopulating it first. Purged BOs have no backing store
-		 * to migrate, so reject the operation.
+		 * PREFETCH is the only op that still gates on BO purge state.
+		 * MAP/REMAP handle this inside xe_vma_create() so partial
+		 * unbind on a DONTNEED BO still works. PREFETCH skips
+		 * xe_vma_create() and would migrate a BO with no backing
+		 * store, so reject DONTNEED/PURGED here.
 		 */
 		err = vma_lock_and_validate(exec,
 					    gpuva_to_vma(op->base.prefetch.va),
diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.c b/drivers/gpu/drm/xe/xe_vm_madvise.c
index c78906dea82b..c4fb29004195 100644
--- a/drivers/gpu/drm/xe/xe_vm_madvise.c
+++ b/drivers/gpu/drm/xe/xe_vm_madvise.c
@@ -185,147 +185,6 @@ static void madvise_pat_index(struct xe_device *xe, struct xe_vm *vm,
 	}
 }
 
-/**
- * xe_bo_is_dmabuf_shared() - Check if BO is shared via dma-buf
- * @bo: Buffer object
- *
- * Prevent marking imported or exported dma-bufs as purgeable.
- * For imported BOs, Xe doesn't own the backing store and cannot
- * safely reclaim pages (exporter or other devices may still be
- * using them). For exported BOs, external devices may have active
- * mappings we cannot track.
- *
- * Return: true if BO is imported or exported, false otherwise
- */
-static bool xe_bo_is_dmabuf_shared(struct xe_bo *bo)
-{
-	struct drm_gem_object *obj = &bo->ttm.base;
-
-	/* Imported: exporter owns backing store */
-	if (drm_gem_is_imported(obj))
-		return true;
-
-	/* Exported: external devices may be accessing */
-	if (obj->dma_buf)
-		return true;
-
-	return false;
-}
-
-/**
- * enum xe_bo_vmas_purge_state - VMA purgeable state aggregation
- *
- * Distinguishes whether a BO's VMAs are all DONTNEED, have at least
- * one WILLNEED, or have no VMAs at all.
- *
- * Enum values align with XE_MADV_PURGEABLE_* states for consistency.
- */
-enum xe_bo_vmas_purge_state {
-	/** @XE_BO_VMAS_STATE_WILLNEED: At least one VMA is WILLNEED */
-	XE_BO_VMAS_STATE_WILLNEED = 0,
-	/** @XE_BO_VMAS_STATE_DONTNEED: All VMAs are DONTNEED */
-	XE_BO_VMAS_STATE_DONTNEED = 1,
-	/** @XE_BO_VMAS_STATE_NO_VMAS: BO has no VMAs */
-	XE_BO_VMAS_STATE_NO_VMAS = 2,
-};
-
-/*
- * xe_bo_recompute_purgeable_state() casts between xe_bo_vmas_purge_state and
- * xe_madv_purgeable_state. Enforce that WILLNEED=0 and DONTNEED=1 match across
- * both enums so the single-line cast is always valid.
- */
-static_assert(XE_BO_VMAS_STATE_WILLNEED == (int)XE_MADV_PURGEABLE_WILLNEED,
-	      "VMA purge state WILLNEED must equal madv purgeable WILLNEED");
-static_assert(XE_BO_VMAS_STATE_DONTNEED == (int)XE_MADV_PURGEABLE_DONTNEED,
-	      "VMA purge state DONTNEED must equal madv purgeable DONTNEED");
-
-/**
- * xe_bo_all_vmas_dontneed() - Determine BO VMA purgeable state
- * @bo: Buffer object
- *
- * Check all VMAs across all VMs to determine aggregate purgeable state.
- * Shared BOs require unanimous DONTNEED state from all mappings.
- *
- * Caller must hold BO dma-resv lock.
- *
- * Return: XE_BO_VMAS_STATE_DONTNEED if all VMAs are DONTNEED,
- *         XE_BO_VMAS_STATE_WILLNEED if at least one VMA is not DONTNEED,
- *         XE_BO_VMAS_STATE_NO_VMAS if BO has no VMAs
- */
-static enum xe_bo_vmas_purge_state xe_bo_all_vmas_dontneed(struct xe_bo *bo)
-{
-	struct drm_gpuvm_bo *vm_bo;
-	struct drm_gpuva *gpuva;
-	struct drm_gem_object *obj = &bo->ttm.base;
-	bool has_vmas = false;
-
-	xe_bo_assert_held(bo);
-
-	/* Shared dma-bufs cannot be purgeable */
-	if (xe_bo_is_dmabuf_shared(bo))
-		return XE_BO_VMAS_STATE_WILLNEED;
-
-	drm_gem_for_each_gpuvm_bo(vm_bo, obj) {
-		drm_gpuvm_bo_for_each_va(gpuva, vm_bo) {
-			struct xe_vma *vma = gpuva_to_vma(gpuva);
-
-			has_vmas = true;
-
-			/* Any non-DONTNEED VMA prevents purging */
-			if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_DONTNEED)
-				return XE_BO_VMAS_STATE_WILLNEED;
-		}
-	}
-
-	/*
-	 * No VMAs => preserve existing BO purgeable state.
-	 * Avoids incorrectly flipping DONTNEED -> WILLNEED when last VMA unmapped.
-	 */
-	if (!has_vmas)
-		return XE_BO_VMAS_STATE_NO_VMAS;
-
-	return XE_BO_VMAS_STATE_DONTNEED;
-}
-
-/**
- * xe_bo_recompute_purgeable_state() - Recompute BO purgeable state from VMAs
- * @bo: Buffer object
- *
- * Walk all VMAs to determine if BO should be purgeable or not.
- * Shared BOs require unanimous DONTNEED state from all mappings.
- * If the BO has no VMAs the existing state is preserved.
- *
- * Locking: Caller must hold BO dma-resv lock. When iterating GPUVM lists,
- * VM lock must also be held (write) to prevent concurrent VMA modifications.
- * This is satisfied at both call sites:
- * - xe_vma_destroy(): holds vm->lock write
- * - madvise_purgeable(): holds vm->lock write (from madvise ioctl path)
- *
- * Return: nothing
- */
-void xe_bo_recompute_purgeable_state(struct xe_bo *bo)
-{
-	enum xe_bo_vmas_purge_state vma_state;
-
-	if (!bo)
-		return;
-
-	xe_bo_assert_held(bo);
-
-	/*
-	 * Once purged, always purged. Cannot transition back to WILLNEED.
-	 * This matches i915 semantics where purged BOs are permanently invalid.
-	 */
-	if (bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED)
-		return;
-
-	vma_state = xe_bo_all_vmas_dontneed(bo);
-
-	if (vma_state != (enum xe_bo_vmas_purge_state)bo->madv_purgeable &&
-	    vma_state != XE_BO_VMAS_STATE_NO_VMAS)
-		xe_bo_set_purgeable_state(bo, (enum xe_madv_purgeable_state)vma_state);
-}
-
 /**
  * madvise_purgeable - Handle purgeable buffer object advice
  * @xe: XE device
@@ -359,12 +218,6 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
 		/* BO must be locked before modifying madv state */
 		xe_bo_assert_held(bo);
 
-		/* Skip shared dma-bufs - no PTEs to zap */
-		if (xe_bo_is_dmabuf_shared(bo)) {
-			vmas[i]->skip_invalidation = true;
-			continue;
-		}
-
 		/*
 		 * Once purged, always purged. Cannot transition back to WILLNEED.
 		 * This matches i915 semantics where purged BOs are permanently invalid.
@@ -377,13 +230,14 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
 
 		switch (op->purge_state_val.val) {
 		case DRM_XE_VMA_PURGEABLE_STATE_WILLNEED:
-			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
 			vmas[i]->skip_invalidation = true;
-
-			xe_bo_recompute_purgeable_state(bo);
+			/* Only act on a real DONTNEED -> WILLNEED transition. */
+			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_DONTNEED) {
+				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
+				xe_bo_willneed_get_locked(bo);
+			}
 			break;
 		case DRM_XE_VMA_PURGEABLE_STATE_DONTNEED:
-			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
 			/*
 			 * Don't zap PTEs at DONTNEED time -- pages are still
 			 * alive. The zap happens in xe_bo_move_notify() right
@@ -391,7 +245,11 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
 			 */
 			vmas[i]->skip_invalidation = true;
 
-			xe_bo_recompute_purgeable_state(bo);
+			/* Only act on a real WILLNEED -> DONTNEED transition. */
+			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
+				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
+				xe_bo_willneed_put_locked(bo);
+			}
 			break;
 		default:
 			/* Should never hit - values validated in madvise_args_are_sane() */
diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.h b/drivers/gpu/drm/xe/xe_vm_madvise.h
index 39acd2689ca0..a3078f634c7e 100644
--- a/drivers/gpu/drm/xe/xe_vm_madvise.h
+++ b/drivers/gpu/drm/xe/xe_vm_madvise.h
@@ -13,6 +13,4 @@ struct xe_bo;
 int xe_vm_madvise_ioctl(struct drm_device *dev, void *data,
 			struct drm_file *file);
 
-void xe_bo_recompute_purgeable_state(struct xe_bo *bo);
-
 #endif
-- 
2.43.0


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

* ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev3)
  2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
@ 2026-05-06 13:27 ` Patchwork
  2026-05-06 15:54 ` [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-05-06 13:27 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/xe/madvise: Track purgeability with BO-local counters (rev3)
URL   : https://patchwork.freedesktop.org/series/165688/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[13:26:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[13:26:05] 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:26:37] Starting KUnit Kernel (1/1)...
[13:26:37] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[13:26:37] ================== guc_buf (11 subtests) ===================
[13:26:37] [PASSED] test_smallest
[13:26:37] [PASSED] test_largest
[13:26:37] [PASSED] test_granular
[13:26:37] [PASSED] test_unique
[13:26:37] [PASSED] test_overlap
[13:26:37] [PASSED] test_reusable
[13:26:37] [PASSED] test_too_big
[13:26:37] [PASSED] test_flush
[13:26:37] [PASSED] test_lookup
[13:26:37] [PASSED] test_data
[13:26:37] [PASSED] test_class
[13:26:37] ===================== [PASSED] guc_buf =====================
[13:26:37] =================== guc_dbm (7 subtests) ===================
[13:26:37] [PASSED] test_empty
[13:26:37] [PASSED] test_default
[13:26:37] ======================== test_size  ========================
[13:26:37] [PASSED] 4
[13:26:37] [PASSED] 8
[13:26:37] [PASSED] 32
[13:26:37] [PASSED] 256
[13:26:37] ==================== [PASSED] test_size ====================
[13:26:37] ======================= test_reuse  ========================
[13:26:37] [PASSED] 4
[13:26:37] [PASSED] 8
[13:26:37] [PASSED] 32
[13:26:37] [PASSED] 256
[13:26:37] =================== [PASSED] test_reuse ====================
[13:26:37] =================== test_range_overlap  ====================
[13:26:37] [PASSED] 4
[13:26:37] [PASSED] 8
[13:26:37] [PASSED] 32
[13:26:37] [PASSED] 256
[13:26:37] =============== [PASSED] test_range_overlap ================
[13:26:37] =================== test_range_compact  ====================
[13:26:37] [PASSED] 4
[13:26:37] [PASSED] 8
[13:26:37] [PASSED] 32
[13:26:37] [PASSED] 256
[13:26:37] =============== [PASSED] test_range_compact ================
[13:26:37] ==================== test_range_spare  =====================
[13:26:37] [PASSED] 4
[13:26:37] [PASSED] 8
[13:26:37] [PASSED] 32
[13:26:37] [PASSED] 256
[13:26:37] ================ [PASSED] test_range_spare =================
[13:26:37] ===================== [PASSED] guc_dbm =====================
[13:26:37] =================== guc_idm (6 subtests) ===================
[13:26:37] [PASSED] bad_init
[13:26:37] [PASSED] no_init
[13:26:37] [PASSED] init_fini
[13:26:37] [PASSED] check_used
[13:26:37] [PASSED] check_quota
[13:26:37] [PASSED] check_all
[13:26:37] ===================== [PASSED] guc_idm =====================
[13:26:37] ================== no_relay (3 subtests) ===================
[13:26:37] [PASSED] xe_drops_guc2pf_if_not_ready
[13:26:37] [PASSED] xe_drops_guc2vf_if_not_ready
[13:26:37] [PASSED] xe_rejects_send_if_not_ready
[13:26:37] ==================== [PASSED] no_relay =====================
[13:26:37] ================== pf_relay (14 subtests) ==================
[13:26:37] [PASSED] pf_rejects_guc2pf_too_short
[13:26:37] [PASSED] pf_rejects_guc2pf_too_long
[13:26:37] [PASSED] pf_rejects_guc2pf_no_payload
[13:26:37] [PASSED] pf_fails_no_payload
[13:26:37] [PASSED] pf_fails_bad_origin
[13:26:37] [PASSED] pf_fails_bad_type
[13:26:37] [PASSED] pf_txn_reports_error
[13:26:37] [PASSED] pf_txn_sends_pf2guc
[13:26:37] [PASSED] pf_sends_pf2guc
[13:26:37] [SKIPPED] pf_loopback_nop
[13:26:37] [SKIPPED] pf_loopback_echo
[13:26:37] [SKIPPED] pf_loopback_fail
[13:26:37] [SKIPPED] pf_loopback_busy
[13:26:37] [SKIPPED] pf_loopback_retry
[13:26:37] ==================== [PASSED] pf_relay =====================
[13:26:37] ================== vf_relay (3 subtests) ===================
[13:26:37] [PASSED] vf_rejects_guc2vf_too_short
[13:26:37] [PASSED] vf_rejects_guc2vf_too_long
[13:26:37] [PASSED] vf_rejects_guc2vf_no_payload
[13:26:37] ==================== [PASSED] vf_relay =====================
[13:26:37] ================ pf_gt_config (9 subtests) =================
[13:26:37] [PASSED] fair_contexts_1vf
[13:26:37] [PASSED] fair_doorbells_1vf
[13:26:37] [PASSED] fair_ggtt_1vf
[13:26:37] ====================== fair_vram_1vf  ======================
[13:26:37] [PASSED] 3.50 GiB
[13:26:37] [PASSED] 11.5 GiB
[13:26:37] [PASSED] 15.5 GiB
[13:26:37] [PASSED] 31.5 GiB
[13:26:37] [PASSED] 63.5 GiB
[13:26:37] [PASSED] 1.91 GiB
[13:26:37] ================== [PASSED] fair_vram_1vf ==================
[13:26:37] ================ fair_vram_1vf_admin_only  =================
[13:26:37] [PASSED] 3.50 GiB
[13:26:37] [PASSED] 11.5 GiB
[13:26:37] [PASSED] 15.5 GiB
[13:26:37] [PASSED] 31.5 GiB
[13:26:37] [PASSED] 63.5 GiB
[13:26:37] [PASSED] 1.91 GiB
[13:26:37] ============ [PASSED] fair_vram_1vf_admin_only =============
[13:26:37] ====================== fair_contexts  ======================
[13:26:37] [PASSED] 1 VF
[13:26:37] [PASSED] 2 VFs
[13:26:37] [PASSED] 3 VFs
[13:26:37] [PASSED] 4 VFs
[13:26:37] [PASSED] 5 VFs
[13:26:37] [PASSED] 6 VFs
[13:26:37] [PASSED] 7 VFs
[13:26:37] [PASSED] 8 VFs
[13:26:37] [PASSED] 9 VFs
[13:26:37] [PASSED] 10 VFs
[13:26:37] [PASSED] 11 VFs
[13:26:37] [PASSED] 12 VFs
[13:26:37] [PASSED] 13 VFs
[13:26:37] [PASSED] 14 VFs
[13:26:37] [PASSED] 15 VFs
[13:26:37] [PASSED] 16 VFs
[13:26:37] [PASSED] 17 VFs
[13:26:37] [PASSED] 18 VFs
[13:26:37] [PASSED] 19 VFs
[13:26:37] [PASSED] 20 VFs
[13:26:37] [PASSED] 21 VFs
[13:26:37] [PASSED] 22 VFs
[13:26:37] [PASSED] 23 VFs
[13:26:37] [PASSED] 24 VFs
[13:26:37] [PASSED] 25 VFs
[13:26:37] [PASSED] 26 VFs
[13:26:37] [PASSED] 27 VFs
[13:26:37] [PASSED] 28 VFs
[13:26:37] [PASSED] 29 VFs
[13:26:37] [PASSED] 30 VFs
[13:26:37] [PASSED] 31 VFs
[13:26:37] [PASSED] 32 VFs
[13:26:37] [PASSED] 33 VFs
[13:26:37] [PASSED] 34 VFs
[13:26:37] [PASSED] 35 VFs
[13:26:37] [PASSED] 36 VFs
[13:26:37] [PASSED] 37 VFs
[13:26:37] [PASSED] 38 VFs
[13:26:37] [PASSED] 39 VFs
[13:26:37] [PASSED] 40 VFs
[13:26:37] [PASSED] 41 VFs
[13:26:37] [PASSED] 42 VFs
[13:26:37] [PASSED] 43 VFs
[13:26:37] [PASSED] 44 VFs
[13:26:37] [PASSED] 45 VFs
[13:26:37] [PASSED] 46 VFs
[13:26:37] [PASSED] 47 VFs
[13:26:37] [PASSED] 48 VFs
[13:26:37] [PASSED] 49 VFs
[13:26:37] [PASSED] 50 VFs
[13:26:37] [PASSED] 51 VFs
[13:26:37] [PASSED] 52 VFs
[13:26:37] [PASSED] 53 VFs
[13:26:37] [PASSED] 54 VFs
[13:26:37] [PASSED] 55 VFs
[13:26:37] [PASSED] 56 VFs
[13:26:37] [PASSED] 57 VFs
[13:26:37] [PASSED] 58 VFs
[13:26:37] [PASSED] 59 VFs
[13:26:37] [PASSED] 60 VFs
[13:26:37] [PASSED] 61 VFs
[13:26:37] [PASSED] 62 VFs
[13:26:37] [PASSED] 63 VFs
[13:26:37] ================== [PASSED] fair_contexts ==================
[13:26:37] ===================== fair_doorbells  ======================
[13:26:37] [PASSED] 1 VF
[13:26:37] [PASSED] 2 VFs
[13:26:37] [PASSED] 3 VFs
[13:26:37] [PASSED] 4 VFs
[13:26:37] [PASSED] 5 VFs
[13:26:37] [PASSED] 6 VFs
[13:26:37] [PASSED] 7 VFs
[13:26:37] [PASSED] 8 VFs
[13:26:37] [PASSED] 9 VFs
[13:26:37] [PASSED] 10 VFs
[13:26:37] [PASSED] 11 VFs
[13:26:37] [PASSED] 12 VFs
[13:26:37] [PASSED] 13 VFs
[13:26:37] [PASSED] 14 VFs
[13:26:37] [PASSED] 15 VFs
[13:26:37] [PASSED] 16 VFs
[13:26:37] [PASSED] 17 VFs
[13:26:37] [PASSED] 18 VFs
[13:26:37] [PASSED] 19 VFs
[13:26:37] [PASSED] 20 VFs
[13:26:37] [PASSED] 21 VFs
[13:26:37] [PASSED] 22 VFs
[13:26:37] [PASSED] 23 VFs
[13:26:37] [PASSED] 24 VFs
[13:26:37] [PASSED] 25 VFs
[13:26:37] [PASSED] 26 VFs
[13:26:37] [PASSED] 27 VFs
[13:26:37] [PASSED] 28 VFs
[13:26:37] [PASSED] 29 VFs
[13:26:37] [PASSED] 30 VFs
[13:26:37] [PASSED] 31 VFs
[13:26:37] [PASSED] 32 VFs
[13:26:37] [PASSED] 33 VFs
[13:26:37] [PASSED] 34 VFs
[13:26:37] [PASSED] 35 VFs
[13:26:37] [PASSED] 36 VFs
[13:26:37] [PASSED] 37 VFs
[13:26:37] [PASSED] 38 VFs
[13:26:37] [PASSED] 39 VFs
[13:26:37] [PASSED] 40 VFs
[13:26:37] [PASSED] 41 VFs
[13:26:37] [PASSED] 42 VFs
[13:26:37] [PASSED] 43 VFs
[13:26:37] [PASSED] 44 VFs
[13:26:37] [PASSED] 45 VFs
[13:26:37] [PASSED] 46 VFs
[13:26:37] [PASSED] 47 VFs
[13:26:37] [PASSED] 48 VFs
[13:26:37] [PASSED] 49 VFs
[13:26:37] [PASSED] 50 VFs
[13:26:37] [PASSED] 51 VFs
[13:26:37] [PASSED] 52 VFs
[13:26:37] [PASSED] 53 VFs
[13:26:37] [PASSED] 54 VFs
[13:26:37] [PASSED] 55 VFs
[13:26:37] [PASSED] 56 VFs
[13:26:37] [PASSED] 57 VFs
[13:26:37] [PASSED] 58 VFs
[13:26:37] [PASSED] 59 VFs
[13:26:37] [PASSED] 60 VFs
[13:26:37] [PASSED] 61 VFs
[13:26:37] [PASSED] 62 VFs
[13:26:37] [PASSED] 63 VFs
[13:26:37] ================= [PASSED] fair_doorbells ==================
[13:26:37] ======================== fair_ggtt  ========================
[13:26:37] [PASSED] 1 VF
[13:26:37] [PASSED] 2 VFs
[13:26:37] [PASSED] 3 VFs
[13:26:37] [PASSED] 4 VFs
[13:26:37] [PASSED] 5 VFs
[13:26:37] [PASSED] 6 VFs
[13:26:37] [PASSED] 7 VFs
[13:26:37] [PASSED] 8 VFs
[13:26:37] [PASSED] 9 VFs
[13:26:37] [PASSED] 10 VFs
[13:26:37] [PASSED] 11 VFs
[13:26:37] [PASSED] 12 VFs
[13:26:37] [PASSED] 13 VFs
[13:26:37] [PASSED] 14 VFs
[13:26:37] [PASSED] 15 VFs
[13:26:37] [PASSED] 16 VFs
[13:26:37] [PASSED] 17 VFs
[13:26:37] [PASSED] 18 VFs
[13:26:37] [PASSED] 19 VFs
[13:26:37] [PASSED] 20 VFs
[13:26:37] [PASSED] 21 VFs
[13:26:37] [PASSED] 22 VFs
[13:26:37] [PASSED] 23 VFs
[13:26:37] [PASSED] 24 VFs
[13:26:37] [PASSED] 25 VFs
[13:26:37] [PASSED] 26 VFs
[13:26:37] [PASSED] 27 VFs
[13:26:37] [PASSED] 28 VFs
[13:26:37] [PASSED] 29 VFs
[13:26:37] [PASSED] 30 VFs
[13:26:37] [PASSED] 31 VFs
[13:26:37] [PASSED] 32 VFs
[13:26:37] [PASSED] 33 VFs
[13:26:37] [PASSED] 34 VFs
[13:26:37] [PASSED] 35 VFs
[13:26:37] [PASSED] 36 VFs
[13:26:37] [PASSED] 37 VFs
[13:26:37] [PASSED] 38 VFs
[13:26:37] [PASSED] 39 VFs
[13:26:37] [PASSED] 40 VFs
[13:26:37] [PASSED] 41 VFs
[13:26:37] [PASSED] 42 VFs
[13:26:37] [PASSED] 43 VFs
[13:26:37] [PASSED] 44 VFs
[13:26:37] [PASSED] 45 VFs
[13:26:37] [PASSED] 46 VFs
[13:26:37] [PASSED] 47 VFs
[13:26:37] [PASSED] 48 VFs
[13:26:37] [PASSED] 49 VFs
[13:26:37] [PASSED] 50 VFs
[13:26:37] [PASSED] 51 VFs
[13:26:37] [PASSED] 52 VFs
[13:26:37] [PASSED] 53 VFs
[13:26:37] [PASSED] 54 VFs
[13:26:37] [PASSED] 55 VFs
[13:26:37] [PASSED] 56 VFs
[13:26:37] [PASSED] 57 VFs
[13:26:37] [PASSED] 58 VFs
[13:26:37] [PASSED] 59 VFs
[13:26:37] [PASSED] 60 VFs
[13:26:37] [PASSED] 61 VFs
[13:26:37] [PASSED] 62 VFs
[13:26:37] [PASSED] 63 VFs
[13:26:37] ==================== [PASSED] fair_ggtt ====================
[13:26:37] ======================== fair_vram  ========================
[13:26:37] [PASSED] 1 VF
[13:26:37] [PASSED] 2 VFs
[13:26:37] [PASSED] 3 VFs
[13:26:37] [PASSED] 4 VFs
[13:26:37] [PASSED] 5 VFs
[13:26:37] [PASSED] 6 VFs
[13:26:37] [PASSED] 7 VFs
[13:26:37] [PASSED] 8 VFs
[13:26:37] [PASSED] 9 VFs
[13:26:37] [PASSED] 10 VFs
[13:26:37] [PASSED] 11 VFs
[13:26:37] [PASSED] 12 VFs
[13:26:37] [PASSED] 13 VFs
[13:26:37] [PASSED] 14 VFs
[13:26:37] [PASSED] 15 VFs
[13:26:37] [PASSED] 16 VFs
[13:26:37] [PASSED] 17 VFs
[13:26:37] [PASSED] 18 VFs
[13:26:37] [PASSED] 19 VFs
[13:26:37] [PASSED] 20 VFs
[13:26:37] [PASSED] 21 VFs
[13:26:37] [PASSED] 22 VFs
[13:26:37] [PASSED] 23 VFs
[13:26:37] [PASSED] 24 VFs
[13:26:37] [PASSED] 25 VFs
[13:26:37] [PASSED] 26 VFs
[13:26:37] [PASSED] 27 VFs
[13:26:37] [PASSED] 28 VFs
[13:26:37] [PASSED] 29 VFs
[13:26:37] [PASSED] 30 VFs
[13:26:37] [PASSED] 31 VFs
[13:26:37] [PASSED] 32 VFs
[13:26:37] [PASSED] 33 VFs
[13:26:37] [PASSED] 34 VFs
[13:26:37] [PASSED] 35 VFs
[13:26:37] [PASSED] 36 VFs
[13:26:37] [PASSED] 37 VFs
[13:26:37] [PASSED] 38 VFs
[13:26:37] [PASSED] 39 VFs
[13:26:37] [PASSED] 40 VFs
[13:26:37] [PASSED] 41 VFs
[13:26:37] [PASSED] 42 VFs
[13:26:37] [PASSED] 43 VFs
[13:26:37] [PASSED] 44 VFs
[13:26:37] [PASSED] 45 VFs
[13:26:37] [PASSED] 46 VFs
[13:26:37] [PASSED] 47 VFs
[13:26:37] [PASSED] 48 VFs
[13:26:37] [PASSED] 49 VFs
[13:26:37] [PASSED] 50 VFs
[13:26:37] [PASSED] 51 VFs
[13:26:37] [PASSED] 52 VFs
[13:26:37] [PASSED] 53 VFs
[13:26:37] [PASSED] 54 VFs
[13:26:37] [PASSED] 55 VFs
[13:26:37] [PASSED] 56 VFs
[13:26:37] [PASSED] 57 VFs
[13:26:37] [PASSED] 58 VFs
[13:26:37] [PASSED] 59 VFs
[13:26:37] [PASSED] 60 VFs
[13:26:37] [PASSED] 61 VFs
[13:26:37] [PASSED] 62 VFs
[13:26:37] [PASSED] 63 VFs
[13:26:37] ==================== [PASSED] fair_vram ====================
[13:26:37] ================== [PASSED] pf_gt_config ===================
[13:26:37] ===================== lmtt (1 subtest) =====================
[13:26:37] ======================== test_ops  =========================
[13:26:37] [PASSED] 2-level
[13:26:37] [PASSED] multi-level
[13:26:37] ==================== [PASSED] test_ops =====================
[13:26:37] ====================== [PASSED] lmtt =======================
[13:26:37] ================= pf_service (11 subtests) =================
[13:26:37] [PASSED] pf_negotiate_any
[13:26:37] [PASSED] pf_negotiate_base_match
[13:26:37] [PASSED] pf_negotiate_base_newer
[13:26:37] [PASSED] pf_negotiate_base_next
[13:26:37] [SKIPPED] pf_negotiate_base_older
[13:26:37] [PASSED] pf_negotiate_base_prev
[13:26:37] [PASSED] pf_negotiate_latest_match
[13:26:37] [PASSED] pf_negotiate_latest_newer
[13:26:37] [PASSED] pf_negotiate_latest_next
[13:26:37] [SKIPPED] pf_negotiate_latest_older
[13:26:37] [SKIPPED] pf_negotiate_latest_prev
[13:26:37] =================== [PASSED] pf_service ====================
[13:26:37] ================= xe_guc_g2g (2 subtests) ==================
[13:26:37] ============== xe_live_guc_g2g_kunit_default  ==============
[13:26:37] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[13:26:37] ============== xe_live_guc_g2g_kunit_allmem  ===============
[13:26:37] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[13:26:37] =================== [SKIPPED] xe_guc_g2g ===================
[13:26:37] =================== xe_mocs (2 subtests) ===================
[13:26:37] ================ xe_live_mocs_kernel_kunit  ================
[13:26:37] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[13:26:37] ================ xe_live_mocs_reset_kunit  =================
[13:26:37] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[13:26:37] ==================== [SKIPPED] xe_mocs =====================
[13:26:37] ================= xe_migrate (2 subtests) ==================
[13:26:37] ================= xe_migrate_sanity_kunit  =================
[13:26:37] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[13:26:37] ================== xe_validate_ccs_kunit  ==================
[13:26:37] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[13:26:37] =================== [SKIPPED] xe_migrate ===================
[13:26:37] ================== xe_dma_buf (1 subtest) ==================
[13:26:37] ==================== xe_dma_buf_kunit  =====================
[13:26:37] ================ [SKIPPED] xe_dma_buf_kunit ================
[13:26:37] =================== [SKIPPED] xe_dma_buf ===================
[13:26:37] ================= xe_bo_shrink (1 subtest) =================
[13:26:37] =================== xe_bo_shrink_kunit  ====================
[13:26:37] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[13:26:37] ================== [SKIPPED] xe_bo_shrink ==================
[13:26:37] ==================== xe_bo (2 subtests) ====================
[13:26:37] ================== xe_ccs_migrate_kunit  ===================
[13:26:37] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[13:26:37] ==================== xe_bo_evict_kunit  ====================
[13:26:37] =============== [SKIPPED] xe_bo_evict_kunit ================
[13:26:37] ===================== [SKIPPED] xe_bo ======================
[13:26:37] ==================== args (13 subtests) ====================
[13:26:37] [PASSED] count_args_test
[13:26:37] [PASSED] call_args_example
[13:26:37] [PASSED] call_args_test
[13:26:37] [PASSED] drop_first_arg_example
[13:26:37] [PASSED] drop_first_arg_test
[13:26:37] [PASSED] first_arg_example
[13:26:37] [PASSED] first_arg_test
[13:26:37] [PASSED] last_arg_example
[13:26:37] [PASSED] last_arg_test
[13:26:37] [PASSED] pick_arg_example
[13:26:37] [PASSED] if_args_example
[13:26:37] [PASSED] if_args_test
[13:26:37] [PASSED] sep_comma_example
[13:26:37] ====================== [PASSED] args =======================
[13:26:37] =================== xe_pci (3 subtests) ====================
[13:26:37] ==================== check_graphics_ip  ====================
[13:26:37] [PASSED] 12.00 Xe_LP
[13:26:37] [PASSED] 12.10 Xe_LP+
[13:26:37] [PASSED] 12.55 Xe_HPG
[13:26:37] [PASSED] 12.60 Xe_HPC
[13:26:37] [PASSED] 12.70 Xe_LPG
[13:26:37] [PASSED] 12.71 Xe_LPG
[13:26:37] [PASSED] 12.74 Xe_LPG+
[13:26:37] [PASSED] 20.01 Xe2_HPG
[13:26:37] [PASSED] 20.02 Xe2_HPG
[13:26:37] [PASSED] 20.04 Xe2_LPG
[13:26:37] [PASSED] 30.00 Xe3_LPG
[13:26:37] [PASSED] 30.01 Xe3_LPG
[13:26:37] [PASSED] 30.03 Xe3_LPG
[13:26:37] [PASSED] 30.04 Xe3_LPG
[13:26:37] [PASSED] 30.05 Xe3_LPG
[13:26:37] [PASSED] 35.10 Xe3p_LPG
[13:26:37] [PASSED] 35.11 Xe3p_XPC
[13:26:37] ================ [PASSED] check_graphics_ip ================
[13:26:37] ===================== check_media_ip  ======================
[13:26:37] [PASSED] 12.00 Xe_M
[13:26:37] [PASSED] 12.55 Xe_HPM
[13:26:37] [PASSED] 13.00 Xe_LPM+
[13:26:37] [PASSED] 13.01 Xe2_HPM
[13:26:37] [PASSED] 20.00 Xe2_LPM
[13:26:37] [PASSED] 30.00 Xe3_LPM
[13:26:37] [PASSED] 30.02 Xe3_LPM
[13:26:37] [PASSED] 35.00 Xe3p_LPM
[13:26:37] [PASSED] 35.03 Xe3p_HPM
[13:26:37] ================= [PASSED] check_media_ip ==================
[13:26:37] =================== check_platform_desc  ===================
[13:26:37] [PASSED] 0x9A60 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A68 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A70 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A40 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A49 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A59 (TIGERLAKE)
[13:26:37] [PASSED] 0x9A78 (TIGERLAKE)
[13:26:37] [PASSED] 0x9AC0 (TIGERLAKE)
[13:26:37] [PASSED] 0x9AC9 (TIGERLAKE)
[13:26:37] [PASSED] 0x9AD9 (TIGERLAKE)
[13:26:37] [PASSED] 0x9AF8 (TIGERLAKE)
[13:26:37] [PASSED] 0x4C80 (ROCKETLAKE)
[13:26:37] [PASSED] 0x4C8A (ROCKETLAKE)
[13:26:37] [PASSED] 0x4C8B (ROCKETLAKE)
[13:26:37] [PASSED] 0x4C8C (ROCKETLAKE)
[13:26:37] [PASSED] 0x4C90 (ROCKETLAKE)
[13:26:37] [PASSED] 0x4C9A (ROCKETLAKE)
[13:26:37] [PASSED] 0x4680 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4682 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4688 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x468A (ALDERLAKE_S)
[13:26:37] [PASSED] 0x468B (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4690 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4692 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4693 (ALDERLAKE_S)
[13:26:37] [PASSED] 0x46A0 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46A1 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46A2 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46A3 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46A6 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46A8 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46AA (ALDERLAKE_P)
[13:26:37] [PASSED] 0x462A (ALDERLAKE_P)
[13:26:37] [PASSED] 0x4626 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x4628 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46B0 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46B1 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46B2 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46B3 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46C0 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46C1 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46C2 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46C3 (ALDERLAKE_P)
[13:26:37] [PASSED] 0x46D0 (ALDERLAKE_N)
[13:26:37] [PASSED] 0x46D1 (ALDERLAKE_N)
[13:26:37] [PASSED] 0x46D2 (ALDERLAKE_N)
[13:26:37] [PASSED] 0x46D3 (ALDERLAKE_N)
[13:26:37] [PASSED] 0x46D4 (ALDERLAKE_N)
[13:26:37] [PASSED] 0xA721 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7A1 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7A9 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7AC (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7AD (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA720 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7A0 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7A8 (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7AA (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA7AB (ALDERLAKE_P)
[13:26:37] [PASSED] 0xA780 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA781 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA782 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA783 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA788 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA789 (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA78A (ALDERLAKE_S)
[13:26:37] [PASSED] 0xA78B (ALDERLAKE_S)
[13:26:37] [PASSED] 0x4905 (DG1)
[13:26:37] [PASSED] 0x4906 (DG1)
[13:26:37] [PASSED] 0x4907 (DG1)
[13:26:37] [PASSED] 0x4908 (DG1)
[13:26:37] [PASSED] 0x4909 (DG1)
[13:26:37] [PASSED] 0x56C0 (DG2)
[13:26:37] [PASSED] 0x56C2 (DG2)
[13:26:37] [PASSED] 0x56C1 (DG2)
[13:26:37] [PASSED] 0x7D51 (METEORLAKE)
[13:26:37] [PASSED] 0x7DD1 (METEORLAKE)
[13:26:37] [PASSED] 0x7D41 (METEORLAKE)
[13:26:37] [PASSED] 0x7D67 (METEORLAKE)
[13:26:37] [PASSED] 0xB640 (METEORLAKE)
[13:26:37] [PASSED] 0x56A0 (DG2)
[13:26:37] [PASSED] 0x56A1 (DG2)
[13:26:37] [PASSED] 0x56A2 (DG2)
[13:26:37] [PASSED] 0x56BE (DG2)
[13:26:37] [PASSED] 0x56BF (DG2)
[13:26:37] [PASSED] 0x5690 (DG2)
[13:26:37] [PASSED] 0x5691 (DG2)
[13:26:37] [PASSED] 0x5692 (DG2)
[13:26:37] [PASSED] 0x56A5 (DG2)
[13:26:37] [PASSED] 0x56A6 (DG2)
[13:26:37] [PASSED] 0x56B0 (DG2)
[13:26:37] [PASSED] 0x56B1 (DG2)
[13:26:37] [PASSED] 0x56BA (DG2)
[13:26:37] [PASSED] 0x56BB (DG2)
[13:26:37] [PASSED] 0x56BC (DG2)
[13:26:37] [PASSED] 0x56BD (DG2)
[13:26:37] [PASSED] 0x5693 (DG2)
[13:26:37] [PASSED] 0x5694 (DG2)
[13:26:37] [PASSED] 0x5695 (DG2)
[13:26:37] [PASSED] 0x56A3 (DG2)
[13:26:37] [PASSED] 0x56A4 (DG2)
[13:26:37] [PASSED] 0x56B2 (DG2)
[13:26:37] [PASSED] 0x56B3 (DG2)
[13:26:37] [PASSED] 0x5696 (DG2)
[13:26:37] [PASSED] 0x5697 (DG2)
[13:26:37] [PASSED] 0xB69 (PVC)
[13:26:37] [PASSED] 0xB6E (PVC)
[13:26:37] [PASSED] 0xBD4 (PVC)
[13:26:37] [PASSED] 0xBD5 (PVC)
[13:26:37] [PASSED] 0xBD6 (PVC)
[13:26:37] [PASSED] 0xBD7 (PVC)
[13:26:37] [PASSED] 0xBD8 (PVC)
[13:26:37] [PASSED] 0xBD9 (PVC)
[13:26:37] [PASSED] 0xBDA (PVC)
[13:26:37] [PASSED] 0xBDB (PVC)
[13:26:37] [PASSED] 0xBE0 (PVC)
[13:26:37] [PASSED] 0xBE1 (PVC)
[13:26:37] [PASSED] 0xBE5 (PVC)
[13:26:37] [PASSED] 0x7D40 (METEORLAKE)
[13:26:37] [PASSED] 0x7D45 (METEORLAKE)
[13:26:37] [PASSED] 0x7D55 (METEORLAKE)
[13:26:37] [PASSED] 0x7D60 (METEORLAKE)
[13:26:37] [PASSED] 0x7DD5 (METEORLAKE)
[13:26:37] [PASSED] 0x6420 (LUNARLAKE)
[13:26:37] [PASSED] 0x64A0 (LUNARLAKE)
[13:26:37] [PASSED] 0x64B0 (LUNARLAKE)
[13:26:37] [PASSED] 0xE202 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE209 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE20B (BATTLEMAGE)
[13:26:37] [PASSED] 0xE20C (BATTLEMAGE)
[13:26:37] [PASSED] 0xE20D (BATTLEMAGE)
[13:26:37] [PASSED] 0xE210 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE211 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE212 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE216 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE220 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE221 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE222 (BATTLEMAGE)
[13:26:37] [PASSED] 0xE223 (BATTLEMAGE)
[13:26:37] [PASSED] 0xB080 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB081 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB082 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB083 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB084 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB085 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB086 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB087 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB08F (PANTHERLAKE)
[13:26:37] [PASSED] 0xB090 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB0A0 (PANTHERLAKE)
[13:26:37] [PASSED] 0xB0B0 (PANTHERLAKE)
[13:26:37] [PASSED] 0xFD80 (PANTHERLAKE)
[13:26:37] [PASSED] 0xFD81 (PANTHERLAKE)
[13:26:37] [PASSED] 0xD740 (NOVALAKE_S)
[13:26:37] [PASSED] 0xD741 (NOVALAKE_S)
[13:26:37] [PASSED] 0xD742 (NOVALAKE_S)
[13:26:37] [PASSED] 0xD743 (NOVALAKE_S)
[13:26:37] [PASSED] 0xD744 (NOVALAKE_S)
[13:26:37] [PASSED] 0xD745 (NOVALAKE_S)
[13:26:37] [PASSED] 0x674C (CRESCENTISLAND)
[13:26:37] [PASSED] 0xD750 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD751 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD752 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD753 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD754 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD755 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD756 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD757 (NOVALAKE_P)
[13:26:37] [PASSED] 0xD75F (NOVALAKE_P)
[13:26:37] =============== [PASSED] check_platform_desc ===============
[13:26:37] ===================== [PASSED] xe_pci ======================
[13:26:37] =================== xe_rtp (2 subtests) ====================
[13:26:37] =============== xe_rtp_process_to_sr_tests  ================
[13:26:37] [PASSED] coalesce-same-reg
[13:26:37] [PASSED] no-match-no-add
[13:26:37] [PASSED] match-or
[13:26:37] [PASSED] match-or-xfail
[13:26:37] [PASSED] no-match-no-add-multiple-rules
[13:26:37] [PASSED] two-regs-two-entries
[13:26:37] [PASSED] clr-one-set-other
[13:26:37] [PASSED] set-field
[13:26:37] [PASSED] conflict-duplicate
[13:26:37] [PASSED] conflict-not-disjoint
[13:26:37] [PASSED] conflict-reg-type
[13:26:37] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[13:26:37] ================== xe_rtp_process_tests  ===================
[13:26:37] [PASSED] active1
[13:26:37] [PASSED] active2
[13:26:37] [PASSED] active-inactive
[13:26:37] [PASSED] inactive-active
[13:26:37] [PASSED] inactive-1st_or_active-inactive
[13:26:37] [PASSED] inactive-2nd_or_active-inactive
[13:26:37] [PASSED] inactive-last_or_active-inactive
[13:26:37] [PASSED] inactive-no_or_active-inactive
[13:26:37] ============== [PASSED] xe_rtp_process_tests ===============
[13:26:37] ===================== [PASSED] xe_rtp ======================
[13:26:37] ==================== xe_wa (1 subtest) =====================
[13:26:37] ======================== xe_wa_gt  =========================
[13:26:37] [PASSED] TIGERLAKE B0
[13:26:37] [PASSED] DG1 A0
[13:26:37] [PASSED] DG1 B0
[13:26:37] [PASSED] ALDERLAKE_S A0
[13:26:37] [PASSED] ALDERLAKE_S B0
[13:26:37] [PASSED] ALDERLAKE_S C0
[13:26:37] [PASSED] ALDERLAKE_S D0
[13:26:37] [PASSED] ALDERLAKE_P A0
[13:26:37] [PASSED] ALDERLAKE_P B0
[13:26:37] [PASSED] ALDERLAKE_P C0
[13:26:37] [PASSED] ALDERLAKE_S RPLS D0
[13:26:37] [PASSED] ALDERLAKE_P RPLU E0
[13:26:37] [PASSED] DG2 G10 C0
[13:26:37] [PASSED] DG2 G11 B1
[13:26:37] [PASSED] DG2 G12 A1
[13:26:37] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[13:26:37] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[13:26:37] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[13:26:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[13:26:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[13:26:37] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[13:26:37] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[13:26:37] ==================== [PASSED] xe_wa_gt =====================
[13:26:37] ====================== [PASSED] xe_wa ======================
[13:26:37] ============================================================
[13:26:37] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[13:26:37] Elapsed time: 36.181s total, 4.288s configuring, 31.224s building, 0.613s running

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

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

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



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

* Re: [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters
  2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
  2026-05-06 13:27 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev3) Patchwork
@ 2026-05-06 15:54 ` Matthew Brost
  2026-05-07  2:39   ` Yadav, Arvind
  2026-05-08  4:41 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4) Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: Matthew Brost @ 2026-05-06 15:54 UTC (permalink / raw)
  To: Arvind Yadav
  Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, tejas.upadhyay

On Wed, May 06, 2026 at 06:50:27PM +0530, Arvind Yadav wrote:
> xe_bo_recompute_purgeable_state() walks all VMAs of a BO to determine
> whether the BO can be made purgeable. This makes VMA create/destroy and
> madvise updates O(n) in the number of mappings.
> 
> Replace the walk with BO-local counters protected by the BO dma-resv
> lock:
> 
>   - vma_count tracks the number of VMAs mapping the BO.
>   - willneed_count tracks active WILLNEED holders, including WILLNEED
>     VMAs and active dma-buf exports for non-imported BOs.
> 
> A DONTNEED BO is promoted back to WILLNEED on a 0->1 transition of
> willneed_count. A BO is demoted to DONTNEED on a 1->0 transition only
> when it still has VMAs, preserving the previous behaviour where a BO
> with no mappings keeps its current madvise state.
> 
> PURGED remains terminal, preserving the existing "once purged, always
> purged" rule.
> 
> Fixes: 4f44961eab84 ("drm/xe/vm: Prevent binding of purged buffer objects")
> 

Nit: Move the Fixes tag down by other tags. This can fixed when merging.

Also I assume you have test case showing the current issue with partial
unbinds of DONTNEED?

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

> v2:
>   - Use early return for imported BOs in all four helpers to avoid
>     nesting (Matt B).
>   - Group purgeability state into a purgeable sub-struct on struct
>     xe_bo (Matt B).
>   - Reword xe_bo_willneed_put_locked() kernel-doc to explain that a 1->0
>     transition means all remaining active VMAs are DONTNEED (Matt B).
> 
> v3:
>   - Move DONTNEED/PURGED reject from vma_lock_and_validate() into
>     xe_vma_create(), gated on attr->purgeable_state == WILLNEED.
>     Fixes vm_bind bypass and partial-unbind rejection on DONTNEED
>     BOs (Matt B).
>   - Drop .check_purged from MAP and REMAP; keep it for PREFETCH and
>     add a comment why (Matt B).
>   - Skip BO validation in vma_lock_and_validate() for non-WILLNEED
>     VMA remnants so cleanup/remap paths do not repopulate
>     DONTNEED/PURGED BOs.
> 
> Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_bo.c         |   6 +-
>  drivers/gpu/drm/xe/xe_bo.h         |  88 +++++++++++++++-
>  drivers/gpu/drm/xe/xe_bo_types.h   |  28 ++++-
>  drivers/gpu/drm/xe/xe_dma_buf.c    |  28 ++++-
>  drivers/gpu/drm/xe/xe_vm.c         |  51 +++++++--
>  drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++---------------------------
>  drivers/gpu/drm/xe/xe_vm_madvise.h |   2 -
>  7 files changed, 190 insertions(+), 175 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
> index 5ce60d161e09..eaa3a4ee9111 100644
> --- a/drivers/gpu/drm/xe/xe_bo.c
> +++ b/drivers/gpu/drm/xe/xe_bo.c
> @@ -884,10 +884,10 @@ void xe_bo_set_purgeable_state(struct xe_bo *bo,
>  		  new_state == XE_MADV_PURGEABLE_PURGED);
>  
>  	/* Once purged, always purged - cannot transition out */
> -	xe_assert(xe, !(bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED &&
> +	xe_assert(xe, !(bo->purgeable.state == XE_MADV_PURGEABLE_PURGED &&
>  			new_state != XE_MADV_PURGEABLE_PURGED));
>  
> -	bo->madv_purgeable = new_state;
> +	bo->purgeable.state = new_state;
>  	xe_bo_set_purgeable_shrinker(bo, new_state);
>  }
>  
> @@ -2355,7 +2355,7 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,
>  	INIT_LIST_HEAD(&bo->vram_userfault_link);
>  
>  	/* Initialize purge advisory state */
> -	bo->madv_purgeable = XE_MADV_PURGEABLE_WILLNEED;
> +	bo->purgeable.state = XE_MADV_PURGEABLE_WILLNEED;
>  
>  	drm_gem_private_object_init(&xe->drm, &bo->ttm.base, size);
>  
> diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
> index 68dea7d25a6b..6340317f7d2e 100644
> --- a/drivers/gpu/drm/xe/xe_bo.h
> +++ b/drivers/gpu/drm/xe/xe_bo.h
> @@ -251,7 +251,7 @@ static inline bool xe_bo_is_protected(const struct xe_bo *bo)
>  static inline bool xe_bo_is_purged(struct xe_bo *bo)
>  {
>  	xe_bo_assert_held(bo);
> -	return bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED;
> +	return bo->purgeable.state == XE_MADV_PURGEABLE_PURGED;
>  }
>  
>  /**
> @@ -268,11 +268,95 @@ static inline bool xe_bo_is_purged(struct xe_bo *bo)
>  static inline bool xe_bo_madv_is_dontneed(struct xe_bo *bo)
>  {
>  	xe_bo_assert_held(bo);
> -	return bo->madv_purgeable == XE_MADV_PURGEABLE_DONTNEED;
> +	return bo->purgeable.state == XE_MADV_PURGEABLE_DONTNEED;
>  }
>  
>  void xe_bo_set_purgeable_state(struct xe_bo *bo, enum xe_madv_purgeable_state new_state);
>  
> +/**
> + * xe_bo_willneed_get_locked() - Acquire a WILLNEED holder on a BO
> + * @bo: Buffer object
> + *
> + * Increments willneed_count and, on a 0->1 transition, promotes the BO
> + * from DONTNEED to WILLNEED. PURGED is terminal and is never modified.
> + *
> + * Caller must hold the BO's dma-resv lock.
> + */
> +static inline void xe_bo_willneed_get_locked(struct xe_bo *bo)
> +{
> +	xe_bo_assert_held(bo);
> +
> +	/* Imported BOs are owned externally; do not track purgeability. */
> +	if (drm_gem_is_imported(&bo->ttm.base))
> +		return;
> +
> +	if (bo->purgeable.willneed_count++ == 0 && xe_bo_madv_is_dontneed(bo))
> +		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_WILLNEED);
> +}
> +
> +/**
> + * xe_bo_willneed_put_locked() - Release a WILLNEED holder on a BO
> + * @bo: Buffer object
> + *
> + * Decrements willneed_count and, on a 1->0 transition, marks the BO
> + * DONTNEED only if it still has VMAs (implying all active VMAs are
> + * DONTNEED). If the last VMA is being removed, preserve the current BO
> + * state to match the previous VMA-walk semantics.
> + *
> + * PURGED is terminal and the BO state is never modified.
> + *
> + * Caller must hold the BO's dma-resv lock.
> + */
> +static inline void xe_bo_willneed_put_locked(struct xe_bo *bo)
> +{
> +	xe_bo_assert_held(bo);
> +
> +	if (drm_gem_is_imported(&bo->ttm.base))
> +		return;
> +
> +	xe_assert(xe_bo_device(bo), bo->purgeable.willneed_count > 0);
> +	if (--bo->purgeable.willneed_count == 0 && bo->purgeable.vma_count > 0 &&
> +	    !xe_bo_is_purged(bo))
> +		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_DONTNEED);
> +}
> +
> +/**
> + * xe_bo_vma_count_inc_locked() - Account a new VMA on a BO
> + * @bo: Buffer object
> + *
> + * Increments vma_count.
> + *
> + * Caller must hold the BO's dma-resv lock.
> + */
> +static inline void xe_bo_vma_count_inc_locked(struct xe_bo *bo)
> +{
> +	xe_bo_assert_held(bo);
> +
> +	if (drm_gem_is_imported(&bo->ttm.base))
> +		return;
> +
> +	bo->purgeable.vma_count++;
> +}
> +
> +/**
> + * xe_bo_vma_count_dec_locked() - Account a VMA removal on a BO
> + * @bo: Buffer object
> + *
> + * Decrements vma_count.
> + *
> + * Caller must hold the BO's dma-resv lock.
> + */
> +static inline void xe_bo_vma_count_dec_locked(struct xe_bo *bo)
> +{
> +	xe_bo_assert_held(bo);
> +
> +	if (drm_gem_is_imported(&bo->ttm.base))
> +		return;
> +
> +	xe_assert(xe_bo_device(bo), bo->purgeable.vma_count > 0);
> +	bo->purgeable.vma_count--;
> +}
> +
>  static inline void xe_bo_unpin_map_no_vm(struct xe_bo *bo)
>  {
>  	if (likely(bo)) {
> diff --git a/drivers/gpu/drm/xe/xe_bo_types.h b/drivers/gpu/drm/xe/xe_bo_types.h
> index 9c199badd9b2..fcc63ae3f455 100644
> --- a/drivers/gpu/drm/xe/xe_bo_types.h
> +++ b/drivers/gpu/drm/xe/xe_bo_types.h
> @@ -111,10 +111,32 @@ struct xe_bo {
>  	u64 min_align;
>  
>  	/**
> -	 * @madv_purgeable: user space advise on BO purgeability, protected
> -	 * by BO's dma-resv lock.
> +	 * @purgeable: Purgeability state and accounting.
> +	 *
> +	 * All fields are protected by the BO's dma-resv lock.
>  	 */
> -	u32 madv_purgeable;
> +	struct {
> +		/**
> +		 * @purgeable.state: BO purgeability state
> +		 *                   (WILLNEED/DONTNEED/PURGED).
> +		 */
> +		u32 state;
> +
> +		/**
> +		 * @purgeable.vma_count: Number of VMAs currently mapping this BO.
> +		 */
> +		u32 vma_count;
> +
> +		/**
> +		 * @purgeable.willneed_count: Number of active WILLNEED holders.
> +		 *
> +		 * Counts WILLNEED VMAs plus active dma-buf exports for
> +		 * non-imported BOs. The BO flips to DONTNEED on a 1->0
> +		 * transition only when VMAs still exist; if the last VMA is
> +		 * removed, the previous BO state is preserved.
> +		 */
> +		u32 willneed_count;
> +	} purgeable;
>  };
>  
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c
> index b9828da15897..855d32ba314d 100644
> --- a/drivers/gpu/drm/xe/xe_dma_buf.c
> +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
> @@ -193,6 +193,18 @@ static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
>  	return 0;
>  }
>  
> +static void xe_dma_buf_release(struct dma_buf *dmabuf)
> +{
> +	struct drm_gem_object *obj = dmabuf->priv;
> +	struct xe_bo *bo = gem_to_xe_bo(obj);
> +
> +	xe_bo_lock(bo, false);
> +	xe_bo_willneed_put_locked(bo);
> +	xe_bo_unlock(bo);
> +
> +	drm_gem_dmabuf_release(dmabuf);
> +}
> +
>  static const struct dma_buf_ops xe_dmabuf_ops = {
>  	.attach = xe_dma_buf_attach,
>  	.detach = xe_dma_buf_detach,
> @@ -200,7 +212,7 @@ static const struct dma_buf_ops xe_dmabuf_ops = {
>  	.unpin = xe_dma_buf_unpin,
>  	.map_dma_buf = xe_dma_buf_map,
>  	.unmap_dma_buf = xe_dma_buf_unmap,
> -	.release = drm_gem_dmabuf_release,
> +	.release = xe_dma_buf_release,
>  	.begin_cpu_access = xe_dma_buf_begin_cpu_access,
>  	.mmap = drm_gem_dmabuf_mmap,
>  	.vmap = drm_gem_dmabuf_vmap,
> @@ -241,18 +253,26 @@ struct dma_buf *xe_gem_prime_export(struct drm_gem_object *obj, int flags)
>  		ret = -EINVAL;
>  		goto out_unlock;
>  	}
> +
> +	xe_bo_willneed_get_locked(bo);
>  	xe_bo_unlock(bo);
>  
>  	ret = ttm_bo_setup_export(&bo->ttm, &ctx);
>  	if (ret)
> -		return ERR_PTR(ret);
> +		goto out_put;
>  
>  	buf = drm_gem_prime_export(obj, flags);
> -	if (!IS_ERR(buf))
> -		buf->ops = &xe_dmabuf_ops;
> +	if (IS_ERR(buf)) {
> +		ret = PTR_ERR(buf);
> +		goto out_put;
> +	}
>  
> +	buf->ops = &xe_dmabuf_ops;
>  	return buf;
>  
> +out_put:
> +	xe_bo_lock(bo, false);
> +	xe_bo_willneed_put_locked(bo);
>  out_unlock:
>  	xe_bo_unlock(bo);
>  	return ERR_PTR(ret);
> diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
> index 43a578d9c067..b01f31ed4417 100644
> --- a/drivers/gpu/drm/xe/xe_vm.c
> +++ b/drivers/gpu/drm/xe/xe_vm.c
> @@ -1120,6 +1120,25 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
>  
>  		xe_bo_assert_held(bo);
>  
> +		/*
> +		 * Reject only WILLNEED mappings on DONTNEED/PURGED BOs. This
> +		 * gates new vm_bind ioctls (user supplies WILLNEED) while
> +		 * still allowing partial-unbind / remap splits whose new VMAs
> +		 * inherit the parent's DONTNEED attr. It must also run before
> +		 * xe_bo_willneed_get_locked() below so a 0->1 holder bump
> +		 * cannot silently promote DONTNEED back to WILLNEED.
> +		 */
> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
> +			if (xe_bo_madv_is_dontneed(bo)) {
> +				xe_vma_free(vma);
> +				return ERR_PTR(-EBUSY);
> +			}
> +			if (xe_bo_is_purged(bo)) {
> +				xe_vma_free(vma);
> +				return ERR_PTR(-EINVAL);
> +			}
> +		}
> +
>  		vm_bo = drm_gpuvm_bo_obtain_locked(vma->gpuva.vm, &bo->ttm.base);
>  		if (IS_ERR(vm_bo)) {
>  			xe_vma_free(vma);
> @@ -1131,6 +1150,10 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
>  		vma->gpuva.gem.offset = bo_offset_or_userptr;
>  		drm_gpuva_link(&vma->gpuva, vm_bo);
>  		drm_gpuvm_bo_put(vm_bo);
> +
> +		xe_bo_vma_count_inc_locked(bo);
> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
> +			xe_bo_willneed_get_locked(bo);
>  	} else /* userptr or null */ {
>  		if (!is_null && !is_cpu_addr_mirror) {
>  			struct xe_userptr_vma *uvma = to_userptr_vma(vma);
> @@ -1208,7 +1231,10 @@ static void xe_vma_destroy(struct xe_vma *vma, struct dma_fence *fence)
>  		xe_bo_assert_held(bo);
>  
>  		drm_gpuva_unlink(&vma->gpuva);
> -		xe_bo_recompute_purgeable_state(bo);
> +
> +		xe_bo_vma_count_dec_locked(bo);
> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
> +			xe_bo_willneed_put_locked(bo);
>  	}
>  
>  	xe_vm_assert_held(vm);
> @@ -3016,7 +3042,7 @@ static void vm_bind_ioctl_ops_unwind(struct xe_vm *vm,
>   * @res_evict: Allow evicting resources during validation
>   * @validate: Perform BO validation
>   * @request_decompress: Request BO decompression
> - * @check_purged: Reject operation if BO is purged
> + * @check_purged: Reject operation if BO is DONTNEED or PURGED
>   */
>  struct xe_vma_lock_and_validate_flags {
>  	u32 res_evict : 1;
> @@ -3030,6 +3056,7 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
>  {
>  	struct xe_bo *bo = xe_vma_bo(vma);
>  	struct xe_vm *vm = xe_vma_vm(vma);
> +	bool validate_bo = flags.validate;
>  	int err = 0;
>  
>  	if (bo) {
> @@ -3044,7 +3071,11 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
>  				err = -EINVAL; /* BO already purged */
>  		}
>  
> -		if (!err && flags.validate)
> +		/* Don't validate the BO for DONTNEED/PURGED remap remnants. */
> +		if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_WILLNEED)
> +			validate_bo = false;
> +
> +		if (!err && validate_bo)
>  			err = xe_bo_validate(bo, vm,
>  					     xe_vm_allow_vm_eviction(vm) &&
>  					     flags.res_evict, exec);
> @@ -3152,7 +3183,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>  								    op->map.immediate,
>  							.request_decompress =
>  							op->map.request_decompress,
> -							.check_purged = true,
> +							.check_purged = false,
>  						    });
>  		break;
>  	case DRM_GPUVA_OP_REMAP:
> @@ -3174,7 +3205,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>  							    .res_evict = res_evict,
>  							    .validate = true,
>  							    .request_decompress = false,
> -							    .check_purged = true,
> +							    .check_purged = false,
>  						    });
>  		if (!err && op->remap.next)
>  			err = vma_lock_and_validate(exec, op->remap.next,
> @@ -3182,7 +3213,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>  							    .res_evict = res_evict,
>  							    .validate = true,
>  							    .request_decompress = false,
> -							    .check_purged = true,
> +							    .check_purged = false,
>  						    });
>  		break;
>  	case DRM_GPUVA_OP_UNMAP:
> @@ -3211,9 +3242,11 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>  		}
>  
>  		/*
> -		 * Prefetch attempts to migrate BO's backing store without
> -		 * repopulating it first. Purged BOs have no backing store
> -		 * to migrate, so reject the operation.
> +		 * PREFETCH is the only op that still gates on BO purge state.
> +		 * MAP/REMAP handle this inside xe_vma_create() so partial
> +		 * unbind on a DONTNEED BO still works. PREFETCH skips
> +		 * xe_vma_create() and would migrate a BO with no backing
> +		 * store, so reject DONTNEED/PURGED here.
>  		 */
>  		err = vma_lock_and_validate(exec,
>  					    gpuva_to_vma(op->base.prefetch.va),
> diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.c b/drivers/gpu/drm/xe/xe_vm_madvise.c
> index c78906dea82b..c4fb29004195 100644
> --- a/drivers/gpu/drm/xe/xe_vm_madvise.c
> +++ b/drivers/gpu/drm/xe/xe_vm_madvise.c
> @@ -185,147 +185,6 @@ static void madvise_pat_index(struct xe_device *xe, struct xe_vm *vm,
>  	}
>  }
>  
> -/**
> - * xe_bo_is_dmabuf_shared() - Check if BO is shared via dma-buf
> - * @bo: Buffer object
> - *
> - * Prevent marking imported or exported dma-bufs as purgeable.
> - * For imported BOs, Xe doesn't own the backing store and cannot
> - * safely reclaim pages (exporter or other devices may still be
> - * using them). For exported BOs, external devices may have active
> - * mappings we cannot track.
> - *
> - * Return: true if BO is imported or exported, false otherwise
> - */
> -static bool xe_bo_is_dmabuf_shared(struct xe_bo *bo)
> -{
> -	struct drm_gem_object *obj = &bo->ttm.base;
> -
> -	/* Imported: exporter owns backing store */
> -	if (drm_gem_is_imported(obj))
> -		return true;
> -
> -	/* Exported: external devices may be accessing */
> -	if (obj->dma_buf)
> -		return true;
> -
> -	return false;
> -}
> -
> -/**
> - * enum xe_bo_vmas_purge_state - VMA purgeable state aggregation
> - *
> - * Distinguishes whether a BO's VMAs are all DONTNEED, have at least
> - * one WILLNEED, or have no VMAs at all.
> - *
> - * Enum values align with XE_MADV_PURGEABLE_* states for consistency.
> - */
> -enum xe_bo_vmas_purge_state {
> -	/** @XE_BO_VMAS_STATE_WILLNEED: At least one VMA is WILLNEED */
> -	XE_BO_VMAS_STATE_WILLNEED = 0,
> -	/** @XE_BO_VMAS_STATE_DONTNEED: All VMAs are DONTNEED */
> -	XE_BO_VMAS_STATE_DONTNEED = 1,
> -	/** @XE_BO_VMAS_STATE_NO_VMAS: BO has no VMAs */
> -	XE_BO_VMAS_STATE_NO_VMAS = 2,
> -};
> -
> -/*
> - * xe_bo_recompute_purgeable_state() casts between xe_bo_vmas_purge_state and
> - * xe_madv_purgeable_state. Enforce that WILLNEED=0 and DONTNEED=1 match across
> - * both enums so the single-line cast is always valid.
> - */
> -static_assert(XE_BO_VMAS_STATE_WILLNEED == (int)XE_MADV_PURGEABLE_WILLNEED,
> -	      "VMA purge state WILLNEED must equal madv purgeable WILLNEED");
> -static_assert(XE_BO_VMAS_STATE_DONTNEED == (int)XE_MADV_PURGEABLE_DONTNEED,
> -	      "VMA purge state DONTNEED must equal madv purgeable DONTNEED");
> -
> -/**
> - * xe_bo_all_vmas_dontneed() - Determine BO VMA purgeable state
> - * @bo: Buffer object
> - *
> - * Check all VMAs across all VMs to determine aggregate purgeable state.
> - * Shared BOs require unanimous DONTNEED state from all mappings.
> - *
> - * Caller must hold BO dma-resv lock.
> - *
> - * Return: XE_BO_VMAS_STATE_DONTNEED if all VMAs are DONTNEED,
> - *         XE_BO_VMAS_STATE_WILLNEED if at least one VMA is not DONTNEED,
> - *         XE_BO_VMAS_STATE_NO_VMAS if BO has no VMAs
> - */
> -static enum xe_bo_vmas_purge_state xe_bo_all_vmas_dontneed(struct xe_bo *bo)
> -{
> -	struct drm_gpuvm_bo *vm_bo;
> -	struct drm_gpuva *gpuva;
> -	struct drm_gem_object *obj = &bo->ttm.base;
> -	bool has_vmas = false;
> -
> -	xe_bo_assert_held(bo);
> -
> -	/* Shared dma-bufs cannot be purgeable */
> -	if (xe_bo_is_dmabuf_shared(bo))
> -		return XE_BO_VMAS_STATE_WILLNEED;
> -
> -	drm_gem_for_each_gpuvm_bo(vm_bo, obj) {
> -		drm_gpuvm_bo_for_each_va(gpuva, vm_bo) {
> -			struct xe_vma *vma = gpuva_to_vma(gpuva);
> -
> -			has_vmas = true;
> -
> -			/* Any non-DONTNEED VMA prevents purging */
> -			if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_DONTNEED)
> -				return XE_BO_VMAS_STATE_WILLNEED;
> -		}
> -	}
> -
> -	/*
> -	 * No VMAs => preserve existing BO purgeable state.
> -	 * Avoids incorrectly flipping DONTNEED -> WILLNEED when last VMA unmapped.
> -	 */
> -	if (!has_vmas)
> -		return XE_BO_VMAS_STATE_NO_VMAS;
> -
> -	return XE_BO_VMAS_STATE_DONTNEED;
> -}
> -
> -/**
> - * xe_bo_recompute_purgeable_state() - Recompute BO purgeable state from VMAs
> - * @bo: Buffer object
> - *
> - * Walk all VMAs to determine if BO should be purgeable or not.
> - * Shared BOs require unanimous DONTNEED state from all mappings.
> - * If the BO has no VMAs the existing state is preserved.
> - *
> - * Locking: Caller must hold BO dma-resv lock. When iterating GPUVM lists,
> - * VM lock must also be held (write) to prevent concurrent VMA modifications.
> - * This is satisfied at both call sites:
> - * - xe_vma_destroy(): holds vm->lock write
> - * - madvise_purgeable(): holds vm->lock write (from madvise ioctl path)
> - *
> - * Return: nothing
> - */
> -void xe_bo_recompute_purgeable_state(struct xe_bo *bo)
> -{
> -	enum xe_bo_vmas_purge_state vma_state;
> -
> -	if (!bo)
> -		return;
> -
> -	xe_bo_assert_held(bo);
> -
> -	/*
> -	 * Once purged, always purged. Cannot transition back to WILLNEED.
> -	 * This matches i915 semantics where purged BOs are permanently invalid.
> -	 */
> -	if (bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED)
> -		return;
> -
> -	vma_state = xe_bo_all_vmas_dontneed(bo);
> -
> -	if (vma_state != (enum xe_bo_vmas_purge_state)bo->madv_purgeable &&
> -	    vma_state != XE_BO_VMAS_STATE_NO_VMAS)
> -		xe_bo_set_purgeable_state(bo, (enum xe_madv_purgeable_state)vma_state);
> -}
> -
>  /**
>   * madvise_purgeable - Handle purgeable buffer object advice
>   * @xe: XE device
> @@ -359,12 +218,6 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>  		/* BO must be locked before modifying madv state */
>  		xe_bo_assert_held(bo);
>  
> -		/* Skip shared dma-bufs - no PTEs to zap */
> -		if (xe_bo_is_dmabuf_shared(bo)) {
> -			vmas[i]->skip_invalidation = true;
> -			continue;
> -		}
> -
>  		/*
>  		 * Once purged, always purged. Cannot transition back to WILLNEED.
>  		 * This matches i915 semantics where purged BOs are permanently invalid.
> @@ -377,13 +230,14 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>  
>  		switch (op->purge_state_val.val) {
>  		case DRM_XE_VMA_PURGEABLE_STATE_WILLNEED:
> -			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
>  			vmas[i]->skip_invalidation = true;
> -
> -			xe_bo_recompute_purgeable_state(bo);
> +			/* Only act on a real DONTNEED -> WILLNEED transition. */
> +			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_DONTNEED) {
> +				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
> +				xe_bo_willneed_get_locked(bo);
> +			}
>  			break;
>  		case DRM_XE_VMA_PURGEABLE_STATE_DONTNEED:
> -			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
>  			/*
>  			 * Don't zap PTEs at DONTNEED time -- pages are still
>  			 * alive. The zap happens in xe_bo_move_notify() right
> @@ -391,7 +245,11 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>  			 */
>  			vmas[i]->skip_invalidation = true;
>  
> -			xe_bo_recompute_purgeable_state(bo);
> +			/* Only act on a real WILLNEED -> DONTNEED transition. */
> +			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
> +				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
> +				xe_bo_willneed_put_locked(bo);
> +			}
>  			break;
>  		default:
>  			/* Should never hit - values validated in madvise_args_are_sane() */
> diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.h b/drivers/gpu/drm/xe/xe_vm_madvise.h
> index 39acd2689ca0..a3078f634c7e 100644
> --- a/drivers/gpu/drm/xe/xe_vm_madvise.h
> +++ b/drivers/gpu/drm/xe/xe_vm_madvise.h
> @@ -13,6 +13,4 @@ struct xe_bo;
>  int xe_vm_madvise_ioctl(struct drm_device *dev, void *data,
>  			struct drm_file *file);
>  
> -void xe_bo_recompute_purgeable_state(struct xe_bo *bo);
> -
>  #endif
> -- 
> 2.43.0
> 

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

* Re: [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters
  2026-05-06 15:54 ` [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost
@ 2026-05-07  2:39   ` Yadav, Arvind
  0 siblings, 0 replies; 7+ messages in thread
From: Yadav, Arvind @ 2026-05-07  2:39 UTC (permalink / raw)
  To: Matthew Brost
  Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, tejas.upadhyay


On 06-05-2026 21:24, Matthew Brost wrote:
> On Wed, May 06, 2026 at 06:50:27PM +0530, Arvind Yadav wrote:
>> xe_bo_recompute_purgeable_state() walks all VMAs of a BO to determine
>> whether the BO can be made purgeable. This makes VMA create/destroy and
>> madvise updates O(n) in the number of mappings.
>>
>> Replace the walk with BO-local counters protected by the BO dma-resv
>> lock:
>>
>>    - vma_count tracks the number of VMAs mapping the BO.
>>    - willneed_count tracks active WILLNEED holders, including WILLNEED
>>      VMAs and active dma-buf exports for non-imported BOs.
>>
>> A DONTNEED BO is promoted back to WILLNEED on a 0->1 transition of
>> willneed_count. A BO is demoted to DONTNEED on a 1->0 transition only
>> when it still has VMAs, preserving the previous behaviour where a BO
>> with no mappings keeps its current madvise state.
>>
>> PURGED remains terminal, preserving the existing "once purged, always
>> purged" rule.
>>
>> Fixes: 4f44961eab84 ("drm/xe/vm: Prevent binding of purged buffer objects")
>>
> Nit: Move the Fixes tag down by other tags. This can fixed when merging.
>
> Also I assume you have test case showing the current issue with partial
> unbinds of DONTNEED?


Yes, I am adding an IGT test to cover this scenario.

~Arvind

>
> Anyways patch LGTM:
> Reviewed-by: Matthew Brost <matthew.brost@intel.com>
>
>> v2:
>>    - Use early return for imported BOs in all four helpers to avoid
>>      nesting (Matt B).
>>    - Group purgeability state into a purgeable sub-struct on struct
>>      xe_bo (Matt B).
>>    - Reword xe_bo_willneed_put_locked() kernel-doc to explain that a 1->0
>>      transition means all remaining active VMAs are DONTNEED (Matt B).
>>
>> v3:
>>    - Move DONTNEED/PURGED reject from vma_lock_and_validate() into
>>      xe_vma_create(), gated on attr->purgeable_state == WILLNEED.
>>      Fixes vm_bind bypass and partial-unbind rejection on DONTNEED
>>      BOs (Matt B).
>>    - Drop .check_purged from MAP and REMAP; keep it for PREFETCH and
>>      add a comment why (Matt B).
>>    - Skip BO validation in vma_lock_and_validate() for non-WILLNEED
>>      VMA remnants so cleanup/remap paths do not repopulate
>>      DONTNEED/PURGED BOs.
>>
>> Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>> Cc: Matthew Brost <matthew.brost@intel.com>
>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
>> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
>> ---
>>   drivers/gpu/drm/xe/xe_bo.c         |   6 +-
>>   drivers/gpu/drm/xe/xe_bo.h         |  88 +++++++++++++++-
>>   drivers/gpu/drm/xe/xe_bo_types.h   |  28 ++++-
>>   drivers/gpu/drm/xe/xe_dma_buf.c    |  28 ++++-
>>   drivers/gpu/drm/xe/xe_vm.c         |  51 +++++++--
>>   drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++---------------------------
>>   drivers/gpu/drm/xe/xe_vm_madvise.h |   2 -
>>   7 files changed, 190 insertions(+), 175 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
>> index 5ce60d161e09..eaa3a4ee9111 100644
>> --- a/drivers/gpu/drm/xe/xe_bo.c
>> +++ b/drivers/gpu/drm/xe/xe_bo.c
>> @@ -884,10 +884,10 @@ void xe_bo_set_purgeable_state(struct xe_bo *bo,
>>   		  new_state == XE_MADV_PURGEABLE_PURGED);
>>   
>>   	/* Once purged, always purged - cannot transition out */
>> -	xe_assert(xe, !(bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED &&
>> +	xe_assert(xe, !(bo->purgeable.state == XE_MADV_PURGEABLE_PURGED &&
>>   			new_state != XE_MADV_PURGEABLE_PURGED));
>>   
>> -	bo->madv_purgeable = new_state;
>> +	bo->purgeable.state = new_state;
>>   	xe_bo_set_purgeable_shrinker(bo, new_state);
>>   }
>>   
>> @@ -2355,7 +2355,7 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,
>>   	INIT_LIST_HEAD(&bo->vram_userfault_link);
>>   
>>   	/* Initialize purge advisory state */
>> -	bo->madv_purgeable = XE_MADV_PURGEABLE_WILLNEED;
>> +	bo->purgeable.state = XE_MADV_PURGEABLE_WILLNEED;
>>   
>>   	drm_gem_private_object_init(&xe->drm, &bo->ttm.base, size);
>>   
>> diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
>> index 68dea7d25a6b..6340317f7d2e 100644
>> --- a/drivers/gpu/drm/xe/xe_bo.h
>> +++ b/drivers/gpu/drm/xe/xe_bo.h
>> @@ -251,7 +251,7 @@ static inline bool xe_bo_is_protected(const struct xe_bo *bo)
>>   static inline bool xe_bo_is_purged(struct xe_bo *bo)
>>   {
>>   	xe_bo_assert_held(bo);
>> -	return bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED;
>> +	return bo->purgeable.state == XE_MADV_PURGEABLE_PURGED;
>>   }
>>   
>>   /**
>> @@ -268,11 +268,95 @@ static inline bool xe_bo_is_purged(struct xe_bo *bo)
>>   static inline bool xe_bo_madv_is_dontneed(struct xe_bo *bo)
>>   {
>>   	xe_bo_assert_held(bo);
>> -	return bo->madv_purgeable == XE_MADV_PURGEABLE_DONTNEED;
>> +	return bo->purgeable.state == XE_MADV_PURGEABLE_DONTNEED;
>>   }
>>   
>>   void xe_bo_set_purgeable_state(struct xe_bo *bo, enum xe_madv_purgeable_state new_state);
>>   
>> +/**
>> + * xe_bo_willneed_get_locked() - Acquire a WILLNEED holder on a BO
>> + * @bo: Buffer object
>> + *
>> + * Increments willneed_count and, on a 0->1 transition, promotes the BO
>> + * from DONTNEED to WILLNEED. PURGED is terminal and is never modified.
>> + *
>> + * Caller must hold the BO's dma-resv lock.
>> + */
>> +static inline void xe_bo_willneed_get_locked(struct xe_bo *bo)
>> +{
>> +	xe_bo_assert_held(bo);
>> +
>> +	/* Imported BOs are owned externally; do not track purgeability. */
>> +	if (drm_gem_is_imported(&bo->ttm.base))
>> +		return;
>> +
>> +	if (bo->purgeable.willneed_count++ == 0 && xe_bo_madv_is_dontneed(bo))
>> +		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_WILLNEED);
>> +}
>> +
>> +/**
>> + * xe_bo_willneed_put_locked() - Release a WILLNEED holder on a BO
>> + * @bo: Buffer object
>> + *
>> + * Decrements willneed_count and, on a 1->0 transition, marks the BO
>> + * DONTNEED only if it still has VMAs (implying all active VMAs are
>> + * DONTNEED). If the last VMA is being removed, preserve the current BO
>> + * state to match the previous VMA-walk semantics.
>> + *
>> + * PURGED is terminal and the BO state is never modified.
>> + *
>> + * Caller must hold the BO's dma-resv lock.
>> + */
>> +static inline void xe_bo_willneed_put_locked(struct xe_bo *bo)
>> +{
>> +	xe_bo_assert_held(bo);
>> +
>> +	if (drm_gem_is_imported(&bo->ttm.base))
>> +		return;
>> +
>> +	xe_assert(xe_bo_device(bo), bo->purgeable.willneed_count > 0);
>> +	if (--bo->purgeable.willneed_count == 0 && bo->purgeable.vma_count > 0 &&
>> +	    !xe_bo_is_purged(bo))
>> +		xe_bo_set_purgeable_state(bo, XE_MADV_PURGEABLE_DONTNEED);
>> +}
>> +
>> +/**
>> + * xe_bo_vma_count_inc_locked() - Account a new VMA on a BO
>> + * @bo: Buffer object
>> + *
>> + * Increments vma_count.
>> + *
>> + * Caller must hold the BO's dma-resv lock.
>> + */
>> +static inline void xe_bo_vma_count_inc_locked(struct xe_bo *bo)
>> +{
>> +	xe_bo_assert_held(bo);
>> +
>> +	if (drm_gem_is_imported(&bo->ttm.base))
>> +		return;
>> +
>> +	bo->purgeable.vma_count++;
>> +}
>> +
>> +/**
>> + * xe_bo_vma_count_dec_locked() - Account a VMA removal on a BO
>> + * @bo: Buffer object
>> + *
>> + * Decrements vma_count.
>> + *
>> + * Caller must hold the BO's dma-resv lock.
>> + */
>> +static inline void xe_bo_vma_count_dec_locked(struct xe_bo *bo)
>> +{
>> +	xe_bo_assert_held(bo);
>> +
>> +	if (drm_gem_is_imported(&bo->ttm.base))
>> +		return;
>> +
>> +	xe_assert(xe_bo_device(bo), bo->purgeable.vma_count > 0);
>> +	bo->purgeable.vma_count--;
>> +}
>> +
>>   static inline void xe_bo_unpin_map_no_vm(struct xe_bo *bo)
>>   {
>>   	if (likely(bo)) {
>> diff --git a/drivers/gpu/drm/xe/xe_bo_types.h b/drivers/gpu/drm/xe/xe_bo_types.h
>> index 9c199badd9b2..fcc63ae3f455 100644
>> --- a/drivers/gpu/drm/xe/xe_bo_types.h
>> +++ b/drivers/gpu/drm/xe/xe_bo_types.h
>> @@ -111,10 +111,32 @@ struct xe_bo {
>>   	u64 min_align;
>>   
>>   	/**
>> -	 * @madv_purgeable: user space advise on BO purgeability, protected
>> -	 * by BO's dma-resv lock.
>> +	 * @purgeable: Purgeability state and accounting.
>> +	 *
>> +	 * All fields are protected by the BO's dma-resv lock.
>>   	 */
>> -	u32 madv_purgeable;
>> +	struct {
>> +		/**
>> +		 * @purgeable.state: BO purgeability state
>> +		 *                   (WILLNEED/DONTNEED/PURGED).
>> +		 */
>> +		u32 state;
>> +
>> +		/**
>> +		 * @purgeable.vma_count: Number of VMAs currently mapping this BO.
>> +		 */
>> +		u32 vma_count;
>> +
>> +		/**
>> +		 * @purgeable.willneed_count: Number of active WILLNEED holders.
>> +		 *
>> +		 * Counts WILLNEED VMAs plus active dma-buf exports for
>> +		 * non-imported BOs. The BO flips to DONTNEED on a 1->0
>> +		 * transition only when VMAs still exist; if the last VMA is
>> +		 * removed, the previous BO state is preserved.
>> +		 */
>> +		u32 willneed_count;
>> +	} purgeable;
>>   };
>>   
>>   #endif
>> diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c
>> index b9828da15897..855d32ba314d 100644
>> --- a/drivers/gpu/drm/xe/xe_dma_buf.c
>> +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
>> @@ -193,6 +193,18 @@ static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
>>   	return 0;
>>   }
>>   
>> +static void xe_dma_buf_release(struct dma_buf *dmabuf)
>> +{
>> +	struct drm_gem_object *obj = dmabuf->priv;
>> +	struct xe_bo *bo = gem_to_xe_bo(obj);
>> +
>> +	xe_bo_lock(bo, false);
>> +	xe_bo_willneed_put_locked(bo);
>> +	xe_bo_unlock(bo);
>> +
>> +	drm_gem_dmabuf_release(dmabuf);
>> +}
>> +
>>   static const struct dma_buf_ops xe_dmabuf_ops = {
>>   	.attach = xe_dma_buf_attach,
>>   	.detach = xe_dma_buf_detach,
>> @@ -200,7 +212,7 @@ static const struct dma_buf_ops xe_dmabuf_ops = {
>>   	.unpin = xe_dma_buf_unpin,
>>   	.map_dma_buf = xe_dma_buf_map,
>>   	.unmap_dma_buf = xe_dma_buf_unmap,
>> -	.release = drm_gem_dmabuf_release,
>> +	.release = xe_dma_buf_release,
>>   	.begin_cpu_access = xe_dma_buf_begin_cpu_access,
>>   	.mmap = drm_gem_dmabuf_mmap,
>>   	.vmap = drm_gem_dmabuf_vmap,
>> @@ -241,18 +253,26 @@ struct dma_buf *xe_gem_prime_export(struct drm_gem_object *obj, int flags)
>>   		ret = -EINVAL;
>>   		goto out_unlock;
>>   	}
>> +
>> +	xe_bo_willneed_get_locked(bo);
>>   	xe_bo_unlock(bo);
>>   
>>   	ret = ttm_bo_setup_export(&bo->ttm, &ctx);
>>   	if (ret)
>> -		return ERR_PTR(ret);
>> +		goto out_put;
>>   
>>   	buf = drm_gem_prime_export(obj, flags);
>> -	if (!IS_ERR(buf))
>> -		buf->ops = &xe_dmabuf_ops;
>> +	if (IS_ERR(buf)) {
>> +		ret = PTR_ERR(buf);
>> +		goto out_put;
>> +	}
>>   
>> +	buf->ops = &xe_dmabuf_ops;
>>   	return buf;
>>   
>> +out_put:
>> +	xe_bo_lock(bo, false);
>> +	xe_bo_willneed_put_locked(bo);
>>   out_unlock:
>>   	xe_bo_unlock(bo);
>>   	return ERR_PTR(ret);
>> diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
>> index 43a578d9c067..b01f31ed4417 100644
>> --- a/drivers/gpu/drm/xe/xe_vm.c
>> +++ b/drivers/gpu/drm/xe/xe_vm.c
>> @@ -1120,6 +1120,25 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
>>   
>>   		xe_bo_assert_held(bo);
>>   
>> +		/*
>> +		 * Reject only WILLNEED mappings on DONTNEED/PURGED BOs. This
>> +		 * gates new vm_bind ioctls (user supplies WILLNEED) while
>> +		 * still allowing partial-unbind / remap splits whose new VMAs
>> +		 * inherit the parent's DONTNEED attr. It must also run before
>> +		 * xe_bo_willneed_get_locked() below so a 0->1 holder bump
>> +		 * cannot silently promote DONTNEED back to WILLNEED.
>> +		 */
>> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
>> +			if (xe_bo_madv_is_dontneed(bo)) {
>> +				xe_vma_free(vma);
>> +				return ERR_PTR(-EBUSY);
>> +			}
>> +			if (xe_bo_is_purged(bo)) {
>> +				xe_vma_free(vma);
>> +				return ERR_PTR(-EINVAL);
>> +			}
>> +		}
>> +
>>   		vm_bo = drm_gpuvm_bo_obtain_locked(vma->gpuva.vm, &bo->ttm.base);
>>   		if (IS_ERR(vm_bo)) {
>>   			xe_vma_free(vma);
>> @@ -1131,6 +1150,10 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm,
>>   		vma->gpuva.gem.offset = bo_offset_or_userptr;
>>   		drm_gpuva_link(&vma->gpuva, vm_bo);
>>   		drm_gpuvm_bo_put(vm_bo);
>> +
>> +		xe_bo_vma_count_inc_locked(bo);
>> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
>> +			xe_bo_willneed_get_locked(bo);
>>   	} else /* userptr or null */ {
>>   		if (!is_null && !is_cpu_addr_mirror) {
>>   			struct xe_userptr_vma *uvma = to_userptr_vma(vma);
>> @@ -1208,7 +1231,10 @@ static void xe_vma_destroy(struct xe_vma *vma, struct dma_fence *fence)
>>   		xe_bo_assert_held(bo);
>>   
>>   		drm_gpuva_unlink(&vma->gpuva);
>> -		xe_bo_recompute_purgeable_state(bo);
>> +
>> +		xe_bo_vma_count_dec_locked(bo);
>> +		if (vma->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED)
>> +			xe_bo_willneed_put_locked(bo);
>>   	}
>>   
>>   	xe_vm_assert_held(vm);
>> @@ -3016,7 +3042,7 @@ static void vm_bind_ioctl_ops_unwind(struct xe_vm *vm,
>>    * @res_evict: Allow evicting resources during validation
>>    * @validate: Perform BO validation
>>    * @request_decompress: Request BO decompression
>> - * @check_purged: Reject operation if BO is purged
>> + * @check_purged: Reject operation if BO is DONTNEED or PURGED
>>    */
>>   struct xe_vma_lock_and_validate_flags {
>>   	u32 res_evict : 1;
>> @@ -3030,6 +3056,7 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
>>   {
>>   	struct xe_bo *bo = xe_vma_bo(vma);
>>   	struct xe_vm *vm = xe_vma_vm(vma);
>> +	bool validate_bo = flags.validate;
>>   	int err = 0;
>>   
>>   	if (bo) {
>> @@ -3044,7 +3071,11 @@ static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
>>   				err = -EINVAL; /* BO already purged */
>>   		}
>>   
>> -		if (!err && flags.validate)
>> +		/* Don't validate the BO for DONTNEED/PURGED remap remnants. */
>> +		if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_WILLNEED)
>> +			validate_bo = false;
>> +
>> +		if (!err && validate_bo)
>>   			err = xe_bo_validate(bo, vm,
>>   					     xe_vm_allow_vm_eviction(vm) &&
>>   					     flags.res_evict, exec);
>> @@ -3152,7 +3183,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>>   								    op->map.immediate,
>>   							.request_decompress =
>>   							op->map.request_decompress,
>> -							.check_purged = true,
>> +							.check_purged = false,
>>   						    });
>>   		break;
>>   	case DRM_GPUVA_OP_REMAP:
>> @@ -3174,7 +3205,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>>   							    .res_evict = res_evict,
>>   							    .validate = true,
>>   							    .request_decompress = false,
>> -							    .check_purged = true,
>> +							    .check_purged = false,
>>   						    });
>>   		if (!err && op->remap.next)
>>   			err = vma_lock_and_validate(exec, op->remap.next,
>> @@ -3182,7 +3213,7 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>>   							    .res_evict = res_evict,
>>   							    .validate = true,
>>   							    .request_decompress = false,
>> -							    .check_purged = true,
>> +							    .check_purged = false,
>>   						    });
>>   		break;
>>   	case DRM_GPUVA_OP_UNMAP:
>> @@ -3211,9 +3242,11 @@ static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
>>   		}
>>   
>>   		/*
>> -		 * Prefetch attempts to migrate BO's backing store without
>> -		 * repopulating it first. Purged BOs have no backing store
>> -		 * to migrate, so reject the operation.
>> +		 * PREFETCH is the only op that still gates on BO purge state.
>> +		 * MAP/REMAP handle this inside xe_vma_create() so partial
>> +		 * unbind on a DONTNEED BO still works. PREFETCH skips
>> +		 * xe_vma_create() and would migrate a BO with no backing
>> +		 * store, so reject DONTNEED/PURGED here.
>>   		 */
>>   		err = vma_lock_and_validate(exec,
>>   					    gpuva_to_vma(op->base.prefetch.va),
>> diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.c b/drivers/gpu/drm/xe/xe_vm_madvise.c
>> index c78906dea82b..c4fb29004195 100644
>> --- a/drivers/gpu/drm/xe/xe_vm_madvise.c
>> +++ b/drivers/gpu/drm/xe/xe_vm_madvise.c
>> @@ -185,147 +185,6 @@ static void madvise_pat_index(struct xe_device *xe, struct xe_vm *vm,
>>   	}
>>   }
>>   
>> -/**
>> - * xe_bo_is_dmabuf_shared() - Check if BO is shared via dma-buf
>> - * @bo: Buffer object
>> - *
>> - * Prevent marking imported or exported dma-bufs as purgeable.
>> - * For imported BOs, Xe doesn't own the backing store and cannot
>> - * safely reclaim pages (exporter or other devices may still be
>> - * using them). For exported BOs, external devices may have active
>> - * mappings we cannot track.
>> - *
>> - * Return: true if BO is imported or exported, false otherwise
>> - */
>> -static bool xe_bo_is_dmabuf_shared(struct xe_bo *bo)
>> -{
>> -	struct drm_gem_object *obj = &bo->ttm.base;
>> -
>> -	/* Imported: exporter owns backing store */
>> -	if (drm_gem_is_imported(obj))
>> -		return true;
>> -
>> -	/* Exported: external devices may be accessing */
>> -	if (obj->dma_buf)
>> -		return true;
>> -
>> -	return false;
>> -}
>> -
>> -/**
>> - * enum xe_bo_vmas_purge_state - VMA purgeable state aggregation
>> - *
>> - * Distinguishes whether a BO's VMAs are all DONTNEED, have at least
>> - * one WILLNEED, or have no VMAs at all.
>> - *
>> - * Enum values align with XE_MADV_PURGEABLE_* states for consistency.
>> - */
>> -enum xe_bo_vmas_purge_state {
>> -	/** @XE_BO_VMAS_STATE_WILLNEED: At least one VMA is WILLNEED */
>> -	XE_BO_VMAS_STATE_WILLNEED = 0,
>> -	/** @XE_BO_VMAS_STATE_DONTNEED: All VMAs are DONTNEED */
>> -	XE_BO_VMAS_STATE_DONTNEED = 1,
>> -	/** @XE_BO_VMAS_STATE_NO_VMAS: BO has no VMAs */
>> -	XE_BO_VMAS_STATE_NO_VMAS = 2,
>> -};
>> -
>> -/*
>> - * xe_bo_recompute_purgeable_state() casts between xe_bo_vmas_purge_state and
>> - * xe_madv_purgeable_state. Enforce that WILLNEED=0 and DONTNEED=1 match across
>> - * both enums so the single-line cast is always valid.
>> - */
>> -static_assert(XE_BO_VMAS_STATE_WILLNEED == (int)XE_MADV_PURGEABLE_WILLNEED,
>> -	      "VMA purge state WILLNEED must equal madv purgeable WILLNEED");
>> -static_assert(XE_BO_VMAS_STATE_DONTNEED == (int)XE_MADV_PURGEABLE_DONTNEED,
>> -	      "VMA purge state DONTNEED must equal madv purgeable DONTNEED");
>> -
>> -/**
>> - * xe_bo_all_vmas_dontneed() - Determine BO VMA purgeable state
>> - * @bo: Buffer object
>> - *
>> - * Check all VMAs across all VMs to determine aggregate purgeable state.
>> - * Shared BOs require unanimous DONTNEED state from all mappings.
>> - *
>> - * Caller must hold BO dma-resv lock.
>> - *
>> - * Return: XE_BO_VMAS_STATE_DONTNEED if all VMAs are DONTNEED,
>> - *         XE_BO_VMAS_STATE_WILLNEED if at least one VMA is not DONTNEED,
>> - *         XE_BO_VMAS_STATE_NO_VMAS if BO has no VMAs
>> - */
>> -static enum xe_bo_vmas_purge_state xe_bo_all_vmas_dontneed(struct xe_bo *bo)
>> -{
>> -	struct drm_gpuvm_bo *vm_bo;
>> -	struct drm_gpuva *gpuva;
>> -	struct drm_gem_object *obj = &bo->ttm.base;
>> -	bool has_vmas = false;
>> -
>> -	xe_bo_assert_held(bo);
>> -
>> -	/* Shared dma-bufs cannot be purgeable */
>> -	if (xe_bo_is_dmabuf_shared(bo))
>> -		return XE_BO_VMAS_STATE_WILLNEED;
>> -
>> -	drm_gem_for_each_gpuvm_bo(vm_bo, obj) {
>> -		drm_gpuvm_bo_for_each_va(gpuva, vm_bo) {
>> -			struct xe_vma *vma = gpuva_to_vma(gpuva);
>> -
>> -			has_vmas = true;
>> -
>> -			/* Any non-DONTNEED VMA prevents purging */
>> -			if (vma->attr.purgeable_state != XE_MADV_PURGEABLE_DONTNEED)
>> -				return XE_BO_VMAS_STATE_WILLNEED;
>> -		}
>> -	}
>> -
>> -	/*
>> -	 * No VMAs => preserve existing BO purgeable state.
>> -	 * Avoids incorrectly flipping DONTNEED -> WILLNEED when last VMA unmapped.
>> -	 */
>> -	if (!has_vmas)
>> -		return XE_BO_VMAS_STATE_NO_VMAS;
>> -
>> -	return XE_BO_VMAS_STATE_DONTNEED;
>> -}
>> -
>> -/**
>> - * xe_bo_recompute_purgeable_state() - Recompute BO purgeable state from VMAs
>> - * @bo: Buffer object
>> - *
>> - * Walk all VMAs to determine if BO should be purgeable or not.
>> - * Shared BOs require unanimous DONTNEED state from all mappings.
>> - * If the BO has no VMAs the existing state is preserved.
>> - *
>> - * Locking: Caller must hold BO dma-resv lock. When iterating GPUVM lists,
>> - * VM lock must also be held (write) to prevent concurrent VMA modifications.
>> - * This is satisfied at both call sites:
>> - * - xe_vma_destroy(): holds vm->lock write
>> - * - madvise_purgeable(): holds vm->lock write (from madvise ioctl path)
>> - *
>> - * Return: nothing
>> - */
>> -void xe_bo_recompute_purgeable_state(struct xe_bo *bo)
>> -{
>> -	enum xe_bo_vmas_purge_state vma_state;
>> -
>> -	if (!bo)
>> -		return;
>> -
>> -	xe_bo_assert_held(bo);
>> -
>> -	/*
>> -	 * Once purged, always purged. Cannot transition back to WILLNEED.
>> -	 * This matches i915 semantics where purged BOs are permanently invalid.
>> -	 */
>> -	if (bo->madv_purgeable == XE_MADV_PURGEABLE_PURGED)
>> -		return;
>> -
>> -	vma_state = xe_bo_all_vmas_dontneed(bo);
>> -
>> -	if (vma_state != (enum xe_bo_vmas_purge_state)bo->madv_purgeable &&
>> -	    vma_state != XE_BO_VMAS_STATE_NO_VMAS)
>> -		xe_bo_set_purgeable_state(bo, (enum xe_madv_purgeable_state)vma_state);
>> -}
>> -
>>   /**
>>    * madvise_purgeable - Handle purgeable buffer object advice
>>    * @xe: XE device
>> @@ -359,12 +218,6 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>>   		/* BO must be locked before modifying madv state */
>>   		xe_bo_assert_held(bo);
>>   
>> -		/* Skip shared dma-bufs - no PTEs to zap */
>> -		if (xe_bo_is_dmabuf_shared(bo)) {
>> -			vmas[i]->skip_invalidation = true;
>> -			continue;
>> -		}
>> -
>>   		/*
>>   		 * Once purged, always purged. Cannot transition back to WILLNEED.
>>   		 * This matches i915 semantics where purged BOs are permanently invalid.
>> @@ -377,13 +230,14 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>>   
>>   		switch (op->purge_state_val.val) {
>>   		case DRM_XE_VMA_PURGEABLE_STATE_WILLNEED:
>> -			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
>>   			vmas[i]->skip_invalidation = true;
>> -
>> -			xe_bo_recompute_purgeable_state(bo);
>> +			/* Only act on a real DONTNEED -> WILLNEED transition. */
>> +			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_DONTNEED) {
>> +				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_WILLNEED;
>> +				xe_bo_willneed_get_locked(bo);
>> +			}
>>   			break;
>>   		case DRM_XE_VMA_PURGEABLE_STATE_DONTNEED:
>> -			vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
>>   			/*
>>   			 * Don't zap PTEs at DONTNEED time -- pages are still
>>   			 * alive. The zap happens in xe_bo_move_notify() right
>> @@ -391,7 +245,11 @@ static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm,
>>   			 */
>>   			vmas[i]->skip_invalidation = true;
>>   
>> -			xe_bo_recompute_purgeable_state(bo);
>> +			/* Only act on a real WILLNEED -> DONTNEED transition. */
>> +			if (vmas[i]->attr.purgeable_state == XE_MADV_PURGEABLE_WILLNEED) {
>> +				vmas[i]->attr.purgeable_state = XE_MADV_PURGEABLE_DONTNEED;
>> +				xe_bo_willneed_put_locked(bo);
>> +			}
>>   			break;
>>   		default:
>>   			/* Should never hit - values validated in madvise_args_are_sane() */
>> diff --git a/drivers/gpu/drm/xe/xe_vm_madvise.h b/drivers/gpu/drm/xe/xe_vm_madvise.h
>> index 39acd2689ca0..a3078f634c7e 100644
>> --- a/drivers/gpu/drm/xe/xe_vm_madvise.h
>> +++ b/drivers/gpu/drm/xe/xe_vm_madvise.h
>> @@ -13,6 +13,4 @@ struct xe_bo;
>>   int xe_vm_madvise_ioctl(struct drm_device *dev, void *data,
>>   			struct drm_file *file);
>>   
>> -void xe_bo_recompute_purgeable_state(struct xe_bo *bo);
>> -
>>   #endif
>> -- 
>> 2.43.0
>>

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

* ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4)
  2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
  2026-05-06 13:27 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev3) Patchwork
  2026-05-06 15:54 ` [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost
@ 2026-05-08  4:41 ` Patchwork
  2026-05-08  5:44 ` ✓ Xe.CI.BAT: " Patchwork
  2026-05-08 17:04 ` ✓ Xe.CI.FULL: " Patchwork
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-05-08  4:41 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/xe/madvise: Track purgeability with BO-local counters (rev4)
URL   : https://patchwork.freedesktop.org/series/165688/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[04:40:13] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[04:40: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
[04:40:49] Starting KUnit Kernel (1/1)...
[04:40:49] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[04:40:49] ================== guc_buf (11 subtests) ===================
[04:40:49] [PASSED] test_smallest
[04:40:49] [PASSED] test_largest
[04:40:49] [PASSED] test_granular
[04:40:49] [PASSED] test_unique
[04:40:49] [PASSED] test_overlap
[04:40:49] [PASSED] test_reusable
[04:40:49] [PASSED] test_too_big
[04:40:49] [PASSED] test_flush
[04:40:49] [PASSED] test_lookup
[04:40:49] [PASSED] test_data
[04:40:49] [PASSED] test_class
[04:40:49] ===================== [PASSED] guc_buf =====================
[04:40:49] =================== guc_dbm (7 subtests) ===================
[04:40:49] [PASSED] test_empty
[04:40:49] [PASSED] test_default
[04:40:49] ======================== test_size  ========================
[04:40:49] [PASSED] 4
[04:40:49] [PASSED] 8
[04:40:49] [PASSED] 32
[04:40:49] [PASSED] 256
[04:40:49] ==================== [PASSED] test_size ====================
[04:40:49] ======================= test_reuse  ========================
[04:40:49] [PASSED] 4
[04:40:49] [PASSED] 8
[04:40:49] [PASSED] 32
[04:40:49] [PASSED] 256
[04:40:49] =================== [PASSED] test_reuse ====================
[04:40:49] =================== test_range_overlap  ====================
[04:40:49] [PASSED] 4
[04:40:49] [PASSED] 8
[04:40:49] [PASSED] 32
[04:40:49] [PASSED] 256
[04:40:49] =============== [PASSED] test_range_overlap ================
[04:40:49] =================== test_range_compact  ====================
[04:40:49] [PASSED] 4
[04:40:49] [PASSED] 8
[04:40:49] [PASSED] 32
[04:40:49] [PASSED] 256
[04:40:49] =============== [PASSED] test_range_compact ================
[04:40:49] ==================== test_range_spare  =====================
[04:40:49] [PASSED] 4
[04:40:49] [PASSED] 8
[04:40:49] [PASSED] 32
[04:40:49] [PASSED] 256
[04:40:49] ================ [PASSED] test_range_spare =================
[04:40:49] ===================== [PASSED] guc_dbm =====================
[04:40:49] =================== guc_idm (6 subtests) ===================
[04:40:49] [PASSED] bad_init
[04:40:49] [PASSED] no_init
[04:40:49] [PASSED] init_fini
[04:40:49] [PASSED] check_used
[04:40:49] [PASSED] check_quota
[04:40:49] [PASSED] check_all
[04:40:49] ===================== [PASSED] guc_idm =====================
[04:40:49] ================== no_relay (3 subtests) ===================
[04:40:49] [PASSED] xe_drops_guc2pf_if_not_ready
[04:40:49] [PASSED] xe_drops_guc2vf_if_not_ready
[04:40:49] [PASSED] xe_rejects_send_if_not_ready
[04:40:49] ==================== [PASSED] no_relay =====================
[04:40:49] ================== pf_relay (14 subtests) ==================
[04:40:49] [PASSED] pf_rejects_guc2pf_too_short
[04:40:49] [PASSED] pf_rejects_guc2pf_too_long
[04:40:49] [PASSED] pf_rejects_guc2pf_no_payload
[04:40:49] [PASSED] pf_fails_no_payload
[04:40:49] [PASSED] pf_fails_bad_origin
[04:40:49] [PASSED] pf_fails_bad_type
[04:40:49] [PASSED] pf_txn_reports_error
[04:40:49] [PASSED] pf_txn_sends_pf2guc
[04:40:49] [PASSED] pf_sends_pf2guc
[04:40:49] [SKIPPED] pf_loopback_nop
[04:40:49] [SKIPPED] pf_loopback_echo
[04:40:49] [SKIPPED] pf_loopback_fail
[04:40:49] [SKIPPED] pf_loopback_busy
[04:40:49] [SKIPPED] pf_loopback_retry
[04:40:49] ==================== [PASSED] pf_relay =====================
[04:40:49] ================== vf_relay (3 subtests) ===================
[04:40:49] [PASSED] vf_rejects_guc2vf_too_short
[04:40:49] [PASSED] vf_rejects_guc2vf_too_long
[04:40:49] [PASSED] vf_rejects_guc2vf_no_payload
[04:40:49] ==================== [PASSED] vf_relay =====================
[04:40:49] ================ pf_gt_config (9 subtests) =================
[04:40:49] [PASSED] fair_contexts_1vf
[04:40:49] [PASSED] fair_doorbells_1vf
[04:40:49] [PASSED] fair_ggtt_1vf
[04:40:49] ====================== fair_vram_1vf  ======================
[04:40:49] [PASSED] 3.50 GiB
[04:40:49] [PASSED] 11.5 GiB
[04:40:49] [PASSED] 15.5 GiB
[04:40:49] [PASSED] 31.5 GiB
[04:40:49] [PASSED] 63.5 GiB
[04:40:49] [PASSED] 1.91 GiB
[04:40:49] ================== [PASSED] fair_vram_1vf ==================
[04:40:49] ================ fair_vram_1vf_admin_only  =================
[04:40:49] [PASSED] 3.50 GiB
[04:40:49] [PASSED] 11.5 GiB
[04:40:49] [PASSED] 15.5 GiB
[04:40:49] [PASSED] 31.5 GiB
[04:40:49] [PASSED] 63.5 GiB
[04:40:49] [PASSED] 1.91 GiB
[04:40:49] ============ [PASSED] fair_vram_1vf_admin_only =============
[04:40:49] ====================== fair_contexts  ======================
[04:40:49] [PASSED] 1 VF
[04:40:49] [PASSED] 2 VFs
[04:40:49] [PASSED] 3 VFs
[04:40:49] [PASSED] 4 VFs
[04:40:49] [PASSED] 5 VFs
[04:40:49] [PASSED] 6 VFs
[04:40:49] [PASSED] 7 VFs
[04:40:49] [PASSED] 8 VFs
[04:40:49] [PASSED] 9 VFs
[04:40:49] [PASSED] 10 VFs
[04:40:49] [PASSED] 11 VFs
[04:40:49] [PASSED] 12 VFs
[04:40:49] [PASSED] 13 VFs
[04:40:49] [PASSED] 14 VFs
[04:40:49] [PASSED] 15 VFs
[04:40:49] [PASSED] 16 VFs
[04:40:49] [PASSED] 17 VFs
[04:40:49] [PASSED] 18 VFs
[04:40:49] [PASSED] 19 VFs
[04:40:49] [PASSED] 20 VFs
[04:40:49] [PASSED] 21 VFs
[04:40:49] [PASSED] 22 VFs
[04:40:49] [PASSED] 23 VFs
[04:40:49] [PASSED] 24 VFs
[04:40:49] [PASSED] 25 VFs
[04:40:49] [PASSED] 26 VFs
[04:40:49] [PASSED] 27 VFs
[04:40:49] [PASSED] 28 VFs
[04:40:49] [PASSED] 29 VFs
[04:40:49] [PASSED] 30 VFs
[04:40:49] [PASSED] 31 VFs
[04:40:49] [PASSED] 32 VFs
[04:40:49] [PASSED] 33 VFs
[04:40:49] [PASSED] 34 VFs
[04:40:49] [PASSED] 35 VFs
[04:40:49] [PASSED] 36 VFs
[04:40:49] [PASSED] 37 VFs
[04:40:49] [PASSED] 38 VFs
[04:40:49] [PASSED] 39 VFs
[04:40:49] [PASSED] 40 VFs
[04:40:49] [PASSED] 41 VFs
[04:40:49] [PASSED] 42 VFs
[04:40:49] [PASSED] 43 VFs
[04:40:49] [PASSED] 44 VFs
[04:40:49] [PASSED] 45 VFs
[04:40:49] [PASSED] 46 VFs
[04:40:49] [PASSED] 47 VFs
[04:40:49] [PASSED] 48 VFs
[04:40:49] [PASSED] 49 VFs
[04:40:49] [PASSED] 50 VFs
[04:40:49] [PASSED] 51 VFs
[04:40:49] [PASSED] 52 VFs
[04:40:49] [PASSED] 53 VFs
[04:40:49] [PASSED] 54 VFs
[04:40:49] [PASSED] 55 VFs
[04:40:49] [PASSED] 56 VFs
[04:40:49] [PASSED] 57 VFs
[04:40:49] [PASSED] 58 VFs
[04:40:49] [PASSED] 59 VFs
[04:40:49] [PASSED] 60 VFs
[04:40:49] [PASSED] 61 VFs
[04:40:49] [PASSED] 62 VFs
[04:40:49] [PASSED] 63 VFs
[04:40:49] ================== [PASSED] fair_contexts ==================
[04:40:49] ===================== fair_doorbells  ======================
[04:40:49] [PASSED] 1 VF
[04:40:49] [PASSED] 2 VFs
[04:40:49] [PASSED] 3 VFs
[04:40:49] [PASSED] 4 VFs
[04:40:49] [PASSED] 5 VFs
[04:40:49] [PASSED] 6 VFs
[04:40:49] [PASSED] 7 VFs
[04:40:49] [PASSED] 8 VFs
[04:40:49] [PASSED] 9 VFs
[04:40:49] [PASSED] 10 VFs
[04:40:49] [PASSED] 11 VFs
[04:40:49] [PASSED] 12 VFs
[04:40:49] [PASSED] 13 VFs
[04:40:49] [PASSED] 14 VFs
[04:40:49] [PASSED] 15 VFs
[04:40:49] [PASSED] 16 VFs
[04:40:49] [PASSED] 17 VFs
[04:40:49] [PASSED] 18 VFs
[04:40:49] [PASSED] 19 VFs
[04:40:49] [PASSED] 20 VFs
[04:40:49] [PASSED] 21 VFs
[04:40:49] [PASSED] 22 VFs
[04:40:49] [PASSED] 23 VFs
[04:40:49] [PASSED] 24 VFs
[04:40:49] [PASSED] 25 VFs
[04:40:49] [PASSED] 26 VFs
[04:40:49] [PASSED] 27 VFs
[04:40:49] [PASSED] 28 VFs
[04:40:49] [PASSED] 29 VFs
[04:40:49] [PASSED] 30 VFs
[04:40:49] [PASSED] 31 VFs
[04:40:49] [PASSED] 32 VFs
[04:40:49] [PASSED] 33 VFs
[04:40:49] [PASSED] 34 VFs
[04:40:49] [PASSED] 35 VFs
[04:40:49] [PASSED] 36 VFs
[04:40:49] [PASSED] 37 VFs
[04:40:49] [PASSED] 38 VFs
[04:40:49] [PASSED] 39 VFs
[04:40:49] [PASSED] 40 VFs
[04:40:49] [PASSED] 41 VFs
[04:40:49] [PASSED] 42 VFs
[04:40:49] [PASSED] 43 VFs
[04:40:49] [PASSED] 44 VFs
[04:40:49] [PASSED] 45 VFs
[04:40:49] [PASSED] 46 VFs
[04:40:49] [PASSED] 47 VFs
[04:40:49] [PASSED] 48 VFs
[04:40:49] [PASSED] 49 VFs
[04:40:49] [PASSED] 50 VFs
[04:40:49] [PASSED] 51 VFs
[04:40:49] [PASSED] 52 VFs
[04:40:49] [PASSED] 53 VFs
[04:40:49] [PASSED] 54 VFs
[04:40:49] [PASSED] 55 VFs
[04:40:49] [PASSED] 56 VFs
[04:40:49] [PASSED] 57 VFs
[04:40:49] [PASSED] 58 VFs
[04:40:49] [PASSED] 59 VFs
[04:40:49] [PASSED] 60 VFs
[04:40:49] [PASSED] 61 VFs
[04:40:49] [PASSED] 62 VFs
[04:40:49] [PASSED] 63 VFs
[04:40:49] ================= [PASSED] fair_doorbells ==================
[04:40:49] ======================== fair_ggtt  ========================
[04:40:49] [PASSED] 1 VF
[04:40:49] [PASSED] 2 VFs
[04:40:49] [PASSED] 3 VFs
[04:40:49] [PASSED] 4 VFs
[04:40:49] [PASSED] 5 VFs
[04:40:49] [PASSED] 6 VFs
[04:40:49] [PASSED] 7 VFs
[04:40:49] [PASSED] 8 VFs
[04:40:49] [PASSED] 9 VFs
[04:40:49] [PASSED] 10 VFs
[04:40:49] [PASSED] 11 VFs
[04:40:49] [PASSED] 12 VFs
[04:40:49] [PASSED] 13 VFs
[04:40:49] [PASSED] 14 VFs
[04:40:49] [PASSED] 15 VFs
[04:40:49] [PASSED] 16 VFs
[04:40:49] [PASSED] 17 VFs
[04:40:49] [PASSED] 18 VFs
[04:40:49] [PASSED] 19 VFs
[04:40:49] [PASSED] 20 VFs
[04:40:49] [PASSED] 21 VFs
[04:40:49] [PASSED] 22 VFs
[04:40:49] [PASSED] 23 VFs
[04:40:49] [PASSED] 24 VFs
[04:40:49] [PASSED] 25 VFs
[04:40:49] [PASSED] 26 VFs
[04:40:49] [PASSED] 27 VFs
[04:40:49] [PASSED] 28 VFs
[04:40:49] [PASSED] 29 VFs
[04:40:49] [PASSED] 30 VFs
[04:40:49] [PASSED] 31 VFs
[04:40:49] [PASSED] 32 VFs
[04:40:49] [PASSED] 33 VFs
[04:40:49] [PASSED] 34 VFs
[04:40:49] [PASSED] 35 VFs
[04:40:49] [PASSED] 36 VFs
[04:40:49] [PASSED] 37 VFs
[04:40:49] [PASSED] 38 VFs
[04:40:49] [PASSED] 39 VFs
[04:40:49] [PASSED] 40 VFs
[04:40:49] [PASSED] 41 VFs
[04:40:49] [PASSED] 42 VFs
[04:40:49] [PASSED] 43 VFs
[04:40:49] [PASSED] 44 VFs
[04:40:49] [PASSED] 45 VFs
[04:40:49] [PASSED] 46 VFs
[04:40:49] [PASSED] 47 VFs
[04:40:49] [PASSED] 48 VFs
[04:40:49] [PASSED] 49 VFs
[04:40:49] [PASSED] 50 VFs
[04:40:49] [PASSED] 51 VFs
[04:40:49] [PASSED] 52 VFs
[04:40:49] [PASSED] 53 VFs
[04:40:49] [PASSED] 54 VFs
[04:40:49] [PASSED] 55 VFs
[04:40:49] [PASSED] 56 VFs
[04:40:49] [PASSED] 57 VFs
[04:40:49] [PASSED] 58 VFs
[04:40:49] [PASSED] 59 VFs
[04:40:49] [PASSED] 60 VFs
[04:40:49] [PASSED] 61 VFs
[04:40:49] [PASSED] 62 VFs
[04:40:49] [PASSED] 63 VFs
[04:40:49] ==================== [PASSED] fair_ggtt ====================
[04:40:50] ======================== fair_vram  ========================
[04:40:50] [PASSED] 1 VF
[04:40:50] [PASSED] 2 VFs
[04:40:50] [PASSED] 3 VFs
[04:40:50] [PASSED] 4 VFs
[04:40:50] [PASSED] 5 VFs
[04:40:50] [PASSED] 6 VFs
[04:40:50] [PASSED] 7 VFs
[04:40:50] [PASSED] 8 VFs
[04:40:50] [PASSED] 9 VFs
[04:40:50] [PASSED] 10 VFs
[04:40:50] [PASSED] 11 VFs
[04:40:50] [PASSED] 12 VFs
[04:40:50] [PASSED] 13 VFs
[04:40:50] [PASSED] 14 VFs
[04:40:50] [PASSED] 15 VFs
[04:40:50] [PASSED] 16 VFs
[04:40:50] [PASSED] 17 VFs
[04:40:50] [PASSED] 18 VFs
[04:40:50] [PASSED] 19 VFs
[04:40:50] [PASSED] 20 VFs
[04:40:50] [PASSED] 21 VFs
[04:40:50] [PASSED] 22 VFs
[04:40:50] [PASSED] 23 VFs
[04:40:50] [PASSED] 24 VFs
[04:40:50] [PASSED] 25 VFs
[04:40:50] [PASSED] 26 VFs
[04:40:50] [PASSED] 27 VFs
[04:40:50] [PASSED] 28 VFs
[04:40:50] [PASSED] 29 VFs
[04:40:50] [PASSED] 30 VFs
[04:40:50] [PASSED] 31 VFs
[04:40:50] [PASSED] 32 VFs
[04:40:50] [PASSED] 33 VFs
[04:40:50] [PASSED] 34 VFs
[04:40:50] [PASSED] 35 VFs
[04:40:50] [PASSED] 36 VFs
[04:40:50] [PASSED] 37 VFs
[04:40:50] [PASSED] 38 VFs
[04:40:50] [PASSED] 39 VFs
[04:40:50] [PASSED] 40 VFs
[04:40:50] [PASSED] 41 VFs
[04:40:50] [PASSED] 42 VFs
[04:40:50] [PASSED] 43 VFs
[04:40:50] [PASSED] 44 VFs
[04:40:50] [PASSED] 45 VFs
[04:40:50] [PASSED] 46 VFs
[04:40:50] [PASSED] 47 VFs
[04:40:50] [PASSED] 48 VFs
[04:40:50] [PASSED] 49 VFs
[04:40:50] [PASSED] 50 VFs
[04:40:50] [PASSED] 51 VFs
[04:40:50] [PASSED] 52 VFs
[04:40:50] [PASSED] 53 VFs
[04:40:50] [PASSED] 54 VFs
[04:40:50] [PASSED] 55 VFs
[04:40:50] [PASSED] 56 VFs
[04:40:50] [PASSED] 57 VFs
[04:40:50] [PASSED] 58 VFs
[04:40:50] [PASSED] 59 VFs
[04:40:50] [PASSED] 60 VFs
[04:40:50] [PASSED] 61 VFs
[04:40:50] [PASSED] 62 VFs
[04:40:50] [PASSED] 63 VFs
[04:40:50] ==================== [PASSED] fair_vram ====================
[04:40:50] ================== [PASSED] pf_gt_config ===================
[04:40:50] ===================== lmtt (1 subtest) =====================
[04:40:50] ======================== test_ops  =========================
[04:40:50] [PASSED] 2-level
[04:40:50] [PASSED] multi-level
[04:40:50] ==================== [PASSED] test_ops =====================
[04:40:50] ====================== [PASSED] lmtt =======================
[04:40:50] ================= pf_service (11 subtests) =================
[04:40:50] [PASSED] pf_negotiate_any
[04:40:50] [PASSED] pf_negotiate_base_match
[04:40:50] [PASSED] pf_negotiate_base_newer
[04:40:50] [PASSED] pf_negotiate_base_next
[04:40:50] [SKIPPED] pf_negotiate_base_older
[04:40:50] [PASSED] pf_negotiate_base_prev
[04:40:50] [PASSED] pf_negotiate_latest_match
[04:40:50] [PASSED] pf_negotiate_latest_newer
[04:40:50] [PASSED] pf_negotiate_latest_next
[04:40:50] [SKIPPED] pf_negotiate_latest_older
[04:40:50] [SKIPPED] pf_negotiate_latest_prev
[04:40:50] =================== [PASSED] pf_service ====================
[04:40:50] ================= xe_guc_g2g (2 subtests) ==================
[04:40:50] ============== xe_live_guc_g2g_kunit_default  ==============
[04:40:50] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[04:40:50] ============== xe_live_guc_g2g_kunit_allmem  ===============
[04:40:50] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[04:40:50] =================== [SKIPPED] xe_guc_g2g ===================
[04:40:50] =================== xe_mocs (2 subtests) ===================
[04:40:50] ================ xe_live_mocs_kernel_kunit  ================
[04:40:50] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[04:40:50] ================ xe_live_mocs_reset_kunit  =================
[04:40:50] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[04:40:50] ==================== [SKIPPED] xe_mocs =====================
[04:40:50] ================= xe_migrate (2 subtests) ==================
[04:40:50] ================= xe_migrate_sanity_kunit  =================
[04:40:50] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[04:40:50] ================== xe_validate_ccs_kunit  ==================
[04:40:50] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[04:40:50] =================== [SKIPPED] xe_migrate ===================
[04:40:50] ================== xe_dma_buf (1 subtest) ==================
[04:40:50] ==================== xe_dma_buf_kunit  =====================
[04:40:50] ================ [SKIPPED] xe_dma_buf_kunit ================
[04:40:50] =================== [SKIPPED] xe_dma_buf ===================
[04:40:50] ================= xe_bo_shrink (1 subtest) =================
[04:40:50] =================== xe_bo_shrink_kunit  ====================
[04:40:50] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[04:40:50] ================== [SKIPPED] xe_bo_shrink ==================
[04:40:50] ==================== xe_bo (2 subtests) ====================
[04:40:50] ================== xe_ccs_migrate_kunit  ===================
[04:40:50] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[04:40:50] ==================== xe_bo_evict_kunit  ====================
[04:40:50] =============== [SKIPPED] xe_bo_evict_kunit ================
[04:40:50] ===================== [SKIPPED] xe_bo ======================
[04:40:50] ==================== args (13 subtests) ====================
[04:40:50] [PASSED] count_args_test
[04:40:50] [PASSED] call_args_example
[04:40:50] [PASSED] call_args_test
[04:40:50] [PASSED] drop_first_arg_example
[04:40:50] [PASSED] drop_first_arg_test
[04:40:50] [PASSED] first_arg_example
[04:40:50] [PASSED] first_arg_test
[04:40:50] [PASSED] last_arg_example
[04:40:50] [PASSED] last_arg_test
[04:40:50] [PASSED] pick_arg_example
[04:40:50] [PASSED] if_args_example
[04:40:50] [PASSED] if_args_test
[04:40:50] [PASSED] sep_comma_example
[04:40:50] ====================== [PASSED] args =======================
[04:40:50] =================== xe_pci (3 subtests) ====================
[04:40:50] ==================== check_graphics_ip  ====================
[04:40:50] [PASSED] 12.00 Xe_LP
[04:40:50] [PASSED] 12.10 Xe_LP+
[04:40:50] [PASSED] 12.55 Xe_HPG
[04:40:50] [PASSED] 12.60 Xe_HPC
[04:40:50] [PASSED] 12.70 Xe_LPG
[04:40:50] [PASSED] 12.71 Xe_LPG
[04:40:50] [PASSED] 12.74 Xe_LPG+
[04:40:50] [PASSED] 20.01 Xe2_HPG
[04:40:50] [PASSED] 20.02 Xe2_HPG
[04:40:50] [PASSED] 20.04 Xe2_LPG
[04:40:50] [PASSED] 30.00 Xe3_LPG
[04:40:50] [PASSED] 30.01 Xe3_LPG
[04:40:50] [PASSED] 30.03 Xe3_LPG
[04:40:50] [PASSED] 30.04 Xe3_LPG
[04:40:50] [PASSED] 30.05 Xe3_LPG
[04:40:50] [PASSED] 35.10 Xe3p_LPG
[04:40:50] [PASSED] 35.11 Xe3p_XPC
[04:40:50] ================ [PASSED] check_graphics_ip ================
[04:40:50] ===================== check_media_ip  ======================
[04:40:50] [PASSED] 12.00 Xe_M
[04:40:50] [PASSED] 12.55 Xe_HPM
[04:40:50] [PASSED] 13.00 Xe_LPM+
[04:40:50] [PASSED] 13.01 Xe2_HPM
[04:40:50] [PASSED] 20.00 Xe2_LPM
[04:40:50] [PASSED] 30.00 Xe3_LPM
[04:40:50] [PASSED] 30.02 Xe3_LPM
[04:40:50] [PASSED] 35.00 Xe3p_LPM
[04:40:50] [PASSED] 35.03 Xe3p_HPM
[04:40:50] ================= [PASSED] check_media_ip ==================
[04:40:50] =================== check_platform_desc  ===================
[04:40:50] [PASSED] 0x9A60 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A68 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A70 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A40 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A49 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A59 (TIGERLAKE)
[04:40:50] [PASSED] 0x9A78 (TIGERLAKE)
[04:40:50] [PASSED] 0x9AC0 (TIGERLAKE)
[04:40:50] [PASSED] 0x9AC9 (TIGERLAKE)
[04:40:50] [PASSED] 0x9AD9 (TIGERLAKE)
[04:40:50] [PASSED] 0x9AF8 (TIGERLAKE)
[04:40:50] [PASSED] 0x4C80 (ROCKETLAKE)
[04:40:50] [PASSED] 0x4C8A (ROCKETLAKE)
[04:40:50] [PASSED] 0x4C8B (ROCKETLAKE)
[04:40:50] [PASSED] 0x4C8C (ROCKETLAKE)
[04:40:50] [PASSED] 0x4C90 (ROCKETLAKE)
[04:40:50] [PASSED] 0x4C9A (ROCKETLAKE)
[04:40:50] [PASSED] 0x4680 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4682 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4688 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x468A (ALDERLAKE_S)
[04:40:50] [PASSED] 0x468B (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4690 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4692 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4693 (ALDERLAKE_S)
[04:40:50] [PASSED] 0x46A0 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46A1 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46A2 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46A3 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46A6 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46A8 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46AA (ALDERLAKE_P)
[04:40:50] [PASSED] 0x462A (ALDERLAKE_P)
[04:40:50] [PASSED] 0x4626 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x4628 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46B0 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46B1 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46B2 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46B3 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46C0 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46C1 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46C2 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46C3 (ALDERLAKE_P)
[04:40:50] [PASSED] 0x46D0 (ALDERLAKE_N)
[04:40:50] [PASSED] 0x46D1 (ALDERLAKE_N)
[04:40:50] [PASSED] 0x46D2 (ALDERLAKE_N)
[04:40:50] [PASSED] 0x46D3 (ALDERLAKE_N)
[04:40:50] [PASSED] 0x46D4 (ALDERLAKE_N)
[04:40:50] [PASSED] 0xA721 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7A1 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7A9 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7AC (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7AD (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA720 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7A0 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7A8 (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7AA (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA7AB (ALDERLAKE_P)
[04:40:50] [PASSED] 0xA780 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA781 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA782 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA783 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA788 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA789 (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA78A (ALDERLAKE_S)
[04:40:50] [PASSED] 0xA78B (ALDERLAKE_S)
[04:40:50] [PASSED] 0x4905 (DG1)
[04:40:50] [PASSED] 0x4906 (DG1)
[04:40:50] [PASSED] 0x4907 (DG1)
[04:40:50] [PASSED] 0x4908 (DG1)
[04:40:50] [PASSED] 0x4909 (DG1)
[04:40:50] [PASSED] 0x56C0 (DG2)
[04:40:50] [PASSED] 0x56C2 (DG2)
[04:40:50] [PASSED] 0x56C1 (DG2)
[04:40:50] [PASSED] 0x7D51 (METEORLAKE)
[04:40:50] [PASSED] 0x7DD1 (METEORLAKE)
[04:40:50] [PASSED] 0x7D41 (METEORLAKE)
[04:40:50] [PASSED] 0x7D67 (METEORLAKE)
[04:40:50] [PASSED] 0xB640 (METEORLAKE)
[04:40:50] [PASSED] 0x56A0 (DG2)
[04:40:50] [PASSED] 0x56A1 (DG2)
[04:40:50] [PASSED] 0x56A2 (DG2)
[04:40:50] [PASSED] 0x56BE (DG2)
[04:40:50] [PASSED] 0x56BF (DG2)
[04:40:50] [PASSED] 0x5690 (DG2)
[04:40:50] [PASSED] 0x5691 (DG2)
[04:40:50] [PASSED] 0x5692 (DG2)
[04:40:50] [PASSED] 0x56A5 (DG2)
[04:40:50] [PASSED] 0x56A6 (DG2)
[04:40:50] [PASSED] 0x56B0 (DG2)
[04:40:50] [PASSED] 0x56B1 (DG2)
[04:40:50] [PASSED] 0x56BA (DG2)
[04:40:50] [PASSED] 0x56BB (DG2)
[04:40:50] [PASSED] 0x56BC (DG2)
[04:40:50] [PASSED] 0x56BD (DG2)
[04:40:50] [PASSED] 0x5693 (DG2)
[04:40:50] [PASSED] 0x5694 (DG2)
[04:40:50] [PASSED] 0x5695 (DG2)
[04:40:50] [PASSED] 0x56A3 (DG2)
[04:40:50] [PASSED] 0x56A4 (DG2)
[04:40:50] [PASSED] 0x56B2 (DG2)
[04:40:50] [PASSED] 0x56B3 (DG2)
[04:40:50] [PASSED] 0x5696 (DG2)
[04:40:50] [PASSED] 0x5697 (DG2)
[04:40:50] [PASSED] 0xB69 (PVC)
[04:40:50] [PASSED] 0xB6E (PVC)
[04:40:50] [PASSED] 0xBD4 (PVC)
[04:40:50] [PASSED] 0xBD5 (PVC)
[04:40:50] [PASSED] 0xBD6 (PVC)
[04:40:50] [PASSED] 0xBD7 (PVC)
[04:40:50] [PASSED] 0xBD8 (PVC)
[04:40:50] [PASSED] 0xBD9 (PVC)
[04:40:50] [PASSED] 0xBDA (PVC)
[04:40:50] [PASSED] 0xBDB (PVC)
[04:40:50] [PASSED] 0xBE0 (PVC)
[04:40:50] [PASSED] 0xBE1 (PVC)
[04:40:50] [PASSED] 0xBE5 (PVC)
[04:40:50] [PASSED] 0x7D40 (METEORLAKE)
[04:40:50] [PASSED] 0x7D45 (METEORLAKE)
[04:40:50] [PASSED] 0x7D55 (METEORLAKE)
[04:40:50] [PASSED] 0x7D60 (METEORLAKE)
[04:40:50] [PASSED] 0x7DD5 (METEORLAKE)
[04:40:50] [PASSED] 0x6420 (LUNARLAKE)
[04:40:50] [PASSED] 0x64A0 (LUNARLAKE)
[04:40:50] [PASSED] 0x64B0 (LUNARLAKE)
[04:40:50] [PASSED] 0xE202 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE209 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE20B (BATTLEMAGE)
[04:40:50] [PASSED] 0xE20C (BATTLEMAGE)
[04:40:50] [PASSED] 0xE20D (BATTLEMAGE)
[04:40:50] [PASSED] 0xE210 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE211 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE212 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE216 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE220 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE221 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE222 (BATTLEMAGE)
[04:40:50] [PASSED] 0xE223 (BATTLEMAGE)
[04:40:50] [PASSED] 0xB080 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB081 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB082 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB083 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB084 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB085 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB086 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB087 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB08F (PANTHERLAKE)
[04:40:50] [PASSED] 0xB090 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB0A0 (PANTHERLAKE)
[04:40:50] [PASSED] 0xB0B0 (PANTHERLAKE)
[04:40:50] [PASSED] 0xFD80 (PANTHERLAKE)
[04:40:50] [PASSED] 0xFD81 (PANTHERLAKE)
[04:40:50] [PASSED] 0xD740 (NOVALAKE_S)
[04:40:50] [PASSED] 0xD741 (NOVALAKE_S)
[04:40:50] [PASSED] 0xD742 (NOVALAKE_S)
[04:40:50] [PASSED] 0xD743 (NOVALAKE_S)
[04:40:50] [PASSED] 0xD744 (NOVALAKE_S)
[04:40:50] [PASSED] 0xD745 (NOVALAKE_S)
[04:40:50] [PASSED] 0x674C (CRESCENTISLAND)
[04:40:50] [PASSED] 0x674D (CRESCENTISLAND)
[04:40:50] [PASSED] 0x674E (CRESCENTISLAND)
[04:40:50] [PASSED] 0x674F (CRESCENTISLAND)
[04:40:50] [PASSED] 0x6750 (CRESCENTISLAND)
[04:40:50] [PASSED] 0xD750 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD751 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD752 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD753 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD754 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD755 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD756 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD757 (NOVALAKE_P)
[04:40:50] [PASSED] 0xD75F (NOVALAKE_P)
[04:40:50] =============== [PASSED] check_platform_desc ===============
[04:40:50] ===================== [PASSED] xe_pci ======================
[04:40:50] =================== xe_rtp (2 subtests) ====================
[04:40:50] =============== xe_rtp_process_to_sr_tests  ================
[04:40:50] [PASSED] coalesce-same-reg
[04:40:50] [PASSED] no-match-no-add
[04:40:50] [PASSED] match-or
[04:40:50] [PASSED] match-or-xfail
[04:40:50] [PASSED] no-match-no-add-multiple-rules
[04:40:50] [PASSED] two-regs-two-entries
[04:40:50] [PASSED] clr-one-set-other
[04:40:50] [PASSED] set-field
[04:40:50] [PASSED] conflict-duplicate
[04:40:50] [PASSED] conflict-not-disjoint
[04:40:50] [PASSED] conflict-reg-type
[04:40:50] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[04:40:50] ================== xe_rtp_process_tests  ===================
[04:40:50] [PASSED] active1
[04:40:50] [PASSED] active2
[04:40:50] [PASSED] active-inactive
[04:40:50] [PASSED] inactive-active
[04:40:50] [PASSED] inactive-1st_or_active-inactive
[04:40:50] [PASSED] inactive-2nd_or_active-inactive
[04:40:50] [PASSED] inactive-last_or_active-inactive
[04:40:50] [PASSED] inactive-no_or_active-inactive
[04:40:50] ============== [PASSED] xe_rtp_process_tests ===============
[04:40:50] ===================== [PASSED] xe_rtp ======================
[04:40:50] ==================== xe_wa (1 subtest) =====================
[04:40:50] ======================== xe_wa_gt  =========================
[04:40:50] [PASSED] TIGERLAKE B0
[04:40:50] [PASSED] DG1 A0
[04:40:50] [PASSED] DG1 B0
[04:40:50] [PASSED] ALDERLAKE_S A0
[04:40:50] [PASSED] ALDERLAKE_S B0
[04:40:50] [PASSED] ALDERLAKE_S C0
[04:40:50] [PASSED] ALDERLAKE_S D0
[04:40:50] [PASSED] ALDERLAKE_P A0
[04:40:50] [PASSED] ALDERLAKE_P B0
[04:40:50] [PASSED] ALDERLAKE_P C0
[04:40:50] [PASSED] ALDERLAKE_S RPLS D0
[04:40:50] [PASSED] ALDERLAKE_P RPLU E0
[04:40:50] [PASSED] DG2 G10 C0
[04:40:50] [PASSED] DG2 G11 B1
[04:40:50] [PASSED] DG2 G12 A1
[04:40:50] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[04:40:50] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[04:40:50] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[04:40:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[04:40:50] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[04:40:50] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[04:40:50] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[04:40:50] ==================== [PASSED] xe_wa_gt =====================
[04:40:50] ====================== [PASSED] xe_wa ======================
[04:40:50] ============================================================
[04:40:50] Testing complete. Ran 601 tests: passed: 583, skipped: 18
[04:40:50] Elapsed time: 36.217s total, 4.269s configuring, 31.280s building, 0.627s running

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4)
  2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
                   ` (2 preceding siblings ...)
  2026-05-08  4:41 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4) Patchwork
@ 2026-05-08  5:44 ` Patchwork
  2026-05-08 17:04 ` ✓ Xe.CI.FULL: " Patchwork
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-05-08  5:44 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/madvise: Track purgeability with BO-local counters (rev4)
URL   : https://patchwork.freedesktop.org/series/165688/
State : success

== Summary ==

CI Bug Log - changes from xe-5022-be2e727379336fdc179be827a0041602be58a984_BAT -> xe-pw-165688v4_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts


Changes
-------

  No changes found


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

  * Linux: xe-5022-be2e727379336fdc179be827a0041602be58a984 -> xe-pw-165688v4

  IGT_8899: 3e5747e536f148bf232049e49a00e2b683f91a83 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-5022-be2e727379336fdc179be827a0041602be58a984: be2e727379336fdc179be827a0041602be58a984
  xe-pw-165688v4: 165688v4

== Logs ==

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

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

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

* ✓ Xe.CI.FULL: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4)
  2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
                   ` (3 preceding siblings ...)
  2026-05-08  5:44 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-05-08 17:04 ` Patchwork
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-05-08 17:04 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/madvise: Track purgeability with BO-local counters (rev4)
URL   : https://patchwork.freedesktop.org/series/165688/
State : success

== Summary ==

CI Bug Log - changes from xe-5022-be2e727379336fdc179be827a0041602be58a984_FULL -> xe-pw-165688v4_FULL
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts

New tests
---------

  New tests have been introduced between xe-5022-be2e727379336fdc179be827a0041602be58a984_FULL and xe-pw-165688v4_FULL:

### New IGT tests (3) ###

  * igt@xe_pm@s2idle-mocs:
    - Statuses : 2 pass(s)
    - Exec time: [1.98, 2.35] s

  * igt@xe_pm@s3-mocs:
    - Statuses : 1 pass(s) 1 skip(s)
    - Exec time: [0.01, 2.98] s

  * igt@xe_pm@s4-mocs:
    - Statuses : 2 pass(s)
    - Exec time: [14.24, 15.49] s

  

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

  Here are the changes found in xe-pw-165688v4_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@x-tiled-32bpp-rotate-90:
    - shard-lnl:          NOTRUN -> [SKIP][1] ([Intel XE#1407])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_big_fb@x-tiled-32bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-64bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][2] ([Intel XE#1124]) +2 other tests skip
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_big_fb@y-tiled-64bpp-rotate-90.html

  * igt@kms_ccs@bad-pixel-format-y-tiled-gen12-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2887]) +1 other test skip
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_ccs@bad-pixel-format-y-tiled-gen12-rc-ccs-cc.html

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

  * igt@kms_chamelium_color@ctm-max:
    - shard-bmg:          NOTRUN -> [SKIP][5] ([Intel XE#2325] / [Intel XE#7358])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_chamelium_color@ctm-max.html

  * igt@kms_chamelium_edid@dp-edid-stress-resolution-non-4k:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#2252])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_chamelium_edid@dp-edid-stress-resolution-non-4k.html

  * igt@kms_cursor_crc@cursor-sliding-512x170:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#2321] / [Intel XE#7355])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_cursor_crc@cursor-sliding-512x170.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
    - shard-lnl:          NOTRUN -> [SKIP][8] ([Intel XE#309] / [Intel XE#7343])
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_cursor_legacy@cursorb-vs-flipb-toggle.html

  * igt@kms_flip@flip-vs-expired-vblank@c-edp1:
    - shard-lnl:          [PASS][9] -> [FAIL][10] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#7178] / [Intel XE#7351])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-indfb-plflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][12] ([Intel XE#6312] / [Intel XE#651])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-indfb-plflip-blt.html

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

  * igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-pri-shrfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2311]) +9 other tests skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#4141]) +2 other tests skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-shrfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][16] ([Intel XE#7905])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#7061])
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-slowdraw:
    - shard-lnl:          NOTRUN -> [SKIP][18] ([Intel XE#6312])
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-slowdraw.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#2313]) +10 other tests skip
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-pri-shrfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][20] ([Intel XE#7865])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-msflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][21] ([Intel XE#656] / [Intel XE#7905])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-msflip-blt.html

  * igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010:
    - shard-bmg:          [PASS][22] -> [SKIP][23] ([Intel XE#7915]) +1 other test skip
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-10/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-7/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html

  * igt@kms_invalid_mode@bad-htotal:
    - shard-bmg:          [PASS][24] -> [INCOMPLETE][25] ([Intel XE#6819]) +1 other test incomplete
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-1/igt@kms_invalid_mode@bad-htotal.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-2/igt@kms_invalid_mode@bad-htotal.html

  * igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
    - shard-lnl:          NOTRUN -> [SKIP][26] ([Intel XE#7173] / [Intel XE#7294])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner.html

  * igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#7283])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier.html

  * igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping:
    - shard-lnl:          NOTRUN -> [SKIP][28] ([Intel XE#7283])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping.html

  * igt@kms_pm_rpm@modeset-lpsp-stress-no-wait:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383] / [Intel XE#836])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_pm_rpm@modeset-lpsp-stress-no-wait.html

  * igt@kms_psr2_sf@fbc-psr2-plane-move-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#1489]) +1 other test skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_psr2_sf@fbc-psr2-plane-move-sf-dmg-area.html

  * igt@kms_psr@fbc-psr2-dpms:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_psr@fbc-psr2-dpms.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
    - shard-bmg:          NOTRUN -> [SKIP][32] ([Intel XE#3904] / [Intel XE#7342])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90.html

  * igt@kms_scaling_modes@scaling-mode-full:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2413])
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_scaling_modes@scaling-mode-full.html

  * igt@kms_sharpness_filter@invalid-filter-with-scaler:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#6503])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_sharpness_filter@invalid-filter-with-scaler.html

  * igt@kms_vrr@flip-dpms:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#1499])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_vrr@flip-dpms.html

  * igt@xe_eudebug@basic-vm-access-parameters-userptr-faultable:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#7636]) +5 other tests skip
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@xe_eudebug@basic-vm-access-parameters-userptr-faultable.html

  * igt@xe_eudebug_online@writes-caching-vram-bb-sram-target-sram:
    - shard-lnl:          NOTRUN -> [SKIP][37] ([Intel XE#7636]) +1 other test skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_eudebug_online@writes-caching-vram-bb-sram-target-sram.html

  * igt@xe_evict@evict-mixed-many-threads-small:
    - shard-bmg:          [PASS][38] -> [INCOMPLETE][39] ([Intel XE#6321])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-7/igt@xe_evict@evict-mixed-many-threads-small.html

  * igt@xe_exec_balancer@twice-cm-parallel-userptr-invalidate-race:
    - shard-lnl:          NOTRUN -> [SKIP][40] ([Intel XE#7482])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_exec_balancer@twice-cm-parallel-userptr-invalidate-race.html

  * igt@xe_exec_basic@multigpu-no-exec-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@xe_exec_basic@multigpu-no-exec-rebind.html

  * igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-fault:
    - shard-lnl:          NOTRUN -> [SKIP][42] ([Intel XE#7136])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-fault.html

  * igt@xe_exec_fault_mode@twice-multi-queue-rebind-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#7136]) +1 other test skip
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@xe_exec_fault_mode@twice-multi-queue-rebind-prefetch.html

  * igt@xe_exec_multi_queue@many-execs-close-fd-smem:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#6874]) +6 other tests skip
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@xe_exec_multi_queue@many-execs-close-fd-smem.html

  * igt@xe_exec_multi_queue@two-queues-basic-smem:
    - shard-lnl:          NOTRUN -> [SKIP][45] ([Intel XE#6874])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_exec_multi_queue@two-queues-basic-smem.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate-race:
    - shard-lnl:          NOTRUN -> [SKIP][46] ([Intel XE#7138])
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate-race.html

  * igt@xe_exec_threads@threads-multi-queue-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#7138])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@xe_exec_threads@threads-multi-queue-rebind.html

  * igt@xe_multigpu_svm@mgpu-pagefault-basic:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#6964]) +1 other test skip
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@xe_multigpu_svm@mgpu-pagefault-basic.html

  * igt@xe_page_reclaim@binds-null-vma:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#7793]) +1 other test skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@xe_page_reclaim@binds-null-vma.html

  * igt@xe_pat@l2-flush-opt-svm-pat-restrict:
    - shard-lnl:          NOTRUN -> [SKIP][50] ([Intel XE#7590] / [Intel XE#7772])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-1/igt@xe_pat@l2-flush-opt-svm-pat-restrict.html

  * igt@xe_pm@d3cold-basic:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#2284] / [Intel XE#7370])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@xe_pm@d3cold-basic.html

  * igt@xe_pxp@pxp-stale-bo-bind-post-rpm:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#4733] / [Intel XE#7417])
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@xe_pxp@pxp-stale-bo-bind-post-rpm.html

  
#### Possible fixes ####

  * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
    - shard-bmg:          [INCOMPLETE][53] ([Intel XE#7084]) -> [PASS][54] +1 other test pass
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
    - shard-lnl:          [FAIL][55] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][56]
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html

  * igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f:
    - shard-bmg:          [SKIP][57] ([Intel XE#7915]) -> [PASS][58] +5 other tests pass
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-1/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-4/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html

  
#### Warnings ####

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [FAIL][59] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][60] ([Intel XE#301])
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][61] ([Intel XE#3544] / [Intel XE#7916]) -> [SKIP][62] ([Intel XE#3544] / [Intel XE#7915] / [Intel XE#7916])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-9/igt@kms_hdr@brightness-with-hdr.html
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-3/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f:
    - shard-bmg:          [SKIP][63] ([Intel XE#7916]) -> [SKIP][64] ([Intel XE#7915]) +1 other test skip
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-9/igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f.html
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-3/igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f.html

  * igt@kms_tiled_display@basic-test-pattern:
    - shard-bmg:          [SKIP][65] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][66] ([Intel XE#1729] / [Intel XE#7424])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-1/igt@kms_tiled_display@basic-test-pattern.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-2/igt@kms_tiled_display@basic-test-pattern.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          [SKIP][67] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][68] ([Intel XE#2426] / [Intel XE#5848])
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5022-be2e727379336fdc179be827a0041602be58a984/shard-bmg-4/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v4/shard-bmg-1/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
  [Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
  [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
  [Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
  [Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
  [Intel XE#7173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7173
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7294
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
  [Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
  [Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
  [Intel XE#7772]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7772
  [Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
  [Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
  [Intel XE#7916]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7916
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836


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

  * Linux: xe-5022-be2e727379336fdc179be827a0041602be58a984 -> xe-pw-165688v4

  IGT_8899: 3e5747e536f148bf232049e49a00e2b683f91a83 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-5022-be2e727379336fdc179be827a0041602be58a984: be2e727379336fdc179be827a0041602be58a984
  xe-pw-165688v4: 165688v4

== Logs ==

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

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

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

end of thread, other threads:[~2026-05-08 17:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 13:20 [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav
2026-05-06 13:27 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev3) Patchwork
2026-05-06 15:54 ` [PATCH v3] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost
2026-05-07  2:39   ` Yadav, Arvind
2026-05-08  4:41 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev4) Patchwork
2026-05-08  5:44 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-08 17:04 ` ✓ Xe.CI.FULL: " Patchwork

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