* [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters
@ 2026-04-30 10:11 Arvind Yadav
2026-04-30 10:18 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Arvind Yadav @ 2026-04-30 10:11 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.
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).
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 | 27 ++++-
drivers/gpu/drm/xe/xe_dma_buf.c | 28 ++++-
drivers/gpu/drm/xe/xe_vm.c | 9 +-
drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++---------------------------
drivers/gpu/drm/xe/xe_vm_madvise.h | 2 -
7 files changed, 155 insertions(+), 167 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..6756d7820aca 100644
--- a/drivers/gpu/drm/xe/xe_bo_types.h
+++ b/drivers/gpu/drm/xe/xe_bo_types.h
@@ -111,10 +111,31 @@ 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 c3836f6eab35..12457173ba85 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1131,6 +1131,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 +1212,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);
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 (rev2) 2026-04-30 10:11 [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav @ 2026-04-30 10:18 ` Patchwork 2026-04-30 11:08 ` ✓ Xe.CI.BAT: " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-04-30 10:18 UTC (permalink / raw) To: Arvind Yadav; +Cc: intel-xe == Series Details == Series: drm/xe/madvise: Track purgeability with BO-local counters (rev2) 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 [10:17:16] Configuring KUnit Kernel ... Generating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [10:17:20] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:17:51] Starting KUnit Kernel (1/1)... [10:17:51] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:17:52] ================== guc_buf (11 subtests) =================== [10:17:52] [PASSED] test_smallest [10:17:52] [PASSED] test_largest [10:17:52] [PASSED] test_granular [10:17:52] [PASSED] test_unique [10:17:52] [PASSED] test_overlap [10:17:52] [PASSED] test_reusable [10:17:52] [PASSED] test_too_big [10:17:52] [PASSED] test_flush [10:17:52] [PASSED] test_lookup [10:17:52] [PASSED] test_data [10:17:52] [PASSED] test_class [10:17:52] ===================== [PASSED] guc_buf ===================== [10:17:52] =================== guc_dbm (7 subtests) =================== [10:17:52] [PASSED] test_empty [10:17:52] [PASSED] test_default [10:17:52] ======================== test_size ======================== [10:17:52] [PASSED] 4 [10:17:52] [PASSED] 8 [10:17:52] [PASSED] 32 [10:17:52] [PASSED] 256 [10:17:52] ==================== [PASSED] test_size ==================== [10:17:52] ======================= test_reuse ======================== [10:17:52] [PASSED] 4 [10:17:52] [PASSED] 8 [10:17:52] [PASSED] 32 [10:17:52] [PASSED] 256 [10:17:52] =================== [PASSED] test_reuse ==================== [10:17:52] =================== test_range_overlap ==================== [10:17:52] [PASSED] 4 [10:17:52] [PASSED] 8 [10:17:52] [PASSED] 32 [10:17:52] [PASSED] 256 [10:17:52] =============== [PASSED] test_range_overlap ================ [10:17:52] =================== test_range_compact ==================== [10:17:52] [PASSED] 4 [10:17:52] [PASSED] 8 [10:17:52] [PASSED] 32 [10:17:52] [PASSED] 256 [10:17:52] =============== [PASSED] test_range_compact ================ [10:17:52] ==================== test_range_spare ===================== [10:17:52] [PASSED] 4 [10:17:52] [PASSED] 8 [10:17:52] [PASSED] 32 [10:17:52] [PASSED] 256 [10:17:52] ================ [PASSED] test_range_spare ================= [10:17:52] ===================== [PASSED] guc_dbm ===================== [10:17:52] =================== guc_idm (6 subtests) =================== [10:17:52] [PASSED] bad_init [10:17:52] [PASSED] no_init [10:17:52] [PASSED] init_fini [10:17:52] [PASSED] check_used [10:17:52] [PASSED] check_quota [10:17:52] [PASSED] check_all [10:17:52] ===================== [PASSED] guc_idm ===================== [10:17:52] ================== no_relay (3 subtests) =================== [10:17:52] [PASSED] xe_drops_guc2pf_if_not_ready [10:17:52] [PASSED] xe_drops_guc2vf_if_not_ready [10:17:52] [PASSED] xe_rejects_send_if_not_ready [10:17:52] ==================== [PASSED] no_relay ===================== [10:17:52] ================== pf_relay (14 subtests) ================== [10:17:52] [PASSED] pf_rejects_guc2pf_too_short [10:17:52] [PASSED] pf_rejects_guc2pf_too_long [10:17:52] [PASSED] pf_rejects_guc2pf_no_payload [10:17:52] [PASSED] pf_fails_no_payload [10:17:52] [PASSED] pf_fails_bad_origin [10:17:52] [PASSED] pf_fails_bad_type [10:17:52] [PASSED] pf_txn_reports_error [10:17:52] [PASSED] pf_txn_sends_pf2guc [10:17:52] [PASSED] pf_sends_pf2guc [10:17:52] [SKIPPED] pf_loopback_nop [10:17:52] [SKIPPED] pf_loopback_echo [10:17:52] [SKIPPED] pf_loopback_fail [10:17:52] [SKIPPED] pf_loopback_busy [10:17:52] [SKIPPED] pf_loopback_retry [10:17:52] ==================== [PASSED] pf_relay ===================== [10:17:52] ================== vf_relay (3 subtests) =================== [10:17:52] [PASSED] vf_rejects_guc2vf_too_short [10:17:52] [PASSED] vf_rejects_guc2vf_too_long [10:17:52] [PASSED] vf_rejects_guc2vf_no_payload [10:17:52] ==================== [PASSED] vf_relay ===================== [10:17:52] ================ pf_gt_config (9 subtests) ================= [10:17:52] [PASSED] fair_contexts_1vf [10:17:52] [PASSED] fair_doorbells_1vf [10:17:52] [PASSED] fair_ggtt_1vf [10:17:52] ====================== fair_vram_1vf ====================== [10:17:52] [PASSED] 3.50 GiB [10:17:52] [PASSED] 11.5 GiB [10:17:52] [PASSED] 15.5 GiB [10:17:52] [PASSED] 31.5 GiB [10:17:52] [PASSED] 63.5 GiB [10:17:52] [PASSED] 1.91 GiB [10:17:52] ================== [PASSED] fair_vram_1vf ================== [10:17:52] ================ fair_vram_1vf_admin_only ================= [10:17:52] [PASSED] 3.50 GiB [10:17:52] [PASSED] 11.5 GiB [10:17:52] [PASSED] 15.5 GiB [10:17:52] [PASSED] 31.5 GiB [10:17:52] [PASSED] 63.5 GiB [10:17:52] [PASSED] 1.91 GiB [10:17:52] ============ [PASSED] fair_vram_1vf_admin_only ============= [10:17:52] ====================== fair_contexts ====================== [10:17:52] [PASSED] 1 VF [10:17:52] [PASSED] 2 VFs [10:17:52] [PASSED] 3 VFs [10:17:52] [PASSED] 4 VFs [10:17:52] [PASSED] 5 VFs [10:17:52] [PASSED] 6 VFs [10:17:52] [PASSED] 7 VFs [10:17:52] [PASSED] 8 VFs [10:17:52] [PASSED] 9 VFs [10:17:52] [PASSED] 10 VFs [10:17:52] [PASSED] 11 VFs [10:17:52] [PASSED] 12 VFs [10:17:52] [PASSED] 13 VFs [10:17:52] [PASSED] 14 VFs [10:17:52] [PASSED] 15 VFs [10:17:52] [PASSED] 16 VFs [10:17:52] [PASSED] 17 VFs [10:17:52] [PASSED] 18 VFs [10:17:52] [PASSED] 19 VFs [10:17:52] [PASSED] 20 VFs [10:17:52] [PASSED] 21 VFs [10:17:52] [PASSED] 22 VFs [10:17:52] [PASSED] 23 VFs [10:17:52] [PASSED] 24 VFs [10:17:52] [PASSED] 25 VFs [10:17:52] [PASSED] 26 VFs [10:17:52] [PASSED] 27 VFs [10:17:52] [PASSED] 28 VFs [10:17:52] [PASSED] 29 VFs [10:17:52] [PASSED] 30 VFs [10:17:52] [PASSED] 31 VFs [10:17:52] [PASSED] 32 VFs [10:17:52] [PASSED] 33 VFs [10:17:52] [PASSED] 34 VFs [10:17:52] [PASSED] 35 VFs [10:17:52] [PASSED] 36 VFs [10:17:52] [PASSED] 37 VFs [10:17:52] [PASSED] 38 VFs [10:17:52] [PASSED] 39 VFs [10:17:52] [PASSED] 40 VFs [10:17:52] [PASSED] 41 VFs [10:17:52] [PASSED] 42 VFs [10:17:52] [PASSED] 43 VFs [10:17:52] [PASSED] 44 VFs [10:17:52] [PASSED] 45 VFs [10:17:52] [PASSED] 46 VFs [10:17:52] [PASSED] 47 VFs [10:17:52] [PASSED] 48 VFs [10:17:52] [PASSED] 49 VFs [10:17:52] [PASSED] 50 VFs [10:17:52] [PASSED] 51 VFs [10:17:52] [PASSED] 52 VFs [10:17:52] [PASSED] 53 VFs [10:17:52] [PASSED] 54 VFs [10:17:52] [PASSED] 55 VFs [10:17:52] [PASSED] 56 VFs [10:17:52] [PASSED] 57 VFs [10:17:52] [PASSED] 58 VFs [10:17:52] [PASSED] 59 VFs [10:17:52] [PASSED] 60 VFs [10:17:52] [PASSED] 61 VFs [10:17:52] [PASSED] 62 VFs [10:17:52] [PASSED] 63 VFs [10:17:52] ================== [PASSED] fair_contexts ================== [10:17:52] ===================== fair_doorbells ====================== [10:17:52] [PASSED] 1 VF [10:17:52] [PASSED] 2 VFs [10:17:52] [PASSED] 3 VFs [10:17:52] [PASSED] 4 VFs [10:17:52] [PASSED] 5 VFs [10:17:52] [PASSED] 6 VFs [10:17:52] [PASSED] 7 VFs [10:17:52] [PASSED] 8 VFs [10:17:52] [PASSED] 9 VFs [10:17:52] [PASSED] 10 VFs [10:17:52] [PASSED] 11 VFs [10:17:52] [PASSED] 12 VFs [10:17:52] [PASSED] 13 VFs [10:17:52] [PASSED] 14 VFs [10:17:52] [PASSED] 15 VFs [10:17:52] [PASSED] 16 VFs [10:17:52] [PASSED] 17 VFs [10:17:52] [PASSED] 18 VFs [10:17:52] [PASSED] 19 VFs [10:17:52] [PASSED] 20 VFs [10:17:52] [PASSED] 21 VFs [10:17:52] [PASSED] 22 VFs [10:17:52] [PASSED] 23 VFs [10:17:52] [PASSED] 24 VFs [10:17:52] [PASSED] 25 VFs [10:17:52] [PASSED] 26 VFs [10:17:52] [PASSED] 27 VFs [10:17:52] [PASSED] 28 VFs [10:17:52] [PASSED] 29 VFs [10:17:52] [PASSED] 30 VFs [10:17:52] [PASSED] 31 VFs [10:17:52] [PASSED] 32 VFs [10:17:52] [PASSED] 33 VFs [10:17:52] [PASSED] 34 VFs [10:17:52] [PASSED] 35 VFs [10:17:52] [PASSED] 36 VFs [10:17:52] [PASSED] 37 VFs [10:17:52] [PASSED] 38 VFs [10:17:52] [PASSED] 39 VFs [10:17:52] [PASSED] 40 VFs [10:17:52] [PASSED] 41 VFs [10:17:52] [PASSED] 42 VFs [10:17:52] [PASSED] 43 VFs [10:17:52] [PASSED] 44 VFs [10:17:52] [PASSED] 45 VFs [10:17:52] [PASSED] 46 VFs [10:17:52] [PASSED] 47 VFs [10:17:52] [PASSED] 48 VFs [10:17:52] [PASSED] 49 VFs [10:17:52] [PASSED] 50 VFs [10:17:52] [PASSED] 51 VFs [10:17:52] [PASSED] 52 VFs [10:17:52] [PASSED] 53 VFs [10:17:52] [PASSED] 54 VFs [10:17:52] [PASSED] 55 VFs [10:17:52] [PASSED] 56 VFs [10:17:52] [PASSED] 57 VFs [10:17:52] [PASSED] 58 VFs [10:17:52] [PASSED] 59 VFs [10:17:52] [PASSED] 60 VFs [10:17:52] [PASSED] 61 VFs [10:17:52] [PASSED] 62 VFs [10:17:52] [PASSED] 63 VFs [10:17:52] ================= [PASSED] fair_doorbells ================== [10:17:52] ======================== fair_ggtt ======================== [10:17:52] [PASSED] 1 VF [10:17:52] [PASSED] 2 VFs [10:17:52] [PASSED] 3 VFs [10:17:52] [PASSED] 4 VFs [10:17:52] [PASSED] 5 VFs [10:17:52] [PASSED] 6 VFs [10:17:52] [PASSED] 7 VFs [10:17:52] [PASSED] 8 VFs [10:17:52] [PASSED] 9 VFs [10:17:52] [PASSED] 10 VFs [10:17:52] [PASSED] 11 VFs [10:17:52] [PASSED] 12 VFs [10:17:52] [PASSED] 13 VFs [10:17:52] [PASSED] 14 VFs [10:17:52] [PASSED] 15 VFs [10:17:52] [PASSED] 16 VFs [10:17:52] [PASSED] 17 VFs [10:17:52] [PASSED] 18 VFs [10:17:52] [PASSED] 19 VFs [10:17:52] [PASSED] 20 VFs [10:17:52] [PASSED] 21 VFs [10:17:52] [PASSED] 22 VFs [10:17:52] [PASSED] 23 VFs [10:17:52] [PASSED] 24 VFs [10:17:52] [PASSED] 25 VFs [10:17:52] [PASSED] 26 VFs [10:17:52] [PASSED] 27 VFs [10:17:52] [PASSED] 28 VFs [10:17:52] [PASSED] 29 VFs [10:17:52] [PASSED] 30 VFs [10:17:52] [PASSED] 31 VFs [10:17:52] [PASSED] 32 VFs [10:17:52] [PASSED] 33 VFs [10:17:52] [PASSED] 34 VFs [10:17:52] [PASSED] 35 VFs [10:17:52] [PASSED] 36 VFs [10:17:52] [PASSED] 37 VFs [10:17:52] [PASSED] 38 VFs [10:17:52] [PASSED] 39 VFs [10:17:52] [PASSED] 40 VFs [10:17:52] [PASSED] 41 VFs [10:17:52] [PASSED] 42 VFs [10:17:52] [PASSED] 43 VFs [10:17:52] [PASSED] 44 VFs [10:17:52] [PASSED] 45 VFs [10:17:52] [PASSED] 46 VFs [10:17:52] [PASSED] 47 VFs [10:17:52] [PASSED] 48 VFs [10:17:52] [PASSED] 49 VFs [10:17:52] [PASSED] 50 VFs [10:17:52] [PASSED] 51 VFs [10:17:52] [PASSED] 52 VFs [10:17:52] [PASSED] 53 VFs [10:17:52] [PASSED] 54 VFs [10:17:52] [PASSED] 55 VFs [10:17:52] [PASSED] 56 VFs [10:17:52] [PASSED] 57 VFs [10:17:52] [PASSED] 58 VFs [10:17:52] [PASSED] 59 VFs [10:17:52] [PASSED] 60 VFs [10:17:52] [PASSED] 61 VFs [10:17:52] [PASSED] 62 VFs [10:17:52] [PASSED] 63 VFs [10:17:52] ==================== [PASSED] fair_ggtt ==================== [10:17:52] ======================== fair_vram ======================== [10:17:52] [PASSED] 1 VF [10:17:52] [PASSED] 2 VFs [10:17:52] [PASSED] 3 VFs [10:17:52] [PASSED] 4 VFs [10:17:52] [PASSED] 5 VFs [10:17:52] [PASSED] 6 VFs [10:17:52] [PASSED] 7 VFs [10:17:52] [PASSED] 8 VFs [10:17:52] [PASSED] 9 VFs [10:17:52] [PASSED] 10 VFs [10:17:52] [PASSED] 11 VFs [10:17:52] [PASSED] 12 VFs [10:17:52] [PASSED] 13 VFs [10:17:52] [PASSED] 14 VFs [10:17:52] [PASSED] 15 VFs [10:17:52] [PASSED] 16 VFs [10:17:52] [PASSED] 17 VFs [10:17:52] [PASSED] 18 VFs [10:17:52] [PASSED] 19 VFs [10:17:52] [PASSED] 20 VFs [10:17:52] [PASSED] 21 VFs [10:17:52] [PASSED] 22 VFs [10:17:52] [PASSED] 23 VFs [10:17:52] [PASSED] 24 VFs [10:17:52] [PASSED] 25 VFs [10:17:52] [PASSED] 26 VFs [10:17:52] [PASSED] 27 VFs [10:17:52] [PASSED] 28 VFs [10:17:52] [PASSED] 29 VFs [10:17:52] [PASSED] 30 VFs [10:17:52] [PASSED] 31 VFs [10:17:52] [PASSED] 32 VFs [10:17:52] [PASSED] 33 VFs [10:17:52] [PASSED] 34 VFs [10:17:52] [PASSED] 35 VFs [10:17:52] [PASSED] 36 VFs [10:17:52] [PASSED] 37 VFs [10:17:52] [PASSED] 38 VFs [10:17:52] [PASSED] 39 VFs [10:17:52] [PASSED] 40 VFs [10:17:52] [PASSED] 41 VFs [10:17:52] [PASSED] 42 VFs [10:17:52] [PASSED] 43 VFs [10:17:52] [PASSED] 44 VFs [10:17:52] [PASSED] 45 VFs [10:17:52] [PASSED] 46 VFs [10:17:52] [PASSED] 47 VFs [10:17:52] [PASSED] 48 VFs [10:17:52] [PASSED] 49 VFs [10:17:52] [PASSED] 50 VFs [10:17:52] [PASSED] 51 VFs [10:17:52] [PASSED] 52 VFs [10:17:52] [PASSED] 53 VFs [10:17:52] [PASSED] 54 VFs [10:17:52] [PASSED] 55 VFs [10:17:52] [PASSED] 56 VFs [10:17:52] [PASSED] 57 VFs [10:17:52] [PASSED] 58 VFs [10:17:52] [PASSED] 59 VFs [10:17:52] [PASSED] 60 VFs [10:17:52] [PASSED] 61 VFs [10:17:52] [PASSED] 62 VFs [10:17:52] [PASSED] 63 VFs [10:17:52] ==================== [PASSED] fair_vram ==================== [10:17:52] ================== [PASSED] pf_gt_config =================== [10:17:52] ===================== lmtt (1 subtest) ===================== [10:17:52] ======================== test_ops ========================= [10:17:52] [PASSED] 2-level [10:17:52] [PASSED] multi-level [10:17:52] ==================== [PASSED] test_ops ===================== [10:17:52] ====================== [PASSED] lmtt ======================= [10:17:52] ================= pf_service (11 subtests) ================= [10:17:52] [PASSED] pf_negotiate_any [10:17:52] [PASSED] pf_negotiate_base_match [10:17:52] [PASSED] pf_negotiate_base_newer [10:17:52] [PASSED] pf_negotiate_base_next [10:17:52] [SKIPPED] pf_negotiate_base_older [10:17:52] [PASSED] pf_negotiate_base_prev [10:17:52] [PASSED] pf_negotiate_latest_match [10:17:52] [PASSED] pf_negotiate_latest_newer [10:17:52] [PASSED] pf_negotiate_latest_next [10:17:52] [SKIPPED] pf_negotiate_latest_older [10:17:52] [SKIPPED] pf_negotiate_latest_prev [10:17:52] =================== [PASSED] pf_service ==================== [10:17:52] ================= xe_guc_g2g (2 subtests) ================== [10:17:52] ============== xe_live_guc_g2g_kunit_default ============== [10:17:52] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [10:17:52] ============== xe_live_guc_g2g_kunit_allmem =============== [10:17:52] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [10:17:52] =================== [SKIPPED] xe_guc_g2g =================== [10:17:52] =================== xe_mocs (2 subtests) =================== [10:17:52] ================ xe_live_mocs_kernel_kunit ================ [10:17:52] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [10:17:52] ================ xe_live_mocs_reset_kunit ================= [10:17:52] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [10:17:52] ==================== [SKIPPED] xe_mocs ===================== [10:17:52] ================= xe_migrate (2 subtests) ================== [10:17:52] ================= xe_migrate_sanity_kunit ================= [10:17:52] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [10:17:52] ================== xe_validate_ccs_kunit ================== [10:17:52] ============= [SKIPPED] xe_validate_ccs_kunit ============== [10:17:52] =================== [SKIPPED] xe_migrate =================== [10:17:52] ================== xe_dma_buf (1 subtest) ================== [10:17:52] ==================== xe_dma_buf_kunit ===================== [10:17:52] ================ [SKIPPED] xe_dma_buf_kunit ================ [10:17:52] =================== [SKIPPED] xe_dma_buf =================== [10:17:52] ================= xe_bo_shrink (1 subtest) ================= [10:17:52] =================== xe_bo_shrink_kunit ==================== [10:17:52] =============== [SKIPPED] xe_bo_shrink_kunit =============== [10:17:52] ================== [SKIPPED] xe_bo_shrink ================== [10:17:52] ==================== xe_bo (2 subtests) ==================== [10:17:52] ================== xe_ccs_migrate_kunit =================== [10:17:52] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [10:17:52] ==================== xe_bo_evict_kunit ==================== [10:17:52] =============== [SKIPPED] xe_bo_evict_kunit ================ [10:17:52] ===================== [SKIPPED] xe_bo ====================== [10:17:52] ==================== args (13 subtests) ==================== [10:17:52] [PASSED] count_args_test [10:17:52] [PASSED] call_args_example [10:17:52] [PASSED] call_args_test [10:17:52] [PASSED] drop_first_arg_example [10:17:52] [PASSED] drop_first_arg_test [10:17:52] [PASSED] first_arg_example [10:17:52] [PASSED] first_arg_test [10:17:52] [PASSED] last_arg_example [10:17:52] [PASSED] last_arg_test [10:17:52] [PASSED] pick_arg_example [10:17:52] [PASSED] if_args_example [10:17:52] [PASSED] if_args_test [10:17:52] [PASSED] sep_comma_example [10:17:52] ====================== [PASSED] args ======================= [10:17:52] =================== xe_pci (3 subtests) ==================== [10:17:52] ==================== check_graphics_ip ==================== [10:17:52] [PASSED] 12.00 Xe_LP [10:17:52] [PASSED] 12.10 Xe_LP+ [10:17:52] [PASSED] 12.55 Xe_HPG [10:17:52] [PASSED] 12.60 Xe_HPC [10:17:52] [PASSED] 12.70 Xe_LPG [10:17:52] [PASSED] 12.71 Xe_LPG [10:17:52] [PASSED] 12.74 Xe_LPG+ [10:17:52] [PASSED] 20.01 Xe2_HPG [10:17:52] [PASSED] 20.02 Xe2_HPG [10:17:52] [PASSED] 20.04 Xe2_LPG [10:17:52] [PASSED] 30.00 Xe3_LPG [10:17:52] [PASSED] 30.01 Xe3_LPG [10:17:52] [PASSED] 30.03 Xe3_LPG [10:17:52] [PASSED] 30.04 Xe3_LPG [10:17:52] [PASSED] 30.05 Xe3_LPG [10:17:52] [PASSED] 35.10 Xe3p_LPG [10:17:52] [PASSED] 35.11 Xe3p_XPC [10:17:52] ================ [PASSED] check_graphics_ip ================ [10:17:52] ===================== check_media_ip ====================== [10:17:52] [PASSED] 12.00 Xe_M [10:17:52] [PASSED] 12.55 Xe_HPM [10:17:52] [PASSED] 13.00 Xe_LPM+ [10:17:52] [PASSED] 13.01 Xe2_HPM [10:17:52] [PASSED] 20.00 Xe2_LPM [10:17:52] [PASSED] 30.00 Xe3_LPM [10:17:52] [PASSED] 30.02 Xe3_LPM [10:17:52] [PASSED] 35.00 Xe3p_LPM [10:17:52] [PASSED] 35.03 Xe3p_HPM [10:17:52] ================= [PASSED] check_media_ip ================== [10:17:52] =================== check_platform_desc =================== [10:17:52] [PASSED] 0x9A60 (TIGERLAKE) [10:17:52] [PASSED] 0x9A68 (TIGERLAKE) [10:17:52] [PASSED] 0x9A70 (TIGERLAKE) [10:17:52] [PASSED] 0x9A40 (TIGERLAKE) [10:17:52] [PASSED] 0x9A49 (TIGERLAKE) [10:17:52] [PASSED] 0x9A59 (TIGERLAKE) [10:17:52] [PASSED] 0x9A78 (TIGERLAKE) [10:17:52] [PASSED] 0x9AC0 (TIGERLAKE) [10:17:52] [PASSED] 0x9AC9 (TIGERLAKE) [10:17:52] [PASSED] 0x9AD9 (TIGERLAKE) [10:17:52] [PASSED] 0x9AF8 (TIGERLAKE) [10:17:52] [PASSED] 0x4C80 (ROCKETLAKE) [10:17:52] [PASSED] 0x4C8A (ROCKETLAKE) [10:17:52] [PASSED] 0x4C8B (ROCKETLAKE) [10:17:52] [PASSED] 0x4C8C (ROCKETLAKE) [10:17:52] [PASSED] 0x4C90 (ROCKETLAKE) [10:17:52] [PASSED] 0x4C9A (ROCKETLAKE) [10:17:52] [PASSED] 0x4680 (ALDERLAKE_S) [10:17:52] [PASSED] 0x4682 (ALDERLAKE_S) [10:17:52] [PASSED] 0x4688 (ALDERLAKE_S) [10:17:52] [PASSED] 0x468A (ALDERLAKE_S) [10:17:52] [PASSED] 0x468B (ALDERLAKE_S) [10:17:52] [PASSED] 0x4690 (ALDERLAKE_S) [10:17:52] [PASSED] 0x4692 (ALDERLAKE_S) [10:17:52] [PASSED] 0x4693 (ALDERLAKE_S) [10:17:52] [PASSED] 0x46A0 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46A1 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46A2 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46A3 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46A6 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46A8 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46AA (ALDERLAKE_P) [10:17:52] [PASSED] 0x462A (ALDERLAKE_P) [10:17:52] [PASSED] 0x4626 (ALDERLAKE_P) [10:17:52] [PASSED] 0x4628 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46B0 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46B1 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46B2 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46B3 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46C0 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46C1 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46C2 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46C3 (ALDERLAKE_P) [10:17:52] [PASSED] 0x46D0 (ALDERLAKE_N) [10:17:52] [PASSED] 0x46D1 (ALDERLAKE_N) [10:17:52] [PASSED] 0x46D2 (ALDERLAKE_N) [10:17:52] [PASSED] 0x46D3 (ALDERLAKE_N) [10:17:52] [PASSED] 0x46D4 (ALDERLAKE_N) [10:17:52] [PASSED] 0xA721 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7A1 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7A9 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7AC (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7AD (ALDERLAKE_P) [10:17:52] [PASSED] 0xA720 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7A0 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7A8 (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7AA (ALDERLAKE_P) [10:17:52] [PASSED] 0xA7AB (ALDERLAKE_P) [10:17:52] [PASSED] 0xA780 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA781 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA782 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA783 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA788 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA789 (ALDERLAKE_S) [10:17:52] [PASSED] 0xA78A (ALDERLAKE_S) [10:17:52] [PASSED] 0xA78B (ALDERLAKE_S) [10:17:52] [PASSED] 0x4905 (DG1) [10:17:52] [PASSED] 0x4906 (DG1) [10:17:52] [PASSED] 0x4907 (DG1) [10:17:52] [PASSED] 0x4908 (DG1) [10:17:52] [PASSED] 0x4909 (DG1) [10:17:52] [PASSED] 0x56C0 (DG2) [10:17:52] [PASSED] 0x56C2 (DG2) [10:17:52] [PASSED] 0x56C1 (DG2) [10:17:52] [PASSED] 0x7D51 (METEORLAKE) [10:17:52] [PASSED] 0x7DD1 (METEORLAKE) [10:17:52] [PASSED] 0x7D41 (METEORLAKE) [10:17:52] [PASSED] 0x7D67 (METEORLAKE) [10:17:52] [PASSED] 0xB640 (METEORLAKE) [10:17:52] [PASSED] 0x56A0 (DG2) [10:17:52] [PASSED] 0x56A1 (DG2) [10:17:52] [PASSED] 0x56A2 (DG2) [10:17:52] [PASSED] 0x56BE (DG2) [10:17:52] [PASSED] 0x56BF (DG2) [10:17:52] [PASSED] 0x5690 (DG2) [10:17:52] [PASSED] 0x5691 (DG2) [10:17:52] [PASSED] 0x5692 (DG2) [10:17:52] [PASSED] 0x56A5 (DG2) [10:17:52] [PASSED] 0x56A6 (DG2) [10:17:52] [PASSED] 0x56B0 (DG2) [10:17:52] [PASSED] 0x56B1 (DG2) [10:17:52] [PASSED] 0x56BA (DG2) [10:17:52] [PASSED] 0x56BB (DG2) [10:17:52] [PASSED] 0x56BC (DG2) [10:17:52] [PASSED] 0x56BD (DG2) [10:17:52] [PASSED] 0x5693 (DG2) [10:17:52] [PASSED] 0x5694 (DG2) [10:17:52] [PASSED] 0x5695 (DG2) [10:17:52] [PASSED] 0x56A3 (DG2) [10:17:52] [PASSED] 0x56A4 (DG2) [10:17:52] [PASSED] 0x56B2 (DG2) [10:17:52] [PASSED] 0x56B3 (DG2) [10:17:52] [PASSED] 0x5696 (DG2) [10:17:52] [PASSED] 0x5697 (DG2) [10:17:52] [PASSED] 0xB69 (PVC) [10:17:52] [PASSED] 0xB6E (PVC) [10:17:52] [PASSED] 0xBD4 (PVC) [10:17:52] [PASSED] 0xBD5 (PVC) [10:17:52] [PASSED] 0xBD6 (PVC) [10:17:52] [PASSED] 0xBD7 (PVC) [10:17:52] [PASSED] 0xBD8 (PVC) [10:17:52] [PASSED] 0xBD9 (PVC) [10:17:52] [PASSED] 0xBDA (PVC) [10:17:52] [PASSED] 0xBDB (PVC) [10:17:52] [PASSED] 0xBE0 (PVC) [10:17:52] [PASSED] 0xBE1 (PVC) [10:17:52] [PASSED] 0xBE5 (PVC) [10:17:52] [PASSED] 0x7D40 (METEORLAKE) [10:17:52] [PASSED] 0x7D45 (METEORLAKE) [10:17:52] [PASSED] 0x7D55 (METEORLAKE) [10:17:52] [PASSED] 0x7D60 (METEORLAKE) [10:17:52] [PASSED] 0x7DD5 (METEORLAKE) [10:17:52] [PASSED] 0x6420 (LUNARLAKE) [10:17:52] [PASSED] 0x64A0 (LUNARLAKE) [10:17:52] [PASSED] 0x64B0 (LUNARLAKE) [10:17:52] [PASSED] 0xE202 (BATTLEMAGE) [10:17:52] [PASSED] 0xE209 (BATTLEMAGE) [10:17:52] [PASSED] 0xE20B (BATTLEMAGE) [10:17:52] [PASSED] 0xE20C (BATTLEMAGE) [10:17:52] [PASSED] 0xE20D (BATTLEMAGE) [10:17:52] [PASSED] 0xE210 (BATTLEMAGE) [10:17:52] [PASSED] 0xE211 (BATTLEMAGE) [10:17:52] [PASSED] 0xE212 (BATTLEMAGE) [10:17:52] [PASSED] 0xE216 (BATTLEMAGE) [10:17:52] [PASSED] 0xE220 (BATTLEMAGE) [10:17:52] [PASSED] 0xE221 (BATTLEMAGE) [10:17:52] [PASSED] 0xE222 (BATTLEMAGE) [10:17:52] [PASSED] 0xE223 (BATTLEMAGE) [10:17:52] [PASSED] 0xB080 (PANTHERLAKE) [10:17:52] [PASSED] 0xB081 (PANTHERLAKE) [10:17:52] [PASSED] 0xB082 (PANTHERLAKE) [10:17:52] [PASSED] 0xB083 (PANTHERLAKE) [10:17:52] [PASSED] 0xB084 (PANTHERLAKE) [10:17:52] [PASSED] 0xB085 (PANTHERLAKE) [10:17:52] [PASSED] 0xB086 (PANTHERLAKE) [10:17:52] [PASSED] 0xB087 (PANTHERLAKE) [10:17:52] [PASSED] 0xB08F (PANTHERLAKE) [10:17:52] [PASSED] 0xB090 (PANTHERLAKE) [10:17:52] [PASSED] 0xB0A0 (PANTHERLAKE) [10:17:52] [PASSED] 0xB0B0 (PANTHERLAKE) [10:17:52] [PASSED] 0xFD80 (PANTHERLAKE) [10:17:52] [PASSED] 0xFD81 (PANTHERLAKE) [10:17:52] [PASSED] 0xD740 (NOVALAKE_S) [10:17:52] [PASSED] 0xD741 (NOVALAKE_S) [10:17:52] [PASSED] 0xD742 (NOVALAKE_S) [10:17:52] [PASSED] 0xD743 (NOVALAKE_S) [10:17:52] [PASSED] 0xD744 (NOVALAKE_S) [10:17:52] [PASSED] 0xD745 (NOVALAKE_S) [10:17:52] [PASSED] 0x674C (CRESCENTISLAND) [10:17:52] [PASSED] 0xD750 (NOVALAKE_P) [10:17:52] [PASSED] 0xD751 (NOVALAKE_P) [10:17:52] [PASSED] 0xD752 (NOVALAKE_P) [10:17:52] [PASSED] 0xD753 (NOVALAKE_P) [10:17:52] [PASSED] 0xD754 (NOVALAKE_P) [10:17:52] [PASSED] 0xD755 (NOVALAKE_P) [10:17:52] [PASSED] 0xD756 (NOVALAKE_P) [10:17:52] [PASSED] 0xD757 (NOVALAKE_P) [10:17:52] [PASSED] 0xD75F (NOVALAKE_P) [10:17:52] =============== [PASSED] check_platform_desc =============== [10:17:52] ===================== [PASSED] xe_pci ====================== [10:17:52] =================== xe_rtp (2 subtests) ==================== [10:17:52] =============== xe_rtp_process_to_sr_tests ================ [10:17:52] [PASSED] coalesce-same-reg [10:17:52] [PASSED] no-match-no-add [10:17:52] [PASSED] match-or [10:17:52] [PASSED] match-or-xfail [10:17:52] [PASSED] no-match-no-add-multiple-rules [10:17:52] [PASSED] two-regs-two-entries [10:17:52] [PASSED] clr-one-set-other [10:17:52] [PASSED] set-field [10:17:52] [PASSED] conflict-duplicate [10:17:52] [PASSED] conflict-not-disjoint [10:17:52] [PASSED] conflict-reg-type [10:17:52] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [10:17:52] ================== xe_rtp_process_tests =================== [10:17:52] [PASSED] active1 [10:17:52] [PASSED] active2 [10:17:52] [PASSED] active-inactive [10:17:52] [PASSED] inactive-active [10:17:52] [PASSED] inactive-1st_or_active-inactive [10:17:52] [PASSED] inactive-2nd_or_active-inactive [10:17:52] [PASSED] inactive-last_or_active-inactive [10:17:52] [PASSED] inactive-no_or_active-inactive [10:17:52] ============== [PASSED] xe_rtp_process_tests =============== [10:17:52] ===================== [PASSED] xe_rtp ====================== [10:17:52] ==================== xe_wa (1 subtest) ===================== [10:17:52] ======================== xe_wa_gt ========================= [10:17:52] [PASSED] TIGERLAKE B0 [10:17:52] [PASSED] DG1 A0 [10:17:52] [PASSED] DG1 B0 [10:17:52] [PASSED] ALDERLAKE_S A0 [10:17:52] [PASSED] ALDERLAKE_S B0 [10:17:52] [PASSED] ALDERLAKE_S C0 [10:17:52] [PASSED] ALDERLAKE_S D0 [10:17:52] [PASSED] ALDERLAKE_P A0 [10:17:52] [PASSED] ALDERLAKE_P B0 [10:17:52] [PASSED] ALDERLAKE_P C0 [10:17:52] [PASSED] ALDERLAKE_S RPLS D0 [10:17:52] [PASSED] ALDERLAKE_P RPLU E0 [10:17:52] [PASSED] DG2 G10 C0 [10:17:52] [PASSED] DG2 G11 B1 [10:17:52] [PASSED] DG2 G12 A1 [10:17:52] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:17:52] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:17:52] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [10:17:52] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [10:17:52] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [10:17:52] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [10:17:52] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [10:17:52] ==================== [PASSED] xe_wa_gt ===================== [10:17:52] ====================== [PASSED] xe_wa ====================== [10:17:52] ============================================================ [10:17:52] Testing complete. Ran 597 tests: passed: 579, skipped: 18 [10:17:52] Elapsed time: 36.179s total, 4.245s configuring, 31.318s building, 0.607s running + /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [10:17:52] Configuring KUnit Kernel ... Regenerating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [10:17:54] 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 [10:18:18] Starting KUnit Kernel (1/1)... [10:18:18] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:18:18] ============ drm_test_pick_cmdline (2 subtests) ============ [10:18:18] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [10:18:18] =============== drm_test_pick_cmdline_named =============== [10:18:18] [PASSED] NTSC [10:18:18] [PASSED] NTSC-J [10:18:18] [PASSED] PAL [10:18:18] [PASSED] PAL-M [10:18:18] =========== [PASSED] drm_test_pick_cmdline_named =========== [10:18:18] ============== [PASSED] drm_test_pick_cmdline ============== [10:18:18] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [10:18:18] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [10:18:18] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [10:18:18] =========== drm_validate_clone_mode (2 subtests) =========== [10:18:18] ============== drm_test_check_in_clone_mode =============== [10:18:18] [PASSED] in_clone_mode [10:18:18] [PASSED] not_in_clone_mode [10:18:18] ========== [PASSED] drm_test_check_in_clone_mode =========== [10:18:18] =============== drm_test_check_valid_clones =============== [10:18:18] [PASSED] not_in_clone_mode [10:18:18] [PASSED] valid_clone [10:18:18] [PASSED] invalid_clone [10:18:18] =========== [PASSED] drm_test_check_valid_clones =========== [10:18:18] ============= [PASSED] drm_validate_clone_mode ============= [10:18:18] ============= drm_validate_modeset (1 subtest) ============= [10:18:18] [PASSED] drm_test_check_connector_changed_modeset [10:18:18] ============== [PASSED] drm_validate_modeset =============== [10:18:18] ====== drm_test_bridge_get_current_state (2 subtests) ====== [10:18:18] [PASSED] drm_test_drm_bridge_get_current_state_atomic [10:18:18] [PASSED] drm_test_drm_bridge_get_current_state_legacy [10:18:18] ======== [PASSED] drm_test_bridge_get_current_state ======== [10:18:18] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [10:18:18] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [10:18:18] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [10:18:18] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [10:18:18] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [10:18:18] ============== drm_bridge_alloc (2 subtests) =============== [10:18:18] [PASSED] drm_test_drm_bridge_alloc_basic [10:18:18] [PASSED] drm_test_drm_bridge_alloc_get_put [10:18:18] ================ [PASSED] drm_bridge_alloc ================= [10:18:18] ============= drm_cmdline_parser (40 subtests) ============= [10:18:18] [PASSED] drm_test_cmdline_force_d_only [10:18:18] [PASSED] drm_test_cmdline_force_D_only_dvi [10:18:18] [PASSED] drm_test_cmdline_force_D_only_hdmi [10:18:18] [PASSED] drm_test_cmdline_force_D_only_not_digital [10:18:18] [PASSED] drm_test_cmdline_force_e_only [10:18:18] [PASSED] drm_test_cmdline_res [10:18:18] [PASSED] drm_test_cmdline_res_vesa [10:18:18] [PASSED] drm_test_cmdline_res_vesa_rblank [10:18:18] [PASSED] drm_test_cmdline_res_rblank [10:18:18] [PASSED] drm_test_cmdline_res_bpp [10:18:18] [PASSED] drm_test_cmdline_res_refresh [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [10:18:18] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [10:18:18] [PASSED] drm_test_cmdline_res_margins_force_on [10:18:18] [PASSED] drm_test_cmdline_res_vesa_margins [10:18:18] [PASSED] drm_test_cmdline_name [10:18:18] [PASSED] drm_test_cmdline_name_bpp [10:18:18] [PASSED] drm_test_cmdline_name_option [10:18:18] [PASSED] drm_test_cmdline_name_bpp_option [10:18:18] [PASSED] drm_test_cmdline_rotate_0 [10:18:18] [PASSED] drm_test_cmdline_rotate_90 [10:18:18] [PASSED] drm_test_cmdline_rotate_180 [10:18:18] [PASSED] drm_test_cmdline_rotate_270 [10:18:18] [PASSED] drm_test_cmdline_hmirror [10:18:18] [PASSED] drm_test_cmdline_vmirror [10:18:18] [PASSED] drm_test_cmdline_margin_options [10:18:18] [PASSED] drm_test_cmdline_multiple_options [10:18:18] [PASSED] drm_test_cmdline_bpp_extra_and_option [10:18:18] [PASSED] drm_test_cmdline_extra_and_option [10:18:18] [PASSED] drm_test_cmdline_freestanding_options [10:18:18] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [10:18:18] [PASSED] drm_test_cmdline_panel_orientation [10:18:18] ================ drm_test_cmdline_invalid ================= [10:18:18] [PASSED] margin_only [10:18:18] [PASSED] interlace_only [10:18:18] [PASSED] res_missing_x [10:18:18] [PASSED] res_missing_y [10:18:18] [PASSED] res_bad_y [10:18:18] [PASSED] res_missing_y_bpp [10:18:18] [PASSED] res_bad_bpp [10:18:18] [PASSED] res_bad_refresh [10:18:18] [PASSED] res_bpp_refresh_force_on_off [10:18:18] [PASSED] res_invalid_mode [10:18:18] [PASSED] res_bpp_wrong_place_mode [10:18:18] [PASSED] name_bpp_refresh [10:18:18] [PASSED] name_refresh [10:18:18] [PASSED] name_refresh_wrong_mode [10:18:18] [PASSED] name_refresh_invalid_mode [10:18:18] [PASSED] rotate_multiple [10:18:18] [PASSED] rotate_invalid_val [10:18:18] [PASSED] rotate_truncated [10:18:18] [PASSED] invalid_option [10:18:18] [PASSED] invalid_tv_option [10:18:18] [PASSED] truncated_tv_option [10:18:18] ============ [PASSED] drm_test_cmdline_invalid ============= [10:18:18] =============== drm_test_cmdline_tv_options =============== [10:18:18] [PASSED] NTSC [10:18:18] [PASSED] NTSC_443 [10:18:18] [PASSED] NTSC_J [10:18:18] [PASSED] PAL [10:18:18] [PASSED] PAL_M [10:18:18] [PASSED] PAL_N [10:18:18] [PASSED] SECAM [10:18:18] [PASSED] MONO_525 [10:18:18] [PASSED] MONO_625 [10:18:18] =========== [PASSED] drm_test_cmdline_tv_options =========== [10:18:18] =============== [PASSED] drm_cmdline_parser ================ [10:18:18] ========== drmm_connector_hdmi_init (20 subtests) ========== [10:18:18] [PASSED] drm_test_connector_hdmi_init_valid [10:18:18] [PASSED] drm_test_connector_hdmi_init_bpc_8 [10:18:18] [PASSED] drm_test_connector_hdmi_init_bpc_10 [10:18:18] [PASSED] drm_test_connector_hdmi_init_bpc_12 [10:18:18] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [10:18:18] [PASSED] drm_test_connector_hdmi_init_bpc_null [10:18:18] [PASSED] drm_test_connector_hdmi_init_formats_empty [10:18:18] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [10:18:18] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:18:18] [PASSED] supported_formats=0x9 yuv420_allowed=1 [10:18:18] [PASSED] supported_formats=0x9 yuv420_allowed=0 [10:18:18] [PASSED] supported_formats=0x5 yuv420_allowed=1 [10:18:18] [PASSED] supported_formats=0x5 yuv420_allowed=0 [10:18:18] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:18:18] [PASSED] drm_test_connector_hdmi_init_null_ddc [10:18:18] [PASSED] drm_test_connector_hdmi_init_null_product [10:18:18] [PASSED] drm_test_connector_hdmi_init_null_vendor [10:18:18] [PASSED] drm_test_connector_hdmi_init_product_length_exact [10:18:18] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [10:18:18] [PASSED] drm_test_connector_hdmi_init_product_valid [10:18:18] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [10:18:18] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [10:18:18] [PASSED] drm_test_connector_hdmi_init_vendor_valid [10:18:18] ========= drm_test_connector_hdmi_init_type_valid ========= [10:18:18] [PASSED] HDMI-A [10:18:18] [PASSED] HDMI-B [10:18:18] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [10:18:18] ======== drm_test_connector_hdmi_init_type_invalid ======== [10:18:18] [PASSED] Unknown [10:18:18] [PASSED] VGA [10:18:18] [PASSED] DVI-I [10:18:18] [PASSED] DVI-D [10:18:18] [PASSED] DVI-A [10:18:18] [PASSED] Composite [10:18:18] [PASSED] SVIDEO [10:18:18] [PASSED] LVDS [10:18:18] [PASSED] Component [10:18:18] [PASSED] DIN [10:18:18] [PASSED] DP [10:18:18] [PASSED] TV [10:18:18] [PASSED] eDP [10:18:18] [PASSED] Virtual [10:18:18] [PASSED] DSI [10:18:18] [PASSED] DPI [10:18:18] [PASSED] Writeback [10:18:18] [PASSED] SPI [10:18:18] [PASSED] USB [10:18:18] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [10:18:18] ============ [PASSED] drmm_connector_hdmi_init ============= [10:18:18] ============= drmm_connector_init (3 subtests) ============= [10:18:18] [PASSED] drm_test_drmm_connector_init [10:18:18] [PASSED] drm_test_drmm_connector_init_null_ddc [10:18:18] ========= drm_test_drmm_connector_init_type_valid ========= [10:18:18] [PASSED] Unknown [10:18:18] [PASSED] VGA [10:18:18] [PASSED] DVI-I [10:18:18] [PASSED] DVI-D [10:18:18] [PASSED] DVI-A [10:18:18] [PASSED] Composite [10:18:18] [PASSED] SVIDEO [10:18:18] [PASSED] LVDS [10:18:18] [PASSED] Component [10:18:18] [PASSED] DIN [10:18:18] [PASSED] DP [10:18:18] [PASSED] HDMI-A [10:18:18] [PASSED] HDMI-B [10:18:18] [PASSED] TV [10:18:18] [PASSED] eDP [10:18:18] [PASSED] Virtual [10:18:18] [PASSED] DSI [10:18:18] [PASSED] DPI [10:18:18] [PASSED] Writeback [10:18:18] [PASSED] SPI [10:18:18] [PASSED] USB [10:18:18] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [10:18:18] =============== [PASSED] drmm_connector_init =============== [10:18:18] ========= drm_connector_dynamic_init (6 subtests) ========== [10:18:18] [PASSED] drm_test_drm_connector_dynamic_init [10:18:18] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [10:18:18] [PASSED] drm_test_drm_connector_dynamic_init_not_added [10:18:18] [PASSED] drm_test_drm_connector_dynamic_init_properties [10:18:18] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [10:18:18] [PASSED] Unknown [10:18:18] [PASSED] VGA [10:18:18] [PASSED] DVI-I [10:18:18] [PASSED] DVI-D [10:18:18] [PASSED] DVI-A [10:18:18] [PASSED] Composite [10:18:18] [PASSED] SVIDEO [10:18:18] [PASSED] LVDS [10:18:18] [PASSED] Component [10:18:18] [PASSED] DIN [10:18:18] [PASSED] DP [10:18:18] [PASSED] HDMI-A [10:18:18] [PASSED] HDMI-B [10:18:18] [PASSED] TV [10:18:18] [PASSED] eDP [10:18:18] [PASSED] Virtual [10:18:18] [PASSED] DSI [10:18:18] [PASSED] DPI [10:18:18] [PASSED] Writeback [10:18:18] [PASSED] SPI [10:18:18] [PASSED] USB [10:18:18] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [10:18:18] ======== drm_test_drm_connector_dynamic_init_name ========= [10:18:18] [PASSED] Unknown [10:18:18] [PASSED] VGA [10:18:18] [PASSED] DVI-I [10:18:18] [PASSED] DVI-D [10:18:18] [PASSED] DVI-A [10:18:18] [PASSED] Composite [10:18:18] [PASSED] SVIDEO [10:18:18] [PASSED] LVDS [10:18:18] [PASSED] Component [10:18:18] [PASSED] DIN [10:18:18] [PASSED] DP [10:18:18] [PASSED] HDMI-A [10:18:18] [PASSED] HDMI-B [10:18:18] [PASSED] TV [10:18:18] [PASSED] eDP [10:18:18] [PASSED] Virtual [10:18:18] [PASSED] DSI [10:18:18] [PASSED] DPI [10:18:18] [PASSED] Writeback [10:18:18] [PASSED] SPI [10:18:18] [PASSED] USB [10:18:18] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [10:18:18] =========== [PASSED] drm_connector_dynamic_init ============ [10:18:18] ==== drm_connector_dynamic_register_early (4 subtests) ===== [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [10:18:18] ====== [PASSED] drm_connector_dynamic_register_early ======= [10:18:18] ======= drm_connector_dynamic_register (7 subtests) ======== [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_on_list [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_no_init [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [10:18:18] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [10:18:18] ========= [PASSED] drm_connector_dynamic_register ========== [10:18:18] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [10:18:18] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [10:18:18] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [10:18:18] === [PASSED] drm_connector_attach_broadcast_rgb_property === [10:18:18] ========== drm_get_tv_mode_from_name (2 subtests) ========== [10:18:18] ========== drm_test_get_tv_mode_from_name_valid =========== [10:18:18] [PASSED] NTSC [10:18:18] [PASSED] NTSC-443 [10:18:18] [PASSED] NTSC-J [10:18:18] [PASSED] PAL [10:18:18] [PASSED] PAL-M [10:18:18] [PASSED] PAL-N [10:18:18] [PASSED] SECAM [10:18:18] [PASSED] Mono [10:18:18] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [10:18:18] [PASSED] drm_test_get_tv_mode_from_name_truncated [10:18:18] ============ [PASSED] drm_get_tv_mode_from_name ============ [10:18:18] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [10:18:18] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [10:18:18] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [10:18:18] [PASSED] VIC 96 [10:18:18] [PASSED] VIC 97 [10:18:18] [PASSED] VIC 101 [10:18:18] [PASSED] VIC 102 [10:18:18] [PASSED] VIC 106 [10:18:18] [PASSED] VIC 107 [10:18:18] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [10:18:18] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [10:18:18] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [10:18:18] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [10:18:18] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [10:18:18] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [10:18:18] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [10:18:18] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [10:18:18] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [10:18:18] [PASSED] Automatic [10:18:18] [PASSED] Full [10:18:18] [PASSED] Limited 16:235 [10:18:18] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [10:18:18] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [10:18:18] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [10:18:18] == drm_hdmi_connector_get_output_format_name (2 subtests) == [10:18:18] === drm_test_drm_hdmi_connector_get_output_format_name ==== [10:18:18] [PASSED] RGB [10:18:18] [PASSED] YUV 4:2:0 [10:18:18] [PASSED] YUV 4:2:2 [10:18:18] [PASSED] YUV 4:4:4 [10:18:18] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [10:18:18] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [10:18:18] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [10:18:18] ============= drm_damage_helper (21 subtests) ============== [10:18:18] [PASSED] drm_test_damage_iter_no_damage [10:18:18] [PASSED] drm_test_damage_iter_no_damage_fractional_src [10:18:18] [PASSED] drm_test_damage_iter_no_damage_src_moved [10:18:18] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [10:18:18] [PASSED] drm_test_damage_iter_no_damage_not_visible [10:18:18] [PASSED] drm_test_damage_iter_no_damage_no_crtc [10:18:18] [PASSED] drm_test_damage_iter_no_damage_no_fb [10:18:18] [PASSED] drm_test_damage_iter_simple_damage [10:18:18] [PASSED] drm_test_damage_iter_single_damage [10:18:18] [PASSED] drm_test_damage_iter_single_damage_intersect_src [10:18:18] [PASSED] drm_test_damage_iter_single_damage_outside_src [10:18:18] [PASSED] drm_test_damage_iter_single_damage_fractional_src [10:18:18] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [10:18:18] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [10:18:18] [PASSED] drm_test_damage_iter_single_damage_src_moved [10:18:18] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [10:18:18] [PASSED] drm_test_damage_iter_damage [10:18:18] [PASSED] drm_test_damage_iter_damage_one_intersect [10:18:18] [PASSED] drm_test_damage_iter_damage_one_outside [10:18:18] [PASSED] drm_test_damage_iter_damage_src_moved [10:18:18] [PASSED] drm_test_damage_iter_damage_not_visible [10:18:18] ================ [PASSED] drm_damage_helper ================ [10:18:18] ============== drm_dp_mst_helper (3 subtests) ============== [10:18:18] ============== drm_test_dp_mst_calc_pbn_mode ============== [10:18:18] [PASSED] Clock 154000 BPP 30 DSC disabled [10:18:18] [PASSED] Clock 234000 BPP 30 DSC disabled [10:18:18] [PASSED] Clock 297000 BPP 24 DSC disabled [10:18:18] [PASSED] Clock 332880 BPP 24 DSC enabled [10:18:18] [PASSED] Clock 324540 BPP 24 DSC enabled [10:18:18] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [10:18:18] ============== drm_test_dp_mst_calc_pbn_div =============== [10:18:18] [PASSED] Link rate 2000000 lane count 4 [10:18:18] [PASSED] Link rate 2000000 lane count 2 [10:18:18] [PASSED] Link rate 2000000 lane count 1 [10:18:18] [PASSED] Link rate 1350000 lane count 4 [10:18:18] [PASSED] Link rate 1350000 lane count 2 [10:18:18] [PASSED] Link rate 1350000 lane count 1 [10:18:18] [PASSED] Link rate 1000000 lane count 4 [10:18:18] [PASSED] Link rate 1000000 lane count 2 [10:18:18] [PASSED] Link rate 1000000 lane count 1 [10:18:18] [PASSED] Link rate 810000 lane count 4 [10:18:18] [PASSED] Link rate 810000 lane count 2 [10:18:18] [PASSED] Link rate 810000 lane count 1 [10:18:18] [PASSED] Link rate 540000 lane count 4 [10:18:18] [PASSED] Link rate 540000 lane count 2 [10:18:18] [PASSED] Link rate 540000 lane count 1 [10:18:18] [PASSED] Link rate 270000 lane count 4 [10:18:18] [PASSED] Link rate 270000 lane count 2 [10:18:18] [PASSED] Link rate 270000 lane count 1 [10:18:18] [PASSED] Link rate 162000 lane count 4 [10:18:18] [PASSED] Link rate 162000 lane count 2 [10:18:18] [PASSED] Link rate 162000 lane count 1 [10:18:18] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [10:18:18] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [10:18:18] [PASSED] DP_ENUM_PATH_RESOURCES with port number [10:18:18] [PASSED] DP_POWER_UP_PHY with port number [10:18:18] [PASSED] DP_POWER_DOWN_PHY with port number [10:18:18] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [10:18:18] [PASSED] DP_ALLOCATE_PAYLOAD with port number [10:18:18] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [10:18:18] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [10:18:18] [PASSED] DP_QUERY_PAYLOAD with port number [10:18:18] [PASSED] DP_QUERY_PAYLOAD with VCPI [10:18:18] [PASSED] DP_REMOTE_DPCD_READ with port number [10:18:18] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [10:18:18] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [10:18:18] [PASSED] DP_REMOTE_DPCD_WRITE with port number [10:18:18] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [10:18:18] [PASSED] DP_REMOTE_DPCD_WRITE with data array [10:18:18] [PASSED] DP_REMOTE_I2C_READ with port number [10:18:18] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [10:18:18] [PASSED] DP_REMOTE_I2C_READ with transactions array [10:18:18] [PASSED] DP_REMOTE_I2C_WRITE with port number [10:18:18] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [10:18:18] [PASSED] DP_REMOTE_I2C_WRITE with data array [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [10:18:18] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [10:18:18] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [10:18:18] ================ [PASSED] drm_dp_mst_helper ================ [10:18:18] ================== drm_exec (7 subtests) =================== [10:18:18] [PASSED] sanitycheck [10:18:18] [PASSED] test_lock [10:18:18] [PASSED] test_lock_unlock [10:18:18] [PASSED] test_duplicates [10:18:18] [PASSED] test_prepare [10:18:18] [PASSED] test_prepare_array [10:18:18] [PASSED] test_multiple_loops [10:18:18] ==================== [PASSED] drm_exec ===================== [10:18:18] =========== drm_format_helper_test (17 subtests) =========== [10:18:18] ============== drm_test_fb_xrgb8888_to_gray8 ============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [10:18:18] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [10:18:18] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [10:18:18] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [10:18:18] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [10:18:18] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [10:18:18] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [10:18:18] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [10:18:18] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [10:18:18] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [10:18:18] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [10:18:18] ============== drm_test_fb_xrgb8888_to_mono =============== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [10:18:18] ==================== drm_test_fb_swab ===================== [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ================ [PASSED] drm_test_fb_swab ================= [10:18:18] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [10:18:18] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [10:18:18] [PASSED] single_pixel_source_buffer [10:18:18] [PASSED] single_pixel_clip_rectangle [10:18:18] [PASSED] well_known_colors [10:18:18] [PASSED] destination_pitch [10:18:18] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [10:18:18] ================= drm_test_fb_clip_offset ================= [10:18:18] [PASSED] pass through [10:18:18] [PASSED] horizontal offset [10:18:18] [PASSED] vertical offset [10:18:18] [PASSED] horizontal and vertical offset [10:18:18] [PASSED] horizontal offset (custom pitch) [10:18:18] [PASSED] vertical offset (custom pitch) [10:18:18] [PASSED] horizontal and vertical offset (custom pitch) [10:18:18] ============= [PASSED] drm_test_fb_clip_offset ============= [10:18:18] =================== drm_test_fb_memcpy ==================== [10:18:18] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [10:18:18] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [10:18:18] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [10:18:18] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [10:18:18] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [10:18:18] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [10:18:18] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [10:18:18] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [10:18:18] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [10:18:18] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [10:18:18] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [10:18:18] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [10:18:18] =============== [PASSED] drm_test_fb_memcpy ================ [10:18:18] ============= [PASSED] drm_format_helper_test ============== [10:18:18] ================= drm_format (18 subtests) ================= [10:18:18] [PASSED] drm_test_format_block_width_invalid [10:18:18] [PASSED] drm_test_format_block_width_one_plane [10:18:18] [PASSED] drm_test_format_block_width_two_plane [10:18:18] [PASSED] drm_test_format_block_width_three_plane [10:18:18] [PASSED] drm_test_format_block_width_tiled [10:18:18] [PASSED] drm_test_format_block_height_invalid [10:18:18] [PASSED] drm_test_format_block_height_one_plane [10:18:18] [PASSED] drm_test_format_block_height_two_plane [10:18:18] [PASSED] drm_test_format_block_height_three_plane [10:18:18] [PASSED] drm_test_format_block_height_tiled [10:18:18] [PASSED] drm_test_format_min_pitch_invalid [10:18:18] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [10:18:18] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [10:18:18] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [10:18:18] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [10:18:18] [PASSED] drm_test_format_min_pitch_two_plane [10:18:18] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [10:18:18] [PASSED] drm_test_format_min_pitch_tiled [10:18:18] =================== [PASSED] drm_format ==================== [10:18:18] ============== drm_framebuffer (10 subtests) =============== [10:18:18] ========== drm_test_framebuffer_check_src_coords ========== [10:18:18] [PASSED] Success: source fits into fb [10:18:18] [PASSED] Fail: overflowing fb with x-axis coordinate [10:18:18] [PASSED] Fail: overflowing fb with y-axis coordinate [10:18:18] [PASSED] Fail: overflowing fb with source width [10:18:18] [PASSED] Fail: overflowing fb with source height [10:18:18] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [10:18:18] [PASSED] drm_test_framebuffer_cleanup [10:18:18] =============== drm_test_framebuffer_create =============== [10:18:18] [PASSED] ABGR8888 normal sizes [10:18:18] [PASSED] ABGR8888 max sizes [10:18:18] [PASSED] ABGR8888 pitch greater than min required [10:18:18] [PASSED] ABGR8888 pitch less than min required [10:18:18] [PASSED] ABGR8888 Invalid width [10:18:18] [PASSED] ABGR8888 Invalid buffer handle [10:18:18] [PASSED] No pixel format [10:18:18] [PASSED] ABGR8888 Width 0 [10:18:18] [PASSED] ABGR8888 Height 0 [10:18:18] [PASSED] ABGR8888 Out of bound height * pitch combination [10:18:18] [PASSED] ABGR8888 Large buffer offset [10:18:18] [PASSED] ABGR8888 Buffer offset for inexistent plane [10:18:18] [PASSED] ABGR8888 Invalid flag [10:18:18] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [10:18:18] [PASSED] ABGR8888 Valid buffer modifier [10:18:18] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [10:18:18] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] NV12 Normal sizes [10:18:18] [PASSED] NV12 Max sizes [10:18:18] [PASSED] NV12 Invalid pitch [10:18:18] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [10:18:18] [PASSED] NV12 different modifier per-plane [10:18:18] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [10:18:18] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] NV12 Modifier for inexistent plane [10:18:18] [PASSED] NV12 Handle for inexistent plane [10:18:18] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [10:18:18] [PASSED] YVU420 Normal sizes [10:18:18] [PASSED] YVU420 Max sizes [10:18:18] [PASSED] YVU420 Invalid pitch [10:18:18] [PASSED] YVU420 Different pitches [10:18:18] [PASSED] YVU420 Different buffer offsets/pitches [10:18:18] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [10:18:18] [PASSED] YVU420 Valid modifier [10:18:18] [PASSED] YVU420 Different modifiers per plane [10:18:18] [PASSED] YVU420 Modifier for inexistent plane [10:18:18] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [10:18:18] [PASSED] X0L2 Normal sizes [10:18:18] [PASSED] X0L2 Max sizes [10:18:18] [PASSED] X0L2 Invalid pitch [10:18:18] [PASSED] X0L2 Pitch greater than minimum required [10:18:18] [PASSED] X0L2 Handle for inexistent plane [10:18:18] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [10:18:18] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [10:18:18] [PASSED] X0L2 Valid modifier [10:18:18] [PASSED] X0L2 Modifier for inexistent plane [10:18:18] =========== [PASSED] drm_test_framebuffer_create =========== [10:18:18] [PASSED] drm_test_framebuffer_free [10:18:18] [PASSED] drm_test_framebuffer_init [10:18:18] [PASSED] drm_test_framebuffer_init_bad_format [10:18:18] [PASSED] drm_test_framebuffer_init_dev_mismatch [10:18:18] [PASSED] drm_test_framebuffer_lookup [10:18:18] [PASSED] drm_test_framebuffer_lookup_inexistent [10:18:18] [PASSED] drm_test_framebuffer_modifiers_not_supported [10:18:18] ================= [PASSED] drm_framebuffer ================= [10:18:18] ================ drm_gem_shmem (8 subtests) ================ [10:18:18] [PASSED] drm_gem_shmem_test_obj_create [10:18:18] [PASSED] drm_gem_shmem_test_obj_create_private [10:18:18] [PASSED] drm_gem_shmem_test_pin_pages [10:18:18] [PASSED] drm_gem_shmem_test_vmap [10:18:18] [PASSED] drm_gem_shmem_test_get_sg_table [10:18:18] [PASSED] drm_gem_shmem_test_get_pages_sgt [10:18:18] [PASSED] drm_gem_shmem_test_madvise [10:18:18] [PASSED] drm_gem_shmem_test_purge [10:18:18] ================== [PASSED] drm_gem_shmem ================== [10:18:18] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [10:18:18] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [10:18:18] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [10:18:18] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [10:18:18] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [10:18:18] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [10:18:18] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [10:18:18] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [10:18:18] [PASSED] Automatic [10:18:18] [PASSED] Full [10:18:18] [PASSED] Limited 16:235 [10:18:18] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [10:18:18] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [10:18:18] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [10:18:18] [PASSED] drm_test_check_disable_connector [10:18:18] [PASSED] drm_test_check_hdmi_funcs_reject_rate [10:18:18] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [10:18:18] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [10:18:18] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [10:18:18] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [10:18:18] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [10:18:18] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [10:18:18] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [10:18:18] [PASSED] drm_test_check_output_bpc_dvi [10:18:18] [PASSED] drm_test_check_output_bpc_format_vic_1 [10:18:18] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [10:18:18] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [10:18:18] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [10:18:18] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [10:18:18] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [10:18:18] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [10:18:18] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [10:18:18] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [10:18:18] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [10:18:18] [PASSED] drm_test_check_broadcast_rgb_value [10:18:18] [PASSED] drm_test_check_bpc_8_value [10:18:18] [PASSED] drm_test_check_bpc_10_value [10:18:18] [PASSED] drm_test_check_bpc_12_value [10:18:18] [PASSED] drm_test_check_format_value [10:18:18] [PASSED] drm_test_check_tmds_char_value [10:18:18] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [10:18:18] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [10:18:18] [PASSED] drm_test_check_mode_valid [10:18:18] [PASSED] drm_test_check_mode_valid_reject [10:18:18] [PASSED] drm_test_check_mode_valid_reject_rate [10:18:18] [PASSED] drm_test_check_mode_valid_reject_max_clock [10:18:18] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [10:18:18] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [10:18:18] [PASSED] drm_test_check_infoframes [10:18:18] [PASSED] drm_test_check_reject_avi_infoframe [10:18:18] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [10:18:18] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [10:18:18] [PASSED] drm_test_check_reject_audio_infoframe [10:18:18] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [10:18:18] ================= drm_managed (2 subtests) ================= [10:18:18] [PASSED] drm_test_managed_release_action [10:18:18] [PASSED] drm_test_managed_run_action [10:18:18] =================== [PASSED] drm_managed =================== [10:18:18] =================== drm_mm (6 subtests) ==================== [10:18:18] [PASSED] drm_test_mm_init [10:18:18] [PASSED] drm_test_mm_debug [10:18:18] [PASSED] drm_test_mm_align32 [10:18:18] [PASSED] drm_test_mm_align64 [10:18:18] [PASSED] drm_test_mm_lowest [10:18:18] [PASSED] drm_test_mm_highest [10:18:18] ===================== [PASSED] drm_mm ====================== [10:18:18] ============= drm_modes_analog_tv (5 subtests) ============= [10:18:18] [PASSED] drm_test_modes_analog_tv_mono_576i [10:18:18] [PASSED] drm_test_modes_analog_tv_ntsc_480i [10:18:18] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [10:18:18] [PASSED] drm_test_modes_analog_tv_pal_576i [10:18:18] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [10:18:18] =============== [PASSED] drm_modes_analog_tv =============== [10:18:18] ============== drm_plane_helper (2 subtests) =============== [10:18:18] =============== drm_test_check_plane_state ================ [10:18:18] [PASSED] clipping_simple [10:18:18] [PASSED] clipping_rotate_reflect [10:18:18] [PASSED] positioning_simple [10:18:18] [PASSED] upscaling [10:18:18] [PASSED] downscaling [10:18:18] [PASSED] rounding1 [10:18:18] [PASSED] rounding2 [10:18:18] [PASSED] rounding3 [10:18:18] [PASSED] rounding4 [10:18:18] =========== [PASSED] drm_test_check_plane_state ============ [10:18:18] =========== drm_test_check_invalid_plane_state ============ [10:18:18] [PASSED] positioning_invalid [10:18:18] [PASSED] upscaling_invalid [10:18:18] [PASSED] downscaling_invalid [10:18:18] ======= [PASSED] drm_test_check_invalid_plane_state ======== [10:18:18] ================ [PASSED] drm_plane_helper ================= [10:18:18] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [10:18:18] ====== drm_test_connector_helper_tv_get_modes_check ======= [10:18:18] [PASSED] None [10:18:18] [PASSED] PAL [10:18:18] [PASSED] NTSC [10:18:18] [PASSED] Both, NTSC Default [10:18:18] [PASSED] Both, PAL Default [10:18:18] [PASSED] Both, NTSC Default, with PAL on command-line [10:18:18] [PASSED] Both, PAL Default, with NTSC on command-line [10:18:18] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [10:18:18] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [10:18:18] ================== drm_rect (9 subtests) =================== [10:18:18] [PASSED] drm_test_rect_clip_scaled_div_by_zero [10:18:18] [PASSED] drm_test_rect_clip_scaled_not_clipped [10:18:18] [PASSED] drm_test_rect_clip_scaled_clipped [10:18:18] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [10:18:18] ================= drm_test_rect_intersect ================= [10:18:18] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [10:18:18] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [10:18:18] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [10:18:18] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [10:18:18] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [10:18:18] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [10:18:18] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [10:18:18] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [10:18:18] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [10:18:18] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [10:18:18] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [10:18:18] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [10:18:18] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [10:18:18] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [10:18:18] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [10:18:18] ============= [PASSED] drm_test_rect_intersect ============= [10:18:18] ================ drm_test_rect_calc_hscale ================ [10:18:18] [PASSED] normal use [10:18:18] [PASSED] out of max range [10:18:18] [PASSED] out of min range [10:18:18] [PASSED] zero dst [10:18:18] [PASSED] negative src [10:18:18] [PASSED] negative dst [10:18:18] ============ [PASSED] drm_test_rect_calc_hscale ============ [10:18:18] ================ drm_test_rect_calc_vscale ================ [10:18:18] [PASSED] normal use [10:18:18] [PASSED] out of max range [10:18:18] [PASSED] out of min range [10:18:18] [PASSED] zero dst [10:18:18] [PASSED] negative src [10:18:18] [PASSED] negative dst [10:18:18] ============ [PASSED] drm_test_rect_calc_vscale ============ [10:18:18] ================== drm_test_rect_rotate =================== [10:18:18] [PASSED] reflect-x [10:18:18] [PASSED] reflect-y [10:18:18] [PASSED] rotate-0 [10:18:18] [PASSED] rotate-90 [10:18:18] [PASSED] rotate-180 [10:18:18] [PASSED] rotate-270 [10:18:18] ============== [PASSED] drm_test_rect_rotate =============== [10:18:18] ================ drm_test_rect_rotate_inv ================= [10:18:18] [PASSED] reflect-x [10:18:18] [PASSED] reflect-y [10:18:18] [PASSED] rotate-0 [10:18:18] [PASSED] rotate-90 [10:18:18] [PASSED] rotate-180 [10:18:18] [PASSED] rotate-270 [10:18:18] ============ [PASSED] drm_test_rect_rotate_inv ============= [10:18:18] ==================== [PASSED] drm_rect ===================== [10:18:18] ============ drm_sysfb_modeset_test (1 subtest) ============ [10:18:18] ============ drm_test_sysfb_build_fourcc_list ============= [10:18:18] [PASSED] no native formats [10:18:18] [PASSED] XRGB8888 as native format [10:18:18] [PASSED] remove duplicates [10:18:18] [PASSED] convert alpha formats [10:18:18] [PASSED] random formats [10:18:18] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [10:18:18] ============= [PASSED] drm_sysfb_modeset_test ============== [10:18:18] ================== drm_fixp (2 subtests) =================== [10:18:18] [PASSED] drm_test_int2fixp [10:18:18] [PASSED] drm_test_sm2fixp [10:18:18] ==================== [PASSED] drm_fixp ===================== [10:18:18] ============================================================ [10:18:18] Testing complete. Ran 621 tests: passed: 621 [10:18:18] Elapsed time: 26.114s total, 1.753s configuring, 24.196s building, 0.119s running + /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [10:18:18] Configuring KUnit Kernel ... Regenerating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [10:18:20] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:18:30] Starting KUnit Kernel (1/1)... [10:18:30] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:18:30] ================= ttm_device (5 subtests) ================== [10:18:30] [PASSED] ttm_device_init_basic [10:18:30] [PASSED] ttm_device_init_multiple [10:18:30] [PASSED] ttm_device_fini_basic [10:18:30] [PASSED] ttm_device_init_no_vma_man [10:18:30] ================== ttm_device_init_pools ================== [10:18:30] [PASSED] No DMA allocations, no DMA32 required [10:18:30] [PASSED] DMA allocations, DMA32 required [10:18:30] [PASSED] No DMA allocations, DMA32 required [10:18:30] [PASSED] DMA allocations, no DMA32 required [10:18:30] ============== [PASSED] ttm_device_init_pools ============== [10:18:30] =================== [PASSED] ttm_device ==================== [10:18:30] ================== ttm_pool (8 subtests) =================== [10:18:30] ================== ttm_pool_alloc_basic =================== [10:18:30] [PASSED] One page [10:18:30] [PASSED] More than one page [10:18:30] [PASSED] Above the allocation limit [10:18:30] [PASSED] One page, with coherent DMA mappings enabled [10:18:30] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:18:30] ============== [PASSED] ttm_pool_alloc_basic =============== [10:18:30] ============== ttm_pool_alloc_basic_dma_addr ============== [10:18:30] [PASSED] One page [10:18:30] [PASSED] More than one page [10:18:30] [PASSED] Above the allocation limit [10:18:30] [PASSED] One page, with coherent DMA mappings enabled [10:18:30] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:18:30] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [10:18:30] [PASSED] ttm_pool_alloc_order_caching_match [10:18:30] [PASSED] ttm_pool_alloc_caching_mismatch [10:18:30] [PASSED] ttm_pool_alloc_order_mismatch [10:18:30] [PASSED] ttm_pool_free_dma_alloc [10:18:30] [PASSED] ttm_pool_free_no_dma_alloc [10:18:30] [PASSED] ttm_pool_fini_basic [10:18:30] ==================== [PASSED] ttm_pool ===================== [10:18:30] ================ ttm_resource (8 subtests) ================= [10:18:30] ================= ttm_resource_init_basic ================= [10:18:30] [PASSED] Init resource in TTM_PL_SYSTEM [10:18:30] [PASSED] Init resource in TTM_PL_VRAM [10:18:30] [PASSED] Init resource in a private placement [10:18:30] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [10:18:30] ============= [PASSED] ttm_resource_init_basic ============= [10:18:30] [PASSED] ttm_resource_init_pinned [10:18:30] [PASSED] ttm_resource_fini_basic [10:18:30] [PASSED] ttm_resource_manager_init_basic [10:18:30] [PASSED] ttm_resource_manager_usage_basic [10:18:30] [PASSED] ttm_resource_manager_set_used_basic [10:18:30] [PASSED] ttm_sys_man_alloc_basic [10:18:30] [PASSED] ttm_sys_man_free_basic [10:18:30] ================== [PASSED] ttm_resource =================== [10:18:30] =================== ttm_tt (15 subtests) =================== [10:18:30] ==================== ttm_tt_init_basic ==================== [10:18:30] [PASSED] Page-aligned size [10:18:30] [PASSED] Extra pages requested [10:18:30] ================ [PASSED] ttm_tt_init_basic ================ [10:18:30] [PASSED] ttm_tt_init_misaligned [10:18:30] [PASSED] ttm_tt_fini_basic [10:18:30] [PASSED] ttm_tt_fini_sg [10:18:30] [PASSED] ttm_tt_fini_shmem [10:18:30] [PASSED] ttm_tt_create_basic [10:18:30] [PASSED] ttm_tt_create_invalid_bo_type [10:18:30] [PASSED] ttm_tt_create_ttm_exists [10:18:30] [PASSED] ttm_tt_create_failed [10:18:30] [PASSED] ttm_tt_destroy_basic [10:18:30] [PASSED] ttm_tt_populate_null_ttm [10:18:30] [PASSED] ttm_tt_populate_populated_ttm [10:18:30] [PASSED] ttm_tt_unpopulate_basic [10:18:30] [PASSED] ttm_tt_unpopulate_empty_ttm [10:18:30] [PASSED] ttm_tt_swapin_basic [10:18:30] ===================== [PASSED] ttm_tt ====================== [10:18:30] =================== ttm_bo (14 subtests) =================== [10:18:30] =========== ttm_bo_reserve_optimistic_no_ticket =========== [10:18:30] [PASSED] Cannot be interrupted and sleeps [10:18:30] [PASSED] Cannot be interrupted, locks straight away [10:18:30] [PASSED] Can be interrupted, sleeps [10:18:30] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [10:18:30] [PASSED] ttm_bo_reserve_locked_no_sleep [10:18:30] [PASSED] ttm_bo_reserve_no_wait_ticket [10:18:30] [PASSED] ttm_bo_reserve_double_resv [10:18:30] [PASSED] ttm_bo_reserve_interrupted [10:18:30] [PASSED] ttm_bo_reserve_deadlock [10:18:30] [PASSED] ttm_bo_unreserve_basic [10:18:30] [PASSED] ttm_bo_unreserve_pinned [10:18:30] [PASSED] ttm_bo_unreserve_bulk [10:18:30] [PASSED] ttm_bo_fini_basic [10:18:30] [PASSED] ttm_bo_fini_shared_resv [10:18:30] [PASSED] ttm_bo_pin_basic [10:18:30] [PASSED] ttm_bo_pin_unpin_resource [10:18:30] [PASSED] ttm_bo_multiple_pin_one_unpin [10:18:30] ===================== [PASSED] ttm_bo ====================== [10:18:30] ============== ttm_bo_validate (22 subtests) =============== [10:18:30] ============== ttm_bo_init_reserved_sys_man =============== [10:18:30] [PASSED] Buffer object for userspace [10:18:30] [PASSED] Kernel buffer object [10:18:30] [PASSED] Shared buffer object [10:18:30] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [10:18:30] ============== ttm_bo_init_reserved_mock_man ============== [10:18:30] [PASSED] Buffer object for userspace [10:18:30] [PASSED] Kernel buffer object [10:18:30] [PASSED] Shared buffer object [10:18:30] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [10:18:30] [PASSED] ttm_bo_init_reserved_resv [10:18:30] ================== ttm_bo_validate_basic ================== [10:18:30] [PASSED] Buffer object for userspace [10:18:30] [PASSED] Kernel buffer object [10:18:30] [PASSED] Shared buffer object [10:18:30] ============== [PASSED] ttm_bo_validate_basic ============== [10:18:30] [PASSED] ttm_bo_validate_invalid_placement [10:18:30] ============= ttm_bo_validate_same_placement ============== [10:18:30] [PASSED] System manager [10:18:30] [PASSED] VRAM manager [10:18:30] ========= [PASSED] ttm_bo_validate_same_placement ========== [10:18:30] [PASSED] ttm_bo_validate_failed_alloc [10:18:30] [PASSED] ttm_bo_validate_pinned [10:18:30] [PASSED] ttm_bo_validate_busy_placement [10:18:30] ================ ttm_bo_validate_multihop ================= [10:18:30] [PASSED] Buffer object for userspace [10:18:30] [PASSED] Kernel buffer object [10:18:30] [PASSED] Shared buffer object [10:18:30] ============ [PASSED] ttm_bo_validate_multihop ============= [10:18:30] ========== ttm_bo_validate_no_placement_signaled ========== [10:18:30] [PASSED] Buffer object in system domain, no page vector [10:18:30] [PASSED] Buffer object in system domain with an existing page vector [10:18:30] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [10:18:30] ======== ttm_bo_validate_no_placement_not_signaled ======== [10:18:30] [PASSED] Buffer object for userspace [10:18:30] [PASSED] Kernel buffer object [10:18:30] [PASSED] Shared buffer object [10:18:30] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [10:18:30] [PASSED] ttm_bo_validate_move_fence_signaled [10:18:30] ========= ttm_bo_validate_move_fence_not_signaled ========= [10:18:30] [PASSED] Waits for GPU [10:18:30] [PASSED] Tries to lock straight away [10:18:30] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [10:18:30] [PASSED] ttm_bo_validate_swapout [10:18:30] [PASSED] ttm_bo_validate_happy_evict [10:18:30] [PASSED] ttm_bo_validate_all_pinned_evict [10:18:30] [PASSED] ttm_bo_validate_allowed_only_evict [10:18:30] [PASSED] ttm_bo_validate_deleted_evict [10:18:30] [PASSED] ttm_bo_validate_busy_domain_evict [10:18:30] [PASSED] ttm_bo_validate_evict_gutting [10:18:30] [PASSED] ttm_bo_validate_recrusive_evict [10:18:30] ================= [PASSED] ttm_bo_validate ================= [10:18:30] ============================================================ [10:18:30] Testing complete. Ran 102 tests: passed: 102 [10:18:30] Elapsed time: 11.676s total, 1.675s configuring, 9.735s building, 0.227s 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 (rev2) 2026-04-30 10:11 [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav 2026-04-30 10:18 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork @ 2026-04-30 11:08 ` Patchwork 2026-04-30 19:36 ` [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost 2026-04-30 21:10 ` ✗ Xe.CI.FULL: failure for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-04-30 11:08 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 (rev2) URL : https://patchwork.freedesktop.org/series/165688/ State : success == Summary == CI Bug Log - changes from xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf_BAT -> xe-pw-165688v2_BAT ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (13 -> 13) ------------------------------ No changes in participating hosts Changes ------- No changes found Build changes ------------- * Linux: xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf -> xe-pw-165688v2 IGT_8879: 02b0e01dd9a5a3ab1efe976bb8c4f13cfcdbab1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf: 24d77c4ca7f78614b0978654f1d96763aae651bf xe-pw-165688v2: 165688v2 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/index.html [-- Attachment #2: Type: text/html, Size: 1526 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters 2026-04-30 10:11 [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav 2026-04-30 10:18 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork 2026-04-30 11:08 ` ✓ Xe.CI.BAT: " Patchwork @ 2026-04-30 19:36 ` Matthew Brost 2026-05-01 18:08 ` Matthew Brost 2026-04-30 21:10 ` ✗ Xe.CI.FULL: failure for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork 3 siblings, 1 reply; 7+ messages in thread From: Matthew Brost @ 2026-04-30 19:36 UTC (permalink / raw) To: Arvind Yadav Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, tejas.upadhyay On Thu, Apr 30, 2026 at 03:41:30PM +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. > > 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). > > Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> > Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> > Cc: 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 | 27 ++++- > drivers/gpu/drm/xe/xe_dma_buf.c | 28 ++++- > drivers/gpu/drm/xe/xe_vm.c | 9 +- > drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++--------------------------- > drivers/gpu/drm/xe/xe_vm_madvise.h | 2 - > 7 files changed, 155 insertions(+), 167 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..6756d7820aca 100644 > --- a/drivers/gpu/drm/xe/xe_bo_types.h > +++ b/drivers/gpu/drm/xe/xe_bo_types.h > @@ -111,10 +111,31 @@ 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 c3836f6eab35..12457173ba85 100644 > --- a/drivers/gpu/drm/xe/xe_vm.c > +++ b/drivers/gpu/drm/xe/xe_vm.c > @@ -1131,6 +1131,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 +1212,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); > 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 v2] drm/xe/madvise: Track purgeability with BO-local counters 2026-04-30 19:36 ` [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost @ 2026-05-01 18:08 ` Matthew Brost 2026-05-04 4:37 ` Yadav, Arvind 0 siblings, 1 reply; 7+ messages in thread From: Matthew Brost @ 2026-05-01 18:08 UTC (permalink / raw) To: Arvind Yadav Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, tejas.upadhyay On Thu, Apr 30, 2026 at 12:36:41PM -0700, Matthew Brost wrote: > On Thu, Apr 30, 2026 at 03:41:30PM +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. > > > > 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). > > > > Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> > > Cc: Matthew Brost <matthew.brost@intel.com> > > Reviewed-by: Matthew Brost <matthew.brost@intel.com> > My bad - sashiko flagged a valid issue here [1]. So I xe_vma_create need to flags.check_purged check that is currently in vma_lock_and_validate(). We the dma-resv locks in xe_vma_create so moving the check to xe_vma_create should be safe. More below. [1] https://sashiko.dev/#/patchset/20260430101130.1365878-1-arvind.yadav%40intel.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 | 27 ++++- > > drivers/gpu/drm/xe/xe_dma_buf.c | 28 ++++- > > drivers/gpu/drm/xe/xe_vm.c | 9 +- > > drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++--------------------------- > > drivers/gpu/drm/xe/xe_vm_madvise.h | 2 - > > 7 files changed, 155 insertions(+), 167 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..6756d7820aca 100644 > > --- a/drivers/gpu/drm/xe/xe_bo_types.h > > +++ b/drivers/gpu/drm/xe/xe_bo_types.h > > @@ -111,10 +111,31 @@ 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 c3836f6eab35..12457173ba85 100644 > > --- a/drivers/gpu/drm/xe/xe_vm.c > > +++ b/drivers/gpu/drm/xe/xe_vm.c > > @@ -1131,6 +1131,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); So at very top of this function I think: if (bo && attr->purgeable_state == XE_MADV_PURGEABLE_WILLNEED) { if (xe_bo_madv_is_dontneed(bo)) return ERR_PTR(-EBUSY); /* BO marked purgeable */ else if (xe_bo_is_purged(bo)) return ERR_PTR(-EINVAL); /* BO already purged */ } Then delete the check in vma_lock_and_validate. I think check in vma_lock_and_validate is actually wrong for rebinds too - e.g., it is prefectly to do a partial unbind a dontneed or purged BO and the existing check I believe would reject this. We should put together a test for for this too. addr = bind(2M); madvise(addr, DONTNEED); unbind(addr, 1M); Assuming the current code fails in this test case and new code works, I'd suggest making this patch a fixes too. Matt > > } else /* userptr or null */ { > > if (!is_null && !is_cpu_addr_mirror) { > > struct xe_userptr_vma *uvma = to_userptr_vma(vma); > > @@ -1208,7 +1212,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); > > 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 v2] drm/xe/madvise: Track purgeability with BO-local counters 2026-05-01 18:08 ` Matthew Brost @ 2026-05-04 4:37 ` Yadav, Arvind 0 siblings, 0 replies; 7+ messages in thread From: Yadav, Arvind @ 2026-05-04 4:37 UTC (permalink / raw) To: Matthew Brost Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, tejas.upadhyay [-- Attachment #1: Type: text/plain, Size: 21338 bytes --] On 01-05-2026 23:38, Matthew Brost wrote: > On Thu, Apr 30, 2026 at 12:36:41PM -0700, Matthew Brost wrote: >> On Thu, Apr 30, 2026 at 03:41:30PM +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. >>> >>> 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). >>> >>> Suggested-by: Thomas Hellström<thomas.hellstrom@linux.intel.com> >>> Cc: Matthew Brost<matthew.brost@intel.com> >> Reviewed-by: Matthew Brost<matthew.brost@intel.com> >> > My bad - sashiko flagged a valid issue here [1]. > > So I xe_vma_create need to flags.check_purged check that is currently in > vma_lock_and_validate(). We the dma-resv locks in xe_vma_create so > moving the check to xe_vma_create should be safe. > > More below. > > [1]https://sashiko.dev/#/patchset/20260430101130.1365878-1-arvind.yadav%40intel.com Yes, Good catch. we should add the check in xe_vma_create(), but it also needs to remain in vma_lock_and_validate() because PREFETCH does not go through xe_vma_create(). drm_gpuvm_prefetch_ops_create() generates operations that reference existing VMAs, and the PREFETCH path in op_lock_and_prep() relies solely on vma_lock_and_validate(). > >>> 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 | 27 ++++- >>> drivers/gpu/drm/xe/xe_dma_buf.c | 28 ++++- >>> drivers/gpu/drm/xe/xe_vm.c | 9 +- >>> drivers/gpu/drm/xe/xe_vm_madvise.c | 162 ++--------------------------- >>> drivers/gpu/drm/xe/xe_vm_madvise.h | 2 - >>> 7 files changed, 155 insertions(+), 167 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..6756d7820aca 100644 >>> --- a/drivers/gpu/drm/xe/xe_bo_types.h >>> +++ b/drivers/gpu/drm/xe/xe_bo_types.h >>> @@ -111,10 +111,31 @@ 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 c3836f6eab35..12457173ba85 100644 >>> --- a/drivers/gpu/drm/xe/xe_vm.c >>> +++ b/drivers/gpu/drm/xe/xe_vm.c >>> @@ -1131,6 +1131,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); > So at very top of this function I think: > > if (bo && attr->purgeable_state == XE_MADV_PURGEABLE_WILLNEED) { > if (xe_bo_madv_is_dontneed(bo)) > return ERR_PTR(-EBUSY); /* BO marked purgeable */ > else if (xe_bo_is_purged(bo)) > return ERR_PTR(-EINVAL); /* BO already purged */ > } > > Then delete the check in vma_lock_and_validate. I think check in > vma_lock_and_validate is actually wrong for rebinds too - e.g., it is > prefectly to do a partial unbind a dontneed or purged BO and the > existing check I believe would reject this. Agreed. I will dropped .check_purged from MAP and REMAP prev/next in vm_bind_ioctl_op_lock_and_prep() for v3. The check now lives in xe_vma_create() and only triggers when attr->purgeable_state == WILLNEED, so partial unbind/rebind on DONTNEED or PURGED BOs works as expected. and PREFETCH keeps .check_purged as it is a separate check for existing VMAs with no backing store to migrate. > > We should put together a test for for this too. > > addr = bind(2M); > madvise(addr, DONTNEED); > unbind(addr, 1M); > > Assuming the current code fails in this test case and new code works, > I'd suggest making this patch a fixes too. Noted. I will add a test case to cover this and include the appropriate fix tag Thanks, Arvind > > Matt > >>> } else /* userptr or null */ { >>> if (!is_null && !is_cpu_addr_mirror) { >>> struct xe_userptr_vma *uvma = to_userptr_vma(vma); >>> @@ -1208,7 +1212,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); >>> 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 >>> [-- Attachment #2: Type: text/html, Size: 22000 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* ✗ Xe.CI.FULL: failure for drm/xe/madvise: Track purgeability with BO-local counters (rev2) 2026-04-30 10:11 [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav ` (2 preceding siblings ...) 2026-04-30 19:36 ` [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost @ 2026-04-30 21:10 ` Patchwork 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-04-30 21:10 UTC (permalink / raw) To: Arvind Yadav; +Cc: intel-xe [-- Attachment #1: Type: text/plain, Size: 34345 bytes --] == Series Details == Series: drm/xe/madvise: Track purgeability with BO-local counters (rev2) URL : https://patchwork.freedesktop.org/series/165688/ State : failure == Summary == CI Bug Log - changes from xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf_FULL -> xe-pw-165688v2_FULL ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with xe-pw-165688v2_FULL absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in xe-pw-165688v2_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them to document this new failure mode, which will reduce false positives in CI. Participating hosts (2 -> 2) ------------------------------ No changes in participating hosts Possible new issues ------------------- Here are the unknown changes that may have been introduced in xe-pw-165688v2_FULL: ### IGT changes ### #### Possible regressions #### * igt@xe_exec_reset@cm-multi-queue-cat-error: - shard-lnl: NOTRUN -> [SKIP][1] [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@xe_exec_reset@cm-multi-queue-cat-error.html Known issues ------------ Here are the changes found in xe-pw-165688v2_FULL that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_big_fb@4-tiled-16bpp-rotate-90: - shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#2327]) +1 other test skip [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_big_fb@4-tiled-16bpp-rotate-90.html * igt@kms_big_fb@4-tiled-32bpp-rotate-270: - shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1407]) +2 other tests skip [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_big_fb@4-tiled-32bpp-rotate-270.html * igt@kms_big_fb@yf-tiled-32bpp-rotate-180: - shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +2 other tests skip [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_big_fb@yf-tiled-32bpp-rotate-180.html * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#1124]) +5 other tests skip [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p: - shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#7679]) [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p.html * igt@kms_bw@connected-linear-tiling-3-displays-target-3840x2160p: - shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#7679]) [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_bw@connected-linear-tiling-3-displays-target-3840x2160p.html * igt@kms_bw@linear-tiling-3-displays-target-1920x1080p: - shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#367]) [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_bw@linear-tiling-3-displays-target-1920x1080p.html * igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs: - shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2887]) +2 other tests skip [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs.html * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs: - shard-bmg: [PASS][10] -> [INCOMPLETE][11] ([Intel XE#7084]) +1 other test incomplete [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-bmg-7/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html * igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc: - shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#3432]) [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc.html * igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs-cc: - shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#2887]) +7 other tests skip [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs-cc.html * igt@kms_cdclk@mode-transition-all-outputs: - shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#4418]) [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_cdclk@mode-transition-all-outputs.html * igt@kms_chamelium_color@ctm-0-50: - shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2325] / [Intel XE#7358]) [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_chamelium_color@ctm-0-50.html * igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats: - shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#373]) +3 other tests skip [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats.html * igt@kms_chamelium_hpd@common-hpd-after-hibernate: - shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2252]) +1 other test skip [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_chamelium_hpd@common-hpd-after-hibernate.html * igt@kms_content_protection@legacy: - shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#7642]) [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_content_protection@legacy.html * igt@kms_content_protection@srm@pipe-a-dp-2: - shard-bmg: NOTRUN -> [FAIL][19] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_content_protection@srm@pipe-a-dp-2.html * igt@kms_cursor_crc@cursor-onscreen-512x170: - shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_cursor_crc@cursor-onscreen-512x170.html * igt@kms_cursor_crc@cursor-random-32x32: - shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#1424]) [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_cursor_crc@cursor-random-32x32.html * igt@kms_cursor_crc@cursor-rapid-movement-256x85: - shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2320]) [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_cursor_crc@cursor-rapid-movement-256x85.html * igt@kms_cursor_legacy@cursorb-vs-flipb-toggle: - shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#309] / [Intel XE#7343]) +2 other tests skip [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_cursor_legacy@cursorb-vs-flipb-toggle.html * igt@kms_cursor_legacy@flip-vs-cursor-legacy: - shard-bmg: [PASS][24] -> [FAIL][25] ([Intel XE#7809]) [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-bmg-8/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html * igt@kms_dp_link_training@uhbr-sst: - shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#4354] / [Intel XE#5870]) [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_dp_link_training@uhbr-sst.html * igt@kms_dsc@dsc-with-output-formats-with-bpc: - shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#2244]) [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_dsc@dsc-with-output-formats-with-bpc.html * igt@kms_fbcon_fbt@psr-suspend: - shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#6126] / [Intel XE#776]) [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_fbcon_fbt@psr-suspend.html * igt@kms_flip@2x-plain-flip: - shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#1421]) +1 other test skip [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_flip@2x-plain-flip.html * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1: - shard-lnl: [PASS][30] -> [FAIL][31] ([Intel XE#301]) [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html * igt@kms_flip@modeset-vs-vblank-race: - shard-lnl: [PASS][32] -> [FAIL][33] ([Intel XE#3098]) +1 other test fail [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-7/igt@kms_flip@modeset-vs-vblank-race.html [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_flip@modeset-vs-vblank-race.html * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling: - shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling.html * igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling: - shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7178] / [Intel XE#7351]) [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling.html * igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-render: - shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#6312]) [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-msflip-blt: - shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#4141]) +3 other tests skip [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-msflip-blt.html * igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt: - shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-blt.html * igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-fullscreen: - shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2311]) +5 other tests skip [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-fullscreen.html * igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt: - shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#6312] / [Intel XE#651]) +8 other tests skip [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt.html * igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-wc: - shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2313]) +5 other tests skip [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-msflip-blt: - shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#5812] / [Intel XE#656]) +16 other tests skip [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-msflip-blt.html * igt@kms_frontbuffer_tracking@psr-argb161616f-draw-mmap-wc: - shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#7061] / [Intel XE#7356]) +3 other tests skip [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_frontbuffer_tracking@psr-argb161616f-draw-mmap-wc.html * igt@kms_hdr@static-toggle: - shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#1503]) [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_hdr@static-toggle.html * igt@kms_joiner@basic-big-joiner: - shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#6901]) [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_joiner@basic-big-joiner.html * igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier-source-clamping: - shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#7283]) +1 other test skip [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier-source-clamping.html * igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier: - shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#7283]) [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier.html * igt@kms_plane_multiple@2x-tiling-4: - shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#4596] / [Intel XE#5854]) +1 other test skip [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_plane_multiple@2x-tiling-4.html * igt@kms_plane_multiple@tiling-y: - shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#5020] / [Intel XE#7348]) [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_plane_multiple@tiling-y.html * igt@kms_pm_dc@deep-pkgc: - shard-lnl: NOTRUN -> [FAIL][50] ([Intel XE#2029] / [Intel XE#7395]) [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_pm_dc@deep-pkgc.html * igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait: - shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383]) [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait.html * igt@kms_psr2_sf@fbc-pr-overlay-plane-update-sf-dmg-area: - shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#2893] / [Intel XE#7304]) +1 other test skip [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_psr2_sf@fbc-pr-overlay-plane-update-sf-dmg-area.html * igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-a-edp-1: - shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#4608]) +1 other test skip [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-a-edp-1.html * igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area: - shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304]) +1 other test skip [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area.html * igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area@pipe-b-edp-1: - shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#4608] / [Intel XE#7304]) +1 other test skip [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area@pipe-b-edp-1.html * igt@kms_psr2_sf@psr2-cursor-plane-update-sf: - shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#1489]) +2 other tests skip [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_psr2_sf@psr2-cursor-plane-update-sf.html * igt@kms_psr@fbc-pr-no-drrs: - shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#1406]) [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_psr@fbc-pr-no-drrs.html * igt@kms_psr@fbc-psr-primary-render: - shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#2234] / [Intel XE#2850]) +1 other test skip [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_psr@fbc-psr-primary-render.html * igt@kms_psr@fbc-psr2-sprite-render: - shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#1406] / [Intel XE#7345]) [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_psr@fbc-psr2-sprite-render.html * igt@kms_psr@fbc-psr2-sprite-render@edp-1: - shard-lnl: NOTRUN -> [SKIP][60] ([Intel XE#1406] / [Intel XE#4609]) [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_psr@fbc-psr2-sprite-render@edp-1.html * igt@kms_rotation_crc@sprite-rotation-90: - shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) +1 other test skip [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@kms_rotation_crc@sprite-rotation-90.html * igt@kms_sharpness_filter@filter-tap: - shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#6503]) [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@kms_sharpness_filter@filter-tap.html * igt@kms_vrr@max-min@pipe-a-edp-1: - shard-lnl: [PASS][63] -> [FAIL][64] ([Intel XE#4227]) +1 other test fail [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-1/igt@kms_vrr@max-min@pipe-a-edp-1.html [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-6/igt@kms_vrr@max-min@pipe-a-edp-1.html * igt@xe_eudebug@basic-vm-bind-vm-destroy: - shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#7636]) +2 other tests skip [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_eudebug@basic-vm-bind-vm-destroy.html * igt@xe_evict@evict-beng-mixed-many-threads-small: - shard-bmg: [PASS][66] -> [INCOMPLETE][67] ([Intel XE#6321]) [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-bmg-4/igt@xe_evict@evict-beng-mixed-many-threads-small.html [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_evict@evict-beng-mixed-many-threads-small.html * igt@xe_evict@evict-large-multi-vm: - shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#6540] / [Intel XE#688]) +5 other tests skip [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_evict@evict-large-multi-vm.html * igt@xe_exec_balancer@once-virtual-rebind: - shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#7482]) +7 other tests skip [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_exec_balancer@once-virtual-rebind.html * igt@xe_exec_basic@multigpu-no-exec-null-rebind: - shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_exec_basic@multigpu-no-exec-null-rebind.html * igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate-race: - shard-lnl: NOTRUN -> [SKIP][71] ([Intel XE#1392]) +4 other tests skip [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate-race.html * igt@xe_exec_fault_mode@many-execqueues-multi-queue-prefetch: - shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#7136]) +5 other tests skip [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_exec_fault_mode@many-execqueues-multi-queue-prefetch.html * igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch: - shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#7136]) +3 other tests skip [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch.html * igt@xe_exec_multi_queue@many-execs-preempt-mode-userptr: - shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#6874]) +14 other tests skip [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@xe_exec_multi_queue@many-execs-preempt-mode-userptr.html * igt@xe_exec_multi_queue@max-queues-basic-smem: - shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#6874]) +7 other tests skip [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_exec_multi_queue@max-queues-basic-smem.html * igt@xe_exec_sip_eudebug@breakpoint-writesip-nodebug: - shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#7636]) +8 other tests skip [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_exec_sip_eudebug@breakpoint-writesip-nodebug.html * igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr: - shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#7138]) +2 other tests skip [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr.html * igt@xe_exec_threads@threads-multi-queue-cm-rebind: - shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#7138]) +4 other tests skip [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_exec_threads@threads-multi-queue-cm-rebind.html * igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit: - shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#2229]) [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html * igt@xe_mmap@pci-membarrier-parallel: - shard-lnl: NOTRUN -> [SKIP][80] ([Intel XE#5100] / [Intel XE#7322] / [Intel XE#7408]) [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_mmap@pci-membarrier-parallel.html * igt@xe_multigpu_svm@mgpu-coherency-conflict: - shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#6964]) +1 other test skip [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_multigpu_svm@mgpu-coherency-conflict.html * igt@xe_page_reclaim@basic-mixed: - shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#7793]) +1 other test skip [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_page_reclaim@basic-mixed.html * igt@xe_page_reclaim@binds-full-pd: - shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#7793]) [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_page_reclaim@binds-full-pd.html * igt@xe_pat@pat-sw-hw-compare: - shard-lnl: NOTRUN -> [FAIL][84] ([Intel XE#7695]) [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_pat@pat-sw-hw-compare.html * igt@xe_pat@xa-app-transient-media-off: - shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#7590] / [Intel XE#7772]) [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@xe_pat@xa-app-transient-media-off.html * igt@xe_pm@d3cold-mmap-vram: - shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#2284] / [Intel XE#7370]) [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-9/igt@xe_pm@d3cold-mmap-vram.html * igt@xe_query@multigpu-query-invalid-extension: - shard-lnl: NOTRUN -> [SKIP][87] ([Intel XE#944]) [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@xe_query@multigpu-query-invalid-extension.html * igt@xe_sriov_admin@preempt-timeout-write-readback-vfs-disabled: - shard-lnl: NOTRUN -> [SKIP][88] ([Intel XE#7174]) [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-7/igt@xe_sriov_admin@preempt-timeout-write-readback-vfs-disabled.html * igt@xe_sriov_flr@flr-each-isolation: - shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#3342]) [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-4/igt@xe_sriov_flr@flr-each-isolation.html #### Possible fixes #### * igt@kms_async_flips@alternate-sync-async-flip: - shard-bmg: [FAIL][90] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][91] [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip.html [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-5/igt@kms_async_flips@alternate-sync-async-flip.html * igt@kms_async_flips@alternate-sync-async-flip@pipe-b-hdmi-a-3: - shard-bmg: [FAIL][92] ([Intel XE#6078]) -> [PASS][93] [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip@pipe-b-hdmi-a-3.html [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-bmg-5/igt@kms_async_flips@alternate-sync-async-flip@pipe-b-hdmi-a-3.html * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1: - shard-lnl: [FAIL][94] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][95] [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html * igt@kms_flip@flip-vs-expired-vblank@a-edp1: - shard-lnl: [FAIL][96] ([Intel XE#301]) -> [PASS][97] +1 other test pass [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html #### Warnings #### * igt@kms_flip@flip-vs-expired-vblank-interruptible: - shard-lnl: [FAIL][98] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][99] ([Intel XE#301]) [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible.html [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible.html [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124 [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178 [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392 [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406 [Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407 [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421 [Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424 [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#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503 [Intel XE#2029]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2029 [Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229 [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234 [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244 [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252 [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284 [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311 [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313 [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320 [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321 [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322 [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325 [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327 [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#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893 [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301 [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309 [Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098 [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141 [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149 [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304 [Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342 [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414 [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432 [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367 [Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718 [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373 [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#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227 [Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354 [Intel XE#4418]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4418 [Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596 [Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608 [Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609 [Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020 [Intel XE#5100]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5100 [Intel XE#5812]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5812 [Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854 [Intel XE#5870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5870 [Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078 [Intel XE#6126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6126 [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#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540 [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656 [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874 [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688 [Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901 [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#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174 [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#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304 [Intel XE#7322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7322 [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342 [Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343 [Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345 [Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348 [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#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374 [Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383 [Intel XE#7395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7395 [Intel XE#7408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7408 [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#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642 [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679 [Intel XE#7695]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7695 [Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776 [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#7809]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7809 [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944 Build changes ------------- * Linux: xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf -> xe-pw-165688v2 IGT_8879: 02b0e01dd9a5a3ab1efe976bb8c4f13cfcdbab1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git xe-4958-24d77c4ca7f78614b0978654f1d96763aae651bf: 24d77c4ca7f78614b0978654f1d96763aae651bf xe-pw-165688v2: 165688v2 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165688v2/index.html [-- Attachment #2: Type: text/html, Size: 38654 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-05-04 4:37 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-04-30 10:11 [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Arvind Yadav 2026-04-30 10:18 ` ✓ CI.KUnit: success for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork 2026-04-30 11:08 ` ✓ Xe.CI.BAT: " Patchwork 2026-04-30 19:36 ` [PATCH v2] drm/xe/madvise: Track purgeability with BO-local counters Matthew Brost 2026-05-01 18:08 ` Matthew Brost 2026-05-04 4:37 ` Yadav, Arvind 2026-04-30 21:10 ` ✗ Xe.CI.FULL: failure for drm/xe/madvise: Track purgeability with BO-local counters (rev2) Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox