Add a minimum age gate to the shrinker + LRU fixes
Subsystems (4)
Matthew Brost
maintainerv5 cover Add a minimum age gate to the shrinker + LRU fixes
Fix misuse of the TTM LRU in Xe + add a minimum age gate to the shrinker which is hidden behind a Kconfig for shrinker tuning.
Matt
Matthew Brost (3):
drm/xe: Bump the LRU on a successful page fault drm/ttm: Allow skipping to the next priority in the bo LRU cursor drm/xe: Add a minimum age gate to the shrinker
drivers/gpu/drm/ttm/ttm_bo_util.c | 3 + drivers/gpu/drm/ttm/ttm_resource.c | 35 +++++- drivers/gpu/drm/xe/Kconfig.profile | 15 +++ drivers/gpu/drm/xe/xe_bo.c | 83 ++++++++++++++ drivers/gpu/drm/xe/xe_bo.h | 5 + drivers/gpu/drm/xe/xe_bo_types.h | 8 ++ drivers/gpu/drm/xe/xe_device_sysfs.c | 35 ++++++ drivers/gpu/drm/xe/xe_pagefault.c | 5 + drivers/gpu/drm/xe/xe_shrinker.c | 164 +++++++++++++++++++++++++-- drivers/gpu/drm/xe/xe_shrinker.h | 3 + drivers/gpu/drm/xe/xe_vm.c | 4 +- drivers/gpu/drm/xe/xe_vm_types.h | 8 ++ include/drm/ttm/ttm_bo.h | 19 ++++ include/drm/ttm/ttm_resource.h | 2 + 14 files changed, 375 insertions(+), 14 deletions(-)
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH v5 2/3 drm/ttm: Allow skipping to the next priority in the bo LRU cursor
Drivers walking a manager's LRU with ttm_bo_lru_for_each_reserved_guarded() may decide that the rest of the current priority isn't worth walking, for example when the priority is roughly age ordered and the walk hit a BO that is still too hot to evict. Today the only option is to stop the walk altogether, which also gives up on the remaining priorities.
Add ttm_resource_manager_next_priority() to move a resource cursor to the start of the next priority, and ttm_bo_lru_cursor_skip_priority() to make the next ttm_bo_lru_cursor_next() use it.
While at it, stop incrementing the cursor priority past the last valid priority once the iteration is done.
--- drivers/gpu/drm/ttm/ttm_bo_util.c | 3 +++ drivers/gpu/drm/ttm/ttm_resource.c | 35 ++++++++++++++++++++++++++---- include/drm/ttm/ttm_bo.h | 19 ++++++++++++++++ include/drm/ttm/ttm_resource.h | 2 ++ 4 files changed, 55 insertions(+), 4 deletions(-)
drivers/gpu/drm/ttm/ttm_bo_util.c +3 -0
@@ -997,6 +997,9 @@ __ttm_bo_lru_cursor_next(struct ttm_bo_lru_cursor *curs)if (first) { res =ttm_resource_manager_first (&curs->res_curs); first = false; + }else if (curs->skip_priority) { + res =ttm_resource_manager_next_priority (&curs->res_curs); + curs->skip_priority = false; }else { res =ttm_resource_manager_next (&curs->res_curs); }
drivers/gpu/drm/ttm/ttm_resource.c +31 -4
@@ -674,6 +674,17 @@ ttm_resource_cursor_check_bulk(struct ttm_resource_cursor *cursor, } } +static bool ttm_resource_cursor_next_priority (struct ttm_resource_cursor *cursor) +{ +if (cursor->priority +1 >=TTM_MAX_BO_PRIORITY ) +return false; + +list_move (&cursor->hitch.link, &cursor->man->lru[++cursor->priority]); +ttm_resource_cursor_clear_bulk (cursor); + +return true; +} +/** * ttm_resource_manager_first() - Start iterating over the resources * of a resource manager
@@ -723,16 +734,32 @@ ttm_resource_manager_next(struct ttm_resource_cursor *cursor) } } -if (++cursor->priority >=TTM_MAX_BO_PRIORITY ) +if (!ttm_resource_cursor_next_priority (cursor))break ; - -list_move (&cursor->hitch.link, &man->lru[cursor->priority]); -ttm_resource_cursor_clear_bulk (cursor); }return NULL ; } +/** +* ttm_resource_manager_next_priority() - Skip the rest of the current +* priority and continue iterating at the next one +* @cursor: cursor to record the position +* +* Return: the first resource of the next non-empty priority, or NULL if +* there is none. +*/ +struct ttm_resource * +ttm_resource_manager_next_priority (struct ttm_resource_cursor *cursor) +{ +lockdep_assert_held (&cursor->man->bdev->lru_lock); + +if (!ttm_resource_cursor_next_priority (cursor)) +return NULL ; + +return ttm_resource_manager_next (cursor); +} +/** * ttm_lru_first_res_or_null() - Return the first resource on an lru list * @head: The list head of the lru list.
include/drm/ttm/ttm_bo.h +19 -0
@@ -507,10 +507,29 @@ struct ttm_bo_lru_cursor {* unlock before the next iteration or after loop exit. */ bool needs_unlock; +/** +* @skip_priority: Continue at the next LRU priority on the next +* iteration. See ttm_bo_lru_cursor_skip_priority(). +*/ +bool skip_priority;/** @arg: Pointer to common BO LRU walk arguments. */ struct ttm_lru_walk_arg *arg; }; +/** +* ttm_bo_lru_cursor_skip_priority() - Skip the rest of the current priority +* @curs: The cursor. +* +* Make the next ttm_bo_lru_cursor_next() skip the remaining buffer objects +* of the current LRU priority and continue at the next priority, for +* example when the caller decides the rest of the priority isn't worth +* walking. +*/ +static inline void ttm_bo_lru_cursor_skip_priority (struct ttm_bo_lru_cursor *curs) +{ + curs->skip_priority = true; +} +void ttm_bo_lru_cursor_fini (struct ttm_bo_lru_cursor *curs); struct ttm_bo_lru_cursor *
include/drm/ttm/ttm_resource.h +2 -0
@@ -499,6 +499,8 @@ struct ttm_resource * ttm_resource_manager_first(struct ttm_resource_cursor *cursor);struct ttm_resource *ttm_resource_manager_next (struct ttm_resource_cursor *cursor); +struct ttm_resource * +ttm_resource_manager_next_priority (struct ttm_resource_cursor *cursor);struct ttm_resource *ttm_lru_first_res_or_null (struct list_head *head);
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH v5 1/3 drm/xe: Bump the LRU on a successful page fault
In reply to Matthew BrostServicing a page fault validates the VMA's backing store and binds it, making the BO part of the VM's active working set, but unlike exec it never moves anything on the TTM LRU. In fault mode, where a VM may run for a long time without a single exec, the BOs the GPU actually touches therefore drift towards the LRU head and are picked by eviction and by the shrinker ahead of genuinely cold BOs.
Bump the BO's LRU on a successful page fault.
--- drivers/gpu/drm/xe/xe_pagefault.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/xe/xe_pagefault.c +5 -0
@@ -201,6 +201,8 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,xe_validation_ctx_init (&ctx, &vm->xe->val, &exec, (struct xe_val_flags ) {}); drm_exec_until_all_locked(&exec) { +struct xe_bo *bo =xe_vma_bo (vma); + err =xe_pagefault_begin (&exec, vma, tile->mem.vram, needs_vram ==1 );drm_exec_retry_on_contention (&exec);
@@ -221,6 +223,9 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,xe_pagefault_set_error (pf,XE_PAGEFAULT_ERROR_VMA_REBIND );break ; } + +if (bo) +ttm_bo_move_to_lru_tail (&bo->ttm); }xe_validation_ctx_fini (&ctx); }while (err == -EAGAIN );
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH v5 3/3 drm/xe: Add a minimum age gate to the shrinker
In reply to Matthew BrostBacking up a BO costs a GPU blit plus a page copy, and if the BO is part of an active working set it is faulted straight back in on the next exec. Evicting a BO that was used moments ago is therefore almost always a loss, yet the shrinker has no notion of recency beyond LRU order.
Timestamp BOs wherever their LRU position is updated, and read the stamp back from whatever owns that position. A BO in a VM's bulk move is anchored inside its range, so it is aged by the VM-wide stamp taken in xe_vm_bump_lru() alongside the bulk move itself. Any other BO carries its own, stamped there too and on a successful move into TT in xe_bo_move(), where ttm_resource_alloc() has already placed the new resource at the LRU tail.
Add a per-device shrinker_min_age_ms sysfs attribute, defaulting to CONFIG_DRM_XE_SHRINKER_MIN_AGE_MS (0, disabled). While set, the shrinker won't back up BOs younger than the delay. Each LRU priority is roughly age ordered, so the gate is applied per priority: xe_shrinker_count() snoops the first shrinkable BO of each priority and reports nothing only if all of them are young, and the backup walk skips to the next priority at the first young BO, both as a backstop for the count sample and so a hot priority doesn't shield colder BOs in another one.
Only BOs this shrinker would actually back up have a say. BOs in XE_PL_SYSTEM, which are not GPU mapped and hence not part of a working set, and BOs xe_bo_shrink() rejects outright are never young. Purgeable BOs and those advised DONTNEED are neither: they are dropped rather than backed up and accounted to the purgeable shrinker, so they are never young and the count snoop skips their XE_BO_PRIORITY_LOW band entirely.
The gate is hard and applies at every reclaim priority, so a working set kept younger than the delay is never backed up and can lead to OOM. This is deliberate, and why it is off by default.
--- drivers/gpu/drm/xe/Kconfig.profile | 15 +++ drivers/gpu/drm/xe/xe_bo.c | 83 ++++++++++++++ drivers/gpu/drm/xe/xe_bo.h | 5 + drivers/gpu/drm/xe/xe_bo_types.h | 8 ++ drivers/gpu/drm/xe/xe_device_sysfs.c | 35 ++++++ drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_shrinker.c | 164 +++++++++++++++++++++++++-- drivers/gpu/drm/xe/xe_shrinker.h | 3 + drivers/gpu/drm/xe/xe_vm.c | 4 +- drivers/gpu/drm/xe/xe_vm_types.h | 8 ++ 10 files changed, 316 insertions(+), 11 deletions(-)
drivers/gpu/drm/xe/Kconfig.profile +15 -0
@@ -74,6 +74,7 @@ config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT to apply to applicable user. For elevated user, all above MIN and MAX values will apply when this configuration is enable to apply limitation. By default limitation is applied. + config DRM_XE_SHRINKER_NON_PURGEABLE_SEEKS int "Default seeks value of the non-purgeable bo shrinker" default 8
@@ -86,3 +87,17 @@ config DRM_XE_SHRINKER_NON_PURGEABLE_SEEKS reclaim pressure on non-purgeable buffer objects, which need GPU idling and writeback to be reclaimed, in favour of purgeable ones and other kernel caches. + +config DRM_XE_SHRINKER_MIN_AGE_MS + int "Default minimum BO age before shrinker backup (ms)" + default 0 + range 0 1000000 + help + Default for the per-device shrinker_min_age_ms sysfs attribute. The + shrinker won't back up a BO that was moved into TT, or bumped on the + LRU by an exec, less than this many milliseconds ago. BOs already + evicted to system memory are not part of a working set and are + never protected. This applies at every reclaim priority: a working + set kept younger than this is never backed up and can cause OOM. + Only set if that risk is preferred over thrashing a hot working + set. 0 disables.
drivers/gpu/drm/xe/xe_bo.c +83 -0
92 lines not on this page · raw message
drivers/gpu/drm/xe/xe_bo.h +5 -0
@@ -623,6 +623,11 @@ struct xe_bo_shrink_flags { u32 writeback : 1; }; +void xe_bo_bump_lru_locked (struct xe_bo *bo); + +bool xe_bo_shrink_backup_candidate (struct ttm_buffer_object *bo); +bool xe_bo_shrink_too_young (struct ttm_buffer_object *bo,unsigned long min_age); +long xe_bo_shrink (struct ttm_operation_ctx *ctx,struct ttm_buffer_object *bo,const struct xe_bo_shrink_flags flags,unsigned long *scanned);
drivers/gpu/drm/xe/xe_bo_types.h +8 -0
@@ -49,6 +49,14 @@ struct xe_bo {u32 flags;/** @vm: VM this BO is attached to, for extobj this will be NULL */ struct xe_vm *vm; +/** +* @lru_stamp: jiffies at the last LRU bump, done on a move into TT +* and at exec time. Only describes the LRU position of a BO outside +* a bulk move; BOs in one are aged by &xe_vm.lru_stamp instead. +* Consulted by the shrinker's minimum age gate. Accessed with +* READ_ONCE()/WRITE_ONCE(). +*/ +unsigned long lru_stamp;/** * @q: Queue this BO is attached to, mostly for LRC BO, NULL otherwise. * Protected by the BO dma_resv: readers must hold it across both the
drivers/gpu/drm/xe/xe_device_sysfs.c +35 -0
@@ -38,6 +38,12 @@* reclaimed by the shrinker. Higher values reduce reclaim pressure on * non-purgeable buffer objects. Valid values are 1 to 64. Defaults to * CONFIG_DRM_XE_SHRINKER_NON_PURGEABLE_SEEKS. +* +* shrinker_min_age_ms - Report/change the minimum time, in ms, since a BO was +* last moved to TT or bumped on the LRU by an exec before the shrinker may +* back it up. BOs evicted to system memory are never protected. Defaults to +* CONFIG_DRM_XE_SHRINKER_MIN_AGE_MS, 0 disables. This applies at every +* reclaim priority, so a non-zero value can lead to OOM. */ static ssize_t
@@ -331,8 +337,37 @@ shrinker_non_purgeable_seeks_store(struct device *dev,static DEVICE_ATTR_RW (shrinker_non_purgeable_seeks); +static ssize_t +shrinker_min_age_ms_show (struct device *dev,struct device_attribute *attr, +char *buf) +{ +struct xe_device *xe =pdev_to_xe_device (to_pci_dev (dev)); + +return sysfs_emit (buf,"%u\n" ,xe_shrinker_min_age_ms (xe->mem.shrinker)); +} + +static ssize_t +shrinker_min_age_ms_store (struct device *dev,struct device_attribute *attr, +const char *buff,size_t count) +{ +struct xe_device *xe =pdev_to_xe_device (to_pci_dev (dev)); +unsigned int ms; +int ret; + + ret =kstrtouint (buff,0 , &ms); +if (ret) +return ret; + +xe_shrinker_set_min_age_ms (xe->mem.shrinker, ms); + +return count; +} + +static DEVICE_ATTR_RW (shrinker_min_age_ms); +static struct attribute *shrinker_attrs[] = { &dev_attr_shrinker_non_purgeable_seeks.attr, + &dev_attr_shrinker_min_age_ms.attr,NULL };
drivers/gpu/drm/xe/xe_pagefault.c +1 -1
@@ -225,7 +225,7 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, }if (bo) -ttm_bo_move_to_lru_tail (&bo->ttm); +xe_bo_bump_lru_locked (bo); }xe_validation_ctx_fini (&ctx); }while (err == -EAGAIN );
drivers/gpu/drm/xe/xe_shrinker.c +155 -9
250 lines not on this page · raw message
drivers/gpu/drm/xe/xe_shrinker.h +3 -0
@@ -18,4 +18,7 @@ int xe_shrinker_non_purgeable_seeks(struct xe_shrinker *shrinker);int xe_shrinker_set_non_purgeable_seeks (struct xe_shrinker *shrinker,unsigned int seeks); +unsigned int xe_shrinker_min_age_ms (struct xe_shrinker *shrinker); +void xe_shrinker_set_min_age_ms (struct xe_shrinker *shrinker,unsigned int ms); +#endif
drivers/gpu/drm/xe/xe_vm.c +3 -1
@@ -463,13 +463,15 @@ void xe_vm_bump_lru(struct xe_vm *vm, struct drm_exec *exec)spinlock_t *lru_lock = &vm->xe->ttm.lru_lock;struct drm_gem_object *obj; +WRITE_ONCE (vm->lru_stamp, jiffies); +spin_lock (lru_lock);ttm_lru_bulk_move_tail (&vm->lru_bulk_move);drm_exec_for_each_locked_object (exec, obj) {if (!drm_gpuvm_is_extobj (&vm->gpuvm, obj))continue ; -ttm_bo_move_to_lru_tail (&gem_to_xe_bo (obj)->ttm); +xe_bo_bump_lru_locked (gem_to_xe_bo (obj));cond_resched_lock (lru_lock); }spin_unlock (lru_lock);
drivers/gpu/drm/xe/xe_vm_types.h +8 -0
@@ -267,6 +267,14 @@ struct xe_vm {/** @lru_bulk_move: Bulk LRU move list for this VM's BOs */ struct ttm_lru_bulk_move lru_bulk_move; +/** +* @lru_stamp: jiffies at the last xe_vm_bump_lru(), which is where +* @lru_bulk_move is moved to the LRU tail. Ages every BO in that +* bulk move for the shrinker's minimum age gate. Accessed with +* READ_ONCE()/WRITE_ONCE(). +*/ +unsigned long lru_stamp; +u64 size;struct xe_pt *pt_root[XE_MAX_TILES_PER_DEVICE ];
Signature · 1 line
2.34.1
Patchwork
CI✓ CI.KUnit: success for Add a minimum age gate to the shrinker + LRU fixes (rev2)
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: Add a minimum age gate to the shrinker + LRU fixes (rev2)
URL : https://patchwork.freedesktop.org/series/176975/
State : success
== Summary ==
+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[20:37:59] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [20:38:03] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [20:38:24] Starting KUnit Kernel (1/1)... [20:38:24] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [20:38:24] ================= gpu_buddy (14 subtests) ================== [20:38:24] [PASSED] gpu_test_buddy_alloc_limit [20:38:24] [PASSED] gpu_test_buddy_alloc_optimistic [20:38:24] [PASSED] gpu_test_buddy_alloc_pessimistic [20:38:24] [PASSED] gpu_test_buddy_alloc_pathological [20:38:24] [PASSED] gpu_test_buddy_alloc_contiguous [20:38:24] [PASSED] gpu_test_buddy_alloc_clear [20:38:24] [PASSED] gpu_test_buddy_alloc_range [20:38:24] [PASSED] gpu_test_buddy_alloc_range_bias [20:38:25] [PASSED] gpu_test_buddy_fragmentation_performance [20:38:26] [PASSED] gpu_test_buddy_dirty_tracker_performance [20:38:26] [PASSED] gpu_test_buddy_alloc_exceeds_max_order [20:38:26] [PASSED] gpu_test_buddy_offset_aligned_allocation [20:38:26] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress [20:38:26] [PASSED] gpu_test_buddy_addr_to_block [20:38:26] ==================== [PASSED] gpu_buddy ==================== [20:38:26] ============================================================ [20:38:26] Testing complete. Ran 14 tests: passed: 14 [20:38:26] Elapsed time: 26.987s total, 4.450s configuring, 20.619s building, 1.853s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [20:38:26] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [20:38:28] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [20:39:07] Starting KUnit Kernel (1/1)... [20:39:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [20:39:07] ================== guc_buf (11 subtests) =================== [20:39:07] [PASSED] test_smallest [20:39:07] [PASSED] test_largest [20:39:07] [PASSED] test_granular [20:39:07] [PASSED] test_unique [20:39:07] [PASSED] test_overlap [20:39:07] [PASSED] test_reusable [20:39:07] [PASSED] test_too_big [20:39:07] [PASSED] test_flush [20:39:07] [PASSED] test_lookup [20:39:07] [PASSED] test_data [20:39:07] [PASSED] test_class [20:39:07] ===================== [PASSED] guc_buf ===================== [20:39:07] =================== guc_dbm (7 subtests) =================== [20:39:07] [PASSED] test_empty [20:39:07] [PASSED] test_default [20:39:07] ======================== test_size ======================== [20:39:07] [PASSED] 4 [20:39:07] [PASSED] 8 [20:39:07] [PASSED] 32 [20:39:07] [PASSED] 256 [20:39:07] ==================== [PASSED] test_size ==================== [20:39:07] ======================= test_reuse ======================== [20:39:07] [PASSED] 4 [20:39:07] [PASSED] 8 [20:39:07] [PASSED] 32 [20:39:07] [PASSED] 256 [20:39:07] =================== [PASSED] test_reuse ==================== [20:39:07] =================== test_range_overlap ==================== [20:39:07] [PASSED] 4 [20:39:07] [PASSED] 8 [20:39:07] [PASSED] 32 [20:39:07] [PASSED] 256 [20:39:07] =============== [PASSED] test_range_overlap ================ [20:39:07] =================== test_range_compact ==================== [20:39:07] [PASSED] 4 [20:39:07] [PASSED] 8 [20:39:07] [PASSED] 32 [20:39:07] [PASSED] 256 [20:39:07] =============== [PASSED] test_range_compact ================ [20:39:07] ==================== test_range_spare ===================== [20:39:07] [PASSED] 4 [20:39:07] [PASSED] 8 [20:39:07] [PASSED] 32 [20:39:07] [PASSED] 256 [20:39:07] ================ [PASSED] test_range_spare ================= [20:39:07] ===================== [PASSED] guc_dbm ===================== [20:39:07] ================== guc_idm (22 subtests) =================== [20:39:07] [PASSED] bad_init [20:39:07] [PASSED] no_init [20:39:07] [PASSED] init_fini [20:39:07] [PASSED] check_init_small [20:39:07] [PASSED] check_init_shared [20:39:07] [PASSED] check_used [20:39:07] [PASSED] check_quota [20:39:07] [PASSED] check_all [20:39:07] [PASSED] check_limits [20:39:07] [PASSED] check_overlap [20:39:07] [PASSED] check_overlap_alloc [20:39:07] [PASSED] check_overlap_release [20:39:07] [PASSED] check_overlap_partial_init [20:39:07] [PASSED] check_overlap_partial_shared_range_blocking [20:39:07] [PASSED] check_used_usable [20:39:07] [PASSED] check_used_shareable [20:39:07] [PASSED] check_used_mixed [20:39:07] [PASSED] check_release_usable_range [20:39:07] [PASSED] check_release_shareable_range [20:39:07] [PASSED] check_split_boundaries [20:39:07] [PASSED] check_shareable_spare [20:39:07] [PASSED] check_shareable_spare_fragmented_tail [20:39:07] ===================== [PASSED] guc_idm ===================== [20:39:07] ============== guc_klv_helpers (13 subtests) =============== [20:39:07] [PASSED] test_count [20:39:07] [PASSED] test_encode_u32 [20:39:07] [PASSED] test_encode_u64 [20:39:07] [PASSED] test_encode_string [20:39:07] [PASSED] test_encode_object_raw [20:39:07] [PASSED] test_encode_object_klv [20:39:07] [PASSED] test_encode_object_nested [20:39:07] [PASSED] test_encode_object_basic [20:39:07] ===================== test_decode_u16 ===================== [20:39:07] [PASSED] empty [20:39:07] [PASSED] valid [20:39:07] [PASSED] max [20:39:07] [PASSED] big [20:39:07] [PASSED] long [20:39:07] ================= [PASSED] test_decode_u16 ================= [20:39:07] ===================== test_decode_u32 ===================== [20:39:07] [PASSED] empty [20:39:07] [PASSED] valid [20:39:07] [PASSED] max [20:39:07] [PASSED] long [20:39:07] ================= [PASSED] test_decode_u32 ================= [20:39:07] ===================== test_decode_u64 ===================== [20:39:07] [PASSED] empty [20:39:07] [PASSED] short [20:39:07] [PASSED] valid [20:39:07] [PASSED] max [20:39:07] [PASSED] long [20:39:07] ================= [PASSED] test_decode_u64 ================= [20:39:07] ===================== test_decode_str ===================== [20:39:07] [PASSED] empty [20:39:07] [PASSED] one [20:39:07] [PASSED] one_trash [20:39:07] [PASSED] two [20:39:07] [PASSED] two_trash [20:39:07] [PASSED] three [20:39:07] [PASSED] dword [20:39:07] [PASSED] four [20:39:07] [PASSED] five [20:39:07] [PASSED] six [20:39:07] [PASSED] seven [20:39:07] [PASSED] qword [20:39:07] ================= [PASSED] test_decode_str ================= [20:39:07] [PASSED] test_print [20:39:07] ================= [PASSED] guc_klv_helpers ================= [20:39:07] =================== xe_log (4 subtests) ==================== [20:39:07] [PASSED] demo_cper [20:39:07] [PASSED] demo_dmesg [20:39:07] ======================= test_dmesg ======================== [20:39:07] [PASSED] test_fatal [20:39:07] [PASSED] test_fatal_tile [20:39:07] [PASSED] test_fatal_gt [20:39:07] [PASSED] test_fatal_comp [20:39:07] [PASSED] test_fatal_comp_tile [20:39:07] [PASSED] test_fatal_comp_gt [20:39:07] [PASSED] test_fatal_all [20:39:07] [PASSED] test_recoverable [20:39:07] [PASSED] test_recoverable_tile [20:39:07] [PASSED] test_recoverable_gt [20:39:07] [PASSED] test_recoverable_comp [20:39:07] [PASSED] test_recoverable_comp_tile [20:39:07] [PASSED] test_recoverable_comp_gt [20:39:07] [PASSED] test_recoverable_all [20:39:07] [PASSED] test_info [20:39:07] [PASSED] test_info_tile [20:39:07] [PASSED] test_info_gt [20:39:07] [PASSED] test_info_err [20:39:07] [PASSED] test_info_comp [20:39:07] [PASSED] test_info_comp_tile [20:39:07] [PASSED] test_info_comp_gt [20:39:07] [PASSED] test_info_all [20:39:07] [PASSED] test_hw_fatal [20:39:07] [PASSED] test_hw_recoverable [20:39:07] [PASSED] test_hw_corrected [20:39:07] [PASSED] test_hw_informational [20:39:07] =================== [PASSED] test_dmesg ==================== [20:39:07] ====================== test_invalid ======================= [20:39:07] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [20:39:07] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [20:39:07] ================== [SKIPPED] test_invalid ================== [20:39:07] ===================== [PASSED] xe_log ====================== [20:39:07] ================== no_relay (3 subtests) =================== [20:39:07] [PASSED] xe_drops_guc2pf_if_not_ready [20:39:07] [PASSED] xe_drops_guc2vf_if_not_ready [20:39:07] [PASSED] xe_rejects_send_if_not_ready [20:39:07] ==================== [PASSED] no_relay ===================== [20:39:07] ================== pf_relay (14 subtests) ================== [20:39:07] [PASSED] pf_rejects_guc2pf_too_short [20:39:07] [PASSED] pf_rejects_guc2pf_too_long [20:39:07] [PASSED] pf_rejects_guc2pf_no_payload [20:39:07] [PASSED] pf_fails_no_payload [20:39:07] [PASSED] pf_fails_bad_origin [20:39:07] [PASSED] pf_fails_bad_type [20:39:07] [PASSED] pf_txn_reports_error [20:39:07] [PASSED] pf_txn_sends_pf2guc [20:39:07] [PASSED] pf_sends_pf2guc [20:39:07] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [20:39:07] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [20:39:07] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [20:39:07] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [20:39:07] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [20:39:07] ==================== [PASSED] pf_relay ===================== [20:39:07] ================== vf_relay (3 subtests) =================== [20:39:07] [PASSED] vf_rejects_guc2vf_too_short [20:39:07] [PASSED] vf_rejects_guc2vf_too_long [20:39:07] [PASSED] vf_rejects_guc2vf_no_payload [20:39:07] ==================== [PASSED] vf_relay ===================== [20:39:07] ================ pf_gt_config (9 subtests) ================= [20:39:07] [PASSED] fair_contexts_1vf [20:39:07] [PASSED] fair_doorbells_1vf [20:39:07] [PASSED] fair_ggtt_1vf [20:39:07] ====================== fair_vram_1vf ====================== [20:39:07] [PASSED] 3.50 GiB [20:39:07] [PASSED] 11.5 GiB [20:39:07] [PASSED] 15.5 GiB [20:39:07] [PASSED] 31.5 GiB [20:39:07] [PASSED] 63.5 GiB [20:39:07] [PASSED] 1.91 GiB [20:39:07] ================== [PASSED] fair_vram_1vf ================== [20:39:07] ================ fair_vram_1vf_admin_only ================= [20:39:07] [PASSED] 3.50 GiB [20:39:07] [PASSED] 11.5 GiB [20:39:07] [PASSED] 15.5 GiB [20:39:07] [PASSED] 31.5 GiB [20:39:07] [PASSED] 63.5 GiB [20:39:07] [PASSED] 1.91 GiB [20:39:07] ============ [PASSED] fair_vram_1vf_admin_only ============= [20:39:07] ====================== fair_contexts ====================== [20:39:07] [PASSED] 1 VF [20:39:07] [PASSED] 2 VFs [20:39:07] [PASSED] 3 VFs [20:39:07] [PASSED] 4 VFs [20:39:07] [PASSED] 5 VFs [20:39:07] [PASSED] 6 VFs [20:39:07] [PASSED] 7 VFs [20:39:07] [PASSED] 8 VFs [20:39:07] [PASSED] 9 VFs [20:39:07] [PASSED] 10 VFs [20:39:07] [PASSED] 11 VFs [20:39:07] [PASSED] 12 VFs [20:39:07] [PASSED] 13 VFs [20:39:07] [PASSED] 14 VFs [20:39:07] [PASSED] 15 VFs [20:39:07] [PASSED] 16 VFs [20:39:07] [PASSED] 17 VFs [20:39:07] [PASSED] 18 VFs [20:39:07] [PASSED] 19 VFs [20:39:07] [PASSED] 20 VFs [20:39:07] [PASSED] 21 VFs [20:39:07] [PASSED] 22 VFs [20:39:07] [PASSED] 23 VFs [20:39:07] [PASSED] 24 VFs [20:39:07] [PASSED] 25 VFs [20:39:07] [PASSED] 26 VFs [20:39:07] [PASSED] 27 VFs [20:39:07] [PASSED] 28 VFs [20:39:07] [PASSED] 29 VFs [20:39:07] [PASSED] 30 VFs [20:39:07] [PASSED] 31 VFs [20:39:07] [PASSED] 32 VFs [20:39:07] [PASSED] 33 VFs [20:39:07] [PASSED] 34 VFs [20:39:07] [PASSED] 35 VFs [20:39:07] [PASSED] 36 VFs [20:39:07] [PASSED] 37 VFs [20:39:07] [PASSED] 38 VFs [20:39:07] [PASSED] 39 VFs [20:39:07] [PASSED] 40 VFs [20:39:07] [PASSED] 41 VFs [20:39:07] [PASSED] 42 VFs [20:39:07] [PASSED] 43 VFs [20:39:07] [PASSED] 44 VFs [20:39:07] [PASSED] 45 VFs [20:39:07] [PASSED] 46 VFs [20:39:07] [PASSED] 47 VFs [20:39:07] [PASSED] 48 VFs [20:39:07] [PASSED] 49 VFs [20:39:07] [PASSED] 50 VFs [20:39:07] [PASSED] 51 VFs [20:39:07] [PASSED] 52 VFs [20:39:07] [PASSED] 53 VFs [20:39:07] [PASSED] 54 VFs [20:39:07] [PASSED] 55 VFs [20:39:07] [PASSED] 56 VFs [20:39:07] [PASSED] 57 VFs [20:39:07] [PASSED] 58 VFs [20:39:07] [PASSED] 59 VFs [20:39:07] [PASSED] 60 VFs [20:39:07] [PASSED] 61 VFs [20:39:07] [PASSED] 62 VFs [20:39:07] [PASSED] 63 VFs [20:39:07] ================== [PASSED] fair_contexts ================== [20:39:07] ===================== fair_doorbells ====================== [20:39:07] [PASSED] 1 VF [20:39:07] [PASSED] 2 VFs [20:39:07] [PASSED] 3 VFs [20:39:07] [PASSED] 4 VFs [20:39:07] [PASSED] 5 VFs [20:39:07] [PASSED] 6 VFs [20:39:07] [PASSED] 7 VFs [20:39:07] [PASSED] 8 VFs [20:39:07] [PASSED] 9 VFs [20:39:07] [PASSED] 10 VFs [20:39:07] [PASSED] 11 VFs [20:39:07] [PASSED] 12 VFs [20:39:07] [PASSED] 13 VFs [20:39:07] [PASSED] 14 VFs [20:39:07] [PASSED] 15 VFs [20:39:07] [PASSED] 16 VFs [20:39:07] [PASSED] 17 VFs [20:39:07] [PASSED] 18 VFs [20:39:07] [PASSED] 19 VFs [20:39:07] [PASSED] 20 VFs [20:39:07] [PASSED] 21 VFs [20:39:07] [PASSED] 22 VFs [20:39:07] [PASSED] 23 VFs [20:39:07] [PASSED] 24 VFs [20:39:07] [PASSED] 25 VFs [20:39:07] [PASSED] 26 VFs [20:39:07] [PASSED] 27 VFs [20:39:07] [PASSED] 28 VFs [20:39:07] [PASSED] 29 VFs [20:39:07] [PASSED] 30 VFs [20:39:07] [PASSED] 31 VFs [20:39:07] [PASSED] 32 VFs [20:39:07] [PASSED] 33 VFs [20:39:07] [PASSED] 34 VFs [20:39:07] [PASSED] 35 VFs [20:39:07] [PASSED] 36 VFs [20:39:07] [PASSED] 37 VFs [20:39:07] [PASSED] 38 VFs [20:39:07] [PASSED] 39 VFs [20:39:07] [PASSED] 40 VFs [20:39:07] [PASSED] 41 VFs [20:39:07] [PASSED] 42 VFs [20:39:07] [PASSED] 43 VFs [20:39:07] [PASSED] 44 VFs [20:39:07] [PASSED] 45 VFs [20:39:07] [PASSED] 46 VFs [20:39:07] [PASSED] 47 VFs [20:39:07] [PASSED] 48 VFs [20:39:07] [PASSED] 49 VFs [20:39:07] [PASSED] 50 VFs [20:39:07] [PASSED] 51 VFs [20:39:07] [PASSED] 52 VFs [20:39:07] [PASSED] 53 VFs [20:39:07] [PASSED] 54 VFs [20:39:07] [PASSED] 55 VFs [20:39:07] [PASSED] 56 VFs [20:39:07] [PASSED] 57 VFs [20:39:07] [PASSED] 58 VFs [20:39:07] [PASSED] 59 VFs [20:39:07] [PASSED] 60 VFs [20:39:07] [PASSED] 61 VFs [20:39:07] [PASSED] 62 VFs [20:39:07] [PASSED] 63 VFs [20:39:07] ================= [PASSED] fair_doorbells ================== [20:39:07] ======================== fair_ggtt ======================== [20:39:07] [PASSED] 1 VF [20:39:07] [PASSED] 2 VFs [20:39:07] [PASSED] 3 VFs [20:39:07] [PASSED] 4 VFs [20:39:07] [PASSED] 5 VFs [20:39:07] [PASSED] 6 VFs [20:39:07] [PASSED] 7 VFs [20:39:07] [PASSED] 8 VFs [20:39:07] [PASSED] 9 VFs [20:39:07] [PASSED] 10 VFs [20:39:07] [PASSED] 11 VFs [20:39:07] [PASSED] 12 VFs [20:39:07] [PASSED] 13 VFs [20:39:07] [PASSED] 14 VFs [20:39:07] [PASSED] 15 VFs [20:39:07] [PASSED] 16 VFs [20:39:07] [PASSED] 17 VFs [20:39:07] [PASSED] 18 VFs [20:39:07] [PASSED] 19 VFs [20:39:07] [PASSED] 20 VFs [20:39:07] [PASSED] 21 VFs [20:39:07] [PASSED] 22 VFs [20:39:07] [PASSED] 23 VFs [20:39:07] [PASSED] 24 VFs [20:39:07] [PASSED] 25 VFs [20:39:07] [PASSED] 26 VFs [20:39:07] [PASSED] 27 VFs [20:39:07] [PASSED] 28 VFs [20:39:07] [PASSED] 29 VFs [20:39:07] [PASSED] 30 VFs [20:39:07] [PASSED] 31 VFs [20:39:07] [PASSED] 32 VFs [20:39:07] [PASSED] 33 VFs [20:39:07] [PASSED] 34 VFs [20:39:07] [PASSED] 35 VFs [20:39:07] [PASSED] 36 VFs [20:39:07] [PASSED] 37 VFs [20:39:07] [PASSED] 38 VFs [20:39:07] [PASSED] 39 VFs [20:39:07] [PASSED] 40 VFs [20:39:07] [PASSED] 41 VFs [20:39:07] [PASSED] 42 VFs [20:39:07] [PASSED] 43 VFs [20:39:07] [PASSED] 44 VFs [20:39:07] [PASSED] 45 VFs [20:39:07] [PASSED] 46 VFs [20:39:07] [PASSED] 47 VFs [20:39:07] [PASSED] 48 VFs [20:39:07] [PASSED] 49 VFs [20:39:07] [PASSED] 50 VFs [20:39:07] [PASSED] 51 VFs [20:39:07] [PASSED] 52 VFs [20:39:07] [PASSED] 53 VFs [20:39:07] [PASSED] 54 VFs [20:39:07] [PASSED] 55 VFs [20:39:07] [PASSED] 56 VFs [20:39:07] [PASSED] 57 VFs [20:39:07] [PASSED] 58 VFs [20:39:07] [PASSED] 59 VFs [20:39:07] [PASSED] 60 VFs [20:39:07] [PASSED] 61 VFs [20:39:07] [PASSED] 62 VFs [20:39:07] [PASSED] 63 VFs [20:39:07] ==================== [PASSED] fair_ggtt ==================== [20:39:07] ======================== fair_vram ======================== [20:39:07] [PASSED] 1 VF [20:39:07] [PASSED] 2 VFs [20:39:07] [PASSED] 3 VFs [20:39:07] [PASSED] 4 VFs [20:39:07] [PASSED] 5 VFs [20:39:07] [PASSED] 6 VFs [20:39:07] [PASSED] 7 VFs [20:39:07] [PASSED] 8 VFs [20:39:07] [PASSED] 9 VFs [20:39:07] [PASSED] 10 VFs [20:39:07] [PASSED] 11 VFs [20:39:07] [PASSED] 12 VFs [20:39:07] [PASSED] 13 VFs [20:39:07] [PASSED] 14 VFs [20:39:07] [PASSED] 15 VFs [20:39:07] [PASSED] 16 VFs [20:39:07] [PASSED] 17 VFs [20:39:07] [PASSED] 18 VFs [20:39:07] [PASSED] 19 VFs [20:39:07] [PASSED] 20 VFs [20:39:07] [PASSED] 21 VFs [20:39:07] [PASSED] 22 VFs [20:39:07] [PASSED] 23 VFs [20:39:07] [PASSED] 24 VFs [20:39:07] [PASSED] 25 VFs [20:39:07] [PASSED] 26 VFs [20:39:07] [PASSED] 27 VFs [20:39:07] [PASSED] 28 VFs [20:39:07] [PASSED] 29 VFs [20:39:07] [PASSED] 30 VFs [20:39:07] [PASSED] 31 VFs [20:39:07] [PASSED] 32 VFs [20:39:07] [PASSED] 33 VFs [20:39:07] [PASSED] 34 VFs [20:39:07] [PASSED] 35 VFs [20:39:07] [PASSED] 36 VFs [20:39:07] [PASSED] 37 VFs [20:39:07] [PASSED] 38 VFs [20:39:07] [PASSED] 39 VFs [20:39:07] [PASSED] 40 VFs [20:39:07] [PASSED] 41 VFs [20:39:07] [PASSED] 42 VFs [20:39:07] [PASSED] 43 VFs [20:39:07] [PASSED] 44 VFs [20:39:07] [PASSED] 45 VFs [20:39:07] [PASSED] 46 VFs [20:39:07] [PASSED] 47 VFs [20:39:07] [PASSED] 48 VFs [20:39:07] [PASSED] 49 VFs [20:39:07] [PASSED] 50 VFs [20:39:07] [PASSED] 51 VFs [20:39:07] [PASSED] 52 VFs [20:39:07] [PASSED] 53 VFs [20:39:07] [PASSED] 54 VFs [20:39:07] [PASSED] 55 VFs [20:39:07] [PASSED] 56 VFs [20:39:07] [PASSED] 57 VFs [20:39:07] [PASSED] 58 VFs [20:39:07] [PASSED] 59 VFs [20:39:07] [PASSED] 60 VFs [20:39:07] [PASSED] 61 VFs [20:39:07] [PASSED] 62 VFs [20:39:07] [PASSED] 63 VFs [20:39:07] ==================== [PASSED] fair_vram ==================== [20:39:07] ================== [PASSED] pf_gt_config =================== [20:39:07] ===================== lmtt (1 subtest) ===================== [20:39:07] ======================== test_ops ========================= [20:39:07] [PASSED] 2-level [20:39:07] [PASSED] multi-level [20:39:07] ==================== [PASSED] test_ops ===================== [20:39:07] ====================== [PASSED] lmtt ======================= [20:39:07] ================= sriov_packet (1 subtest) ================= [20:39:07] [PASSED] test_descriptor_init [20:39:07] ================== [PASSED] sriov_packet =================== [20:39:07] ================= pf_service (11 subtests) ================= [20:39:07] [PASSED] pf_negotiate_any [20:39:07] [PASSED] pf_negotiate_base_match [20:39:07] [PASSED] pf_negotiate_base_newer [20:39:07] [PASSED] pf_negotiate_base_next [20:39:07] [SKIPPED] pf_negotiate_base_older (no older minor) [20:39:07] [PASSED] pf_negotiate_base_prev [20:39:07] [PASSED] pf_negotiate_latest_match [20:39:07] [PASSED] pf_negotiate_latest_newer [20:39:07] [PASSED] pf_negotiate_latest_next [20:39:07] [SKIPPED] pf_negotiate_latest_older (no older minor) [20:39:07] [SKIPPED] pf_negotiate_latest_prev (no prev major) [20:39:07] =================== [PASSED] pf_service ==================== [20:39:07] ================= xe_guc_g2g (2 subtests) ================== [20:39:07] ============== xe_live_guc_g2g_kunit_default ============== [20:39:07] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [20:39:07] ============== xe_live_guc_g2g_kunit_allmem =============== [20:39:07] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [20:39:07] =================== [SKIPPED] xe_guc_g2g =================== [20:39:07] =================== xe_mocs (2 subtests) =================== [20:39:07] ================ xe_live_mocs_kernel_kunit ================ [20:39:07] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [20:39:07] ================ xe_live_mocs_reset_kunit ================= [20:39:07] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [20:39:07] ==================== [SKIPPED] xe_mocs ===================== [20:39:07] ================= xe_migrate (3 subtests) ================== [20:39:07] ================= xe_migrate_sanity_kunit ================= [20:39:07] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [20:39:07] ================== xe_validate_ccs_kunit ================== [20:39:07] ============= [SKIPPED] xe_validate_ccs_kunit ============== [20:39:07] ============= xe_migrate_access_memory_kunit ============== [20:39:07] ========= [SKIPPED] xe_migrate_access_memory_kunit ========= [20:39:07] =================== [SKIPPED] xe_migrate =================== [20:39:07] ================== xe_dma_buf (1 subtest) ================== [20:39:07] ==================== xe_dma_buf_kunit ===================== [20:39:07] ================ [SKIPPED] xe_dma_buf_kunit ================ [20:39:07] =================== [SKIPPED] xe_dma_buf =================== [20:39:07] ================= xe_bo_shrink (1 subtest) ================= [20:39:07] =================== xe_bo_shrink_kunit ==================== [20:39:07] =============== [SKIPPED] xe_bo_shrink_kunit =============== [20:39:07] ================== [SKIPPED] xe_bo_shrink ================== [20:39:07] ==================== xe_bo (2 subtests) ==================== [20:39:07] ================== xe_ccs_migrate_kunit =================== [20:39:07] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [20:39:07] ==================== xe_bo_evict_kunit ==================== [20:39:07] =============== [SKIPPED] xe_bo_evict_kunit ================ [20:39:07] ===================== [SKIPPED] xe_bo ====================== [20:39:07] =================== xe_any (9 subtests) ==================== [20:39:07] [PASSED] test_to_xe [20:39:07] [PASSED] test_to_dev [20:39:07] [PASSED] test_to_pdev [20:39:07] [PASSED] test_to_drm [20:39:07] [PASSED] test_if_pdev [20:39:07] [PASSED] test_if_xe [20:39:07] [PASSED] test_if_tile [20:39:07] [PASSED] test_if_gt [20:39:07] [PASSED] test_to_id [20:39:07] ===================== [PASSED] xe_any ====================== [20:39:07] ==================== args (13 subtests) ==================== [20:39:07] [PASSED] count_args_test [20:39:07] [PASSED] call_args_example [20:39:07] [PASSED] call_args_test [20:39:07] [PASSED] drop_first_arg_example [20:39:07] [PASSED] drop_first_arg_test [20:39:07] [PASSED] first_arg_example [20:39:07] [PASSED] first_arg_test [20:39:07] [PASSED] last_arg_example [20:39:07] [PASSED] last_arg_test [20:39:07] [PASSED] pick_arg_example [20:39:07] [PASSED] if_args_example [20:39:07] [PASSED] if_args_test [20:39:07] [PASSED] sep_comma_example [20:39:07] ====================== [PASSED] args ======================= [20:39:07] =================== xe_pci (3 subtests) ==================== [20:39:07] ==================== check_graphics_ip ==================== [20:39:07] [PASSED] 12.00 Xe_LP [20:39:07] [PASSED] 12.10 Xe_LP+ [20:39:07] [PASSED] 12.55 Xe_HPG [20:39:07] [PASSED] 12.60 Xe_HPC [20:39:07] [PASSED] 12.70 Xe_LPG [20:39:07] [PASSED] 12.71 Xe_LPG [20:39:07] [PASSED] 12.74 Xe_LPG+ [20:39:07] [PASSED] 20.01 Xe2_HPG [20:39:07] [PASSED] 20.02 Xe2_HPG [20:39:07] [PASSED] 20.04 Xe2_LPG [20:39:07] [PASSED] 30.00 Xe3_LPG [20:39:07] [PASSED] 30.01 Xe3_LPG [20:39:07] [PASSED] 30.03 Xe3_LPG [20:39:07] [PASSED] 30.04 Xe3_LPG [20:39:07] [PASSED] 30.05 Xe3_LPG [20:39:07] [PASSED] 35.10 Xe3p_LPG [20:39:07] [PASSED] 35.11 Xe3p_XPC [20:39:07] ================ [PASSED] check_graphics_ip ================ [20:39:07] ===================== check_media_ip ====================== [20:39:07] [PASSED] 12.00 Xe_M [20:39:07] [PASSED] 12.55 Xe_HPM [20:39:07] [PASSED] 13.00 Xe_LPM+ [20:39:07] [PASSED] 13.01 Xe2_HPM [20:39:07] [PASSED] 20.00 Xe2_LPM [20:39:07] [PASSED] 30.00 Xe3_LPM [20:39:07] [PASSED] 30.02 Xe3_LPM [20:39:07] [PASSED] 35.00 Xe3p_LPM [20:39:07] [PASSED] 35.03 Xe3p_HPM [20:39:07] ================= [PASSED] check_media_ip ================== [20:39:07] =================== check_platform_desc =================== [20:39:07] [PASSED] 0x9A60 (TIGERLAKE) [20:39:07] [PASSED] 0x9A68 (TIGERLAKE) [20:39:07] [PASSED] 0x9A70 (TIGERLAKE) [20:39:07] [PASSED] 0x9A40 (TIGERLAKE) [20:39:07] [PASSED] 0x9A49 (TIGERLAKE) [20:39:07] [PASSED] 0x9A59 (TIGERLAKE) [20:39:07] [PASSED] 0x9A78 (TIGERLAKE) [20:39:07] [PASSED] 0x9AC0 (TIGERLAKE) [20:39:07] [PASSED] 0x9AC9 (TIGERLAKE) [20:39:07] [PASSED] 0x9AD9 (TIGERLAKE) [20:39:07] [PASSED] 0x9AF8 (TIGERLAKE) [20:39:07] [PASSED] 0x4C80 (ROCKETLAKE) [20:39:07] [PASSED] 0x4C8A (ROCKETLAKE) [20:39:07] [PASSED] 0x4C8B (ROCKETLAKE) [20:39:07] [PASSED] 0x4C8C (ROCKETLAKE) [20:39:07] [PASSED] 0x4C90 (ROCKETLAKE) [20:39:07] [PASSED] 0x4C9A (ROCKETLAKE) [20:39:07] [PASSED] 0x4680 (ALDERLAKE_S) [20:39:07] [PASSED] 0x4682 (ALDERLAKE_S) [20:39:07] [PASSED] 0x4688 (ALDERLAKE_S) [20:39:07] [PASSED] 0x468A (ALDERLAKE_S) [20:39:07] [PASSED] 0x468B (ALDERLAKE_S) [20:39:07] [PASSED] 0x4690 (ALDERLAKE_S) [20:39:07] [PASSED] 0x4692 (ALDERLAKE_S) [20:39:07] [PASSED] 0x4693 (ALDERLAKE_S) [20:39:07] [PASSED] 0x46A0 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46A1 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46A2 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46A3 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46A6 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46A8 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46AA (ALDERLAKE_P) [20:39:07] [PASSED] 0x462A (ALDERLAKE_P) [20:39:07] [PASSED] 0x4626 (ALDERLAKE_P) [20:39:07] [PASSED] 0x4628 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46B0 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46B1 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46B2 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46B3 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46C0 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46C1 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46C2 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46C3 (ALDERLAKE_P) [20:39:07] [PASSED] 0x46D0 (ALDERLAKE_N) [20:39:07] [PASSED] 0x46D1 (ALDERLAKE_N) [20:39:07] [PASSED] 0x46D2 (ALDERLAKE_N) [20:39:07] [PASSED] 0x46D3 (ALDERLAKE_N) [20:39:07] [PASSED] 0x46D4 (ALDERLAKE_N) [20:39:07] [PASSED] 0xA721 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7A1 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7A9 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7AC (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7AD (ALDERLAKE_P) [20:39:07] [PASSED] 0xA720 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7A0 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7A8 (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7AA (ALDERLAKE_P) [20:39:07] [PASSED] 0xA7AB (ALDERLAKE_P) [20:39:07] [PASSED] 0xA780 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA781 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA782 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA783 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA788 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA789 (ALDERLAKE_S) [20:39:07] [PASSED] 0xA78A (ALDERLAKE_S) [20:39:07] [PASSED] 0xA78B (ALDERLAKE_S) [20:39:07] [PASSED] 0x4905 (DG1) [20:39:07] [PASSED] 0x4906 (DG1) [20:39:07] [PASSED] 0x4907 (DG1) [20:39:07] [PASSED] 0x4908 (DG1) [20:39:07] [PASSED] 0x4909 (DG1) [20:39:07] [PASSED] 0x56C0 (DG2) [20:39:07] [PASSED] 0x56C2 (DG2) [20:39:07] [PASSED] 0x56C1 (DG2) [20:39:07] [PASSED] 0x7D51 (METEORLAKE) [20:39:07] [PASSED] 0x7DD1 (METEORLAKE) [20:39:07] [PASSED] 0x7D41 (METEORLAKE) [20:39:07] [PASSED] 0x7D67 (METEORLAKE) [20:39:07] [PASSED] 0xB640 (METEORLAKE) [20:39:07] [PASSED] 0x56A0 (DG2) [20:39:07] [PASSED] 0x56A1 (DG2) [20:39:07] [PASSED] 0x56A2 (DG2) [20:39:07] [PASSED] 0x56BE (DG2) [20:39:07] [PASSED] 0x56BF (DG2) [20:39:07] [PASSED] 0x5690 (DG2) [20:39:07] [PASSED] 0x5691 (DG2) [20:39:07] [PASSED] 0x5692 (DG2) [20:39:07] [PASSED] 0x56A5 (DG2) [20:39:07] [PASSED] 0x56A6 (DG2) [20:39:07] [PASSED] 0x56B0 (DG2) [20:39:07] [PASSED] 0x56B1 (DG2) [20:39:07] [PASSED] 0x56BA (DG2) [20:39:07] [PASSED] 0x56BB (DG2) [20:39:07] [PASSED] 0x56BC (DG2) [20:39:07] [PASSED] 0x56BD (DG2) [20:39:07] [PASSED] 0x5693 (DG2) [20:39:07] [PASSED] 0x5694 (DG2) [20:39:07] [PASSED] 0x5695 (DG2) [20:39:07] [PASSED] 0x56A3 (DG2) [20:39:07] [PASSED] 0x56A4 (DG2) [20:39:07] [PASSED] 0x56B2 (DG2) [20:39:07] [PASSED] 0x56B3 (DG2) [20:39:07] [PASSED] 0x5696 (DG2) [20:39:07] [PASSED] 0x5697 (DG2) [20:39:07] [PASSED] 0xB69 (PVC) [20:39:07] [PASSED] 0xB6E (PVC) [20:39:07] [PASSED] 0xBD4 (PVC) [20:39:07] [PASSED] 0xBD5 (PVC) [20:39:07] [PASSED] 0xBD6 (PVC) [20:39:07] [PASSED] 0xBD7 (PVC) [20:39:07] [PASSED] 0xBD8 (PVC) [20:39:07] [PASSED] 0xBD9 (PVC) [20:39:07] [PASSED] 0xBDA (PVC) [20:39:07] [PASSED] 0xBDB (PVC) [20:39:07] [PASSED] 0xBE0 (PVC) [20:39:07] [PASSED] 0xBE1 (PVC) [20:39:07] [PASSED] 0xBE5 (PVC) [20:39:07] [PASSED] 0x7D40 (METEORLAKE) [20:39:07] [PASSED] 0x7D45 (METEORLAKE) [20:39:07] [PASSED] 0x7D55 (METEORLAKE) [20:39:07] [PASSED] 0x7D60 (METEORLAKE) [20:39:07] [PASSED] 0x7DD5 (METEORLAKE) [20:39:07] [PASSED] 0x6420 (LUNARLAKE) [20:39:07] [PASSED] 0x64A0 (LUNARLAKE) [20:39:07] [PASSED] 0x64B0 (LUNARLAKE) [20:39:07] [PASSED] 0xE202 (BATTLEMAGE) [20:39:07] [PASSED] 0xE209 (BATTLEMAGE) [20:39:07] [PASSED] 0xE20B (BATTLEMAGE) [20:39:07] [PASSED] 0xE20C (BATTLEMAGE) [20:39:07] [PASSED] 0xE20D (BATTLEMAGE) [20:39:07] [PASSED] 0xE210 (BATTLEMAGE) [20:39:07] [PASSED] 0xE211 (BATTLEMAGE) [20:39:07] [PASSED] 0xE212 (BATTLEMAGE) [20:39:07] [PASSED] 0xE216 (BATTLEMAGE) [20:39:07] [PASSED] 0xE220 (BATTLEMAGE) [20:39:07] [PASSED] 0xE221 (BATTLEMAGE) [20:39:07] [PASSED] 0xE222 (BATTLEMAGE) [20:39:07] [PASSED] 0xE223 (BATTLEMAGE) [20:39:07] [PASSED] 0xB080 (PANTHERLAKE) [20:39:07] [PASSED] 0xB081 (PANTHERLAKE) [20:39:07] [PASSED] 0xB082 (PANTHERLAKE) [20:39:07] [PASSED] 0xB083 (PANTHERLAKE) [20:39:07] [PASSED] 0xB084 (PANTHERLAKE) [20:39:07] [PASSED] 0xB085 (PANTHERLAKE) [20:39:07] [PASSED] 0xB086 (PANTHERLAKE) [20:39:07] [PASSED] 0xB087 (PANTHERLAKE) [20:39:07] [PASSED] 0xB08F (PANTHERLAKE) [20:39:07] [PASSED] 0xB090 (PANTHERLAKE) [20:39:07] [PASSED] 0xB0A0 (PANTHERLAKE) [20:39:07] [PASSED] 0xB0A1 (PANTHERLAKE) [20:39:07] [PASSED] 0xB0B0 (PANTHERLAKE) [20:39:07] [PASSED] 0xFD80 (PANTHERLAKE) [20:39:07] [PASSED] 0xFD81 (PANTHERLAKE) [20:39:07] [PASSED] 0xD740 (NOVALAKE_S) [20:39:07] [PASSED] 0xD741 (NOVALAKE_S) [20:39:07] [PASSED] 0xD742 (NOVALAKE_S) [20:39:07] [PASSED] 0xD743 (NOVALAKE_S) [20:39:07] [PASSED] 0xD745 (NOVALAKE_S) [20:39:07] [PASSED] 0xD74A (NOVALAKE_S) [20:39:07] [PASSED] 0xD74B (NOVALAKE_S) [20:39:07] [PASSED] 0x674C (CRESCENTISLAND) [20:39:07] [PASSED] 0x674D (CRESCENTISLAND) [20:39:07] [PASSED] 0x674E (CRESCENTISLAND) [20:39:07] [PASSED] 0x674F (CRESCENTISLAND) [20:39:07] [PASSED] 0x6750 (CRESCENTISLAND) [20:39:07] [PASSED] 0x6751 (CRESCENTISLAND) [20:39:07] [PASSED] 0xD750 (NOVALAKE_P) [20:39:07] [PASSED] 0xD751 (NOVALAKE_P) [20:39:07] [PASSED] 0xD752 (NOVALAKE_P) [20:39:07] [PASSED] 0xD753 (NOVALAKE_P) [20:39:07] [PASSED] 0xD754 (NOVALAKE_P) [20:39:07] [PASSED] 0xD755 (NOVALAKE_P) [20:39:07] [PASSED] 0xD756 (NOVALAKE_P) [20:39:07] [PASSED] 0xD757 (NOVALAKE_P) [20:39:07] [PASSED] 0xD75F (NOVALAKE_P) [20:39:07] =============== [PASSED] check_platform_desc =============== [20:39:07] ===================== [PASSED] xe_pci ====================== [20:39:07] ============= xe_rtp_tables_test (5 subtests) ============== [20:39:07] ================== xe_rtp_table_gt_test =================== [20:39:07] [PASSED] gt_was/14011060649 [20:39:07] [PASSED] gt_was/14011059788 [20:39:07] [PASSED] gt_was/14015795083 [20:39:07] [PASSED] gt_was/16021867713 [20:39:07] [PASSED] gt_was/14019449301 [20:39:07] [PASSED] gt_was/16028005424 [20:39:07] [PASSED] gt_was/14026578760 [20:39:07] [PASSED] gt_was/1409420604 [20:39:07] [PASSED] gt_was/1408615072 [20:39:07] [PASSED] gt_was/22010523718 [20:39:07] [PASSED] gt_was/14011006942 [20:39:07] [PASSED] gt_was/14014830051 [20:39:07] [PASSED] gt_was/18018781329 [20:39:07] [PASSED] gt_was/1509235366 [20:39:07] [PASSED] gt_was/18018781329 [20:39:07] [PASSED] gt_was/16016694945 [20:39:07] [PASSED] gt_was/14018575942 [20:39:07] [PASSED] gt_was/22016670082 [20:39:07] [PASSED] gt_was/22016670082 [20:39:07] [PASSED] gt_was/14017421178 [20:39:07] [PASSED] gt_was/16025250150 [20:39:07] [PASSED] gt_was/14021871409 [20:39:07] [PASSED] gt_was/16021865536 [20:39:07] [PASSED] gt_was/14021486841 [20:39:07] [PASSED] gt_was/14025160223 [20:39:07] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [20:39:07] [PASSED] gt_was/14025635424 [20:39:07] [PASSED] gt_was/16028005424 [20:39:07] ============== [PASSED] xe_rtp_table_gt_test =============== [20:39:07] ================== xe_rtp_table_gt_test =================== [20:39:07] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [20:39:07] [PASSED] gt_tunings/Tuning: 32B Access Enable [20:39:07] [PASSED] gt_tunings/Tuning: L3 cache [20:39:07] [PASSED] gt_tunings/Tuning: L3 cache - media [20:39:07] [PASSED] gt_tunings/Tuning: Compression Overfetch [20:39:07] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [20:39:07] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [20:39:07] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [20:39:07] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [20:39:07] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [20:39:07] [PASSED] gt_tunings/Tuning: Stateless compression control [20:39:07] [PASSED] gt_tunings/Tuning: Stateless compression control - media [20:39:07] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [20:39:07] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [20:39:07] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [20:39:07] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches [20:39:07] ============== [PASSED] xe_rtp_table_gt_test =============== [20:39:07] ================== xe_rtp_table_oob_test ================== [20:39:07] [PASSED] oob_was/1607983814 [20:39:07] [PASSED] oob_was/16010904313 [20:39:07] [PASSED] oob_was/18022495364 [20:39:07] [PASSED] oob_was/22012773006 [20:39:07] [PASSED] oob_was/14014475959 [20:39:07] [PASSED] oob_was/22011391025 [20:39:07] [PASSED] oob_was/22012727170 [20:39:07] [PASSED] oob_was/22012727685 [20:39:07] [PASSED] oob_was/22016596838 [20:39:07] [PASSED] oob_was/18020744125 [20:39:07] [PASSED] oob_was/1409600907 [20:39:07] [PASSED] oob_was/22014953428 [20:39:07] [PASSED] oob_was/16017236439 [20:39:07] [PASSED] oob_was/14019821291 [20:39:07] [PASSED] oob_was/14015076503 [20:39:07] [PASSED] oob_was/22016122933 [20:39:07] [PASSED] oob_was/14018913170 [20:39:07] [PASSED] oob_was/14018094691 [20:39:07] [PASSED] oob_was/18024947630 [20:39:07] [PASSED] oob_was/16022287689 [20:39:07] [PASSED] oob_was/13011645652 [20:39:07] [PASSED] oob_was/14022293748 [20:39:07] [PASSED] oob_was/22019794406 [20:39:07] [PASSED] oob_was/22019338487 [20:39:07] [PASSED] oob_was/16023588340 [20:39:07] [PASSED] oob_was/14019789679 [20:39:07] [PASSED] oob_was/14022866841 [20:39:07] [PASSED] oob_was/16021333562 [20:39:07] [PASSED] oob_was/14016712196 [20:39:07] [PASSED] oob_was/14015568240 [20:39:07] [PASSED] oob_was/18013179988 [20:39:07] [PASSED] oob_was/1508761755 [20:39:07] [PASSED] oob_was/16023105232 [20:39:07] [PASSED] oob_was/16026508708 [20:39:07] [PASSED] oob_was/14020001231 [20:39:07] [PASSED] oob_was/16023683509 [20:39:07] [PASSED] oob_was/14025515070 [20:39:07] [PASSED] oob_was/15015404425_disable [20:39:07] [PASSED] oob_was/16026007364 [20:39:07] [PASSED] oob_was/14020316580 [20:39:07] [PASSED] oob_was/14025883347 [20:39:07] [PASSED] oob_was/16029380221 [20:39:07] [PASSED] oob_was/22022079272 [20:39:07] [PASSED] oob_was/16029897822 [20:39:07] [PASSED] oob_was/14027054324 [20:39:07] [PASSED] oob_was/14025941587 [20:39:07] [PASSED] oob_was/16030224309 [20:39:07] ============== [PASSED] xe_rtp_table_oob_test ============== [20:39:07] ================ xe_rtp_table_dev_oob_test ================ [20:39:07] [PASSED] device_oob_was/22010954014 [20:39:07] [PASSED] device_oob_was/15015404425 [20:39:07] [PASSED] device_oob_was/22019338487_display [20:39:07] [PASSED] device_oob_was/14022085890 [20:39:07] [PASSED] device_oob_was/14026539277 [20:39:07] [PASSED] device_oob_was/14026633728 [20:39:07] [PASSED] device_oob_was/14026746987 [20:39:07] [PASSED] device_oob_was/14026779378 [20:39:07] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [20:39:07] ========== xe_rtp_table_missing_upper_bound_test ========== [20:39:07] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [20:39:07] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [20:39:07] [PASSED] register_whitelist/1806527549 [20:39:07] [PASSED] register_whitelist/allow_read_ctx_timestamp [20:39:07] [PASSED] register_whitelist/allow_read_queue_timestamp [20:39:07] [PASSED] register_whitelist/16014440446 [20:39:07] [PASSED] register_whitelist/16017236439 [20:39:07] [PASSED] register_whitelist/16020183090 [20:39:07] [PASSED] register_whitelist/14024997852 [20:39:07] [PASSED] register_whitelist/14024997852 [20:39:07] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [20:39:07] =============== [PASSED] xe_rtp_tables_test ================ [20:39:07] =================== xe_rtp (3 subtests) ==================== [20:39:07] =================== xe_rtp_rules_tests ==================== [20:39:07] [PASSED] no [20:39:07] [PASSED] yes [20:39:07] [PASSED] no-and-no [20:39:07] [PASSED] no-and-yes [20:39:07] [PASSED] yes-and-no [20:39:07] [PASSED] yes-and-yes [20:39:07] [PASSED] no-or-no [20:39:07] [PASSED] no-or-yes [20:39:07] [PASSED] yes-or-no [20:39:07] [PASSED] yes-or-yes [20:39:07] [PASSED] no-yes-or-yes-no [20:39:07] [PASSED] no-yes-or-yes-yes [20:39:07] [PASSED] yes-yes-or-no-yes [20:39:07] [PASSED] yes-yes-or-yes-yes [20:39:07] [PASSED] no-no-or-yes-or-no [20:39:07] [PASSED] or [20:39:07] [PASSED] or-yes [20:39:07] [PASSED] or-no [20:39:07] [PASSED] yes-or [20:39:07] [PASSED] no-or [20:39:07] [PASSED] no-or-or-yes [20:39:07] [PASSED] yes-or-or-no [20:39:07] [PASSED] no-or-or-no [20:39:07] [PASSED] missing-context-engine-class [20:39:07] [PASSED] missing-context-engine-class-or-yes [20:39:07] [PASSED] missing-context-engine-class-or-or-yes [20:39:07] =============== [PASSED] xe_rtp_rules_tests ================ [20:39:07] =============== xe_rtp_process_to_sr_tests ================ [20:39:07] [PASSED] coalesce-same-reg [20:39:07] [PASSED] coalesce-same-reg-literal-and-func [20:39:07] [PASSED] no-match-no-add [20:39:07] [PASSED] two-regs-two-entries [20:39:07] [PASSED] clr-one-set-other [20:39:07] [PASSED] set-field [20:39:07] [PASSED] conflict-duplicate [20:39:07] [PASSED] conflict-not-disjoint [20:39:07] [PASSED] conflict-not-disjoint-literal-and-func [20:39:07] [PASSED] conflict-reg-type [20:39:07] [PASSED] bad-mcr-reg-forced-to-regular [20:39:07] [PASSED] bad-regular-reg-forced-to-mcr [20:39:07] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [20:39:07] ================== xe_rtp_process_tests =================== [20:39:07] [PASSED] active1 [20:39:07] [PASSED] active2 [20:39:07] [PASSED] active-inactive [20:39:07] [PASSED] inactive-active [20:39:07] [PASSED] inactive-active-inactive [20:39:07] [PASSED] inactive-inactive-inactive [20:39:07] ============== [PASSED] xe_rtp_process_tests =============== [20:39:07] ===================== [PASSED] xe_rtp ====================== [20:39:07] ==================== xe_wa (1 subtest) ===================== [20:39:07] ======================== xe_wa_gt ========================= [20:39:07] [PASSED] TIGERLAKE B0 [20:39:07] [PASSED] DG1 A0 [20:39:07] [PASSED] DG1 B0 [20:39:07] [PASSED] ALDERLAKE_S A0 [20:39:07] [PASSED] ALDERLAKE_S B0 [20:39:07] [PASSED] ALDERLAKE_S C0 [20:39:07] [PASSED] ALDERLAKE_S D0 [20:39:07] [PASSED] ALDERLAKE_P A0 [20:39:07] [PASSED] ALDERLAKE_P B0 [20:39:07] [PASSED] ALDERLAKE_P C0 [20:39:07] [PASSED] ALDERLAKE_S RPLS D0 [20:39:07] [PASSED] ALDERLAKE_P RPLU E0 [20:39:07] [PASSED] DG2 G10 C0 [20:39:07] [PASSED] DG2 G11 B1 [20:39:07] [PASSED] DG2 G12 A1 [20:39:07] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [20:39:07] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [20:39:07] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [20:39:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [20:39:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [20:39:07] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [20:39:07] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [20:39:07] ==================== [PASSED] xe_wa_gt ===================== [20:39:07] ====================== [PASSED] xe_wa ====================== [20:39:07] ============================================================ [20:39:07] Testing complete. Ran 838 tests: passed: 809, skipped: 29 [20:39:07] Elapsed time: 41.349s total, 1.917s configuring, 38.665s building, 0.724s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [20:39:08] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [20:39:09] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [20:39:35] Starting KUnit Kernel (1/1)... [20:39:35] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [20:39:35] ============ drm_test_pick_cmdline (2 subtests) ============ [20:39:35] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [20:39:35] =============== drm_test_pick_cmdline_named =============== [20:39:35] [PASSED] NTSC [20:39:35] [PASSED] NTSC-J [20:39:35] [PASSED] PAL [20:39:35] [PASSED] PAL-M [20:39:35] =========== [PASSED] drm_test_pick_cmdline_named =========== [20:39:35] ============== [PASSED] drm_test_pick_cmdline ============== [20:39:35] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [20:39:35] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [20:39:35] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [20:39:35] =========== drm_validate_clone_mode (2 subtests) =========== [20:39:35] ============== drm_test_check_in_clone_mode =============== [20:39:35] [PASSED] in_clone_mode [20:39:35] [PASSED] not_in_clone_mode [20:39:35] ========== [PASSED] drm_test_check_in_clone_mode =========== [20:39:35] =============== drm_test_check_valid_clones =============== [20:39:35] [PASSED] not_in_clone_mode [20:39:35] [PASSED] valid_clone [20:39:35] [PASSED] invalid_clone [20:39:35] =========== [PASSED] drm_test_check_valid_clones =========== [20:39:35] ============= [PASSED] drm_validate_clone_mode ============= [20:39:35] ============= drm_validate_modeset (1 subtest) ============= [20:39:35] [PASSED] drm_test_check_connector_changed_modeset [20:39:35] ============== [PASSED] drm_validate_modeset =============== [20:39:35] ====== drm_test_bridge_get_current_state (1 subtest) ======= [20:39:35] [PASSED] drm_test_drm_bridge_get_current_state_atomic [20:39:35] ======== [PASSED] drm_test_bridge_get_current_state ======== [20:39:35] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [20:39:35] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [20:39:35] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [20:39:35] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [20:39:35] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [20:39:35] ============== drm_bridge_alloc (2 subtests) =============== [20:39:35] [PASSED] drm_test_drm_bridge_alloc_basic [20:39:35] [PASSED] drm_test_drm_bridge_alloc_get_put [20:39:35] ================ [PASSED] drm_bridge_alloc ================= [20:39:35] ============= drm_bridge_bus_fmt (5 subtests) ============== [20:39:35] [PASSED] drm_test_bridge_rgb_yuv_rgb [20:39:35] [PASSED] drm_test_bridge_must_convert_to_yuv444 [20:39:35] [PASSED] drm_test_bridge_hdmi_auto_rgb [20:39:35] [PASSED] drm_test_bridge_auto_first [20:39:35] [PASSED] drm_test_bridge_rgb_yuv_no_path [20:39:35] =============== [PASSED] drm_bridge_bus_fmt ================ [20:39:35] ============= drm_cmdline_parser (40 subtests) ============= [20:39:35] [PASSED] drm_test_cmdline_force_d_only [20:39:35] [PASSED] drm_test_cmdline_force_D_only_dvi [20:39:35] [PASSED] drm_test_cmdline_force_D_only_hdmi [20:39:35] [PASSED] drm_test_cmdline_force_D_only_not_digital [20:39:35] [PASSED] drm_test_cmdline_force_e_only [20:39:35] [PASSED] drm_test_cmdline_res [20:39:35] [PASSED] drm_test_cmdline_res_vesa [20:39:35] [PASSED] drm_test_cmdline_res_vesa_rblank [20:39:35] [PASSED] drm_test_cmdline_res_rblank [20:39:35] [PASSED] drm_test_cmdline_res_bpp [20:39:35] [PASSED] drm_test_cmdline_res_refresh [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [20:39:35] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [20:39:35] [PASSED] drm_test_cmdline_res_margins_force_on [20:39:35] [PASSED] drm_test_cmdline_res_vesa_margins [20:39:35] [PASSED] drm_test_cmdline_name [20:39:35] [PASSED] drm_test_cmdline_name_bpp [20:39:35] [PASSED] drm_test_cmdline_name_option [20:39:35] [PASSED] drm_test_cmdline_name_bpp_option [20:39:35] [PASSED] drm_test_cmdline_rotate_0 [20:39:35] [PASSED] drm_test_cmdline_rotate_90 [20:39:35] [PASSED] drm_test_cmdline_rotate_180 [20:39:35] [PASSED] drm_test_cmdline_rotate_270 [20:39:35] [PASSED] drm_test_cmdline_hmirror [20:39:35] [PASSED] drm_test_cmdline_vmirror [20:39:35] [PASSED] drm_test_cmdline_margin_options [20:39:35] [PASSED] drm_test_cmdline_multiple_options [20:39:35] [PASSED] drm_test_cmdline_bpp_extra_and_option [20:39:35] [PASSED] drm_test_cmdline_extra_and_option [20:39:35] [PASSED] drm_test_cmdline_freestanding_options [20:39:35] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [20:39:35] [PASSED] drm_test_cmdline_panel_orientation [20:39:35] ================ drm_test_cmdline_invalid ================= [20:39:35] [PASSED] margin_only [20:39:35] [PASSED] interlace_only [20:39:35] [PASSED] res_missing_x [20:39:35] [PASSED] res_missing_y [20:39:35] [PASSED] res_bad_y [20:39:35] [PASSED] res_missing_y_bpp [20:39:35] [PASSED] res_bad_bpp [20:39:35] [PASSED] res_bad_refresh [20:39:35] [PASSED] res_bpp_refresh_force_on_off [20:39:35] [PASSED] res_invalid_mode [20:39:35] [PASSED] res_bpp_wrong_place_mode [20:39:35] [PASSED] name_bpp_refresh [20:39:35] [PASSED] name_refresh [20:39:35] [PASSED] name_refresh_wrong_mode [20:39:35] [PASSED] name_refresh_invalid_mode [20:39:35] [PASSED] rotate_multiple [20:39:35] [PASSED] rotate_invalid_val [20:39:35] [PASSED] rotate_truncated [20:39:35] [PASSED] invalid_option [20:39:35] [PASSED] invalid_tv_option [20:39:35] [PASSED] truncated_tv_option [20:39:35] ============ [PASSED] drm_test_cmdline_invalid ============= [20:39:35] =============== drm_test_cmdline_tv_options =============== [20:39:35] [PASSED] NTSC [20:39:35] [PASSED] NTSC_443 [20:39:35] [PASSED] NTSC_J [20:39:35] [PASSED] PAL [20:39:35] [PASSED] PAL_M [20:39:35] [PASSED] PAL_N [20:39:35] [PASSED] SECAM [20:39:35] [PASSED] MONO_525 [20:39:35] [PASSED] MONO_625 [20:39:35] =========== [PASSED] drm_test_cmdline_tv_options =========== [20:39:35] =============== [PASSED] drm_cmdline_parser ================ [20:39:35] ========== drmm_connector_hdmi_init (20 subtests) ========== [20:39:35] [PASSED] drm_test_connector_hdmi_init_valid [20:39:35] [PASSED] drm_test_connector_hdmi_init_bpc_8 [20:39:35] [PASSED] drm_test_connector_hdmi_init_bpc_10 [20:39:35] [PASSED] drm_test_connector_hdmi_init_bpc_12 [20:39:35] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [20:39:35] [PASSED] drm_test_connector_hdmi_init_bpc_null [20:39:35] [PASSED] drm_test_connector_hdmi_init_formats_empty [20:39:35] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [20:39:35] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [20:39:35] [PASSED] supported_formats=0x9 yuv420_allowed=1 [20:39:35] [PASSED] supported_formats=0x9 yuv420_allowed=0 [20:39:35] [PASSED] supported_formats=0x5 yuv420_allowed=1 [20:39:35] [PASSED] supported_formats=0x5 yuv420_allowed=0 [20:39:35] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [20:39:35] [PASSED] drm_test_connector_hdmi_init_null_ddc [20:39:35] [PASSED] drm_test_connector_hdmi_init_null_product [20:39:35] [PASSED] drm_test_connector_hdmi_init_null_vendor [20:39:35] [PASSED] drm_test_connector_hdmi_init_product_length_exact [20:39:35] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [20:39:35] [PASSED] drm_test_connector_hdmi_init_product_valid [20:39:35] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [20:39:35] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [20:39:35] [PASSED] drm_test_connector_hdmi_init_vendor_valid [20:39:35] ========= drm_test_connector_hdmi_init_type_valid ========= [20:39:35] [PASSED] HDMI-A [20:39:35] [PASSED] HDMI-B [20:39:35] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [20:39:35] ======== drm_test_connector_hdmi_init_type_invalid ======== [20:39:35] [PASSED] Unknown [20:39:35] [PASSED] VGA [20:39:35] [PASSED] DVI-I [20:39:35] [PASSED] DVI-D [20:39:35] [PASSED] DVI-A [20:39:35] [PASSED] Composite [20:39:35] [PASSED] SVIDEO [20:39:35] [PASSED] LVDS [20:39:35] [PASSED] Component [20:39:35] [PASSED] DIN [20:39:35] [PASSED] DP [20:39:35] [PASSED] TV [20:39:35] [PASSED] eDP [20:39:35] [PASSED] Virtual [20:39:35] [PASSED] DSI [20:39:35] [PASSED] DPI [20:39:35] [PASSED] Writeback [20:39:35] [PASSED] SPI [20:39:35] [PASSED] USB [20:39:35] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [20:39:35] ============ [PASSED] drmm_connector_hdmi_init ============= [20:39:35] ============= drmm_connector_init (3 subtests) ============= [20:39:35] [PASSED] drm_test_drmm_connector_init [20:39:35] [PASSED] drm_test_drmm_connector_init_null_ddc [20:39:35] ========= drm_test_drmm_connector_init_type_valid ========= [20:39:35] [PASSED] Unknown [20:39:35] [PASSED] VGA [20:39:35] [PASSED] DVI-I [20:39:35] [PASSED] DVI-D [20:39:35] [PASSED] DVI-A [20:39:35] [PASSED] Composite [20:39:35] [PASSED] SVIDEO [20:39:35] [PASSED] LVDS [20:39:35] [PASSED] Component [20:39:35] [PASSED] DIN [20:39:35] [PASSED] DP [20:39:35] [PASSED] HDMI-A [20:39:35] [PASSED] HDMI-B [20:39:35] [PASSED] TV [20:39:35] [PASSED] eDP [20:39:35] [PASSED] Virtual [20:39:35] [PASSED] DSI [20:39:35] [PASSED] DPI [20:39:35] [PASSED] Writeback [20:39:35] [PASSED] SPI [20:39:35] [PASSED] USB [20:39:35] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [20:39:35] =============== [PASSED] drmm_connector_init =============== [20:39:35] ========= drm_connector_dynamic_init (6 subtests) ========== [20:39:35] [PASSED] drm_test_drm_connector_dynamic_init [20:39:35] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [20:39:35] [PASSED] drm_test_drm_connector_dynamic_init_not_added [20:39:35] [PASSED] drm_test_drm_connector_dynamic_init_properties [20:39:35] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [20:39:35] [PASSED] Unknown [20:39:35] [PASSED] VGA [20:39:35] [PASSED] DVI-I [20:39:35] [PASSED] DVI-D [20:39:35] [PASSED] DVI-A [20:39:35] [PASSED] Composite [20:39:35] [PASSED] SVIDEO [20:39:35] [PASSED] LVDS [20:39:35] [PASSED] Component [20:39:35] [PASSED] DIN [20:39:35] [PASSED] DP [20:39:35] [PASSED] HDMI-A [20:39:35] [PASSED] HDMI-B [20:39:35] [PASSED] TV [20:39:35] [PASSED] eDP [20:39:35] [PASSED] Virtual [20:39:35] [PASSED] DSI [20:39:35] [PASSED] DPI [20:39:35] [PASSED] Writeback [20:39:35] [PASSED] SPI [20:39:35] [PASSED] USB [20:39:35] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [20:39:35] ======== drm_test_drm_connector_dynamic_init_name ========= [20:39:35] [PASSED] Unknown [20:39:35] [PASSED] VGA [20:39:35] [PASSED] DVI-I [20:39:35] [PASSED] DVI-D [20:39:35] [PASSED] DVI-A [20:39:35] [PASSED] Composite [20:39:35] [PASSED] SVIDEO [20:39:35] [PASSED] LVDS [20:39:35] [PASSED] Component [20:39:35] [PASSED] DIN [20:39:35] [PASSED] DP [20:39:35] [PASSED] HDMI-A [20:39:35] [PASSED] HDMI-B [20:39:35] [PASSED] TV [20:39:35] [PASSED] eDP [20:39:35] [PASSED] Virtual [20:39:35] [PASSED] DSI [20:39:35] [PASSED] DPI [20:39:35] [PASSED] Writeback [20:39:35] [PASSED] SPI [20:39:35] [PASSED] USB [20:39:35] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [20:39:35] =========== [PASSED] drm_connector_dynamic_init ============ [20:39:35] ==== drm_connector_dynamic_register_early (4 subtests) ===== [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [20:39:35] ====== [PASSED] drm_connector_dynamic_register_early ======= [20:39:35] ======= drm_connector_dynamic_register (7 subtests) ======== [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_on_list [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_no_init [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [20:39:35] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [20:39:35] ========= [PASSED] drm_connector_dynamic_register ========== [20:39:35] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [20:39:35] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [20:39:35] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [20:39:35] === [PASSED] drm_connector_attach_broadcast_rgb_property === [20:39:35] ========== drm_get_tv_mode_from_name (2 subtests) ========== [20:39:35] ========== drm_test_get_tv_mode_from_name_valid =========== [20:39:35] [PASSED] NTSC [20:39:35] [PASSED] NTSC-443 [20:39:35] [PASSED] NTSC-J [20:39:35] [PASSED] PAL [20:39:35] [PASSED] PAL-M [20:39:35] [PASSED] PAL-N [20:39:35] [PASSED] SECAM [20:39:35] [PASSED] Mono [20:39:35] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [20:39:35] [PASSED] drm_test_get_tv_mode_from_name_truncated [20:39:35] ============ [PASSED] drm_get_tv_mode_from_name ============ [20:39:35] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [20:39:35] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [20:39:35] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [20:39:35] [PASSED] VIC 96 [20:39:35] [PASSED] VIC 97 [20:39:35] [PASSED] VIC 101 [20:39:35] [PASSED] VIC 102 [20:39:35] [PASSED] VIC 106 [20:39:35] [PASSED] VIC 107 [20:39:35] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [20:39:35] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [20:39:35] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [20:39:35] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [20:39:35] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [20:39:35] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [20:39:35] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [20:39:35] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [20:39:35] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [20:39:35] [PASSED] Automatic [20:39:35] [PASSED] Full [20:39:35] [PASSED] Limited 16:235 [20:39:35] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [20:39:35] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [20:39:35] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [20:39:35] == drm_hdmi_connector_get_output_format_name (2 subtests) == [20:39:35] === drm_test_drm_hdmi_connector_get_output_format_name ==== [20:39:35] [PASSED] RGB [20:39:35] [PASSED] YUV 4:2:0 [20:39:35] [PASSED] YUV 4:2:2 [20:39:35] [PASSED] YUV 4:4:4 [20:39:35] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [20:39:35] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [20:39:35] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [20:39:35] ============= drm_damage_helper (21 subtests) ============== [20:39:35] [PASSED] drm_test_damage_iter_no_damage [20:39:35] [PASSED] drm_test_damage_iter_no_damage_fractional_src [20:39:35] [PASSED] drm_test_damage_iter_no_damage_src_moved [20:39:35] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [20:39:35] [PASSED] drm_test_damage_iter_no_damage_not_visible [20:39:35] [PASSED] drm_test_damage_iter_no_damage_no_crtc [20:39:35] [PASSED] drm_test_damage_iter_no_damage_no_fb [20:39:35] [PASSED] drm_test_damage_iter_simple_damage [20:39:35] [PASSED] drm_test_damage_iter_single_damage [20:39:35] [PASSED] drm_test_damage_iter_single_damage_intersect_src [20:39:35] [PASSED] drm_test_damage_iter_single_damage_outside_src [20:39:35] [PASSED] drm_test_damage_iter_single_damage_fractional_src [20:39:35] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [20:39:35] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [20:39:35] [PASSED] drm_test_damage_iter_single_damage_src_moved [20:39:35] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [20:39:35] [PASSED] drm_test_damage_iter_damage [20:39:35] [PASSED] drm_test_damage_iter_damage_one_intersect [20:39:35] [PASSED] drm_test_damage_iter_damage_one_outside [20:39:35] [PASSED] drm_test_damage_iter_damage_src_moved [20:39:35] [PASSED] drm_test_damage_iter_damage_not_visible [20:39:35] ================ [PASSED] drm_damage_helper ================ [20:39:35] ============== drm_dp_mst_helper (3 subtests) ============== [20:39:35] ============== drm_test_dp_mst_calc_pbn_mode ============== [20:39:35] [PASSED] Clock 154000 BPP 30 DSC disabled [20:39:35] [PASSED] Clock 234000 BPP 30 DSC disabled [20:39:35] [PASSED] Clock 297000 BPP 24 DSC disabled [20:39:35] [PASSED] Clock 332880 BPP 24 DSC enabled [20:39:35] [PASSED] Clock 324540 BPP 24 DSC enabled [20:39:35] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [20:39:35] ============== drm_test_dp_mst_calc_pbn_div =============== [20:39:35] [PASSED] Link rate 2000000 lane count 4 [20:39:35] [PASSED] Link rate 2000000 lane count 2 [20:39:35] [PASSED] Link rate 2000000 lane count 1 [20:39:35] [PASSED] Link rate 1350000 lane count 4 [20:39:35] [PASSED] Link rate 1350000 lane count 2 [20:39:35] [PASSED] Link rate 1350000 lane count 1 [20:39:35] [PASSED] Link rate 1000000 lane count 4 [20:39:35] [PASSED] Link rate 1000000 lane count 2 [20:39:35] [PASSED] Link rate 1000000 lane count 1 [20:39:35] [PASSED] Link rate 810000 lane count 4 [20:39:35] [PASSED] Link rate 810000 lane count 2 [20:39:35] [PASSED] Link rate 810000 lane count 1 [20:39:35] [PASSED] Link rate 540000 lane count 4 [20:39:35] [PASSED] Link rate 540000 lane count 2 [20:39:35] [PASSED] Link rate 540000 lane count 1 [20:39:35] [PASSED] Link rate 270000 lane count 4 [20:39:35] [PASSED] Link rate 270000 lane count 2 [20:39:35] [PASSED] Link rate 270000 lane count 1 [20:39:35] [PASSED] Link rate 162000 lane count 4 [20:39:35] [PASSED] Link rate 162000 lane count 2 [20:39:35] [PASSED] Link rate 162000 lane count 1 [20:39:35] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [20:39:35] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [20:39:35] [PASSED] DP_ENUM_PATH_RESOURCES with port number [20:39:35] [PASSED] DP_POWER_UP_PHY with port number [20:39:35] [PASSED] DP_POWER_DOWN_PHY with port number [20:39:35] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [20:39:35] [PASSED] DP_ALLOCATE_PAYLOAD with port number [20:39:35] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [20:39:35] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [20:39:35] [PASSED] DP_QUERY_PAYLOAD with port number [20:39:35] [PASSED] DP_QUERY_PAYLOAD with VCPI [20:39:35] [PASSED] DP_REMOTE_DPCD_READ with port number [20:39:35] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [20:39:35] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [20:39:35] [PASSED] DP_REMOTE_DPCD_WRITE with port number [20:39:35] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [20:39:35] [PASSED] DP_REMOTE_DPCD_WRITE with data array [20:39:35] [PASSED] DP_REMOTE_I2C_READ with port number [20:39:35] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [20:39:35] [PASSED] DP_REMOTE_I2C_READ with transactions array [20:39:35] [PASSED] DP_REMOTE_I2C_WRITE with port number [20:39:35] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [20:39:35] [PASSED] DP_REMOTE_I2C_WRITE with data array [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [20:39:35] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [20:39:35] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [20:39:35] ================ [PASSED] drm_dp_mst_helper ================ [20:39:35] ================== drm_exec (7 subtests) =================== [20:39:35] [PASSED] sanitycheck [20:39:35] [PASSED] test_lock [20:39:35] [PASSED] test_lock_unlock [20:39:35] [PASSED] test_duplicates [20:39:35] [PASSED] test_prepare [20:39:35] [PASSED] test_prepare_array [20:39:35] [PASSED] test_multiple_loops [20:39:35] ==================== [PASSED] drm_exec ===================== [20:39:35] =========== drm_format_helper_test (17 subtests) =========== [20:39:35] ============== drm_test_fb_xrgb8888_to_gray8 ============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [20:39:35] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [20:39:35] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [20:39:35] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [20:39:35] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [20:39:35] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [20:39:35] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [20:39:35] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [20:39:35] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [20:39:35] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [20:39:35] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [20:39:35] ============== drm_test_fb_xrgb8888_to_mono =============== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [20:39:35] ==================== drm_test_fb_swab ===================== [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ================ [PASSED] drm_test_fb_swab ================= [20:39:35] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [20:39:35] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [20:39:35] [PASSED] single_pixel_source_buffer [20:39:35] [PASSED] single_pixel_clip_rectangle [20:39:35] [PASSED] well_known_colors [20:39:35] [PASSED] destination_pitch [20:39:35] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [20:39:35] ================= drm_test_fb_clip_offset ================= [20:39:35] [PASSED] pass through [20:39:35] [PASSED] horizontal offset [20:39:35] [PASSED] vertical offset [20:39:35] [PASSED] horizontal and vertical offset [20:39:35] [PASSED] horizontal offset (custom pitch) [20:39:35] [PASSED] vertical offset (custom pitch) [20:39:35] [PASSED] horizontal and vertical offset (custom pitch) [20:39:35] ============= [PASSED] drm_test_fb_clip_offset ============= [20:39:35] =================== drm_test_fb_memcpy ==================== [20:39:35] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [20:39:35] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [20:39:35] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [20:39:35] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [20:39:35] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [20:39:35] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [20:39:35] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [20:39:35] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [20:39:35] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [20:39:35] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [20:39:35] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [20:39:35] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [20:39:35] =============== [PASSED] drm_test_fb_memcpy ================ [20:39:35] ============= [PASSED] drm_format_helper_test ============== [20:39:35] ================= drm_format (18 subtests) ================= [20:39:35] [PASSED] drm_test_format_block_width_invalid [20:39:35] [PASSED] drm_test_format_block_width_one_plane [20:39:35] [PASSED] drm_test_format_block_width_two_plane [20:39:35] [PASSED] drm_test_format_block_width_three_plane [20:39:35] [PASSED] drm_test_format_block_width_tiled [20:39:35] [PASSED] drm_test_format_block_height_invalid [20:39:35] [PASSED] drm_test_format_block_height_one_plane [20:39:35] [PASSED] drm_test_format_block_height_two_plane [20:39:35] [PASSED] drm_test_format_block_height_three_plane [20:39:35] [PASSED] drm_test_format_block_height_tiled [20:39:35] [PASSED] drm_test_format_min_pitch_invalid [20:39:35] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [20:39:35] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [20:39:35] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [20:39:35] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [20:39:35] [PASSED] drm_test_format_min_pitch_two_plane [20:39:35] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [20:39:35] [PASSED] drm_test_format_min_pitch_tiled [20:39:35] =================== [PASSED] drm_format ==================== [20:39:35] ============== drm_framebuffer (10 subtests) =============== [20:39:35] ========== drm_test_framebuffer_check_src_coords ========== [20:39:35] [PASSED] Success: source fits into fb [20:39:35] [PASSED] Fail: overflowing fb with x-axis coordinate [20:39:35] [PASSED] Fail: overflowing fb with y-axis coordinate [20:39:35] [PASSED] Fail: overflowing fb with source width [20:39:35] [PASSED] Fail: overflowing fb with source height [20:39:35] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [20:39:35] [PASSED] drm_test_framebuffer_cleanup [20:39:35] =============== drm_test_framebuffer_create =============== [20:39:35] [PASSED] ABGR8888 normal sizes [20:39:35] [PASSED] ABGR8888 max sizes [20:39:35] [PASSED] ABGR8888 pitch greater than min required [20:39:35] [PASSED] ABGR8888 pitch less than min required [20:39:35] [PASSED] ABGR8888 Invalid width [20:39:35] [PASSED] ABGR8888 Invalid buffer handle [20:39:35] [PASSED] No pixel format [20:39:35] [PASSED] ABGR8888 Width 0 [20:39:35] [PASSED] ABGR8888 Height 0 [20:39:35] [PASSED] ABGR8888 Out of bound height * pitch combination [20:39:35] [PASSED] ABGR8888 Large buffer offset [20:39:35] [PASSED] ABGR8888 Buffer offset for inexistent plane [20:39:35] [PASSED] ABGR8888 Invalid flag [20:39:35] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [20:39:35] [PASSED] ABGR8888 Valid buffer modifier [20:39:35] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [20:39:35] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] NV12 Normal sizes [20:39:35] [PASSED] NV12 Max sizes [20:39:35] [PASSED] NV12 Invalid pitch [20:39:35] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [20:39:35] [PASSED] NV12 different modifier per-plane [20:39:35] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [20:39:35] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] NV12 Modifier for inexistent plane [20:39:35] [PASSED] NV12 Handle for inexistent plane [20:39:35] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [20:39:35] [PASSED] YVU420 Normal sizes [20:39:35] [PASSED] YVU420 Max sizes [20:39:35] [PASSED] YVU420 Invalid pitch [20:39:35] [PASSED] YVU420 Different pitches [20:39:35] [PASSED] YVU420 Different buffer offsets/pitches [20:39:35] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [20:39:35] [PASSED] YVU420 Valid modifier [20:39:35] [PASSED] YVU420 Different modifiers per plane [20:39:35] [PASSED] YVU420 Modifier for inexistent plane [20:39:35] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [20:39:35] [PASSED] X0L2 Normal sizes [20:39:35] [PASSED] X0L2 Max sizes [20:39:35] [PASSED] X0L2 Invalid pitch [20:39:35] [PASSED] X0L2 Pitch greater than minimum required [20:39:35] [PASSED] X0L2 Handle for inexistent plane [20:39:35] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [20:39:35] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [20:39:35] [PASSED] X0L2 Valid modifier [20:39:35] [PASSED] X0L2 Modifier for inexistent plane [20:39:35] =========== [PASSED] drm_test_framebuffer_create =========== [20:39:35] [PASSED] drm_test_framebuffer_free [20:39:35] [PASSED] drm_test_framebuffer_init [20:39:35] [PASSED] drm_test_framebuffer_init_bad_format [20:39:35] [PASSED] drm_test_framebuffer_init_dev_mismatch [20:39:35] [PASSED] drm_test_framebuffer_lookup [20:39:35] [PASSED] drm_test_framebuffer_lookup_inexistent [20:39:35] [PASSED] drm_test_framebuffer_modifiers_not_supported [20:39:35] ================= [PASSED] drm_framebuffer ================= [20:39:35] ================ drm_gem_shmem (8 subtests) ================ [20:39:35] [PASSED] drm_gem_shmem_test_obj_create [20:39:35] [PASSED] drm_gem_shmem_test_obj_create_private [20:39:35] [PASSED] drm_gem_shmem_test_pin_pages [20:39:35] [PASSED] drm_gem_shmem_test_vmap [20:39:35] [PASSED] drm_gem_shmem_test_get_sg_table [20:39:35] [PASSED] drm_gem_shmem_test_get_pages_sgt [20:39:35] [PASSED] drm_gem_shmem_test_madvise [20:39:35] [PASSED] drm_gem_shmem_test_purge [20:39:35] ================== [PASSED] drm_gem_shmem ================== [20:39:35] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [20:39:35] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [20:39:35] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [20:39:35] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [20:39:35] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [20:39:35] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [20:39:35] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [20:39:35] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [20:39:35] [PASSED] Automatic [20:39:35] [PASSED] Full [20:39:35] [PASSED] Limited 16:235 [20:39:35] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [20:39:35] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [20:39:35] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [20:39:35] [PASSED] drm_test_check_disable_connector [20:39:35] [PASSED] drm_test_check_hdmi_funcs_reject_rate [20:39:35] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [20:39:35] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [20:39:35] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [20:39:35] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [20:39:35] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [20:39:35] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [20:39:35] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [20:39:35] [PASSED] drm_test_check_output_bpc_dvi [20:39:35] [PASSED] drm_test_check_output_bpc_format_vic_1 [20:39:35] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [20:39:35] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [20:39:35] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [20:39:35] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [20:39:35] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [20:39:35] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [20:39:35] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [20:39:35] ============ drm_test_check_hdmi_color_format ============= [20:39:35] [PASSED] AUTO -> RGB [20:39:35] [PASSED] YCBCR422 -> YUV422 [20:39:35] [PASSED] YCBCR420 -> YUV420 [20:39:35] [PASSED] YCBCR444 -> YUV444 [20:39:35] [PASSED] RGB -> RGB [20:39:35] ======== [PASSED] drm_test_check_hdmi_color_format ========= [20:39:35] ======== drm_test_check_hdmi_color_format_420_only ======== [20:39:35] [PASSED] RGB should fail [20:39:35] [PASSED] YUV444 should fail [20:39:35] [PASSED] YUV422 should fail [20:39:35] [PASSED] YUV420 should work [20:39:35] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [20:39:35] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [20:39:35] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [20:39:35] [PASSED] drm_test_check_broadcast_rgb_value [20:39:35] [PASSED] drm_test_check_bpc_8_value [20:39:35] [PASSED] drm_test_check_bpc_10_value [20:39:35] [PASSED] drm_test_check_bpc_12_value [20:39:35] [PASSED] drm_test_check_format_value [20:39:35] [PASSED] drm_test_check_tmds_char_value [20:39:35] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [20:39:35] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [20:39:35] [PASSED] drm_test_check_mode_valid [20:39:35] [PASSED] drm_test_check_mode_valid_reject [20:39:35] [PASSED] drm_test_check_mode_valid_reject_rate [20:39:35] [PASSED] drm_test_check_mode_valid_reject_max_clock [20:39:35] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [20:39:35] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [20:39:35] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [20:39:35] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [20:39:35] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [20:39:35] [PASSED] drm_test_check_infoframes [20:39:35] [PASSED] drm_test_check_reject_avi_infoframe [20:39:35] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [20:39:35] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [20:39:35] [PASSED] drm_test_check_reject_audio_infoframe [20:39:35] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [20:39:35] ================= drm_managed (2 subtests) ================= [20:39:35] [PASSED] drm_test_managed_release_action [20:39:35] [PASSED] drm_test_managed_run_action [20:39:35] =================== [PASSED] drm_managed =================== [20:39:35] =================== drm_mm (6 subtests) ==================== [20:39:35] [PASSED] drm_test_mm_init [20:39:35] [PASSED] drm_test_mm_debug [20:39:35] [PASSED] drm_test_mm_align32 [20:39:35] [PASSED] drm_test_mm_align64 [20:39:35] [PASSED] drm_test_mm_lowest [20:39:35] [PASSED] drm_test_mm_highest [20:39:35] ===================== [PASSED] drm_mm ====================== [20:39:35] ============= drm_modes_analog_tv (5 subtests) ============= [20:39:35] [PASSED] drm_test_modes_analog_tv_mono_576i [20:39:35] [PASSED] drm_test_modes_analog_tv_ntsc_480i [20:39:35] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [20:39:35] [PASSED] drm_test_modes_analog_tv_pal_576i [20:39:35] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [20:39:35] =============== [PASSED] drm_modes_analog_tv =============== [20:39:35] ============== drm_panic_helper (3 subtests) =============== [20:39:35] ============= drm_test_panic_screen_user_map ============== [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] ========= [PASSED] drm_test_panic_screen_user_map ========== [20:39:35] ============= drm_test_panic_screen_user_page ============= [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] ========= [PASSED] drm_test_panic_screen_user_page ========= [20:39:35] ========== drm_test_panic_screen_user_set_pixel =========== [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [20:39:35] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [20:39:35] ====== [PASSED] drm_test_panic_screen_user_set_pixel ======= [20:39:35] ================ [PASSED] drm_panic_helper ================= [20:39:35] ============== drm_plane_helper (2 subtests) =============== [20:39:35] =============== drm_test_check_plane_state ================ [20:39:35] [PASSED] clipping_simple [20:39:35] [PASSED] clipping_rotate_reflect [20:39:35] [PASSED] positioning_simple [20:39:35] [PASSED] upscaling [20:39:35] [PASSED] downscaling [20:39:35] [PASSED] rounding1 [20:39:35] [PASSED] rounding2 [20:39:35] [PASSED] rounding3 [20:39:35] [PASSED] rounding4 [20:39:35] =========== [PASSED] drm_test_check_plane_state ============ [20:39:35] =========== drm_test_check_invalid_plane_state ============ [20:39:35] [PASSED] positioning_invalid [20:39:35] [PASSED] upscaling_invalid [20:39:35] [PASSED] downscaling_invalid [20:39:35] ======= [PASSED] drm_test_check_invalid_plane_state ======== [20:39:35] ================ [PASSED] drm_plane_helper ================= [20:39:35] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [20:39:35] ====== drm_test_connector_helper_tv_get_modes_check ======= [20:39:35] [PASSED] None [20:39:35] [PASSED] PAL [20:39:35] [PASSED] NTSC [20:39:35] [PASSED] Both, NTSC Default [20:39:35] [PASSED] Both, PAL Default [20:39:35] [PASSED] Both, NTSC Default, with PAL on command-line [20:39:35] [PASSED] Both, PAL Default, with NTSC on command-line [20:39:35] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [20:39:35] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [20:39:35] ================== drm_rect (9 subtests) =================== [20:39:35] [PASSED] drm_test_rect_clip_scaled_div_by_zero [20:39:35] [PASSED] drm_test_rect_clip_scaled_not_clipped [20:39:35] [PASSED] drm_test_rect_clip_scaled_clipped [20:39:35] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [20:39:35] ================= drm_test_rect_intersect ================= [20:39:35] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [20:39:35] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [20:39:35] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [20:39:35] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [20:39:35] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [20:39:35] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [20:39:35] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [20:39:35] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [20:39:35] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [20:39:35] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [20:39:35] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [20:39:35] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [20:39:35] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [20:39:35] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [20:39:35] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [20:39:35] ============= [PASSED] drm_test_rect_intersect ============= [20:39:35] ================ drm_test_rect_calc_hscale ================ [20:39:35] [PASSED] normal use [20:39:35] [PASSED] out of max range [20:39:35] [PASSED] out of min range [20:39:35] [PASSED] zero dst [20:39:35] [PASSED] negative src [20:39:35] [PASSED] negative dst [20:39:35] ============ [PASSED] drm_test_rect_calc_hscale ============ [20:39:35] ================ drm_test_rect_calc_vscale ================ [20:39:35] [PASSED] normal use [20:39:35] [PASSED] out of max range [20:39:35] [PASSED] out of min range [20:39:35] [PASSED] zero dst [20:39:35] [PASSED] negative src [20:39:35] [PASSED] negative dst [20:39:35] ============ [PASSED] drm_test_rect_calc_vscale ============ [20:39:35] ================== drm_test_rect_rotate =================== [20:39:35] [PASSED] reflect-x [20:39:35] [PASSED] reflect-y [20:39:35] [PASSED] rotate-0 [20:39:35] [PASSED] rotate-90 [20:39:35] [PASSED] rotate-180 [20:39:35] [PASSED] rotate-270 [20:39:35] ============== [PASSED] drm_test_rect_rotate =============== [20:39:35] ================ drm_test_rect_rotate_inv ================= [20:39:35] [PASSED] reflect-x [20:39:35] [PASSED] reflect-y [20:39:35] [PASSED] rotate-0 [20:39:35] [PASSED] rotate-90 [20:39:35] [PASSED] rotate-180 [20:39:35] [PASSED] rotate-270 [20:39:35] ============ [PASSED] drm_test_rect_rotate_inv ============= [20:39:35] ==================== [PASSED] drm_rect ===================== [20:39:35] ============ drm_sysfb_modeset_test (1 subtest) ============ [20:39:35] ============ drm_test_sysfb_build_fourcc_list ============= [20:39:35] [PASSED] no native formats [20:39:35] [PASSED] XRGB8888 as native format [20:39:35] [PASSED] remove duplicates [20:39:35] [PASSED] convert alpha formats [20:39:35] [PASSED] random formats [20:39:35] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [20:39:35] ============= [PASSED] drm_sysfb_modeset_test ============== [20:39:35] ================== drm_fixp (2 subtests) =================== [20:39:35] [PASSED] drm_test_int2fixp [20:39:35] [PASSED] drm_test_sm2fixp [20:39:35] ==================== [PASSED] drm_fixp ===================== [20:39:35] ============================================================ [20:39:35] Testing complete. Ran 667 tests: passed: 667 [20:39:35] Elapsed time: 27.418s total, 1.858s configuring, 25.144s building, 0.412s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [20:39:35] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [20:39:37] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [20:39:47] Starting KUnit Kernel (1/1)... [20:39:47] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [20:39:47] ================= ttm_device (5 subtests) ================== [20:39:47] [PASSED] ttm_device_init_basic [20:39:47] [PASSED] ttm_device_init_multiple [20:39:47] [PASSED] ttm_device_fini_basic [20:39:47] [PASSED] ttm_device_init_no_vma_man [20:39:47] ================== ttm_device_init_pools ================== [20:39:47] [PASSED] No DMA allocations, no DMA32 required [20:39:47] [PASSED] DMA allocations, DMA32 required [20:39:47] [PASSED] No DMA allocations, DMA32 required [20:39:47] [PASSED] DMA allocations, no DMA32 required [20:39:47] ============== [PASSED] ttm_device_init_pools ============== [20:39:47] =================== [PASSED] ttm_device ==================== [20:39:47] ================== ttm_pool (8 subtests) =================== [20:39:47] ================== ttm_pool_alloc_basic =================== [20:39:47] [PASSED] One page [20:39:47] [PASSED] More than one page [20:39:47] [PASSED] Above the allocation limit [20:39:47] [PASSED] One page, with coherent DMA mappings enabled [20:39:47] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [20:39:47] ============== [PASSED] ttm_pool_alloc_basic =============== [20:39:47] ============== ttm_pool_alloc_basic_dma_addr ============== [20:39:47] [PASSED] One page [20:39:47] [PASSED] More than one page [20:39:47] [PASSED] Above the allocation limit [20:39:47] [PASSED] One page, with coherent DMA mappings enabled [20:39:47] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [20:39:47] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [20:39:47] [PASSED] ttm_pool_alloc_order_caching_match [20:39:47] [PASSED] ttm_pool_alloc_caching_mismatch [20:39:47] [PASSED] ttm_pool_alloc_order_mismatch [20:39:47] [PASSED] ttm_pool_free_dma_alloc [20:39:47] [PASSED] ttm_pool_free_no_dma_alloc [20:39:47] [PASSED] ttm_pool_fini_basic [20:39:47] ==================== [PASSED] ttm_pool ===================== [20:39:47] ================ ttm_resource (8 subtests) ================= [20:39:47] ================= ttm_resource_init_basic ================= [20:39:47] [PASSED] Init resource in TTM_PL_SYSTEM [20:39:47] [PASSED] Init resource in TTM_PL_VRAM [20:39:47] [PASSED] Init resource in a private placement [20:39:47] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [20:39:47] ============= [PASSED] ttm_resource_init_basic ============= [20:39:47] [PASSED] ttm_resource_init_pinned [20:39:47] [PASSED] ttm_resource_fini_basic [20:39:47] [PASSED] ttm_resource_manager_init_basic [20:39:47] [PASSED] ttm_resource_manager_usage_basic [20:39:47] [PASSED] ttm_resource_manager_set_used_basic [20:39:47] [PASSED] ttm_sys_man_alloc_basic [20:39:47] [PASSED] ttm_sys_man_free_basic [20:39:47] ================== [PASSED] ttm_resource =================== [20:39:47] =================== ttm_tt (15 subtests) =================== [20:39:47] ==================== ttm_tt_init_basic ==================== [20:39:47] [PASSED] Page-aligned size [20:39:47] [PASSED] Extra pages requested [20:39:47] ================ [PASSED] ttm_tt_init_basic ================ [20:39:47] [PASSED] ttm_tt_init_misaligned [20:39:47] [PASSED] ttm_tt_fini_basic [20:39:47] [PASSED] ttm_tt_fini_sg [20:39:47] [PASSED] ttm_tt_fini_shmem [20:39:47] [PASSED] ttm_tt_create_basic [20:39:47] [PASSED] ttm_tt_create_invalid_bo_type [20:39:47] [PASSED] ttm_tt_create_ttm_exists [20:39:47] [PASSED] ttm_tt_create_failed [20:39:47] [PASSED] ttm_tt_destroy_basic [20:39:47] [PASSED] ttm_tt_populate_null_ttm [20:39:47] [PASSED] ttm_tt_populate_populated_ttm [20:39:47] [PASSED] ttm_tt_unpopulate_basic [20:39:47] [PASSED] ttm_tt_unpopulate_empty_ttm [20:39:47] [PASSED] ttm_tt_swapin_basic [20:39:47] ===================== [PASSED] ttm_tt ====================== [20:39:47] =================== ttm_bo (14 subtests) =================== [20:39:47] =========== ttm_bo_reserve_optimistic_no_ticket =========== [20:39:47] [PASSED] Cannot be interrupted and sleeps [20:39:47] [PASSED] Cannot be interrupted, locks straight away [20:39:47] [PASSED] Can be interrupted, sleeps [20:39:47] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [20:39:47] [PASSED] ttm_bo_reserve_locked_no_sleep [20:39:47] [PASSED] ttm_bo_reserve_no_wait_ticket [20:39:47] [PASSED] ttm_bo_reserve_double_resv [20:39:47] [PASSED] ttm_bo_reserve_interrupted [20:39:47] [PASSED] ttm_bo_reserve_deadlock [20:39:47] [PASSED] ttm_bo_unreserve_basic [20:39:47] [PASSED] ttm_bo_unreserve_pinned [20:39:47] [PASSED] ttm_bo_unreserve_bulk [20:39:47] [PASSED] ttm_bo_fini_basic [20:39:47] [PASSED] ttm_bo_fini_shared_resv [20:39:47] [PASSED] ttm_bo_pin_basic [20:39:47] [PASSED] ttm_bo_pin_unpin_resource [20:39:47] [PASSED] ttm_bo_multiple_pin_one_unpin [20:39:47] ===================== [PASSED] ttm_bo ====================== [20:39:47] ============== ttm_bo_validate (22 subtests) =============== [20:39:47] ============== ttm_bo_init_reserved_sys_man =============== [20:39:47] [PASSED] Buffer object for userspace [20:39:47] [PASSED] Kernel buffer object [20:39:47] [PASSED] Shared buffer object [20:39:47] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [20:39:47] ============== ttm_bo_init_reserved_mock_man ============== [20:39:47] [PASSED] Buffer object for userspace [20:39:47] [PASSED] Kernel buffer object [20:39:47] [PASSED] Shared buffer object [20:39:47] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [20:39:47] [PASSED] ttm_bo_init_reserved_resv [20:39:47] ================== ttm_bo_validate_basic ================== [20:39:47] [PASSED] Buffer object for userspace [20:39:47] [PASSED] Kernel buffer object [20:39:47] [PASSED] Shared buffer object [20:39:47] ============== [PASSED] ttm_bo_validate_basic ============== [20:39:47] [PASSED] ttm_bo_validate_invalid_placement [20:39:47] ============= ttm_bo_validate_same_placement ============== [20:39:47] [PASSED] System manager [20:39:47] [PASSED] VRAM manager [20:39:47] ========= [PASSED] ttm_bo_validate_same_placement ========== [20:39:47] [PASSED] ttm_bo_validate_failed_alloc [20:39:47] [PASSED] ttm_bo_validate_pinned [20:39:47] [PASSED] ttm_bo_validate_busy_placement [20:39:47] ================ ttm_bo_validate_multihop ================= [20:39:47] [PASSED] Buffer object for userspace [20:39:47] [PASSED] Kernel buffer object [20:39:47] [PASSED] Shared buffer object [20:39:47] ============ [PASSED] ttm_bo_validate_multihop ============= [20:39:47] ========== ttm_bo_validate_no_placement_signaled ========== [20:39:47] [PASSED] Buffer object in system domain, no page vector [20:39:47] [PASSED] Buffer object in system domain with an existing page vector [20:39:47] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [20:39:47] ======== ttm_bo_validate_no_placement_not_signaled ======== [20:39:47] [PASSED] Buffer object for userspace [20:39:47] [PASSED] Kernel buffer object [20:39:47] [PASSED] Shared buffer object [20:39:47] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [20:39:47] [PASSED] ttm_bo_validate_move_fence_signaled [20:39:47] ========= ttm_bo_validate_move_fence_not_signaled ========= [20:39:47] [PASSED] Waits for GPU [20:39:47] [PASSED] Tries to lock straight away [20:39:47] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [20:39:47] [PASSED] ttm_bo_validate_swapout [20:39:47] [PASSED] ttm_bo_validate_happy_evict [20:39:47] [PASSED] ttm_bo_validate_all_pinned_evict [20:39:47] [PASSED] ttm_bo_validate_allowed_only_evict [20:39:47] [PASSED] ttm_bo_validate_deleted_evict [20:39:47] [PASSED] ttm_bo_validate_busy_domain_evict [20:39:47] [PASSED] ttm_bo_validate_evict_gutting [20:39:47] [PASSED] ttm_bo_validate_recrusive_evict [20:39:47] ================= [PASSED] ttm_bo_validate ================= [20:39:47] ============================================================ [20:39:47] Testing complete. Ran 102 tests: passed: 102 [20:39:47] Elapsed time: 12.203s total, 1.930s configuring, 10.008s building, 0.226s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [20:39:47] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [20:39:49] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [20:39:58] Starting KUnit Kernel (1/1)... [20:39:58] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [20:39:58] =============== dma-buf-fence (12 subtests) ================ [20:39:58] [PASSED] test_sanitycheck [20:39:58] [PASSED] test_signaling [20:39:58] [PASSED] test_add_callback [20:39:58] [PASSED] test_late_add_callback [20:39:58] [PASSED] test_rm_callback [20:39:58] [PASSED] test_late_rm_callback [20:39:58] [PASSED] test_status [20:39:58] [PASSED] test_error [20:39:58] [PASSED] test_wait [20:39:58] [PASSED] test_wait_timeout [20:39:58] [PASSED] test_stub [20:39:58] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [20:39:58] ================== [PASSED] dma-buf-fence ================== [20:39:58] ============ dma-buf-fence-chain (11 subtests) ============= [20:39:58] [PASSED] test_sanitycheck [20:39:58] [PASSED] test_find_seqno [20:39:58] [PASSED] test_find_signaled [20:39:58] [PASSED] test_find_out_of_order [20:40:03] [PASSED] test_find_gap [20:40:03] [PASSED] test_find_race [20:40:03] [PASSED] test_signal_forward [20:40:04] [PASSED] test_signal_backward [20:40:04] [PASSED] test_wait_forward [20:40:04] [PASSED] test_wait_backward [20:40:04] [PASSED] test_wait_random [20:40:04] =============== [PASSED] dma-buf-fence-chain =============== [20:40:04] ============ dma-buf-fence-unwrap (11 subtests) ============ [20:40:04] [PASSED] test_sanitycheck [20:40:04] [PASSED] test_unwrap_array [20:40:04] [PASSED] test_unwrap_chain [20:40:04] [PASSED] test_unwrap_chain_array [20:40:04] [PASSED] test_unwrap_merge [20:40:04] [PASSED] test_unwrap_merge_duplicate [20:40:04] [PASSED] test_unwrap_merge_seqno [20:40:04] [PASSED] test_unwrap_merge_order [20:40:04] [PASSED] test_unwrap_merge_complex [20:40:04] [PASSED] test_unwrap_merge_complex_seqno [20:40:04] [PASSED] test_dedup_empty [20:40:04] ============== [PASSED] dma-buf-fence-unwrap =============== [20:40:04] ================ dma-buf-resv (5 subtests) ================= [20:40:04] [PASSED] test_sanitycheck [20:40:04] ===================== test_signaling ====================== [20:40:04] [PASSED] kernel [20:40:04] [PASSED] write [20:40:04] [PASSED] read [20:40:04] [PASSED] bookkeep [20:40:04] ================= [PASSED] test_signaling ================== [20:40:04] ====================== test_for_each ====================== [20:40:04] [PASSED] kernel [20:40:04] [PASSED] write [20:40:04] [PASSED] read [20:40:04] [PASSED] bookkeep [20:40:04] ================== [PASSED] test_for_each ================== [20:40:04] ================= test_for_each_unlocked ================== [20:40:04] [PASSED] kernel [20:40:04] [PASSED] write [20:40:04] [PASSED] read [20:40:04] [PASSED] bookkeep [20:40:04] ============= [PASSED] test_for_each_unlocked ============== [20:40:04] ===================== test_get_fences ===================== [20:40:04] [PASSED] kernel [20:40:04] [PASSED] write [20:40:04] [PASSED] read [20:40:04] [PASSED] bookkeep [20:40:04] ================= [PASSED] test_get_fences ================= [20:40:04] ================== [PASSED] dma-buf-resv =================== [20:40:04] ============================================================ [20:40:04] Testing complete. Ran 51 tests: passed: 50, skipped: 1 [20:40:04] Elapsed time: 16.161s total, 1.928s configuring, 8.860s building, 5.335s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
[email protected]
AI reviewRe: [PATCH v5 1/3] drm/xe: Bump the LRU on a successful page fault
In reply to Matthew BrostThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Critical] drm/xe: missing lru_lock in xe_pagefault_handle_vma() LRU bump --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] drm/xe: missing lru_lock in xe_pagefault_handle_vma() LRU bump --
commit 5192e1a5e7b4819fce82dbbbf32300162b7b7460
Author: Matthew Brost <[email protected]>
drm/xe: Bump the LRU on a successful page fault
This commit moves a VMA's backing BO to the tail of the TTM LRU after successfully servicing a page fault so active fault-mode BOs are not prematurely evicted or shrunk.
Quoted 14 lines
drivers/gpu/drm/xe/xe_pagefault.c +2
-0@@ -201,6 +201,8 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,xe_validation_ctx_init (&ctx, &vm->xe->val, &exec, (struct xe_val_flags ) {}); drm_exec_until_all_locked(&exec) { +struct xe_bo *bo =xe_vma_bo (vma); + err =xe_pagefault_begin (&exec, vma, tile->mem.vram, needs_vram ==1 );drm_exec_retry_on_contention (&exec);
drivers/gpu/drm/xe/xe_pagefault.c static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, · line 228
Quoted 6 lines
drivers/gpu/drm/xe/xe_pagefault.c +3
-0@@ -221,6 +223,9 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,xe_pagefault_set_error (pf,XE_PAGEFAULT_ERROR_VMA_REBIND );break ; } + +if (bo) +ttm_bo_move_to_lru_tail (&bo->ttm);
[Severity: Critical]
Should xe_pagefault_handle_vma() call ttm_bo_move_to_lru_tail_unlocked() here (or acquire bo->ttm.bdev->lru_lock around the call) instead of calling ttm_bo_move_to_lru_tail() directly?
At this point in xe_pagefault_handle_vma(), only the VM and BO dma_resv locks (via drm_exec), vma->fault_lock, and vm->lock are held, not bo->ttm.bdev->lru_lock.
When a page fault occurs on a BO-backed VMA with a valid bo->ttm.resource, the call chain xe_pagefault_handle_vma() -> ttm_bo_move_to_lru_tail() -> ttm_resource_move_to_lru_tail() expects bo->bdev->lru_lock to be held:
drivers/gpu/drm/ttm/ttm_bo.c:ttm_bo_move_to_lru_tail() {
dma_resv_assert_held(bo->base.resv);
if (bo->resource)
ttm_resource_move_to_lru_tail(bo->resource);
}drivers/gpu/drm/ttm/ttm_resource.c:ttm_resource_move_to_lru_tail() {
struct ttm_buffer_object *bo = res->bo;
struct ttm_device *bdev = bo->bdev;
lockdep_assert_held(&bo->bdev->lru_lock);
if (ttm_resource_unevictable(res, bo)) {
list_move_tail(&res->lru.link, &bdev->unevictable);
} else if (bo->bulk_move) {
struct ttm_lru_bulk_move_pos *pos =
ttm_lru_bulk_move_pos(bo->bulk_move, res);
ttm_lru_bulk_move_pos_tail(pos, res);
} else {
struct ttm_resource_manager *man;
man = ttm_manager_type(bdev, res->mem_type);
list_move_tail(&res->lru.link, &man->lru[bo->priority]);
}
}Without holding bo->bdev->lru_lock, won't this trigger a lockdep assertion and race with concurrent LRU list users (such as other pagefault workers, xe_vm_bump_lru(), resource init/fini, eviction, and the shrinker), corrupting the shared LRU lists?
Also, a later commit in this series (b66983cf80f5) replaces this call with xe_bo_bump_lru_locked(bo), which still calls ttm_bo_move_to_lru_tail() and requires the caller to hold the device LRU lock without acquiring it in xe_pagefault_handle_vma().
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
[email protected]
AI reviewRe: [PATCH v5 3/3] drm/xe: Add a minimum age gate to the shrinker
In reply to Matthew BrostThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [High] drm/xe: missing lru_lock around xe_bo_bump_lru_locked() in pagefault - [Medium] drm/xe…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] drm/xe: missing lru_lock around xe_bo_bump_lru_locked() in pagefault
- [Medium] drm/xe: __xe_shrinker_walk() fails to skip priority on GPU-busy young BOs --
commit b66983cf80f56fab6416b52fa5320ec4dd988b90
Author: Matthew Brost <[email protected]>
drm/xe: Add a minimum age gate to the shrinker
This commit adds a minimum age gate to the non-purgeable BO shrinker, configured via Kconfig and a per-device shrinker_min_age_ms sysfs attribute. BOs and VM bulk moves are timestamped when their LRU positions are updated so the shrinker can skip backing up recently used BOs.
Quoted 5 lines
drivers/gpu/drm/xe/xe_bo.c +0
-0@@ -1357,9 +1357,92 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,
[ ... ]
Quoted 14 lines
drivers/gpu/drm/xe/xe_bo.c +14
-0+/** +* xe_bo_bump_lru_locked() - Bump a BO on the LRU and stamp its last use +* @bo: The buffer object, reserved by the caller. +* +* Move @bo to the tail of its LRU and record the time for the shrinker's +* minimum age gate. Only meaningful for BOs outside a bulk move, since a +* BO in one is anchored inside its range and is bumped, and aged, with it. +* The caller must hold the device LRU lock. +*/ +void xe_bo_bump_lru_locked (struct xe_bo *bo) +{ +WRITE_ONCE (bo->lru_stamp, jiffies); +ttm_bo_move_to_lru_tail (&bo->ttm); +}
[ ... ]
drivers/gpu/drm/xe/xe_pagefault.c static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, · line 228
Quoted 10 lines
drivers/gpu/drm/xe/xe_pagefault.c +1
-1@@ -225,7 +225,7 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, }if (bo) -ttm_bo_move_to_lru_tail (&bo->ttm); +xe_bo_bump_lru_locked (bo);
[Severity: High]
Does xe_pagefault_handle_vma() need to hold vm->xe->ttm.lru_lock around xe_bo_bump_lru_locked(bo)?
While the pre-existing ttm_bo_move_to_lru_tail() call here also lacked lru_lock, xe_bo_bump_lru_locked() requires the caller to hold the device LRU lock because the call chain:
xe_pagefault_handle_vma()
xe_bo_bump_lru_locked()
ttm_bo_move_to_lru_tail()
ttm_resource_move_to_lru_tail()asserts lockdep_assert_held(&bo->bdev->lru_lock) and mutates the shared LRU lists via list_move_tail(). Without acquiring vm->xe->ttm.lru_lock, servicing a GPU page fault on a BO-backed VMA will trigger a lockdep warning and race with concurrent TTM LRU operations.
Quoted 4 lines
drivers/gpu/drm/xe/xe_shrinker.c +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_shrinker.c static int __xe_shrinker_walk(struct xe_shrinker *shrinker, · line 154
Quoted 13 lines
drivers/gpu/drm/xe/xe_shrinker.c +9
-0@@ -139,6 +143,16 @@ static int __xe_shrinker_walk(struct xe_shrinker *shrinker,if (!ttm_bo_shrink_suitable (ttm_bo, ctx))continue ; +/* +* Each LRU priority is roughly age ordered, so the +* rest of this priority is most likely young too. +* Move on to the next priority. +*/ +if (xe_bo_shrink_too_young (ttm_bo, min_age)) { +ttm_bo_lru_cursor_skip_priority (&curs); +continue ; + }
[Severity: Medium]
Should the xe_bo_shrink_too_young() check in __xe_shrinker_walk() happen before ttm_bo_shrink_suitable(), or otherwise not depend on ctx->no_wait_gpu?
In xe_shrinker_walk(), the first pass (and the only pass during direct reclaim when ttm_bo_shrink_avoid_wait() is true) forces ctx->no_wait_gpu to true:
swap(no_wait_gpu, ctx->no_wait_gpu);
save_flags.writeback = false;
ret = __xe_shrinker_walk(shrinker, ctx, save_flags, min_age,
to_scan, scanned, freed);
swap(no_wait_gpu, ctx->no_wait_gpu);When ctx->no_wait_gpu is true, ttm_bo_shrink_suitable() returns false for any BO with unsignaled GPU fences:
bool ttm_bo_shrink_suitable(struct ttm_buffer_object *bo,
struct ttm_operation_ctx *ctx)
{
return bo->ttm && ttm_tt_is_populated(bo->ttm) && !bo->pin_count &&
(!ctx->no_wait_gpu ||
dma_resv_test_signaled(bo->base.resv,
DMA_RESV_USAGE_BOOKKEEP));
}Because BOs that were recently moved into TT or bumped by an exec are likely to still have active GPU fences, they will fail ttm_bo_shrink_suitable() and hit continue before reaching xe_bo_shrink_too_young(). Won't that prevent ttm_bo_lru_cursor_skip_priority(&curs) from triggering and cause __xe_shrinker_walk() to walk every busy young BO in the priority list without advancing *scanned?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
Patchwork
CI✗ Xe.CI.BAT: failure for Add a minimum age gate to the shrinker + LRU fixes (rev2)
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: Add a minimum age gate to the shrinker + LRU fixes (rev2)
URL : https://patchwork.freedesktop.org/series/176975/
State : failure
== Summary ==
CI Bug Log - changes from xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4_BAT -> xe-pw-176975v2_BAT
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-176975v2_BAT absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-176975v2_BAT, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-176975v2_BAT:
### IGT changes ###
#### Possible regressions ####
* igt@xe_exec_fault_mode@invalid-va:
- bat-bmg-2: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-bmg-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-bmg-2/igt@[email protected]
- bat-bmg-1: [PASS][3] -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-bmg-1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-bmg-1/igt@[email protected]
- bat-nvls-1: [PASS][5] -> [ABORT][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-nvls-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-nvls-1/igt@[email protected]
- bat-lnl-2: [PASS][7] -> [ABORT][8]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-lnl-2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-lnl-2/igt@[email protected]
- bat-nvls-2: [PASS][9] -> [ABORT][10]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-nvls-2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-nvls-2/igt@[email protected]
- bat-wcl-1: [PASS][11] -> [ABORT][12]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-wcl-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-wcl-1/igt@[email protected]
- bat-ptl-1: [PASS][13] -> [ABORT][14]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-ptl-1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-ptl-1/igt@[email protected]
- bat-ptl-vm: [PASS][15] -> [ABORT][16]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-ptl-vm/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-ptl-vm/igt@[email protected]
- bat-wcl-2: [PASS][17] -> [ABORT][18]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-wcl-2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-wcl-2/igt@[email protected]
- bat-lnl-1: [PASS][19] -> [ABORT][20]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-lnl-1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-lnl-1/igt@[email protected]
- bat-bmg-vm: [PASS][21] -> [ABORT][22]
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-bmg-vm/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-bmg-vm/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-xgpu-access-basic:
- bat-bmg-3: [PASS][23] -> [ABORT][24]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-bmg-3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-bmg-3/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-176975v2_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_create@create-execqueues-noleak:
- bat-ptl-2: NOTRUN -> [ABORT][25] ([Intel XE#9362])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-ptl-2/igt@[email protected]
#### Possible fixes ####
* igt@xe_compute_preempt@compute-threadgroup-preempt:
- bat-ptl-2: [ABORT][26] ([Intel XE#9362]) -> [PASS][27] +1 other test pass
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4/bat-ptl-2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/bat-ptl-2/igt@[email protected]
[Intel XE#9362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9362
Build changes
-------------
* Linux: xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4 -> xe-pw-176975v2
IGT_9168: 9168
xe-6016-5e5b89446954adf0d9b74ba4228862403f71eec4: 5e5b89446954adf0d9b74ba4228862403f71eec4
xe-pw-176975v2: 176975v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-176975v2/index.html
Re: [PATCH v5 1/3] drm/xe: Bump the LRU on a successful page fault
In reply to Matthew BrostQuoted 11 lines · Matthew Brost
Servicing a page fault validates the VMA's backing store and binds it,
making the BO part of the VM's active working set, but unlike exec it never moves anything on the TTM LRU. In fault mode, where a VM may run
for a long time without a single exec, the BOs the GPU actually touches
therefore drift towards the LRU head and are picked by eviction and by
the shrinker ahead of genuinely cold BOs.
Quoted 5 lines
Bump the BO's LRU on a successful page fault.
Fixes dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for IntelGPUs")
Signed-off-by Matthew Brost <[email protected]>
Quoted 32 lines
---
drivers/gpu/drm/xe/xe_pagefault.c | 5 +++++1 file changed, 5 insertions(+)drivers/gpu/drm/xe/xe_pagefault.c +2
-0@@ -201,6 +201,8 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, xe_validation_ctx_init(&ctx, &vm->xe->val, &exec, (struct xe_val_flags) {}); drm_exec_until_all_locked(&exec) { +struct xe_bo *bo =xe_vma_bo (vma); +err = xe_pagefault_begin(&exec, vma, tile-
Quoted 1 line
mem.vram,
needs_vram== 1);drm_exec_retry_on_contention(&exec);drivers/gpu/drm/xe/xe_pagefault.c +3
-0@@ -221,6 +223,9 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, xe_pagefault_set_error(pf,XE_PAGEFAULT_ERROR_VMA_REBIND ); break; } + +if (bo) +ttm_bo_move_to_lru_tail (&bo->ttm); }
xe_validation_ctx_fini(&ctx);
} while (err ==-EAGAIN);