Skip to contentSkip to conversation

drm/i915: Failsafe migration blits

PATCH Superseded Thomas Hellström 4 participants 15 messages Nov 1, 2021 – Nov 2, 2021

Subsystems (2)

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#1 lore raw

PATCH v2 1/2 drm/i915/ttm: Reorganize the ttm move code

In reply to Thomas Hellström

We are about to introduce failsafe- and asynchronous migration and ttm moves.
This will add complexity and code to the TTM move code so it makes sense to split it out to a separate file to make the i915 TTM code easer to digest.
Split the i915 TTM move code out and since we will have to change the name of the gpu_binds_iomem() and cpu_maps_iomem() functions anyway, we alter the name of gpu_binds_iomem() to i915_ttm_gtt_binds_lmem() which is more reflecting what it is used for.
With this we also add some more documentation. Otherwise there should be no functional change.

---
 drivers/gpu/drm/i915/Makefile                |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c      | 328 +++----------------
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h      |  35 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 308 +++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h |  38 +++
 5 files changed, 430 insertions(+), 280 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h
drivers/gpu/drm/i915/Makefile +1 -0
index 467872cca027..7d0d0b814670 100644
@@ -154,6 +154,7 @@ gem-y += \
 	gem/i915_gem_throttle.o \
 	gem/i915_gem_tiling.o \
 	gem/i915_gem_ttm.o \
+	gem/i915_gem_ttm_move.o \
 	gem/i915_gem_ttm_pm.o \
 	gem/i915_gem_userptr.o \
 	gem/i915_gem_wait.o \
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +48 -280

409 lines not on this page · raw message

drivers/gpu/drm/i915/gem/i915_gem_ttm.h +35 -0
index 0b7291dd897c..074a7c08ff31 100644
@@ -5,6 +5,8 @@
 #ifndef _I915_GEM_TTM_H_
 #define _I915_GEM_TTM_H_
 
+#include <drm/ttm/ttm_placement.h>
+
 #include "gem/i915_gem_object_types.h"
 
 /**
@@ -60,4 +62,37 @@ int i915_gem_obj_copy_ttm(struct drm_i915_gem_object *dst,
 
 struct ttm_placement *i915_ttm_sys_placement(void);
 
+void i915_ttm_free_cached_io_rsgt(struct drm_i915_gem_object *obj);
+
+struct i915_refct_sgt *
+i915_ttm_resource_get_st(struct drm_i915_gem_object *obj,
+			 struct ttm_resource *res);
+
+void i915_ttm_adjust_lru(struct drm_i915_gem_object *obj);
+
+int i915_ttm_purge(struct drm_i915_gem_object *obj);
+
+/**
+ * i915_ttm_gtt_binds_lmem - Should the memory be viewed as LMEM by the GTT?
+ * @mem: struct ttm_resource representing the memory.
+ *
+ * Return: true if memory should be viewed as LMEM for GTT binding purposes,
+ * false otherwise.
+ */
+static inline bool i915_ttm_gtt_binds_lmem(struct ttm_resource *mem)
+{
+	return mem->mem_type != I915_PL_SYSTEM;
+}
+
+/**
+ * i915_ttm_cpu_maps_iomem - Should the memory be viewed as IOMEM by the CPU?
+ * @mem: struct ttm_resource representing the memory.
+ *
+ * Return: true if memory should be viewed as IOMEM for CPU mapping purposes.
+ */
+static inline bool i915_ttm_cpu_maps_iomem(struct ttm_resource *mem)
+{
+	/* Once / if we support GGTT, this is also false for cached ttm_tts */
+	return mem->mem_type != I915_PL_SYSTEM;
+}
 #endif
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c new file +308 -0

308 lines not on this page · raw message

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h new file +38 -0
new file mode 100644
index 000000000000..68294b16e5c2
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2021 Intel Corporation
+ */
+#ifndef _I915_GEM_TTM_MOVE_H_
+#define _I915_GEM_TTM_MOVE_H_
+
+#include <linux/types.h>
+
+struct ttm_buffer_object;
+struct ttm_operation_ctx;
+struct ttm_place;
+struct ttm_resource;
+struct ttm_tt;
+
+struct drm_i915_gem_object;
+struct i915_refct_sgt;
+
+int i915_ttm_move_notify(struct ttm_buffer_object *bo);
+
+/* Internal I915 TTM declarations and definitions below. */
+
+void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
+		     struct ttm_resource *dst_mem,
+		     struct ttm_tt *dst_ttm,
+		     struct i915_refct_sgt *dst_rsgt,
+		     bool allow_accel);
+
+int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
+		  struct ttm_operation_ctx *ctx,
+		  struct ttm_resource *dst_mem,
+		  struct ttm_place *hop);
+
+void i915_ttm_adjust_domains_after_move(struct drm_i915_gem_object *obj);
+
+void i915_ttm_adjust_gem_after_move(struct drm_i915_gem_object *obj);
+
+#endif
Signature · 1 line
2.31.1
#0 lore raw

v2 cover drm/i915: Failsafe migration blits

This patch series introduces failsafe migration blits.
The reason for this seemingly strange concept is that if the initial clearing or readback of LMEM fails for some reason[1], and we then set up either GPU- or CPU ptes to the allocated LMEM, we can expose old contents from other clients.

So after each migration blit to LMEM, attach a dma-fence callback that checks the migration fence error value and if it's an error, performs a memcpy blit, instead.

Patch 1 splits out the TTM move code into separate files Patch 2 implements the failsafe blits and related self-tests

[1] There are at least two ways we could trigger exposure of uninitialized LMEM assuming the migration blits themselves never trigger a gpu hang.

a) A gpu operation preceding a pipelined eviction blit resets and sets the error fence to -EIO, and the error is propagated across the TTM manager to the clear / swapin blit of a newly allocated TTM resource. It aborts and leaves the memory uninitialized.

b) Something wedges the GT while a migration blit is submitted. It ends up never executed and TTM can fault user-space cpu-ptes into uninitialized memory.

Thomas Hellström (2):
drm/i915/ttm: Reorganize the ttm move code
drm/i915/ttm: Failsafe migration blits

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c       | 328 ++---------
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h       |  35 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  | 520 ++++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h  |  43 ++
 .../drm/i915/gem/selftests/i915_gem_migrate.c |  24 +-
 6 files changed, 670 insertions(+), 281 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h
Signature · 1 line
2.31.1
#3 lore raw

PATCH v2 2/2 drm/i915/ttm: Failsafe migration blits

If the initial fill blit or copy blit of an object fails, the old content of the data might be exposed and read as soon as either CPU- or GPU PTEs are set up to point at the pages.

Intercept the blit fence with an async callback that checks the blit fence for errors and if there are errors performs an async cpu blit instead. If there is a failure to allocate the async dma_fence_work, allocate it on the stack and sync wait for the blit to complete.

Add selftests that simulate gpu blit failures and failure to allocate the async dma_fence_work.

A previous version of this pach used dma_fence_work, now that's opencoded which adds more code but might lower the latency somewhat in the common non-error case.

---
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  | 322 +++++++++++++++---
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h  |   5 +
 .../drm/i915/gem/selftests/i915_gem_migrate.c |  24 +-
 3 files changed, 295 insertions(+), 56 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +267 -55
index 0ed6b7f2b95f..2e3328e2b48c 100644
@@ -18,6 +18,29 @@
 #include "gt/intel_gt.h"
 #include "gt/intel_migrate.h"
 
+/**
+ * DOC: Selftest failure modes for failsafe migration:
+ *
+ * For fail_gpu_migration, the gpu blit scheduled is always a clear blit
+ * rather than a copy blit, and then we force the failure paths as if
+ * the blit fence returned an error.
+ *
+ * For fail_work_allocation we fail the kmalloc of the async worker, we
+ * sync the gpu blit. If it then fails, or fail_gpu_migration is set to
+ * true, then a memcpy operation is performed sync.
+ */
+I915_SELFTEST_DECLARE(static bool fail_gpu_migration;)
+I915_SELFTEST_DECLARE(static bool fail_work_allocation;)
+
+#ifdef CONFIG_DRM_I915_SELFTEST
+void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+					bool work_allocation)
+{
+	fail_gpu_migration = gpu_migration;
+	fail_work_allocation = work_allocation;
+}
+#endif
+
 static enum i915_cache_level
 i915_ttm_cache_level(struct drm_i915_private *i915, struct ttm_resource *res,
 		     struct ttm_tt *ttm)
@@ -129,11 +152,11 @@ int i915_ttm_move_notify(struct ttm_buffer_object *bo)
 	return 0;
 }
 
-static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
-			       bool clear,
-			       struct ttm_resource *dst_mem,
-			       struct ttm_tt *dst_ttm,
-			       struct sg_table *dst_st)
+static struct dma_fence *i915_ttm_accel_move(struct ttm_buffer_object *bo,
+					     bool clear,
+					     struct ttm_resource *dst_mem,
+					     struct ttm_tt *dst_ttm,
+					     struct sg_table *dst_st)
 {
 	struct drm_i915_private *i915 = container_of(bo->bdev, typeof(*i915),
 						     bdev);
@@ -144,30 +167,29 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
 	int ret;
 
 	if (!i915->gt.migrate.context || intel_gt_is_wedged(&i915->gt))
-		return -EINVAL;
+		return ERR_PTR(-EINVAL);
+
+	/* With fail_gpu_migration, we always perform a GPU clear. */
+	if (I915_SELFTEST_ONLY(fail_gpu_migration))
+		clear = true;
 
 	dst_level = i915_ttm_cache_level(i915, dst_mem, dst_ttm);
 	if (clear) {
-		if (bo->type == ttm_bo_type_kernel)
-			return -EINVAL;
+		if (bo->type == ttm_bo_type_kernel &&
+		    !I915_SELFTEST_ONLY(fail_gpu_migration))
+			return ERR_PTR(-EINVAL);
 
 		intel_engine_pm_get(i915->gt.migrate.context->engine);
 		ret = intel_context_migrate_clear(i915->gt.migrate.context, NULL,
 						  dst_st->sgl, dst_level,
 						  i915_ttm_gtt_binds_lmem(dst_mem),
 						  0, &rq);
-
-		if (!ret && rq) {
-			i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-			i915_request_put(rq);
-		}
-		intel_engine_pm_put(i915->gt.migrate.context->engine);
 	} else {
 		struct i915_refct_sgt *src_rsgt =
 			i915_ttm_resource_get_st(obj, bo->resource);
 
 		if (IS_ERR(src_rsgt))
-			return PTR_ERR(src_rsgt);
+			return ERR_CAST(src_rsgt);
 
 		src_level = i915_ttm_cache_level(i915, bo->resource, src_ttm);
 		intel_engine_pm_get(i915->gt.migrate.context->engine);
@@ -178,15 +200,183 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
 						 dst_st->sgl, dst_level,
 						 i915_ttm_gtt_binds_lmem(dst_mem),
 						 &rq);
+
 		i915_refct_sgt_put(src_rsgt);
-		if (!ret && rq) {
-			i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-			i915_request_put(rq);
-		}
-		intel_engine_pm_put(i915->gt.migrate.context->engine);
 	}
 
