drm/xe:add page size allocation mode control and coverage
Subsystems (2)
v3 cover drm/xe:add page size allocation mode control and coverage
Some platforms support multiple page sizes for user BO allocations, including 4K, 64K, 2M, and 1G.
For validation and debug, it is useful to control the page size selection policy for user BOs so that specific allocation paths can be exercised deterministically. In particular, this makes it possible to force allocations into 2M-only, 1G-only, or mixed modes.
In mixed mode, allocations are distributed across the supported page sizes in a round-robin manner. For example, for four user BOs, the selected page sizes would be:
- BO1: 4K
- BO2: 64K
- BO3: 2M
- BO4: 1G
This series adds debug page-size allocation control for user BO in xe
This series includes:
- debug control state in xe_device
- a debugfs knob to select allocation mode
- add Kconfig option for debug page-size allocation control
- 1G BO alignment flag handling
- debug policy application at user BO create time
- propagation into VMA map flags
- PT bind support for selecting leaf level (4K/64K, 2M, 1G paths)
- add live Kunit coverage for BO page size allocation
The default path is unchanged when the debug control is not enabled.
v2
-- addressed v1 comments at
https://patchwork.freedesktop.org/series/169640/
v3
- refactor the design
- update patches based on review feedback
Nareshkumar Gollakoti (8):
drm/xe: add page size allocation control state to xe_device drm/xe/debugfs: add page-size allocation mode knob drm/xe: add Kconfig option for debug page-size allocation control drm/xe: add XE_BO_FLAG_NEEDS_1G for minimum page-size sizing drm/xe: apply debug page-size allocation policy to user BOs drm/xe/vm: propagate BO page-size requirements to VMA map flags drm/xe/pt: allow selecting the bind leaf PTE level drm/xe/tests: add live KUnit coverage for BO page-size allocation
modes
drivers/gpu/drm/xe/Kconfig.debug | 17 ++ drivers/gpu/drm/xe/tests/xe_bo.c | 234 ++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 2 + drivers/gpu/drm/xe/xe_bo.c | 91 +++++++- drivers/gpu/drm/xe/xe_bo.h | 1 + drivers/gpu/drm/xe/xe_debugfs.c | 61 +++++ drivers/gpu/drm/xe/xe_device.c | 9 + drivers/gpu/drm/xe/xe_device_types.h | 25 +++ drivers/gpu/drm/xe/xe_pt.c | 25 ++- drivers/gpu/drm/xe/xe_vm.c | 25 +++ 10 files changed, 486 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0
PATCH v3 1/8 drm/xe: add page size allocation control state to xe_device
Introduce xe_page_size_alloc_ctrl_mode and add page_size_alloc_ctrl state to struct xe_device along with mutex lock.
The new control supports forcing user BO allocations to 2M pages, forcing them to 1G pages, or using a mixed round-robin mode across 4K, 64K, 2M, and 1G page sizes. Track the current mixed-mode index in xe_device so allocation policy can be applied consistently.
v2
- make cur_index to atomic as update need in later patch to avoid race/concurency (sashiko)
v3
- reworded comments
- protect mode/index updates with a mutex for proper concurrency handling
--- drivers/gpu/drm/xe/xe_device.c | 9 +++++++++ drivers/gpu/drm/xe/xe_device_types.h | 25 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+)
drivers/gpu/drm/xe/xe_device.c +9 -0
@@ -923,6 +923,13 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg)xe_pm_runtime_put (xe); } +static void xe_debug_page_size_alloc_ctrl_init (struct xe_device *xe) +{ +mutex_init (&xe->page_size_alloc_ctrl.lock); + xe->page_size_alloc_ctrl.mode =XE_PAGE_SIZE_ALLOC_CTRL_MODE_NONE ; + xe->page_size_alloc_ctrl.cur_index =0 ; +} +int xe_device_probe (struct xe_device *xe) {struct xe_tile *tile;
@@ -1112,6 +1119,8 @@ int xe_device_probe(struct xe_device *xe)if (err) goto err_unregister_display; +xe_debug_page_size_alloc_ctrl_init (xe); +detect_preproduction_hw (xe); err =drmm_add_action_or_reset (&xe->drm, xe_device_wedged_fini, xe);
drivers/gpu/drm/xe/xe_device_types.h +25 -0
@@ -61,6 +61,21 @@ enum xe_wedged_mode { XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET = 2, }; +/** +* enum xe_page_size_alloc_ctrl_mode - User BO page-size allocation control modes +* @XE_PAGE_SIZE_ALLOC_CTRL_MODE_NONE: Use the normal allocation policy +* @XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2M: Force user BO allocations to 2M pages +* @XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1G: Force user BO allocations to 1G pages +* @XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED: Select page sizes in round-robin order +* (4K, 64K, 2M, 1G) +*/ +enum xe_page_size_alloc_ctrl_mode { +XE_PAGE_SIZE_ALLOC_CTRL_MODE_NONE =0 , +XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2M , +XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1G , +XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED +}; +#define XE_BO_INVALID_OFFSET LONG_MAX#define GRAPHICS_VER (xe) ((xe)->info.graphics_verx100 / 100)
@@ -474,6 +489,16 @@ struct xe_device {/** @late_bind: xe mei late bind interface */ struct xe_late_bind late_bind; +/** @page_size_alloc_ctrl: User BO page-size allocation debug control state */ +struct { +/** @mode: xe page size allocation control mode */ +enum xe_page_size_alloc_ctrl_mode mode; +/** @cur_index: Round-robin index used by mixed mode */ +u32 cur_index; +/** @lock: Protects @mode and @cur_index */ +struct mutex lock; + } page_size_alloc_ctrl; +/** @oa: oa observation subsystem */ struct xe_oa oa;
Signature · 1 line
2.43.0
PATCH v3 2/8 drm/xe/debugfs: add page-size allocation mode knob
In reply to Nareshkumar GollakotiExpose a debugfs control to override the page-size allocation mode used for user BOs.
The interface allows switching between the default allocation policy, forced 2M, forced 1G, and mixed allocation modes at runtime. This provides a simple way to validate behavior and debug page-size-dependent allocation flows.
The debugfs entry is built only when CONFIG_DRM_XE_DEBUG_PAGE_SIZE is enabled.
v2
- update changelog to match mutex-based cur_index handling
- reset cur_index when switching to mixed mode (sashiko)
v3
- add CONFIG guard for page-size allocation debugfs support (Himal)
- create debugfs entry under CONFIG_DRM_XE_DEBUG_PAGE_SIZE
--- drivers/gpu/drm/xe/xe_debugfs.c | 61 +++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+)
drivers/gpu/drm/xe/xe_debugfs.c +61 -0
@@ -564,6 +564,56 @@ static const struct file_operations disable_late_binding_fops = { .write = disable_late_binding_set, }; +#if IS_ENABLED (CONFIG_DRM_XE_DEBUG_PAGE_SIZE ) +static ssize_t page_size_alloc_mode_show (struct file *f,char __user *ubuf, +size_t size,loff_t *pos) +{ +struct xe_device *xe =file_inode (f)->i_private; +char buf[32 ]; +int len; + +mutex_lock (&xe->page_size_alloc_ctrl.lock); + + len =scnprintf (buf,sizeof (buf),"%u\n" , + xe->page_size_alloc_ctrl.mode); +mutex_unlock (&xe->page_size_alloc_ctrl.lock); + +return simple_read_from_buffer (ubuf, size, pos, buf, len); +} + +static ssize_t page_size_alloc_mode_set (struct file *f,const char __user *ubuf, +size_t size,loff_t *pos) +{ +struct xe_device *xe =file_inode (f)->i_private; +unsigned int val; +int ret; + + ret =kstrtouint_from_user (ubuf, size,0 , &val); +if (ret) +return ret; + +if (val >XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED ) +return -EINVAL ; + +mutex_lock (&xe->page_size_alloc_ctrl.lock); + +if (val ==XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED ) + xe->page_size_alloc_ctrl.cur_index =0 ; + + xe->page_size_alloc_ctrl.mode = (enum xe_page_size_alloc_ctrl_mode )val; + +mutex_unlock (&xe->page_size_alloc_ctrl.lock); + +return size; +} + +static const struct file_operations page_size_alloc_mode_fops = { + .owner =THIS_MODULE , + .read = page_size_alloc_mode_show, + .write = page_size_alloc_mode_set, +}; +#endif +void xe_debugfs_register (struct xe_device *xe) {struct ttm_device *bdev = &xe->ttm;
@@ -616,6 +666,17 @@ void xe_debugfs_register(struct xe_device *xe)debugfs_create_file ("disable_late_binding" ,0600 , root, xe, &disable_late_binding_fops); +#if IS_ENABLED (CONFIG_DRM_XE_DEBUG_PAGE_SIZE ) +/* +* Expose a debugfs knob to control user BO page-size allocation: +* 0 - default behavior +* 1 - force 2M page allocations +* 2 - force 1G page allocations +* 3 - mixed mode: select 4K, 64K, 2M, and 1G in round-robin order +*/ +debugfs_create_file ("page_size_alloc_mode" ,0600 , root, xe, + &page_size_alloc_mode_fops); +#endif /* * Don't expose page reclaim configuration file if not supported by the
Signature · 1 line
2.43.0
PATCH v3 3/8 drm/xe: add Kconfig option for debug page-size allocation control
In reply to Nareshkumar GollakotiAdd a Kconfig option to enable the debugfs interface used to control user BO page-size allocation policy for validation and development.
When enabled, the driver exposes a debugfs knob that can force 2M mode, force 1G mode, or select mixed round-robin page-size allocation behavior on platforms that support multiple page sizes.
This option is intended for debug/testing only and does not provide a stable userspace interface.
--- drivers/gpu/drm/xe/Kconfig.debug | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
drivers/gpu/drm/xe/Kconfig.debug +17 -0
@@ -86,6 +86,23 @@ config DRM_XE_KUNIT_TEST If in doubt, say "N". +config DRM_XE_DEBUG_PAGE_SIZE + bool "Enable user BO page-size allocation control (debug)" + depends on DRM_XE_DEBUG && DEBUG_FS + default n + help + Expose a debugfs knob to override the page-size allocation policy + (forced 2M, forced 1G, or mixed round-robin) used for user BOs on + platforms that support multiple page sizes. + + This is an unstable debugfs interface intended for validation and + development only. Its layout, contents and existence may change or + be removed at any time with no regression warranty. It has no + effect when disabled. + + Recommended for driver developers only. + If in doubt, say "N". + config DRM_XE_DEBUG_GUC bool "Enable extra GuC related debug options" depends on DRM_XE_DEBUG
Signature · 1 line
2.43.0
PATCH v3 4/8 drm/xe: add XE_BO_FLAG_NEEDS_1G for minimum page-size sizing
In reply to Nareshkumar GollakotiAdd XE_BO_FLAG_NEEDS_1G to mark BOs that require 1G minimum page-size sizing.
Update xe_bo_init_locked() to honor the new flag in the existing VRAM/stolen-memory minimum page-size sizing path. When XE_BO_FLAG_NEEDS_1G is set, the BO size is rounded up to 1G. Otherwise, the existing 2M and 64K sizing behavior is preserved.
If multiple minimum page-size flags are set, the largest requirement takes precedence: 1G over 2M over 64K.
v3
- commit message reworded
--- drivers/gpu/drm/xe/xe_bo.c | 12 ++++++++++-- drivers/gpu/drm/xe/xe_bo.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_bo.c +10 -2
@@ -2323,8 +2323,16 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,if (flags & (XE_BO_FLAG_VRAM_MASK |XE_BO_FLAG_STOLEN ) && !(flags &XE_BO_FLAG_IGNORE_MIN_PAGE_SIZE ) && ((xe->info.vram_flags &XE_VRAM_FLAGS_NEED64K ) || - (flags & (XE_BO_FLAG_NEEDS_64K |XE_BO_FLAG_NEEDS_2M )))) { -size_t align = flags &XE_BO_FLAG_NEEDS_2M ?SZ_2M :SZ_64K ; + (flags & (XE_BO_FLAG_NEEDS_64K |XE_BO_FLAG_NEEDS_2M | +XE_BO_FLAG_NEEDS_1G )))) { +size_t align; + +if (flags &XE_BO_FLAG_NEEDS_1G ) + align =SZ_1G ; +else if (flags &XE_BO_FLAG_NEEDS_2M ) + align =SZ_2M ; +else + align =SZ_64K ; aligned_size =ALIGN (size, align);if (type != ttm_bo_type_device)
drivers/gpu/drm/xe/xe_bo.h +1 -0
@@ -52,6 +52,7 @@#define XE_BO_FLAG_CPU_ADDR_MIRROR BIT(24)#define XE_BO_FLAG_FORCE_USER_VRAM BIT(25)#define XE_BO_FLAG_NO_COMPRESSION BIT(26) +#define XE_BO_FLAG_NEEDS_1G BIT(27)/* this one is trigger internally only */ #define XE_BO_FLAG_INTERNAL_TEST BIT(30)
Signature · 1 line
2.43.0
PATCH v3 5/8 drm/xe: apply debug page-size allocation policy to user BOs
In reply to Nareshkumar GollakotiApply the debug page-size allocation policy during user BO creation.
When page-size allocation control is enabled, override the user BO page-size selection flags based on the selected debug mode and round the requested size up to the corresponding granularity:
- 2M mode selects 2M handling
- 1G mode selects 1G handling
- mixed mode selects the page size from the current mixed-mode index
This is intended for internal debug and validation flows. When the control mode is left at the default setting, the normal user BO creation path is unchanged.
v2
- ensure debug page-size allocation does not affect the default path (sashiko)
- rework synchronization for concurrent access (sashiko)
- refactor commit message for readability
v3
- update user BO size alignment based on debug policy mode
- reword commit message
- ensure normal user flow is unchanged when debug policy is disabled
--- drivers/gpu/drm/xe/xe_bo.c | 79 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+)
drivers/gpu/drm/xe/xe_bo.c +79 -0
@@ -2612,6 +2612,83 @@ static struct xe_bo *xe_bo_create_novm(struct xe_device *xe, struct xe_tile *tilreturn ret ?ERR_PTR (ret) : bo; } +static u32 get_flag_from_cur_index_in_mixed_mode (struct xe_device *xe,size_t *align_size) +{ +static const u32 map[4 ] = { +0 ,//default mode 4K +XE_BO_FLAG_NEEDS_64K , +XE_BO_FLAG_NEEDS_2M , +XE_BO_FLAG_NEEDS_1G , + }; +u32 idx; + + idx = xe->page_size_alloc_ctrl.cur_index++ %ARRAY_SIZE (map); + +if (!map[idx]) +return 0 ; + +if (map[idx] ==XE_BO_FLAG_NEEDS_64K ) { + *align_size =ALIGN (*align_size,SZ_64K ); +return map[idx]; + } + +if (map[idx] ==XE_BO_FLAG_NEEDS_2M ) { + *align_size =ALIGN (*align_size,SZ_2M ); +return map[idx]; + } + +if (map[idx] ==XE_BO_FLAG_NEEDS_1G ) { + *align_size =ALIGN (*align_size,SZ_1G ); +return map[idx]; + } + +return 0 ; +} + +static void xe_bo_apply_debug_page_size_policy (struct xe_device *xe, +u32 *bo_flags, +size_t *size) +{ +enum xe_page_size_alloc_ctrl_mode mode; +u32 want =0 ; +size_t align_size = *size; + +mutex_lock (&xe->page_size_alloc_ctrl.lock); + + mode = xe->page_size_alloc_ctrl.mode; + +/* No action if default mode */ +if (!mode) { +mutex_unlock (&xe->page_size_alloc_ctrl.lock); +return ; + } + +if (mode ==XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2M ) { + want =XE_BO_FLAG_NEEDS_2M ; + align_size =ALIGN (align_size,SZ_2M ); + }else if (mode ==XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1G ) { + want =XE_BO_FLAG_NEEDS_1G ; + align_size =ALIGN (align_size,SZ_1G ); + }else if (mode ==XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED ) { + want =get_flag_from_cur_index_in_mixed_mode (xe, &align_size); + }else { +mutex_unlock (&xe->page_size_alloc_ctrl.lock); +return ; + } + +mutex_unlock (&xe->page_size_alloc_ctrl.lock); + + *bo_flags &= ~(XE_BO_FLAG_NEEDS_64K | +XE_BO_FLAG_NEEDS_2M | +XE_BO_FLAG_NEEDS_1G ); + *bo_flags |= want; +/* +* Apply the debug page-size policy by rounding the user BO size up to +* the selected granularity. +*/ + *size = align_size; +} +/** * xe_bo_create_user() - Create a user BO * @xe: The xe device.
@@ -2635,6 +2712,8 @@ struct xe_bo *xe_bo_create_user(struct xe_device *xe, flags |=XE_BO_FLAG_USER ; +xe_bo_apply_debug_page_size_policy (xe, &flags, &size); +if (vm || exec) {xe_assert (xe, exec); bo = __xe_bo_create_locked(xe, NULL, vm, size, 0, ~0ULL,
Signature · 1 line
2.43.0
PATCH v3 6/8 drm/xe/vm: propagate BO page-size requirements to VMA map flags
In reply to Nareshkumar GollakotiPropagate user BO page-size requirement flags into VM bind map operations.
When a user BO carries a page-size requirement flag, set the corresponding VMA PTE flag during bind-op construction. This covers 64K, 2M, and 1G page sizes and allows the debug page-size allocation policy selected at BO creation time to be reflected in page-table mapping behavior.
v3
- BO page-size requirement overrides prior map-state flags
- reword commit message
--- drivers/gpu/drm/xe/xe_vm.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
drivers/gpu/drm/xe/xe_vm.c +25 -0
@@ -2390,6 +2390,26 @@ static void xe_svm_prefetch_gpuva_ops_fini(struct drm_gpuva_ops *ops) } } +static void xe_vma_apply_debug_page_size_flag (struct xe_vm *vm, +struct xe_vma_op *op, +struct xe_bo *bo) +{ +if (!bo) +return ; + +if (!(bo->flags &XE_BO_FLAG_USER )) +return ; + + op->map.vma_flags &= ~(XE_VMA_PTE_64K |XE_VMA_PTE_2M |XE_VMA_PTE_1G ); + +if (bo->flags &XE_BO_FLAG_NEEDS_1G ) + op->map.vma_flags |=XE_VMA_PTE_1G ; +else if (bo->flags &XE_BO_FLAG_NEEDS_2M ) + op->map.vma_flags |=XE_VMA_PTE_2M ; +else if (bo->flags &XE_BO_FLAG_NEEDS_64K ) + op->map.vma_flags |=XE_VMA_PTE_64K ; +} +/* * Create operations list from IOCTL arguments, setup operations fields so parse * and commit steps are decoupled from IOCTL arguments. This step can fail.
@@ -2485,6 +2505,11 @@ vm_bind_ioctl_ops_create(struct xe_vm *vm, struct xe_vma_ops *vops, op->map.pat_index = pat_index; op->map.invalidate_on_bind =__xe_vm_needs_clear_scratch_pages (vm, flags); +/* +* Propagate debug BO page-size selection into the VMA mapping flags for +* user BO binds. +*/ +xe_vma_apply_debug_page_size_flag (vm, op, bo); }else if (__op->op ==DRM_GPUVA_OP_PREFETCH ) {struct xe_vma *vma =gpuva_to_vma (op->base.prefetch.va);struct xe_tile *tile;
Signature · 1 line
2.43.0
PATCH v3 7/8 drm/xe/pt: allow selecting the bind leaf PTE level
In reply to Nareshkumar GollakotiAdd a target_leaf_level field to the page-table bind walk and use it to control the level at which leaf entries are emitted.
By default, the bind walk emits level-0 leaf PTEs and relies on xe_pt_hugepte_possible() to select huge mappings when possible. Add an explicit target leaf level so the walk can stop earlier when the VMA requests a larger mapping size.
Use level 1 for 2M PDE mappings and level 2 for 1G PDP mappings, while keeping level 0 for normal mappings. The existing huge-page heuristic is preserved for the default level-0 path.
This allows the bind path to emit 2M and 1G leaf entries when requested by the VMA, while still validating alignment and size requirements.
v2
- avoid using max_level to control walk depth
- use target_leaf_level to preserve the normal walk behavior
- keep the default huge-page heuristic only for the level-0 path
- refine commit message
v3
- reword commit message
--- drivers/gpu/drm/xe/xe_pt.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pt.c +23 -2
@@ -302,6 +302,13 @@ struct xe_pt_stage_bind_walk {bool needs_64K;/** @clear_pt: clear page table entries during the bind walk */ bool clear_pt; +/** @target_leaf_level: Page-table level at which to emit leaf PTEs +* 0 for normal 4K/64K mappings, 1 for 2M huge pages, and 2 for 1G huge +* pages. The walk still traverses from the root down; this field tells +* xe_pt_stage_bind_entry() to treat the selected level as a leaf instead +* of descending further. +*/ +u32 target_leaf_level;/** * @vma: VMA being mapped */
@@ -531,8 +538,16 @@ xe_pt_stage_bind_entry(struct xe_ptw *parent, pgoff_t offset,int ret =0 ;u64 pte; -/* Is this a leaf entry ?*/ -if (level ==0 ||xe_pt_hugepte_possible (addr, next, level, xe_walk)) { +/* +* Is this a leaf entry? +* Always create a 4K leaf at level 0. For huge pages (level > 0), +* validate alignment and size with xe_pt_hugepte_possible() so +* inherited VMA page-size flags do not produce invalid PTEs. +*/ +if (level ==0 || ((level == xe_walk->target_leaf_level || + xe_walk->target_leaf_level ==0 ) && +xe_pt_hugepte_possible (addr, next, + level, xe_walk))) {struct xe_res_cursor *curs = xe_walk->curs;struct xe_bo *bo =xe_vma_bo (xe_walk->vma); bool is_null_or_purged = xe_vma_is_null(xe_walk->vma) ||
@@ -774,6 +789,12 @@ xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma,xe_svm_notifier_unlock (vm); } + xe_walk.target_leaf_level =0 ; +if (vma->gpuva.flags &XE_VMA_PTE_1G ) + xe_walk.target_leaf_level =2 ; +else if (vma->gpuva.flags &XE_VMA_PTE_2M ) + xe_walk.target_leaf_level =1 ; + xe_walk.needs_64K = (vm->flags &XE_VM_FLAG_64K );if (clear_pt) goto walk_pt;
Signature · 1 line
2.43.0
PATCH v3 8/8 drm/xe/tests: add live KUnit coverage for BO page-size allocation modes
In reply to Nareshkumar GollakotiAdd live KUnit coverage for the debug-controlled BO page-size allocation modes.
The new tests cover forced 2M mode, forced 1G mode, and mixed mode. They verify that user BO creation applies the expected NEEDS_* flags, that no unexpected page-size flags are added in the forced modes, that BO size is rounded as expected, and that page_alignment matches the selected leaf size.
The mixed-mode test does not assume a strict per-allocation rotation sequence, since the device-global mixed-mode index may be perturbed by concurrent BO creation on a live system. Instead, it validates that each allocation results in one valid mixed-mode page-size outcome.
Treat transient VRAM allocation failures as skipped test cases so the tests can run in varying live environments without producing false failures.
v3
- address review comments
- rework mixed-mode test to avoid assuming strict rotation order
- reword commit message
--- drivers/gpu/drm/xe/tests/xe_bo.c | 234 ++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 2 + 2 files changed, 236 insertions(+)
drivers/gpu/drm/xe/tests/xe_bo.c +234 -0
@@ -22,6 +22,225 @@#include "xe_pci.h" #include "xe_pm.h" +struct page_size_alloc_saved { +enum xe_page_size_alloc_ctrl_mode mode; +u32 cur_index; +}; + +/* Caller must hold xe->page_size_alloc_ctrl.lock. */ +static void page_size_alloc_save (struct xe_device *xe, +struct page_size_alloc_saved *s) +{ + s->mode = xe->page_size_alloc_ctrl.mode; + s->cur_index = xe->page_size_alloc_ctrl.cur_index; +} + +static void page_size_alloc_restore (struct xe_device *xe, +const struct page_size_alloc_saved *s) +{ +mutex_lock (&xe->page_size_alloc_ctrl.lock); + xe->page_size_alloc_ctrl.mode = s->mode; + xe->page_size_alloc_ctrl.cur_index = s->cur_index; +mutex_unlock (&xe->page_size_alloc_ctrl.lock); +} + +/* Map a NEEDS_* flag to the expected leaf size and request size. */ +struct leaf_info { +u64 leaf; +u64 alloc_size; +u32 flag; +const char *name; +}; + +static const struct leaf_info leaf_2m = { + .leaf =SZ_2M , + .alloc_size =SZ_2M -PAGE_SIZE , + .flag =XE_BO_FLAG_NEEDS_2M , + .name ="2M" , +}; + +static const struct leaf_info leaf_1g = { + .leaf =SZ_1G , + .alloc_size =SZ_1G -PAGE_SIZE , + .flag =XE_BO_FLAG_NEEDS_1G , + .name ="1G" , +}; + +static void run_only_leaf (struct kunit *test, +enum xe_page_size_alloc_ctrl_mode mode, +const struct leaf_info *li) +{ +struct xe_device *xe = test->priv; +struct page_size_alloc_saved saved; +struct xe_bo *bo; +struct ttm_buffer_object *ttm_bo; +u32 other_flags; + +if (!IS_ENABLED (CONFIG_DRM_XE_DEBUG_PAGE_SIZE )) { +kunit_skip (test,"CONFIG_DRM_XE_DEBUG_PAGE_SIZE not enabled" ); +return ; + } + +mutex_lock (&xe->page_size_alloc_ctrl.lock); +page_size_alloc_save (xe, &saved); + xe->page_size_alloc_ctrl.mode = mode; +mutex_unlock (&xe->page_size_alloc_ctrl.lock); + + bo =xe_bo_create_user (xe,NULL , li->alloc_size, +DRM_XE_GEM_CPU_CACHING_WC , +XE_BO_FLAG_VRAM0 ,NULL ); +if (IS_ERR (bo)) { +page_size_alloc_restore (xe, &saved); +if (PTR_ERR (bo) == -ENOSPC ) { +kunit_skip (test, +"no contiguous %s VRAM available right now" , + li->name); +return ; + } + +KUNIT_FAIL (test,"%s BO alloc failed: %pe" , li->name, bo); +return ; + } + + ttm_bo = &bo->ttm; + +/* 1) The mode added the right NEEDS_* flag. */ +KUNIT_EXPECT_TRUE_MSG (test, bo->flags & li->flag, +"%s: flag missing, flags=0x%x" , + li->name, bo->flags); + +/* 2) No other NEEDS_* flags accidentally tagged on. */ + other_flags = (XE_BO_FLAG_NEEDS_64K | +XE_BO_FLAG_NEEDS_2M | +XE_BO_FLAG_NEEDS_1G ) & ~li->flag; +KUNIT_EXPECT_FALSE_MSG (test, bo->flags & other_flags, +"%s: stray flags=0x%x" , + li->name, bo->flags); +/* 3) BO size was rounded up to the expected leaf size. */ +KUNIT_EXPECT_EQ_MSG (test,xe_bo_size (bo), li->leaf, +"%s: bo size=%llu expected=%llu" , + li->name, + (u64 )xe_bo_size (bo), + (u64 )li->leaf); +/* +* 4) Allocator honored the requested alignment. +* ttm_bo->page_alignment is stored in PAGE_SIZE units, so compare against +* the expected leaf size converted with >> PAGE_SHIFT. +*/ +KUNIT_EXPECT_EQ_MSG (test, ttm_bo->page_alignment, + li->leaf >>PAGE_SHIFT , +"%s: page_alignment=%u pages expected=%llu pages" , + li->name, ttm_bo->page_alignment, + (u64)(li->leaf >>PAGE_SHIFT )); + +xe_bo_put (bo); +page_size_alloc_restore (xe, &saved); +} + +static void xe_bo_page_size_alloc_only_2m (struct kunit *test) +{ +run_only_leaf (test,XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2M , &leaf_2m); +} + +static void xe_bo_page_size_alloc_only_1g (struct kunit *test) +{ +run_only_leaf (test,XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1G , &leaf_1g); +} + +static void xe_bo_page_size_alloc_mixed_bos (struct kunit *test) +{ +struct xe_device *xe = test->priv; +struct page_size_alloc_saved saved; +struct xe_bo *bo; +struct ttm_buffer_object *ttm_bo; +u32 all_flags =XE_BO_FLAG_NEEDS_64K |XE_BO_FLAG_NEEDS_2M | +XE_BO_FLAG_NEEDS_1G ; +u32 flags; +u64 expected_align; +int i; +const int n =4 ; + +if (!IS_ENABLED (CONFIG_DRM_XE_DEBUG_PAGE_SIZE )) { +kunit_skip (test,"CONFIG_DRM_XE_DEBUG_PAGE_SIZE not enabled" ); +return ; + } + +mutex_lock (&xe->page_size_alloc_ctrl.lock); +page_size_alloc_save (xe, &saved); + xe->page_size_alloc_ctrl.mode =XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED ; + xe->page_size_alloc_ctrl.cur_index =0 ; +mutex_unlock (&xe->page_size_alloc_ctrl.lock); + +for (i =0 ; i < n; i++) { +/* +* Request a size valid for any mixed-mode slot. Since cur_index is +* device-global and may be perturbed by concurrent allocations on +* a live system, do not assume this iteration will see a specific +* slot. +*/ + bo =xe_bo_create_user (xe,NULL ,SZ_1G , +DRM_XE_GEM_CPU_CACHING_WC , +XE_BO_FLAG_VRAM0 ,NULL ); +if (IS_ERR (bo)) { +int err =PTR_ERR (bo); + +page_size_alloc_restore (xe, &saved); +if (err == -ENOSPC ) { +kunit_skip (test, +"mixed mode BO allocation unavailable: %d" , + err); +return ; + } +KUNIT_FAIL (test,"iter=%d alloc failed: %pe" , i, bo); +return ; + } + + ttm_bo = &bo->ttm; + flags = bo->flags & all_flags; +/* +* Mixed mode may result in: +* 0-> default/4K +* XE_BO_FLAG_NEEDS_64K +* XE_BO_FLAG_NEEDS_2M +* XE_BO_FLAG_NEEDS_1G +* Any other combination is invalid. +*/ +if (flags ==0 ) { + expected_align =SZ_4K ; + }else if (flags ==XE_BO_FLAG_NEEDS_64K ) { + expected_align =SZ_64K ; + }else if (flags ==XE_BO_FLAG_NEEDS_2M ) { + expected_align =SZ_2M ; + }else if (flags ==XE_BO_FLAG_NEEDS_1G ) { + expected_align =SZ_1G ; + }else { +KUNIT_FAIL (test, +"iter=%d invalid mixed-mode flags: 0x%x" , + i, flags); +xe_bo_put (bo); +page_size_alloc_restore (xe, &saved); +return ; + } +/* +* BO size should remain valid for the selected mode. Since the +* request is SZ_1G, it should remain unchanged regardless of the +* selected page-size policy. +*/ +KUNIT_EXPECT_EQ_MSG (test,xe_bo_size (bo), (u64 )SZ_1G , +"iter=%d size=%llu expected=%llu" , + i, + (u64 )xe_bo_size (bo), + (u64 )SZ_1G ); +KUNIT_EXPECT_EQ_MSG (test, ttm_bo->page_alignment, + expected_align >>PAGE_SHIFT , +"iter=%d flags=0x%x page_alignment=%u pages expected=%llu pages" , + i, flags, ttm_bo->page_alignment, + (u64)(expected_align >>PAGE_SHIFT )); +xe_bo_put (bo); + } +page_size_alloc_restore (xe, &saved); +} +static int ccs_test_migrate (struct xe_tile *tile,struct xe_bo *bo,bool clear,u64 get_val,u64 assign_val,struct kunit *test,struct drm_exec *exec)
@@ -609,6 +828,21 @@ static struct kunit_case xe_bo_tests[] = { {} }; +static struct kunit_case xe_bo_page_size_alloc_cases[] = { +KUNIT_CASE_PARAM (xe_bo_page_size_alloc_only_2m, xe_pci_live_device_gen_param), +KUNIT_CASE_PARAM (xe_bo_page_size_alloc_only_1g, xe_pci_live_device_gen_param), +KUNIT_CASE_PARAM (xe_bo_page_size_alloc_mixed_bos, xe_pci_live_device_gen_param), + {} +}; + +VISIBLE_IF_KUNIT +struct kunit_suite xe_bo_page_size_alloc_suite = { + .name ="xe_bo_page_size_alloc" , + .test_cases = xe_bo_page_size_alloc_cases, + .init = xe_kunit_helper_xe_device_live_test_init, +}; +EXPORT_SYMBOL_IF_KUNIT (xe_bo_page_size_alloc_suite); +VISIBLE_IF_KUNIT struct kunit_suite xe_bo_test_suite = { .name ="xe_bo" ,
drivers/gpu/drm/xe/tests/xe_live_test_mod.c +2 -0
@@ -11,6 +11,7 @@ extern struct kunit_suite xe_dma_buf_test_suite;extern struct kunit_suite xe_migrate_test_suite;extern struct kunit_suite xe_mocs_test_suite;extern struct kunit_suite xe_guc_g2g_test_suite; +extern struct kunit_suite xe_bo_page_size_alloc_suite;kunit_test_suite (xe_bo_test_suite);kunit_test_suite (xe_bo_shrink_test_suite);
@@ -18,6 +19,7 @@ kunit_test_suite(xe_dma_buf_test_suite);kunit_test_suite (xe_migrate_test_suite);kunit_test_suite (xe_mocs_test_suite);kunit_test_suite (xe_guc_g2g_test_suite); +kunit_test_suite (xe_bo_page_size_alloc_suite);MODULE_AUTHOR ("Intel Corporation" );MODULE_LICENSE ("GPL" );
Signature · 1 line
2.43.0
Patchwork
CI✗ CI.checkpatch: warning for drm/xe:add page size allocation mode control and coverage
In reply to Nareshkumar Gollakoti== Series Details ==
== Series Details ==
Series: drm/xe:add page size allocation mode control and coverage
URL : https://patchwork.freedesktop.org/series/170246/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 04f61f787690b88efffa88cb196a7d1ce4f2ad8f
Author: Nareshkumar Gollakoti <[email protected]> Date: Sun Jul 12 16:45:17 2026 +0530
drm/xe/tests: add live KUnit coverage for BO page-size allocation modes
Add live KUnit coverage for the debug-controlled BO page-size allocation modes.
The new tests cover forced 2M mode, forced 1G mode, and mixed mode. They verify that user BO creation applies the expected NEEDS_* flags, that no unexpected page-size flags are added in the forced modes, that BO size is rounded as expected, and that page_alignment matches the selected leaf size.
The mixed-mode test does not assume a strict per-allocation rotation sequence, since the device-global mixed-mode index may be perturbed by concurrent BO creation on a live system. Instead, it validates that each allocation results in one valid mixed-mode page-size outcome.
Treat transient VRAM allocation failures as skipped test cases so the tests can run in varying live environments without producing false failures.
v3
- address review comments
- rework mixed-mode test to avoid assuming strict rotation order
- reword commit message
+ /mt/dim checkpatch ac29bfba6fb4cff9115a625be2ae449a884cb123 drm-intel ec2a58324872 drm/xe: add page size allocation control state to xe_device ee01688334ff drm/xe/debugfs: add page-size allocation mode knob f0e794e48ad3 drm/xe: add Kconfig option for debug page-size allocation control 7d5c52b51f4b drm/xe: add XE_BO_FLAG_NEEDS_1G for minimum page-size sizing f15c5b627836 drm/xe: apply debug page-size allocation policy to user BOs 7a46b98bb530 drm/xe/vm: propagate BO page-size requirements to VMA map flags 17bd42ff2744 drm/xe/pt: allow selecting the bind leaf PTE level 04f61f787690 drm/xe/tests: add live KUnit coverage for BO page-size allocation modes -:292: WARNING:AVOID_EXTERNS: externs should be avoided in .c files #292: FILE: drivers/gpu/drm/xe/tests/xe_live_test_mod.c:14:
+extern struct kunit_suite xe_bo_page_size_alloc_suite;
total: 0 errors, 1 warnings, 0 checks, 260 lines checked
Patchwork
CI✓ CI.KUnit: success for drm/xe:add page size allocation mode control and coverage
In reply to Nareshkumar Gollakoti== Series Details ==
== Series Details ==
Series: drm/xe:add page size allocation mode control and coverage
URL : https://patchwork.freedesktop.org/series/170246/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [11:21:03] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:21:07] 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 [11:21:39] Starting KUnit Kernel (1/1)... [11:21:39] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:21:39] ================== guc_buf (11 subtests) =================== [11:21:39] [PASSED] test_smallest [11:21:39] [PASSED] test_largest [11:21:39] [PASSED] test_granular [11:21:39] [PASSED] test_unique [11:21:39] [PASSED] test_overlap [11:21:39] [PASSED] test_reusable [11:21:39] [PASSED] test_too_big [11:21:39] [PASSED] test_flush [11:21:39] [PASSED] test_lookup [11:21:39] [PASSED] test_data [11:21:39] [PASSED] test_class [11:21:39] ===================== [PASSED] guc_buf ===================== [11:21:39] =================== guc_dbm (7 subtests) =================== [11:21:39] [PASSED] test_empty [11:21:39] [PASSED] test_default [11:21:39] ======================== test_size ======================== [11:21:39] [PASSED] 4 [11:21:39] [PASSED] 8 [11:21:39] [PASSED] 32 [11:21:39] [PASSED] 256 [11:21:39] ==================== [PASSED] test_size ==================== [11:21:39] ======================= test_reuse ======================== [11:21:39] [PASSED] 4 [11:21:39] [PASSED] 8 [11:21:39] [PASSED] 32 [11:21:39] [PASSED] 256 [11:21:39] =================== [PASSED] test_reuse ==================== [11:21:39] =================== test_range_overlap ==================== [11:21:39] [PASSED] 4 [11:21:39] [PASSED] 8 [11:21:39] [PASSED] 32 [11:21:39] [PASSED] 256 [11:21:39] =============== [PASSED] test_range_overlap ================ [11:21:39] =================== test_range_compact ==================== [11:21:39] [PASSED] 4 [11:21:39] [PASSED] 8 [11:21:39] [PASSED] 32 [11:21:39] [PASSED] 256 [11:21:39] =============== [PASSED] test_range_compact ================ [11:21:39] ==================== test_range_spare ===================== [11:21:39] [PASSED] 4 [11:21:39] [PASSED] 8 [11:21:39] [PASSED] 32 [11:21:39] [PASSED] 256 [11:21:39] ================ [PASSED] test_range_spare ================= [11:21:39] ===================== [PASSED] guc_dbm ===================== [11:21:39] =================== guc_idm (6 subtests) =================== [11:21:39] [PASSED] bad_init [11:21:39] [PASSED] no_init [11:21:39] [PASSED] init_fini [11:21:39] [PASSED] check_used [11:21:39] [PASSED] check_quota [11:21:39] [PASSED] check_all [11:21:39] ===================== [PASSED] guc_idm ===================== [11:21:39] =============== guc_klv_helpers (9 subtests) =============== [11:21:39] [PASSED] test_count [11:21:39] [PASSED] test_encode_u32 [11:21:39] [PASSED] test_encode_u64 [11:21:39] [PASSED] test_encode_string [11:21:39] [PASSED] test_encode_object_raw [11:21:39] [PASSED] test_encode_object_klv [11:21:39] [PASSED] test_encode_object_nested [11:21:39] [PASSED] test_encode_object_basic [11:21:39] [PASSED] test_print [11:21:39] ================= [PASSED] guc_klv_helpers ================= [11:21:39] ================== no_relay (3 subtests) =================== [11:21:39] [PASSED] xe_drops_guc2pf_if_not_ready [11:21:39] [PASSED] xe_drops_guc2vf_if_not_ready [11:21:39] [PASSED] xe_rejects_send_if_not_ready [11:21:39] ==================== [PASSED] no_relay ===================== [11:21:39] ================== pf_relay (14 subtests) ================== [11:21:39] [PASSED] pf_rejects_guc2pf_too_short [11:21:39] [PASSED] pf_rejects_guc2pf_too_long [11:21:39] [PASSED] pf_rejects_guc2pf_no_payload [11:21:39] [PASSED] pf_fails_no_payload [11:21:39] [PASSED] pf_fails_bad_origin [11:21:39] [PASSED] pf_fails_bad_type [11:21:39] [PASSED] pf_txn_reports_error [11:21:39] [PASSED] pf_txn_sends_pf2guc [11:21:39] [PASSED] pf_sends_pf2guc [11:21:39] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:21:39] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:21:39] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:21:39] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:21:39] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:21:39] ==================== [PASSED] pf_relay ===================== [11:21:39] ================== vf_relay (3 subtests) =================== [11:21:39] [PASSED] vf_rejects_guc2vf_too_short [11:21:39] [PASSED] vf_rejects_guc2vf_too_long [11:21:39] [PASSED] vf_rejects_guc2vf_no_payload [11:21:39] ==================== [PASSED] vf_relay ===================== [11:21:39] ================ pf_gt_config (9 subtests) ================= [11:21:39] [PASSED] fair_contexts_1vf [11:21:39] [PASSED] fair_doorbells_1vf [11:21:39] [PASSED] fair_ggtt_1vf [11:21:39] ====================== fair_vram_1vf ====================== [11:21:39] [PASSED] 3.50 GiB [11:21:39] [PASSED] 11.5 GiB [11:21:39] [PASSED] 15.5 GiB [11:21:39] [PASSED] 31.5 GiB [11:21:39] [PASSED] 63.5 GiB [11:21:39] [PASSED] 1.91 GiB [11:21:39] ================== [PASSED] fair_vram_1vf ================== [11:21:39] ================ fair_vram_1vf_admin_only ================= [11:21:39] [PASSED] 3.50 GiB [11:21:39] [PASSED] 11.5 GiB [11:21:39] [PASSED] 15.5 GiB [11:21:39] [PASSED] 31.5 GiB [11:21:39] [PASSED] 63.5 GiB [11:21:39] [PASSED] 1.91 GiB [11:21:39] ============ [PASSED] fair_vram_1vf_admin_only ============= [11:21:39] ====================== fair_contexts ====================== [11:21:39] [PASSED] 1 VF [11:21:39] [PASSED] 2 VFs [11:21:39] [PASSED] 3 VFs [11:21:39] [PASSED] 4 VFs [11:21:39] [PASSED] 5 VFs [11:21:39] [PASSED] 6 VFs [11:21:39] [PASSED] 7 VFs [11:21:39] [PASSED] 8 VFs [11:21:39] [PASSED] 9 VFs [11:21:39] [PASSED] 10 VFs [11:21:39] [PASSED] 11 VFs [11:21:39] [PASSED] 12 VFs [11:21:39] [PASSED] 13 VFs [11:21:39] [PASSED] 14 VFs [11:21:39] [PASSED] 15 VFs [11:21:39] [PASSED] 16 VFs [11:21:39] [PASSED] 17 VFs [11:21:39] [PASSED] 18 VFs [11:21:39] [PASSED] 19 VFs [11:21:39] [PASSED] 20 VFs [11:21:39] [PASSED] 21 VFs [11:21:39] [PASSED] 22 VFs [11:21:39] [PASSED] 23 VFs [11:21:39] [PASSED] 24 VFs [11:21:39] [PASSED] 25 VFs [11:21:39] [PASSED] 26 VFs [11:21:39] [PASSED] 27 VFs [11:21:39] [PASSED] 28 VFs [11:21:39] [PASSED] 29 VFs [11:21:39] [PASSED] 30 VFs [11:21:39] [PASSED] 31 VFs [11:21:39] [PASSED] 32 VFs [11:21:39] [PASSED] 33 VFs [11:21:40] [PASSED] 34 VFs [11:21:40] [PASSED] 35 VFs [11:21:40] [PASSED] 36 VFs [11:21:40] [PASSED] 37 VFs [11:21:40] [PASSED] 38 VFs [11:21:40] [PASSED] 39 VFs [11:21:40] [PASSED] 40 VFs [11:21:40] [PASSED] 41 VFs [11:21:40] [PASSED] 42 VFs [11:21:40] [PASSED] 43 VFs [11:21:40] [PASSED] 44 VFs [11:21:40] [PASSED] 45 VFs [11:21:40] [PASSED] 46 VFs [11:21:40] [PASSED] 47 VFs [11:21:40] [PASSED] 48 VFs [11:21:40] [PASSED] 49 VFs [11:21:40] [PASSED] 50 VFs [11:21:40] [PASSED] 51 VFs [11:21:40] [PASSED] 52 VFs [11:21:40] [PASSED] 53 VFs [11:21:40] [PASSED] 54 VFs [11:21:40] [PASSED] 55 VFs [11:21:40] [PASSED] 56 VFs [11:21:40] [PASSED] 57 VFs [11:21:40] [PASSED] 58 VFs [11:21:40] [PASSED] 59 VFs [11:21:40] [PASSED] 60 VFs [11:21:40] [PASSED] 61 VFs [11:21:40] [PASSED] 62 VFs [11:21:40] [PASSED] 63 VFs [11:21:40] ================== [PASSED] fair_contexts ================== [11:21:40] ===================== fair_doorbells ====================== [11:21:40] [PASSED] 1 VF [11:21:40] [PASSED] 2 VFs [11:21:40] [PASSED] 3 VFs [11:21:40] [PASSED] 4 VFs [11:21:40] [PASSED] 5 VFs [11:21:40] [PASSED] 6 VFs [11:21:40] [PASSED] 7 VFs [11:21:40] [PASSED] 8 VFs [11:21:40] [PASSED] 9 VFs [11:21:40] [PASSED] 10 VFs [11:21:40] [PASSED] 11 VFs [11:21:40] [PASSED] 12 VFs [11:21:40] [PASSED] 13 VFs [11:21:40] [PASSED] 14 VFs [11:21:40] [PASSED] 15 VFs [11:21:40] [PASSED] 16 VFs [11:21:40] [PASSED] 17 VFs [11:21:40] [PASSED] 18 VFs [11:21:40] [PASSED] 19 VFs [11:21:40] [PASSED] 20 VFs [11:21:40] [PASSED] 21 VFs [11:21:40] [PASSED] 22 VFs [11:21:40] [PASSED] 23 VFs [11:21:40] [PASSED] 24 VFs [11:21:40] [PASSED] 25 VFs [11:21:40] [PASSED] 26 VFs [11:21:40] [PASSED] 27 VFs [11:21:40] [PASSED] 28 VFs [11:21:40] [PASSED] 29 VFs [11:21:40] [PASSED] 30 VFs [11:21:40] [PASSED] 31 VFs [11:21:40] [PASSED] 32 VFs [11:21:40] [PASSED] 33 VFs [11:21:40] [PASSED] 34 VFs [11:21:40] [PASSED] 35 VFs [11:21:40] [PASSED] 36 VFs [11:21:40] [PASSED] 37 VFs [11:21:40] [PASSED] 38 VFs [11:21:40] [PASSED] 39 VFs [11:21:40] [PASSED] 40 VFs [11:21:40] [PASSED] 41 VFs [11:21:40] [PASSED] 42 VFs [11:21:40] [PASSED] 43 VFs [11:21:40] [PASSED] 44 VFs [11:21:40] [PASSED] 45 VFs [11:21:40] [PASSED] 46 VFs [11:21:40] [PASSED] 47 VFs [11:21:40] [PASSED] 48 VFs [11:21:40] [PASSED] 49 VFs [11:21:40] [PASSED] 50 VFs [11:21:40] [PASSED] 51 VFs [11:21:40] [PASSED] 52 VFs [11:21:40] [PASSED] 53 VFs [11:21:40] [PASSED] 54 VFs [11:21:40] [PASSED] 55 VFs [11:21:40] [PASSED] 56 VFs [11:21:40] [PASSED] 57 VFs [11:21:40] [PASSED] 58 VFs [11:21:40] [PASSED] 59 VFs [11:21:40] [PASSED] 60 VFs [11:21:40] [PASSED] 61 VFs [11:21:40] [PASSED] 62 VFs [11:21:40] [PASSED] 63 VFs [11:21:40] ================= [PASSED] fair_doorbells ================== [11:21:40] ======================== fair_ggtt ======================== [11:21:40] [PASSED] 1 VF [11:21:40] [PASSED] 2 VFs [11:21:40] [PASSED] 3 VFs [11:21:40] [PASSED] 4 VFs [11:21:40] [PASSED] 5 VFs [11:21:40] [PASSED] 6 VFs [11:21:40] [PASSED] 7 VFs [11:21:40] [PASSED] 8 VFs [11:21:40] [PASSED] 9 VFs [11:21:40] [PASSED] 10 VFs [11:21:40] [PASSED] 11 VFs [11:21:40] [PASSED] 12 VFs [11:21:40] [PASSED] 13 VFs [11:21:40] [PASSED] 14 VFs [11:21:40] [PASSED] 15 VFs [11:21:40] [PASSED] 16 VFs [11:21:40] [PASSED] 17 VFs [11:21:40] [PASSED] 18 VFs [11:21:40] [PASSED] 19 VFs [11:21:40] [PASSED] 20 VFs [11:21:40] [PASSED] 21 VFs [11:21:40] [PASSED] 22 VFs [11:21:40] [PASSED] 23 VFs [11:21:40] [PASSED] 24 VFs [11:21:40] [PASSED] 25 VFs [11:21:40] [PASSED] 26 VFs [11:21:40] [PASSED] 27 VFs [11:21:40] [PASSED] 28 VFs [11:21:40] [PASSED] 29 VFs [11:21:40] [PASSED] 30 VFs [11:21:40] [PASSED] 31 VFs [11:21:40] [PASSED] 32 VFs [11:21:40] [PASSED] 33 VFs [11:21:40] [PASSED] 34 VFs [11:21:40] [PASSED] 35 VFs [11:21:40] [PASSED] 36 VFs [11:21:40] [PASSED] 37 VFs [11:21:40] [PASSED] 38 VFs [11:21:40] [PASSED] 39 VFs [11:21:40] [PASSED] 40 VFs [11:21:40] [PASSED] 41 VFs [11:21:40] [PASSED] 42 VFs [11:21:40] [PASSED] 43 VFs [11:21:40] [PASSED] 44 VFs [11:21:40] [PASSED] 45 VFs [11:21:40] [PASSED] 46 VFs [11:21:40] [PASSED] 47 VFs [11:21:40] [PASSED] 48 VFs [11:21:40] [PASSED] 49 VFs [11:21:40] [PASSED] 50 VFs [11:21:40] [PASSED] 51 VFs [11:21:40] [PASSED] 52 VFs [11:21:40] [PASSED] 53 VFs [11:21:40] [PASSED] 54 VFs [11:21:40] [PASSED] 55 VFs [11:21:40] [PASSED] 56 VFs [11:21:40] [PASSED] 57 VFs [11:21:40] [PASSED] 58 VFs [11:21:40] [PASSED] 59 VFs [11:21:40] [PASSED] 60 VFs [11:21:40] [PASSED] 61 VFs [11:21:40] [PASSED] 62 VFs [11:21:40] [PASSED] 63 VFs [11:21:40] ==================== [PASSED] fair_ggtt ==================== [11:21:40] ======================== fair_vram ======================== [11:21:40] [PASSED] 1 VF [11:21:40] [PASSED] 2 VFs [11:21:40] [PASSED] 3 VFs [11:21:40] [PASSED] 4 VFs [11:21:40] [PASSED] 5 VFs [11:21:40] [PASSED] 6 VFs [11:21:40] [PASSED] 7 VFs [11:21:40] [PASSED] 8 VFs [11:21:40] [PASSED] 9 VFs [11:21:40] [PASSED] 10 VFs [11:21:40] [PASSED] 11 VFs [11:21:40] [PASSED] 12 VFs [11:21:40] [PASSED] 13 VFs [11:21:40] [PASSED] 14 VFs [11:21:40] [PASSED] 15 VFs [11:21:40] [PASSED] 16 VFs [11:21:40] [PASSED] 17 VFs [11:21:40] [PASSED] 18 VFs [11:21:40] [PASSED] 19 VFs [11:21:40] [PASSED] 20 VFs [11:21:40] [PASSED] 21 VFs [11:21:40] [PASSED] 22 VFs [11:21:40] [PASSED] 23 VFs [11:21:40] [PASSED] 24 VFs [11:21:40] [PASSED] 25 VFs [11:21:40] [PASSED] 26 VFs [11:21:40] [PASSED] 27 VFs [11:21:40] [PASSED] 28 VFs [11:21:40] [PASSED] 29 VFs [11:21:40] [PASSED] 30 VFs [11:21:40] [PASSED] 31 VFs [11:21:40] [PASSED] 32 VFs [11:21:40] [PASSED] 33 VFs [11:21:40] [PASSED] 34 VFs [11:21:40] [PASSED] 35 VFs [11:21:40] [PASSED] 36 VFs [11:21:40] [PASSED] 37 VFs [11:21:40] [PASSED] 38 VFs [11:21:40] [PASSED] 39 VFs [11:21:40] [PASSED] 40 VFs [11:21:40] [PASSED] 41 VFs [11:21:40] [PASSED] 42 VFs [11:21:40] [PASSED] 43 VFs [11:21:40] [PASSED] 44 VFs [11:21:40] [PASSED] 45 VFs [11:21:40] [PASSED] 46 VFs [11:21:40] [PASSED] 47 VFs [11:21:40] [PASSED] 48 VFs [11:21:40] [PASSED] 49 VFs [11:21:40] [PASSED] 50 VFs [11:21:40] [PASSED] 51 VFs [11:21:40] [PASSED] 52 VFs [11:21:40] [PASSED] 53 VFs [11:21:40] [PASSED] 54 VFs [11:21:40] [PASSED] 55 VFs [11:21:40] [PASSED] 56 VFs [11:21:40] [PASSED] 57 VFs [11:21:40] [PASSED] 58 VFs [11:21:40] [PASSED] 59 VFs [11:21:40] [PASSED] 60 VFs [11:21:40] [PASSED] 61 VFs [11:21:40] [PASSED] 62 VFs [11:21:40] [PASSED] 63 VFs [11:21:40] ==================== [PASSED] fair_vram ==================== [11:21:40] ================== [PASSED] pf_gt_config =================== [11:21:40] ===================== lmtt (1 subtest) ===================== [11:21:40] ======================== test_ops ========================= [11:21:40] [PASSED] 2-level [11:21:40] [PASSED] multi-level [11:21:40] ==================== [PASSED] test_ops ===================== [11:21:40] ====================== [PASSED] lmtt ======================= [11:21:40] ================= sriov_packet (1 subtest) ================= [11:21:40] [PASSED] test_descriptor_init [11:21:40] ================== [PASSED] sriov_packet =================== [11:21:40] ================= pf_service (11 subtests) ================= [11:21:40] [PASSED] pf_negotiate_any [11:21:40] [PASSED] pf_negotiate_base_match [11:21:40] [PASSED] pf_negotiate_base_newer [11:21:40] [PASSED] pf_negotiate_base_next [11:21:40] [SKIPPED] pf_negotiate_base_older (no older minor) [11:21:40] [PASSED] pf_negotiate_base_prev [11:21:40] [PASSED] pf_negotiate_latest_match [11:21:40] [PASSED] pf_negotiate_latest_newer [11:21:40] [PASSED] pf_negotiate_latest_next [11:21:40] [SKIPPED] pf_negotiate_latest_older (no older minor) [11:21:40] [SKIPPED] pf_negotiate_latest_prev (no prev major) [11:21:40] =================== [PASSED] pf_service ==================== [11:21:40] ============ xe_bo_page_size_alloc (3 subtests) ============ [11:21:40] ============== xe_bo_page_size_alloc_only_2m ============== [11:21:40] ========= [SKIPPED] xe_bo_page_size_alloc_only_2m ========== [11:21:40] ============== xe_bo_page_size_alloc_only_1g ============== [11:21:40] ========= [SKIPPED] xe_bo_page_size_alloc_only_1g ========== [11:21:40] ============= xe_bo_page_size_alloc_mixed_bos ============= [11:21:40] ======== [SKIPPED] xe_bo_page_size_alloc_mixed_bos ========= [11:21:40] ============= [SKIPPED] xe_bo_page_size_alloc ============== [11:21:40] ================= xe_guc_g2g (2 subtests) ================== [11:21:40] ============== xe_live_guc_g2g_kunit_default ============== [11:21:40] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [11:21:40] ============== xe_live_guc_g2g_kunit_allmem =============== [11:21:40] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [11:21:40] =================== [SKIPPED] xe_guc_g2g =================== [11:21:40] =================== xe_mocs (2 subtests) =================== [11:21:40] ================ xe_live_mocs_kernel_kunit ================ [11:21:40] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [11:21:40] ================ xe_live_mocs_reset_kunit ================= [11:21:40] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [11:21:40] ==================== [SKIPPED] xe_mocs ===================== [11:21:40] ================= xe_migrate (2 subtests) ================== [11:21:40] ================= xe_migrate_sanity_kunit ================= [11:21:40] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [11:21:40] ================== xe_validate_ccs_kunit ================== [11:21:40] ============= [SKIPPED] xe_validate_ccs_kunit ============== [11:21:40] =================== [SKIPPED] xe_migrate =================== [11:21:40] ================== xe_dma_buf (1 subtest) ================== [11:21:40] ==================== xe_dma_buf_kunit ===================== [11:21:40] ================ [SKIPPED] xe_dma_buf_kunit ================ [11:21:40] =================== [SKIPPED] xe_dma_buf =================== [11:21:40] ================= xe_bo_shrink (1 subtest) ================= [11:21:40] =================== xe_bo_shrink_kunit ==================== [11:21:40] =============== [SKIPPED] xe_bo_shrink_kunit =============== [11:21:40] ================== [SKIPPED] xe_bo_shrink ================== [11:21:40] ==================== xe_bo (2 subtests) ==================== [11:21:40] ================== xe_ccs_migrate_kunit =================== [11:21:40] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [11:21:40] ==================== xe_bo_evict_kunit ==================== [11:21:40] =============== [SKIPPED] xe_bo_evict_kunit ================ [11:21:40] ===================== [SKIPPED] xe_bo ====================== [11:21:40] ==================== args (13 subtests) ==================== [11:21:40] [PASSED] count_args_test [11:21:40] [PASSED] call_args_example [11:21:40] [PASSED] call_args_test [11:21:40] [PASSED] drop_first_arg_example [11:21:40] [PASSED] drop_first_arg_test [11:21:40] [PASSED] first_arg_example [11:21:40] [PASSED] first_arg_test [11:21:40] [PASSED] last_arg_example [11:21:40] [PASSED] last_arg_test [11:21:40] [PASSED] pick_arg_example [11:21:40] [PASSED] if_args_example [11:21:40] [PASSED] if_args_test [11:21:40] [PASSED] sep_comma_example [11:21:40] ====================== [PASSED] args ======================= [11:21:40] =================== xe_pci (3 subtests) ==================== [11:21:40] ==================== check_graphics_ip ==================== [11:21:40] [PASSED] 12.00 Xe_LP [11:21:40] [PASSED] 12.10 Xe_LP+ [11:21:40] [PASSED] 12.55 Xe_HPG [11:21:40] [PASSED] 12.60 Xe_HPC [11:21:40] [PASSED] 12.70 Xe_LPG [11:21:40] [PASSED] 12.71 Xe_LPG [11:21:40] [PASSED] 12.74 Xe_LPG+ [11:21:40] [PASSED] 20.01 Xe2_HPG [11:21:40] [PASSED] 20.02 Xe2_HPG [11:21:40] [PASSED] 20.04 Xe2_LPG [11:21:40] [PASSED] 30.00 Xe3_LPG [11:21:40] [PASSED] 30.01 Xe3_LPG [11:21:40] [PASSED] 30.03 Xe3_LPG [11:21:40] [PASSED] 30.04 Xe3_LPG [11:21:40] [PASSED] 30.05 Xe3_LPG [11:21:40] [PASSED] 35.10 Xe3p_LPG [11:21:40] [PASSED] 35.11 Xe3p_XPC [11:21:40] ================ [PASSED] check_graphics_ip ================ [11:21:40] ===================== check_media_ip ====================== [11:21:40] [PASSED] 12.00 Xe_M [11:21:40] [PASSED] 12.55 Xe_HPM [11:21:40] [PASSED] 13.00 Xe_LPM+ [11:21:40] [PASSED] 13.01 Xe2_HPM [11:21:40] [PASSED] 20.00 Xe2_LPM [11:21:40] [PASSED] 30.00 Xe3_LPM [11:21:40] [PASSED] 30.02 Xe3_LPM [11:21:40] [PASSED] 35.00 Xe3p_LPM [11:21:40] [PASSED] 35.03 Xe3p_HPM [11:21:40] ================= [PASSED] check_media_ip ================== [11:21:40] =================== check_platform_desc =================== [11:21:40] [PASSED] 0x9A60 (TIGERLAKE) [11:21:40] [PASSED] 0x9A68 (TIGERLAKE) [11:21:40] [PASSED] 0x9A70 (TIGERLAKE) [11:21:40] [PASSED] 0x9A40 (TIGERLAKE) [11:21:40] [PASSED] 0x9A49 (TIGERLAKE) [11:21:40] [PASSED] 0x9A59 (TIGERLAKE) [11:21:40] [PASSED] 0x9A78 (TIGERLAKE) [11:21:40] [PASSED] 0x9AC0 (TIGERLAKE) [11:21:40] [PASSED] 0x9AC9 (TIGERLAKE) [11:21:40] [PASSED] 0x9AD9 (TIGERLAKE) [11:21:40] [PASSED] 0x9AF8 (TIGERLAKE) [11:21:40] [PASSED] 0x4C80 (ROCKETLAKE) [11:21:40] [PASSED] 0x4C8A (ROCKETLAKE) [11:21:40] [PASSED] 0x4C8B (ROCKETLAKE) [11:21:40] [PASSED] 0x4C8C (ROCKETLAKE) [11:21:40] [PASSED] 0x4C90 (ROCKETLAKE) [11:21:40] [PASSED] 0x4C9A (ROCKETLAKE) [11:21:40] [PASSED] 0x4680 (ALDERLAKE_S) [11:21:40] [PASSED] 0x4682 (ALDERLAKE_S) [11:21:40] [PASSED] 0x4688 (ALDERLAKE_S) [11:21:40] [PASSED] 0x468A (ALDERLAKE_S) [11:21:40] [PASSED] 0x468B (ALDERLAKE_S) [11:21:40] [PASSED] 0x4690 (ALDERLAKE_S) [11:21:40] [PASSED] 0x4692 (ALDERLAKE_S) [11:21:40] [PASSED] 0x4693 (ALDERLAKE_S) [11:21:40] [PASSED] 0x46A0 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46A1 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46A2 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46A3 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46A6 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46A8 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46AA (ALDERLAKE_P) [11:21:40] [PASSED] 0x462A (ALDERLAKE_P) [11:21:40] [PASSED] 0x4626 (ALDERLAKE_P) [11:21:40] [PASSED] 0x4628 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46B0 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46B1 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46B2 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46B3 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46C0 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46C1 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46C2 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46C3 (ALDERLAKE_P) [11:21:40] [PASSED] 0x46D0 (ALDERLAKE_N) [11:21:40] [PASSED] 0x46D1 (ALDERLAKE_N) [11:21:40] [PASSED] 0x46D2 (ALDERLAKE_N) [11:21:40] [PASSED] 0x46D3 (ALDERLAKE_N) [11:21:40] [PASSED] 0x46D4 (ALDERLAKE_N) [11:21:40] [PASSED] 0xA721 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7A1 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7A9 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7AC (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7AD (ALDERLAKE_P) [11:21:40] [PASSED] 0xA720 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7A0 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7A8 (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7AA (ALDERLAKE_P) [11:21:40] [PASSED] 0xA7AB (ALDERLAKE_P) [11:21:40] [PASSED] 0xA780 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA781 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA782 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA783 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA788 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA789 (ALDERLAKE_S) [11:21:40] [PASSED] 0xA78A (ALDERLAKE_S) [11:21:40] [PASSED] 0xA78B (ALDERLAKE_S) [11:21:40] [PASSED] 0x4905 (DG1) [11:21:40] [PASSED] 0x4906 (DG1) [11:21:40] [PASSED] 0x4907 (DG1) [11:21:40] [PASSED] 0x4908 (DG1) [11:21:40] [PASSED] 0x4909 (DG1) [11:21:40] [PASSED] 0x56C0 (DG2) [11:21:40] [PASSED] 0x56C2 (DG2) [11:21:40] [PASSED] 0x56C1 (DG2) [11:21:40] [PASSED] 0x7D51 (METEORLAKE) [11:21:40] [PASSED] 0x7DD1 (METEORLAKE) [11:21:40] [PASSED] 0x7D41 (METEORLAKE) [11:21:40] [PASSED] 0x7D67 (METEORLAKE) [11:21:40] [PASSED] 0xB640 (METEORLAKE) [11:21:40] [PASSED] 0x56A0 (DG2) [11:21:40] [PASSED] 0x56A1 (DG2) [11:21:40] [PASSED] 0x56A2 (DG2) [11:21:40] [PASSED] 0x56BE (DG2) [11:21:40] [PASSED] 0x56BF (DG2) [11:21:40] [PASSED] 0x5690 (DG2) [11:21:40] [PASSED] 0x5691 (DG2) [11:21:40] [PASSED] 0x5692 (DG2) [11:21:40] [PASSED] 0x56A5 (DG2) [11:21:40] [PASSED] 0x56A6 (DG2) [11:21:40] [PASSED] 0x56B0 (DG2) [11:21:40] [PASSED] 0x56B1 (DG2) [11:21:40] [PASSED] 0x56BA (DG2) [11:21:40] [PASSED] 0x56BB (DG2) [11:21:40] [PASSED] 0x56BC (DG2) [11:21:40] [PASSED] 0x56BD (DG2) [11:21:40] [PASSED] 0x5693 (DG2) [11:21:40] [PASSED] 0x5694 (DG2) [11:21:40] [PASSED] 0x5695 (DG2) [11:21:40] [PASSED] 0x56A3 (DG2) [11:21:40] [PASSED] 0x56A4 (DG2) [11:21:40] [PASSED] 0x56B2 (DG2) [11:21:40] [PASSED] 0x56B3 (DG2) [11:21:40] [PASSED] 0x5696 (DG2) [11:21:40] [PASSED] 0x5697 (DG2) [11:21:40] [PASSED] 0xB69 (PVC) [11:21:40] [PASSED] 0xB6E (PVC) [11:21:40] [PASSED] 0xBD4 (PVC) [11:21:40] [PASSED] 0xBD5 (PVC) [11:21:40] [PASSED] 0xBD6 (PVC) [11:21:40] [PASSED] 0xBD7 (PVC) [11:21:40] [PASSED] 0xBD8 (PVC) [11:21:40] [PASSED] 0xBD9 (PVC) [11:21:40] [PASSED] 0xBDA (PVC) [11:21:40] [PASSED] 0xBDB (PVC) [11:21:40] [PASSED] 0xBE0 (PVC) [11:21:40] [PASSED] 0xBE1 (PVC) [11:21:40] [PASSED] 0xBE5 (PVC) [11:21:40] [PASSED] 0x7D40 (METEORLAKE) [11:21:40] [PASSED] 0x7D45 (METEORLAKE) [11:21:40] [PASSED] 0x7D55 (METEORLAKE) [11:21:40] [PASSED] 0x7D60 (METEORLAKE) [11:21:40] [PASSED] 0x7DD5 (METEORLAKE) [11:21:40] [PASSED] 0x6420 (LUNARLAKE) [11:21:40] [PASSED] 0x64A0 (LUNARLAKE) [11:21:40] [PASSED] 0x64B0 (LUNARLAKE) [11:21:40] [PASSED] 0xE202 (BATTLEMAGE) [11:21:40] [PASSED] 0xE209 (BATTLEMAGE) [11:21:40] [PASSED] 0xE20B (BATTLEMAGE) [11:21:40] [PASSED] 0xE20C (BATTLEMAGE) [11:21:40] [PASSED] 0xE20D (BATTLEMAGE) [11:21:40] [PASSED] 0xE210 (BATTLEMAGE) [11:21:40] [PASSED] 0xE211 (BATTLEMAGE) [11:21:40] [PASSED] 0xE212 (BATTLEMAGE) [11:21:40] [PASSED] 0xE216 (BATTLEMAGE) [11:21:40] [PASSED] 0xE220 (BATTLEMAGE) [11:21:40] [PASSED] 0xE221 (BATTLEMAGE) [11:21:40] [PASSED] 0xE222 (BATTLEMAGE) [11:21:40] [PASSED] 0xE223 (BATTLEMAGE) [11:21:40] [PASSED] 0xB080 (PANTHERLAKE) [11:21:40] [PASSED] 0xB081 (PANTHERLAKE) [11:21:40] [PASSED] 0xB082 (PANTHERLAKE) [11:21:40] [PASSED] 0xB083 (PANTHERLAKE) [11:21:40] [PASSED] 0xB084 (PANTHERLAKE) [11:21:40] [PASSED] 0xB085 (PANTHERLAKE) [11:21:40] [PASSED] 0xB086 (PANTHERLAKE) [11:21:40] [PASSED] 0xB087 (PANTHERLAKE) [11:21:40] [PASSED] 0xB08F (PANTHERLAKE) [11:21:40] [PASSED] 0xB090 (PANTHERLAKE) [11:21:40] [PASSED] 0xB0A0 (PANTHERLAKE) [11:21:40] [PASSED] 0xB0B0 (PANTHERLAKE) [11:21:40] [PASSED] 0xFD80 (PANTHERLAKE) [11:21:40] [PASSED] 0xFD81 (PANTHERLAKE) [11:21:40] [PASSED] 0xD740 (NOVALAKE_S) [11:21:40] [PASSED] 0xD741 (NOVALAKE_S) [11:21:40] [PASSED] 0xD742 (NOVALAKE_S) [11:21:40] [PASSED] 0xD743 (NOVALAKE_S) [11:21:40] [PASSED] 0xD745 (NOVALAKE_S) [11:21:40] [PASSED] 0xD74A (NOVALAKE_S) [11:21:40] [PASSED] 0xD74B (NOVALAKE_S) [11:21:40] [PASSED] 0x674C (CRESCENTISLAND) [11:21:40] [PASSED] 0x674D (CRESCENTISLAND) [11:21:40] [PASSED] 0x674E (CRESCENTISLAND) [11:21:40] [PASSED] 0x674F (CRESCENTISLAND) [11:21:40] [PASSED] 0x6750 (CRESCENTISLAND) [11:21:40] [PASSED] 0xD750 (NOVALAKE_P) [11:21:40] [PASSED] 0xD751 (NOVALAKE_P) [11:21:40] [PASSED] 0xD752 (NOVALAKE_P) [11:21:40] [PASSED] 0xD753 (NOVALAKE_P) [11:21:40] [PASSED] 0xD754 (NOVALAKE_P) [11:21:40] [PASSED] 0xD755 (NOVALAKE_P) [11:21:40] [PASSED] 0xD756 (NOVALAKE_P) [11:21:40] [PASSED] 0xD757 (NOVALAKE_P) [11:21:40] [PASSED] 0xD75F (NOVALAKE_P) [11:21:40] =============== [PASSED] check_platform_desc =============== [11:21:40] ===================== [PASSED] xe_pci ====================== [11:21:40] ============= xe_rtp_tables_test (5 subtests) ============== [11:21:40] ================== xe_rtp_table_gt_test =================== [11:21:40] [PASSED] gt_was/14011060649 [11:21:40] [PASSED] gt_was/14011059788 [11:21:40] [PASSED] gt_was/14015795083 [11:21:40] [PASSED] gt_was/16021867713 [11:21:40] [PASSED] gt_was/14019449301 [11:21:40] [PASSED] gt_was/16028005424 [11:21:40] [PASSED] gt_was/14026578760 [11:21:40] [PASSED] gt_was/1409420604 [11:21:40] [PASSED] gt_was/1408615072 [11:21:40] [PASSED] gt_was/22010523718 [11:21:40] [PASSED] gt_was/14011006942 [11:21:40] [PASSED] gt_was/14014830051 [11:21:40] [PASSED] gt_was/18018781329 [11:21:40] [PASSED] gt_was/1509235366 [11:21:40] [PASSED] gt_was/18018781329 [11:21:40] [PASSED] gt_was/16016694945 [11:21:40] [PASSED] gt_was/14018575942 [11:21:40] [PASSED] gt_was/22016670082 [11:21:40] [PASSED] gt_was/22016670082 [11:21:40] [PASSED] gt_was/14017421178 [11:21:40] [PASSED] gt_was/16025250150 [11:21:40] [PASSED] gt_was/14021871409 [11:21:40] [PASSED] gt_was/16021865536 [11:21:40] [PASSED] gt_was/14021486841 [11:21:40] [PASSED] gt_was/14025160223 [11:21:40] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [11:21:40] [PASSED] gt_was/14025635424 [11:21:40] [PASSED] gt_was/16028005424 [11:21:40] ============== [PASSED] xe_rtp_table_gt_test =============== [11:21:40] ================== xe_rtp_table_gt_test =================== [11:21:40] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [11:21:40] [PASSED] gt_tunings/Tuning: 32B Access Enable [11:21:40] [PASSED] gt_tunings/Tuning: L3 cache [11:21:40] [PASSED] gt_tunings/Tuning: L3 cache - media [11:21:40] [PASSED] gt_tunings/Tuning: Compression Overfetch [11:21:40] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [11:21:40] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [11:21:40] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [11:21:40] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [11:21:40] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [11:21:40] [PASSED] gt_tunings/Tuning: Stateless compression control [11:21:40] [PASSED] gt_tunings/Tuning: Stateless compression control - media [11:21:40] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [11:21:40] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [11:21:40] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [11:21:40] ============== [PASSED] xe_rtp_table_gt_test =============== [11:21:40] ================== xe_rtp_table_oob_test ================== [11:21:40] [PASSED] oob_was/1607983814 [11:21:40] [PASSED] oob_was/16010904313 [11:21:40] [PASSED] oob_was/18022495364 [11:21:40] [PASSED] oob_was/22012773006 [11:21:40] [PASSED] oob_was/14014475959 [11:21:40] [PASSED] oob_was/22011391025 [11:21:40] [PASSED] oob_was/22012727170 [11:21:40] [PASSED] oob_was/22012727685 [11:21:40] [PASSED] oob_was/22016596838 [11:21:40] [PASSED] oob_was/18020744125 [11:21:40] [PASSED] oob_was/1409600907 [11:21:40] [PASSED] oob_was/22014953428 [11:21:40] [PASSED] oob_was/16017236439 [11:21:40] [PASSED] oob_was/14019821291 [11:21:40] [PASSED] oob_was/14015076503 [11:21:40] [PASSED] oob_was/14018913170 [11:21:40] [PASSED] oob_was/14018094691 [11:21:40] [PASSED] oob_was/18024947630 [11:21:40] [PASSED] oob_was/16022287689 [11:21:40] [PASSED] oob_was/13011645652 [11:21:40] [PASSED] oob_was/14022293748 [11:21:40] [PASSED] oob_was/22019794406 [11:21:40] [PASSED] oob_was/22019338487 [11:21:40] [PASSED] oob_was/16023588340 [11:21:40] [PASSED] oob_was/14019789679 [11:21:40] [PASSED] oob_was/14022866841 [11:21:40] [PASSED] oob_was/16021333562 [11:21:40] [PASSED] oob_was/14016712196 [11:21:40] [PASSED] oob_was/14015568240 [11:21:40] [PASSED] oob_was/18013179988 [11:21:40] [PASSED] oob_was/1508761755 [11:21:40] [PASSED] oob_was/16023105232 [11:21:40] [PASSED] oob_was/16026508708 [11:21:40] [PASSED] oob_was/14020001231 [11:21:40] [PASSED] oob_was/16023683509 [11:21:40] [PASSED] oob_was/14025515070 [11:21:40] [PASSED] oob_was/15015404425_disable [11:21:40] [PASSED] oob_was/16026007364 [11:21:40] [PASSED] oob_was/14020316580 [11:21:40] [PASSED] oob_was/14025883347 [11:21:40] [PASSED] oob_was/16029380221 [11:21:40] [PASSED] oob_was/22022079272 [11:21:40] [PASSED] oob_was/16029897822 [11:21:40] ============== [PASSED] xe_rtp_table_oob_test ============== [11:21:40] ================ xe_rtp_table_dev_oob_test ================ [11:21:40] [PASSED] device_oob_was/22010954014 [11:21:40] [PASSED] device_oob_was/15015404425 [11:21:40] [PASSED] device_oob_was/22019338487_display [11:21:40] [PASSED] device_oob_was/14022085890 [11:21:40] [PASSED] device_oob_was/14026539277 [11:21:40] [PASSED] device_oob_was/14026633728 [11:21:40] [PASSED] device_oob_was/14026746987 [11:21:40] [PASSED] device_oob_was/14026779378 [11:21:40] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [11:21:40] ========== xe_rtp_table_missing_upper_bound_test ========== [11:21:40] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [11:21:40] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [11:21:40] [PASSED] register_whitelist/1806527549 [11:21:40] [PASSED] register_whitelist/allow_read_ctx_timestamp [11:21:40] [PASSED] register_whitelist/allow_read_queue_timestamp [11:21:40] [PASSED] register_whitelist/16014440446 [11:21:40] [PASSED] register_whitelist/16017236439 [11:21:40] [PASSED] register_whitelist/16020183090 [11:21:40] [PASSED] register_whitelist/14024997852 [11:21:40] [PASSED] register_whitelist/14024997852 [11:21:40] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [11:21:40] =============== [PASSED] xe_rtp_tables_test ================ [11:21:40] =================== xe_rtp (3 subtests) ==================== [11:21:40] =================== xe_rtp_rules_tests ==================== [11:21:40] [PASSED] no [11:21:40] [PASSED] yes [11:21:40] [PASSED] no-and-no [11:21:40] [PASSED] no-and-yes [11:21:40] [PASSED] yes-and-no [11:21:40] [PASSED] yes-and-yes [11:21:40] [PASSED] no-or-no [11:21:40] [PASSED] no-or-yes [11:21:40] [PASSED] yes-or-no [11:21:40] [PASSED] yes-or-yes [11:21:40] [PASSED] no-yes-or-yes-no [11:21:40] [PASSED] no-yes-or-yes-yes [11:21:40] [PASSED] yes-yes-or-no-yes [11:21:40] [PASSED] yes-yes-or-yes-yes [11:21:40] [PASSED] no-no-or-yes-or-no [11:21:40] [PASSED] or [11:21:40] [PASSED] or-yes [11:21:40] [PASSED] or-no [11:21:40] [PASSED] yes-or [11:21:40] [PASSED] no-or [11:21:40] [PASSED] no-or-or-yes [11:21:40] [PASSED] yes-or-or-no [11:21:40] [PASSED] no-or-or-no [11:21:40] [PASSED] missing-context-engine-class [11:21:40] [PASSED] missing-context-engine-class-or-yes [11:21:40] [PASSED] missing-context-engine-class-or-or-yes [11:21:40] =============== [PASSED] xe_rtp_rules_tests ================ [11:21:40] =============== xe_rtp_process_to_sr_tests ================ [11:21:40] [PASSED] coalesce-same-reg [11:21:40] [PASSED] coalesce-same-reg-literal-and-func [11:21:40] [PASSED] no-match-no-add [11:21:40] [PASSED] two-regs-two-entries [11:21:40] [PASSED] clr-one-set-other [11:21:40] [PASSED] set-field [11:21:40] [PASSED] conflict-duplicate [11:21:40] [PASSED] conflict-not-disjoint [11:21:40] [PASSED] conflict-not-disjoint-literal-and-func [11:21:40] [PASSED] conflict-reg-type [11:21:40] [PASSED] bad-mcr-reg-forced-to-regular [11:21:40] [PASSED] bad-regular-reg-forced-to-mcr [11:21:40] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [11:21:40] ================== xe_rtp_process_tests =================== [11:21:40] [PASSED] active1 [11:21:40] [PASSED] active2 [11:21:40] [PASSED] active-inactive [11:21:40] [PASSED] inactive-active [11:21:40] [PASSED] inactive-active-inactive [11:21:40] [PASSED] inactive-inactive-inactive [11:21:40] ============== [PASSED] xe_rtp_process_tests =============== [11:21:40] ===================== [PASSED] xe_rtp ====================== [11:21:40] ==================== xe_wa (1 subtest) ===================== [11:21:40] ======================== xe_wa_gt ========================= [11:21:40] [PASSED] TIGERLAKE B0 [11:21:40] [PASSED] DG1 A0 [11:21:40] [PASSED] DG1 B0 [11:21:40] [PASSED] ALDERLAKE_S A0 [11:21:40] [PASSED] ALDERLAKE_S B0 [11:21:40] [PASSED] ALDERLAKE_S C0 [11:21:40] [PASSED] ALDERLAKE_S D0 [11:21:40] [PASSED] ALDERLAKE_P A0 [11:21:40] [PASSED] ALDERLAKE_P B0 [11:21:40] [PASSED] ALDERLAKE_P C0 [11:21:40] [PASSED] ALDERLAKE_S RPLS D0 [11:21:40] [PASSED] ALDERLAKE_P RPLU E0 [11:21:40] [PASSED] DG2 G10 C0 [11:21:40] [PASSED] DG2 G11 B1 [11:21:40] [PASSED] DG2 G12 A1 [11:21:40] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:21:40] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:21:40] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [11:21:40] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [11:21:40] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [11:21:40] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [11:21:40] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [11:21:40] ==================== [PASSED] xe_wa_gt ===================== [11:21:40] ====================== [PASSED] xe_wa ====================== [11:21:40] ============================================================ [11:21:40] Testing complete. Ran 744 tests: passed: 723, skipped: 21 [11:21:40] Elapsed time: 37.042s total, 4.472s configuring, 31.902s building, 0.647s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [11:21:40] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:21:42] 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 [11:22:07] Starting KUnit Kernel (1/1)... [11:22:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:22:07] ============ drm_test_pick_cmdline (2 subtests) ============ [11:22:07] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [11:22:07] =============== drm_test_pick_cmdline_named =============== [11:22:07] [PASSED] NTSC [11:22:07] [PASSED] NTSC-J [11:22:07] [PASSED] PAL [11:22:07] [PASSED] PAL-M [11:22:07] =========== [PASSED] drm_test_pick_cmdline_named =========== [11:22:07] ============== [PASSED] drm_test_pick_cmdline ============== [11:22:07] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [11:22:07] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [11:22:07] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [11:22:07] =========== drm_validate_clone_mode (2 subtests) =========== [11:22:07] ============== drm_test_check_in_clone_mode =============== [11:22:07] [PASSED] in_clone_mode [11:22:07] [PASSED] not_in_clone_mode [11:22:07] ========== [PASSED] drm_test_check_in_clone_mode =========== [11:22:07] =============== drm_test_check_valid_clones =============== [11:22:07] [PASSED] not_in_clone_mode [11:22:07] [PASSED] valid_clone [11:22:07] [PASSED] invalid_clone [11:22:07] =========== [PASSED] drm_test_check_valid_clones =========== [11:22:07] ============= [PASSED] drm_validate_clone_mode ============= [11:22:07] ============= drm_validate_modeset (1 subtest) ============= [11:22:07] [PASSED] drm_test_check_connector_changed_modeset [11:22:07] ============== [PASSED] drm_validate_modeset =============== [11:22:07] ====== drm_test_bridge_get_current_state (2 subtests) ====== [11:22:07] [PASSED] drm_test_drm_bridge_get_current_state_atomic [11:22:07] [PASSED] drm_test_drm_bridge_get_current_state_legacy [11:22:07] ======== [PASSED] drm_test_bridge_get_current_state ======== [11:22:07] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [11:22:07] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [11:22:07] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [11:22:07] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [11:22:07] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [11:22:07] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [11:22:07] ============== drm_bridge_alloc (2 subtests) =============== [11:22:07] [PASSED] drm_test_drm_bridge_alloc_basic [11:22:07] [PASSED] drm_test_drm_bridge_alloc_get_put [11:22:07] ================ [PASSED] drm_bridge_alloc ================= [11:22:07] ============= drm_bridge_bus_fmt (5 subtests) ============== [11:22:07] [PASSED] drm_test_bridge_rgb_yuv_rgb [11:22:07] [PASSED] drm_test_bridge_must_convert_to_yuv444 [11:22:07] [PASSED] drm_test_bridge_hdmi_auto_rgb [11:22:07] [PASSED] drm_test_bridge_auto_first [11:22:07] [PASSED] drm_test_bridge_rgb_yuv_no_path [11:22:07] =============== [PASSED] drm_bridge_bus_fmt ================ [11:22:07] ============= drm_cmdline_parser (40 subtests) ============= [11:22:07] [PASSED] drm_test_cmdline_force_d_only [11:22:07] [PASSED] drm_test_cmdline_force_D_only_dvi [11:22:07] [PASSED] drm_test_cmdline_force_D_only_hdmi [11:22:07] [PASSED] drm_test_cmdline_force_D_only_not_digital [11:22:07] [PASSED] drm_test_cmdline_force_e_only [11:22:07] [PASSED] drm_test_cmdline_res [11:22:07] [PASSED] drm_test_cmdline_res_vesa [11:22:07] [PASSED] drm_test_cmdline_res_vesa_rblank [11:22:07] [PASSED] drm_test_cmdline_res_rblank [11:22:07] [PASSED] drm_test_cmdline_res_bpp [11:22:07] [PASSED] drm_test_cmdline_res_refresh [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [11:22:07] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [11:22:07] [PASSED] drm_test_cmdline_res_margins_force_on [11:22:07] [PASSED] drm_test_cmdline_res_vesa_margins [11:22:07] [PASSED] drm_test_cmdline_name [11:22:07] [PASSED] drm_test_cmdline_name_bpp [11:22:07] [PASSED] drm_test_cmdline_name_option [11:22:07] [PASSED] drm_test_cmdline_name_bpp_option [11:22:07] [PASSED] drm_test_cmdline_rotate_0 [11:22:07] [PASSED] drm_test_cmdline_rotate_90 [11:22:07] [PASSED] drm_test_cmdline_rotate_180 [11:22:07] [PASSED] drm_test_cmdline_rotate_270 [11:22:07] [PASSED] drm_test_cmdline_hmirror [11:22:07] [PASSED] drm_test_cmdline_vmirror [11:22:07] [PASSED] drm_test_cmdline_margin_options [11:22:07] [PASSED] drm_test_cmdline_multiple_options [11:22:07] [PASSED] drm_test_cmdline_bpp_extra_and_option [11:22:07] [PASSED] drm_test_cmdline_extra_and_option [11:22:07] [PASSED] drm_test_cmdline_freestanding_options [11:22:07] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [11:22:07] [PASSED] drm_test_cmdline_panel_orientation [11:22:07] ================ drm_test_cmdline_invalid ================= [11:22:07] [PASSED] margin_only [11:22:07] [PASSED] interlace_only [11:22:07] [PASSED] res_missing_x [11:22:07] [PASSED] res_missing_y [11:22:07] [PASSED] res_bad_y [11:22:07] [PASSED] res_missing_y_bpp [11:22:07] [PASSED] res_bad_bpp [11:22:07] [PASSED] res_bad_refresh [11:22:07] [PASSED] res_bpp_refresh_force_on_off [11:22:07] [PASSED] res_invalid_mode [11:22:07] [PASSED] res_bpp_wrong_place_mode [11:22:07] [PASSED] name_bpp_refresh [11:22:07] [PASSED] name_refresh [11:22:07] [PASSED] name_refresh_wrong_mode [11:22:07] [PASSED] name_refresh_invalid_mode [11:22:07] [PASSED] rotate_multiple [11:22:07] [PASSED] rotate_invalid_val [11:22:07] [PASSED] rotate_truncated [11:22:07] [PASSED] invalid_option [11:22:07] [PASSED] invalid_tv_option [11:22:07] [PASSED] truncated_tv_option [11:22:07] ============ [PASSED] drm_test_cmdline_invalid ============= [11:22:07] =============== drm_test_cmdline_tv_options =============== [11:22:07] [PASSED] NTSC [11:22:07] [PASSED] NTSC_443 [11:22:07] [PASSED] NTSC_J [11:22:07] [PASSED] PAL [11:22:07] [PASSED] PAL_M [11:22:07] [PASSED] PAL_N [11:22:07] [PASSED] SECAM [11:22:07] [PASSED] MONO_525 [11:22:07] [PASSED] MONO_625 [11:22:07] =========== [PASSED] drm_test_cmdline_tv_options =========== [11:22:07] =============== [PASSED] drm_cmdline_parser ================ [11:22:07] ========== drmm_connector_hdmi_init (20 subtests) ========== [11:22:07] [PASSED] drm_test_connector_hdmi_init_valid [11:22:07] [PASSED] drm_test_connector_hdmi_init_bpc_8 [11:22:07] [PASSED] drm_test_connector_hdmi_init_bpc_10 [11:22:07] [PASSED] drm_test_connector_hdmi_init_bpc_12 [11:22:07] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [11:22:07] [PASSED] drm_test_connector_hdmi_init_bpc_null [11:22:07] [PASSED] drm_test_connector_hdmi_init_formats_empty [11:22:07] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [11:22:07] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:22:07] [PASSED] supported_formats=0x9 yuv420_allowed=1 [11:22:07] [PASSED] supported_formats=0x9 yuv420_allowed=0 [11:22:07] [PASSED] supported_formats=0x5 yuv420_allowed=1 [11:22:07] [PASSED] supported_formats=0x5 yuv420_allowed=0 [11:22:07] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:22:07] [PASSED] drm_test_connector_hdmi_init_null_ddc [11:22:07] [PASSED] drm_test_connector_hdmi_init_null_product [11:22:07] [PASSED] drm_test_connector_hdmi_init_null_vendor [11:22:07] [PASSED] drm_test_connector_hdmi_init_product_length_exact [11:22:07] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [11:22:07] [PASSED] drm_test_connector_hdmi_init_product_valid [11:22:07] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [11:22:07] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [11:22:07] [PASSED] drm_test_connector_hdmi_init_vendor_valid [11:22:07] ========= drm_test_connector_hdmi_init_type_valid ========= [11:22:07] [PASSED] HDMI-A [11:22:07] [PASSED] HDMI-B [11:22:07] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [11:22:07] ======== drm_test_connector_hdmi_init_type_invalid ======== [11:22:07] [PASSED] Unknown [11:22:07] [PASSED] VGA [11:22:07] [PASSED] DVI-I [11:22:07] [PASSED] DVI-D [11:22:07] [PASSED] DVI-A [11:22:07] [PASSED] Composite [11:22:07] [PASSED] SVIDEO [11:22:07] [PASSED] LVDS [11:22:07] [PASSED] Component [11:22:07] [PASSED] DIN [11:22:07] [PASSED] DP [11:22:07] [PASSED] TV [11:22:07] [PASSED] eDP [11:22:07] [PASSED] Virtual [11:22:07] [PASSED] DSI [11:22:07] [PASSED] DPI [11:22:07] [PASSED] Writeback [11:22:07] [PASSED] SPI [11:22:07] [PASSED] USB [11:22:07] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [11:22:07] ============ [PASSED] drmm_connector_hdmi_init ============= [11:22:07] ============= drmm_connector_init (3 subtests) ============= [11:22:07] [PASSED] drm_test_drmm_connector_init [11:22:07] [PASSED] drm_test_drmm_connector_init_null_ddc [11:22:07] ========= drm_test_drmm_connector_init_type_valid ========= [11:22:07] [PASSED] Unknown [11:22:07] [PASSED] VGA [11:22:07] [PASSED] DVI-I [11:22:07] [PASSED] DVI-D [11:22:07] [PASSED] DVI-A [11:22:07] [PASSED] Composite [11:22:07] [PASSED] SVIDEO [11:22:07] [PASSED] LVDS [11:22:07] [PASSED] Component [11:22:07] [PASSED] DIN [11:22:07] [PASSED] DP [11:22:07] [PASSED] HDMI-A [11:22:07] [PASSED] HDMI-B [11:22:07] [PASSED] TV [11:22:07] [PASSED] eDP [11:22:07] [PASSED] Virtual [11:22:07] [PASSED] DSI [11:22:07] [PASSED] DPI [11:22:07] [PASSED] Writeback [11:22:07] [PASSED] SPI [11:22:07] [PASSED] USB [11:22:07] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [11:22:07] =============== [PASSED] drmm_connector_init =============== [11:22:07] ========= drm_connector_dynamic_init (6 subtests) ========== [11:22:07] [PASSED] drm_test_drm_connector_dynamic_init [11:22:07] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [11:22:07] [PASSED] drm_test_drm_connector_dynamic_init_not_added [11:22:07] [PASSED] drm_test_drm_connector_dynamic_init_properties [11:22:07] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [11:22:07] [PASSED] Unknown [11:22:07] [PASSED] VGA [11:22:07] [PASSED] DVI-I [11:22:07] [PASSED] DVI-D [11:22:07] [PASSED] DVI-A [11:22:07] [PASSED] Composite [11:22:07] [PASSED] SVIDEO [11:22:07] [PASSED] LVDS [11:22:07] [PASSED] Component [11:22:07] [PASSED] DIN [11:22:07] [PASSED] DP [11:22:07] [PASSED] HDMI-A [11:22:07] [PASSED] HDMI-B [11:22:07] [PASSED] TV [11:22:07] [PASSED] eDP [11:22:07] [PASSED] Virtual [11:22:07] [PASSED] DSI [11:22:07] [PASSED] DPI [11:22:07] [PASSED] Writeback [11:22:07] [PASSED] SPI [11:22:07] [PASSED] USB [11:22:07] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [11:22:07] ======== drm_test_drm_connector_dynamic_init_name ========= [11:22:07] [PASSED] Unknown [11:22:07] [PASSED] VGA [11:22:07] [PASSED] DVI-I [11:22:07] [PASSED] DVI-D [11:22:07] [PASSED] DVI-A [11:22:07] [PASSED] Composite [11:22:07] [PASSED] SVIDEO [11:22:07] [PASSED] LVDS [11:22:07] [PASSED] Component [11:22:07] [PASSED] DIN [11:22:07] [PASSED] DP [11:22:07] [PASSED] HDMI-A [11:22:07] [PASSED] HDMI-B [11:22:07] [PASSED] TV [11:22:07] [PASSED] eDP [11:22:07] [PASSED] Virtual [11:22:07] [PASSED] DSI [11:22:07] [PASSED] DPI [11:22:07] [PASSED] Writeback [11:22:07] [PASSED] SPI [11:22:07] [PASSED] USB [11:22:07] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [11:22:07] =========== [PASSED] drm_connector_dynamic_init ============ [11:22:07] ==== drm_connector_dynamic_register_early (4 subtests) ===== [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [11:22:07] ====== [PASSED] drm_connector_dynamic_register_early ======= [11:22:07] ======= drm_connector_dynamic_register (7 subtests) ======== [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_on_list [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_no_init [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [11:22:07] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [11:22:07] ========= [PASSED] drm_connector_dynamic_register ========== [11:22:07] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [11:22:07] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [11:22:07] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [11:22:07] === [PASSED] drm_connector_attach_broadcast_rgb_property === [11:22:07] ========== drm_get_tv_mode_from_name (2 subtests) ========== [11:22:07] ========== drm_test_get_tv_mode_from_name_valid =========== [11:22:07] [PASSED] NTSC [11:22:07] [PASSED] NTSC-443 [11:22:07] [PASSED] NTSC-J [11:22:07] [PASSED] PAL [11:22:07] [PASSED] PAL-M [11:22:07] [PASSED] PAL-N [11:22:07] [PASSED] SECAM [11:22:07] [PASSED] Mono [11:22:07] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [11:22:07] [PASSED] drm_test_get_tv_mode_from_name_truncated [11:22:07] ============ [PASSED] drm_get_tv_mode_from_name ============ [11:22:07] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [11:22:07] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [11:22:07] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [11:22:07] [PASSED] VIC 96 [11:22:07] [PASSED] VIC 97 [11:22:07] [PASSED] VIC 101 [11:22:07] [PASSED] VIC 102 [11:22:07] [PASSED] VIC 106 [11:22:07] [PASSED] VIC 107 [11:22:07] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [11:22:07] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [11:22:07] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [11:22:07] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [11:22:07] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [11:22:07] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [11:22:07] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [11:22:07] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [11:22:07] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [11:22:07] [PASSED] Automatic [11:22:07] [PASSED] Full [11:22:07] [PASSED] Limited 16:235 [11:22:07] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [11:22:07] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [11:22:07] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [11:22:07] == drm_hdmi_connector_get_output_format_name (2 subtests) == [11:22:07] === drm_test_drm_hdmi_connector_get_output_format_name ==== [11:22:07] [PASSED] RGB [11:22:07] [PASSED] YUV 4:2:0 [11:22:07] [PASSED] YUV 4:2:2 [11:22:07] [PASSED] YUV 4:4:4 [11:22:07] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [11:22:07] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [11:22:07] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [11:22:07] ============= drm_damage_helper (21 subtests) ============== [11:22:07] [PASSED] drm_test_damage_iter_no_damage [11:22:07] [PASSED] drm_test_damage_iter_no_damage_fractional_src [11:22:07] [PASSED] drm_test_damage_iter_no_damage_src_moved [11:22:07] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [11:22:07] [PASSED] drm_test_damage_iter_no_damage_not_visible [11:22:07] [PASSED] drm_test_damage_iter_no_damage_no_crtc [11:22:07] [PASSED] drm_test_damage_iter_no_damage_no_fb [11:22:07] [PASSED] drm_test_damage_iter_simple_damage [11:22:07] [PASSED] drm_test_damage_iter_single_damage [11:22:07] [PASSED] drm_test_damage_iter_single_damage_intersect_src [11:22:07] [PASSED] drm_test_damage_iter_single_damage_outside_src [11:22:07] [PASSED] drm_test_damage_iter_single_damage_fractional_src [11:22:07] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [11:22:07] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [11:22:07] [PASSED] drm_test_damage_iter_single_damage_src_moved [11:22:07] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [11:22:07] [PASSED] drm_test_damage_iter_damage [11:22:07] [PASSED] drm_test_damage_iter_damage_one_intersect [11:22:07] [PASSED] drm_test_damage_iter_damage_one_outside [11:22:07] [PASSED] drm_test_damage_iter_damage_src_moved [11:22:07] [PASSED] drm_test_damage_iter_damage_not_visible [11:22:07] ================ [PASSED] drm_damage_helper ================ [11:22:07] ============== drm_dp_mst_helper (3 subtests) ============== [11:22:07] ============== drm_test_dp_mst_calc_pbn_mode ============== [11:22:07] [PASSED] Clock 154000 BPP 30 DSC disabled [11:22:07] [PASSED] Clock 234000 BPP 30 DSC disabled [11:22:07] [PASSED] Clock 297000 BPP 24 DSC disabled [11:22:07] [PASSED] Clock 332880 BPP 24 DSC enabled [11:22:07] [PASSED] Clock 324540 BPP 24 DSC enabled [11:22:07] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [11:22:07] ============== drm_test_dp_mst_calc_pbn_div =============== [11:22:07] [PASSED] Link rate 2000000 lane count 4 [11:22:07] [PASSED] Link rate 2000000 lane count 2 [11:22:07] [PASSED] Link rate 2000000 lane count 1 [11:22:07] [PASSED] Link rate 1350000 lane count 4 [11:22:07] [PASSED] Link rate 1350000 lane count 2 [11:22:07] [PASSED] Link rate 1350000 lane count 1 [11:22:07] [PASSED] Link rate 1000000 lane count 4 [11:22:07] [PASSED] Link rate 1000000 lane count 2 [11:22:07] [PASSED] Link rate 1000000 lane count 1 [11:22:07] [PASSED] Link rate 810000 lane count 4 [11:22:07] [PASSED] Link rate 810000 lane count 2 [11:22:07] [PASSED] Link rate 810000 lane count 1 [11:22:07] [PASSED] Link rate 540000 lane count 4 [11:22:07] [PASSED] Link rate 540000 lane count 2 [11:22:07] [PASSED] Link rate 540000 lane count 1 [11:22:07] [PASSED] Link rate 270000 lane count 4 [11:22:07] [PASSED] Link rate 270000 lane count 2 [11:22:07] [PASSED] Link rate 270000 lane count 1 [11:22:07] [PASSED] Link rate 162000 lane count 4 [11:22:07] [PASSED] Link rate 162000 lane count 2 [11:22:07] [PASSED] Link rate 162000 lane count 1 [11:22:07] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [11:22:07] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [11:22:07] [PASSED] DP_ENUM_PATH_RESOURCES with port number [11:22:07] [PASSED] DP_POWER_UP_PHY with port number [11:22:07] [PASSED] DP_POWER_DOWN_PHY with port number [11:22:07] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [11:22:07] [PASSED] DP_ALLOCATE_PAYLOAD with port number [11:22:07] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [11:22:07] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [11:22:07] [PASSED] DP_QUERY_PAYLOAD with port number [11:22:07] [PASSED] DP_QUERY_PAYLOAD with VCPI [11:22:07] [PASSED] DP_REMOTE_DPCD_READ with port number [11:22:07] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [11:22:07] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [11:22:07] [PASSED] DP_REMOTE_DPCD_WRITE with port number [11:22:07] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [11:22:07] [PASSED] DP_REMOTE_DPCD_WRITE with data array [11:22:07] [PASSED] DP_REMOTE_I2C_READ with port number [11:22:07] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [11:22:07] [PASSED] DP_REMOTE_I2C_READ with transactions array [11:22:07] [PASSED] DP_REMOTE_I2C_WRITE with port number [11:22:07] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [11:22:07] [PASSED] DP_REMOTE_I2C_WRITE with data array [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [11:22:07] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [11:22:07] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [11:22:07] ================ [PASSED] drm_dp_mst_helper ================ [11:22:07] ================== drm_exec (7 subtests) =================== [11:22:07] [PASSED] sanitycheck [11:22:07] [PASSED] test_lock [11:22:07] [PASSED] test_lock_unlock [11:22:07] [PASSED] test_duplicates [11:22:07] [PASSED] test_prepare [11:22:07] [PASSED] test_prepare_array [11:22:07] [PASSED] test_multiple_loops [11:22:07] ==================== [PASSED] drm_exec ===================== [11:22:07] =========== drm_format_helper_test (17 subtests) =========== [11:22:07] ============== drm_test_fb_xrgb8888_to_gray8 ============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [11:22:07] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [11:22:07] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [11:22:07] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [11:22:07] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [11:22:07] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [11:22:07] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [11:22:07] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [11:22:07] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [11:22:07] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [11:22:07] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [11:22:07] ============== drm_test_fb_xrgb8888_to_mono =============== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [11:22:07] ==================== drm_test_fb_swab ===================== [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ================ [PASSED] drm_test_fb_swab ================= [11:22:07] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [11:22:07] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [11:22:07] [PASSED] single_pixel_source_buffer [11:22:07] [PASSED] single_pixel_clip_rectangle [11:22:07] [PASSED] well_known_colors [11:22:07] [PASSED] destination_pitch [11:22:07] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [11:22:07] ================= drm_test_fb_clip_offset ================= [11:22:07] [PASSED] pass through [11:22:07] [PASSED] horizontal offset [11:22:07] [PASSED] vertical offset [11:22:07] [PASSED] horizontal and vertical offset [11:22:07] [PASSED] horizontal offset (custom pitch) [11:22:07] [PASSED] vertical offset (custom pitch) [11:22:07] [PASSED] horizontal and vertical offset (custom pitch) [11:22:07] ============= [PASSED] drm_test_fb_clip_offset ============= [11:22:07] =================== drm_test_fb_memcpy ==================== [11:22:07] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [11:22:07] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [11:22:07] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [11:22:07] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [11:22:07] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [11:22:07] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [11:22:07] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [11:22:07] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [11:22:07] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [11:22:07] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [11:22:07] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [11:22:07] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [11:22:07] =============== [PASSED] drm_test_fb_memcpy ================ [11:22:07] ============= [PASSED] drm_format_helper_test ============== [11:22:07] ================= drm_format (18 subtests) ================= [11:22:07] [PASSED] drm_test_format_block_width_invalid [11:22:07] [PASSED] drm_test_format_block_width_one_plane [11:22:07] [PASSED] drm_test_format_block_width_two_plane [11:22:07] [PASSED] drm_test_format_block_width_three_plane [11:22:07] [PASSED] drm_test_format_block_width_tiled [11:22:07] [PASSED] drm_test_format_block_height_invalid [11:22:07] [PASSED] drm_test_format_block_height_one_plane [11:22:07] [PASSED] drm_test_format_block_height_two_plane [11:22:07] [PASSED] drm_test_format_block_height_three_plane [11:22:07] [PASSED] drm_test_format_block_height_tiled [11:22:07] [PASSED] drm_test_format_min_pitch_invalid [11:22:07] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [11:22:07] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [11:22:07] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [11:22:07] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [11:22:07] [PASSED] drm_test_format_min_pitch_two_plane [11:22:07] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [11:22:07] [PASSED] drm_test_format_min_pitch_tiled [11:22:07] =================== [PASSED] drm_format ==================== [11:22:07] ============== drm_framebuffer (10 subtests) =============== [11:22:07] ========== drm_test_framebuffer_check_src_coords ========== [11:22:07] [PASSED] Success: source fits into fb [11:22:07] [PASSED] Fail: overflowing fb with x-axis coordinate [11:22:07] [PASSED] Fail: overflowing fb with y-axis coordinate [11:22:07] [PASSED] Fail: overflowing fb with source width [11:22:07] [PASSED] Fail: overflowing fb with source height [11:22:07] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [11:22:07] [PASSED] drm_test_framebuffer_cleanup [11:22:07] =============== drm_test_framebuffer_create =============== [11:22:07] [PASSED] ABGR8888 normal sizes [11:22:07] [PASSED] ABGR8888 max sizes [11:22:07] [PASSED] ABGR8888 pitch greater than min required [11:22:07] [PASSED] ABGR8888 pitch less than min required [11:22:07] [PASSED] ABGR8888 Invalid width [11:22:07] [PASSED] ABGR8888 Invalid buffer handle [11:22:07] [PASSED] No pixel format [11:22:07] [PASSED] ABGR8888 Width 0 [11:22:07] [PASSED] ABGR8888 Height 0 [11:22:07] [PASSED] ABGR8888 Out of bound height * pitch combination [11:22:07] [PASSED] ABGR8888 Large buffer offset [11:22:07] [PASSED] ABGR8888 Buffer offset for inexistent plane [11:22:07] [PASSED] ABGR8888 Invalid flag [11:22:07] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [11:22:07] [PASSED] ABGR8888 Valid buffer modifier [11:22:07] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [11:22:07] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] NV12 Normal sizes [11:22:07] [PASSED] NV12 Max sizes [11:22:07] [PASSED] NV12 Invalid pitch [11:22:07] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [11:22:07] [PASSED] NV12 different modifier per-plane [11:22:07] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [11:22:07] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] NV12 Modifier for inexistent plane [11:22:07] [PASSED] NV12 Handle for inexistent plane [11:22:07] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [11:22:07] [PASSED] YVU420 Normal sizes [11:22:07] [PASSED] YVU420 Max sizes [11:22:07] [PASSED] YVU420 Invalid pitch [11:22:07] [PASSED] YVU420 Different pitches [11:22:07] [PASSED] YVU420 Different buffer offsets/pitches [11:22:07] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [11:22:07] [PASSED] YVU420 Valid modifier [11:22:07] [PASSED] YVU420 Different modifiers per plane [11:22:07] [PASSED] YVU420 Modifier for inexistent plane [11:22:07] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [11:22:07] [PASSED] X0L2 Normal sizes [11:22:07] [PASSED] X0L2 Max sizes [11:22:07] [PASSED] X0L2 Invalid pitch [11:22:07] [PASSED] X0L2 Pitch greater than minimum required [11:22:07] [PASSED] X0L2 Handle for inexistent plane [11:22:07] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [11:22:07] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [11:22:07] [PASSED] X0L2 Valid modifier [11:22:07] [PASSED] X0L2 Modifier for inexistent plane [11:22:07] =========== [PASSED] drm_test_framebuffer_create =========== [11:22:07] [PASSED] drm_test_framebuffer_free [11:22:07] [PASSED] drm_test_framebuffer_init [11:22:07] [PASSED] drm_test_framebuffer_init_bad_format [11:22:07] [PASSED] drm_test_framebuffer_init_dev_mismatch [11:22:07] [PASSED] drm_test_framebuffer_lookup [11:22:07] [PASSED] drm_test_framebuffer_lookup_inexistent [11:22:07] [PASSED] drm_test_framebuffer_modifiers_not_supported [11:22:07] ================= [PASSED] drm_framebuffer ================= [11:22:07] ================ drm_gem_shmem (8 subtests) ================ [11:22:07] [PASSED] drm_gem_shmem_test_obj_create [11:22:07] [PASSED] drm_gem_shmem_test_obj_create_private [11:22:07] [PASSED] drm_gem_shmem_test_pin_pages [11:22:07] [PASSED] drm_gem_shmem_test_vmap [11:22:07] [PASSED] drm_gem_shmem_test_get_sg_table [11:22:07] [PASSED] drm_gem_shmem_test_get_pages_sgt [11:22:07] [PASSED] drm_gem_shmem_test_madvise [11:22:07] [PASSED] drm_gem_shmem_test_purge [11:22:07] ================== [PASSED] drm_gem_shmem ================== [11:22:07] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [11:22:07] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [11:22:07] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [11:22:07] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [11:22:07] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [11:22:07] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [11:22:07] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [11:22:07] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [11:22:07] [PASSED] Automatic [11:22:07] [PASSED] Full [11:22:07] [PASSED] Limited 16:235 [11:22:07] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [11:22:07] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [11:22:07] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [11:22:07] [PASSED] drm_test_check_disable_connector [11:22:07] [PASSED] drm_test_check_hdmi_funcs_reject_rate [11:22:07] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [11:22:07] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [11:22:07] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [11:22:07] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [11:22:07] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [11:22:07] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [11:22:07] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [11:22:07] [PASSED] drm_test_check_output_bpc_dvi [11:22:07] [PASSED] drm_test_check_output_bpc_format_vic_1 [11:22:07] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [11:22:07] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [11:22:07] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [11:22:07] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [11:22:07] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [11:22:07] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [11:22:07] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [11:22:07] ============ drm_test_check_hdmi_color_format ============= [11:22:07] [PASSED] AUTO -> RGB [11:22:07] [PASSED] YCBCR422 -> YUV422 [11:22:07] [PASSED] YCBCR420 -> YUV420 [11:22:07] [PASSED] YCBCR444 -> YUV444 [11:22:07] [PASSED] RGB -> RGB [11:22:07] ======== [PASSED] drm_test_check_hdmi_color_format ========= [11:22:07] ======== drm_test_check_hdmi_color_format_420_only ======== [11:22:07] [PASSED] RGB should fail [11:22:07] [PASSED] YUV444 should fail [11:22:07] [PASSED] YUV422 should fail [11:22:07] [PASSED] YUV420 should work [11:22:07] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [11:22:07] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [11:22:07] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [11:22:07] [PASSED] drm_test_check_broadcast_rgb_value [11:22:07] [PASSED] drm_test_check_bpc_8_value [11:22:07] [PASSED] drm_test_check_bpc_10_value [11:22:07] [PASSED] drm_test_check_bpc_12_value [11:22:07] [PASSED] drm_test_check_format_value [11:22:07] [PASSED] drm_test_check_tmds_char_value [11:22:07] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [11:22:07] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [11:22:07] [PASSED] drm_test_check_mode_valid [11:22:07] [PASSED] drm_test_check_mode_valid_reject [11:22:07] [PASSED] drm_test_check_mode_valid_reject_rate [11:22:07] [PASSED] drm_test_check_mode_valid_reject_max_clock [11:22:07] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [11:22:07] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [11:22:07] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [11:22:07] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [11:22:07] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [11:22:07] [PASSED] drm_test_check_infoframes [11:22:07] [PASSED] drm_test_check_reject_avi_infoframe [11:22:07] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [11:22:07] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [11:22:07] [PASSED] drm_test_check_reject_audio_infoframe [11:22:07] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [11:22:07] ================= drm_managed (2 subtests) ================= [11:22:07] [PASSED] drm_test_managed_release_action [11:22:07] [PASSED] drm_test_managed_run_action [11:22:07] =================== [PASSED] drm_managed =================== [11:22:07] =================== drm_mm (6 subtests) ==================== [11:22:07] [PASSED] drm_test_mm_init [11:22:07] [PASSED] drm_test_mm_debug [11:22:07] [PASSED] drm_test_mm_align32 [11:22:07] [PASSED] drm_test_mm_align64 [11:22:07] [PASSED] drm_test_mm_lowest [11:22:07] [PASSED] drm_test_mm_highest [11:22:07] ===================== [PASSED] drm_mm ====================== [11:22:07] ============= drm_modes_analog_tv (5 subtests) ============= [11:22:07] [PASSED] drm_test_modes_analog_tv_mono_576i [11:22:07] [PASSED] drm_test_modes_analog_tv_ntsc_480i [11:22:07] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [11:22:07] [PASSED] drm_test_modes_analog_tv_pal_576i [11:22:07] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [11:22:07] =============== [PASSED] drm_modes_analog_tv =============== [11:22:07] ============== drm_plane_helper (2 subtests) =============== [11:22:07] =============== drm_test_check_plane_state ================ [11:22:07] [PASSED] clipping_simple [11:22:07] [PASSED] clipping_rotate_reflect [11:22:07] [PASSED] positioning_simple [11:22:07] [PASSED] upscaling [11:22:07] [PASSED] downscaling [11:22:07] [PASSED] rounding1 [11:22:07] [PASSED] rounding2 [11:22:07] [PASSED] rounding3 [11:22:07] [PASSED] rounding4 [11:22:07] =========== [PASSED] drm_test_check_plane_state ============ [11:22:07] =========== drm_test_check_invalid_plane_state ============ [11:22:07] [PASSED] positioning_invalid [11:22:07] [PASSED] upscaling_invalid [11:22:07] [PASSED] downscaling_invalid [11:22:07] ======= [PASSED] drm_test_check_invalid_plane_state ======== [11:22:07] ================ [PASSED] drm_plane_helper ================= [11:22:07] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [11:22:07] ====== drm_test_connector_helper_tv_get_modes_check ======= [11:22:07] [PASSED] None [11:22:07] [PASSED] PAL [11:22:07] [PASSED] NTSC [11:22:07] [PASSED] Both, NTSC Default [11:22:07] [PASSED] Both, PAL Default [11:22:07] [PASSED] Both, NTSC Default, with PAL on command-line [11:22:07] [PASSED] Both, PAL Default, with NTSC on command-line [11:22:07] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [11:22:07] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [11:22:07] ================== drm_rect (9 subtests) =================== [11:22:07] [PASSED] drm_test_rect_clip_scaled_div_by_zero [11:22:07] [PASSED] drm_test_rect_clip_scaled_not_clipped [11:22:07] [PASSED] drm_test_rect_clip_scaled_clipped [11:22:07] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [11:22:07] ================= drm_test_rect_intersect ================= [11:22:07] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [11:22:07] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [11:22:07] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [11:22:07] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [11:22:07] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [11:22:07] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [11:22:07] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [11:22:07] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [11:22:07] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [11:22:07] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [11:22:07] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [11:22:07] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [11:22:07] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [11:22:07] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [11:22:07] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [11:22:07] ============= [PASSED] drm_test_rect_intersect ============= [11:22:07] ================ drm_test_rect_calc_hscale ================ [11:22:07] [PASSED] normal use [11:22:07] [PASSED] out of max range [11:22:07] [PASSED] out of min range [11:22:07] [PASSED] zero dst [11:22:07] [PASSED] negative src [11:22:07] [PASSED] negative dst [11:22:07] ============ [PASSED] drm_test_rect_calc_hscale ============ [11:22:07] ================ drm_test_rect_calc_vscale ================ [11:22:07] [PASSED] normal use [11:22:07] [PASSED] out of max range [11:22:07] [PASSED] out of min range [11:22:07] [PASSED] zero dst [11:22:07] [PASSED] negative src [11:22:07] [PASSED] negative dst [11:22:07] ============ [PASSED] drm_test_rect_calc_vscale ============ [11:22:07] ================== drm_test_rect_rotate =================== [11:22:07] [PASSED] reflect-x [11:22:07] [PASSED] reflect-y [11:22:07] [PASSED] rotate-0 [11:22:07] [PASSED] rotate-90 [11:22:07] [PASSED] rotate-180 [11:22:07] [PASSED] rotate-270 [11:22:07] ============== [PASSED] drm_test_rect_rotate =============== [11:22:07] ================ drm_test_rect_rotate_inv ================= [11:22:07] [PASSED] reflect-x [11:22:07] [PASSED] reflect-y [11:22:07] [PASSED] rotate-0 [11:22:07] [PASSED] rotate-90 [11:22:07] [PASSED] rotate-180 [11:22:07] [PASSED] rotate-270 [11:22:07] ============ [PASSED] drm_test_rect_rotate_inv ============= [11:22:07] ==================== [PASSED] drm_rect ===================== [11:22:07] ============ drm_sysfb_modeset_test (1 subtest) ============ [11:22:07] ============ drm_test_sysfb_build_fourcc_list ============= [11:22:07] [PASSED] no native formats [11:22:07] [PASSED] XRGB8888 as native format [11:22:07] [PASSED] remove duplicates [11:22:07] [PASSED] convert alpha formats [11:22:07] [PASSED] random formats [11:22:07] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [11:22:07] ============= [PASSED] drm_sysfb_modeset_test ============== [11:22:07] ================== drm_fixp (2 subtests) =================== [11:22:07] [PASSED] drm_test_int2fixp [11:22:07] [PASSED] drm_test_sm2fixp [11:22:07] ==================== [PASSED] drm_fixp ===================== [11:22:07] ============================================================ [11:22:07] Testing complete. Ran 639 tests: passed: 639 [11:22:07] Elapsed time: 26.766s total, 1.836s configuring, 24.714s building, 0.180s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [11:22:07] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:22: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 [11:22:19] Starting KUnit Kernel (1/1)... [11:22:19] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:22:19] ================= ttm_device (5 subtests) ================== [11:22:19] [PASSED] ttm_device_init_basic [11:22:19] [PASSED] ttm_device_init_multiple [11:22:19] [PASSED] ttm_device_fini_basic [11:22:19] [PASSED] ttm_device_init_no_vma_man [11:22:19] ================== ttm_device_init_pools ================== [11:22:19] [PASSED] No DMA allocations, no DMA32 required [11:22:19] [PASSED] DMA allocations, DMA32 required [11:22:19] [PASSED] No DMA allocations, DMA32 required [11:22:19] [PASSED] DMA allocations, no DMA32 required [11:22:19] ============== [PASSED] ttm_device_init_pools ============== [11:22:19] =================== [PASSED] ttm_device ==================== [11:22:19] ================== ttm_pool (8 subtests) =================== [11:22:19] ================== ttm_pool_alloc_basic =================== [11:22:19] [PASSED] One page [11:22:19] [PASSED] More than one page [11:22:19] [PASSED] Above the allocation limit [11:22:19] [PASSED] One page, with coherent DMA mappings enabled [11:22:19] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:22:19] ============== [PASSED] ttm_pool_alloc_basic =============== [11:22:19] ============== ttm_pool_alloc_basic_dma_addr ============== [11:22:19] [PASSED] One page [11:22:19] [PASSED] More than one page [11:22:19] [PASSED] Above the allocation limit [11:22:19] [PASSED] One page, with coherent DMA mappings enabled [11:22:19] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:22:19] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [11:22:19] [PASSED] ttm_pool_alloc_order_caching_match [11:22:19] [PASSED] ttm_pool_alloc_caching_mismatch [11:22:19] [PASSED] ttm_pool_alloc_order_mismatch [11:22:19] [PASSED] ttm_pool_free_dma_alloc [11:22:19] [PASSED] ttm_pool_free_no_dma_alloc [11:22:19] [PASSED] ttm_pool_fini_basic [11:22:19] ==================== [PASSED] ttm_pool ===================== [11:22:19] ================ ttm_resource (8 subtests) ================= [11:22:19] ================= ttm_resource_init_basic ================= [11:22:19] [PASSED] Init resource in TTM_PL_SYSTEM [11:22:19] [PASSED] Init resource in TTM_PL_VRAM [11:22:19] [PASSED] Init resource in a private placement [11:22:19] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [11:22:19] ============= [PASSED] ttm_resource_init_basic ============= [11:22:19] [PASSED] ttm_resource_init_pinned [11:22:19] [PASSED] ttm_resource_fini_basic [11:22:19] [PASSED] ttm_resource_manager_init_basic [11:22:19] [PASSED] ttm_resource_manager_usage_basic [11:22:19] [PASSED] ttm_resource_manager_set_used_basic [11:22:19] [PASSED] ttm_sys_man_alloc_basic [11:22:19] [PASSED] ttm_sys_man_free_basic [11:22:19] ================== [PASSED] ttm_resource =================== [11:22:19] =================== ttm_tt (15 subtests) =================== [11:22:19] ==================== ttm_tt_init_basic ==================== [11:22:19] [PASSED] Page-aligned size [11:22:19] [PASSED] Extra pages requested [11:22:19] ================ [PASSED] ttm_tt_init_basic ================ [11:22:19] [PASSED] ttm_tt_init_misaligned [11:22:19] [PASSED] ttm_tt_fini_basic [11:22:19] [PASSED] ttm_tt_fini_sg [11:22:19] [PASSED] ttm_tt_fini_shmem [11:22:19] [PASSED] ttm_tt_create_basic [11:22:19] [PASSED] ttm_tt_create_invalid_bo_type [11:22:19] [PASSED] ttm_tt_create_ttm_exists [11:22:19] [PASSED] ttm_tt_create_failed [11:22:19] [PASSED] ttm_tt_destroy_basic [11:22:19] [PASSED] ttm_tt_populate_null_ttm [11:22:19] [PASSED] ttm_tt_populate_populated_ttm [11:22:19] [PASSED] ttm_tt_unpopulate_basic [11:22:19] [PASSED] ttm_tt_unpopulate_empty_ttm [11:22:19] [PASSED] ttm_tt_swapin_basic [11:22:19] ===================== [PASSED] ttm_tt ====================== [11:22:19] =================== ttm_bo (14 subtests) =================== [11:22:19] =========== ttm_bo_reserve_optimistic_no_ticket =========== [11:22:19] [PASSED] Cannot be interrupted and sleeps [11:22:19] [PASSED] Cannot be interrupted, locks straight away [11:22:19] [PASSED] Can be interrupted, sleeps [11:22:19] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [11:22:19] [PASSED] ttm_bo_reserve_locked_no_sleep [11:22:19] [PASSED] ttm_bo_reserve_no_wait_ticket [11:22:19] [PASSED] ttm_bo_reserve_double_resv [11:22:19] [PASSED] ttm_bo_reserve_interrupted [11:22:19] [PASSED] ttm_bo_reserve_deadlock [11:22:19] [PASSED] ttm_bo_unreserve_basic [11:22:19] [PASSED] ttm_bo_unreserve_pinned [11:22:19] [PASSED] ttm_bo_unreserve_bulk [11:22:19] [PASSED] ttm_bo_fini_basic [11:22:19] [PASSED] ttm_bo_fini_shared_resv [11:22:19] [PASSED] ttm_bo_pin_basic [11:22:19] [PASSED] ttm_bo_pin_unpin_resource [11:22:19] [PASSED] ttm_bo_multiple_pin_one_unpin [11:22:19] ===================== [PASSED] ttm_bo ====================== [11:22:19] ============== ttm_bo_validate (22 subtests) =============== [11:22:19] ============== ttm_bo_init_reserved_sys_man =============== [11:22:19] [PASSED] Buffer object for userspace [11:22:19] [PASSED] Kernel buffer object [11:22:19] [PASSED] Shared buffer object [11:22:19] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [11:22:19] ============== ttm_bo_init_reserved_mock_man ============== [11:22:19] [PASSED] Buffer object for userspace [11:22:19] [PASSED] Kernel buffer object [11:22:19] [PASSED] Shared buffer object [11:22:19] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [11:22:19] [PASSED] ttm_bo_init_reserved_resv [11:22:19] ================== ttm_bo_validate_basic ================== [11:22:19] [PASSED] Buffer object for userspace [11:22:19] [PASSED] Kernel buffer object [11:22:19] [PASSED] Shared buffer object [11:22:19] ============== [PASSED] ttm_bo_validate_basic ============== [11:22:19] [PASSED] ttm_bo_validate_invalid_placement [11:22:19] ============= ttm_bo_validate_same_placement ============== [11:22:19] [PASSED] System manager [11:22:19] [PASSED] VRAM manager [11:22:19] ========= [PASSED] ttm_bo_validate_same_placement ========== [11:22:19] [PASSED] ttm_bo_validate_failed_alloc [11:22:19] [PASSED] ttm_bo_validate_pinned [11:22:19] [PASSED] ttm_bo_validate_busy_placement [11:22:19] ================ ttm_bo_validate_multihop ================= [11:22:19] [PASSED] Buffer object for userspace [11:22:19] [PASSED] Kernel buffer object [11:22:19] [PASSED] Shared buffer object [11:22:19] ============ [PASSED] ttm_bo_validate_multihop ============= [11:22:19] ========== ttm_bo_validate_no_placement_signaled ========== [11:22:19] [PASSED] Buffer object in system domain, no page vector [11:22:19] [PASSED] Buffer object in system domain with an existing page vector [11:22:19] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [11:22:19] ======== ttm_bo_validate_no_placement_not_signaled ======== [11:22:19] [PASSED] Buffer object for userspace [11:22:19] [PASSED] Kernel buffer object [11:22:19] [PASSED] Shared buffer object [11:22:19] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [11:22:19] [PASSED] ttm_bo_validate_move_fence_signaled [11:22:19] ========= ttm_bo_validate_move_fence_not_signaled ========= [11:22:19] [PASSED] Waits for GPU [11:22:19] [PASSED] Tries to lock straight away [11:22:19] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [11:22:19] [PASSED] ttm_bo_validate_swapout [11:22:19] [PASSED] ttm_bo_validate_happy_evict [11:22:19] [PASSED] ttm_bo_validate_all_pinned_evict [11:22:19] [PASSED] ttm_bo_validate_allowed_only_evict [11:22:19] [PASSED] ttm_bo_validate_deleted_evict [11:22:19] [PASSED] ttm_bo_validate_busy_domain_evict [11:22:19] [PASSED] ttm_bo_validate_evict_gutting [11:22:19] [PASSED] ttm_bo_validate_recrusive_evict [11:22:19] ================= [PASSED] ttm_bo_validate ================= [11:22:19] ============================================================ [11:22:19] Testing complete. Ran 102 tests: passed: 102 [11:22:19] Elapsed time: 11.906s total, 1.776s configuring, 9.915s building, 0.181s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Hi,
Quoted 2 lines · Nareshkumar Gollakoti
Some platforms support multiple page sizes for user BO allocations, including 4K, 64K, 2M, and 1G.
aarch64 also has 16k -- and these also become the minimum page size for CPU accessible allocations.
There is also 256k, but that is probably not in actual use anywhere near an Intel GPU.
I can give this a test on a kernel with PAGE_SIZE 64k next weekend.
The biggest annoyance on machines with large page size are the BOs that are allocated for device page tables, because these are always 4k in size, but must be CPU accessible, so their size and alignment must fit CPU requirements.
The original series[1] from Mincong Bai solved that by forcing alignment for all BOs, which wastes a bit of memory, but works. Obviously we don't want to use a 2M or 1G BO for a page table, so presumably we want to special-case those, but at the same time they cannot be so special that they ignore the constraints from the CPU.
Simon