drm/i915/ttm: Async migration
Subsystems (2)
v5 cover drm/i915/ttm: Async migration
This patch series deals with async migration and async vram management. It still leaves an important part out, which is async unbinding which will reduce latency further, at least when trying to migrate already active objects.
Patches 1/6 deals with accessing and waiting for the TTM moving fence from i915 GEM.
Patch 2 is pure code reorganization, no functional change. Patch 3 breaks a refcounting loop involving the TTM moving fence. Patch 4 makes the i915 TTM shinking code handle async moves. Patch 5 uses TTM to implement the ttm move() callback async, it also introduces a utility to collect dependencies and turn them into a single dma_fence, which is needed for the intel_migrate code. This also affects the gem object migrate code.
Patch 6 makes the object copy utility async as well, mainly for future users since the only current user, suspend backup and restore, typically will want to sync anyway.
v2:
- Fix a couple of SPARSE warnings.
v3:
- Fix a NULL pointer dereference.
v4:
- Squash what was previously patch 1 and 2 to patch1
- Ditch the moving fence waiting in i915_vma_pin_iomap()
- Rework how the refcounting loop is broken in patch 3. Drop region reference counting.
- Break what is now patch 4 out of patch 5. Add support for avoiding waiting for gpu when shrinking.
- A number of changes in patch 5. See the commit message for details. v5:
- Some fixes to i915_vma_verify_bind_complete() (Matthew Auld)
- Update patches with R-B.
Maarten Lankhorst (1):
drm/i915: Add support for moving fence waiting
Thomas Hellström (5):
drm/i915/ttm: Move the i915_gem_obj_copy_ttm() function drm/i915/ttm: Drop region reference counting drm/i915/ttm: Correctly handle waiting for gpu when shrinking drm/i915/ttm: Implement asynchronous TTM moves drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous
drivers/gpu/drm/i915/gem/i915_gem_object.c | 52 +++ drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 + .../gpu/drm/i915/gem/i915_gem_object_types.h | 1 + drivers/gpu/drm/i915/gem/i915_gem_pages.c | 6 + drivers/gpu/drm/i915/gem/i915_gem_region.c | 4 +- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 1 + drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 6 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 89 ++-- drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 6 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 405 ++++++++++++++++-- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h | 10 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 3 + drivers/gpu/drm/i915/gem/i915_gem_wait.c | 4 +- .../gpu/drm/i915/gem/selftests/huge_pages.c | 2 +- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 10 +- drivers/gpu/drm/i915/i915_vma.c | 39 +- drivers/gpu/drm/i915/intel_memory_region.c | 26 +- drivers/gpu/drm/i915/intel_memory_region.h | 9 +- drivers/gpu/drm/i915/intel_region_ttm.c | 35 +- drivers/gpu/drm/i915/intel_region_ttm.h | 2 +- .../drm/i915/selftests/intel_memory_region.c | 8 +- drivers/gpu/drm/i915/selftests/mock_region.c | 7 +- 23 files changed, 591 insertions(+), 143 deletions(-)
Signature · 1 line
2.31.1
PATCH v5 1/6 drm/i915: Add support for moving fence waiting
From: Maarten Lankhorst <[email protected]>
For now, we will only allow async migration when TTM is used, so the paths we care about are related to TTM.
The mmap path is handled by having the fence in ttm_bo->moving, when pinning, the binding only becomes available after the moving fence is signaled, and pinning a cpu map will only work after the moving fence signals.
This should close all holes where userspace can read a buffer before it's fully migrated.
v2:
- Fix a couple of SPARSE warnings
v3:
- Fix a NULL pointer dereference
v4:
- Ditch the moving fence waiting for i915_vma_pin_iomap() and replace with a verification that the vma is already bound. (Matthew Auld)
- Squash with a previous patch introducing moving fence waiting and accessing interfaces (Matthew Auld)
- Rename to indicated that we also add support for sync waiting. v5:
- Fix check for NULL and unreferencing i915_vma_verify_bind_complete() (Matthew Auld)
- Fix compilation failure if !CONFIG_DRM_I915_DEBUG_GEM
- Fix include ordering. (Matthew Auld)
--- drivers/gpu/drm/i915/gem/i915_gem_object.c | 52 ++++++++++++++++++++++ drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 +++ drivers/gpu/drm/i915/gem/i915_gem_pages.c | 6 +++ drivers/gpu/drm/i915/i915_vma.c | 39 +++++++++++++++- 4 files changed, 102 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_object.c +52 -0
@@ -31,6 +31,7 @@#include "i915_gem_context.h" #include "i915_gem_mman.h" #include "i915_gem_object.h" +#include "i915_gem_ttm.h" #include "i915_memcpy.h" #include "i915_trace.h"
@@ -726,6 +727,57 @@ static const struct drm_gem_object_funcs i915_gem_object_funcs = { .export = i915_gem_prime_export, }; +/** +* i915_gem_object_get_moving_fence - Get the object's moving fence if any +* @obj: The object whose moving fence to get. +* +* A non-signaled moving fence means that there is an async operation +* pending on the object that needs to be waited on before setting up +* any GPU- or CPU PTEs to the object's pages. +* +* Return: A refcounted pointer to the object's moving fence if any, +* NULL otherwise. +*/ +struct dma_fence * +i915_gem_object_get_moving_fence (struct drm_i915_gem_object *obj) +{ +return dma_fence_get (i915_gem_to_ttm (obj)->moving); +} + +/** +* i915_gem_object_wait_moving_fence - Wait for the object's moving fence if any +* @obj: The object whose moving fence to wait for. +* @intr: Whether to wait interruptible. +* +* If the moving fence signaled without an error, it is detached from the +* object and put. +* +* Return: 0 if successful, -ERESTARTSYS if the wait was interrupted, +* negative error code if the async operation represented by the +* moving fence failed. +*/ +int i915_gem_object_wait_moving_fence (struct drm_i915_gem_object *obj, +bool intr) +{ +struct dma_fence *fence =i915_gem_to_ttm (obj)->moving; +int ret; + +assert_object_held (obj); +if (!fence) +return 0 ; + + ret =dma_fence_wait (fence, intr); +if (ret) +return ret; + +if (fence->error) +return fence->error; + +i915_gem_to_ttm (obj)->moving =NULL ; +dma_fence_put (fence); +return 0 ; +} +#if IS_ENABLED (CONFIG_DRM_I915_SELFTEST )#include "selftests/huge_gem_object.c" #include "selftests/huge_pages.c"
drivers/gpu/drm/i915/gem/i915_gem_object.h +6 -0
@@ -517,6 +517,12 @@ i915_gem_object_finish_access(struct drm_i915_gem_object *obj)i915_gem_object_unpin_pages (obj); } +struct dma_fence * +i915_gem_object_get_moving_fence (struct drm_i915_gem_object *obj); + +int i915_gem_object_wait_moving_fence (struct drm_i915_gem_object *obj, +bool intr); +void i915_gem_object_set_cache_coherency (struct drm_i915_gem_object *obj,unsigned int cache_level);bool i915_gem_object_can_bypass_llc (struct drm_i915_gem_object *obj);
drivers/gpu/drm/i915/gem/i915_gem_pages.c +6 -0
@@ -418,6 +418,12 @@ void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj, }if (!ptr) { + err =i915_gem_object_wait_moving_fence (obj, true); +if (err) { + ptr =ERR_PTR (err); + goto err_unpin; + } +if (GEM_WARN_ON (type ==I915_MAP_WC && !static_cpu_has (X86_FEATURE_PAT ))) ptr =ERR_PTR (-ENODEV );
drivers/gpu/drm/i915/i915_vma.c +38 -1
@@ -354,6 +354,28 @@ int i915_vma_wait_for_bind(struct i915_vma *vma)return err; } +static int i915_vma_verify_bind_complete (struct i915_vma *vma) +{ +int err =0 ; + +if (i915_active_has_exclusive (&vma->active)) { +struct dma_fence *fence = +i915_active_fence_get (&vma->active.excl); + +if (!fence) +return 0 ; + +if (dma_fence_is_signaled (fence)) + err = fence->error; +else + err = -EBUSY ; + +dma_fence_put (fence); + } + +return err; +} +/** * i915_vma_bind - Sets up PTEs for an VMA in it's corresponding address space. * @vma: VMA to map
@@ -428,6 +450,13 @@ int i915_vma_bind(struct i915_vma *vma, work->pinned =i915_gem_object_get (vma->obj); } }else { +if (vma->obj) { +int ret; + + ret =i915_gem_object_wait_moving_fence (vma->obj, true); +if (ret) +return ret; + } vma->ops->bind_vma (vma->vm,NULL , vma, cache_level, bind_flags); }
@@ -449,6 +478,7 @@ void __iomem *i915_vma_pin_iomap(struct i915_vma *vma)GEM_BUG_ON (!i915_vma_is_ggtt (vma));GEM_BUG_ON (!i915_vma_is_bound (vma,I915_VMA_GLOBAL_BIND )); +GEM_BUG_ON (i915_vma_verify_bind_complete (vma)); ptr =READ_ONCE (vma->iomap);if (ptr ==NULL ) {
@@ -867,6 +897,7 @@ int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, u64 size, u64 alignment, u64 flags) { struct i915_vma_work *work = NULL; +struct dma_fence *moving =NULL ;intel_wakeref_t wakeref =0 ;unsigned int bound;int err;
@@ -892,7 +923,8 @@ int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww,if (flags &PIN_GLOBAL ) wakeref =intel_runtime_pm_get (&vma->vm->i915->runtime_pm); -if (flags & vma->vm->bind_async_flags) { + moving = vma->obj ?i915_gem_object_get_moving_fence (vma->obj) :NULL ; +if (flags & vma->vm->bind_async_flags || moving) {/* lock VM */ err =i915_vm_lock_objects (vma->vm, ww);if (err)
@@ -906,6 +938,8 @@ int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, work->vm =i915_vm_get (vma->vm); +dma_fence_work_chain (&work->base, moving); +/* Allocate enough page directories to used PTE */ if (vma->vm->allocate_va_range) { err = i915_vm_alloc_pt_stash(vma->vm,
@@ -1010,7 +1044,10 @@ int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, err_rpm:if (wakeref)intel_runtime_pm_put (&vma->vm->i915->runtime_pm, wakeref); +if (moving) +dma_fence_put (moving);vma_put_pages (vma); +return err; }
Signature · 1 line
2.31.1
PATCH v5 2/6 drm/i915/ttm: Move the i915_gem_obj_copy_ttm() function
In reply to Thomas HellströmMove the i915_gem_obj_copy_ttm() function to i915_gem_ttm_move.h. This will help keep a number of functions static when introducing async moves.
--- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 47 --------------- drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 4 -- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 63 ++++++++++++++++---- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h | 10 ++-- drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 1 + 5 files changed, 56 insertions(+), 69 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +0 -47
@@ -1063,50 +1063,3 @@ i915_gem_ttm_system_setup(struct drm_i915_private *i915,intel_memory_region_set_name (mr,"system-ttm" );return mr; } - -/** -* i915_gem_obj_copy_ttm - Copy the contents of one ttm-based gem object to -* another -* @dst: The destination object -* @src: The source object -* @allow_accel: Allow using the blitter. Otherwise TTM memcpy is used. -* @intr: Whether to perform waits interruptible: -* -* Note: The caller is responsible for assuring that the underlying -* TTM objects are populated if needed and locked. -* -* Return: Zero on success. Negative error code on error. If @intr == true, -* then it may return -ERESTARTSYS or -EINTR. -*/ -int i915_gem_obj_copy_ttm (struct drm_i915_gem_object *dst, -struct drm_i915_gem_object *src, -bool allow_accel,bool intr) -{ -struct ttm_buffer_object *dst_bo =i915_gem_to_ttm (dst); -struct ttm_buffer_object *src_bo =i915_gem_to_ttm (src); -struct ttm_operation_ctx ctx = { - .interruptible = intr, - }; -struct i915_refct_sgt *dst_rsgt; -int ret; - -assert_object_held (dst); -assert_object_held (src); - -/* -* Sync for now. This will change with async moves. -*/ - ret =ttm_bo_wait_ctx (dst_bo, &ctx); -if (!ret) - ret =ttm_bo_wait_ctx (src_bo, &ctx); -if (ret) -return ret; - - dst_rsgt =i915_ttm_resource_get_st (dst, dst_bo->resource); -__i915_ttm_move (src_bo, false, dst_bo->resource, dst_bo->ttm, - dst_rsgt, allow_accel); - -i915_refct_sgt_put (dst_rsgt); - -return 0 ; -}
drivers/gpu/drm/i915/gem/i915_gem_ttm.h +0 -4
@@ -49,10 +49,6 @@ int __i915_gem_ttm_object_init(struct intel_memory_region *mem,resource_size_t page_size, unsigned int flags); -int i915_gem_obj_copy_ttm (struct drm_i915_gem_object *dst, -struct drm_i915_gem_object *src, -bool allow_accel,bool intr); -/* Internal I915 TTM declarations and definitions below. */ #define I915_PL_LMEM0 TTM_PL_PRIV
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +51 -12
72 lines not on this page · raw message
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h +4 -6
@@ -23,13 +23,11 @@ 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. */ +int i915_gem_obj_copy_ttm (struct drm_i915_gem_object *dst, +struct drm_i915_gem_object *src, +bool allow_accel,bool intr); -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); +/* Internal I915 TTM declarations and definitions below. */ int i915_ttm_move(struct ttm_buffer_object *bo, bool evict, struct ttm_operation_ctx *ctx,
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c +1 -0
@@ -12,6 +12,7 @@#include "gem/i915_gem_region.h" #include "gem/i915_gem_ttm.h" +#include "gem/i915_gem_ttm_move.h" #include "gem/i915_gem_ttm_pm.h" /**
Signature · 1 line
2.31.1
PATCH v5 3/6 drm/i915/ttm: Drop region reference counting
In reply to Thomas HellströmThere is an interesting refcounting loop:
struct intel_memory_region has a struct ttm_resource_manager, ttm_resource_manager->move may hold a reference to i915_request, i915_request may hold a reference to intel_context, intel_context may hold a reference to drm_i915_gem_object, drm_i915_gem_object may hold a reference to intel_memory_region.
Break this loop by dropping region reference counting.
In addition, Have regions with a manager moving fence make sure that all region objects are released before freeing the region.
--- drivers/gpu/drm/i915/gem/i915_gem_region.c | 4 +-- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 6 ++-- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 3 +- .../gpu/drm/i915/gem/selftests/huge_pages.c | 2 +- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 10 ++++-- drivers/gpu/drm/i915/intel_memory_region.c | 26 ++++---------- drivers/gpu/drm/i915/intel_memory_region.h | 9 ++--- drivers/gpu/drm/i915/intel_region_ttm.c | 35 +++++++++++++++++-- drivers/gpu/drm/i915/intel_region_ttm.h | 2 +- .../drm/i915/selftests/intel_memory_region.c | 8 ++--- drivers/gpu/drm/i915/selftests/mock_region.c | 7 ++-- 12 files changed, 69 insertions(+), 46 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_region.c +1 -3
@@ -11,7 +11,7 @@void i915_gem_object_init_memory_region (struct drm_i915_gem_object *obj,struct intel_memory_region *mem) { - obj->mm.region =intel_memory_region_get (mem); + obj->mm.region = mem;mutex_lock (&mem->objects.lock);list_add (&obj->mm.region_link, &mem->objects.list);
@@ -25,8 +25,6 @@ void i915_gem_object_release_memory_region(struct drm_i915_gem_object *obj)mutex_lock (&mem->objects.lock);list_del (&obj->mm.region_link);mutex_unlock (&mem->objects.lock); - -intel_memory_region_put (mem); } struct drm_i915_gem_object *
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +2 -1
@@ -664,9 +664,10 @@ static int init_shmem(struct intel_memory_region *mem)return 0 ;/* Don't error, we can simply fallback to the kernel mnt */ } -static void release_shmem (struct intel_memory_region *mem) +static int release_shmem (struct intel_memory_region *mem) {i915_gemfs_fini (mem->i915); +return 0 ; }static const struct intel_memory_region_ops shmem_region_ops = {
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +4 -2
@@ -720,9 +720,10 @@ static int init_stolen_smem(struct intel_memory_region *mem)return i915_gem_init_stolen (mem); } -static void release_stolen_smem (struct intel_memory_region *mem) +static int release_stolen_smem (struct intel_memory_region *mem) {i915_gem_cleanup_stolen (mem->i915); +return 0 ; }static const struct intel_memory_region_ops i915_region_stolen_smem_ops = {
@@ -759,10 +760,11 @@ static int init_stolen_lmem(struct intel_memory_region *mem)return err; } -static void release_stolen_lmem (struct intel_memory_region *mem) +static int release_stolen_lmem (struct intel_memory_region *mem) {io_mapping_fini (&mem->iomap);i915_gem_cleanup_stolen (mem->i915); +return 0 ; }static const struct intel_memory_region_ops i915_region_stolen_lmem_ops = {
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +2 -1
@@ -997,7 +997,7 @@ int __i915_gem_ttm_object_init(struct intel_memory_region *mem,i915_gem_object_init (obj, &i915_gem_ttm_obj_ops, &lock_class, flags);/* Don't put on a region list until we're either locked or fully initialized. */ - obj->mm.region =intel_memory_region_get (mem); + obj->mm.region = mem;INIT_LIST_HEAD (&obj->mm.region_link);INIT_RADIX_TREE (&obj->ttm.get_io_page.radix,GFP_KERNEL | __GFP_NOWARN);
@@ -1044,6 +1044,7 @@ int __i915_gem_ttm_object_init(struct intel_memory_region *mem,static const struct intel_memory_region_ops ttm_system_region_ops = { .init_object = __i915_gem_ttm_object_init, + .release = intel_region_ttm_fini, }; struct intel_memory_region *
drivers/gpu/drm/i915/gem/selftests/huge_pages.c +1 -1
@@ -568,7 +568,7 @@ static int igt_mock_memory_region_huge_pages(void *arg) out_put:i915_gem_object_put (obj); out_region: -intel_memory_region_put (mem); +intel_memory_region_destroy (mem);return err; }
drivers/gpu/drm/i915/gt/intel_region_lmem.c +7 -3
@@ -66,12 +66,16 @@ static void release_fake_lmem_bar(struct intel_memory_region *mem) DMA_ATTR_FORCE_CONTIGUOUS); } -static void +static int region_lmem_release (struct intel_memory_region *mem) { -intel_region_ttm_fini (mem); +int ret; + + ret =intel_region_ttm_fini (mem);io_mapping_fini (&mem->iomap);release_fake_lmem_bar (mem); + +return ret; } static int
@@ -231,7 +235,7 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt)return mem; err_region_put: -intel_memory_region_put (mem); +intel_memory_region_destroy (mem);return ERR_PTR (err); }
drivers/gpu/drm/i915/intel_memory_region.c +7 -19
@@ -126,7 +126,6 @@ intel_memory_region_create(struct drm_i915_private *i915, goto err_free; } -kref_init (&mem->kref);return mem; err_free:
@@ -144,28 +143,17 @@ void intel_memory_region_set_name(struct intel_memory_region *mem,va_end (ap); } -static void __intel_memory_region_destroy (struct kref *kref) +void intel_memory_region_destroy (struct intel_memory_region *mem) { -struct intel_memory_region *mem = -container_of (kref,typeof (*mem), kref); +int ret =0 ;if (mem->ops->release) - mem->ops->release (mem); + ret = mem->ops->release (mem); +GEM_WARN_ON (!list_empty_careful (&mem->objects.list));mutex_destroy (&mem->objects.lock); -kfree (mem); -} - -struct intel_memory_region * -intel_memory_region_get (struct intel_memory_region *mem) -{ -kref_get (&mem->kref); -return mem; -} - -void intel_memory_region_put (struct intel_memory_region *mem) -{ -kref_put (&mem->kref, __intel_memory_region_destroy); +if (!ret) +kfree (mem); }/* Global memory region registration -- only slight layer inversions! */
@@ -234,7 +222,7 @@ void intel_memory_regions_driver_release(struct drm_i915_private *i915)fetch_and_zero (&i915->mm.regions[i]);if (region) -intel_memory_region_put (region); +intel_memory_region_destroy (region); } }
drivers/gpu/drm/i915/intel_memory_region.h +2 -7
@@ -6,7 +6,6 @@#ifndef __INTEL_MEMORY_REGION_H__#define __INTEL_MEMORY_REGION_H__ -#include <linux/kref.h> #include <linux/ioport.h> #include <linux/mutex.h> #include <linux/io-mapping.h>
@@ -51,7 +50,7 @@ struct intel_memory_region_ops {unsigned int flags;int (*init)(struct intel_memory_region *mem); -void (*release)(struct intel_memory_region *mem); +int (*release)(struct intel_memory_region *mem); int (*init_object)(struct intel_memory_region *mem, struct drm_i915_gem_object *obj,
@@ -71,8 +70,6 @@ struct intel_memory_region {/* For fake LMEM */ struct drm_mm_node fake_mappable; -struct kref kref; -resource_size_t io_start;resource_size_t min_page_size;resource_size_t total;
@@ -110,9 +107,7 @@ intel_memory_region_create(struct drm_i915_private *i915,u16 instance, const struct intel_memory_region_ops *ops); -struct intel_memory_region * -intel_memory_region_get (struct intel_memory_region *mem); -void intel_memory_region_put (struct intel_memory_region *mem); +void intel_memory_region_destroy (struct intel_memory_region *mem);int intel_memory_regions_hw_probe (struct drm_i915_private *i915);void intel_memory_regions_driver_release (struct drm_i915_private *i915);
drivers/gpu/drm/i915/intel_region_ttm.c +33 -2
@@ -104,14 +104,45 @@ int intel_region_ttm_init(struct intel_memory_region *mem)* memory region, and if it was registered with the TTM device, * removes that registration. */ -void intel_region_ttm_fini (struct intel_memory_region *mem) +int intel_region_ttm_fini (struct intel_memory_region *mem) { -int ret; +struct ttm_resource_manager *man = mem->region_private; +int ret = -EBUSY ; +int count; + +/* +* Put the region's move fences. This releases requests that +* may hold on to contexts and vms that may hold on to buffer +* objects that may have a refcount on the region. :/ +*/ +if (man) +ttm_resource_manager_cleanup (man); + +/* Flush objects from region. */ +for (count =0 ; count <10 ; ++count) { +i915_gem_flush_free_objects (mem->i915); + +mutex_lock (&mem->objects.lock); +if (list_empty (&mem->objects.list)) + ret =0 ; +mutex_unlock (&mem->objects.lock); +if (!ret) +break ; + +msleep (20 ); +flush_delayed_work (&mem->i915->bdev.wq); + } + +/* If we leaked objects, Don't free the region causing use after free */ +if (ret || !man) +return ret; ret =i915_ttm_buddy_man_fini (&mem->i915->bdev,intel_region_to_ttm_type (mem));GEM_WARN_ON (ret); mem->region_private =NULL ; + +return ret; }/**
drivers/gpu/drm/i915/intel_region_ttm.h +1 -1
@@ -20,7 +20,7 @@ void intel_region_ttm_device_fini(struct drm_i915_private *dev_priv);int intel_region_ttm_init (struct intel_memory_region *mem); -void intel_region_ttm_fini (struct intel_memory_region *mem); +int intel_region_ttm_fini (struct intel_memory_region *mem);struct i915_refct_sgt * intel_region_ttm_resource_to_rsgt(struct intel_memory_region *mem,
drivers/gpu/drm/i915/selftests/intel_memory_region.c +4 -4
@@ -225,7 +225,7 @@ static int igt_mock_reserve(void *arg) out_close:close_objects (mem, &objects); -intel_memory_region_put (mem); +intel_memory_region_destroy (mem); out_free_order:kfree (order);return err;
@@ -439,7 +439,7 @@ static int igt_mock_splintered_region(void *arg) out_close:close_objects (mem, &objects); out_put: -intel_memory_region_put (mem); +intel_memory_region_destroy (mem);return err; }
@@ -507,7 +507,7 @@ static int igt_mock_max_segment(void *arg) out_close:close_objects (mem, &objects); out_put: -intel_memory_region_put (mem); +intel_memory_region_destroy (mem);return err; }
@@ -1196,7 +1196,7 @@ int intel_memory_region_mock_selftests(void) err =i915_subtests (tests, mem); -intel_memory_region_put (mem); +intel_memory_region_destroy (mem); out_unref:mock_destroy_device (i915);return err;
drivers/gpu/drm/i915/selftests/mock_region.c +5 -2
@@ -84,13 +84,16 @@ static int mock_object_init(struct intel_memory_region *mem,return 0 ; } -static void mock_region_fini (struct intel_memory_region *mem) +static int mock_region_fini (struct intel_memory_region *mem) {struct drm_i915_private *i915 = mem->i915;int instance = mem->instance; +int ret; -intel_region_ttm_fini (mem); + ret =intel_region_ttm_fini (mem);ida_free (&i915->selftest.mock_region_instances, instance); + +return ret; }static const struct intel_memory_region_ops mock_region_ops = {
Signature · 1 line
2.31.1
PATCH v5 5/6 drm/i915/ttm: Implement asynchronous TTM moves
In reply to Thomas HellströmDon't wait sync while migrating, but rather make the GPU blit await the dependencies and add a moving fence to the object.
This also enables asynchronous VRAM management in that on eviction, rather than waiting for the moving fence to expire before freeing VRAM, it is freed immediately and the fence is stored with the VRAM manager and handed out to newly allocated objects to await before clears and swapins, or for kernel objects before setting up gpu vmas or mapping.
To collect dependencies before migrating, add a set of utilities that coalesce these to a single dma_fence.
What is still missing for fully asynchronous operation is asynchronous vma unbinding, which is still to be implemented.
This commit substantially reduces execution time in the gem_lmem_swapping test.
v2:
- Make a couple of functions static.
v4:
- Fix some style issues (Matthew Auld)
- Audit and add more checks for ghost objects (Matthew Auld)
- Add more documentation for the i915_deps utility (Mattew Auld)
- Simplify the i915_deps_sync() function
--- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 32 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 338 +++++++++++++++++-- drivers/gpu/drm/i915/gem/i915_gem_wait.c | 4 +- 4 files changed, 344 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +26 -6
@@ -248,10 +248,13 @@ static struct ttm_tt *i915_ttm_tt_create(struct ttm_buffer_object *bo,struct ttm_resource_manager *man =ttm_manager_type (bo->bdev, bo->resource->mem_type);struct drm_i915_gem_object *obj =i915_ttm_to_gem (bo); -enum ttm_caching caching =i915_ttm_select_tt_caching (obj); +enum ttm_caching caching;struct i915_ttm_tt *i915_tt;int ret; +if (!obj) +return NULL ; + i915_tt =kzalloc (sizeof (*i915_tt),GFP_KERNEL );if (!i915_tt)return NULL ;
@@ -260,6 +263,7 @@ static struct ttm_tt *i915_ttm_tt_create(struct ttm_buffer_object *bo, man->use_tt) page_flags |=TTM_TT_FLAG_ZERO_ALLOC ; + caching =i915_ttm_select_tt_caching (obj);if (i915_gem_object_is_shrinkable (obj) && caching == ttm_cached) { page_flags |=TTM_TT_FLAG_EXTERNAL |TTM_TT_FLAG_EXTERNAL_MAPPABLE ;
@@ -326,6 +330,9 @@ static bool i915_ttm_eviction_valuable(struct ttm_buffer_object *bo, {struct drm_i915_gem_object *obj =i915_ttm_to_gem (bo); +if (!obj) +return false; +/* * EXTERNAL objects should never be swapped out by TTM, instead we need * to handle that ourselves. TTM will already skip such objects for us,
@@ -552,8 +559,12 @@ i915_ttm_resource_get_st(struct drm_i915_gem_object *obj,static void i915_ttm_swap_notify (struct ttm_buffer_object *bo) {struct drm_i915_gem_object *obj =i915_ttm_to_gem (bo); -int ret =i915_ttm_move_notify (bo); +int ret; +if (!obj) +return ; + + ret =i915_ttm_move_notify (bo);GEM_WARN_ON (ret);GEM_WARN_ON (obj->ttm.cached_io_rsgt);if (!ret && obj->mm.madv !=I915_MADV_WILLNEED )
@@ -575,17 +586,23 @@ static unsigned long i915_ttm_io_mem_pfn(struct ttm_buffer_object *bo, unsigned long page_offset) {struct drm_i915_gem_object *obj =i915_ttm_to_gem (bo); -unsigned long base = obj->mm.region->iomap.base - obj->mm.region->region.start;struct scatterlist *sg; +unsigned long base;unsigned int ofs; +GEM_BUG_ON (!obj);GEM_WARN_ON (bo->ttm); + base = obj->mm.region->iomap.base - obj->mm.region->region.start; sg =__i915_gem_object_get_sg (obj, &obj->ttm.get_io_page, page_offset, &ofs, true);return ((base +sg_dma_address (sg)) >>PAGE_SHIFT ) + ofs; } +/* +* All callbacks need to take care not to downcast a struct ttm_buffer_object +* without checking its subclass, since it might be a TTM ghost object. +*/ static struct ttm_device_funcs i915_ttm_bo_driver = { .ttm_tt_create = i915_ttm_tt_create, .ttm_tt_populate = i915_ttm_tt_populate,
@@ -847,13 +864,16 @@ static void i915_ttm_delayed_free(struct drm_i915_gem_object *obj)static vm_fault_t vm_fault_ttm (struct vm_fault *vmf) {struct vm_area_struct *area = vmf->vma; -struct drm_i915_gem_object *obj = -i915_ttm_to_gem (area->vm_private_data); -struct ttm_buffer_object *bo =i915_gem_to_ttm (obj); +struct ttm_buffer_object *bo = area->vm_private_data;struct drm_device *dev = bo->base.dev; +struct drm_i915_gem_object *obj;vm_fault_t ret;int idx; + obj =i915_ttm_to_gem (bo); +if (!obj) +return VM_FAULT_SIGBUS ; +/* Sanity check that we allow writing into this object */ if (unlikely (i915_gem_object_is_readonly (obj) && area->vm_flags &VM_WRITE ))
drivers/gpu/drm/i915/gem/i915_gem_ttm.h +1 -1
@@ -37,7 +37,7 @@ void i915_ttm_bo_destroy(struct ttm_buffer_object *bo);static inline struct drm_i915_gem_object *i915_ttm_to_gem (struct ttm_buffer_object *bo) { -if (GEM_WARN_ON (bo->destroy != i915_ttm_bo_destroy)) +if (bo->destroy != i915_ttm_bo_destroy)return NULL ; return container_of(bo, struct drm_i915_gem_object, __do_not_access);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +315 -23
428 lines not on this page · raw message
drivers/gpu/drm/i915/gem/i915_gem_wait.c +2 -2
@@ -262,6 +262,6 @@ int i915_gem_object_wait_migration(struct drm_i915_gem_object *obj, unsigned int flags) {might_sleep (); -/* NOP for now. */ -return 0 ; + +return i915_gem_object_wait_moving_fence (obj, !!(flags &I915_WAIT_INTERRUPTIBLE )); }
Signature · 1 line
2.31.1
PATCH v5 4/6 drm/i915/ttm: Correctly handle waiting for gpu when shrinking
In reply to Thomas HellströmWith async migration, the shrinker may end up wanting to release the pages of an object while the migration blit is still running, since the GT migration code doesn't set up VMAs and the shrinker is thus oblivious to the fact that the GPU is still using the pages.
Add waiting for gpu in the shrinker_release_pages() op and an argument to that function indicating whether the shrinker expects it to not wait for gpu. In the latter case the shrinker_release_pages() op will return -EBUSY if the object is not idle.
--- drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 1 + drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 1 + drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +1 -0
@@ -59,6 +59,7 @@ struct drm_i915_gem_object_ops {int (*truncate)(struct drm_i915_gem_object *obj);void (*writeback)(struct drm_i915_gem_object *obj);int (*shrinker_release_pages)(struct drm_i915_gem_object *obj, +bool no_gpu_wait,bool should_writeback); int (*pread)(struct drm_i915_gem_object *obj,
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +1 -0
@@ -60,6 +60,7 @@ static int try_to_writeback(struct drm_i915_gem_object *obj, unsigned int flags) {if (obj->ops->shrinker_release_pages)return obj->ops->shrinker_release_pages (obj, + !(flags &I915_SHRINK_ACTIVE ), flags &I915_SHRINK_WRITEBACK );switch (obj->mm.madv) {
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +6 -1
@@ -418,6 +418,7 @@ int i915_ttm_purge(struct drm_i915_gem_object *obj) }static int i915_ttm_shrinker_release_pages (struct drm_i915_gem_object *obj, +bool no_wait_gpu,bool should_writeback) {struct ttm_buffer_object *bo =i915_gem_to_ttm (obj);
@@ -425,7 +426,7 @@ static int i915_ttm_shrinker_release_pages(struct drm_i915_gem_object *obj,container_of (bo->ttm,typeof (*i915_tt), ttm);struct ttm_operation_ctx ctx = { .interruptible = true, - .no_wait_gpu = false, + .no_wait_gpu = no_wait_gpu, };struct ttm_placement place = {};int ret;
@@ -438,6 +439,10 @@ static int i915_ttm_shrinker_release_pages(struct drm_i915_gem_object *obj,if (!i915_tt->filp)return 0 ; + ret =ttm_bo_wait_ctx (bo, &ctx); +if (ret) +return ret; +switch (obj->mm.madv) {case I915_MADV_DONTNEED :return i915_ttm_purge (obj);
Signature · 1 line
2.31.1
PATCH v5 6/6 drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous
In reply to Thomas HellströmUpdate the copy function i915_gem_obj_copy_ttm() to be asynchronous for future users and update the only current user to sync the objects as needed after this function.
--- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 40 ++++++++++++++------ drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 2 + 2 files changed, 30 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +28 -12
@@ -822,33 +822,49 @@ int i915_gem_obj_copy_ttm(struct drm_i915_gem_object *dst, .interruptible = intr, };struct i915_refct_sgt *dst_rsgt; -struct dma_fence *copy_fence; -int ret; +struct dma_fence *copy_fence, *dep_fence; +struct i915_deps deps; +int ret, shared_err;assert_object_held (dst);assert_object_held (src); +i915_deps_init (&deps,GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN);/* -* Sync for now. This will change with async moves. +* We plan to add a shared fence only for the source. If that +* fails, we await all source fences before commencing +* the copy instead of only the exclusive. */ - ret =ttm_bo_wait_ctx (dst_bo, &ctx); + shared_err =dma_resv_reserve_shared (src_bo->base.resv,1 ); + ret =i915_deps_add_resv (&deps, dst_bo->base.resv, true, false, &ctx);if (!ret) - ret =ttm_bo_wait_ctx (src_bo, &ctx); + ret =i915_deps_add_resv (&deps, src_bo->base.resv, + !!shared_err, false, &ctx);if (ret)return ret; + dep_fence =i915_deps_to_fence (&deps, &ctx); +if (IS_ERR (dep_fence)) +return PTR_ERR (dep_fence); + dst_rsgt =i915_ttm_resource_get_st (dst, dst_bo->resource); copy_fence =__i915_ttm_move (src_bo, false, dst_bo->resource, - dst_bo->ttm, dst_rsgt, allow_accel,NULL ); + dst_bo->ttm, dst_rsgt, allow_accel, + dep_fence);i915_refct_sgt_put (dst_rsgt); -if (IS_ERR (copy_fence)) -return PTR_ERR (copy_fence); +if (IS_ERR_OR_NULL (copy_fence)) +return PTR_ERR_OR_ZERO (copy_fence); -if (copy_fence) { -dma_fence_wait (copy_fence, false); -dma_fence_put (copy_fence); - } +dma_resv_add_excl_fence (dst_bo->base.resv, copy_fence); + +/* If we failed to reserve a shared slot, add an exclusive fence */ +if (shared_err) +dma_resv_add_excl_fence (src_bo->base.resv, copy_fence); +else +dma_resv_add_shared_fence (src_bo->base.resv, copy_fence); + +dma_fence_put (copy_fence);return 0 ; }
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c +2 -0
@@ -80,6 +80,7 @@ static int i915_ttm_backup(struct i915_gem_apply_to_region *apply, err =i915_gem_obj_copy_ttm (backup, obj, pm_apply->allow_gpu, false);GEM_WARN_ON (err); +ttm_bo_wait_ctx (backup_bo, &ctx); obj->ttm.backup = backup;return 0 ;
@@ -170,6 +171,7 @@ static int i915_ttm_restore(struct i915_gem_apply_to_region *apply, err =i915_gem_obj_copy_ttm (obj, backup, pm_apply->allow_gpu, false);GEM_WARN_ON (err); +ttm_bo_wait_ctx (backup_bo, &ctx); obj->ttm.backup =NULL ; err =0 ;
Signature · 1 line
2.31.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/ttm: Async migration (rev6)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: drm/i915/ttm: Async migration (rev6)
URL : https://patchwork.freedesktop.org/series/96798/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ttm: Async migration (rev6)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: drm/i915/ttm: Async migration (rev6)
URL : https://patchwork.freedesktop.org/series/96798/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10908 -> Patchwork_21642
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/index.html
Participating hosts (41 -> 33)
------------------------------
Additional (1): fi-tgl-1115g4
Missing (9): bat-dg1-6 fi-tgl-u2 bat-dg1-5 fi-hsw-4200u fi-bsw-cyan bat-adlp-6 fi-ctg-p8600 bat-jsl-2 bat-jsl-1
Known issues
------------
Here are the changes found in Patchwork_21642 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@query-info:
- fi-bsw-kefka: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-bsw-kefka/igt@amdgpu/[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][2] ([fdo#109315])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([fdo#109315] / [i915#2575]) +16 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-samus: NOTRUN -> [INCOMPLETE][4] ([i915#2539])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-bdw-samus/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [FAIL][5] ([i915#1888])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6600u: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][7] ([i915#2190])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][8] ([i915#4555])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-skl-6600u: NOTRUN -> [SKIP][9] ([fdo#109271]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][10] ([i915#4555] / [i915#4565]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][11] ([i915#1155])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][12] ([fdo#111827]) +8 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@kms_chamelium@vga-edid-read:
- fi-skl-6600u: NOTRUN -> [SKIP][13] ([fdo#109271] / [fdo#111827]) +8 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][14] ([i915#4103]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][15] ([fdo#109285])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6600u: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#533])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][17] ([i915#1072]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html
* igt@kms_psr@primary_page_flip:
- fi-skl-6600u: NOTRUN -> [FAIL][18] ([i915#4547])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][19] ([i915#3301])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-tgl-1115g4/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-bdw-samus: [INCOMPLETE][20] ([i915#146] / [i915#2539]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/fi-bdw-samus/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-bdw-samus/igt@[email protected]
* igt@gem_flink_basic@bad-flink:
- fi-skl-6600u: [FAIL][22] ([i915#4547]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/fi-skl-6600u/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-skl-6600u/igt@[email protected]
* igt@i915_selftest@live@execlists:
- fi-bsw-kefka: [INCOMPLETE][24] ([i915#2940]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/fi-bsw-kefka/igt@i915_selftest@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-bsw-kefka/igt@i915_selftest@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [DMESG-WARN][26] ([i915#4269]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/fi-cml-u2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/fi-cml-u2/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[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#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2539]: https://gitlab.freedesktop.org/drm/intel/issues/2539
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4555]: https://gitlab.freedesktop.org/drm/intel/issues/4555
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Build changes
-------------
* Linux: CI_DRM_10908 -> Patchwork_21642
CI-20190529: 20190529
CI_DRM_10908: 2b9df9dd40af61e0178fef5b88b1e8baae4194c6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6285: 2e0355faad5c2e81cd6705b76e529ce526c7c9bf @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21642: a33c9756ce5bdb1416dc8c919daf1c7bfad38d66 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
a33c9756ce5b drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous 3dfdf5aa5655 drm/i915/ttm: Implement asynchronous TTM moves 545afb764146 drm/i915/ttm: Correctly handle waiting for gpu when shrinking 94dcb0148aaf drm/i915/ttm: Drop region reference counting f47aa8aa217c drm/i915/ttm: Move the i915_gem_obj_copy_ttm() function ef30c395cf34 drm/i915: Add support for moving fence waiting
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/ttm: Async migration (rev6)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: drm/i915/ttm: Async migration (rev6)
URL : https://patchwork.freedesktop.org/series/96798/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10908_full -> Patchwork_21642_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21642_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21642_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21642_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_edge_walk@pipe-c-64x64-top-edge:
- shard-kbl: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl7/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21642_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-kbl: NOTRUN -> [DMESG-WARN][2] ([i915#3002])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl1/igt@[email protected]
* igt@gem_exec_create@forked@smem:
- shard-glk: [PASS][3] -> [DMESG-WARN][4] ([i915#118]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-glk5/igt@gem_exec_create@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-glk2/igt@gem_exec_create@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: NOTRUN -> [FAIL][5] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@gem_exec_fair@[email protected]
- shard-apl: [PASS][6] -> [SKIP][7] ([fdo#109271])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl8/igt@gem_exec_fair@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2842]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-glk2/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-tglb: [PASS][10] -> [FAIL][11] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb2/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_flush@basic-wb-ro-before-default:
- shard-skl: [PASS][12] -> [DMESG-WARN][13] ([i915#1982])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl4/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl9/igt@[email protected]
* igt@gem_exec_params@no-vebox:
- shard-tglb: NOTRUN -> [SKIP][14] ([fdo#109283])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@gem_pxp@create-regular-context-2:
- shard-tglb: NOTRUN -> [SKIP][15] ([i915#4270])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-tglb: NOTRUN -> [SKIP][16] ([i915#2856])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb5/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][17] -> [INCOMPLETE][18] ([i915#3921])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-snb2/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-snb5/igt@i915_selftest@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-tglb: [PASS][19] -> [INCOMPLETE][20] ([i915#456] / [i915#750])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@[email protected]
* igt@kms_async_flips@crc:
- shard-skl: NOTRUN -> [FAIL][21] ([i915#4272])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl9/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][22] ([fdo#111614])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb5/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-skl: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#3777])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][24] ([fdo#111615]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb2/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][25] ([i915#3689] / [i915#3886]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb5/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#3886]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#3886])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl4/igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#111615] / [i915#3689]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb2/igt@kms_ccs@pipe-b-random-ccs-data-yf_tiled_ccs.html
* igt@kms_ccs@pipe-d-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#3689])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@kms_ccs@pipe-d-random-ccs-data-y_tiled_gen12_mc_ccs.html
* igt@kms_cdclk@plane-scaling:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#3742])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb5/igt@[email protected]
* igt@kms_chamelium@vga-hpd:
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#109284] / [fdo#111827]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-negative:
- shard-skl: NOTRUN -> [SKIP][32] ([fdo#109271] / [fdo#111827]) +5 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@[email protected]
* igt@kms_content_protection@mei_interface:
- shard-tglb: NOTRUN -> [SKIP][33] ([fdo#111828])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@kms_content_protection@mei_interface.html
* igt@kms_cursor_crc@pipe-a-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#3359])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-32x32-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][35] ([i915#3319]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x512-offscreen:
- shard-tglb: NOTRUN -> [SKIP][36] ([fdo#109279] / [i915#3359]) +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb5/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-d-128x128-bottom-edge:
- shard-apl: NOTRUN -> [SKIP][37] ([fdo#109271]) +5 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl4/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][38] -> [INCOMPLETE][39] ([i915#180] / [i915#1982])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl4/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl1/igt@[email protected]
* igt@kms_fbcon_fbt@psr-suspend:
- shard-tglb: [PASS][40] -> [INCOMPLETE][41] ([i915#2411] / [i915#456])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb2/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-dp1:
- shard-apl: [PASS][42] -> [FAIL][43] ([i915#79])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl4/igt@kms_flip@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-skl: [PASS][44] -> [FAIL][45] ([i915#2122])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl1/igt@kms_flip@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][46] -> [DMESG-WARN][47] ([i915#180]) +4 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-kbl2/igt@kms_flip@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl4/igt@kms_flip@[email protected]
- shard-apl: [PASS][48] -> [DMESG-WARN][49] ([i915#180]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl8/igt@kms_flip@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: NOTRUN -> [DMESG-WARN][50] ([i915#180])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][51] -> [INCOMPLETE][52] ([i915#636])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-kbl6/igt@kms_flip@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-skl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#2672])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-skl: NOTRUN -> [SKIP][54] ([fdo#109271]) +85 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-pwrite:
- shard-kbl: NOTRUN -> [SKIP][55] ([fdo#109271]) +11 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl7/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][56] ([fdo#111825]) +18 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-gtt.html
* igt@kms_hdr@bpc-switch:
- shard-skl: NOTRUN -> [FAIL][57] ([i915#1188])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_hdr@static-swap:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#1187])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-skl: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#533])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl9/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-tglb: [PASS][60] -> [INCOMPLETE][61] ([i915#456])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb2/igt@kms_plane@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@kms_plane@[email protected]
- shard-skl: [PASS][62] -> [INCOMPLETE][63] ([i915#198]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl9/igt@kms_plane@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl2/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-skl: NOTRUN -> [FAIL][64] ([i915#265])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][65] ([fdo#111615] / [fdo#112054])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_plane_lowres@pipe-d-tiling-none:
- shard-tglb: NOTRUN -> [SKIP][66] ([i915#3536])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#2920]) +2 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#658])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-tglb: NOTRUN -> [FAIL][69] ([i915#132] / [i915#3467])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-tglb: [PASS][70] -> [INCOMPLETE][71] ([i915#2828] / [i915#456])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb2/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][72] ([fdo#109271] / [i915#2437])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl7/igt@[email protected]
* igt@nouveau_crc@pipe-c-source-outp-complete:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#2530]) +2 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb2/igt@[email protected]
* igt@prime_udl:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#109291])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@prime_udl.html
* igt@sysfs_clients@split-10:
- shard-skl: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#2994])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl10/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@unaligned-write:
- {shard-rkl}: [SKIP][76] ([i915#2582]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@feature_discovery@psr1:
- {shard-rkl}: [SKIP][78] ([i915#658]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@gem_ctx_persistence@many-contexts:
- {shard-rkl}: ([PASS][80], [FAIL][81]) ([i915#2410]) -> [PASS][82]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-4/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-1/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [TIMEOUT][83] ([i915#2369] / [i915#3063] / [i915#3648]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb3/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb6/igt@[email protected]
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: [FAIL][85] ([i915#2842]) -> [PASS][86] +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb2/igt@gem_exec_fair@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: [FAIL][87] ([i915#2842]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-iclb2/igt@gem_exec_fair@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fence@parallel@bcs0:
- shard-glk: [DMESG-WARN][89] ([i915#118]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-glk1/igt@gem_exec_fence@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-glk7/igt@gem_exec_fence@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][91] ([i915#2190]) -> [PASS][92]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb6/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb3/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][93] ([i915#1436] / [i915#716]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl4/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][95] ([i915#454]) -> [PASS][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-iclb3/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-iclb4/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- {shard-rkl}: [FAIL][97] ([i915#4275]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-6/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-1/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: [DMESG-WARN][99] ([i915#180]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-kbl7/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-kbl7/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-skl: [FAIL][101] ([i915#2521]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl4/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- {shard-rkl}: [SKIP][103] ([i915#1845]) -> [PASS][104] +17 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_color@pipe-b-ctm-max:
- {shard-rkl}: [SKIP][105] ([i915#1149] / [i915#1849] / [i915#4070]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x64-random:
- {shard-rkl}: [SKIP][107] ([fdo#112022] / [i915#4070]) -> [PASS][108] +3 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque:
- {shard-rkl}: ([SKIP][109], [SKIP][110]) ([fdo#112022] / [i915#4070]) -> [PASS][111]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-4/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge:
- shard-tglb: [INCOMPLETE][112] -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-tglb8/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-tglb8/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipa-legacy:
- {shard-rkl}: [SKIP][114] ([fdo#111825] / [i915#4070]) -> [PASS][115] +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [FAIL][116] ([i915#2346]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl10/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_cursor_legacy@pipe-c-torture-move:
- {shard-rkl}: [SKIP][118] ([i915#4070]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-4/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb2101010-mmap-wc-untiled:
- {shard-rkl}: [SKIP][120] ([fdo#111314]) -> [PASS][121] +2 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-dp1:
- shard-apl: [FAIL][122] ([i915#79]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl4/igt@kms_flip@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [DMESG-WARN][124] ([i915#180]) -> [PASS][125] +1 similar issue
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-apl8/igt@kms_flip@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-apl2/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- {shard-rkl}: ([PASS][126], [SKIP][127]) ([i915#4098]) -> [PASS][128] +1 similar issue
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-6/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-4/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-wc:
- {shard-rkl}: [SKIP][129] ([i915#1849]) -> [PASS][130] +16 similar issues
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- {shard-rkl}: ([SKIP][131], [SKIP][132]) ([i915#1849] / [i915#4098]) -> [PASS][133] +2 similar issues
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-4/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-1p-rte:
- shard-skl: [DMESG-WARN][134] ([i915#1982]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl10/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl6/igt@[email protected]
* igt@kms_invalid_mode@int-max-clock:
- {shard-rkl}: ([SKIP][136], [SKIP][137]) ([i915#4278]) -> [PASS][138]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-2/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-4/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- {shard-rkl}: [SKIP][139] ([i915#1849] / [i915#4070]) -> [PASS][140] +1 similar issue
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-rkl-1/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-rkl-6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [FAIL][141] ([fdo#108145] / [i915#265]) -> [PASS][142]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-skl6/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/shard-skl5/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [SKIP][143] ([fdo#109441]) -> [PASS][144]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10908/shard-iclb4/igt@kms_psr@psr2_cursor_plane_move.html
[144]: https://i
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21642/index.html