-	return ret;
+	intel_engine_pm_put(i915->gt.migrate.context->engine);
+
+	if (ret && rq) {
+		i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
+		i915_request_put(rq);
+	}
+
+	return ret ? ERR_PTR(ret) : &rq->fence;
+}
+
+/**
+ * struct i915_ttm_memcpy_arg - argument for the bo memcpy functionality.
+ * @_dst_iter: Storage space for the destination kmap iterator.
+ * @_src_iter: Storage space for the source kmap iterator.
+ * @dst_iter: Pointer to the destination kmap iterator.
+ * @src_iter: Pointer to the source kmap iterator.
+ * @clear: Whether to clear instead of copy.
+ * @src_rsgt: Refcounted scatter-gather list of source memory.
+ * @dst_rsgt: Refcounted scatter-gather list of destination memory.
+ */
+struct i915_ttm_memcpy_arg {
+	union {
+		struct ttm_kmap_iter_tt tt;
+		struct ttm_kmap_iter_iomap io;
+	} _dst_iter,
+	_src_iter;
+	struct ttm_kmap_iter *dst_iter;
+	struct ttm_kmap_iter *src_iter;
+	unsigned long num_pages;
+	bool clear;
+	struct i915_refct_sgt *src_rsgt;
+	struct i915_refct_sgt *dst_rsgt;
+};
+
+/**
+ * struct i915_ttm_memcpy_work - Async memcpy worker under a dma-fence.
+ * @fence: The dma-fence.
+ * @work: The work struct use for the memcpy work.
+ * @lock: The fence lock. Not used to protect anythinge else ATM.
+ * @irq_work: Low latency worker to signal the fence since it can't be done
+ * from the callback for lockdep reasons.
+ * @cb: Callback for the accelerated migration fence.
+ * @arg: The argument for the memcpy functionality.
+ */
+struct i915_ttm_memcpy_work {
+	struct dma_fence fence;
+	struct work_struct work;
+	/* The fence lock */
+	spinlock_t lock;
+	struct irq_work irq_work;
+	struct dma_fence_cb cb;
+	struct i915_ttm_memcpy_arg arg;
+};
+
+static void i915_ttm_move_memcpy(struct i915_ttm_memcpy_arg *arg)
+{
+	ttm_move_memcpy(arg->clear, arg->num_pages,
+			arg->dst_iter, arg->src_iter);
+}
+
+static void i915_ttm_memcpy_init(struct i915_ttm_memcpy_arg *arg,
+				 struct ttm_buffer_object *bo, bool clear,
+				 struct ttm_resource *dst_mem,
+				 struct ttm_tt *dst_ttm,
+				 struct i915_refct_sgt *dst_rsgt)
+{
+	struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
+	struct intel_memory_region *dst_reg, *src_reg;
+
+	dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
+	src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
+	GEM_BUG_ON(!dst_reg || !src_reg);
+
+	arg->dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
+		ttm_kmap_iter_tt_init(&arg->_dst_iter.tt, dst_ttm) :
+		ttm_kmap_iter_iomap_init(&arg->_dst_iter.io, &dst_reg->iomap,
+					 &dst_rsgt->table, dst_reg->region.start);
+
+	arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
+		ttm_kmap_iter_tt_init(&arg->_src_iter.tt, bo->ttm) :
+		ttm_kmap_iter_iomap_init(&arg->_src_iter.io, &src_reg->iomap,
+					 &obj->ttm.cached_io_rsgt->table,
+					 src_reg->region.start);
+	arg->clear = clear;
+	arg->num_pages = bo->base.size >> PAGE_SHIFT;
+
+	arg->dst_rsgt = i915_refct_sgt_get(dst_rsgt);
+	arg->src_rsgt = clear ? NULL :
+		i915_ttm_resource_get_st(obj, bo->resource);
+}
+
+static void i915_ttm_memcpy_release(struct i915_ttm_memcpy_arg *arg)
+{
+	i915_refct_sgt_put(arg->src_rsgt);
+	i915_refct_sgt_put(arg->dst_rsgt);
+}
+
+static void __memcpy_work(struct work_struct *work)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(work, typeof(*copy_work), work);
+	struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+	bool cookie = dma_fence_begin_signalling();
+
+	i915_ttm_move_memcpy(arg);
+	dma_fence_end_signalling(cookie);
+
+	dma_fence_signal(&copy_work->fence);
+
+	i915_ttm_memcpy_release(arg);
+	dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_irq_work(struct irq_work *irq_work)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(irq_work, typeof(*copy_work), irq_work);
+	struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+
+	dma_fence_signal(&copy_work->fence);
+	i915_ttm_memcpy_release(arg);
+	dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(cb, typeof(*copy_work), cb);
+
+	if (unlikely(fence->error || I915_SELFTEST_ONLY(fail_gpu_migration))) {
+		INIT_WORK(&copy_work->work, __memcpy_work);
+		queue_work(system_unbound_wq, &copy_work->work);
+	} else {
+		init_irq_work(&copy_work->irq_work, __memcpy_irq_work);
+		irq_work_queue(&copy_work->irq_work);
+	}
+}
+
+static const char *get_driver_name(struct dma_fence *fence)
+{
+	return "i915_ttm_memcpy_work";
+}
+
+static const char *get_timeline_name(struct dma_fence *fence)
+{
+	return "unbound";
+}
+
+static const struct dma_fence_ops dma_fence_memcpy_ops = {
+	.get_driver_name = get_driver_name,
+	.get_timeline_name = get_timeline_name,
+};
+
+static struct dma_fence *
+i915_ttm_memcpy_work_arm(struct i915_ttm_memcpy_work *work,
+			 struct dma_fence *dep)
+{
+	int ret = 0;
+
+	spin_lock_init(&work->lock);
+	dma_fence_init(&work->fence, &dma_fence_memcpy_ops, &work->lock, 0, 0);
+	dma_fence_get(&work->fence);
+	ret = dma_fence_add_callback(dep, &work->cb, __memcpy_cb);
+	if (ret) {
+		if (ret != -ENOENT)
+			dma_fence_wait(dep, false);
+
+		ret = I915_SELFTEST_ONLY(fail_gpu_migration) ? -EINVAL :
+			dep->error;
+	}
+	dma_fence_put(dep);
+
+	return ret ? ERR_PTR(ret) : &work->fence;
 }
 
 /**
@@ -199,42 +389,64 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
  * @allow_accel: Whether to allow acceleration.
  */
 void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
-		     struct ttm_resource *dst_mem,
-		     struct ttm_tt *dst_ttm,
-		     struct i915_refct_sgt *dst_rsgt,
-		     bool allow_accel)
+		     struct ttm_resource *dst_mem, struct ttm_tt *dst_ttm,
+		     struct i915_refct_sgt *dst_rsgt, bool allow_accel)
 {
-	int ret = -EINVAL;
+	struct i915_ttm_memcpy_work *copy_work = NULL;
+	struct i915_ttm_memcpy_arg _arg, *arg = &_arg;
+	struct dma_fence *fence = ERR_PTR(-EINVAL);
+
+	if (allow_accel) {
+		fence = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
+					    &dst_rsgt->table);
+
+		/*
+		 * We only need to intercept the error when moving to lmem.
+		 * When moving to system, TTM or shmem will provide us with
+		 * cleared pages.
+		 */
+		if (!IS_ERR(fence) && !i915_ttm_gtt_binds_lmem(dst_mem) &&
+		    !I915_SELFTEST_ONLY(fail_gpu_migration ||
+					fail_work_allocation))
+			goto out;
+	}
 
-	if (allow_accel)
-		ret = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
-					  &dst_rsgt->table);
-	if (ret) {
-		struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
-		struct intel_memory_region *dst_reg, *src_reg;
-		union {
-			struct ttm_kmap_iter_tt tt;
-			struct ttm_kmap_iter_iomap io;
-		} _dst_iter, _src_iter;
-		struct ttm_kmap_iter *dst_iter, *src_iter;
-
-		dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
-		src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
-		GEM_BUG_ON(!dst_reg || !src_reg);
-
-		dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
-			ttm_kmap_iter_tt_init(&_dst_iter.tt, dst_ttm) :
-			ttm_kmap_iter_iomap_init(&_dst_iter.io, &dst_reg->iomap,
-						 &dst_rsgt->table,
-						 dst_reg->region.start);
-
-		src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
-			ttm_kmap_iter_tt_init(&_src_iter.tt, bo->ttm) :
-			ttm_kmap_iter_iomap_init(&_src_iter.io, &src_reg->iomap,
-						 &obj->ttm.cached_io_rsgt->table,
-						 src_reg->region.start);
-
-		ttm_move_memcpy(clear, dst_mem->num_pages, dst_iter, src_iter);
+	/* If we've scheduled gpu migration. Try to arm error intercept. */
+	if (!IS_ERR(fence)) {
+		struct dma_fence *dep = fence;
+
+		if (!I915_SELFTEST_ONLY(fail_work_allocation))
+			copy_work = kzalloc(sizeof(*copy_work), GFP_KERNEL);
+
+		if (copy_work) {
+			arg = &copy_work->arg;
+			i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm,
+					     dst_rsgt);
+			fence = i915_ttm_memcpy_work_arm(copy_work, dep);
+		} else {
+			dma_fence_wait(dep, false);
+			fence = ERR_PTR(I915_SELFTEST_ONLY(fail_gpu_migration) ?
+					-EINVAL : fence->error);
+			dma_fence_put(dep);
+		}
+		if (!IS_ERR(fence))
+			goto out;
+	}
+
+	/* Error intercept failed or no accelerated migration to start with */
+	if (!copy_work)
+		i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm,
+				     dst_rsgt);
+	i915_ttm_move_memcpy(arg);
+	i915_ttm_memcpy_release(arg);
+	kfree(copy_work);
+
+	return;
+out:
+	/* Sync here for now, forward the fence to caller when fully async. */
+	if (fence) {
+		dma_fence_wait(fence, false);
+		dma_fence_put(fence);
 	}
 }
 
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h +5 -0
index 68294b16e5c2..75b87e752af2 100644
@@ -7,6 +7,8 @@
 
 #include <linux/types.h>
 
+#include "i915_selftest.h"
+
 struct ttm_buffer_object;
 struct ttm_operation_ctx;
 struct ttm_place;
@@ -18,6 +20,9 @@ struct i915_refct_sgt;
 
 int i915_ttm_move_notify(struct ttm_buffer_object *bo);
 
+I915_SELFTEST_DECLARE(void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+							      bool work_allocation));
+
 /* Internal I915 TTM declarations and definitions below. */
 
 void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c +23 -1
index 28a700f08b49..4b8e6b098659 100644
@@ -4,6 +4,7 @@
  */
 
 #include "gt/intel_migrate.h"
+#include "gem/i915_gem_ttm_move.h"
 
 static int igt_fill_check_buffer(struct drm_i915_gem_object *obj,
 				 bool fill)
@@ -227,13 +228,34 @@ static int igt_lmem_pages_migrate(void *arg)
 	return err;
 }
 
