drm/ttm: Account for NULL and handle pages in ttm_pool_backup
Subsystems (4)
Matthew Brost
reviewerPATCH 1/1 drm/ttm: Account for NULL and handle pages in ttm_pool_backup
Pages in ttm_pool_backup can be NULL or backup handles (ttm_backup_page_ptr_is_handle()), neither of which can be passed to set_pages_array_wb() or freed. Add a dedicated WB pass before the dma/purge loop that walks allocations using the same i += num_pages stride, skipping NULL and handle entries, and calls set_pages_array_wb() once per contiguous run of real pages. Apply the same NULL/handle guard to the dma/purge loop.
Fixes the following oops:
Oops: general protection fault, kernel NULL pointer dereference 0x0: 0000 [#1] SMP NOPTI RIP: 0010:__cpa_process_fault+0xf8/0x770 RSP: 0018:ffffc90000a87718 EFLAGS: 00010287 RAX: 0000000000000000 RBX: ffffc90000a87868 RCX: 0000000000000000 RDX: 0000000000001000 RSI: 0005088000000000 RDI: ffffffff827c5f34 RBP: 0005088000000000 R08: ffffc90000a877cb R09: ffffc90000a877d0 R10: 0000000000000000 R11: 000000000000001b R12: 000ffffffffff000 R13: ffffc90000a87868 R14: ffffc90000a87868 R15: ffff88815b882ae0 FS: 0000000000000000(0000) GS:ffff8884ec840000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f930b844000 CR3: 000000000262e003 CR4: 0000000008f70ef0 PKRU: 55555554 Call Trace: <TASK> __change_page_attr_set_clr+0x989/0xe90 ? __purge_vmap_area_lazy+0x6c/0x3a0 ? _vm_unmap_aliases+0x250/0x2a0 set_pages_array_wb+0x7f/0x120 ttm_pool_backup+0x4c9/0x5b0 [ttm] ? dma_resv_wait_timeout+0x3b/0xf0 ttm_tt_backup+0x32/0x60 [ttm] ttm_bo_shrink+0x66/0x110 [ttm] xe_bo_shrink_purge+0x12b/0x1b0 [xe] xe_bo_shrink+0xbb/0x270 [xe] __xe_shrinker_walk+0xf7/0x160 [xe] xe_shrinker_walk+0x9d/0xc0 [xe] xe_shrinker_scan+0x11f/0x210 [xe] do_shrink_slab+0x13b/0x270 shrink_slab+0xf1/0x400 shrink_node+0x352/0x8a0 balance_pgdat+0x32c/0x700 kswapd+0x205/0x2f0 ? __pfx_autoremove_wake_function+0x10/0x10 ? __pfx_kswapd+0x10/0x10 kthread+0xd1/0x110 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x1b1/0x200 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>
--- drivers/gpu/drm/ttm/ttm_pool.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-)
drivers/gpu/drm/ttm/ttm_pool.c +26 -4
@@ -1065,9 +1065,31 @@ long ttm_pool_backup(struct ttm_pool *pool, struct ttm_tt *tt,return -EBUSY ;#ifdef CONFIG_X86 -/* Anything returned to the system needs to be cached. */ -if (tt->caching != ttm_cached) -set_pages_array_wb (tt->pages, tt->num_pages); +/* Anything returned to the system needs to be cached. Walk allocations +* skipping NULL pages and issue set_pages_array_wb() per contiguous run. +*/ +if (tt->caching != ttm_cached) { +pgoff_t run_start =0 , run_count =0 ; + +for (i =0 ; i < tt->num_pages; i += num_pages) { + page = tt->pages[i]; +if (unlikely (!page ||ttm_backup_page_ptr_is_handle (page))) { +if (run_count) { +set_pages_array_wb (&tt->pages[run_start], + run_count); + run_count =0 ; + } + num_pages =1 ; +continue ; + } + num_pages =1UL <<ttm_pool_page_order (pool, page); +if (!run_count) + run_start = i; + run_count += num_pages; + } +if (run_count) +set_pages_array_wb (&tt->pages[run_start], run_count); + }#endif if (tt->dma_address || flags->purge) {
@@ -1075,7 +1097,7 @@ long ttm_pool_backup(struct ttm_pool *pool, struct ttm_tt *tt,unsigned int order; page = tt->pages[i]; -if (unlikely (!page)) { +if (unlikely (!page ||ttm_backup_page_ptr_is_handle (page))) { num_pages =1 ;continue ; }
Signature · 1 line
2.34.1
Patchwork
CI✗ CI.checkpatch: warning for drm/ttm: Account for NULL and handle pages in ttm_pool_backup
== Series Details ==
== Series Details ==
Series: drm/ttm: Account for NULL and handle pages in ttm_pool_backup
URL : https://patchwork.freedesktop.org/series/169720/
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 c5b7124b6682c7a08f7484dca1f6b174fd99b167
Author: Matthew Brost <[email protected]> Date: Thu Jul 2 14:48:15 2026 -0700
drm/ttm: Account for NULL and handle pages in ttm_pool_backup
Pages in ttm_pool_backup can be NULL or backup handles
(ttm_backup_page_ptr_is_handle()), neither of which can be passed to
set_pages_array_wb() or freed. Add a dedicated WB pass before the
dma/purge loop that walks allocations using the same i += num_pages
stride, skipping NULL and handle entries, and calls set_pages_array_wb()
once per contiguous run of real pages. Apply the same NULL/handle guard
to the dma/purge loop.
Fixes the following oops:
Oops: general protection fault, kernel NULL pointer dereference 0x0: 0000 [#1] SMP NOPTI
RIP: 0010:__cpa_process_fault+0xf8/0x770
RSP: 0018:ffffc90000a87718 EFLAGS: 00010287
RAX: 0000000000000000 RBX: ffffc90000a87868 RCX: 0000000000000000
RDX: 0000000000001000 RSI: 0005088000000000 RDI: ffffffff827c5f34
RBP: 0005088000000000 R08: ffffc90000a877cb R09: ffffc90000a877d0
R10: 0000000000000000 R11: 000000000000001b R12: 000ffffffffff000
R13: ffffc90000a87868 R14: ffffc90000a87868 R15: ffff88815b882ae0
FS: 0000000000000000(0000) GS:ffff8884ec840000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f930b844000 CR3: 000000000262e003 CR4: 0000000008f70ef0
PKRU: 55555554
Call Trace:
<TASK>
__change_page_attr_set_clr+0x989/0xe90
? __purge_vmap_area_lazy+0x6c/0x3a0
? _vm_unmap_aliases+0x250/0x2a0
set_pages_array_wb+0x7f/0x120
ttm_pool_backup+0x4c9/0x5b0 [ttm]
? dma_resv_wait_timeout+0x3b/0xf0
ttm_tt_backup+0x32/0x60 [ttm]
ttm_bo_shrink+0x66/0x110 [ttm]
xe_bo_shrink_purge+0x12b/0x1b0 [xe]
xe_bo_shrink+0xbb/0x270 [xe]
__xe_shrinker_walk+0xf7/0x160 [xe]
xe_shrinker_walk+0x9d/0xc0 [xe]
xe_shrinker_scan+0x11f/0x210 [xe]
do_shrink_slab+0x13b/0x270
shrink_slab+0xf1/0x400
shrink_node+0x352/0x8a0
balance_pgdat+0x32c/0x700
kswapd+0x205/0x2f0
? __pfx_autoremove_wake_function+0x10/0x10
? __pfx_kswapd+0x10/0x10
kthread+0xd1/0x110
? __pfx_kthread+0x10/0x10
ret_from_fork+0x1b1/0x200
? __pfx_kthread+0x10/0x10
ret_from_fork_asm+0x1a/0x30
</TASK>
Cc: Christian Koenig <[email protected]>
Cc: Huang Rui <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: b63d715b8090 ("drm/ttm/pool, drm/ttm/tt: Provide a helper to shrink pages")
Cc: [email protected]
Assisted-by: GitHub_Copilot:claude-opus-4.8
Signed-off-by: Matthew Brost <[email protected]>+ /mt/dim checkpatch 76d0ddcc37bbcc1fe5819e0322739e5e17f59aae drm-intelc5b7124b6682 drm/ttm: Account for NULL and handle pages in ttm_pool_backup
-:19: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #19:
Oops: general protection fault, kernel NULL pointer dereference 0x0: 0000 [#1] SMP NOPTI
-:74: WARNING:BAD_SIGN_OFF: Duplicate signature
#74:
Cc: [email protected]
total: 0 errors, 2 warnings, 0 checks, 42 lines checked
Patchwork
CI✓ CI.KUnit: success for drm/ttm: Account for NULL and handle pages in ttm_pool_backup
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm: Account for NULL and handle pages in ttm_pool_backup
URL : https://patchwork.freedesktop.org/series/169720/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [21:55:21] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:55:25] 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
../drivers/gpu/drm/xe/xe_pt.c:1430:13: warning: ‘xe_pt_svm_userptr_notifier_lock’ defined but not used [-Wunused-function]
1430 | static void xe_pt_svm_userptr_notifier_lock(struct xe_vm *vm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[21:55:57] Starting KUnit Kernel (1/1)...
[21:55:57] ============================================================ Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:55:57] ================== guc_buf (11 subtests) =================== [21:55:57] [PASSED] test_smallest [21:55:57] [PASSED] test_largest [21:55:57] [PASSED] test_granular [21:55:57] [PASSED] test_unique [21:55:57] [PASSED] test_overlap [21:55:57] [PASSED] test_reusable [21:55:57] [PASSED] test_too_big [21:55:57] [PASSED] test_flush [21:55:57] [PASSED] test_lookup [21:55:57] [PASSED] test_data [21:55:57] [PASSED] test_class [21:55:57] ===================== [PASSED] guc_buf ===================== [21:55:57] =================== guc_dbm (7 subtests) =================== [21:55:57] [PASSED] test_empty [21:55:57] [PASSED] test_default [21:55:57] ======================== test_size ======================== [21:55:57] [PASSED] 4 [21:55:57] [PASSED] 8 [21:55:57] [PASSED] 32 [21:55:57] [PASSED] 256 [21:55:57] ==================== [PASSED] test_size ==================== [21:55:57] ======================= test_reuse ======================== [21:55:57] [PASSED] 4 [21:55:57] [PASSED] 8 [21:55:57] [PASSED] 32 [21:55:57] [PASSED] 256 [21:55:57] =================== [PASSED] test_reuse ==================== [21:55:57] =================== test_range_overlap ==================== [21:55:57] [PASSED] 4 [21:55:57] [PASSED] 8 [21:55:57] [PASSED] 32 [21:55:57] [PASSED] 256 [21:55:57] =============== [PASSED] test_range_overlap ================ [21:55:57] =================== test_range_compact ==================== [21:55:57] [PASSED] 4 [21:55:57] [PASSED] 8 [21:55:57] [PASSED] 32 [21:55:57] [PASSED] 256 [21:55:57] =============== [PASSED] test_range_compact ================ [21:55:57] ==================== test_range_spare ===================== [21:55:57] [PASSED] 4 [21:55:57] [PASSED] 8 [21:55:57] [PASSED] 32 [21:55:57] [PASSED] 256 [21:55:57] ================ [PASSED] test_range_spare ================= [21:55:57] ===================== [PASSED] guc_dbm ===================== [21:55:57] =================== guc_idm (6 subtests) =================== [21:55:57] [PASSED] bad_init [21:55:57] [PASSED] no_init [21:55:57] [PASSED] init_fini [21:55:57] [PASSED] check_used [21:55:57] [PASSED] check_quota [21:55:57] [PASSED] check_all [21:55:57] ===================== [PASSED] guc_idm ===================== [21:55:57] ================== no_relay (3 subtests) =================== [21:55:57] [PASSED] xe_drops_guc2pf_if_not_ready [21:55:57] [PASSED] xe_drops_guc2vf_if_not_ready [21:55:57] [PASSED] xe_rejects_send_if_not_ready [21:55:57] ==================== [PASSED] no_relay ===================== [21:55:57] ================== pf_relay (14 subtests) ================== [21:55:57] [PASSED] pf_rejects_guc2pf_too_short [21:55:57] [PASSED] pf_rejects_guc2pf_too_long [21:55:57] [PASSED] pf_rejects_guc2pf_no_payload [21:55:57] [PASSED] pf_fails_no_payload [21:55:57] [PASSED] pf_fails_bad_origin [21:55:57] [PASSED] pf_fails_bad_type [21:55:57] [PASSED] pf_txn_reports_error [21:55:57] [PASSED] pf_txn_sends_pf2guc [21:55:57] [PASSED] pf_sends_pf2guc [21:55:57] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:55:57] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:55:57] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:55:57] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:55:57] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:55:57] ==================== [PASSED] pf_relay ===================== [21:55:57] ================== vf_relay (3 subtests) =================== [21:55:57] [PASSED] vf_rejects_guc2vf_too_short [21:55:57] [PASSED] vf_rejects_guc2vf_too_long [21:55:57] [PASSED] vf_rejects_guc2vf_no_payload [21:55:57] ==================== [PASSED] vf_relay ===================== [21:55:57] ================ pf_gt_config (9 subtests) ================= [21:55:57] [PASSED] fair_contexts_1vf [21:55:57] [PASSED] fair_doorbells_1vf [21:55:57] [PASSED] fair_ggtt_1vf [21:55:57] ====================== fair_vram_1vf ====================== [21:55:57] [PASSED] 3.50 GiB [21:55:57] [PASSED] 11.5 GiB [21:55:57] [PASSED] 15.5 GiB [21:55:57] [PASSED] 31.5 GiB [21:55:57] [PASSED] 63.5 GiB [21:55:57] [PASSED] 1.91 GiB [21:55:57] ================== [PASSED] fair_vram_1vf ================== [21:55:57] ================ fair_vram_1vf_admin_only ================= [21:55:57] [PASSED] 3.50 GiB [21:55:57] [PASSED] 11.5 GiB [21:55:57] [PASSED] 15.5 GiB [21:55:57] [PASSED] 31.5 GiB [21:55:57] [PASSED] 63.5 GiB [21:55:57] [PASSED] 1.91 GiB [21:55:57] ============ [PASSED] fair_vram_1vf_admin_only ============= [21:55:57] ====================== fair_contexts ====================== [21:55:57] [PASSED] 1 VF [21:55:57] [PASSED] 2 VFs [21:55:57] [PASSED] 3 VFs [21:55:57] [PASSED] 4 VFs [21:55:57] [PASSED] 5 VFs [21:55:57] [PASSED] 6 VFs [21:55:57] [PASSED] 7 VFs [21:55:57] [PASSED] 8 VFs [21:55:57] [PASSED] 9 VFs [21:55:57] [PASSED] 10 VFs [21:55:57] [PASSED] 11 VFs [21:55:57] [PASSED] 12 VFs [21:55:57] [PASSED] 13 VFs [21:55:57] [PASSED] 14 VFs [21:55:57] [PASSED] 15 VFs [21:55:57] [PASSED] 16 VFs [21:55:57] [PASSED] 17 VFs [21:55:57] [PASSED] 18 VFs [21:55:57] [PASSED] 19 VFs [21:55:57] [PASSED] 20 VFs [21:55:57] [PASSED] 21 VFs [21:55:57] [PASSED] 22 VFs [21:55:57] [PASSED] 23 VFs [21:55:57] [PASSED] 24 VFs [21:55:57] [PASSED] 25 VFs [21:55:57] [PASSED] 26 VFs [21:55:57] [PASSED] 27 VFs [21:55:57] [PASSED] 28 VFs [21:55:57] [PASSED] 29 VFs [21:55:57] [PASSED] 30 VFs [21:55:57] [PASSED] 31 VFs [21:55:57] [PASSED] 32 VFs [21:55:57] [PASSED] 33 VFs [21:55:57] [PASSED] 34 VFs [21:55:57] [PASSED] 35 VFs [21:55:57] [PASSED] 36 VFs [21:55:57] [PASSED] 37 VFs [21:55:57] [PASSED] 38 VFs [21:55:57] [PASSED] 39 VFs [21:55:57] [PASSED] 40 VFs [21:55:57] [PASSED] 41 VFs [21:55:57] [PASSED] 42 VFs [21:55:57] [PASSED] 43 VFs [21:55:57] [PASSED] 44 VFs [21:55:57] [PASSED] 45 VFs [21:55:57] [PASSED] 46 VFs [21:55:57] [PASSED] 47 VFs [21:55:57] [PASSED] 48 VFs [21:55:57] [PASSED] 49 VFs [21:55:57] [PASSED] 50 VFs [21:55:57] [PASSED] 51 VFs [21:55:57] [PASSED] 52 VFs [21:55:57] [PASSED] 53 VFs [21:55:57] [PASSED] 54 VFs [21:55:57] [PASSED] 55 VFs [21:55:57] [PASSED] 56 VFs [21:55:57] [PASSED] 57 VFs [21:55:57] [PASSED] 58 VFs [21:55:57] [PASSED] 59 VFs [21:55:57] [PASSED] 60 VFs [21:55:57] [PASSED] 61 VFs [21:55:57] [PASSED] 62 VFs [21:55:57] [PASSED] 63 VFs [21:55:57] ================== [PASSED] fair_contexts ================== [21:55:57] ===================== fair_doorbells ====================== [21:55:57] [PASSED] 1 VF [21:55:57] [PASSED] 2 VFs [21:55:57] [PASSED] 3 VFs [21:55:57] [PASSED] 4 VFs [21:55:57] [PASSED] 5 VFs [21:55:57] [PASSED] 6 VFs [21:55:57] [PASSED] 7 VFs [21:55:57] [PASSED] 8 VFs [21:55:57] [PASSED] 9 VFs [21:55:57] [PASSED] 10 VFs [21:55:57] [PASSED] 11 VFs [21:55:57] [PASSED] 12 VFs [21:55:57] [PASSED] 13 VFs [21:55:57] [PASSED] 14 VFs [21:55:57] [PASSED] 15 VFs [21:55:57] [PASSED] 16 VFs [21:55:57] [PASSED] 17 VFs [21:55:57] [PASSED] 18 VFs [21:55:57] [PASSED] 19 VFs [21:55:57] [PASSED] 20 VFs [21:55:57] [PASSED] 21 VFs [21:55:57] [PASSED] 22 VFs [21:55:57] [PASSED] 23 VFs [21:55:57] [PASSED] 24 VFs [21:55:57] [PASSED] 25 VFs [21:55:57] [PASSED] 26 VFs [21:55:57] [PASSED] 27 VFs [21:55:57] [PASSED] 28 VFs [21:55:57] [PASSED] 29 VFs [21:55:57] [PASSED] 30 VFs [21:55:57] [PASSED] 31 VFs [21:55:57] [PASSED] 32 VFs [21:55:57] [PASSED] 33 VFs [21:55:57] [PASSED] 34 VFs [21:55:57] [PASSED] 35 VFs [21:55:57] [PASSED] 36 VFs [21:55:57] [PASSED] 37 VFs [21:55:57] [PASSED] 38 VFs [21:55:57] [PASSED] 39 VFs [21:55:57] [PASSED] 40 VFs [21:55:57] [PASSED] 41 VFs [21:55:57] [PASSED] 42 VFs [21:55:57] [PASSED] 43 VFs [21:55:57] [PASSED] 44 VFs [21:55:57] [PASSED] 45 VFs [21:55:57] [PASSED] 46 VFs [21:55:57] [PASSED] 47 VFs [21:55:57] [PASSED] 48 VFs [21:55:57] [PASSED] 49 VFs [21:55:57] [PASSED] 50 VFs [21:55:57] [PASSED] 51 VFs [21:55:57] [PASSED] 52 VFs [21:55:57] [PASSED] 53 VFs [21:55:57] [PASSED] 54 VFs [21:55:57] [PASSED] 55 VFs [21:55:57] [PASSED] 56 VFs [21:55:57] [PASSED] 57 VFs [21:55:57] [PASSED] 58 VFs [21:55:57] [PASSED] 59 VFs [21:55:57] [PASSED] 60 VFs [21:55:57] [PASSED] 61 VFs [21:55:57] [PASSED] 62 VFs [21:55:57] [PASSED] 63 VFs [21:55:57] ================= [PASSED] fair_doorbells ================== [21:55:57] ======================== fair_ggtt ======================== [21:55:57] [PASSED] 1 VF [21:55:57] [PASSED] 2 VFs [21:55:57] [PASSED] 3 VFs [21:55:57] [PASSED] 4 VFs [21:55:57] [PASSED] 5 VFs [21:55:57] [PASSED] 6 VFs [21:55:57] [PASSED] 7 VFs [21:55:57] [PASSED] 8 VFs [21:55:57] [PASSED] 9 VFs [21:55:57] [PASSED] 10 VFs [21:55:57] [PASSED] 11 VFs [21:55:57] [PASSED] 12 VFs [21:55:57] [PASSED] 13 VFs [21:55:57] [PASSED] 14 VFs [21:55:57] [PASSED] 15 VFs [21:55:57] [PASSED] 16 VFs [21:55:57] [PASSED] 17 VFs [21:55:57] [PASSED] 18 VFs [21:55:57] [PASSED] 19 VFs [21:55:57] [PASSED] 20 VFs [21:55:57] [PASSED] 21 VFs [21:55:57] [PASSED] 22 VFs [21:55:57] [PASSED] 23 VFs [21:55:57] [PASSED] 24 VFs [21:55:57] [PASSED] 25 VFs [21:55:57] [PASSED] 26 VFs [21:55:57] [PASSED] 27 VFs [21:55:57] [PASSED] 28 VFs [21:55:57] [PASSED] 29 VFs [21:55:57] [PASSED] 30 VFs [21:55:57] [PASSED] 31 VFs [21:55:57] [PASSED] 32 VFs [21:55:57] [PASSED] 33 VFs [21:55:57] [PASSED] 34 VFs [21:55:57] [PASSED] 35 VFs [21:55:57] [PASSED] 36 VFs [21:55:57] [PASSED] 37 VFs [21:55:57] [PASSED] 38 VFs [21:55:57] [PASSED] 39 VFs [21:55:57] [PASSED] 40 VFs [21:55:57] [PASSED] 41 VFs [21:55:57] [PASSED] 42 VFs [21:55:57] [PASSED] 43 VFs [21:55:57] [PASSED] 44 VFs [21:55:57] [PASSED] 45 VFs [21:55:57] [PASSED] 46 VFs [21:55:57] [PASSED] 47 VFs [21:55:57] [PASSED] 48 VFs [21:55:57] [PASSED] 49 VFs [21:55:57] [PASSED] 50 VFs [21:55:57] [PASSED] 51 VFs [21:55:57] [PASSED] 52 VFs [21:55:57] [PASSED] 53 VFs [21:55:57] [PASSED] 54 VFs [21:55:57] [PASSED] 55 VFs [21:55:57] [PASSED] 56 VFs [21:55:57] [PASSED] 57 VFs [21:55:57] [PASSED] 58 VFs [21:55:57] [PASSED] 59 VFs [21:55:57] [PASSED] 60 VFs [21:55:57] [PASSED] 61 VFs [21:55:57] [PASSED] 62 VFs [21:55:57] [PASSED] 63 VFs [21:55:57] ==================== [PASSED] fair_ggtt ==================== [21:55:57] ======================== fair_vram ======================== [21:55:57] [PASSED] 1 VF [21:55:57] [PASSED] 2 VFs [21:55:57] [PASSED] 3 VFs [21:55:57] [PASSED] 4 VFs [21:55:57] [PASSED] 5 VFs [21:55:57] [PASSED] 6 VFs [21:55:57] [PASSED] 7 VFs [21:55:57] [PASSED] 8 VFs [21:55:57] [PASSED] 9 VFs [21:55:57] [PASSED] 10 VFs [21:55:57] [PASSED] 11 VFs [21:55:57] [PASSED] 12 VFs [21:55:57] [PASSED] 13 VFs [21:55:57] [PASSED] 14 VFs [21:55:57] [PASSED] 15 VFs [21:55:57] [PASSED] 16 VFs [21:55:57] [PASSED] 17 VFs [21:55:57] [PASSED] 18 VFs [21:55:57] [PASSED] 19 VFs [21:55:57] [PASSED] 20 VFs [21:55:57] [PASSED] 21 VFs [21:55:57] [PASSED] 22 VFs [21:55:57] [PASSED] 23 VFs [21:55:57] [PASSED] 24 VFs [21:55:57] [PASSED] 25 VFs [21:55:57] [PASSED] 26 VFs [21:55:57] [PASSED] 27 VFs [21:55:57] [PASSED] 28 VFs [21:55:57] [PASSED] 29 VFs [21:55:57] [PASSED] 30 VFs [21:55:57] [PASSED] 31 VFs [21:55:57] [PASSED] 32 VFs [21:55:57] [PASSED] 33 VFs [21:55:57] [PASSED] 34 VFs [21:55:57] [PASSED] 35 VFs [21:55:57] [PASSED] 36 VFs [21:55:57] [PASSED] 37 VFs [21:55:57] [PASSED] 38 VFs [21:55:57] [PASSED] 39 VFs [21:55:57] [PASSED] 40 VFs [21:55:57] [PASSED] 41 VFs [21:55:57] [PASSED] 42 VFs [21:55:57] [PASSED] 43 VFs [21:55:57] [PASSED] 44 VFs [21:55:57] [PASSED] 45 VFs [21:55:57] [PASSED] 46 VFs [21:55:57] [PASSED] 47 VFs [21:55:57] [PASSED] 48 VFs [21:55:57] [PASSED] 49 VFs [21:55:57] [PASSED] 50 VFs [21:55:57] [PASSED] 51 VFs [21:55:57] [PASSED] 52 VFs [21:55:57] [PASSED] 53 VFs [21:55:57] [PASSED] 54 VFs [21:55:57] [PASSED] 55 VFs [21:55:57] [PASSED] 56 VFs [21:55:57] [PASSED] 57 VFs [21:55:57] [PASSED] 58 VFs [21:55:57] [PASSED] 59 VFs [21:55:57] [PASSED] 60 VFs [21:55:57] [PASSED] 61 VFs [21:55:57] [PASSED] 62 VFs [21:55:57] [PASSED] 63 VFs [21:55:57] ==================== [PASSED] fair_vram ==================== [21:55:57] ================== [PASSED] pf_gt_config =================== [21:55:57] ===================== lmtt (1 subtest) ===================== [21:55:57] ======================== test_ops ========================= [21:55:57] [PASSED] 2-level [21:55:57] [PASSED] multi-level [21:55:57] ==================== [PASSED] test_ops ===================== [21:55:57] ====================== [PASSED] lmtt ======================= [21:55:57] ================= pf_service (11 subtests) ================= [21:55:57] [PASSED] pf_negotiate_any [21:55:57] [PASSED] pf_negotiate_base_match [21:55:57] [PASSED] pf_negotiate_base_newer [21:55:57] [PASSED] pf_negotiate_base_next [21:55:57] [SKIPPED] pf_negotiate_base_older (no older minor) [21:55:57] [PASSED] pf_negotiate_base_prev [21:55:57] [PASSED] pf_negotiate_latest_match [21:55:57] [PASSED] pf_negotiate_latest_newer [21:55:57] [PASSED] pf_negotiate_latest_next [21:55:57] [SKIPPED] pf_negotiate_latest_older (no older minor) [21:55:57] [SKIPPED] pf_negotiate_latest_prev (no prev major) [21:55:57] =================== [PASSED] pf_service ==================== [21:55:57] ================= xe_guc_g2g (2 subtests) ================== [21:55:57] ============== xe_live_guc_g2g_kunit_default ============== [21:55:57] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [21:55:57] ============== xe_live_guc_g2g_kunit_allmem =============== [21:55:57] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [21:55:57] =================== [SKIPPED] xe_guc_g2g =================== [21:55:57] =================== xe_mocs (2 subtests) =================== [21:55:57] ================ xe_live_mocs_kernel_kunit ================ [21:55:57] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [21:55:57] ================ xe_live_mocs_reset_kunit ================= [21:55:57] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [21:55:57] ==================== [SKIPPED] xe_mocs ===================== [21:55:57] ================= xe_migrate (2 subtests) ================== [21:55:57] ================= xe_migrate_sanity_kunit ================= [21:55:57] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [21:55:57] ================== xe_validate_ccs_kunit ================== [21:55:57] ============= [SKIPPED] xe_validate_ccs_kunit ============== [21:55:57] =================== [SKIPPED] xe_migrate =================== [21:55:57] ================== xe_dma_buf (1 subtest) ================== [21:55:57] ==================== xe_dma_buf_kunit ===================== [21:55:57] ================ [SKIPPED] xe_dma_buf_kunit ================ [21:55:57] =================== [SKIPPED] xe_dma_buf =================== [21:55:57] ================= xe_bo_shrink (1 subtest) ================= [21:55:57] =================== xe_bo_shrink_kunit ==================== [21:55:57] =============== [SKIPPED] xe_bo_shrink_kunit =============== [21:55:57] ================== [SKIPPED] xe_bo_shrink ================== [21:55:57] ==================== xe_bo (2 subtests) ==================== [21:55:57] ================== xe_ccs_migrate_kunit =================== [21:55:57] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [21:55:57] ==================== xe_bo_evict_kunit ==================== [21:55:57] =============== [SKIPPED] xe_bo_evict_kunit ================ [21:55:57] ===================== [SKIPPED] xe_bo ====================== [21:55:57] ==================== args (13 subtests) ==================== [21:55:57] [PASSED] count_args_test [21:55:57] [PASSED] call_args_example [21:55:57] [PASSED] call_args_test [21:55:57] [PASSED] drop_first_arg_example [21:55:57] [PASSED] drop_first_arg_test [21:55:57] [PASSED] first_arg_example [21:55:57] [PASSED] first_arg_test [21:55:57] [PASSED] last_arg_example [21:55:57] [PASSED] last_arg_test [21:55:57] [PASSED] pick_arg_example [21:55:57] [PASSED] if_args_example [21:55:57] [PASSED] if_args_test [21:55:57] [PASSED] sep_comma_example [21:55:57] ====================== [PASSED] args ======================= [21:55:57] =================== xe_pci (3 subtests) ==================== [21:55:57] ==================== check_graphics_ip ==================== [21:55:57] [PASSED] 12.00 Xe_LP [21:55:57] [PASSED] 12.10 Xe_LP+ [21:55:57] [PASSED] 12.55 Xe_HPG [21:55:57] [PASSED] 12.60 Xe_HPC [21:55:57] [PASSED] 12.70 Xe_LPG [21:55:57] [PASSED] 12.71 Xe_LPG [21:55:57] [PASSED] 12.74 Xe_LPG+ [21:55:57] [PASSED] 20.01 Xe2_HPG [21:55:57] [PASSED] 20.02 Xe2_HPG [21:55:57] [PASSED] 20.04 Xe2_LPG [21:55:57] [PASSED] 30.00 Xe3_LPG [21:55:57] [PASSED] 30.01 Xe3_LPG [21:55:57] [PASSED] 30.03 Xe3_LPG [21:55:57] [PASSED] 30.04 Xe3_LPG [21:55:57] [PASSED] 30.05 Xe3_LPG [21:55:57] [PASSED] 35.10 Xe3p_LPG [21:55:57] [PASSED] 35.11 Xe3p_XPC [21:55:57] ================ [PASSED] check_graphics_ip ================ [21:55:57] ===================== check_media_ip ====================== [21:55:57] [PASSED] 12.00 Xe_M [21:55:57] [PASSED] 12.55 Xe_HPM [21:55:57] [PASSED] 13.00 Xe_LPM+ [21:55:57] [PASSED] 13.01 Xe2_HPM [21:55:57] [PASSED] 20.00 Xe2_LPM [21:55:57] [PASSED] 30.00 Xe3_LPM [21:55:57] [PASSED] 30.02 Xe3_LPM [21:55:57] [PASSED] 35.00 Xe3p_LPM [21:55:57] [PASSED] 35.03 Xe3p_HPM [21:55:57] ================= [PASSED] check_media_ip ================== [21:55:57] =================== check_platform_desc =================== [21:55:57] [PASSED] 0x9A60 (TIGERLAKE) [21:55:57] [PASSED] 0x9A68 (TIGERLAKE) [21:55:57] [PASSED] 0x9A70 (TIGERLAKE) [21:55:57] [PASSED] 0x9A40 (TIGERLAKE) [21:55:57] [PASSED] 0x9A49 (TIGERLAKE) [21:55:57] [PASSED] 0x9A59 (TIGERLAKE) [21:55:57] [PASSED] 0x9A78 (TIGERLAKE) [21:55:57] [PASSED] 0x9AC0 (TIGERLAKE) [21:55:57] [PASSED] 0x9AC9 (TIGERLAKE) [21:55:57] [PASSED] 0x9AD9 (TIGERLAKE) [21:55:57] [PASSED] 0x9AF8 (TIGERLAKE) [21:55:57] [PASSED] 0x4C80 (ROCKETLAKE) [21:55:57] [PASSED] 0x4C8A (ROCKETLAKE) [21:55:57] [PASSED] 0x4C8B (ROCKETLAKE) [21:55:57] [PASSED] 0x4C8C (ROCKETLAKE) [21:55:57] [PASSED] 0x4C90 (ROCKETLAKE) [21:55:57] [PASSED] 0x4C9A (ROCKETLAKE) [21:55:57] [PASSED] 0x4680 (ALDERLAKE_S) [21:55:57] [PASSED] 0x4682 (ALDERLAKE_S) [21:55:57] [PASSED] 0x4688 (ALDERLAKE_S) [21:55:57] [PASSED] 0x468A (ALDERLAKE_S) [21:55:57] [PASSED] 0x468B (ALDERLAKE_S) [21:55:57] [PASSED] 0x4690 (ALDERLAKE_S) [21:55:57] [PASSED] 0x4692 (ALDERLAKE_S) [21:55:57] [PASSED] 0x4693 (ALDERLAKE_S) [21:55:57] [PASSED] 0x46A0 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46A1 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46A2 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46A3 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46A6 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46A8 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46AA (ALDERLAKE_P) [21:55:57] [PASSED] 0x462A (ALDERLAKE_P) [21:55:57] [PASSED] 0x4626 (ALDERLAKE_P) [21:55:57] [PASSED] 0x4628 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46B0 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46B1 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46B2 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46B3 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46C0 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46C1 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46C2 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46C3 (ALDERLAKE_P) [21:55:57] [PASSED] 0x46D0 (ALDERLAKE_N) [21:55:57] [PASSED] 0x46D1 (ALDERLAKE_N) [21:55:57] [PASSED] 0x46D2 (ALDERLAKE_N) [21:55:57] [PASSED] 0x46D3 (ALDERLAKE_N) [21:55:57] [PASSED] 0x46D4 (ALDERLAKE_N) [21:55:57] [PASSED] 0xA721 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7A1 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7A9 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7AC (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7AD (ALDERLAKE_P) [21:55:57] [PASSED] 0xA720 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7A0 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7A8 (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7AA (ALDERLAKE_P) [21:55:57] [PASSED] 0xA7AB (ALDERLAKE_P) [21:55:57] [PASSED] 0xA780 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA781 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA782 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA783 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA788 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA789 (ALDERLAKE_S) [21:55:57] [PASSED] 0xA78A (ALDERLAKE_S) [21:55:57] [PASSED] 0xA78B (ALDERLAKE_S) [21:55:57] [PASSED] 0x4905 (DG1) [21:55:57] [PASSED] 0x4906 (DG1) [21:55:57] [PASSED] 0x4907 (DG1) [21:55:57] [PASSED] 0x4908 (DG1) [21:55:57] [PASSED] 0x4909 (DG1) [21:55:57] [PASSED] 0x56C0 (DG2) [21:55:57] [PASSED] 0x56C2 (DG2) [21:55:57] [PASSED] 0x56C1 (DG2) [21:55:57] [PASSED] 0x7D51 (METEORLAKE) [21:55:57] [PASSED] 0x7DD1 (METEORLAKE) [21:55:57] [PASSED] 0x7D41 (METEORLAKE) [21:55:57] [PASSED] 0x7D67 (METEORLAKE) [21:55:57] [PASSED] 0xB640 (METEORLAKE) [21:55:57] [PASSED] 0x56A0 (DG2) [21:55:57] [PASSED] 0x56A1 (DG2) [21:55:57] [PASSED] 0x56A2 (DG2) [21:55:57] [PASSED] 0x56BE (DG2) [21:55:57] [PASSED] 0x56BF (DG2) [21:55:57] [PASSED] 0x5690 (DG2) [21:55:57] [PASSED] 0x5691 (DG2) [21:55:57] [PASSED] 0x5692 (DG2) [21:55:57] [PASSED] 0x56A5 (DG2) [21:55:57] [PASSED] 0x56A6 (DG2) [21:55:57] [PASSED] 0x56B0 (DG2) [21:55:57] [PASSED] 0x56B1 (DG2) [21:55:57] [PASSED] 0x56BA (DG2) [21:55:57] [PASSED] 0x56BB (DG2) [21:55:57] [PASSED] 0x56BC (DG2) [21:55:57] [PASSED] 0x56BD (DG2) [21:55:57] [PASSED] 0x5693 (DG2) [21:55:57] [PASSED] 0x5694 (DG2) [21:55:57] [PASSED] 0x5695 (DG2) [21:55:57] [PASSED] 0x56A3 (DG2) [21:55:57] [PASSED] 0x56A4 (DG2) [21:55:57] [PASSED] 0x56B2 (DG2) [21:55:57] [PASSED] 0x56B3 (DG2) [21:55:57] [PASSED] 0x5696 (DG2) [21:55:57] [PASSED] 0x5697 (DG2) [21:55:57] [PASSED] 0xB69 (PVC) [21:55:57] [PASSED] 0xB6E (PVC) [21:55:57] [PASSED] 0xBD4 (PVC) [21:55:57] [PASSED] 0xBD5 (PVC) [21:55:57] [PASSED] 0xBD6 (PVC) [21:55:57] [PASSED] 0xBD7 (PVC) [21:55:57] [PASSED] 0xBD8 (PVC) [21:55:57] [PASSED] 0xBD9 (PVC) [21:55:57] [PASSED] 0xBDA (PVC) [21:55:57] [PASSED] 0xBDB (PVC) [21:55:57] [PASSED] 0xBE0 (PVC) [21:55:57] [PASSED] 0xBE1 (PVC) [21:55:57] [PASSED] 0xBE5 (PVC) [21:55:57] [PASSED] 0x7D40 (METEORLAKE) [21:55:57] [PASSED] 0x7D45 (METEORLAKE) [21:55:57] [PASSED] 0x7D55 (METEORLAKE) [21:55:57] [PASSED] 0x7D60 (METEORLAKE) [21:55:57] [PASSED] 0x7DD5 (METEORLAKE) [21:55:57] [PASSED] 0x6420 (LUNARLAKE) [21:55:57] [PASSED] 0x64A0 (LUNARLAKE) [21:55:57] [PASSED] 0x64B0 (LUNARLAKE) [21:55:57] [PASSED] 0xE202 (BATTLEMAGE) [21:55:57] [PASSED] 0xE209 (BATTLEMAGE) [21:55:57] [PASSED] 0xE20B (BATTLEMAGE) [21:55:57] [PASSED] 0xE20C (BATTLEMAGE) [21:55:57] [PASSED] 0xE20D (BATTLEMAGE) [21:55:57] [PASSED] 0xE210 (BATTLEMAGE) [21:55:57] [PASSED] 0xE211 (BATTLEMAGE) [21:55:57] [PASSED] 0xE212 (BATTLEMAGE) [21:55:57] [PASSED] 0xE216 (BATTLEMAGE) [21:55:57] [PASSED] 0xE220 (BATTLEMAGE) [21:55:57] [PASSED] 0xE221 (BATTLEMAGE) [21:55:57] [PASSED] 0xE222 (BATTLEMAGE) [21:55:57] [PASSED] 0xE223 (BATTLEMAGE) [21:55:57] [PASSED] 0xB080 (PANTHERLAKE) [21:55:57] [PASSED] 0xB081 (PANTHERLAKE) [21:55:57] [PASSED] 0xB082 (PANTHERLAKE) [21:55:57] [PASSED] 0xB083 (PANTHERLAKE) [21:55:57] [PASSED] 0xB084 (PANTHERLAKE) [21:55:57] [PASSED] 0xB085 (PANTHERLAKE) [21:55:57] [PASSED] 0xB086 (PANTHERLAKE) [21:55:57] [PASSED] 0xB087 (PANTHERLAKE) [21:55:57] [PASSED] 0xB08F (PANTHERLAKE) [21:55:57] [PASSED] 0xB090 (PANTHERLAKE) [21:55:57] [PASSED] 0xB0A0 (PANTHERLAKE) [21:55:57] [PASSED] 0xB0B0 (PANTHERLAKE) [21:55:57] [PASSED] 0xFD80 (PANTHERLAKE) [21:55:57] [PASSED] 0xFD81 (PANTHERLAKE) [21:55:57] [PASSED] 0xD740 (NOVALAKE_S) [21:55:57] [PASSED] 0xD741 (NOVALAKE_S) [21:55:57] [PASSED] 0xD742 (NOVALAKE_S) [21:55:57] [PASSED] 0xD743 (NOVALAKE_S) [21:55:57] [PASSED] 0xD745 (NOVALAKE_S) [21:55:57] [PASSED] 0xD74A (NOVALAKE_S) [21:55:57] [PASSED] 0xD74B (NOVALAKE_S) [21:55:57] [PASSED] 0x674C (CRESCENTISLAND) [21:55:57] [PASSED] 0x674D (CRESCENTISLAND) [21:55:57] [PASSED] 0x674E (CRESCENTISLAND) [21:55:57] [PASSED] 0x674F (CRESCENTISLAND) [21:55:57] [PASSED] 0x6750 (CRESCENTISLAND) [21:55:57] [PASSED] 0xD750 (NOVALAKE_P) [21:55:57] [PASSED] 0xD751 (NOVALAKE_P) [21:55:57] [PASSED] 0xD752 (NOVALAKE_P) [21:55:57] [PASSED] 0xD753 (NOVALAKE_P) [21:55:57] [PASSED] 0xD754 (NOVALAKE_P) [21:55:57] [PASSED] 0xD755 (NOVALAKE_P) [21:55:57] [PASSED] 0xD756 (NOVALAKE_P) [21:55:57] [PASSED] 0xD757 (NOVALAKE_P) [21:55:57] [PASSED] 0xD75F (NOVALAKE_P) [21:55:57] =============== [PASSED] check_platform_desc =============== [21:55:57] ===================== [PASSED] xe_pci ====================== [21:55:57] ============= xe_rtp_tables_test (5 subtests) ============== [21:55:57] ================== xe_rtp_table_gt_test =================== [21:55:57] [PASSED] gt_was/14011060649 [21:55:57] [PASSED] gt_was/14011059788 [21:55:57] [PASSED] gt_was/14015795083 [21:55:57] [PASSED] gt_was/16021867713 [21:55:57] [PASSED] gt_was/14019449301 [21:55:57] [PASSED] gt_was/16028005424 [21:55:57] [PASSED] gt_was/14026578760 [21:55:57] [PASSED] gt_was/1409420604 [21:55:57] [PASSED] gt_was/1408615072 [21:55:57] [PASSED] gt_was/22010523718 [21:55:57] [PASSED] gt_was/14011006942 [21:55:57] [PASSED] gt_was/14014830051 [21:55:57] [PASSED] gt_was/18018781329 [21:55:57] [PASSED] gt_was/1509235366 [21:55:57] [PASSED] gt_was/18018781329 [21:55:57] [PASSED] gt_was/16016694945 [21:55:57] [PASSED] gt_was/14018575942 [21:55:57] [PASSED] gt_was/22016670082 [21:55:57] [PASSED] gt_was/22016670082 [21:55:57] [PASSED] gt_was/14017421178 [21:55:57] [PASSED] gt_was/16025250150 [21:55:57] [PASSED] gt_was/14021871409 [21:55:57] [PASSED] gt_was/16021865536 [21:55:57] [PASSED] gt_was/14021486841 [21:55:57] [PASSED] gt_was/14025160223 [21:55:57] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [21:55:57] [PASSED] gt_was/14025635424 [21:55:57] [PASSED] gt_was/16028005424 [21:55:57] ============== [PASSED] xe_rtp_table_gt_test =============== [21:55:57] ================== xe_rtp_table_gt_test =================== [21:55:57] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [21:55:57] [PASSED] gt_tunings/Tuning: 32B Access Enable [21:55:57] [PASSED] gt_tunings/Tuning: L3 cache [21:55:57] [PASSED] gt_tunings/Tuning: L3 cache - media [21:55:57] [PASSED] gt_tunings/Tuning: Compression Overfetch [21:55:57] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [21:55:57] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [21:55:57] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [21:55:57] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [21:55:57] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [21:55:57] [PASSED] gt_tunings/Tuning: Stateless compression control [21:55:57] [PASSED] gt_tunings/Tuning: Stateless compression control - media [21:55:57] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [21:55:57] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [21:55:57] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [21:55:57] ============== [PASSED] xe_rtp_table_gt_test =============== [21:55:57] ================== xe_rtp_table_oob_test ================== [21:55:57] [PASSED] oob_was/1607983814 [21:55:57] [PASSED] oob_was/16010904313 [21:55:57] [PASSED] oob_was/18022495364 [21:55:57] [PASSED] oob_was/22012773006 [21:55:57] [PASSED] oob_was/14014475959 [21:55:57] [PASSED] oob_was/22011391025 [21:55:57] [PASSED] oob_was/22012727170 [21:55:57] [PASSED] oob_was/22012727685 [21:55:57] [PASSED] oob_was/22016596838 [21:55:57] [PASSED] oob_was/18020744125 [21:55:57] [PASSED] oob_was/1409600907 [21:55:57] [PASSED] oob_was/22014953428 [21:55:57] [PASSED] oob_was/16017236439 [21:55:57] [PASSED] oob_was/14019821291 [21:55:57] [PASSED] oob_was/14015076503 [21:55:57] [PASSED] oob_was/14018913170 [21:55:57] [PASSED] oob_was/14018094691 [21:55:57] [PASSED] oob_was/18024947630 [21:55:57] [PASSED] oob_was/16022287689 [21:55:57] [PASSED] oob_was/13011645652 [21:55:57] [PASSED] oob_was/14022293748 [21:55:57] [PASSED] oob_was/22019794406 [21:55:57] [PASSED] oob_was/22019338487 [21:55:57] [PASSED] oob_was/16023588340 [21:55:57] [PASSED] oob_was/14019789679 [21:55:57] [PASSED] oob_was/14022866841 [21:55:57] [PASSED] oob_was/16021333562 [21:55:57] [PASSED] oob_was/14016712196 [21:55:57] [PASSED] oob_was/14015568240 [21:55:57] [PASSED] oob_was/18013179988 [21:55:57] [PASSED] oob_was/1508761755 [21:55:57] [PASSED] oob_was/16023105232 [21:55:57] [PASSED] oob_was/16026508708 [21:55:57] [PASSED] oob_was/14020001231 [21:55:57] [PASSED] oob_was/16023683509 [21:55:57] [PASSED] oob_was/14025515070 [21:55:57] [PASSED] oob_was/15015404425_disable [21:55:57] [PASSED] oob_was/16026007364 [21:55:57] [PASSED] oob_was/14020316580 [21:55:57] [PASSED] oob_was/14025883347 [21:55:57] [PASSED] oob_was/16029380221 [21:55:57] ============== [PASSED] xe_rtp_table_oob_test ============== [21:55:57] ================ xe_rtp_table_dev_oob_test ================ [21:55:57] [PASSED] device_oob_was/22010954014 [21:55:57] [PASSED] device_oob_was/15015404425 [21:55:57] [PASSED] device_oob_was/22019338487_display [21:55:57] [PASSED] device_oob_was/14022085890 [21:55:57] [PASSED] device_oob_was/14026539277 [21:55:57] [PASSED] device_oob_was/14026633728 [21:55:57] [PASSED] device_oob_was/14026746987 [21:55:57] [PASSED] device_oob_was/14026779378 [21:55:57] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [21:55:57] ========== xe_rtp_table_missing_upper_bound_test ========== [21:55:57] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [21:55:57] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [21:55:57] [PASSED] register_whitelist/1806527549 [21:55:57] [PASSED] register_whitelist/allow_read_ctx_timestamp [21:55:57] [PASSED] register_whitelist/allow_read_queue_timestamp [21:55:57] [PASSED] register_whitelist/16014440446 [21:55:57] [PASSED] register_whitelist/16017236439 [21:55:57] [PASSED] register_whitelist/16020183090 [21:55:57] [PASSED] register_whitelist/14024997852 [21:55:57] [PASSED] register_whitelist/14024997852 [21:55:57] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [21:55:57] =============== [PASSED] xe_rtp_tables_test ================ [21:55:57] =================== xe_rtp (3 subtests) ==================== [21:55:57] =================== xe_rtp_rules_tests ==================== [21:55:57] [PASSED] no [21:55:57] [PASSED] yes [21:55:57] [PASSED] no-and-no [21:55:57] [PASSED] no-and-yes [21:55:57] [PASSED] yes-and-no [21:55:57] [PASSED] yes-and-yes [21:55:57] [PASSED] no-or-no [21:55:57] [PASSED] no-or-yes [21:55:57] [PASSED] yes-or-no [21:55:57] [PASSED] yes-or-yes [21:55:57] [PASSED] no-yes-or-yes-no [21:55:57] [PASSED] no-yes-or-yes-yes [21:55:57] [PASSED] yes-yes-or-no-yes [21:55:57] [PASSED] yes-yes-or-yes-yes [21:55:57] [PASSED] no-no-or-yes-or-no [21:55:57] [PASSED] or [21:55:57] [PASSED] or-yes [21:55:57] [PASSED] or-no [21:55:57] [PASSED] yes-or [21:55:57] [PASSED] no-or [21:55:57] [PASSED] no-or-or-yes [21:55:57] [PASSED] yes-or-or-no [21:55:57] [PASSED] no-or-or-no [21:55:57] [PASSED] missing-context-engine-class [21:55:57] [PASSED] missing-context-engine-class-or-yes [21:55:57] [PASSED] missing-context-engine-class-or-or-yes [21:55:57] =============== [PASSED] xe_rtp_rules_tests ================ [21:55:57] =============== xe_rtp_process_to_sr_tests ================ [21:55:57] [PASSED] coalesce-same-reg [21:55:57] [PASSED] coalesce-same-reg-literal-and-func [21:55:57] [PASSED] no-match-no-add [21:55:57] [PASSED] two-regs-two-entries [21:55:57] [PASSED] clr-one-set-other [21:55:57] [PASSED] set-field [21:55:57] [PASSED] conflict-duplicate [21:55:57] [PASSED] conflict-not-disjoint [21:55:57] [PASSED] conflict-not-disjoint-literal-and-func [21:55:57] [PASSED] conflict-reg-type [21:55:57] [PASSED] bad-mcr-reg-forced-to-regular [21:55:57] [PASSED] bad-regular-reg-forced-to-mcr [21:55:57] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [21:55:57] ================== xe_rtp_process_tests =================== [21:55:57] [PASSED] active1 [21:55:57] [PASSED] active2 [21:55:57] [PASSED] active-inactive [21:55:57] [PASSED] inactive-active [21:55:57] [PASSED] inactive-active-inactive [21:55:57] [PASSED] inactive-inactive-inactive [21:55:57] ============== [PASSED] xe_rtp_process_tests =============== [21:55:57] ===================== [PASSED] xe_rtp ====================== [21:55:57] ==================== xe_wa (1 subtest) ===================== [21:55:57] ======================== xe_wa_gt ========================= [21:55:57] [PASSED] TIGERLAKE B0 [21:55:57] [PASSED] DG1 A0 [21:55:57] [PASSED] DG1 B0 [21:55:57] [PASSED] ALDERLAKE_S A0 [21:55:57] [PASSED] ALDERLAKE_S B0 [21:55:57] [PASSED] ALDERLAKE_S C0 [21:55:57] [PASSED] ALDERLAKE_S D0 [21:55:57] [PASSED] ALDERLAKE_P A0 [21:55:57] [PASSED] ALDERLAKE_P B0 [21:55:57] [PASSED] ALDERLAKE_P C0 [21:55:57] [PASSED] ALDERLAKE_S RPLS D0 [21:55:57] [PASSED] ALDERLAKE_P RPLU E0 [21:55:57] [PASSED] DG2 G10 C0 [21:55:57] [PASSED] DG2 G11 B1 [21:55:57] [PASSED] DG2 G12 A1 [21:55:57] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:55:57] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:55:57] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [21:55:57] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [21:55:57] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [21:55:57] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [21:55:57] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [21:55:57] ==================== [PASSED] xe_wa_gt ===================== [21:55:57] ====================== [PASSED] xe_wa ====================== [21:55:57] ============================================================ [21:55:57] Testing complete. Ran 729 tests: passed: 711, skipped: 18 [21:55:57] Elapsed time: 36.814s total, 4.373s configuring, 31.725s building, 0.662s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [21:55:58] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:55:59] 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 [21:56:24] Starting KUnit Kernel (1/1)... [21:56:24] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:56:24] ============ drm_test_pick_cmdline (2 subtests) ============ [21:56:24] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [21:56:24] =============== drm_test_pick_cmdline_named =============== [21:56:24] [PASSED] NTSC [21:56:24] [PASSED] NTSC-J [21:56:24] [PASSED] PAL [21:56:24] [PASSED] PAL-M [21:56:24] =========== [PASSED] drm_test_pick_cmdline_named =========== [21:56:24] ============== [PASSED] drm_test_pick_cmdline ============== [21:56:24] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [21:56:24] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [21:56:24] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [21:56:24] =========== drm_validate_clone_mode (2 subtests) =========== [21:56:24] ============== drm_test_check_in_clone_mode =============== [21:56:24] [PASSED] in_clone_mode [21:56:24] [PASSED] not_in_clone_mode [21:56:24] ========== [PASSED] drm_test_check_in_clone_mode =========== [21:56:24] =============== drm_test_check_valid_clones =============== [21:56:24] [PASSED] not_in_clone_mode [21:56:24] [PASSED] valid_clone [21:56:24] [PASSED] invalid_clone [21:56:24] =========== [PASSED] drm_test_check_valid_clones =========== [21:56:24] ============= [PASSED] drm_validate_clone_mode ============= [21:56:24] ============= drm_validate_modeset (1 subtest) ============= [21:56:24] [PASSED] drm_test_check_connector_changed_modeset [21:56:24] ============== [PASSED] drm_validate_modeset =============== [21:56:24] ====== drm_test_bridge_get_current_state (2 subtests) ====== [21:56:24] [PASSED] drm_test_drm_bridge_get_current_state_atomic [21:56:24] [PASSED] drm_test_drm_bridge_get_current_state_legacy [21:56:24] ======== [PASSED] drm_test_bridge_get_current_state ======== [21:56:24] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [21:56:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [21:56:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [21:56:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [21:56:24] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [21:56:24] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [21:56:24] ============== drm_bridge_alloc (2 subtests) =============== [21:56:24] [PASSED] drm_test_drm_bridge_alloc_basic [21:56:24] [PASSED] drm_test_drm_bridge_alloc_get_put [21:56:24] ================ [PASSED] drm_bridge_alloc ================= [21:56:24] ============= drm_bridge_bus_fmt (5 subtests) ============== [21:56:24] [PASSED] drm_test_bridge_rgb_yuv_rgb [21:56:24] [PASSED] drm_test_bridge_must_convert_to_yuv444 [21:56:24] [PASSED] drm_test_bridge_hdmi_auto_rgb [21:56:24] [PASSED] drm_test_bridge_auto_first [21:56:24] [PASSED] drm_test_bridge_rgb_yuv_no_path [21:56:24] =============== [PASSED] drm_bridge_bus_fmt ================ [21:56:24] ============= drm_cmdline_parser (40 subtests) ============= [21:56:24] [PASSED] drm_test_cmdline_force_d_only [21:56:24] [PASSED] drm_test_cmdline_force_D_only_dvi [21:56:24] [PASSED] drm_test_cmdline_force_D_only_hdmi [21:56:24] [PASSED] drm_test_cmdline_force_D_only_not_digital [21:56:24] [PASSED] drm_test_cmdline_force_e_only [21:56:24] [PASSED] drm_test_cmdline_res [21:56:24] [PASSED] drm_test_cmdline_res_vesa [21:56:24] [PASSED] drm_test_cmdline_res_vesa_rblank [21:56:24] [PASSED] drm_test_cmdline_res_rblank [21:56:24] [PASSED] drm_test_cmdline_res_bpp [21:56:24] [PASSED] drm_test_cmdline_res_refresh [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [21:56:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [21:56:24] [PASSED] drm_test_cmdline_res_margins_force_on [21:56:24] [PASSED] drm_test_cmdline_res_vesa_margins [21:56:24] [PASSED] drm_test_cmdline_name [21:56:24] [PASSED] drm_test_cmdline_name_bpp [21:56:24] [PASSED] drm_test_cmdline_name_option [21:56:24] [PASSED] drm_test_cmdline_name_bpp_option [21:56:24] [PASSED] drm_test_cmdline_rotate_0 [21:56:24] [PASSED] drm_test_cmdline_rotate_90 [21:56:24] [PASSED] drm_test_cmdline_rotate_180 [21:56:24] [PASSED] drm_test_cmdline_rotate_270 [21:56:24] [PASSED] drm_test_cmdline_hmirror [21:56:24] [PASSED] drm_test_cmdline_vmirror [21:56:24] [PASSED] drm_test_cmdline_margin_options [21:56:24] [PASSED] drm_test_cmdline_multiple_options [21:56:24] [PASSED] drm_test_cmdline_bpp_extra_and_option [21:56:24] [PASSED] drm_test_cmdline_extra_and_option [21:56:24] [PASSED] drm_test_cmdline_freestanding_options [21:56:24] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [21:56:24] [PASSED] drm_test_cmdline_panel_orientation [21:56:24] ================ drm_test_cmdline_invalid ================= [21:56:24] [PASSED] margin_only [21:56:24] [PASSED] interlace_only [21:56:24] [PASSED] res_missing_x [21:56:24] [PASSED] res_missing_y [21:56:24] [PASSED] res_bad_y [21:56:24] [PASSED] res_missing_y_bpp [21:56:24] [PASSED] res_bad_bpp [21:56:24] [PASSED] res_bad_refresh [21:56:24] [PASSED] res_bpp_refresh_force_on_off [21:56:24] [PASSED] res_invalid_mode [21:56:24] [PASSED] res_bpp_wrong_place_mode [21:56:24] [PASSED] name_bpp_refresh [21:56:24] [PASSED] name_refresh [21:56:24] [PASSED] name_refresh_wrong_mode [21:56:24] [PASSED] name_refresh_invalid_mode [21:56:24] [PASSED] rotate_multiple [21:56:24] [PASSED] rotate_invalid_val [21:56:24] [PASSED] rotate_truncated [21:56:24] [PASSED] invalid_option [21:56:24] [PASSED] invalid_tv_option [21:56:24] [PASSED] truncated_tv_option [21:56:24] ============ [PASSED] drm_test_cmdline_invalid ============= [21:56:24] =============== drm_test_cmdline_tv_options =============== [21:56:24] [PASSED] NTSC [21:56:24] [PASSED] NTSC_443 [21:56:24] [PASSED] NTSC_J [21:56:24] [PASSED] PAL [21:56:24] [PASSED] PAL_M [21:56:24] [PASSED] PAL_N [21:56:24] [PASSED] SECAM [21:56:24] [PASSED] MONO_525 [21:56:24] [PASSED] MONO_625 [21:56:24] =========== [PASSED] drm_test_cmdline_tv_options =========== [21:56:24] =============== [PASSED] drm_cmdline_parser ================ [21:56:24] ========== drmm_connector_hdmi_init (20 subtests) ========== [21:56:24] [PASSED] drm_test_connector_hdmi_init_valid [21:56:24] [PASSED] drm_test_connector_hdmi_init_bpc_8 [21:56:24] [PASSED] drm_test_connector_hdmi_init_bpc_10 [21:56:24] [PASSED] drm_test_connector_hdmi_init_bpc_12 [21:56:24] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [21:56:24] [PASSED] drm_test_connector_hdmi_init_bpc_null [21:56:24] [PASSED] drm_test_connector_hdmi_init_formats_empty [21:56:24] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [21:56:24] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:56:24] [PASSED] supported_formats=0x9 yuv420_allowed=1 [21:56:24] [PASSED] supported_formats=0x9 yuv420_allowed=0 [21:56:24] [PASSED] supported_formats=0x5 yuv420_allowed=1 [21:56:24] [PASSED] supported_formats=0x5 yuv420_allowed=0 [21:56:24] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:56:24] [PASSED] drm_test_connector_hdmi_init_null_ddc [21:56:24] [PASSED] drm_test_connector_hdmi_init_null_product [21:56:24] [PASSED] drm_test_connector_hdmi_init_null_vendor [21:56:24] [PASSED] drm_test_connector_hdmi_init_product_length_exact [21:56:24] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [21:56:24] [PASSED] drm_test_connector_hdmi_init_product_valid [21:56:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [21:56:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [21:56:24] [PASSED] drm_test_connector_hdmi_init_vendor_valid [21:56:24] ========= drm_test_connector_hdmi_init_type_valid ========= [21:56:24] [PASSED] HDMI-A [21:56:24] [PASSED] HDMI-B [21:56:24] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [21:56:24] ======== drm_test_connector_hdmi_init_type_invalid ======== [21:56:24] [PASSED] Unknown [21:56:24] [PASSED] VGA [21:56:24] [PASSED] DVI-I [21:56:24] [PASSED] DVI-D [21:56:24] [PASSED] DVI-A [21:56:24] [PASSED] Composite [21:56:24] [PASSED] SVIDEO [21:56:24] [PASSED] LVDS [21:56:24] [PASSED] Component [21:56:24] [PASSED] DIN [21:56:24] [PASSED] DP [21:56:24] [PASSED] TV [21:56:24] [PASSED] eDP [21:56:24] [PASSED] Virtual [21:56:24] [PASSED] DSI [21:56:24] [PASSED] DPI [21:56:24] [PASSED] Writeback [21:56:24] [PASSED] SPI [21:56:24] [PASSED] USB [21:56:24] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [21:56:24] ============ [PASSED] drmm_connector_hdmi_init ============= [21:56:24] ============= drmm_connector_init (3 subtests) ============= [21:56:24] [PASSED] drm_test_drmm_connector_init [21:56:24] [PASSED] drm_test_drmm_connector_init_null_ddc [21:56:24] ========= drm_test_drmm_connector_init_type_valid ========= [21:56:24] [PASSED] Unknown [21:56:24] [PASSED] VGA [21:56:24] [PASSED] DVI-I [21:56:24] [PASSED] DVI-D [21:56:24] [PASSED] DVI-A [21:56:24] [PASSED] Composite [21:56:24] [PASSED] SVIDEO [21:56:24] [PASSED] LVDS [21:56:24] [PASSED] Component [21:56:24] [PASSED] DIN [21:56:24] [PASSED] DP [21:56:24] [PASSED] HDMI-A [21:56:24] [PASSED] HDMI-B [21:56:24] [PASSED] TV [21:56:24] [PASSED] eDP [21:56:24] [PASSED] Virtual [21:56:24] [PASSED] DSI [21:56:24] [PASSED] DPI [21:56:24] [PASSED] Writeback [21:56:24] [PASSED] SPI [21:56:24] [PASSED] USB [21:56:24] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [21:56:24] =============== [PASSED] drmm_connector_init =============== [21:56:24] ========= drm_connector_dynamic_init (6 subtests) ========== [21:56:24] [PASSED] drm_test_drm_connector_dynamic_init [21:56:24] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [21:56:24] [PASSED] drm_test_drm_connector_dynamic_init_not_added [21:56:24] [PASSED] drm_test_drm_connector_dynamic_init_properties [21:56:24] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [21:56:24] [PASSED] Unknown [21:56:24] [PASSED] VGA [21:56:24] [PASSED] DVI-I [21:56:24] [PASSED] DVI-D [21:56:24] [PASSED] DVI-A [21:56:24] [PASSED] Composite [21:56:24] [PASSED] SVIDEO [21:56:24] [PASSED] LVDS [21:56:24] [PASSED] Component [21:56:24] [PASSED] DIN [21:56:24] [PASSED] DP [21:56:24] [PASSED] HDMI-A [21:56:24] [PASSED] HDMI-B [21:56:24] [PASSED] TV [21:56:24] [PASSED] eDP [21:56:24] [PASSED] Virtual [21:56:24] [PASSED] DSI [21:56:24] [PASSED] DPI [21:56:24] [PASSED] Writeback [21:56:24] [PASSED] SPI [21:56:24] [PASSED] USB [21:56:24] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [21:56:24] ======== drm_test_drm_connector_dynamic_init_name ========= [21:56:24] [PASSED] Unknown [21:56:24] [PASSED] VGA [21:56:24] [PASSED] DVI-I [21:56:24] [PASSED] DVI-D [21:56:24] [PASSED] DVI-A [21:56:24] [PASSED] Composite [21:56:24] [PASSED] SVIDEO [21:56:24] [PASSED] LVDS [21:56:24] [PASSED] Component [21:56:24] [PASSED] DIN [21:56:24] [PASSED] DP [21:56:24] [PASSED] HDMI-A [21:56:24] [PASSED] HDMI-B [21:56:24] [PASSED] TV [21:56:24] [PASSED] eDP [21:56:24] [PASSED] Virtual [21:56:24] [PASSED] DSI [21:56:24] [PASSED] DPI [21:56:24] [PASSED] Writeback [21:56:24] [PASSED] SPI [21:56:24] [PASSED] USB [21:56:24] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [21:56:24] =========== [PASSED] drm_connector_dynamic_init ============ [21:56:24] ==== drm_connector_dynamic_register_early (4 subtests) ===== [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [21:56:24] ====== [PASSED] drm_connector_dynamic_register_early ======= [21:56:24] ======= drm_connector_dynamic_register (7 subtests) ======== [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_on_list [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_no_init [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [21:56:24] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [21:56:24] ========= [PASSED] drm_connector_dynamic_register ========== [21:56:24] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [21:56:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [21:56:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [21:56:24] === [PASSED] drm_connector_attach_broadcast_rgb_property === [21:56:24] ========== drm_get_tv_mode_from_name (2 subtests) ========== [21:56:24] ========== drm_test_get_tv_mode_from_name_valid =========== [21:56:24] [PASSED] NTSC [21:56:24] [PASSED] NTSC-443 [21:56:24] [PASSED] NTSC-J [21:56:24] [PASSED] PAL [21:56:24] [PASSED] PAL-M [21:56:24] [PASSED] PAL-N [21:56:24] [PASSED] SECAM [21:56:24] [PASSED] Mono [21:56:24] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [21:56:24] [PASSED] drm_test_get_tv_mode_from_name_truncated [21:56:24] ============ [PASSED] drm_get_tv_mode_from_name ============ [21:56:24] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [21:56:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [21:56:24] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [21:56:24] [PASSED] VIC 96 [21:56:24] [PASSED] VIC 97 [21:56:24] [PASSED] VIC 101 [21:56:24] [PASSED] VIC 102 [21:56:24] [PASSED] VIC 106 [21:56:24] [PASSED] VIC 107 [21:56:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [21:56:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [21:56:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [21:56:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [21:56:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [21:56:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [21:56:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [21:56:24] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [21:56:24] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [21:56:24] [PASSED] Automatic [21:56:24] [PASSED] Full [21:56:24] [PASSED] Limited 16:235 [21:56:24] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [21:56:24] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [21:56:24] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [21:56:24] == drm_hdmi_connector_get_output_format_name (2 subtests) == [21:56:24] === drm_test_drm_hdmi_connector_get_output_format_name ==== [21:56:24] [PASSED] RGB [21:56:24] [PASSED] YUV 4:2:0 [21:56:24] [PASSED] YUV 4:2:2 [21:56:24] [PASSED] YUV 4:4:4 [21:56:24] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [21:56:24] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [21:56:24] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [21:56:24] ============= drm_damage_helper (21 subtests) ============== [21:56:24] [PASSED] drm_test_damage_iter_no_damage [21:56:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src [21:56:24] [PASSED] drm_test_damage_iter_no_damage_src_moved [21:56:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [21:56:24] [PASSED] drm_test_damage_iter_no_damage_not_visible [21:56:24] [PASSED] drm_test_damage_iter_no_damage_no_crtc [21:56:24] [PASSED] drm_test_damage_iter_no_damage_no_fb [21:56:24] [PASSED] drm_test_damage_iter_simple_damage [21:56:24] [PASSED] drm_test_damage_iter_single_damage [21:56:24] [PASSED] drm_test_damage_iter_single_damage_intersect_src [21:56:24] [PASSED] drm_test_damage_iter_single_damage_outside_src [21:56:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src [21:56:24] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [21:56:24] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [21:56:24] [PASSED] drm_test_damage_iter_single_damage_src_moved [21:56:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [21:56:24] [PASSED] drm_test_damage_iter_damage [21:56:24] [PASSED] drm_test_damage_iter_damage_one_intersect [21:56:24] [PASSED] drm_test_damage_iter_damage_one_outside [21:56:24] [PASSED] drm_test_damage_iter_damage_src_moved [21:56:24] [PASSED] drm_test_damage_iter_damage_not_visible [21:56:24] ================ [PASSED] drm_damage_helper ================ [21:56:24] ============== drm_dp_mst_helper (3 subtests) ============== [21:56:24] ============== drm_test_dp_mst_calc_pbn_mode ============== [21:56:24] [PASSED] Clock 154000 BPP 30 DSC disabled [21:56:24] [PASSED] Clock 234000 BPP 30 DSC disabled [21:56:24] [PASSED] Clock 297000 BPP 24 DSC disabled [21:56:24] [PASSED] Clock 332880 BPP 24 DSC enabled [21:56:24] [PASSED] Clock 324540 BPP 24 DSC enabled [21:56:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [21:56:24] ============== drm_test_dp_mst_calc_pbn_div =============== [21:56:24] [PASSED] Link rate 2000000 lane count 4 [21:56:24] [PASSED] Link rate 2000000 lane count 2 [21:56:24] [PASSED] Link rate 2000000 lane count 1 [21:56:24] [PASSED] Link rate 1350000 lane count 4 [21:56:24] [PASSED] Link rate 1350000 lane count 2 [21:56:24] [PASSED] Link rate 1350000 lane count 1 [21:56:24] [PASSED] Link rate 1000000 lane count 4 [21:56:24] [PASSED] Link rate 1000000 lane count 2 [21:56:24] [PASSED] Link rate 1000000 lane count 1 [21:56:24] [PASSED] Link rate 810000 lane count 4 [21:56:24] [PASSED] Link rate 810000 lane count 2 [21:56:24] [PASSED] Link rate 810000 lane count 1 [21:56:24] [PASSED] Link rate 540000 lane count 4 [21:56:24] [PASSED] Link rate 540000 lane count 2 [21:56:24] [PASSED] Link rate 540000 lane count 1 [21:56:24] [PASSED] Link rate 270000 lane count 4 [21:56:24] [PASSED] Link rate 270000 lane count 2 [21:56:24] [PASSED] Link rate 270000 lane count 1 [21:56:24] [PASSED] Link rate 162000 lane count 4 [21:56:24] [PASSED] Link rate 162000 lane count 2 [21:56:24] [PASSED] Link rate 162000 lane count 1 [21:56:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [21:56:24] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [21:56:24] [PASSED] DP_ENUM_PATH_RESOURCES with port number [21:56:24] [PASSED] DP_POWER_UP_PHY with port number [21:56:24] [PASSED] DP_POWER_DOWN_PHY with port number [21:56:24] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [21:56:24] [PASSED] DP_ALLOCATE_PAYLOAD with port number [21:56:24] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [21:56:24] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [21:56:24] [PASSED] DP_QUERY_PAYLOAD with port number [21:56:24] [PASSED] DP_QUERY_PAYLOAD with VCPI [21:56:24] [PASSED] DP_REMOTE_DPCD_READ with port number [21:56:24] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [21:56:24] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [21:56:24] [PASSED] DP_REMOTE_DPCD_WRITE with port number [21:56:24] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [21:56:24] [PASSED] DP_REMOTE_DPCD_WRITE with data array [21:56:24] [PASSED] DP_REMOTE_I2C_READ with port number [21:56:24] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [21:56:24] [PASSED] DP_REMOTE_I2C_READ with transactions array [21:56:24] [PASSED] DP_REMOTE_I2C_WRITE with port number [21:56:24] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [21:56:24] [PASSED] DP_REMOTE_I2C_WRITE with data array [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [21:56:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [21:56:24] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [21:56:24] ================ [PASSED] drm_dp_mst_helper ================ [21:56:24] ================== drm_exec (7 subtests) =================== [21:56:24] [PASSED] sanitycheck [21:56:24] [PASSED] test_lock [21:56:24] [PASSED] test_lock_unlock [21:56:24] [PASSED] test_duplicates [21:56:24] [PASSED] test_prepare [21:56:24] [PASSED] test_prepare_array [21:56:24] [PASSED] test_multiple_loops [21:56:24] ==================== [PASSED] drm_exec ===================== [21:56:24] =========== drm_format_helper_test (17 subtests) =========== [21:56:24] ============== drm_test_fb_xrgb8888_to_gray8 ============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [21:56:24] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [21:56:24] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [21:56:24] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [21:56:24] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [21:56:24] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [21:56:24] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [21:56:24] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [21:56:24] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [21:56:24] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [21:56:24] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [21:56:24] ============== drm_test_fb_xrgb8888_to_mono =============== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [21:56:24] ==================== drm_test_fb_swab ===================== [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ================ [PASSED] drm_test_fb_swab ================= [21:56:24] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [21:56:24] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [21:56:24] [PASSED] single_pixel_source_buffer [21:56:24] [PASSED] single_pixel_clip_rectangle [21:56:24] [PASSED] well_known_colors [21:56:24] [PASSED] destination_pitch [21:56:24] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [21:56:24] ================= drm_test_fb_clip_offset ================= [21:56:24] [PASSED] pass through [21:56:24] [PASSED] horizontal offset [21:56:24] [PASSED] vertical offset [21:56:24] [PASSED] horizontal and vertical offset [21:56:24] [PASSED] horizontal offset (custom pitch) [21:56:24] [PASSED] vertical offset (custom pitch) [21:56:24] [PASSED] horizontal and vertical offset (custom pitch) [21:56:24] ============= [PASSED] drm_test_fb_clip_offset ============= [21:56:24] =================== drm_test_fb_memcpy ==================== [21:56:24] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [21:56:24] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [21:56:24] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [21:56:24] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [21:56:24] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [21:56:24] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [21:56:24] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [21:56:24] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [21:56:24] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [21:56:24] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [21:56:24] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [21:56:24] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [21:56:24] =============== [PASSED] drm_test_fb_memcpy ================ [21:56:24] ============= [PASSED] drm_format_helper_test ============== [21:56:24] ================= drm_format (18 subtests) ================= [21:56:24] [PASSED] drm_test_format_block_width_invalid [21:56:24] [PASSED] drm_test_format_block_width_one_plane [21:56:24] [PASSED] drm_test_format_block_width_two_plane [21:56:24] [PASSED] drm_test_format_block_width_three_plane [21:56:24] [PASSED] drm_test_format_block_width_tiled [21:56:24] [PASSED] drm_test_format_block_height_invalid [21:56:24] [PASSED] drm_test_format_block_height_one_plane [21:56:24] [PASSED] drm_test_format_block_height_two_plane [21:56:24] [PASSED] drm_test_format_block_height_three_plane [21:56:24] [PASSED] drm_test_format_block_height_tiled [21:56:24] [PASSED] drm_test_format_min_pitch_invalid [21:56:24] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [21:56:24] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [21:56:24] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [21:56:24] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [21:56:24] [PASSED] drm_test_format_min_pitch_two_plane [21:56:24] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [21:56:24] [PASSED] drm_test_format_min_pitch_tiled [21:56:24] =================== [PASSED] drm_format ==================== [21:56:24] ============== drm_framebuffer (10 subtests) =============== [21:56:24] ========== drm_test_framebuffer_check_src_coords ========== [21:56:24] [PASSED] Success: source fits into fb [21:56:24] [PASSED] Fail: overflowing fb with x-axis coordinate [21:56:24] [PASSED] Fail: overflowing fb with y-axis coordinate [21:56:24] [PASSED] Fail: overflowing fb with source width [21:56:24] [PASSED] Fail: overflowing fb with source height [21:56:24] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [21:56:24] [PASSED] drm_test_framebuffer_cleanup [21:56:24] =============== drm_test_framebuffer_create =============== [21:56:24] [PASSED] ABGR8888 normal sizes [21:56:24] [PASSED] ABGR8888 max sizes [21:56:24] [PASSED] ABGR8888 pitch greater than min required [21:56:24] [PASSED] ABGR8888 pitch less than min required [21:56:24] [PASSED] ABGR8888 Invalid width [21:56:24] [PASSED] ABGR8888 Invalid buffer handle [21:56:24] [PASSED] No pixel format [21:56:24] [PASSED] ABGR8888 Width 0 [21:56:24] [PASSED] ABGR8888 Height 0 [21:56:24] [PASSED] ABGR8888 Out of bound height * pitch combination [21:56:24] [PASSED] ABGR8888 Large buffer offset [21:56:24] [PASSED] ABGR8888 Buffer offset for inexistent plane [21:56:24] [PASSED] ABGR8888 Invalid flag [21:56:24] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [21:56:24] [PASSED] ABGR8888 Valid buffer modifier [21:56:24] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [21:56:24] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] NV12 Normal sizes [21:56:24] [PASSED] NV12 Max sizes [21:56:24] [PASSED] NV12 Invalid pitch [21:56:24] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [21:56:24] [PASSED] NV12 different modifier per-plane [21:56:24] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [21:56:24] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] NV12 Modifier for inexistent plane [21:56:24] [PASSED] NV12 Handle for inexistent plane [21:56:24] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [21:56:24] [PASSED] YVU420 Normal sizes [21:56:24] [PASSED] YVU420 Max sizes [21:56:24] [PASSED] YVU420 Invalid pitch [21:56:24] [PASSED] YVU420 Different pitches [21:56:24] [PASSED] YVU420 Different buffer offsets/pitches [21:56:24] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [21:56:24] [PASSED] YVU420 Valid modifier [21:56:24] [PASSED] YVU420 Different modifiers per plane [21:56:24] [PASSED] YVU420 Modifier for inexistent plane [21:56:24] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [21:56:24] [PASSED] X0L2 Normal sizes [21:56:24] [PASSED] X0L2 Max sizes [21:56:24] [PASSED] X0L2 Invalid pitch [21:56:24] [PASSED] X0L2 Pitch greater than minimum required [21:56:24] [PASSED] X0L2 Handle for inexistent plane [21:56:24] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [21:56:24] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [21:56:24] [PASSED] X0L2 Valid modifier [21:56:24] [PASSED] X0L2 Modifier for inexistent plane [21:56:24] =========== [PASSED] drm_test_framebuffer_create =========== [21:56:24] [PASSED] drm_test_framebuffer_free [21:56:24] [PASSED] drm_test_framebuffer_init [21:56:24] [PASSED] drm_test_framebuffer_init_bad_format [21:56:24] [PASSED] drm_test_framebuffer_init_dev_mismatch [21:56:24] [PASSED] drm_test_framebuffer_lookup [21:56:24] [PASSED] drm_test_framebuffer_lookup_inexistent [21:56:24] [PASSED] drm_test_framebuffer_modifiers_not_supported [21:56:24] ================= [PASSED] drm_framebuffer ================= [21:56:24] ================ drm_gem_shmem (8 subtests) ================ [21:56:24] [PASSED] drm_gem_shmem_test_obj_create [21:56:24] [PASSED] drm_gem_shmem_test_obj_create_private [21:56:24] [PASSED] drm_gem_shmem_test_pin_pages [21:56:24] [PASSED] drm_gem_shmem_test_vmap [21:56:24] [PASSED] drm_gem_shmem_test_get_sg_table [21:56:24] [PASSED] drm_gem_shmem_test_get_pages_sgt [21:56:24] [PASSED] drm_gem_shmem_test_madvise [21:56:24] [PASSED] drm_gem_shmem_test_purge [21:56:24] ================== [PASSED] drm_gem_shmem ================== [21:56:24] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [21:56:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [21:56:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [21:56:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [21:56:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [21:56:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [21:56:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [21:56:24] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [21:56:24] [PASSED] Automatic [21:56:24] [PASSED] Full [21:56:24] [PASSED] Limited 16:235 [21:56:24] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [21:56:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [21:56:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [21:56:24] [PASSED] drm_test_check_disable_connector [21:56:24] [PASSED] drm_test_check_hdmi_funcs_reject_rate [21:56:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [21:56:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [21:56:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [21:56:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [21:56:24] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [21:56:24] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [21:56:24] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [21:56:24] [PASSED] drm_test_check_output_bpc_dvi [21:56:24] [PASSED] drm_test_check_output_bpc_format_vic_1 [21:56:24] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [21:56:24] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [21:56:24] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [21:56:24] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [21:56:24] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [21:56:24] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [21:56:24] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [21:56:24] ============ drm_test_check_hdmi_color_format ============= [21:56:24] [PASSED] AUTO -> RGB [21:56:24] [PASSED] YCBCR422 -> YUV422 [21:56:24] [PASSED] YCBCR420 -> YUV420 [21:56:24] [PASSED] YCBCR444 -> YUV444 [21:56:24] [PASSED] RGB -> RGB [21:56:24] ======== [PASSED] drm_test_check_hdmi_color_format ========= [21:56:24] ======== drm_test_check_hdmi_color_format_420_only ======== [21:56:24] [PASSED] RGB should fail [21:56:24] [PASSED] YUV444 should fail [21:56:24] [PASSED] YUV422 should fail [21:56:24] [PASSED] YUV420 should work [21:56:24] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [21:56:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [21:56:24] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [21:56:24] [PASSED] drm_test_check_broadcast_rgb_value [21:56:24] [PASSED] drm_test_check_bpc_8_value [21:56:24] [PASSED] drm_test_check_bpc_10_value [21:56:24] [PASSED] drm_test_check_bpc_12_value [21:56:24] [PASSED] drm_test_check_format_value [21:56:24] [PASSED] drm_test_check_tmds_char_value [21:56:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [21:56:24] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [21:56:24] [PASSED] drm_test_check_mode_valid [21:56:24] [PASSED] drm_test_check_mode_valid_reject [21:56:24] [PASSED] drm_test_check_mode_valid_reject_rate [21:56:24] [PASSED] drm_test_check_mode_valid_reject_max_clock [21:56:24] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [21:56:24] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [21:56:24] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [21:56:24] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [21:56:24] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [21:56:24] [PASSED] drm_test_check_infoframes [21:56:24] [PASSED] drm_test_check_reject_avi_infoframe [21:56:24] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [21:56:24] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [21:56:24] [PASSED] drm_test_check_reject_audio_infoframe [21:56:24] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [21:56:24] ================= drm_managed (2 subtests) ================= [21:56:24] [PASSED] drm_test_managed_release_action [21:56:24] [PASSED] drm_test_managed_run_action [21:56:24] =================== [PASSED] drm_managed =================== [21:56:24] =================== drm_mm (6 subtests) ==================== [21:56:24] [PASSED] drm_test_mm_init [21:56:24] [PASSED] drm_test_mm_debug [21:56:24] [PASSED] drm_test_mm_align32 [21:56:24] [PASSED] drm_test_mm_align64 [21:56:24] [PASSED] drm_test_mm_lowest [21:56:24] [PASSED] drm_test_mm_highest [21:56:24] ===================== [PASSED] drm_mm ====================== [21:56:24] ============= drm_modes_analog_tv (5 subtests) ============= [21:56:24] [PASSED] drm_test_modes_analog_tv_mono_576i [21:56:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i [21:56:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [21:56:24] [PASSED] drm_test_modes_analog_tv_pal_576i [21:56:24] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [21:56:24] =============== [PASSED] drm_modes_analog_tv =============== [21:56:24] ============== drm_plane_helper (2 subtests) =============== [21:56:24] =============== drm_test_check_plane_state ================ [21:56:24] [PASSED] clipping_simple [21:56:24] [PASSED] clipping_rotate_reflect [21:56:24] [PASSED] positioning_simple [21:56:24] [PASSED] upscaling [21:56:24] [PASSED] downscaling [21:56:24] [PASSED] rounding1 [21:56:24] [PASSED] rounding2 [21:56:24] [PASSED] rounding3 [21:56:24] [PASSED] rounding4 [21:56:24] =========== [PASSED] drm_test_check_plane_state ============ [21:56:24] =========== drm_test_check_invalid_plane_state ============ [21:56:24] [PASSED] positioning_invalid [21:56:24] [PASSED] upscaling_invalid [21:56:24] [PASSED] downscaling_invalid [21:56:24] ======= [PASSED] drm_test_check_invalid_plane_state ======== [21:56:24] ================ [PASSED] drm_plane_helper ================= [21:56:24] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [21:56:24] ====== drm_test_connector_helper_tv_get_modes_check ======= [21:56:24] [PASSED] None [21:56:24] [PASSED] PAL [21:56:24] [PASSED] NTSC [21:56:24] [PASSED] Both, NTSC Default [21:56:24] [PASSED] Both, PAL Default [21:56:24] [PASSED] Both, NTSC Default, with PAL on command-line [21:56:24] [PASSED] Both, PAL Default, with NTSC on command-line [21:56:24] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [21:56:24] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [21:56:24] ================== drm_rect (9 subtests) =================== [21:56:24] [PASSED] drm_test_rect_clip_scaled_div_by_zero [21:56:24] [PASSED] drm_test_rect_clip_scaled_not_clipped [21:56:24] [PASSED] drm_test_rect_clip_scaled_clipped [21:56:24] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [21:56:24] ================= drm_test_rect_intersect ================= [21:56:24] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [21:56:24] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [21:56:24] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [21:56:24] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [21:56:24] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [21:56:24] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [21:56:24] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [21:56:24] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [21:56:24] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [21:56:24] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [21:56:24] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [21:56:24] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [21:56:24] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [21:56:24] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [21:56:24] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [21:56:24] ============= [PASSED] drm_test_rect_intersect ============= [21:56:24] ================ drm_test_rect_calc_hscale ================ [21:56:24] [PASSED] normal use [21:56:24] [PASSED] out of max range [21:56:24] [PASSED] out of min range [21:56:24] [PASSED] zero dst [21:56:24] [PASSED] negative src [21:56:24] [PASSED] negative dst [21:56:24] ============ [PASSED] drm_test_rect_calc_hscale ============ [21:56:24] ================ drm_test_rect_calc_vscale ================ [21:56:24] [PASSED] normal use [21:56:24] [PASSED] out of max range [21:56:24] [PASSED] out of min range [21:56:24] [PASSED] zero dst [21:56:24] [PASSED] negative src [21:56:24] [PASSED] negative dst [21:56:24] ============ [PASSED] drm_test_rect_calc_vscale ============ [21:56:24] ================== drm_test_rect_rotate =================== [21:56:24] [PASSED] reflect-x [21:56:24] [PASSED] reflect-y [21:56:24] [PASSED] rotate-0 [21:56:24] [PASSED] rotate-90 [21:56:24] [PASSED] rotate-180 [21:56:24] [PASSED] rotate-270 [21:56:24] ============== [PASSED] drm_test_rect_rotate =============== [21:56:24] ================ drm_test_rect_rotate_inv ================= [21:56:24] [PASSED] reflect-x [21:56:24] [PASSED] reflect-y [21:56:24] [PASSED] rotate-0 [21:56:24] [PASSED] rotate-90 [21:56:24] [PASSED] rotate-180 [21:56:24] [PASSED] rotate-270 [21:56:24] ============ [PASSED] drm_test_rect_rotate_inv ============= [21:56:24] ==================== [PASSED] drm_rect ===================== [21:56:24] ============ drm_sysfb_modeset_test (1 subtest) ============ [21:56:24] ============ drm_test_sysfb_build_fourcc_list ============= [21:56:24] [PASSED] no native formats [21:56:24] [PASSED] XRGB8888 as native format [21:56:24] [PASSED] remove duplicates [21:56:24] [PASSED] convert alpha formats [21:56:24] [PASSED] random formats [21:56:24] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [21:56:24] ============= [PASSED] drm_sysfb_modeset_test ============== [21:56:24] ================== drm_fixp (2 subtests) =================== [21:56:24] [PASSED] drm_test_int2fixp [21:56:24] [PASSED] drm_test_sm2fixp [21:56:24] ==================== [PASSED] drm_fixp ===================== [21:56:24] ============================================================ [21:56:24] Testing complete. Ran 639 tests: passed: 639 [21:56:24] Elapsed time: 26.603s total, 1.803s configuring, 24.585s building, 0.188s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [21:56:24] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:56:26] 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 [21:56:36] Starting KUnit Kernel (1/1)... [21:56:36] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:56:36] ================= ttm_device (5 subtests) ================== [21:56:36] [PASSED] ttm_device_init_basic [21:56:36] [PASSED] ttm_device_init_multiple [21:56:36] [PASSED] ttm_device_fini_basic [21:56:36] [PASSED] ttm_device_init_no_vma_man [21:56:36] ================== ttm_device_init_pools ================== [21:56:36] [PASSED] No DMA allocations, no DMA32 required [21:56:36] [PASSED] DMA allocations, DMA32 required [21:56:36] [PASSED] No DMA allocations, DMA32 required [21:56:36] [PASSED] DMA allocations, no DMA32 required [21:56:36] ============== [PASSED] ttm_device_init_pools ============== [21:56:36] =================== [PASSED] ttm_device ==================== [21:56:36] ================== ttm_pool (8 subtests) =================== [21:56:36] ================== ttm_pool_alloc_basic =================== [21:56:36] [PASSED] One page [21:56:36] [PASSED] More than one page [21:56:36] [PASSED] Above the allocation limit [21:56:36] [PASSED] One page, with coherent DMA mappings enabled [21:56:36] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:56:36] ============== [PASSED] ttm_pool_alloc_basic =============== [21:56:36] ============== ttm_pool_alloc_basic_dma_addr ============== [21:56:36] [PASSED] One page [21:56:36] [PASSED] More than one page [21:56:36] [PASSED] Above the allocation limit [21:56:36] [PASSED] One page, with coherent DMA mappings enabled [21:56:36] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:56:36] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [21:56:36] [PASSED] ttm_pool_alloc_order_caching_match [21:56:36] [PASSED] ttm_pool_alloc_caching_mismatch [21:56:36] [PASSED] ttm_pool_alloc_order_mismatch [21:56:36] [PASSED] ttm_pool_free_dma_alloc [21:56:36] [PASSED] ttm_pool_free_no_dma_alloc [21:56:36] [PASSED] ttm_pool_fini_basic [21:56:36] ==================== [PASSED] ttm_pool ===================== [21:56:36] ================ ttm_resource (8 subtests) ================= [21:56:36] ================= ttm_resource_init_basic ================= [21:56:36] [PASSED] Init resource in TTM_PL_SYSTEM [21:56:36] [PASSED] Init resource in TTM_PL_VRAM [21:56:36] [PASSED] Init resource in a private placement [21:56:36] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [21:56:36] ============= [PASSED] ttm_resource_init_basic ============= [21:56:36] [PASSED] ttm_resource_init_pinned [21:56:36] [PASSED] ttm_resource_fini_basic [21:56:36] [PASSED] ttm_resource_manager_init_basic [21:56:36] [PASSED] ttm_resource_manager_usage_basic [21:56:36] [PASSED] ttm_resource_manager_set_used_basic [21:56:36] [PASSED] ttm_sys_man_alloc_basic [21:56:36] [PASSED] ttm_sys_man_free_basic [21:56:36] ================== [PASSED] ttm_resource =================== [21:56:36] =================== ttm_tt (15 subtests) =================== [21:56:36] ==================== ttm_tt_init_basic ==================== [21:56:36] [PASSED] Page-aligned size [21:56:36] [PASSED] Extra pages requested [21:56:36] ================ [PASSED] ttm_tt_init_basic ================ [21:56:36] [PASSED] ttm_tt_init_misaligned [21:56:36] [PASSED] ttm_tt_fini_basic [21:56:36] [PASSED] ttm_tt_fini_sg [21:56:36] [PASSED] ttm_tt_fini_shmem [21:56:36] [PASSED] ttm_tt_create_basic [21:56:36] [PASSED] ttm_tt_create_invalid_bo_type [21:56:36] [PASSED] ttm_tt_create_ttm_exists [21:56:36] [PASSED] ttm_tt_create_failed [21:56:36] [PASSED] ttm_tt_destroy_basic [21:56:36] [PASSED] ttm_tt_populate_null_ttm [21:56:36] [PASSED] ttm_tt_populate_populated_ttm [21:56:36] [PASSED] ttm_tt_unpopulate_basic [21:56:36] [PASSED] ttm_tt_unpopulate_empty_ttm [21:56:36] [PASSED] ttm_tt_swapin_basic [21:56:36] ===================== [PASSED] ttm_tt ====================== [21:56:36] =================== ttm_bo (14 subtests) =================== [21:56:36] =========== ttm_bo_reserve_optimistic_no_ticket =========== [21:56:36] [PASSED] Cannot be interrupted and sleeps [21:56:36] [PASSED] Cannot be interrupted, locks straight away [21:56:36] [PASSED] Can be interrupted, sleeps [21:56:36] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [21:56:36] [PASSED] ttm_bo_reserve_locked_no_sleep [21:56:36] [PASSED] ttm_bo_reserve_no_wait_ticket [21:56:36] [PASSED] ttm_bo_reserve_double_resv [21:56:36] [PASSED] ttm_bo_reserve_interrupted [21:56:36] [PASSED] ttm_bo_reserve_deadlock [21:56:36] [PASSED] ttm_bo_unreserve_basic [21:56:36] [PASSED] ttm_bo_unreserve_pinned [21:56:36] [PASSED] ttm_bo_unreserve_bulk [21:56:36] [PASSED] ttm_bo_fini_basic [21:56:36] [PASSED] ttm_bo_fini_shared_resv [21:56:36] [PASSED] ttm_bo_pin_basic [21:56:36] [PASSED] ttm_bo_pin_unpin_resource [21:56:36] [PASSED] ttm_bo_multiple_pin_one_unpin [21:56:36] ===================== [PASSED] ttm_bo ====================== [21:56:36] ============== ttm_bo_validate (22 subtests) =============== [21:56:36] ============== ttm_bo_init_reserved_sys_man =============== [21:56:36] [PASSED] Buffer object for userspace [21:56:36] [PASSED] Kernel buffer object [21:56:36] [PASSED] Shared buffer object [21:56:36] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [21:56:36] ============== ttm_bo_init_reserved_mock_man ============== [21:56:36] [PASSED] Buffer object for userspace [21:56:36] [PASSED] Kernel buffer object [21:56:36] [PASSED] Shared buffer object [21:56:36] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [21:56:36] [PASSED] ttm_bo_init_reserved_resv [21:56:36] ================== ttm_bo_validate_basic ================== [21:56:36] [PASSED] Buffer object for userspace [21:56:36] [PASSED] Kernel buffer object [21:56:36] [PASSED] Shared buffer object [21:56:36] ============== [PASSED] ttm_bo_validate_basic ============== [21:56:36] [PASSED] ttm_bo_validate_invalid_placement [21:56:36] ============= ttm_bo_validate_same_placement ============== [21:56:36] [PASSED] System manager [21:56:36] [PASSED] VRAM manager [21:56:36] ========= [PASSED] ttm_bo_validate_same_placement ========== [21:56:36] [PASSED] ttm_bo_validate_failed_alloc [21:56:36] [PASSED] ttm_bo_validate_pinned [21:56:36] [PASSED] ttm_bo_validate_busy_placement [21:56:36] ================ ttm_bo_validate_multihop ================= [21:56:36] [PASSED] Buffer object for userspace [21:56:36] [PASSED] Kernel buffer object [21:56:36] [PASSED] Shared buffer object [21:56:36] ============ [PASSED] ttm_bo_validate_multihop ============= [21:56:36] ========== ttm_bo_validate_no_placement_signaled ========== [21:56:36] [PASSED] Buffer object in system domain, no page vector [21:56:36] [PASSED] Buffer object in system domain with an existing page vector [21:56:36] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [21:56:36] ======== ttm_bo_validate_no_placement_not_signaled ======== [21:56:36] [PASSED] Buffer object for userspace [21:56:36] [PASSED] Kernel buffer object [21:56:36] [PASSED] Shared buffer object [21:56:36] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [21:56:36] [PASSED] ttm_bo_validate_move_fence_signaled [21:56:36] ========= ttm_bo_validate_move_fence_not_signaled ========= [21:56:36] [PASSED] Waits for GPU [21:56:36] [PASSED] Tries to lock straight away [21:56:36] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [21:56:36] [PASSED] ttm_bo_validate_swapout [21:56:36] [PASSED] ttm_bo_validate_happy_evict [21:56:36] [PASSED] ttm_bo_validate_all_pinned_evict [21:56:36] [PASSED] ttm_bo_validate_allowed_only_evict [21:56:36] [PASSED] ttm_bo_validate_deleted_evict [21:56:36] [PASSED] ttm_bo_validate_busy_domain_evict [21:56:36] [PASSED] ttm_bo_validate_evict_gutting [21:56:36] [PASSED] ttm_bo_validate_recrusive_evict [21:56:36] ================= [PASSED] ttm_bo_validate ================= [21:56:36] ============================================================ [21:56:36] Testing complete. Ran 102 tests: passed: 102 [21:56:36] Elapsed time: 11.709s total, 1.792s configuring, 9.702s building, 0.185s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Pre-existing issues:
- [High] Missing backup handle guard in the backup loop causes a kernel oops when retrying a partially failed backup.
- [High] Double DMA unmap and mismatched unmap sizes on backup failure retry.
--
commit 8838e9f25b3625ff2d46011f99d3a64b02d5abdf
Author: Matthew Brost <[email protected]>
drm/ttm: Account for NULL and handle pages in ttm_pool_backup
This patch modifies ttm_pool_backup to account for NULL pages and backup handles in the dma/purge loop. It adds a dedicated writeback pass before the dma/purge loop that walks allocations and skips NULL and handle entries, issuing set_pages_array_wb() once per contiguous run.
Quoted 4 lines
drivers/gpu/drm/ttm/ttm_pool.c +0
-0
[ ... ]
Quoted 10 lines
drivers/gpu/drm/ttm/ttm_pool.c +1
-1@@ -1075,7 +1097,7 @@ long ttm_pool_backup(struct ttm_pool *pool, struct ttm_tt *tt,unsigned int order; page = tt->pages[i]; -if (unlikely (!page)) { +if (unlikely (!page ||ttm_backup_page_ptr_is_handle (page))) { num_pages =1 ;continue ; }
drivers/gpu/drm/ttm/ttm_pool.c
Quoted 5 lines
drivers/gpu/drm/ttm/ttm_pool.c +0
-0order =ttm_pool_page_order (pool, page); num_pages =1UL << order;if (tt->dma_address)ttm_pool_unmap (pool, tt->dma_address[i], num_pages);
[Severity: High]
This isn't a bug introduced by this patch, but does this loop leave stale DMA addresses in tt->dma_address[i]?
If the subsequent backup loop fails on the first page due to an allocation failure in ttm_backup_backup_page():
shandle = ttm_backup_backup_page(backup, page, flags->writeback, i, ...);
if (shandle < 0) {
ret = shandle;
break;
}The variable shrunken remains 0, and TTM_TT_FLAG_BACKED_UP is never set.
Since the buffer object remains eligible for immediate retry by the shrinker, will the next pass trigger a double unmap on these same addresses?
Additionally, since ttm_pool_split_for_swap() zeroes page->private right before the failure, will the retry incorrectly unmap order-0 pages instead of their original multi-order sizes?
[ ... ]
drivers/gpu/drm/ttm/ttm_pool.c
Quoted 8 lines
drivers/gpu/drm/ttm/ttm_pool.c +0
-0for (i =0 ; i < num_pages; ++i) {s64 shandle; page = tt->pages[i];if (unlikely (!page))continue ;ttm_pool_split_for_swap (pool, page);
[Severity: High]
This is a pre-existing issue, but is there a missing check for backup handles in this loop?
If a buffer object is partially backed up, and userspace accesses it to trigger a page fault, the TTM_TT_FLAG_BACKED_UP flag is cleared.
If the buffer object is later targeted by the shrinker again, the earlier loops in this function will correctly skip the existing backup handles due to the newly added ttm_backup_page_ptr_is_handle() guards.
However, in this final backup loop, will the code extract an existing backup handle, bypass the !page check, and pass the handle directly to ttm_pool_split_for_swap(), resulting in an invalid pointer dereference?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Patchwork
CI✓ Xe.CI.BAT: success for drm/ttm: Account for NULL and handle pages in ttm_pool_backup
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm: Account for NULL and handle pages in ttm_pool_backup
URL : https://patchwork.freedesktop.org/series/169720/
State : success
== Summary ==
CI Bug Log - changes from xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae_BAT -> xe-pw-169720v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-169720v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-wcl-1: NOTRUN -> [SKIP][1] ([Intel XE#7245])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-wcl-1: NOTRUN -> [SKIP][2] ([Intel XE#8265])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_evict@evict-small-multi-vm:
- bat-wcl-1: NOTRUN -> [SKIP][3] ([Intel XE#7238]) +11 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_exec_balancer@twice-virtual-rebind:
- bat-wcl-1: NOTRUN -> [SKIP][4] ([Intel XE#7482]) +17 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_exec_multi_queue@many-queues-priority:
- bat-wcl-1: NOTRUN -> [SKIP][5] ([Intel XE#8364]) +13 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-wcl-1: NOTRUN -> [SKIP][6] ([Intel XE#7239]) +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_mmap@vram:
- bat-wcl-1: NOTRUN -> [SKIP][7] ([Intel XE#7243])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- bat-wcl-1: NOTRUN -> [SKIP][8] ([Intel XE#7247] / [Intel XE#7590])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- bat-wcl-1: NOTRUN -> [SKIP][9] ([Intel XE#7242] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-wcl-1: NOTRUN -> [SKIP][10] ([Intel XE#7248] / [Intel XE#7590])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/bat-wcl-1/igt@[email protected]
[Intel XE#7238]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7238
[Intel XE#7239]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7239
[Intel XE#7242]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7242
[Intel XE#7243]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7243
[Intel XE#7245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7245
[Intel XE#7247]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7247
[Intel XE#7248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7248
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
Build changes
-------------
* Linux: xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae -> xe-pw-169720v1
IGT_8990: 8990
xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae: 76d0ddcc37bbcc1fe5819e0322739e5e17f59aae
xe-pw-169720v1: 169720v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for drm/ttm: Account for NULL and handle pages in ttm_pool_backup
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm: Account for NULL and handle pages in ttm_pool_backup
URL : https://patchwork.freedesktop.org/series/169720/
State : failure
== Summary ==
CI Bug Log - changes from xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae_FULL -> xe-pw-169720v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-169720v1_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-169720v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-169720v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_pmu@engine-activity-accuracy-50:
- shard-bmg: [PASS][1] -> [FAIL][2] +1 other test fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-169720v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#2327])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-180:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +2 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2887]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][6] -> [INCOMPLETE][7] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-8/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-7/igt@[email protected]
* igt@kms_cdclk@mode-transition-all-outputs:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2724] / [Intel XE#7449])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd-storm-disable:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2252]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#8265])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#4156] / [Intel XE#7425])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [PASS][12] -> [FAIL][13] ([Intel XE#301])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-lnl-1/igt@kms_flip@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-lnl-5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-rmfb:
- shard-bmg: [PASS][14] -> [DMESG-WARN][15] ([Intel XE#5208])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-10/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-3/igt@[email protected]
* igt@kms_flip@flip-vs-rmfb@d-hdmi-a3:
- shard-bmg: [PASS][16] -> [DMESG-WARN][17] ([Intel XE#1727] / [Intel XE#6819])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-10/igt@kms_flip@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-3/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#7178] / [Intel XE#7351])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#4141]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-shrfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2311]) +9 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbchdr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#7399])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#7061] / [Intel XE#7356])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-fullscreen:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#2313]) +9 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-fullscreen.html
* igt@kms_joiner@basic-big-joiner:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#6901])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-8/igt@[email protected]
* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#1489]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_psr@fbc-pr-sprite-plane-onoff:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2234] / [Intel XE#2850]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_eudebug_online@set-breakpoint-sigint-debugger:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#7636]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: NOTRUN -> [INCOMPLETE][28] ([Intel XE#6321] / [Intel XE#8355])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2322] / [Intel XE#7372]) +2 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-rebind-imm:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#8374])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-dyn-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#8364]) +3 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@xe_exec_multi_queue@few-execs-preempt-mode-dyn-priority-smem.html
* igt@xe_exec_system_allocator@twice-large-free-race:
- shard-lnl: [PASS][32] -> [ABORT][33] ([Intel XE#8007])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-lnl-4/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-cm-rebind:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#8378]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_page_reclaim@invalid-1g:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7793])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_pm@d3cold-i2c:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#5694] / [Intel XE#7370])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-5/igt@[email protected]
* igt@xe_pxp@pxp-stale-queue-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#4733] / [Intel XE#7417])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@xe_survivability@i2c-functionality:
- shard-bmg: [PASS][38] -> [ABORT][39] ([Intel XE#8007]) +2 other tests abort
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-5/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-10/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-bmg: [FAIL][40] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-2/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-3/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip@pipe-b-dp-2:
- shard-bmg: [FAIL][42] ([Intel XE#6078]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-2/igt@kms_async_flips@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-3/igt@kms_async_flips@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][44] ([Intel XE#7571]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-3/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-lnl: [FAIL][46] ([Intel XE#301]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-lnl-1/igt@kms_flip@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-lnl-5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [FAIL][48] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-lnl-1/igt@kms_flip@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-lnl-5/igt@kms_flip@[email protected]
* igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads:
- shard-bmg: [FAIL][50] ([Intel XE#7850]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-4/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-6/igt@[email protected]
* igt@xe_wedged@wedged-mode-toggle:
- shard-bmg: [ABORT][52] ([Intel XE#8007]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-5/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-8/igt@[email protected]
#### Warnings ####
* igt@kms_dsc@dsc-with-output-formats:
- shard-bmg: [ABORT][54] ([Intel XE#1727]) -> [SKIP][55] ([Intel XE#8265])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-9/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][56] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][57] ([Intel XE#301])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-lnl-1/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-lnl-5/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][58] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][59] ([Intel XE#2509] / [Intel XE#7437])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae/shard-bmg-9/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/shard-bmg-1/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4156]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4156
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5694
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
[Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7425
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
Build changes
-------------
* Linux: xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae -> xe-pw-169720v1
IGT_8990: 8990
xe-5333-76d0ddcc37bbcc1fe5819e0322739e5e17f59aae: 76d0ddcc37bbcc1fe5819e0322739e5e17f59aae
xe-pw-169720v1: 169720v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169720v1/index.html
Quoted 69 lines · Matthew Brost
Pages in
ttm_pool_backupcan be NULL or backup handles (ttm_backup_page_ptr_is_handle()), neither of which can be passed toset_pages_array_wb()or freed. Add a dedicated WB pass before the dma/purge loop that walks allocations using the same i +=num_pagesstride, skipping NULL and handle entries, and callsset_pages_array_wb()
once per contiguous run of real pages. Apply the same NULL/handle guard
to the dma/purge loop.Fixes the following oops:
Oops: general protection fault, kernel NULL pointer dereference 0x0: 0000 [#1] SMP NOPTI RIP: 0010:__cpa_process_fault+0xf8/0x770 RSP: 0018:ffffc90000a87718 EFLAGS: 00010287 RAX: 0000000000000000 RBX: ffffc90000a87868 RCX: 0000000000000000 RDX: 0000000000001000 RSI: 0005088000000000 RDI: ffffffff827c5f34 RBP: 0005088000000000 R08: ffffc90000a877cb R09: ffffc90000a877d0 R10: 0000000000000000 R11: 000000000000001b R12: 000ffffffffff000 R13: ffffc90000a87868 R14: ffffc90000a87868 R15: ffff88815b882ae0FS: 0000000000000000(0000) GS:ffff8884ec840000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2:00007f930b844000CR3:000000000262e003CR4:0000000008f70ef0
PKRU: 55555554Call Trace: <TASK> __change_page_attr_set_clr+0x989/0xe90 ? __purge_vmap_area_lazy+0x6c/0x3a0 ? _vm_unmap_aliases+0x250/0x2a0 set_pages_array_wb+0x7f/0x120 ttm_pool_backup+0x4c9/0x5b0 [ttm] ? dma_resv_wait_timeout+0x3b/0xf0 ttm_tt_backup+0x32/0x60 [ttm] ttm_bo_shrink+0x66/0x110 [ttm] xe_bo_shrink_purge+0x12b/0x1b0 [xe] xe_bo_shrink+0xbb/0x270 [xe] __xe_shrinker_walk+0xf7/0x160 [xe] xe_shrinker_walk+0x9d/0xc0 [xe] xe_shrinker_scan+0x11f/0x210 [xe] do_shrink_slab+0x13b/0x270 shrink_slab+0xf1/0x400 shrink_node+0x352/0x8a0 balance_pgdat+0x32c/0x700 kswapd+0x205/0x2f0 ? __pfx_autoremove_wake_function+0x10/0x10 ? __pfx_kswapd+0x10/0x10 kthread+0xd1/0x110 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x1b1/0x200 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>Cc Christian Koenig <[email protected]>Cc Huang Rui <[email protected]>Cc Matthew Auld <[email protected]>Cc Matthew Brost <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Simona Vetter <[email protected]>Cc Thomas Hellström <[email protected]>Fixes b63d715b8090 ("drm/ttm/pool, drm/ttm/tt: Provide a helper to
Quoted 4 lines
shrink pages")
Assisted-by GitHub_Copilot:claude-opus-4.8Signed-off-by Matthew Brost <[email protected]>
Quoted 63 lines
---
drivers/gpu/drm/ttm/ttm_pool.c | 30 ++++++++++++++++++++++++++----1 file changed, 26 insertions(+), 4 deletions(-)drivers/gpu/drm/ttm/ttm_pool.c +0
-0@@ -1065,9 +1065,31 @@ long ttm_pool_backup(struct ttm_pool *pool,struct ttm_tt *tt, return -EBUSY;
#ifdefCONFIG_X86drivers/gpu/drm/ttm/ttm_pool.c +1
-3-/* Anything returned to the system needs to be cached. */ -if (tt->caching != ttm_cached) -set_pages_array_wb (tt->pages, tt->num_pages); +/* Anything returned to the system needs to be cached. Walk allocations
drivers/gpu/drm/ttm/ttm_pool.c +1
-0+* skipping NULL pages and issue set_pages_array_wb() per contiguous run.
drivers/gpu/drm/ttm/ttm_pool.c +7
-0+*/ +if (tt->caching != ttm_cached) { +pgoff_t run_start =0 , run_count =0 ; + +for (i =0 ; i < tt->num_pages; i += num_pages) { + page = tt->pages[i]; + if (unlikely(!page ||
ttm_backup_page_ptr_is_handle(page))) {drivers/gpu/drm/ttm/ttm_pool.c +2
-0+if (run_count) { + set_pages_array_wb(&tt-Quoted 1 line
pages[run_start],
drivers/gpu/drm/ttm/ttm_pool.c +1
-0+
run_count);drivers/gpu/drm/ttm/ttm_pool.c +6
-0+ run_count =0 ; + } + num_pages =1 ; +continue ; + } + num_pages = 1UL << ttm_pool_page_order(pool,page);
drivers/gpu/drm/ttm/ttm_pool.c +6
-0+if (!run_count) + run_start = i; + run_count += num_pages; + } +if (run_count) + set_pages_array_wb(&tt->pages[run_start],
run_count);drivers/gpu/drm/ttm/ttm_pool.c +1
-0+ }#endif
if (tt->dma_address||flags->purge) {drivers/gpu/drm/ttm/ttm_pool.c +0
-0@@ -1075,7 +1097,7 @@ long ttm_pool_backup(struct ttm_pool *pool,struct ttm_tt *tt, unsigned int order;
page = tt->pages[i];drivers/gpu/drm/ttm/ttm_pool.c +1
-1-if (unlikely (!page)) { + if (unlikely(!page ||
ttm_backup_page_ptr_is_handle(page))) {
num_pages= 1;
continue;
}