+static int igt_lmem_pages_failsafe_migrate(void *arg)
+{
+	int fail_gpu, fail_alloc, ret;
+
+	for (fail_gpu = 0; fail_gpu < 2; ++fail_gpu) {
+		for (fail_alloc = 0; fail_alloc < 2; ++fail_alloc) {
+			pr_info("Simulated failure modes: gpu: %d, alloc: %d\n",
+				fail_gpu, fail_alloc);
+			i915_ttm_migrate_set_failure_modes(fail_gpu,
+							   fail_alloc);
+			ret = igt_lmem_pages_migrate(arg);
+			if (ret)
+				goto out_err;
+		}
+	}
+
+out_err:
+	i915_ttm_migrate_set_failure_modes(false, false);
+	return ret;
+}
+
 int i915_gem_migrate_live_selftests(struct drm_i915_private *i915)
 {
 	static const struct i915_subtest tests[] = {
 		SUBTEST(igt_smem_create_migrate),
 		SUBTEST(igt_lmem_create_migrate),
 		SUBTEST(igt_same_create_migrate),
-		SUBTEST(igt_lmem_pages_migrate),
+		SUBTEST(igt_lmem_pages_failsafe_migrate),
 	};
 
 	if (!HAS_LMEM(i915))
Signature · 1 line
2.31.1
#6 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Failsafe migration blits (rev2)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev2)
URL : https://patchwork.freedesktop.org/series/95617/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
b8b912b983e0 drm/i915/ttm: Reorganize the ttm move code
-:510: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#510: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 807 lines checked 486de9dde9a6 drm/i915/ttm: Failsafe migration blits

#7 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Failsafe migration blits (rev2)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev2)
URL : https://patchwork.freedesktop.org/series/95617/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10825 -> Patchwork_21498
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/index.html

Participating hosts (38 -> 35)
------------------------------

Additional (1): fi-tgl-1115g4
Missing (4): fi-bsw-cyan bat-adlp-4 bat-dg1-6 fi-hsw-4200u

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

Here are the changes found in Patchwork_21498 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@query-info:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([fdo#109315])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][2] ([fdo#109315] / [i915#2575]) +16 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@amdgpu/[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][4] ([i915#1155])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([fdo#111827]) +8 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][6] ([i915#4103]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][7] ([fdo#109285])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][8] ([i915#1072]) +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html

* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][9] ([i915#3301])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-tgl-1115g4/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_heartbeat:
- fi-skl-6700k2: [DMESG-FAIL][10] ([i915#2291] / [i915#541]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/fi-skl-6700k2/igt@i915_selftest@live@gt_heartbeat.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/fi-skl-6700k2/igt@i915_selftest@live@gt_heartbeat.html

[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541

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

* Linux: CI_DRM_10825 -> Patchwork_21498

CI-20190529: 20190529
CI_DRM_10825: 06a77fd52e7b991026f29867d6569ac640703311 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6265: 5004c6cf2ad4a72423b4cf0cd42686925bcb80fe @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21498: 486de9dde9a63025cbd015b0ca541997a95dcf2a @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

486de9dde9a6 drm/i915/ttm: Failsafe migration blits b8b912b983e0 drm/i915/ttm: Reorganize the ttm move code

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/index.html

#8 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Failsafe migration blits (rev2)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev2)
URL : https://patchwork.freedesktop.org/series/95617/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10825_full -> Patchwork_21498_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_21498_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21498_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (10 -> 10)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_21498_full:

### IGT changes ###

#### Possible regressions ####

* igt@gem_fenced_exec_thrash@too-many-fences:
- shard-snb: [PASS][1] -> [INCOMPLETE][2] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-snb6/igt@[email protected]

* igt@kms_flip@busy-flip@a-edp1:
- shard-skl: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-skl9/igt@kms_flip@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl2/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@psr-shrfb-scaledprimary:
- shard-tglb: [PASS][5] -> [INCOMPLETE][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-tglb7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb6/igt@[email protected]

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

Here are the changes found in Patchwork_21498_full that come from known issues:

### CI changes ###

#### Issues hit ####

* boot:
- shard-glk: ([PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26], [PASS][27], [PASS][28], [PASS][29], [PASS][30], [PASS][31]) -> ([PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52], [PASS][53], [FAIL][54], [PASS][55], [PASS][56]) ([i915#4392])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk1/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk1/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk1/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk2/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk2/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk3/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk3/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk3/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk4/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk4/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk4/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk5/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk5/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk5/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk6/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk6/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk6/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk7/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk7/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk7/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk8/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk8/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk8/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk9/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk9/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk1/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk1/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk1/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk2/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk2/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk3/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk3/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk3/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk4/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk4/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk4/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk5/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk5/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk5/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk6/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk6/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk6/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk7/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk7/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk7/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk8/boot.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk8/boot.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk8/boot.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk9/boot.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk9/boot.html

### IGT changes ###

#### Issues hit ####

* igt@feature_discovery@display-3x:
- shard-tglb: NOTRUN -> [SKIP][57] ([i915#1839])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@gem_create@create-massive:
- shard-kbl: NOTRUN -> [DMESG-WARN][58] ([i915#3002])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl2/igt@[email protected]

* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109314])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: NOTRUN -> [FAIL][60] ([i915#2842]) +2 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][61] -> [FAIL][62] ([i915#2842])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-tglb1/igt@gem_exec_fair@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-tglb: NOTRUN -> [FAIL][63] ([i915#2842])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@bcs0:
- shard-iclb: [PASS][64] -> [FAIL][65] ([i915#2842])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-iclb7/igt@gem_exec_fair@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [PASS][66] -> [FAIL][67] ([i915#2842]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-kbl3/igt@gem_exec_fair@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_params@secure-non-root:
- shard-tglb: NOTRUN -> [SKIP][68] ([fdo#112283])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@gem_pwrite@basic-exhaustion:
- shard-skl: NOTRUN -> [WARN][69] ([i915#2658])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@gem_pxp@regular-baseline-src-copy-readible:
- shard-tglb: NOTRUN -> [SKIP][70] ([i915#4270]) +1 similar issue
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@gem_pxp@reject-modify-context-protection-off-1:
- shard-iclb: NOTRUN -> [SKIP][71] ([i915#4270])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@gem_userptr_blits@input-checking:
- shard-skl: NOTRUN -> [DMESG-WARN][72] ([i915#3002])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][73] ([fdo#109289]) +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@gen9_exec_parse@allowed-single:
- shard-skl: NOTRUN -> [DMESG-WARN][74] ([i915#1436] / [i915#716])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl3/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-tglb: NOTRUN -> [FAIL][75] ([i915#454])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@i915_pm_dc@dc9-dpms:
- shard-apl: NOTRUN -> [FAIL][76] ([i915#4275])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl4/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][77] ([i915#2681] / [i915#2684])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][78] ([fdo#111644] / [i915#1397] / [i915#2411])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@i915_selftest@live@gt_lrc:
- shard-tglb: NOTRUN -> [DMESG-FAIL][79] ([i915#2373])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@gt_pm:
- shard-tglb: NOTRUN -> [DMESG-FAIL][80] ([i915#1759])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@i915_selftest@live@gt_pm.html

* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][81] ([fdo#111614])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@kms_big_fb@x-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][82] ([fdo#110725] / [fdo#111614])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_big_fb@y-tiled-16bpp-rotate-0:
- shard-glk: [PASS][83] -> [DMESG-WARN][84] ([i915#118])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk8/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk5/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][85] ([fdo#109271] / [i915#3777])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl2/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][86] ([i915#3763]) +1 similar issue
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl8/igt@[email protected]

* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][87] ([fdo#111615]) +3 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][88] ([i915#3743])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][89] ([i915#3689]) +6 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs.html

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#3886]) +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl4/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#3886]) +5 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl2/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][92] ([fdo#109278] / [i915#3886])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-skl: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#3886])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][94] ([i915#3689] / [i915#3886]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_chamelium@hdmi-hpd-storm:
- shard-skl: NOTRUN -> [SKIP][95] ([fdo#109271] / [fdo#111827]) +6 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@kms_color@pipe-b-ctm-0-5:
- shard-skl: [PASS][96] -> [DMESG-WARN][97] ([i915#1982])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-skl8/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl6/igt@[email protected]

* igt@kms_color@pipe-d-gamma:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109278] / [i915#1149])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271] / [fdo#111827]) +5 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl3/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-red-to-blue:
- shard-tglb: NOTRUN -> [SKIP][100] ([fdo#109284] / [fdo#111827]) +7 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-kbl: NOTRUN -> [SKIP][101] ([fdo#109271] / [fdo#111827]) +9 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@[email protected]

* igt@kms_content_protection@mei_interface:
- shard-tglb: NOTRUN -> [SKIP][102] ([fdo#111828])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@kms_content_protection@mei_interface.html

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-tglb: [PASS][103] -> [INCOMPLETE][104] ([i915#2411] / [i915#2828] / [i915#456])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-tglb5/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb7/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][105] ([i915#3319]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x170-offscreen:
- shard-iclb: NOTRUN -> [SKIP][106] ([fdo#109278]) +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x512-sliding:
- shard-tglb: NOTRUN -> [SKIP][107] ([fdo#109279] / [i915#3359]) +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-max-size-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][108] ([i915#3359]) +2 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][109] ([fdo#111825]) +24 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-kbl: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#533])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@[email protected]

* igt@kms_flip@2x-plain-flip:
- shard-iclb: NOTRUN -> [SKIP][111] ([fdo#109274])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_flip@2x-plain-flip-ts-check-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][112] -> [FAIL][113] ([i915#2122])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk8/igt@kms_flip@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk5/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][114] -> [DMESG-WARN][115] ([i915#180]) +8 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-kbl2/igt@kms_flip@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl4/igt@kms_flip@[email protected]
- shard-apl: [PASS][116] -> [DMESG-WARN][117] ([i915#180]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-apl8/igt@kms_flip@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl4/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@d-edp1:
- shard-tglb: NOTRUN -> [DMESG-WARN][118] ([i915#2411] / [i915#2867])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-skl: [PASS][119] -> [INCOMPLETE][120] ([i915#198])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-skl7/igt@kms_flip@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-iclb: [PASS][121] -> [SKIP][122] ([i915#3701])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-iclb3/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack-mmap-gtt:
- shard-skl: NOTRUN -> [SKIP][123] ([fdo#109271]) +75 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move:
- shard-iclb: NOTRUN -> [SKIP][124] ([fdo#109280]) +2 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-kbl: NOTRUN -> [SKIP][125] ([fdo#109271]) +86 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html

* igt@kms_invalid_mode@clock-too-high:
- shard-tglb: NOTRUN -> [SKIP][126] ([i915#4278])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-d:
- shard-skl: NOTRUN -> [SKIP][127] ([fdo#109271] / [i915#533]) +1 similar issue
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl1/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
- shard-kbl: NOTRUN -> [FAIL][128] ([fdo#108145] / [i915#265]) +2 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl2/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][129] -> [FAIL][130] ([fdo#108145] / [i915#265]) +1 similar issue
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-skl4/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl7/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-tglb: NOTRUN -> [SKIP][131] ([i915#2920]) +2 similar issues
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-iclb: NOTRUN -> [SKIP][132] ([i915#658])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-1:
- shard-skl: NOTRUN -> [SKIP][133] ([fdo#109271] / [i915#658]) +3 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-skl8/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][134] ([fdo#109271] / [i915#658]) +2 similar issues
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-3:
- shard-apl: NOTRUN -> [SKIP][135] ([fdo#109271] / [i915#658])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl4/igt@[email protected]

* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-apl: NOTRUN -> [SKIP][136] ([fdo#109271]) +53 similar issues
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl3/igt@kms_psr@psr2_cursor_mmap_gtt.html

* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-tglb: NOTRUN -> [FAIL][137] ([i915#132] / [i915#3467])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb5/igt@kms_psr@psr2_sprite_mmap_gtt.html

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][138] -> [SKIP][139] ([fdo#109441]) +2 similar issues
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb1/igt@kms_psr@psr2_sprite_plane_move.html

* igt@kms_setmode@basic:
- shard-glk: [PASS][140] -> [FAIL][141] ([i915#31])
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk2/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk8/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][142] ([fdo#109271] / [i915#2437])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@[email protected]

* igt@kms_writeback@writeback-invalid-parameters:
- shard-tglb: NOTRUN -> [SKIP][143] ([i915#2437])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb2/igt@[email protected]

* igt@nouveau_crc@pipe-a-ctx-flip-detection:
- shard-iclb: NOTRUN -> [SKIP][144] ([i915#2530])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@nouveau_crc@pipe-a-source-outp-inactive:
- shard-tglb: NOTRUN -> [SKIP][145] ([i915#2530])
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@[email protected]

* igt@nouveau_crc@pipe-d-source-outp-inactive:
- shard-iclb: NOTRUN -> [SKIP][146] ([fdo#109278] / [i915#2530])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@prime_nv_api@i915_nv_import_twice_check_flink_name:
- shard-iclb: NOTRUN -> [SKIP][147] ([fdo#109291])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@prime_nv_api@i915_nv_import_twice_check_flink_name.html

* igt@prime_nv_pcopy@test1_macro:
- shard-tglb: NOTRUN -> [SKIP][148] ([fdo#109291])
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-tglb3/igt@prime_nv_pcopy@test1_macro.html

* igt@prime_vgem@fence-flip-hang:
- shard-iclb: NOTRUN -> [SKIP][149] ([fdo#109295])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb6/igt@[email protected]

* igt@sysfs_clients@sema-10:
- shard-kbl: NOTRUN -> [SKIP][150] ([fdo#109271] / [i915#2994]) +1 similar issue
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-kbl3/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-apl: [SKIP][151] ([fdo#109271]) -> [PASS][152]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-apl2/igt@gem_exec_fair@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-apl7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-iclb: [FAIL][153] ([i915#2842]) -> [PASS][154]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-iclb3/igt@gem_exec_fair@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-iclb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][155] ([i915#2842]) -> [PASS][156]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10825/shard-glk7/igt@gem_exec_fair@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/shard-glk2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-kbl: [FAIL][157] ([i915#2842]) -> [PASS][158]
[157]: https://intel-gfx-ci.01.or

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21498/index.html

#9 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Failsafe migration blits (rev3)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev3)
URL : https://patchwork.freedesktop.org/series/95617/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5fe248ea3330 drm/i915/ttm: Reorganize the ttm move code
-:510: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#510: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 807 lines checked 3806353c151f drm/i915/ttm: Failsafe migration blits

#10 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Failsafe migration blits (rev3)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev3)
URL : https://patchwork.freedesktop.org/series/95617/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10826 -> Patchwork_21501
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

Participating hosts (40 -> 33)
------------------------------

Missing (7): fi-kbl-soraka bat-dg1-6 fi-hsw-4200u fi-icl-u2 fi-bsw-cyan bat-adlp-4 fi-elk-e7500

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

Here are the changes found in Patchwork_21501 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s0:
- fi-tgl-1115g4: [PASS][1] -> [FAIL][2] ([i915#1888])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/fi-tgl-1115g4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/fi-tgl-1115g4/igt@[email protected]

* igt@runner@aborted:
- fi-bdw-5557u: NOTRUN -> [FAIL][3] ([i915#1602] / [i915#2426] / [i915#4312])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/fi-bdw-5557u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- fi-bdw-5557u: [INCOMPLETE][4] ([i915#146]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/fi-bdw-5557u/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/fi-bdw-5557u/igt@[email protected]

[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312

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

* Linux: CI_DRM_10826 -> Patchwork_21501

CI-20190529: 20190529
CI_DRM_10826: 8b8fbc1dc64274b9eed192df4bfaeced03bdf0ae @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6266: fa0291675a7a3ade6c219cc52fceac9a0a4a63d8 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21501: 3806353c151f44ab58fd3224470b834cb70edb5c @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

3806353c151f drm/i915/ttm: Failsafe migration blits 5fe248ea3330 drm/i915/ttm: Reorganize the ttm move code

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

#11 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Failsafe migration blits (rev3)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev3)
URL : https://patchwork.freedesktop.org/series/95617/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10826_full -> Patchwork_21501_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_21501_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21501_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (10 -> 10)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_21501_full:

### IGT changes ###

#### Possible regressions ####

* igt@gem_workarounds@suspend-resume-fd:
- shard-snb: [PASS][1] -> [TIMEOUT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-snb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-snb2/igt@[email protected]

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

Here are the changes found in Patchwork_21501_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_create@create-massive:
- shard-skl: NOTRUN -> [DMESG-WARN][3] ([i915#3002])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@gem_eio@in-flight-10ms:
- shard-skl: NOTRUN -> [TIMEOUT][4] ([i915#3063])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][5] -> [TIMEOUT][6] ([i915#2369] / [i915#3063] / [i915#3648])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb5/igt@[email protected]

* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [PASS][7] -> [SKIP][8] ([fdo#109271])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl7/igt@gem_exec_fair@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-tglb: NOTRUN -> [SKIP][9] ([i915#4270])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-skl: NOTRUN -> [FAIL][10] ([i915#3318])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@gen9_exec_parse@allowed-single:
- shard-skl: [PASS][11] -> [DMESG-WARN][12] ([i915#1436] / [i915#716])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][13] ([i915#3743]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-skl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#3777])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3777])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][16] ([fdo#111615]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#3886]) +5 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#3886]) +10 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#3886]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#3689] / [i915#3886])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#3689]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs.html

* igt@kms_cdclk@plane-scaling:
- shard-tglb: NOTRUN -> [SKIP][22] ([i915#3742])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb3/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-storm:
- shard-kbl: NOTRUN -> [SKIP][23] ([fdo#109271] / [fdo#111827]) +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

* igt@kms_chamelium@vga-hpd-with-enabled-mode:
- shard-tglb: NOTRUN -> [SKIP][24] ([fdo#109284] / [fdo#111827]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-max:
- shard-skl: NOTRUN -> [SKIP][25] ([fdo#109271] / [fdo#111827]) +17 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-degamma:
- shard-apl: NOTRUN -> [SKIP][26] ([fdo#109271] / [fdo#111827]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-offscreen:
- shard-tglb: NOTRUN -> [SKIP][27] ([i915#3319])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x170-offscreen:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#109279] / [i915#3359])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [PASS][29] -> [INCOMPLETE][30] ([i915#2411] / [i915#4211])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- shard-tglb: NOTRUN -> [SKIP][31] ([i915#4103])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-skl: NOTRUN -> [FAIL][32] ([i915#2346] / [i915#533])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) +7 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl3/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-tglb: [PASS][35] -> [INCOMPLETE][36] ([i915#456]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb2/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-tglb: [PASS][37] -> [INCOMPLETE][38] ([i915#2411] / [i915#456])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb5/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-skl: NOTRUN -> [INCOMPLETE][39] ([i915#3699])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-skl: NOTRUN -> [SKIP][40] ([fdo#109271] / [i915#2672])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-blt:
- shard-skl: NOTRUN -> [SKIP][41] ([fdo#109271]) +283 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271]) +98 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111825]) +7 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271]) +79 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- shard-apl: [PASS][45] -> [DMESG-WARN][46] ([i915#180]) +5 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl1/igt@kms_plane@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@kms_plane@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-skl: NOTRUN -> [FAIL][47] ([fdo#108145] / [i915#265]) +5 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-skl: NOTRUN -> [FAIL][48] ([i915#265])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#2733])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html

* igt@kms_prime@basic-crc@second-to-first:
- shard-tglb: NOTRUN -> [SKIP][50] ([i915#1836])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_prime@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#658]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5:
- shard-kbl: NOTRUN -> [SKIP][52] ([fdo#109271] / [i915#658])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-skl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#658]) +5 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][54] -> [SKIP][55] ([fdo#109441])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb1/igt@kms_psr@psr2_cursor_mmap_cpu.html

* igt@kms_psr@psr2_primary_blt:
- shard-tglb: NOTRUN -> [FAIL][56] ([i915#132] / [i915#3467]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb3/igt@kms_psr@psr2_primary_blt.html

* igt@kms_sysfs_edid_timing:
- shard-skl: NOTRUN -> [FAIL][57] ([IGT#2])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@kms_sysfs_edid_timing.html

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [PASS][58] -> [DMESG-WARN][59] ([i915#180] / [i915#295])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl8/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]

* igt@kms_vblank@pipe-d-wait-idle:
- shard-apl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#533]) +3 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#533]) +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#2437])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@nouveau_crc@pipe-d-source-rg:
- shard-tglb: NOTRUN -> [SKIP][63] ([i915#2530])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@perf@blocking:
- shard-skl: [PASS][64] -> [FAIL][65] ([i915#1542]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl7/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl8/igt@[email protected]

* igt@prime_nv_api@i915_nv_double_import:
- shard-glk: NOTRUN -> [SKIP][66] ([fdo#109271]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk4/igt@prime_nv_api@i915_nv_double_import.html

* igt@prime_nv_pcopy@test3_4:
- shard-tglb: NOTRUN -> [SKIP][67] ([fdo#109291])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@prime_nv_pcopy@test3_4.html

* igt@sysfs_clients@fair-3:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#2994]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@[email protected]

* igt@sysfs_clients@split-50:
- shard-kbl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#2994]) +2 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

#### Possible fixes ####

* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][70] ([i915#658]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@[email protected]

* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-tglb: [INCOMPLETE][72] ([i915#456]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@gem_ctx_isolation@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@gem_ctx_isolation@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-skl: [TIMEOUT][74] ([i915#2369] / [i915#3063]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl2/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [FAIL][76] ([i915#2842]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl2/igt@gem_exec_fair@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][78] ([i915#2842]) -> [PASS][79] +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-glk7/igt@gem_exec_fair@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: [FAIL][80] ([i915#2842]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@gem_exec_fair@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-tglb: [FAIL][82] ([i915#2842]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb6/igt@gem_exec_fair@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb1/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][84] ([i915#2190]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][86] ([i915#454]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb3/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb6/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][88] ([i915#180]) -> [PASS][89] +2 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl3/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][90] ([i915#118]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-glk4/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk4/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [DMESG-WARN][92] ([i915#180]) -> [PASS][93] +2 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-skl: [FAIL][94] ([i915#79]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl6/igt@kms_flip@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@c-edp1:
- shard-iclb: [DMESG-WARN][96] ([i915#2867]) -> [PASS][97] +1 similar issue
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb7/igt@kms_flip@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb7/igt@kms_flip@[email protected]

* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [FAIL][98] ([i915#2122]) -> [PASS][99] +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl8/igt@kms_flip@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl2/igt@kms_flip@[email protected]

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [SKIP][100] ([fdo#109441]) -> [PASS][101] +2 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb4/igt@kms_psr@psr2_no_drrs.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@kms_psr@psr2_no_drrs.html

* igt@kms_rotation_crc@multiplane-rotation-cropping-bottom:
- shard-skl: [DMESG-WARN][102] ([i915#1982]) -> [PASS][103] +2 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl1/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl10/igt@[email protected]

* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][104] ([i915#2828] / [i915#456]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

#### Warnings ####

* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-kbl: [DMESG-WARN][106] ([i915#180]) -> [INCOMPLETE][107] ([i915#794])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@gem_ctx_isolation@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl4/igt@gem_ctx_isolation@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][108] ([i915#1804] / [i915#2684]) -> [WARN][109] ([i915#2684]) +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb4/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb8/igt@[email protected]

* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-iclb: [SKIP][110] ([i915#658]) -> [SKIP][111] ([i915#2920]) +2 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: [SKIP][112] ([i915#2920]) -> [SKIP][113] ([i915#658]) +2 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb2/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb1/igt@[email protected]

* igt@runner@aborted:
- shard-kbl: ([FAIL][114], [FAIL][115], [FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2426] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][122], [FAIL][123], [FAIL][124], [FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130]) ([i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl4/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl4/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl1/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl1/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
- shard-apl: ([FAIL][131], [FAIL][132], [FAIL][133], [FAIL][134], [FAIL][135], [FAIL][136]) ([i915#180] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145]) ([i915#1610] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl4/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl2/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl3/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl6/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl2/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl2/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl6/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl4/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]
- shard-skl: ([FAIL][146], [FAIL][147], [FAIL][148], [FAIL][149]) ([i915#2029] / [i915#2263] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][150], [FAIL][151], [FAIL][152]) ([i915#1436] / [i915#3002] / [i915#3363] / [i915#4312])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl10/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl3/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl3/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl2/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl8/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

#12 lore raw

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Failsafe migration blits (rev3)

Quoted 35 lines · Patchwork

Project List - Patchwork *Patch Details*
*Series:* drm/i915: Failsafe migration blits (rev3)
*URL:* https://patchwork.freedesktop.org/series/95617/
*State:* failure
*Details:* https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

CI Bug Log - changes from CI_DRM_10826_full -> Patchwork_21501_full

Summary

*FAILURE*

Serious unknown changes coming with Patchwork_21501_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21501_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

    Participating hosts (10 -> 10)

No changes in participating hosts

Possible new issues

Here are the unknown changes that may have been introduced in Patchwork_21501_full:

IGT changes

Quoted 8 lines

Possible regressions

* igt@gem_workarounds@suspend-resume-fd:

      o shard-snb: PASS
        <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-snb2/igt@[email protected]>
        -> TIMEOUT
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-snb2/igt@[email protected]>

Lakshmi,

This failure is unrelated.

Thanks,
Thomas

Reviewed-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] drm/i915/ttm: Reorganize the ttm move code

In reply to Thomas Hellström
Quoted 12 lines · Thomas Hellström

We are about to introduce failsafe- and asynchronous migration and ttm moves.
This will add complexity and code to the TTM move code so it makes sense to split it out to a separate file to make the i915 TTM code easer to digest.
Split the i915 TTM move code out and since we will have to change the name of the gpu_binds_iomem() and cpu_maps_iomem() functions anyway, we alter the name of gpu_binds_iomem() to i915_ttm_gtt_binds_lmem() which is more reflecting what it is used for.
With this we also add some more documentation. Otherwise there should be no functional change.

Quoted 1 line
Reviewed-by on v2 2/2
#4 lore raw

Re: [PATCH v2 2/2] drm/i915/ttm: Failsafe migration blits

In reply to Thomas Hellström
Quoted 34 lines · Thomas Hellström

If the initial fill blit or copy blit of an object fails, the old content of the data might be exposed and read as soon as either CPU- or GPU PTEs are set up to point at the pages.

Intercept the blit fence with an async callback that checks the blit fence for errors and if there are errors performs an async cpu blit instead. If there is a failure to allocate the async dma_fence_work, allocate it on the stack and sync wait for the blit to complete.

Add selftests that simulate gpu blit failures and failure to allocate the async dma_fence_work.

A previous version of this pach used dma_fence_work, now that's opencoded which adds more code but might lower the latency somewhat in the common non-error case.

---
  drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  | 322 +++++++++++++++---
  drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h  |   5 +
  .../drm/i915/gem/selftests/i915_gem_migrate.c |  24 +-
  3 files changed, 295 insertions(+), 56 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +3 -0
index 0ed6b7f2b95f..2e3328e2b48c 100644
@@ -18,6 +18,29 @@
  #include "gt/intel_gt.h"
  #include "gt/intel_migrate.h"
 
+/**
+ * DOC: Selftest failure modes for failsafe migration:
+ *

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c line 33

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+ * For fail_gpu_migration, the gpu blit scheduled is always a clear blit
+ * rather than a copy blit, and then we force the failure paths as if
+ * the blit fence returned an error.
+ *
+ * For fail_work_allocation we fail the kmalloc of the async worker, we
+ * sync the gpu blit. If it then fails, or fail_gpu_migration is set to
+ * true, then a memcpy operation is performed sync.
+ */
+I915_SELFTEST_DECLARE(static bool fail_gpu_migration;)
+I915_SELFTEST_DECLARE(static bool fail_work_allocation;)

Might as well move these under the CONFIG_SELFTEST below, and then drop the DECLARE stuff?

Quoted 113 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +54 -21
+
+#ifdef CONFIG_DRM_I915_SELFTEST
+void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+					bool work_allocation)
+{
+	fail_gpu_migration = gpu_migration;
+	fail_work_allocation = work_allocation;
+}
+#endif
+
  static enum i915_cache_level
  i915_ttm_cache_level(struct drm_i915_private *i915, struct ttm_resource *res,
  		     struct ttm_tt *ttm)
@@ -129,11 +152,11 @@ int i915_ttm_move_notify(struct ttm_buffer_object *bo)
  	return 0;
  }
 
-static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
-			       bool clear,
-			       struct ttm_resource *dst_mem,
-			       struct ttm_tt *dst_ttm,
-			       struct sg_table *dst_st)
+static struct dma_fence *i915_ttm_accel_move(struct ttm_buffer_object *bo,
+					     bool clear,
+					     struct ttm_resource *dst_mem,
+					     struct ttm_tt *dst_ttm,
+					     struct sg_table *dst_st)
  {
  	struct drm_i915_private *i915 = container_of(bo->bdev, typeof(*i915),
  						     bdev);
@@ -144,30 +167,29 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
  	int ret;
 
  	if (!i915->gt.migrate.context || intel_gt_is_wedged(&i915->gt))
-		return -EINVAL;
+		return ERR_PTR(-EINVAL);
+
+	/* With fail_gpu_migration, we always perform a GPU clear. */
+	if (I915_SELFTEST_ONLY(fail_gpu_migration))
+		clear = true;
 
  	dst_level = i915_ttm_cache_level(i915, dst_mem, dst_ttm);
  	if (clear) {
-		if (bo->type == ttm_bo_type_kernel)
-			return -EINVAL;
+		if (bo->type == ttm_bo_type_kernel &&
+		    !I915_SELFTEST_ONLY(fail_gpu_migration))
+			return ERR_PTR(-EINVAL);
 
  		intel_engine_pm_get(i915->gt.migrate.context->engine);
  		ret = intel_context_migrate_clear(i915->gt.migrate.context, NULL,
  						  dst_st->sgl, dst_level,
  						  i915_ttm_gtt_binds_lmem(dst_mem),
  						  0, &rq);
-
-		if (!ret && rq) {
-			i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-			i915_request_put(rq);
-		}
-		intel_engine_pm_put(i915->gt.migrate.context->engine);
  	} else {
  		struct i915_refct_sgt *src_rsgt =
  			i915_ttm_resource_get_st(obj, bo->resource);
 
  		if (IS_ERR(src_rsgt))
-			return PTR_ERR(src_rsgt);
+			return ERR_CAST(src_rsgt);
 
  		src_level = i915_ttm_cache_level(i915, bo->resource, src_ttm);
  		intel_engine_pm_get(i915->gt.migrate.context->engine);
@@ -178,15 +200,183 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
  						 dst_st->sgl, dst_level,
  						 i915_ttm_gtt_binds_lmem(dst_mem),
  						 &rq);
+
  		i915_refct_sgt_put(src_rsgt);
-		if (!ret && rq) {
-			i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-			i915_request_put(rq);
-		}
-		intel_engine_pm_put(i915->gt.migrate.context->engine);
  	}
 
-	return ret;
+	intel_engine_pm_put(i915->gt.migrate.context->engine);
+
+	if (ret && rq) {
+		i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
+		i915_request_put(rq);
+	}
+
+	return ret ? ERR_PTR(ret) : &rq->fence;
+}
+
+/**
+ * struct i915_ttm_memcpy_arg - argument for the bo memcpy functionality.
+ * @_dst_iter: Storage space for the destination kmap iterator.
+ * @_src_iter: Storage space for the source kmap iterator.
+ * @dst_iter: Pointer to the destination kmap iterator.
+ * @src_iter: Pointer to the source kmap iterator.
+ * @clear: Whether to clear instead of copy.
+ * @src_rsgt: Refcounted scatter-gather list of source memory.
+ * @dst_rsgt: Refcounted scatter-gather list of destination memory.
+ */
+struct i915_ttm_memcpy_arg {
+	union {
+		struct ttm_kmap_iter_tt tt;
+		struct ttm_kmap_iter_iomap io;
+	} _dst_iter,
+	_src_iter;
+	struct ttm_kmap_iter *dst_iter;
+	struct ttm_kmap_iter *src_iter;
+	unsigned long num_pages;

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 245

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+	bool clear;
+	struct i915_refct_sgt *src_rsgt;
+	struct i915_refct_sgt *dst_rsgt;
+};
+
+/**
+ * struct i915_ttm_memcpy_work - Async memcpy worker under a dma-fence.
+ * @fence: The dma-fence.
+ * @work: The work struct use for the memcpy work.
+ * @lock: The fence lock. Not used to protect anythinge else ATM.

s/anythinge/anything

Quoted 109 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +109 -0
+ * @irq_work: Low latency worker to signal the fence since it can't be done
+ * from the callback for lockdep reasons.
+ * @cb: Callback for the accelerated migration fence.
+ * @arg: The argument for the memcpy functionality.
+ */
+struct i915_ttm_memcpy_work {
+	struct dma_fence fence;
+	struct work_struct work;
+	/* The fence lock */
+	spinlock_t lock;
+	struct irq_work irq_work;
+	struct dma_fence_cb cb;
+	struct i915_ttm_memcpy_arg arg;
+};
+
+static void i915_ttm_move_memcpy(struct i915_ttm_memcpy_arg *arg)
+{
+	ttm_move_memcpy(arg->clear, arg->num_pages,
+			arg->dst_iter, arg->src_iter);
+}
+
+static void i915_ttm_memcpy_init(struct i915_ttm_memcpy_arg *arg,
+				 struct ttm_buffer_object *bo, bool clear,
+				 struct ttm_resource *dst_mem,
+				 struct ttm_tt *dst_ttm,
+				 struct i915_refct_sgt *dst_rsgt)
+{
+	struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
+	struct intel_memory_region *dst_reg, *src_reg;
+
+	dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
+	src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
+	GEM_BUG_ON(!dst_reg || !src_reg);
+
+	arg->dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
+		ttm_kmap_iter_tt_init(&arg->_dst_iter.tt, dst_ttm) :
+		ttm_kmap_iter_iomap_init(&arg->_dst_iter.io, &dst_reg->iomap,
+					 &dst_rsgt->table, dst_reg->region.start);
+
+	arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
+		ttm_kmap_iter_tt_init(&arg->_src_iter.tt, bo->ttm) :
+		ttm_kmap_iter_iomap_init(&arg->_src_iter.io, &src_reg->iomap,
+					 &obj->ttm.cached_io_rsgt->table,
+					 src_reg->region.start);
+	arg->clear = clear;
+	arg->num_pages = bo->base.size >> PAGE_SHIFT;
+
+	arg->dst_rsgt = i915_refct_sgt_get(dst_rsgt);
+	arg->src_rsgt = clear ? NULL :
+		i915_ttm_resource_get_st(obj, bo->resource);
+}
+
+static void i915_ttm_memcpy_release(struct i915_ttm_memcpy_arg *arg)
+{
+	i915_refct_sgt_put(arg->src_rsgt);
+	i915_refct_sgt_put(arg->dst_rsgt);
+}
+
+static void __memcpy_work(struct work_struct *work)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(work, typeof(*copy_work), work);
+	struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+	bool cookie = dma_fence_begin_signalling();
+
+	i915_ttm_move_memcpy(arg);
+	dma_fence_end_signalling(cookie);
+
+	dma_fence_signal(&copy_work->fence);
+
+	i915_ttm_memcpy_release(arg);
+	dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_irq_work(struct irq_work *irq_work)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(irq_work, typeof(*copy_work), irq_work);
+	struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+
+	dma_fence_signal(&copy_work->fence);
+	i915_ttm_memcpy_release(arg);
+	dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
+{
+	struct i915_ttm_memcpy_work *copy_work =
+		container_of(cb, typeof(*copy_work), cb);
+
+	if (unlikely(fence->error || I915_SELFTEST_ONLY(fail_gpu_migration))) {
+		INIT_WORK(&copy_work->work, __memcpy_work);
+		queue_work(system_unbound_wq, &copy_work->work);
+	} else {
+		init_irq_work(&copy_work->irq_work, __memcpy_irq_work);
+		irq_work_queue(&copy_work->irq_work);
+	}
+}
+
+static const char *get_driver_name(struct dma_fence *fence)
+{
+	return "i915_ttm_memcpy_work";
+}
+
+static const char *get_timeline_name(struct dma_fence *fence)
+{
+	return "unbound";
+}
+

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 364

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+static const struct dma_fence_ops dma_fence_memcpy_ops = {
+	.get_driver_name = get_driver_name,
+	.get_timeline_name = get_timeline_name,
+};
+
+static struct dma_fence *
+i915_ttm_memcpy_work_arm(struct i915_ttm_memcpy_work *work,
+			 struct dma_fence *dep)
+{
+	int ret = 0;

No need to initialise.

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 377

Quoted 13 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +13 -0
+
+	spin_lock_init(&work->lock);
+	dma_fence_init(&work->fence, &dma_fence_memcpy_ops, &work->lock, 0, 0);
+	dma_fence_get(&work->fence);
+	ret = dma_fence_add_callback(dep, &work->cb, __memcpy_cb);
+	if (ret) {
+		if (ret != -ENOENT)
+			dma_fence_wait(dep, false);
+
+		ret = I915_SELFTEST_ONLY(fail_gpu_migration) ? -EINVAL :
+			dep->error;
+	}
+	dma_fence_put(dep);

Should we leave that in the caller?

Quoted 24 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +11 -5
+
+	return ret ? ERR_PTR(ret) : &work->fence;
  }
 
  /**
@@ -199,42 +389,64 @@ static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
   * @allow_accel: Whether to allow acceleration.
   */
  void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
-		     struct ttm_resource *dst_mem,
-		     struct ttm_tt *dst_ttm,
-		     struct i915_refct_sgt *dst_rsgt,
-		     bool allow_accel)
+		     struct ttm_resource *dst_mem, struct ttm_tt *dst_ttm,
+		     struct i915_refct_sgt *dst_rsgt, bool allow_accel)
  {
-	int ret = -EINVAL;
+	struct i915_ttm_memcpy_work *copy_work = NULL;
+	struct i915_ttm_memcpy_arg _arg, *arg = &_arg;
+	struct dma_fence *fence = ERR_PTR(-EINVAL);
+
+	if (allow_accel) {
+		fence = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
+					    &dst_rsgt->table);

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 411

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+
+		/*
+		 * We only need to intercept the error when moving to lmem.
+		 * When moving to system, TTM or shmem will provide us with
+		 * cleared pages.
+		 */
+		if (!IS_ERR(fence) && !i915_ttm_gtt_binds_lmem(dst_mem) &&
+		    !I915_SELFTEST_ONLY(fail_gpu_migration ||
+					fail_work_allocation))
+			goto out;

Would it make sense to always add the failsafe, or not really? While there is nothing security sensitive, would it not be benificial to still add the fallback?

Also any idea what was the plan for non-cpu mappable memory?

Anyway,

Quoted 142 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +37 -29
+	}
 
-	if (allow_accel)
-		ret = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
-					  &dst_rsgt->table);
-	if (ret) {
-		struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
-		struct intel_memory_region *dst_reg, *src_reg;
-		union {
-			struct ttm_kmap_iter_tt tt;
-			struct ttm_kmap_iter_iomap io;
-		} _dst_iter, _src_iter;
-		struct ttm_kmap_iter *dst_iter, *src_iter;
-
-		dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
-		src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
-		GEM_BUG_ON(!dst_reg || !src_reg);
-
-		dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
-			ttm_kmap_iter_tt_init(&_dst_iter.tt, dst_ttm) :
-			ttm_kmap_iter_iomap_init(&_dst_iter.io, &dst_reg->iomap,
-						 &dst_rsgt->table,
-						 dst_reg->region.start);
-
-		src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
-			ttm_kmap_iter_tt_init(&_src_iter.tt, bo->ttm) :
-			ttm_kmap_iter_iomap_init(&_src_iter.io, &src_reg->iomap,
-						 &obj->ttm.cached_io_rsgt->table,
-						 src_reg->region.start);
-
-		ttm_move_memcpy(clear, dst_mem->num_pages, dst_iter, src_iter);
+	/* If we've scheduled gpu migration. Try to arm error intercept. */
+	if (!IS_ERR(fence)) {
+		struct dma_fence *dep = fence;
+
+		if (!I915_SELFTEST_ONLY(fail_work_allocation))
+			copy_work = kzalloc(sizeof(*copy_work), GFP_KERNEL);
+
+		if (copy_work) {
+			arg = &copy_work->arg;
+			i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm,
+					     dst_rsgt);
+			fence = i915_ttm_memcpy_work_arm(copy_work, dep);
+		} else {
+			dma_fence_wait(dep, false);
+			fence = ERR_PTR(I915_SELFTEST_ONLY(fail_gpu_migration) ?
+					-EINVAL : fence->error);
+			dma_fence_put(dep);
+		}
+		if (!IS_ERR(fence))
+			goto out;
+	}
+
+	/* Error intercept failed or no accelerated migration to start with */
+	if (!copy_work)
+		i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm,
+				     dst_rsgt);
+	i915_ttm_move_memcpy(arg);
+	i915_ttm_memcpy_release(arg);
+	kfree(copy_work);
+
+	return;
+out:
+	/* Sync here for now, forward the fence to caller when fully async. */
+	if (fence) {
+		dma_fence_wait(fence, false);
+		dma_fence_put(fence);
  	}
  }
 
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h +5 -0
index 68294b16e5c2..75b87e752af2 100644
@@ -7,6 +7,8 @@
 
  #include <linux/types.h>
 
+#include "i915_selftest.h"
+
  struct ttm_buffer_object;
  struct ttm_operation_ctx;
  struct ttm_place;
@@ -18,6 +20,9 @@ struct i915_refct_sgt;
 
  int i915_ttm_move_notify(struct ttm_buffer_object *bo);
 
+I915_SELFTEST_DECLARE(void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+							      bool work_allocation));
+
  /* Internal I915 TTM declarations and definitions below. */
 
  void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c +23 -1
index 28a700f08b49..4b8e6b098659 100644
@@ -4,6 +4,7 @@
   */
 
  #include "gt/intel_migrate.h"
+#include "gem/i915_gem_ttm_move.h"
 
  static int igt_fill_check_buffer(struct drm_i915_gem_object *obj,
  				 bool fill)
@@ -227,13 +228,34 @@ static int igt_lmem_pages_migrate(void *arg)
  	return err;
  }
 
+static int igt_lmem_pages_failsafe_migrate(void *arg)
+{
+	int fail_gpu, fail_alloc, ret;
+
+	for (fail_gpu = 0; fail_gpu < 2; ++fail_gpu) {
+		for (fail_alloc = 0; fail_alloc < 2; ++fail_alloc) {
+			pr_info("Simulated failure modes: gpu: %d, alloc: %d\n",
+				fail_gpu, fail_alloc);
+			i915_ttm_migrate_set_failure_modes(fail_gpu,
+							   fail_alloc);
+			ret = igt_lmem_pages_migrate(arg);
+			if (ret)
+				goto out_err;
+		}
+	}
+
+out_err:
+	i915_ttm_migrate_set_failure_modes(false, false);
+	return ret;
+}
+
  int i915_gem_migrate_live_selftests(struct drm_i915_private *i915)
  {
  	static const struct i915_subtest tests[] = {
  		SUBTEST(igt_smem_create_migrate),
  		SUBTEST(igt_lmem_create_migrate),
  		SUBTEST(igt_same_create_migrate),
-		SUBTEST(igt_lmem_pages_migrate),
+		SUBTEST(igt_lmem_pages_failsafe_migrate),
  	};
 
  	if (!HAS_LMEM(i915))
#5 lore raw

Re: [PATCH v2 2/2] drm/i915/ttm: Failsafe migration blits

Thanks for reviewing Matt,

Quoted 342 lines · Matthew Auld
Quoted 42 lines · Thomas Hellström

If the initial fill blit or copy blit of an object fails, the old content of the data might be exposed and read as soon as either CPU- or GPU PTEs are set up to point at the pages.

Intercept the blit fence with an async callback that checks the blit fence for errors and if there are errors performs an async cpu blit instead. If there is a failure to allocate the async dma_fence_work, allocate it on the stack and sync wait for the blit to complete.

Add selftests that simulate gpu blit failures and failure to allocate the async dma_fence_work.

A previous version of this pach used dma_fence_work, now that's opencoded which adds more code but might lower the latency somewhat in the common non-error case.

---
  drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  | 322 +++++++++++++++--- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h  |   5 + .../drm/i915/gem/selftests/i915_gem_migrate.c |  24 +-

  3 files changed, 295 insertions(+), 56 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +0 -0
index 0ed6b7f2b95f..2e3328e2b48c 100644
@@ -18,6 +18,29 @@
   #include "gt/intel_gt.h"
   #include "gt/intel_migrate.h"

  +/**
+ * DOC: Selftest failure modes for failsafe migration:
+ *
+ * For fail_gpu_migration, the gpu blit scheduled is always a clear blit
+ * rather than a copy blit, and then we force the failure paths as if
+ * the blit fence returned an error.
+ *
+ * For fail_work_allocation we fail the kmalloc of the async worker, we
+ * sync the gpu blit. If it then fails, or fail_gpu_migration is set to
+ * true, then a memcpy operation is performed sync.
+ */

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c line 33

Quoted 2 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +2 -0
+I915_SELFTEST_DECLARE(static bool fail_gpu_migration;)
+I915_SELFTEST_DECLARE(static bool fail_work_allocation;)

Might as well move these under the CONFIG_SELFTEST below, and then drop the DECLARE stuff?

Quoted 111 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+
+#ifdef CONFIG_DRM_I915_SELFTEST
+void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+                    bool work_allocation)
+{
+    fail_gpu_migration = gpu_migration;
+    fail_work_allocation = work_allocation;
+}
+#endif
+

  static enum i915_cache_level
  i915_ttm_cache_level(struct drm_i915_private *i915, struct ttm_resource *res, struct ttm_tt *ttm)

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +5 -4
@@ -129,11 +152,11 @@ int i915_ttm_move_notify(struct 
 ttm_buffer_object *bo)
       return 0;
   }
   -static int i915_ttm_accel_move(struct ttm_buffer_object *bo,
-                   bool clear,
-                   struct ttm_resource *dst_mem,
-                   struct ttm_tt *dst_ttm,
-                   struct sg_table *dst_st)
+static struct dma_fence *i915_ttm_accel_move(struct 
 ttm_buffer_object *bo,
+                         bool clear,
+                         struct ttm_resource *dst_mem,
+                         struct ttm_tt *dst_ttm,
+                         struct sg_table *dst_st)
   {

      struct drm_i915_private *i915 = container_of(bo->bdev, typeof(*i915), bdev);

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +8 -9
@@ -144,30 +167,29 @@ static int i915_ttm_accel_move(struct 
 ttm_buffer_object *bo,
       int ret;
         if (!i915->gt.migrate.context || intel_gt_is_wedged(&i915->gt))
-        return -EINVAL;
+        return ERR_PTR(-EINVAL);
+
+    /* With fail_gpu_migration, we always perform a GPU clear. */
+    if (I915_SELFTEST_ONLY(fail_gpu_migration))
+        clear = true;
         dst_level = i915_ttm_cache_level(i915, dst_mem, dst_ttm);
       if (clear) {
-        if (bo->type == ttm_bo_type_kernel)
-            return -EINVAL;
+        if (bo->type == ttm_bo_type_kernel &&
+            !I915_SELFTEST_ONLY(fail_gpu_migration))
+            return ERR_PTR(-EINVAL);
 intel_engine_pm_get(i915->gt.migrate.context->engine);
           ret = intel_context_migrate_clear(i915->gt.migrate.context, NULL,
                             dst_st->sgl, dst_level,
                             i915_ttm_gtt_binds_lmem(dst_mem),
                             0, &rq);
-
-        if (!ret && rq) {
-            i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-            i915_request_put(rq);
-        }
- intel_engine_pm_put(i915->gt.migrate.context->engine);
       } else {

          struct i915_refct_sgt *src_rsgt = i915_ttm_resource_get_st(obj, bo->resource);
            if (IS_ERR(src_rsgt))
-            return PTR_ERR(src_rsgt);
+            return ERR_CAST(src_rsgt);
            src_level = i915_ttm_cache_level(i915, bo->resource, src_ttm); intel_engine_pm_get(i915->gt.migrate.context->engine);

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +13 -5
@@ -178,15 +200,183 @@ static int i915_ttm_accel_move(struct 
 ttm_buffer_object *bo,
                            dst_st->sgl, dst_level,
                            i915_ttm_gtt_binds_lmem(dst_mem),
                            &rq);
+
           i915_refct_sgt_put(src_rsgt);
-        if (!ret && rq) {
-            i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
-            i915_request_put(rq);
-        }
- intel_engine_pm_put(i915->gt.migrate.context->engine);
       }
   -    return ret;
+ intel_engine_pm_put(i915->gt.migrate.context->engine);
+
+    if (ret && rq) {
+        i915_request_wait(rq, 0, MAX_SCHEDULE_TIMEOUT);
+        i915_request_put(rq);
+    }
+
+    return ret ? ERR_PTR(ret) : &rq->fence;
+}
+
+/**
+ * struct i915_ttm_memcpy_arg - argument for the bo memcpy 

functionality.
+ * @_dst_iter: Storage space for the destination kmap iterator.
+ * @_src_iter: Storage space for the source kmap iterator.
+ * @dst_iter: Pointer to the destination kmap iterator.
+ * @src_iter: Pointer to the source kmap iterator.
+ * @clear: Whether to clear instead of copy.
+ * @src_rsgt: Refcounted scatter-gather list of source memory.
+ * @dst_rsgt: Refcounted scatter-gather list of destination memory.
+ */

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +9 -0
+struct i915_ttm_memcpy_arg {
+    union {
+        struct ttm_kmap_iter_tt tt;
+        struct ttm_kmap_iter_iomap io;
+    } _dst_iter,
+    _src_iter;
+    struct ttm_kmap_iter *dst_iter;
+    struct ttm_kmap_iter *src_iter;
+    unsigned long num_pages;

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 245

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+    bool clear;
+    struct i915_refct_sgt *src_rsgt;
+    struct i915_refct_sgt *dst_rsgt;
+};
+
+/**
+ * struct i915_ttm_memcpy_work - Async memcpy worker under a dma-fence.
+ * @fence: The dma-fence.
+ * @work: The work struct use for the memcpy work.
+ * @lock: The fence lock. Not used to protect anythinge else ATM.

s/anythinge/anything

Quoted 112 lines

+ * @irq_work: Low latency worker to signal the fence since it can't be done
+ * from the callback for lockdep reasons.
+ * @cb: Callback for the accelerated migration fence.
+ * @arg: The argument for the memcpy functionality.
+ */

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +81 -0
+struct i915_ttm_memcpy_work {
+    struct dma_fence fence;
+    struct work_struct work;
+    /* The fence lock */
+    spinlock_t lock;
+    struct irq_work irq_work;
+    struct dma_fence_cb cb;
+    struct i915_ttm_memcpy_arg arg;
+};
+
+static void i915_ttm_move_memcpy(struct i915_ttm_memcpy_arg *arg)
+{
+    ttm_move_memcpy(arg->clear, arg->num_pages,
+            arg->dst_iter, arg->src_iter);
+}
+
+static void i915_ttm_memcpy_init(struct i915_ttm_memcpy_arg *arg,
+                 struct ttm_buffer_object *bo, bool clear,
+                 struct ttm_resource *dst_mem,
+                 struct ttm_tt *dst_ttm,
+                 struct i915_refct_sgt *dst_rsgt)
+{
+    struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
+    struct intel_memory_region *dst_reg, *src_reg;
+
+    dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
+    src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
+    GEM_BUG_ON(!dst_reg || !src_reg);
+
+    arg->dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
+        ttm_kmap_iter_tt_init(&arg->_dst_iter.tt, dst_ttm) :
+        ttm_kmap_iter_iomap_init(&arg->_dst_iter.io, &dst_reg->iomap,
+                     &dst_rsgt->table, dst_reg->region.start);
+
+    arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
+        ttm_kmap_iter_tt_init(&arg->_src_iter.tt, bo->ttm) :
+        ttm_kmap_iter_iomap_init(&arg->_src_iter.io, &src_reg->iomap,
+                     &obj->ttm.cached_io_rsgt->table,
+                     src_reg->region.start);
+    arg->clear = clear;
+    arg->num_pages = bo->base.size >> PAGE_SHIFT;
+
+    arg->dst_rsgt = i915_refct_sgt_get(dst_rsgt);
+    arg->src_rsgt = clear ? NULL :
+        i915_ttm_resource_get_st(obj, bo->resource);
+}
+
+static void i915_ttm_memcpy_release(struct i915_ttm_memcpy_arg *arg)
+{
+    i915_refct_sgt_put(arg->src_rsgt);
+    i915_refct_sgt_put(arg->dst_rsgt);
+}
+
+static void __memcpy_work(struct work_struct *work)
+{
+    struct i915_ttm_memcpy_work *copy_work =
+        container_of(work, typeof(*copy_work), work);
+    struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+    bool cookie = dma_fence_begin_signalling();
+
+    i915_ttm_move_memcpy(arg);
+    dma_fence_end_signalling(cookie);
+
+    dma_fence_signal(&copy_work->fence);
+
+    i915_ttm_memcpy_release(arg);
+    dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_irq_work(struct irq_work *irq_work)
+{
+    struct i915_ttm_memcpy_work *copy_work =
+        container_of(irq_work, typeof(*copy_work), irq_work);
+    struct i915_ttm_memcpy_arg *arg = &copy_work->arg;
+
+    dma_fence_signal(&copy_work->fence);
+    i915_ttm_memcpy_release(arg);
+    dma_fence_put(&copy_work->fence);
+}
+
+static void __memcpy_cb(struct dma_fence *fence, struct dma_fence_cb 

*cb)

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +5 -0
+{
+    struct i915_ttm_memcpy_work *copy_work =
+        container_of(cb, typeof(*copy_work), cb);
+
+    if (unlikely(fence->error || 

I915_SELFTEST_ONLY(fail_gpu_migration))) {
+        INIT_WORK(&copy_work->work, __memcpy_work);
+        queue_work(system_unbound_wq, &copy_work->work); +    } else {
+        init_irq_work(&copy_work->irq_work, __memcpy_irq_work); +        irq_work_queue(&copy_work->irq_work);
+    }

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +12 -0
+}
+
+static const char *get_driver_name(struct dma_fence *fence)
+{
+    return "i915_ttm_memcpy_work";
+}
+
+static const char *get_timeline_name(struct dma_fence *fence)
+{
+    return "unbound";
+}
+

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 364

Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +10 -0
+static const struct dma_fence_ops dma_fence_memcpy_ops = {
+    .get_driver_name = get_driver_name,
+    .get_timeline_name = get_timeline_name,
+};
+
+static struct dma_fence *
+i915_ttm_memcpy_work_arm(struct i915_ttm_memcpy_work *work,
+             struct dma_fence *dep)
+{
+    int ret = 0;

No need to initialise.

Quoted 6 lines

+
+    spin_lock_init(&work->lock);
+    dma_fence_init(&work->fence, &dma_fence_memcpy_ops, &work->lock, 0, 0);
+    dma_fence_get(&work->fence);
+    ret = dma_fence_add_callback(dep, &work->cb, __memcpy_cb);

Quoted 8 lines

+    if (ret) {
+        if (ret != -ENOENT)
+            dma_fence_wait(dep, false);
+
+        ret = I915_SELFTEST_ONLY(fail_gpu_migration) ? -EINVAL :
+            dep->error;
+    }
+    dma_fence_put(dep);

Should we leave that in the caller?

Quoted 28 lines

+
+    return ret ? ERR_PTR(ret) : &work->fence;
  }
    /**

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +13 -5
@@ -199,42 +389,64 @@ static int i915_ttm_accel_move(struct 
 ttm_buffer_object *bo,
    * @allow_accel: Whether to allow acceleration.
    */
   void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
-             struct ttm_resource *dst_mem,
-             struct ttm_tt *dst_ttm,
-             struct i915_refct_sgt *dst_rsgt,
-             bool allow_accel)
+             struct ttm_resource *dst_mem, struct ttm_tt *dst_ttm,
+             struct i915_refct_sgt *dst_rsgt, bool allow_accel)
   {
-    int ret = -EINVAL;
+    struct i915_ttm_memcpy_work *copy_work = NULL;
+    struct i915_ttm_memcpy_arg _arg, *arg = &_arg;
+    struct dma_fence *fence = ERR_PTR(-EINVAL);
+
+    if (allow_accel) {
+        fence = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
+                        &dst_rsgt->table);
+
+        /*
+         * We only need to intercept the error when moving to lmem.
+         * When moving to system, TTM or shmem will provide us with
Quoted 8 lines

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c static int i915_ttm_accel_move(struct ttm_buffer_object *bo, · line 411

Quoted 6 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +6 -0
+         * cleared pages.
+         */
+        if (!IS_ERR(fence) && !i915_ttm_gtt_binds_lmem(dst_mem) &&
+            !I915_SELFTEST_ONLY(fail_gpu_migration ||
+                    fail_work_allocation))
+            goto out;

Would it make sense to always add the failsafe, or not really? While there is nothing security sensitive, would it not be benificial to still add the fallback?

Drawback is that the software fence *might* get in the way of gpu pipelining. Not sure if that will be a problem in practice. One short term benefit with having things as they are now is that the gpu fences arising from  eviction to smem are ordered along a timeline which TTM requires for pipelined eviction. If we were to add the error intercept for these we'd also have to chain them along a dma_fence_chain to make them appear ordered.

Quoted 2 lines

Also any idea what was the plan for non-cpu mappable memory?

Yes the idea was to wedge the gt and perhaps block cpu mapping (if needed for some pages). But I still wonder if we can somehow just mark the bo as insecure and just refuse setting up gpu- and cpu mappings to it...

Quoted 138 lines

Anyway,

Quoted 133 lines
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +24 -28
+    }
   -    if (allow_accel)
-        ret = i915_ttm_accel_move(bo, clear, dst_mem, dst_ttm,
-                      &dst_rsgt->table);
-    if (ret) {
-        struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo);
-        struct intel_memory_region *dst_reg, *src_reg;
-        union {
-            struct ttm_kmap_iter_tt tt;
-            struct ttm_kmap_iter_iomap io;
-        } _dst_iter, _src_iter;
-        struct ttm_kmap_iter *dst_iter, *src_iter;
-
-        dst_reg = i915_ttm_region(bo->bdev, dst_mem->mem_type);
-        src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
-        GEM_BUG_ON(!dst_reg || !src_reg);
-
-        dst_iter = !i915_ttm_cpu_maps_iomem(dst_mem) ?
-            ttm_kmap_iter_tt_init(&_dst_iter.tt, dst_ttm) :
-            ttm_kmap_iter_iomap_init(&_dst_iter.io, &dst_reg->iomap,
-                         &dst_rsgt->table,
-                         dst_reg->region.start);
-
-        src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
-            ttm_kmap_iter_tt_init(&_src_iter.tt, bo->ttm) :
-            ttm_kmap_iter_iomap_init(&_src_iter.io, &src_reg->iomap,
- &obj->ttm.cached_io_rsgt->table,
-                         src_reg->region.start);
-
-        ttm_move_memcpy(clear, dst_mem->num_pages, dst_iter, src_iter);
+    /* If we've scheduled gpu migration. Try to arm error intercept. */
+    if (!IS_ERR(fence)) {
+        struct dma_fence *dep = fence;
+
+        if (!I915_SELFTEST_ONLY(fail_work_allocation))
+            copy_work = kzalloc(sizeof(*copy_work), GFP_KERNEL);
+
+        if (copy_work) {
+            arg = &copy_work->arg;
+            i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm,
+                         dst_rsgt);
+            fence = i915_ttm_memcpy_work_arm(copy_work, dep);
+        } else {
+            dma_fence_wait(dep, false);
+            fence = ERR_PTR(I915_SELFTEST_ONLY(fail_gpu_migration) ?
+                    -EINVAL : fence->error);
+            dma_fence_put(dep);
+        }
+        if (!IS_ERR(fence))
+            goto out;
+    }
+
+    /* Error intercept failed or no accelerated migration to start 

with */
+    if (!copy_work)
+        i915_ttm_memcpy_init(arg, bo, clear, dst_mem, dst_ttm, +                     dst_rsgt);
+    i915_ttm_move_memcpy(arg);
+    i915_ttm_memcpy_release(arg);
+    kfree(copy_work);

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +4 -0
+
+    return;
+out:
+    /* Sync here for now, forward the fence to caller when fully 

async. */
+    if (fence) {
+        dma_fence_wait(fence, false);
+        dma_fence_put(fence);
      }
  }
  diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h index 68294b16e5c2..75b87e752af2 100644

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h +0 -0
@@ -7,6 +7,8 @@
     #include <linux/types.h>

  +#include "i915_selftest.h"
+
  struct ttm_buffer_object;
  struct ttm_operation_ctx;
  struct ttm_place;

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h +2 -0
@@ -18,6 +20,9 @@ struct i915_refct_sgt;
     int i915_ttm_move_notify(struct ttm_buffer_object *bo);
   +I915_SELFTEST_DECLARE(void i915_ttm_migrate_set_failure_modes(bool gpu_migration,
+                                  bool work_allocation));
+
   /* Internal I915 TTM declarations and definitions below. */
     void __i915_ttm_move(struct ttm_buffer_object *bo, bool clear,
drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c +22 -1
index 28a700f08b49..4b8e6b098659 100644
@@ -4,6 +4,7 @@
    */
     #include "gt/intel_migrate.h"
+#include "gem/i915_gem_ttm_move.h"
     static int igt_fill_check_buffer(struct drm_i915_gem_object *obj,
                    bool fill)
@@ -227,13 +228,34 @@ static int igt_lmem_pages_migrate(void *arg)
       return err;
   }
   +static int igt_lmem_pages_failsafe_migrate(void *arg)
+{
+    int fail_gpu, fail_alloc, ret;
+
+    for (fail_gpu = 0; fail_gpu < 2; ++fail_gpu) {
+        for (fail_alloc = 0; fail_alloc < 2; ++fail_alloc) {
+            pr_info("Simulated failure modes: gpu: %d, alloc: %d\n",
+                fail_gpu, fail_alloc);
+            i915_ttm_migrate_set_failure_modes(fail_gpu,
+                               fail_alloc);
+            ret = igt_lmem_pages_migrate(arg);
+            if (ret)
+                goto out_err;
+        }
+    }
+
+out_err:
+    i915_ttm_migrate_set_failure_modes(false, false);
+    return ret;
+}
+
   int i915_gem_migrate_live_selftests(struct drm_i915_private *i915)
   {
       static const struct i915_subtest tests[] = {
           SUBTEST(igt_smem_create_migrate),
           SUBTEST(igt_lmem_create_migrate),
           SUBTEST(igt_same_create_migrate),
-        SUBTEST(igt_lmem_pages_migrate),
+        SUBTEST(igt_lmem_pages_failsafe_migrate),
       };
         if (!HAS_LMEM(i915))
 
#14 lore raw

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Failsafe migration blits (rev3)

In reply to Thomas Hellström
== Series Details ==

== Series Details ==

Series: drm/i915: Failsafe migration blits (rev3)
URL : https://patchwork.freedesktop.org/series/95617/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10826_full -> Patchwork_21501_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (10 -> 10)
------------------------------

No changes in participating hosts

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

Here are the changes found in Patchwork_21501_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_create@create-massive:
- shard-skl: NOTRUN -> [DMESG-WARN][1] ([i915#3002])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@gem_eio@in-flight-10ms:
- shard-skl: NOTRUN -> [TIMEOUT][2] ([i915#3063])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][3] -> [TIMEOUT][4] ([i915#2369] / [i915#3063] / [i915#3648])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb5/igt@[email protected]

* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [PASS][5] -> [SKIP][6] ([fdo#109271])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl7/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-tglb: NOTRUN -> [SKIP][7] ([i915#4270])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-skl: NOTRUN -> [FAIL][8] ([i915#3318])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@gem_workarounds@suspend-resume-fd:
- shard-snb: [PASS][9] -> [TIMEOUT][10] ([i915#4420])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-snb2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-snb2/igt@[email protected]

* igt@gen9_exec_parse@allowed-single:
- shard-skl: [PASS][11] -> [DMESG-WARN][12] ([i915#1436] / [i915#716])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][13] ([i915#3743]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-skl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#3777])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3777])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][16] ([fdo#111615]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#3886]) +5 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#3886]) +10 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#3886]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#3689] / [i915#3886])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#3689]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs.html

* igt@kms_cdclk@plane-scaling:
- shard-tglb: NOTRUN -> [SKIP][22] ([i915#3742])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb3/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-storm:
- shard-kbl: NOTRUN -> [SKIP][23] ([fdo#109271] / [fdo#111827]) +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

* igt@kms_chamelium@vga-hpd-with-enabled-mode:
- shard-tglb: NOTRUN -> [SKIP][24] ([fdo#109284] / [fdo#111827]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-max:
- shard-skl: NOTRUN -> [SKIP][25] ([fdo#109271] / [fdo#111827]) +17 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-degamma:
- shard-apl: NOTRUN -> [SKIP][26] ([fdo#109271] / [fdo#111827]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-offscreen:
- shard-tglb: NOTRUN -> [SKIP][27] ([i915#3319])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x170-offscreen:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#109279] / [i915#3359])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [PASS][29] -> [INCOMPLETE][30] ([i915#2411] / [i915#4211])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- shard-tglb: NOTRUN -> [SKIP][31] ([i915#4103])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-skl: NOTRUN -> [FAIL][32] ([i915#2346] / [i915#533])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) +7 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl3/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-tglb: [PASS][35] -> [INCOMPLETE][36] ([i915#456]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb2/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-tglb: [PASS][37] -> [INCOMPLETE][38] ([i915#2411] / [i915#456])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb5/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb7/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-skl: NOTRUN -> [INCOMPLETE][39] ([i915#3699])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-skl: NOTRUN -> [SKIP][40] ([fdo#109271] / [i915#2672])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-blt:
- shard-skl: NOTRUN -> [SKIP][41] ([fdo#109271]) +283 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271]) +98 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111825]) +7 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271]) +79 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- shard-apl: [PASS][45] -> [DMESG-WARN][46] ([i915#180]) +5 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl1/igt@kms_plane@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@kms_plane@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-skl: NOTRUN -> [FAIL][47] ([fdo#108145] / [i915#265]) +5 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-skl: NOTRUN -> [FAIL][48] ([i915#265])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#2733])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html

* igt@kms_prime@basic-crc@second-to-first:
- shard-tglb: NOTRUN -> [SKIP][50] ([i915#1836])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@kms_prime@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#658]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5:
- shard-kbl: NOTRUN -> [SKIP][52] ([fdo#109271] / [i915#658])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-skl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#658]) +5 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]

* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][54] -> [SKIP][55] ([fdo#109441])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb1/igt@kms_psr@psr2_cursor_mmap_cpu.html

* igt@kms_psr@psr2_primary_blt:
- shard-tglb: NOTRUN -> [FAIL][56] ([i915#132] / [i915#3467]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb3/igt@kms_psr@psr2_primary_blt.html

* igt@kms_sysfs_edid_timing:
- shard-skl: NOTRUN -> [FAIL][57] ([IGT#2])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@kms_sysfs_edid_timing.html

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [PASS][58] -> [DMESG-WARN][59] ([i915#180] / [i915#295])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl8/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]

* igt@kms_vblank@pipe-d-wait-idle:
- shard-apl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#533]) +3 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#533]) +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl7/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#2437])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@nouveau_crc@pipe-d-source-rg:
- shard-tglb: NOTRUN -> [SKIP][63] ([i915#2530])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

* igt@perf@blocking:
- shard-skl: [PASS][64] -> [FAIL][65] ([i915#1542]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl7/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl8/igt@[email protected]

* igt@prime_nv_api@i915_nv_double_import:
- shard-glk: NOTRUN -> [SKIP][66] ([fdo#109271]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk4/igt@prime_nv_api@i915_nv_double_import.html

* igt@prime_nv_pcopy@test3_4:
- shard-tglb: NOTRUN -> [SKIP][67] ([fdo#109291])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@prime_nv_pcopy@test3_4.html

* igt@sysfs_clients@fair-3:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#2994]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl9/igt@[email protected]

* igt@sysfs_clients@split-50:
- shard-kbl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#2994]) +2 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]

#### Possible fixes ####

* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][70] ([i915#658]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@[email protected]

* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-tglb: [INCOMPLETE][72] ([i915#456]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@gem_ctx_isolation@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@gem_ctx_isolation@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-skl: [TIMEOUT][74] ([i915#2369] / [i915#3063]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl2/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [FAIL][76] ([i915#2842]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl2/igt@gem_exec_fair@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][78] ([i915#2842]) -> [PASS][79] +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-glk7/igt@gem_exec_fair@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: [FAIL][80] ([i915#2842]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@gem_exec_fair@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-tglb: [FAIL][82] ([i915#2842]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb6/igt@gem_exec_fair@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb1/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][84] ([i915#2190]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb8/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][86] ([i915#454]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb3/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb6/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][88] ([i915#180]) -> [PASS][89] +2 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl3/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl7/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][90] ([i915#118]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-glk4/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-glk4/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [DMESG-WARN][92] ([i915#180]) -> [PASS][93] +2 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl2/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-skl: [FAIL][94] ([i915#79]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl6/igt@kms_flip@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@c-edp1:
- shard-iclb: [DMESG-WARN][96] ([i915#2867]) -> [PASS][97] +1 similar issue
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb7/igt@kms_flip@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb7/igt@kms_flip@[email protected]

* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [FAIL][98] ([i915#2122]) -> [PASS][99] +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl8/igt@kms_flip@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl2/igt@kms_flip@[email protected]

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [SKIP][100] ([fdo#109441]) -> [PASS][101] +2 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb4/igt@kms_psr@psr2_no_drrs.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@kms_psr@psr2_no_drrs.html

* igt@kms_rotation_crc@multiplane-rotation-cropping-bottom:
- shard-skl: [DMESG-WARN][102] ([i915#1982]) -> [PASS][103] +2 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl1/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl10/igt@[email protected]

* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][104] ([i915#2828] / [i915#456]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-tglb7/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-tglb6/igt@[email protected]

#### Warnings ####

* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-kbl: [DMESG-WARN][106] ([i915#180]) -> [INCOMPLETE][107] ([i915#794])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@gem_ctx_isolation@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl4/igt@gem_ctx_isolation@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][108] ([i915#1804] / [i915#2684]) -> [WARN][109] ([i915#2684]) +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb4/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb8/igt@[email protected]

* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-iclb: [SKIP][110] ([i915#658]) -> [SKIP][111] ([i915#2920]) +2 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb6/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: [SKIP][112] ([i915#2920]) -> [SKIP][113] ([i915#658]) +2 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-iclb2/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-iclb1/igt@[email protected]

* igt@runner@aborted:
- shard-kbl: ([FAIL][114], [FAIL][115], [FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2426] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][122], [FAIL][123], [FAIL][124], [FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130]) ([i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl4/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl6/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl4/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-kbl1/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl1/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl3/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl7/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-kbl6/igt@[email protected]
- shard-apl: ([FAIL][131], [FAIL][132], [FAIL][133], [FAIL][134], [FAIL][135], [FAIL][136]) ([i915#180] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145]) ([i915#1610] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl4/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl2/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl3/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl6/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-apl2/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl2/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl6/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl4/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl8/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-apl1/igt@[email protected]
- shard-skl: ([FAIL][146], [FAIL][147], [FAIL][148], [FAIL][149]) ([i915#2029] / [i915#2263] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][150], [FAIL][151], [FAIL][152]) ([i915#1436] / [i915#3002] / [i915#3363] / [i915#4312])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl10/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl3/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl3/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-skl2/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl8/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl4/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-skl6/igt@[email protected]

[IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109441]: https://bugs.fre

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

#13 lore raw

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Failsafe migration blits (rev3)

In reply to Thomas Hellström

Filed below bug and re-reported.
https://gitlab.freedesktop.org/drm/intel/-/issues/4420
igt@gem_workarounds@suspend-resume-fd - timeout - Received signal SIGQUIT. Per-test timeout exceeded. Killing the current test with SIGQUIT.

Thanks,
Lakshmi.
From: Thomas Hellström <[email protected]>
Sent: Tuesday, November 2, 2021 2:19 AM
To: [email protected]; Vudum, Lakshminarayana <[email protected]>
Subject: Re: ✗ Fi.CI.IGT: failure for drm/i915: Failsafe migration blits (rev3)

On 11/2/21 08:47, Patchwork wrote:
Patch Details
Series:

drm/i915: Failsafe migration blits (rev3)

URL:

https://patchwork.freedesktop.org/series/95617/

State:

failure

Details:

https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/index.html

CI Bug Log - changes from CI_DRM_10826_full -> Patchwork_21501_full Summary

FAILURE

Serious unknown changes coming with Patchwork_21501_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21501_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (10 -> 10)

No changes in participating hosts

Possible new issues

Here are the unknown changes that may have been introduced in Patchwork_21501_full:

IGT changes
Possible regressions

* igt@gem_workarounds@suspend-resume-fd:

* shard-snb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10826/shard-snb2/igt@[email protected]> -> TIMEOUT<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21501/shard-snb2/igt@[email protected]>

Lakshmi,

This failure is unrelated.

Thanks,
Thomas