* ✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev9)
2026-07-13 4:25 [PATCH v11] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
@ 2026-07-13 4:32 ` Patchwork
2026-07-13 5:07 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2026-07-13 4:32 UTC (permalink / raw)
To: Arvind Yadav; +Cc: intel-xe
== Series Details ==
Series: drm/xe/guc: Hold device ref until queue teardown completes (rev9)
URL : https://patchwork.freedesktop.org/series/168424/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[04:30:56] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[04:31:01] 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
[04:31:32] Starting KUnit Kernel (1/1)...
[04:31:32] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[04:31:33] ================== guc_buf (11 subtests) ===================
[04:31:33] [PASSED] test_smallest
[04:31:33] [PASSED] test_largest
[04:31:33] [PASSED] test_granular
[04:31:33] [PASSED] test_unique
[04:31:33] [PASSED] test_overlap
[04:31:33] [PASSED] test_reusable
[04:31:33] [PASSED] test_too_big
[04:31:33] [PASSED] test_flush
[04:31:33] [PASSED] test_lookup
[04:31:33] [PASSED] test_data
[04:31:33] [PASSED] test_class
[04:31:33] ===================== [PASSED] guc_buf =====================
[04:31:33] =================== guc_dbm (7 subtests) ===================
[04:31:33] [PASSED] test_empty
[04:31:33] [PASSED] test_default
[04:31:33] ======================== test_size ========================
[04:31:33] [PASSED] 4
[04:31:33] [PASSED] 8
[04:31:33] [PASSED] 32
[04:31:33] [PASSED] 256
[04:31:33] ==================== [PASSED] test_size ====================
[04:31:33] ======================= test_reuse ========================
[04:31:33] [PASSED] 4
[04:31:33] [PASSED] 8
[04:31:33] [PASSED] 32
[04:31:33] [PASSED] 256
[04:31:33] =================== [PASSED] test_reuse ====================
[04:31:33] =================== test_range_overlap ====================
[04:31:33] [PASSED] 4
[04:31:33] [PASSED] 8
[04:31:33] [PASSED] 32
[04:31:33] [PASSED] 256
[04:31:33] =============== [PASSED] test_range_overlap ================
[04:31:33] =================== test_range_compact ====================
[04:31:33] [PASSED] 4
[04:31:33] [PASSED] 8
[04:31:33] [PASSED] 32
[04:31:33] [PASSED] 256
[04:31:33] =============== [PASSED] test_range_compact ================
[04:31:33] ==================== test_range_spare =====================
[04:31:33] [PASSED] 4
[04:31:33] [PASSED] 8
[04:31:33] [PASSED] 32
[04:31:33] [PASSED] 256
[04:31:33] ================ [PASSED] test_range_spare =================
[04:31:33] ===================== [PASSED] guc_dbm =====================
[04:31:33] =================== guc_idm (6 subtests) ===================
[04:31:33] [PASSED] bad_init
[04:31:33] [PASSED] no_init
[04:31:33] [PASSED] init_fini
[04:31:33] [PASSED] check_used
[04:31:33] [PASSED] check_quota
[04:31:33] [PASSED] check_all
[04:31:33] ===================== [PASSED] guc_idm =====================
[04:31:33] =============== guc_klv_helpers (9 subtests) ===============
[04:31:33] [PASSED] test_count
[04:31:33] [PASSED] test_encode_u32
[04:31:33] [PASSED] test_encode_u64
[04:31:33] [PASSED] test_encode_string
[04:31:33] [PASSED] test_encode_object_raw
[04:31:33] [PASSED] test_encode_object_klv
[04:31:33] [PASSED] test_encode_object_nested
[04:31:33] [PASSED] test_encode_object_basic
[04:31:33] [PASSED] test_print
[04:31:33] ================= [PASSED] guc_klv_helpers =================
[04:31:33] ================== no_relay (3 subtests) ===================
[04:31:33] [PASSED] xe_drops_guc2pf_if_not_ready
[04:31:33] [PASSED] xe_drops_guc2vf_if_not_ready
[04:31:33] [PASSED] xe_rejects_send_if_not_ready
[04:31:33] ==================== [PASSED] no_relay =====================
[04:31:33] ================== pf_relay (14 subtests) ==================
[04:31:33] [PASSED] pf_rejects_guc2pf_too_short
[04:31:33] [PASSED] pf_rejects_guc2pf_too_long
[04:31:33] [PASSED] pf_rejects_guc2pf_no_payload
[04:31:33] [PASSED] pf_fails_no_payload
[04:31:33] [PASSED] pf_fails_bad_origin
[04:31:33] [PASSED] pf_fails_bad_type
[04:31:33] [PASSED] pf_txn_reports_error
[04:31:33] [PASSED] pf_txn_sends_pf2guc
[04:31:33] [PASSED] pf_sends_pf2guc
[04:31:33] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[04:31:33] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[04:31:33] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[04:31:33] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[04:31:33] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[04:31:33] ==================== [PASSED] pf_relay =====================
[04:31:33] ================== vf_relay (3 subtests) ===================
[04:31:33] [PASSED] vf_rejects_guc2vf_too_short
[04:31:33] [PASSED] vf_rejects_guc2vf_too_long
[04:31:33] [PASSED] vf_rejects_guc2vf_no_payload
[04:31:33] ==================== [PASSED] vf_relay =====================
[04:31:33] ================ pf_gt_config (9 subtests) =================
[04:31:33] [PASSED] fair_contexts_1vf
[04:31:33] [PASSED] fair_doorbells_1vf
[04:31:33] [PASSED] fair_ggtt_1vf
[04:31:33] ====================== fair_vram_1vf ======================
[04:31:33] [PASSED] 3.50 GiB
[04:31:33] [PASSED] 11.5 GiB
[04:31:33] [PASSED] 15.5 GiB
[04:31:33] [PASSED] 31.5 GiB
[04:31:33] [PASSED] 63.5 GiB
[04:31:33] [PASSED] 1.91 GiB
[04:31:33] ================== [PASSED] fair_vram_1vf ==================
[04:31:33] ================ fair_vram_1vf_admin_only =================
[04:31:33] [PASSED] 3.50 GiB
[04:31:33] [PASSED] 11.5 GiB
[04:31:33] [PASSED] 15.5 GiB
[04:31:33] [PASSED] 31.5 GiB
[04:31:33] [PASSED] 63.5 GiB
[04:31:33] [PASSED] 1.91 GiB
[04:31:33] ============ [PASSED] fair_vram_1vf_admin_only =============
[04:31:33] ====================== fair_contexts ======================
[04:31:33] [PASSED] 1 VF
[04:31:33] [PASSED] 2 VFs
[04:31:33] [PASSED] 3 VFs
[04:31:33] [PASSED] 4 VFs
[04:31:33] [PASSED] 5 VFs
[04:31:33] [PASSED] 6 VFs
[04:31:33] [PASSED] 7 VFs
[04:31:33] [PASSED] 8 VFs
[04:31:33] [PASSED] 9 VFs
[04:31:33] [PASSED] 10 VFs
[04:31:33] [PASSED] 11 VFs
[04:31:33] [PASSED] 12 VFs
[04:31:33] [PASSED] 13 VFs
[04:31:33] [PASSED] 14 VFs
[04:31:33] [PASSED] 15 VFs
[04:31:33] [PASSED] 16 VFs
[04:31:33] [PASSED] 17 VFs
[04:31:33] [PASSED] 18 VFs
[04:31:33] [PASSED] 19 VFs
[04:31:33] [PASSED] 20 VFs
[04:31:33] [PASSED] 21 VFs
[04:31:33] [PASSED] 22 VFs
[04:31:33] [PASSED] 23 VFs
[04:31:33] [PASSED] 24 VFs
[04:31:33] [PASSED] 25 VFs
[04:31:33] [PASSED] 26 VFs
[04:31:33] [PASSED] 27 VFs
[04:31:33] [PASSED] 28 VFs
[04:31:33] [PASSED] 29 VFs
[04:31:33] [PASSED] 30 VFs
[04:31:33] [PASSED] 31 VFs
[04:31:33] [PASSED] 32 VFs
[04:31:33] [PASSED] 33 VFs
[04:31:33] [PASSED] 34 VFs
[04:31:33] [PASSED] 35 VFs
[04:31:33] [PASSED] 36 VFs
[04:31:33] [PASSED] 37 VFs
[04:31:33] [PASSED] 38 VFs
[04:31:33] [PASSED] 39 VFs
[04:31:33] [PASSED] 40 VFs
[04:31:33] [PASSED] 41 VFs
[04:31:33] [PASSED] 42 VFs
[04:31:33] [PASSED] 43 VFs
[04:31:33] [PASSED] 44 VFs
[04:31:33] [PASSED] 45 VFs
[04:31:33] [PASSED] 46 VFs
[04:31:33] [PASSED] 47 VFs
[04:31:33] [PASSED] 48 VFs
[04:31:33] [PASSED] 49 VFs
[04:31:33] [PASSED] 50 VFs
[04:31:33] [PASSED] 51 VFs
[04:31:33] [PASSED] 52 VFs
[04:31:33] [PASSED] 53 VFs
[04:31:33] [PASSED] 54 VFs
[04:31:33] [PASSED] 55 VFs
[04:31:33] [PASSED] 56 VFs
[04:31:33] [PASSED] 57 VFs
[04:31:33] [PASSED] 58 VFs
[04:31:33] [PASSED] 59 VFs
[04:31:33] [PASSED] 60 VFs
[04:31:33] [PASSED] 61 VFs
[04:31:33] [PASSED] 62 VFs
[04:31:33] [PASSED] 63 VFs
[04:31:33] ================== [PASSED] fair_contexts ==================
[04:31:33] ===================== fair_doorbells ======================
[04:31:33] [PASSED] 1 VF
[04:31:33] [PASSED] 2 VFs
[04:31:33] [PASSED] 3 VFs
[04:31:33] [PASSED] 4 VFs
[04:31:33] [PASSED] 5 VFs
[04:31:33] [PASSED] 6 VFs
[04:31:33] [PASSED] 7 VFs
[04:31:33] [PASSED] 8 VFs
[04:31:33] [PASSED] 9 VFs
[04:31:33] [PASSED] 10 VFs
[04:31:33] [PASSED] 11 VFs
[04:31:33] [PASSED] 12 VFs
[04:31:33] [PASSED] 13 VFs
[04:31:33] [PASSED] 14 VFs
[04:31:33] [PASSED] 15 VFs
[04:31:33] [PASSED] 16 VFs
[04:31:33] [PASSED] 17 VFs
[04:31:33] [PASSED] 18 VFs
[04:31:33] [PASSED] 19 VFs
[04:31:33] [PASSED] 20 VFs
[04:31:33] [PASSED] 21 VFs
[04:31:33] [PASSED] 22 VFs
[04:31:33] [PASSED] 23 VFs
[04:31:33] [PASSED] 24 VFs
[04:31:33] [PASSED] 25 VFs
[04:31:33] [PASSED] 26 VFs
[04:31:33] [PASSED] 27 VFs
[04:31:33] [PASSED] 28 VFs
[04:31:33] [PASSED] 29 VFs
[04:31:33] [PASSED] 30 VFs
[04:31:33] [PASSED] 31 VFs
[04:31:33] [PASSED] 32 VFs
[04:31:33] [PASSED] 33 VFs
[04:31:33] [PASSED] 34 VFs
[04:31:33] [PASSED] 35 VFs
[04:31:33] [PASSED] 36 VFs
[04:31:33] [PASSED] 37 VFs
[04:31:33] [PASSED] 38 VFs
[04:31:33] [PASSED] 39 VFs
[04:31:33] [PASSED] 40 VFs
[04:31:33] [PASSED] 41 VFs
[04:31:33] [PASSED] 42 VFs
[04:31:33] [PASSED] 43 VFs
[04:31:33] [PASSED] 44 VFs
[04:31:33] [PASSED] 45 VFs
[04:31:33] [PASSED] 46 VFs
[04:31:33] [PASSED] 47 VFs
[04:31:33] [PASSED] 48 VFs
[04:31:33] [PASSED] 49 VFs
[04:31:33] [PASSED] 50 VFs
[04:31:33] [PASSED] 51 VFs
[04:31:33] [PASSED] 52 VFs
[04:31:33] [PASSED] 53 VFs
[04:31:33] [PASSED] 54 VFs
[04:31:33] [PASSED] 55 VFs
[04:31:33] [PASSED] 56 VFs
[04:31:33] [PASSED] 57 VFs
[04:31:33] [PASSED] 58 VFs
[04:31:33] [PASSED] 59 VFs
[04:31:33] [PASSED] 60 VFs
[04:31:33] [PASSED] 61 VFs
[04:31:33] [PASSED] 62 VFs
[04:31:33] [PASSED] 63 VFs
[04:31:33] ================= [PASSED] fair_doorbells ==================
[04:31:33] ======================== fair_ggtt ========================
[04:31:33] [PASSED] 1 VF
[04:31:33] [PASSED] 2 VFs
[04:31:33] [PASSED] 3 VFs
[04:31:33] [PASSED] 4 VFs
[04:31:33] [PASSED] 5 VFs
[04:31:33] [PASSED] 6 VFs
[04:31:33] [PASSED] 7 VFs
[04:31:33] [PASSED] 8 VFs
[04:31:33] [PASSED] 9 VFs
[04:31:33] [PASSED] 10 VFs
[04:31:33] [PASSED] 11 VFs
[04:31:33] [PASSED] 12 VFs
[04:31:33] [PASSED] 13 VFs
[04:31:33] [PASSED] 14 VFs
[04:31:33] [PASSED] 15 VFs
[04:31:33] [PASSED] 16 VFs
[04:31:33] [PASSED] 17 VFs
[04:31:33] [PASSED] 18 VFs
[04:31:33] [PASSED] 19 VFs
[04:31:33] [PASSED] 20 VFs
[04:31:33] [PASSED] 21 VFs
[04:31:33] [PASSED] 22 VFs
[04:31:33] [PASSED] 23 VFs
[04:31:33] [PASSED] 24 VFs
[04:31:33] [PASSED] 25 VFs
[04:31:33] [PASSED] 26 VFs
[04:31:33] [PASSED] 27 VFs
[04:31:33] [PASSED] 28 VFs
[04:31:33] [PASSED] 29 VFs
[04:31:33] [PASSED] 30 VFs
[04:31:33] [PASSED] 31 VFs
[04:31:33] [PASSED] 32 VFs
[04:31:33] [PASSED] 33 VFs
[04:31:33] [PASSED] 34 VFs
[04:31:33] [PASSED] 35 VFs
[04:31:33] [PASSED] 36 VFs
[04:31:33] [PASSED] 37 VFs
[04:31:33] [PASSED] 38 VFs
[04:31:33] [PASSED] 39 VFs
[04:31:33] [PASSED] 40 VFs
[04:31:33] [PASSED] 41 VFs
[04:31:33] [PASSED] 42 VFs
[04:31:33] [PASSED] 43 VFs
[04:31:33] [PASSED] 44 VFs
[04:31:33] [PASSED] 45 VFs
[04:31:33] [PASSED] 46 VFs
[04:31:33] [PASSED] 47 VFs
[04:31:33] [PASSED] 48 VFs
[04:31:33] [PASSED] 49 VFs
[04:31:33] [PASSED] 50 VFs
[04:31:33] [PASSED] 51 VFs
[04:31:33] [PASSED] 52 VFs
[04:31:33] [PASSED] 53 VFs
[04:31:33] [PASSED] 54 VFs
[04:31:33] [PASSED] 55 VFs
[04:31:33] [PASSED] 56 VFs
[04:31:33] [PASSED] 57 VFs
[04:31:33] [PASSED] 58 VFs
[04:31:33] [PASSED] 59 VFs
[04:31:33] [PASSED] 60 VFs
[04:31:33] [PASSED] 61 VFs
[04:31:33] [PASSED] 62 VFs
[04:31:33] [PASSED] 63 VFs
[04:31:33] ==================== [PASSED] fair_ggtt ====================
[04:31:33] ======================== fair_vram ========================
[04:31:33] [PASSED] 1 VF
[04:31:33] [PASSED] 2 VFs
[04:31:33] [PASSED] 3 VFs
[04:31:33] [PASSED] 4 VFs
[04:31:33] [PASSED] 5 VFs
[04:31:33] [PASSED] 6 VFs
[04:31:33] [PASSED] 7 VFs
[04:31:33] [PASSED] 8 VFs
[04:31:33] [PASSED] 9 VFs
[04:31:33] [PASSED] 10 VFs
[04:31:33] [PASSED] 11 VFs
[04:31:33] [PASSED] 12 VFs
[04:31:33] [PASSED] 13 VFs
[04:31:33] [PASSED] 14 VFs
[04:31:33] [PASSED] 15 VFs
[04:31:33] [PASSED] 16 VFs
[04:31:33] [PASSED] 17 VFs
[04:31:33] [PASSED] 18 VFs
[04:31:33] [PASSED] 19 VFs
[04:31:33] [PASSED] 20 VFs
[04:31:33] [PASSED] 21 VFs
[04:31:33] [PASSED] 22 VFs
[04:31:33] [PASSED] 23 VFs
[04:31:33] [PASSED] 24 VFs
[04:31:33] [PASSED] 25 VFs
[04:31:33] [PASSED] 26 VFs
[04:31:33] [PASSED] 27 VFs
[04:31:33] [PASSED] 28 VFs
[04:31:33] [PASSED] 29 VFs
[04:31:33] [PASSED] 30 VFs
[04:31:33] [PASSED] 31 VFs
[04:31:33] [PASSED] 32 VFs
[04:31:33] [PASSED] 33 VFs
[04:31:33] [PASSED] 34 VFs
[04:31:33] [PASSED] 35 VFs
[04:31:33] [PASSED] 36 VFs
[04:31:33] [PASSED] 37 VFs
[04:31:33] [PASSED] 38 VFs
[04:31:33] [PASSED] 39 VFs
[04:31:33] [PASSED] 40 VFs
[04:31:33] [PASSED] 41 VFs
[04:31:33] [PASSED] 42 VFs
[04:31:33] [PASSED] 43 VFs
[04:31:33] [PASSED] 44 VFs
[04:31:33] [PASSED] 45 VFs
[04:31:33] [PASSED] 46 VFs
[04:31:33] [PASSED] 47 VFs
[04:31:33] [PASSED] 48 VFs
[04:31:33] [PASSED] 49 VFs
[04:31:33] [PASSED] 50 VFs
[04:31:33] [PASSED] 51 VFs
[04:31:33] [PASSED] 52 VFs
[04:31:33] [PASSED] 53 VFs
[04:31:33] [PASSED] 54 VFs
[04:31:33] [PASSED] 55 VFs
[04:31:33] [PASSED] 56 VFs
[04:31:33] [PASSED] 57 VFs
[04:31:33] [PASSED] 58 VFs
[04:31:33] [PASSED] 59 VFs
[04:31:33] [PASSED] 60 VFs
[04:31:33] [PASSED] 61 VFs
[04:31:33] [PASSED] 62 VFs
[04:31:33] [PASSED] 63 VFs
[04:31:33] ==================== [PASSED] fair_vram ====================
[04:31:33] ================== [PASSED] pf_gt_config ===================
[04:31:33] ===================== lmtt (1 subtest) =====================
[04:31:33] ======================== test_ops =========================
[04:31:33] [PASSED] 2-level
[04:31:33] [PASSED] multi-level
[04:31:33] ==================== [PASSED] test_ops =====================
[04:31:33] ====================== [PASSED] lmtt =======================
[04:31:33] ================= sriov_packet (1 subtest) =================
[04:31:33] [PASSED] test_descriptor_init
[04:31:33] ================== [PASSED] sriov_packet ===================
[04:31:33] ================= pf_service (11 subtests) =================
[04:31:33] [PASSED] pf_negotiate_any
[04:31:33] [PASSED] pf_negotiate_base_match
[04:31:33] [PASSED] pf_negotiate_base_newer
[04:31:33] [PASSED] pf_negotiate_base_next
[04:31:33] [SKIPPED] pf_negotiate_base_older (no older minor)
[04:31:33] [PASSED] pf_negotiate_base_prev
[04:31:33] [PASSED] pf_negotiate_latest_match
[04:31:33] [PASSED] pf_negotiate_latest_newer
[04:31:33] [PASSED] pf_negotiate_latest_next
[04:31:33] [SKIPPED] pf_negotiate_latest_older (no older minor)
[04:31:33] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[04:31:33] =================== [PASSED] pf_service ====================
[04:31:33] ================= xe_guc_g2g (2 subtests) ==================
[04:31:33] ============== xe_live_guc_g2g_kunit_default ==============
[04:31:33] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[04:31:33] ============== xe_live_guc_g2g_kunit_allmem ===============
[04:31:33] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[04:31:33] =================== [SKIPPED] xe_guc_g2g ===================
[04:31:33] =================== xe_mocs (2 subtests) ===================
[04:31:33] ================ xe_live_mocs_kernel_kunit ================
[04:31:33] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[04:31:33] ================ xe_live_mocs_reset_kunit =================
[04:31:33] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[04:31:33] ==================== [SKIPPED] xe_mocs =====================
[04:31:33] ================= xe_migrate (2 subtests) ==================
[04:31:33] ================= xe_migrate_sanity_kunit =================
[04:31:33] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[04:31:33] ================== xe_validate_ccs_kunit ==================
[04:31:33] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[04:31:33] =================== [SKIPPED] xe_migrate ===================
[04:31:33] ================== xe_dma_buf (1 subtest) ==================
[04:31:33] ==================== xe_dma_buf_kunit =====================
[04:31:33] ================ [SKIPPED] xe_dma_buf_kunit ================
[04:31:33] =================== [SKIPPED] xe_dma_buf ===================
[04:31:33] ================= xe_bo_shrink (1 subtest) =================
[04:31:33] =================== xe_bo_shrink_kunit ====================
[04:31:33] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[04:31:33] ================== [SKIPPED] xe_bo_shrink ==================
[04:31:33] ==================== xe_bo (2 subtests) ====================
[04:31:33] ================== xe_ccs_migrate_kunit ===================
[04:31:33] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[04:31:33] ==================== xe_bo_evict_kunit ====================
[04:31:33] =============== [SKIPPED] xe_bo_evict_kunit ================
[04:31:33] ===================== [SKIPPED] xe_bo ======================
[04:31:33] ==================== args (13 subtests) ====================
[04:31:33] [PASSED] count_args_test
[04:31:33] [PASSED] call_args_example
[04:31:33] [PASSED] call_args_test
[04:31:33] [PASSED] drop_first_arg_example
[04:31:33] [PASSED] drop_first_arg_test
[04:31:33] [PASSED] first_arg_example
[04:31:33] [PASSED] first_arg_test
[04:31:33] [PASSED] last_arg_example
[04:31:33] [PASSED] last_arg_test
[04:31:33] [PASSED] pick_arg_example
[04:31:33] [PASSED] if_args_example
[04:31:33] [PASSED] if_args_test
[04:31:33] [PASSED] sep_comma_example
[04:31:33] ====================== [PASSED] args =======================
[04:31:33] =================== xe_pci (3 subtests) ====================
[04:31:33] ==================== check_graphics_ip ====================
[04:31:33] [PASSED] 12.00 Xe_LP
[04:31:33] [PASSED] 12.10 Xe_LP+
[04:31:33] [PASSED] 12.55 Xe_HPG
[04:31:33] [PASSED] 12.60 Xe_HPC
[04:31:33] [PASSED] 12.70 Xe_LPG
[04:31:33] [PASSED] 12.71 Xe_LPG
[04:31:33] [PASSED] 12.74 Xe_LPG+
[04:31:33] [PASSED] 20.01 Xe2_HPG
[04:31:33] [PASSED] 20.02 Xe2_HPG
[04:31:33] [PASSED] 20.04 Xe2_LPG
[04:31:33] [PASSED] 30.00 Xe3_LPG
[04:31:33] [PASSED] 30.01 Xe3_LPG
[04:31:33] [PASSED] 30.03 Xe3_LPG
[04:31:33] [PASSED] 30.04 Xe3_LPG
[04:31:33] [PASSED] 30.05 Xe3_LPG
[04:31:33] [PASSED] 35.10 Xe3p_LPG
[04:31:33] [PASSED] 35.11 Xe3p_XPC
[04:31:33] ================ [PASSED] check_graphics_ip ================
[04:31:33] ===================== check_media_ip ======================
[04:31:33] [PASSED] 12.00 Xe_M
[04:31:33] [PASSED] 12.55 Xe_HPM
[04:31:33] [PASSED] 13.00 Xe_LPM+
[04:31:33] [PASSED] 13.01 Xe2_HPM
[04:31:33] [PASSED] 20.00 Xe2_LPM
[04:31:33] [PASSED] 30.00 Xe3_LPM
[04:31:33] [PASSED] 30.02 Xe3_LPM
[04:31:33] [PASSED] 35.00 Xe3p_LPM
[04:31:33] [PASSED] 35.03 Xe3p_HPM
[04:31:33] ================= [PASSED] check_media_ip ==================
[04:31:33] =================== check_platform_desc ===================
[04:31:33] [PASSED] 0x9A60 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A68 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A70 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A40 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A49 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A59 (TIGERLAKE)
[04:31:33] [PASSED] 0x9A78 (TIGERLAKE)
[04:31:33] [PASSED] 0x9AC0 (TIGERLAKE)
[04:31:33] [PASSED] 0x9AC9 (TIGERLAKE)
[04:31:33] [PASSED] 0x9AD9 (TIGERLAKE)
[04:31:33] [PASSED] 0x9AF8 (TIGERLAKE)
[04:31:33] [PASSED] 0x4C80 (ROCKETLAKE)
[04:31:33] [PASSED] 0x4C8A (ROCKETLAKE)
[04:31:33] [PASSED] 0x4C8B (ROCKETLAKE)
[04:31:33] [PASSED] 0x4C8C (ROCKETLAKE)
[04:31:33] [PASSED] 0x4C90 (ROCKETLAKE)
[04:31:33] [PASSED] 0x4C9A (ROCKETLAKE)
[04:31:33] [PASSED] 0x4680 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4682 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4688 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x468A (ALDERLAKE_S)
[04:31:33] [PASSED] 0x468B (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4690 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4692 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4693 (ALDERLAKE_S)
[04:31:33] [PASSED] 0x46A0 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46A1 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46A2 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46A3 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46A6 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46A8 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46AA (ALDERLAKE_P)
[04:31:33] [PASSED] 0x462A (ALDERLAKE_P)
[04:31:33] [PASSED] 0x4626 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x4628 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46B0 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46B1 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46B2 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46B3 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46C0 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46C1 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46C2 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46C3 (ALDERLAKE_P)
[04:31:33] [PASSED] 0x46D0 (ALDERLAKE_N)
[04:31:33] [PASSED] 0x46D1 (ALDERLAKE_N)
[04:31:33] [PASSED] 0x46D2 (ALDERLAKE_N)
[04:31:33] [PASSED] 0x46D3 (ALDERLAKE_N)
[04:31:33] [PASSED] 0x46D4 (ALDERLAKE_N)
[04:31:33] [PASSED] 0xA721 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7A1 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7A9 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7AC (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7AD (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA720 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7A0 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7A8 (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7AA (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA7AB (ALDERLAKE_P)
[04:31:33] [PASSED] 0xA780 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA781 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA782 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA783 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA788 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA789 (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA78A (ALDERLAKE_S)
[04:31:33] [PASSED] 0xA78B (ALDERLAKE_S)
[04:31:33] [PASSED] 0x4905 (DG1)
[04:31:33] [PASSED] 0x4906 (DG1)
[04:31:33] [PASSED] 0x4907 (DG1)
[04:31:33] [PASSED] 0x4908 (DG1)
[04:31:33] [PASSED] 0x4909 (DG1)
[04:31:33] [PASSED] 0x56C0 (DG2)
[04:31:33] [PASSED] 0x56C2 (DG2)
[04:31:33] [PASSED] 0x56C1 (DG2)
[04:31:33] [PASSED] 0x7D51 (METEORLAKE)
[04:31:33] [PASSED] 0x7DD1 (METEORLAKE)
[04:31:33] [PASSED] 0x7D41 (METEORLAKE)
[04:31:33] [PASSED] 0x7D67 (METEORLAKE)
[04:31:33] [PASSED] 0xB640 (METEORLAKE)
[04:31:33] [PASSED] 0x56A0 (DG2)
[04:31:33] [PASSED] 0x56A1 (DG2)
[04:31:33] [PASSED] 0x56A2 (DG2)
[04:31:33] [PASSED] 0x56BE (DG2)
[04:31:33] [PASSED] 0x56BF (DG2)
[04:31:33] [PASSED] 0x5690 (DG2)
[04:31:33] [PASSED] 0x5691 (DG2)
[04:31:33] [PASSED] 0x5692 (DG2)
[04:31:33] [PASSED] 0x56A5 (DG2)
[04:31:33] [PASSED] 0x56A6 (DG2)
[04:31:33] [PASSED] 0x56B0 (DG2)
[04:31:33] [PASSED] 0x56B1 (DG2)
[04:31:33] [PASSED] 0x56BA (DG2)
[04:31:33] [PASSED] 0x56BB (DG2)
[04:31:33] [PASSED] 0x56BC (DG2)
[04:31:33] [PASSED] 0x56BD (DG2)
[04:31:33] [PASSED] 0x5693 (DG2)
[04:31:33] [PASSED] 0x5694 (DG2)
[04:31:33] [PASSED] 0x5695 (DG2)
[04:31:33] [PASSED] 0x56A3 (DG2)
[04:31:33] [PASSED] 0x56A4 (DG2)
[04:31:33] [PASSED] 0x56B2 (DG2)
[04:31:33] [PASSED] 0x56B3 (DG2)
[04:31:33] [PASSED] 0x5696 (DG2)
[04:31:33] [PASSED] 0x5697 (DG2)
[04:31:33] [PASSED] 0xB69 (PVC)
[04:31:33] [PASSED] 0xB6E (PVC)
[04:31:33] [PASSED] 0xBD4 (PVC)
[04:31:33] [PASSED] 0xBD5 (PVC)
[04:31:33] [PASSED] 0xBD6 (PVC)
[04:31:33] [PASSED] 0xBD7 (PVC)
[04:31:33] [PASSED] 0xBD8 (PVC)
[04:31:33] [PASSED] 0xBD9 (PVC)
[04:31:33] [PASSED] 0xBDA (PVC)
[04:31:33] [PASSED] 0xBDB (PVC)
[04:31:33] [PASSED] 0xBE0 (PVC)
[04:31:33] [PASSED] 0xBE1 (PVC)
[04:31:33] [PASSED] 0xBE5 (PVC)
[04:31:33] [PASSED] 0x7D40 (METEORLAKE)
[04:31:33] [PASSED] 0x7D45 (METEORLAKE)
[04:31:33] [PASSED] 0x7D55 (METEORLAKE)
[04:31:33] [PASSED] 0x7D60 (METEORLAKE)
[04:31:33] [PASSED] 0x7DD5 (METEORLAKE)
[04:31:33] [PASSED] 0x6420 (LUNARLAKE)
[04:31:33] [PASSED] 0x64A0 (LUNARLAKE)
[04:31:33] [PASSED] 0x64B0 (LUNARLAKE)
[04:31:33] [PASSED] 0xE202 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE209 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE20B (BATTLEMAGE)
[04:31:33] [PASSED] 0xE20C (BATTLEMAGE)
[04:31:33] [PASSED] 0xE20D (BATTLEMAGE)
[04:31:33] [PASSED] 0xE210 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE211 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE212 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE216 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE220 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE221 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE222 (BATTLEMAGE)
[04:31:33] [PASSED] 0xE223 (BATTLEMAGE)
[04:31:33] [PASSED] 0xB080 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB081 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB082 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB083 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB084 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB085 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB086 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB087 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB08F (PANTHERLAKE)
[04:31:33] [PASSED] 0xB090 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB0A0 (PANTHERLAKE)
[04:31:33] [PASSED] 0xB0B0 (PANTHERLAKE)
[04:31:33] [PASSED] 0xFD80 (PANTHERLAKE)
[04:31:33] [PASSED] 0xFD81 (PANTHERLAKE)
[04:31:33] [PASSED] 0xD740 (NOVALAKE_S)
[04:31:33] [PASSED] 0xD741 (NOVALAKE_S)
[04:31:33] [PASSED] 0xD742 (NOVALAKE_S)
[04:31:33] [PASSED] 0xD743 (NOVALAKE_S)
[04:31:33] [PASSED] 0xD745 (NOVALAKE_S)
[04:31:33] [PASSED] 0xD74A (NOVALAKE_S)
[04:31:33] [PASSED] 0xD74B (NOVALAKE_S)
[04:31:33] [PASSED] 0x674C (CRESCENTISLAND)
[04:31:33] [PASSED] 0x674D (CRESCENTISLAND)
[04:31:33] [PASSED] 0x674E (CRESCENTISLAND)
[04:31:33] [PASSED] 0x674F (CRESCENTISLAND)
[04:31:33] [PASSED] 0x6750 (CRESCENTISLAND)
[04:31:33] [PASSED] 0xD750 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD751 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD752 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD753 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD754 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD755 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD756 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD757 (NOVALAKE_P)
[04:31:33] [PASSED] 0xD75F (NOVALAKE_P)
[04:31:33] =============== [PASSED] check_platform_desc ===============
[04:31:33] ===================== [PASSED] xe_pci ======================
[04:31:33] ============= xe_rtp_tables_test (5 subtests) ==============
[04:31:33] ================== xe_rtp_table_gt_test ===================
[04:31:33] [PASSED] gt_was/14011060649
[04:31:33] [PASSED] gt_was/14011059788
[04:31:33] [PASSED] gt_was/14015795083
[04:31:33] [PASSED] gt_was/16021867713
[04:31:33] [PASSED] gt_was/14019449301
[04:31:33] [PASSED] gt_was/16028005424
[04:31:33] [PASSED] gt_was/14026578760
[04:31:33] [PASSED] gt_was/1409420604
[04:31:33] [PASSED] gt_was/1408615072
[04:31:33] [PASSED] gt_was/22010523718
[04:31:33] [PASSED] gt_was/14011006942
[04:31:33] [PASSED] gt_was/14014830051
[04:31:33] [PASSED] gt_was/18018781329
[04:31:33] [PASSED] gt_was/1509235366
[04:31:33] [PASSED] gt_was/18018781329
[04:31:33] [PASSED] gt_was/16016694945
[04:31:33] [PASSED] gt_was/14018575942
[04:31:33] [PASSED] gt_was/22016670082
[04:31:33] [PASSED] gt_was/22016670082
[04:31:33] [PASSED] gt_was/14017421178
[04:31:33] [PASSED] gt_was/16025250150
[04:31:33] [PASSED] gt_was/14021871409
[04:31:33] [PASSED] gt_was/16021865536
[04:31:33] [PASSED] gt_was/14021486841
[04:31:33] [PASSED] gt_was/14025160223
[04:31:33] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[04:31:33] [PASSED] gt_was/14025635424
[04:31:33] [PASSED] gt_was/16028005424
[04:31:33] ============== [PASSED] xe_rtp_table_gt_test ===============
[04:31:33] ================== xe_rtp_table_gt_test ===================
[04:31:33] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[04:31:33] [PASSED] gt_tunings/Tuning: 32B Access Enable
[04:31:33] [PASSED] gt_tunings/Tuning: L3 cache
[04:31:33] [PASSED] gt_tunings/Tuning: L3 cache - media
[04:31:33] [PASSED] gt_tunings/Tuning: Compression Overfetch
[04:31:33] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[04:31:33] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[04:31:33] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[04:31:33] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[04:31:33] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[04:31:33] [PASSED] gt_tunings/Tuning: Stateless compression control
[04:31:33] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[04:31:33] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[04:31:33] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[04:31:33] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[04:31:33] ============== [PASSED] xe_rtp_table_gt_test ===============
[04:31:33] ================== xe_rtp_table_oob_test ==================
[04:31:33] [PASSED] oob_was/1607983814
[04:31:33] [PASSED] oob_was/16010904313
[04:31:33] [PASSED] oob_was/18022495364
[04:31:33] [PASSED] oob_was/22012773006
[04:31:33] [PASSED] oob_was/14014475959
[04:31:33] [PASSED] oob_was/22011391025
[04:31:33] [PASSED] oob_was/22012727170
[04:31:33] [PASSED] oob_was/22012727685
[04:31:33] [PASSED] oob_was/22016596838
[04:31:33] [PASSED] oob_was/18020744125
[04:31:33] [PASSED] oob_was/1409600907
[04:31:33] [PASSED] oob_was/22014953428
[04:31:33] [PASSED] oob_was/16017236439
[04:31:33] [PASSED] oob_was/14019821291
[04:31:33] [PASSED] oob_was/14015076503
[04:31:33] [PASSED] oob_was/14018913170
[04:31:33] [PASSED] oob_was/14018094691
[04:31:33] [PASSED] oob_was/18024947630
[04:31:33] [PASSED] oob_was/16022287689
[04:31:33] [PASSED] oob_was/13011645652
[04:31:33] [PASSED] oob_was/14022293748
[04:31:33] [PASSED] oob_was/22019794406
[04:31:33] [PASSED] oob_was/22019338487
[04:31:33] [PASSED] oob_was/16023588340
[04:31:33] [PASSED] oob_was/14019789679
[04:31:33] [PASSED] oob_was/14022866841
[04:31:33] [PASSED] oob_was/16021333562
[04:31:33] [PASSED] oob_was/14016712196
[04:31:33] [PASSED] oob_was/14015568240
[04:31:33] [PASSED] oob_was/18013179988
[04:31:33] [PASSED] oob_was/1508761755
[04:31:33] [PASSED] oob_was/16023105232
[04:31:33] [PASSED] oob_was/16026508708
[04:31:33] [PASSED] oob_was/14020001231
[04:31:33] [PASSED] oob_was/16023683509
[04:31:33] [PASSED] oob_was/14025515070
[04:31:33] [PASSED] oob_was/15015404425_disable
[04:31:33] [PASSED] oob_was/16026007364
[04:31:33] [PASSED] oob_was/14020316580
[04:31:33] [PASSED] oob_was/14025883347
[04:31:33] [PASSED] oob_was/16029380221
[04:31:33] [PASSED] oob_was/22022079272
[04:31:33] [PASSED] oob_was/16029897822
[04:31:33] ============== [PASSED] xe_rtp_table_oob_test ==============
[04:31:33] ================ xe_rtp_table_dev_oob_test ================
[04:31:33] [PASSED] device_oob_was/22010954014
[04:31:33] [PASSED] device_oob_was/15015404425
[04:31:33] [PASSED] device_oob_was/22019338487_display
[04:31:33] [PASSED] device_oob_was/14022085890
[04:31:33] [PASSED] device_oob_was/14026539277
[04:31:33] [PASSED] device_oob_was/14026633728
[04:31:33] [PASSED] device_oob_was/14026746987
[04:31:33] [PASSED] device_oob_was/14026779378
[04:31:33] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[04:31:33] ========== xe_rtp_table_missing_upper_bound_test ==========
[04:31:33] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[04:31:33] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[04:31:33] [PASSED] register_whitelist/1806527549
[04:31:33] [PASSED] register_whitelist/allow_read_ctx_timestamp
[04:31:33] [PASSED] register_whitelist/allow_read_queue_timestamp
[04:31:33] [PASSED] register_whitelist/16014440446
[04:31:33] [PASSED] register_whitelist/16017236439
[04:31:33] [PASSED] register_whitelist/16020183090
[04:31:33] [PASSED] register_whitelist/14024997852
[04:31:33] [PASSED] register_whitelist/14024997852
[04:31:33] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[04:31:33] =============== [PASSED] xe_rtp_tables_test ================
[04:31:33] =================== xe_rtp (3 subtests) ====================
[04:31:33] =================== xe_rtp_rules_tests ====================
[04:31:33] [PASSED] no
[04:31:33] [PASSED] yes
[04:31:33] [PASSED] no-and-no
[04:31:33] [PASSED] no-and-yes
[04:31:33] [PASSED] yes-and-no
[04:31:33] [PASSED] yes-and-yes
[04:31:33] [PASSED] no-or-no
[04:31:33] [PASSED] no-or-yes
[04:31:33] [PASSED] yes-or-no
[04:31:33] [PASSED] yes-or-yes
[04:31:33] [PASSED] no-yes-or-yes-no
[04:31:33] [PASSED] no-yes-or-yes-yes
[04:31:33] [PASSED] yes-yes-or-no-yes
[04:31:33] [PASSED] yes-yes-or-yes-yes
[04:31:33] [PASSED] no-no-or-yes-or-no
[04:31:33] [PASSED] or
[04:31:33] [PASSED] or-yes
[04:31:33] [PASSED] or-no
[04:31:33] [PASSED] yes-or
[04:31:33] [PASSED] no-or
[04:31:33] [PASSED] no-or-or-yes
[04:31:33] [PASSED] yes-or-or-no
[04:31:33] [PASSED] no-or-or-no
[04:31:33] [PASSED] missing-context-engine-class
[04:31:33] [PASSED] missing-context-engine-class-or-yes
[04:31:33] [PASSED] missing-context-engine-class-or-or-yes
[04:31:33] =============== [PASSED] xe_rtp_rules_tests ================
[04:31:33] =============== xe_rtp_process_to_sr_tests ================
[04:31:33] [PASSED] coalesce-same-reg
[04:31:33] [PASSED] coalesce-same-reg-literal-and-func
[04:31:33] [PASSED] no-match-no-add
[04:31:33] [PASSED] two-regs-two-entries
[04:31:33] [PASSED] clr-one-set-other
[04:31:33] [PASSED] set-field
[04:31:33] [PASSED] conflict-duplicate
[04:31:33] [PASSED] conflict-not-disjoint
[04:31:33] [PASSED] conflict-not-disjoint-literal-and-func
[04:31:33] [PASSED] conflict-reg-type
[04:31:33] [PASSED] bad-mcr-reg-forced-to-regular
[04:31:33] [PASSED] bad-regular-reg-forced-to-mcr
[04:31:33] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[04:31:33] ================== xe_rtp_process_tests ===================
[04:31:33] [PASSED] active1
[04:31:33] [PASSED] active2
[04:31:33] [PASSED] active-inactive
[04:31:33] [PASSED] inactive-active
[04:31:33] [PASSED] inactive-active-inactive
[04:31:33] [PASSED] inactive-inactive-inactive
[04:31:33] ============== [PASSED] xe_rtp_process_tests ===============
[04:31:33] ===================== [PASSED] xe_rtp ======================
[04:31:33] ==================== xe_wa (1 subtest) =====================
[04:31:33] ======================== xe_wa_gt =========================
[04:31:33] [PASSED] TIGERLAKE B0
[04:31:33] [PASSED] DG1 A0
[04:31:33] [PASSED] DG1 B0
[04:31:33] [PASSED] ALDERLAKE_S A0
[04:31:33] [PASSED] ALDERLAKE_S B0
[04:31:33] [PASSED] ALDERLAKE_S C0
[04:31:33] [PASSED] ALDERLAKE_S D0
[04:31:33] [PASSED] ALDERLAKE_P A0
[04:31:33] [PASSED] ALDERLAKE_P B0
[04:31:33] [PASSED] ALDERLAKE_P C0
[04:31:33] [PASSED] ALDERLAKE_S RPLS D0
[04:31:33] [PASSED] ALDERLAKE_P RPLU E0
[04:31:33] [PASSED] DG2 G10 C0
[04:31:33] [PASSED] DG2 G11 B1
[04:31:33] [PASSED] DG2 G12 A1
[04:31:33] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[04:31:33] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[04:31:33] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[04:31:33] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[04:31:33] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[04:31:33] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[04:31:33] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[04:31:33] ==================== [PASSED] xe_wa_gt =====================
[04:31:33] ====================== [PASSED] xe_wa ======================
[04:31:33] ============================================================
[04:31:33] Testing complete. Ran 741 tests: passed: 723, skipped: 18
[04:31:33] Elapsed time: 36.693s total, 4.412s configuring, 31.615s building, 0.651s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[04:31:33] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[04:31:35] 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
[04:31:59] Starting KUnit Kernel (1/1)...
[04:31:59] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[04:32:00] ============ drm_test_pick_cmdline (2 subtests) ============
[04:32:00] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[04:32:00] =============== drm_test_pick_cmdline_named ===============
[04:32:00] [PASSED] NTSC
[04:32:00] [PASSED] NTSC-J
[04:32:00] [PASSED] PAL
[04:32:00] [PASSED] PAL-M
[04:32:00] =========== [PASSED] drm_test_pick_cmdline_named ===========
[04:32:00] ============== [PASSED] drm_test_pick_cmdline ==============
[04:32:00] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[04:32:00] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[04:32:00] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[04:32:00] =========== drm_validate_clone_mode (2 subtests) ===========
[04:32:00] ============== drm_test_check_in_clone_mode ===============
[04:32:00] [PASSED] in_clone_mode
[04:32:00] [PASSED] not_in_clone_mode
[04:32:00] ========== [PASSED] drm_test_check_in_clone_mode ===========
[04:32:00] =============== drm_test_check_valid_clones ===============
[04:32:00] [PASSED] not_in_clone_mode
[04:32:00] [PASSED] valid_clone
[04:32:00] [PASSED] invalid_clone
[04:32:00] =========== [PASSED] drm_test_check_valid_clones ===========
[04:32:00] ============= [PASSED] drm_validate_clone_mode =============
[04:32:00] ============= drm_validate_modeset (1 subtest) =============
[04:32:00] [PASSED] drm_test_check_connector_changed_modeset
[04:32:00] ============== [PASSED] drm_validate_modeset ===============
[04:32:00] ====== drm_test_bridge_get_current_state (2 subtests) ======
[04:32:00] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[04:32:00] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[04:32:00] ======== [PASSED] drm_test_bridge_get_current_state ========
[04:32:00] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ======
[04:32:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[04:32:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[04:32:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[04:32:00] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[04:32:00] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[04:32:00] ============== drm_bridge_alloc (2 subtests) ===============
[04:32:00] [PASSED] drm_test_drm_bridge_alloc_basic
[04:32:00] [PASSED] drm_test_drm_bridge_alloc_get_put
[04:32:00] ================ [PASSED] drm_bridge_alloc =================
[04:32:00] ============= drm_bridge_bus_fmt (5 subtests) ==============
[04:32:00] [PASSED] drm_test_bridge_rgb_yuv_rgb
[04:32:00] [PASSED] drm_test_bridge_must_convert_to_yuv444
[04:32:00] [PASSED] drm_test_bridge_hdmi_auto_rgb
[04:32:00] [PASSED] drm_test_bridge_auto_first
[04:32:00] [PASSED] drm_test_bridge_rgb_yuv_no_path
[04:32:00] =============== [PASSED] drm_bridge_bus_fmt ================
[04:32:00] ============= drm_cmdline_parser (40 subtests) =============
[04:32:00] [PASSED] drm_test_cmdline_force_d_only
[04:32:00] [PASSED] drm_test_cmdline_force_D_only_dvi
[04:32:00] [PASSED] drm_test_cmdline_force_D_only_hdmi
[04:32:00] [PASSED] drm_test_cmdline_force_D_only_not_digital
[04:32:00] [PASSED] drm_test_cmdline_force_e_only
[04:32:00] [PASSED] drm_test_cmdline_res
[04:32:00] [PASSED] drm_test_cmdline_res_vesa
[04:32:00] [PASSED] drm_test_cmdline_res_vesa_rblank
[04:32:00] [PASSED] drm_test_cmdline_res_rblank
[04:32:00] [PASSED] drm_test_cmdline_res_bpp
[04:32:00] [PASSED] drm_test_cmdline_res_refresh
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[04:32:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[04:32:00] [PASSED] drm_test_cmdline_res_margins_force_on
[04:32:00] [PASSED] drm_test_cmdline_res_vesa_margins
[04:32:00] [PASSED] drm_test_cmdline_name
[04:32:00] [PASSED] drm_test_cmdline_name_bpp
[04:32:00] [PASSED] drm_test_cmdline_name_option
[04:32:00] [PASSED] drm_test_cmdline_name_bpp_option
[04:32:00] [PASSED] drm_test_cmdline_rotate_0
[04:32:00] [PASSED] drm_test_cmdline_rotate_90
[04:32:00] [PASSED] drm_test_cmdline_rotate_180
[04:32:00] [PASSED] drm_test_cmdline_rotate_270
[04:32:00] [PASSED] drm_test_cmdline_hmirror
[04:32:00] [PASSED] drm_test_cmdline_vmirror
[04:32:00] [PASSED] drm_test_cmdline_margin_options
[04:32:00] [PASSED] drm_test_cmdline_multiple_options
[04:32:00] [PASSED] drm_test_cmdline_bpp_extra_and_option
[04:32:00] [PASSED] drm_test_cmdline_extra_and_option
[04:32:00] [PASSED] drm_test_cmdline_freestanding_options
[04:32:00] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[04:32:00] [PASSED] drm_test_cmdline_panel_orientation
[04:32:00] ================ drm_test_cmdline_invalid =================
[04:32:00] [PASSED] margin_only
[04:32:00] [PASSED] interlace_only
[04:32:00] [PASSED] res_missing_x
[04:32:00] [PASSED] res_missing_y
[04:32:00] [PASSED] res_bad_y
[04:32:00] [PASSED] res_missing_y_bpp
[04:32:00] [PASSED] res_bad_bpp
[04:32:00] [PASSED] res_bad_refresh
[04:32:00] [PASSED] res_bpp_refresh_force_on_off
[04:32:00] [PASSED] res_invalid_mode
[04:32:00] [PASSED] res_bpp_wrong_place_mode
[04:32:00] [PASSED] name_bpp_refresh
[04:32:00] [PASSED] name_refresh
[04:32:00] [PASSED] name_refresh_wrong_mode
[04:32:00] [PASSED] name_refresh_invalid_mode
[04:32:00] [PASSED] rotate_multiple
[04:32:00] [PASSED] rotate_invalid_val
[04:32:00] [PASSED] rotate_truncated
[04:32:00] [PASSED] invalid_option
[04:32:00] [PASSED] invalid_tv_option
[04:32:00] [PASSED] truncated_tv_option
[04:32:00] ============ [PASSED] drm_test_cmdline_invalid =============
[04:32:00] =============== drm_test_cmdline_tv_options ===============
[04:32:00] [PASSED] NTSC
[04:32:00] [PASSED] NTSC_443
[04:32:00] [PASSED] NTSC_J
[04:32:00] [PASSED] PAL
[04:32:00] [PASSED] PAL_M
[04:32:00] [PASSED] PAL_N
[04:32:00] [PASSED] SECAM
[04:32:00] [PASSED] MONO_525
[04:32:00] [PASSED] MONO_625
[04:32:00] =========== [PASSED] drm_test_cmdline_tv_options ===========
[04:32:00] =============== [PASSED] drm_cmdline_parser ================
[04:32:00] ========== drmm_connector_hdmi_init (20 subtests) ==========
[04:32:00] [PASSED] drm_test_connector_hdmi_init_valid
[04:32:00] [PASSED] drm_test_connector_hdmi_init_bpc_8
[04:32:00] [PASSED] drm_test_connector_hdmi_init_bpc_10
[04:32:00] [PASSED] drm_test_connector_hdmi_init_bpc_12
[04:32:00] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[04:32:00] [PASSED] drm_test_connector_hdmi_init_bpc_null
[04:32:00] [PASSED] drm_test_connector_hdmi_init_formats_empty
[04:32:00] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[04:32:00] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[04:32:00] [PASSED] supported_formats=0x9 yuv420_allowed=1
[04:32:00] [PASSED] supported_formats=0x9 yuv420_allowed=0
[04:32:00] [PASSED] supported_formats=0x5 yuv420_allowed=1
[04:32:00] [PASSED] supported_formats=0x5 yuv420_allowed=0
[04:32:00] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[04:32:00] [PASSED] drm_test_connector_hdmi_init_null_ddc
[04:32:00] [PASSED] drm_test_connector_hdmi_init_null_product
[04:32:00] [PASSED] drm_test_connector_hdmi_init_null_vendor
[04:32:00] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[04:32:00] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[04:32:00] [PASSED] drm_test_connector_hdmi_init_product_valid
[04:32:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[04:32:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[04:32:00] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[04:32:00] ========= drm_test_connector_hdmi_init_type_valid =========
[04:32:00] [PASSED] HDMI-A
[04:32:00] [PASSED] HDMI-B
[04:32:00] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[04:32:00] ======== drm_test_connector_hdmi_init_type_invalid ========
[04:32:00] [PASSED] Unknown
[04:32:00] [PASSED] VGA
[04:32:00] [PASSED] DVI-I
[04:32:00] [PASSED] DVI-D
[04:32:00] [PASSED] DVI-A
[04:32:00] [PASSED] Composite
[04:32:00] [PASSED] SVIDEO
[04:32:00] [PASSED] LVDS
[04:32:00] [PASSED] Component
[04:32:00] [PASSED] DIN
[04:32:00] [PASSED] DP
[04:32:00] [PASSED] TV
[04:32:00] [PASSED] eDP
[04:32:00] [PASSED] Virtual
[04:32:00] [PASSED] DSI
[04:32:00] [PASSED] DPI
[04:32:00] [PASSED] Writeback
[04:32:00] [PASSED] SPI
[04:32:00] [PASSED] USB
[04:32:00] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[04:32:00] ============ [PASSED] drmm_connector_hdmi_init =============
[04:32:00] ============= drmm_connector_init (3 subtests) =============
[04:32:00] [PASSED] drm_test_drmm_connector_init
[04:32:00] [PASSED] drm_test_drmm_connector_init_null_ddc
[04:32:00] ========= drm_test_drmm_connector_init_type_valid =========
[04:32:00] [PASSED] Unknown
[04:32:00] [PASSED] VGA
[04:32:00] [PASSED] DVI-I
[04:32:00] [PASSED] DVI-D
[04:32:00] [PASSED] DVI-A
[04:32:00] [PASSED] Composite
[04:32:00] [PASSED] SVIDEO
[04:32:00] [PASSED] LVDS
[04:32:00] [PASSED] Component
[04:32:00] [PASSED] DIN
[04:32:00] [PASSED] DP
[04:32:00] [PASSED] HDMI-A
[04:32:00] [PASSED] HDMI-B
[04:32:00] [PASSED] TV
[04:32:00] [PASSED] eDP
[04:32:00] [PASSED] Virtual
[04:32:00] [PASSED] DSI
[04:32:00] [PASSED] DPI
[04:32:00] [PASSED] Writeback
[04:32:00] [PASSED] SPI
[04:32:00] [PASSED] USB
[04:32:00] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[04:32:00] =============== [PASSED] drmm_connector_init ===============
[04:32:00] ========= drm_connector_dynamic_init (6 subtests) ==========
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_init
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_init_properties
[04:32:00] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[04:32:00] [PASSED] Unknown
[04:32:00] [PASSED] VGA
[04:32:00] [PASSED] DVI-I
[04:32:00] [PASSED] DVI-D
[04:32:00] [PASSED] DVI-A
[04:32:00] [PASSED] Composite
[04:32:00] [PASSED] SVIDEO
[04:32:00] [PASSED] LVDS
[04:32:00] [PASSED] Component
[04:32:00] [PASSED] DIN
[04:32:00] [PASSED] DP
[04:32:00] [PASSED] HDMI-A
[04:32:00] [PASSED] HDMI-B
[04:32:00] [PASSED] TV
[04:32:00] [PASSED] eDP
[04:32:00] [PASSED] Virtual
[04:32:00] [PASSED] DSI
[04:32:00] [PASSED] DPI
[04:32:00] [PASSED] Writeback
[04:32:00] [PASSED] SPI
[04:32:00] [PASSED] USB
[04:32:00] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[04:32:00] ======== drm_test_drm_connector_dynamic_init_name =========
[04:32:00] [PASSED] Unknown
[04:32:00] [PASSED] VGA
[04:32:00] [PASSED] DVI-I
[04:32:00] [PASSED] DVI-D
[04:32:00] [PASSED] DVI-A
[04:32:00] [PASSED] Composite
[04:32:00] [PASSED] SVIDEO
[04:32:00] [PASSED] LVDS
[04:32:00] [PASSED] Component
[04:32:00] [PASSED] DIN
[04:32:00] [PASSED] DP
[04:32:00] [PASSED] HDMI-A
[04:32:00] [PASSED] HDMI-B
[04:32:00] [PASSED] TV
[04:32:00] [PASSED] eDP
[04:32:00] [PASSED] Virtual
[04:32:00] [PASSED] DSI
[04:32:00] [PASSED] DPI
[04:32:00] [PASSED] Writeback
[04:32:00] [PASSED] SPI
[04:32:00] [PASSED] USB
[04:32:00] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[04:32:00] =========== [PASSED] drm_connector_dynamic_init ============
[04:32:00] ==== drm_connector_dynamic_register_early (4 subtests) =====
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[04:32:00] ====== [PASSED] drm_connector_dynamic_register_early =======
[04:32:00] ======= drm_connector_dynamic_register (7 subtests) ========
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[04:32:00] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[04:32:00] ========= [PASSED] drm_connector_dynamic_register ==========
[04:32:00] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[04:32:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[04:32:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[04:32:00] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[04:32:00] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[04:32:00] ========== drm_test_get_tv_mode_from_name_valid ===========
[04:32:00] [PASSED] NTSC
[04:32:00] [PASSED] NTSC-443
[04:32:00] [PASSED] NTSC-J
[04:32:00] [PASSED] PAL
[04:32:00] [PASSED] PAL-M
[04:32:00] [PASSED] PAL-N
[04:32:00] [PASSED] SECAM
[04:32:00] [PASSED] Mono
[04:32:00] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[04:32:00] [PASSED] drm_test_get_tv_mode_from_name_truncated
[04:32:00] ============ [PASSED] drm_get_tv_mode_from_name ============
[04:32:00] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[04:32:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[04:32:00] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[04:32:00] [PASSED] VIC 96
[04:32:00] [PASSED] VIC 97
[04:32:00] [PASSED] VIC 101
[04:32:00] [PASSED] VIC 102
[04:32:00] [PASSED] VIC 106
[04:32:00] [PASSED] VIC 107
[04:32:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[04:32:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[04:32:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[04:32:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[04:32:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[04:32:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[04:32:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[04:32:00] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[04:32:00] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[04:32:00] [PASSED] Automatic
[04:32:00] [PASSED] Full
[04:32:00] [PASSED] Limited 16:235
[04:32:00] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[04:32:00] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[04:32:00] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[04:32:00] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[04:32:00] === drm_test_drm_hdmi_connector_get_output_format_name ====
[04:32:00] [PASSED] RGB
[04:32:00] [PASSED] YUV 4:2:0
[04:32:00] [PASSED] YUV 4:2:2
[04:32:00] [PASSED] YUV 4:4:4
[04:32:00] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[04:32:00] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[04:32:00] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[04:32:00] ============= drm_damage_helper (21 subtests) ==============
[04:32:00] [PASSED] drm_test_damage_iter_no_damage
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_src_moved
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_not_visible
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[04:32:00] [PASSED] drm_test_damage_iter_no_damage_no_fb
[04:32:00] [PASSED] drm_test_damage_iter_simple_damage
[04:32:00] [PASSED] drm_test_damage_iter_single_damage
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_outside_src
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_src_moved
[04:32:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[04:32:00] [PASSED] drm_test_damage_iter_damage
[04:32:00] [PASSED] drm_test_damage_iter_damage_one_intersect
[04:32:00] [PASSED] drm_test_damage_iter_damage_one_outside
[04:32:00] [PASSED] drm_test_damage_iter_damage_src_moved
[04:32:00] [PASSED] drm_test_damage_iter_damage_not_visible
[04:32:00] ================ [PASSED] drm_damage_helper ================
[04:32:00] ============== drm_dp_mst_helper (3 subtests) ==============
[04:32:00] ============== drm_test_dp_mst_calc_pbn_mode ==============
[04:32:00] [PASSED] Clock 154000 BPP 30 DSC disabled
[04:32:00] [PASSED] Clock 234000 BPP 30 DSC disabled
[04:32:00] [PASSED] Clock 297000 BPP 24 DSC disabled
[04:32:00] [PASSED] Clock 332880 BPP 24 DSC enabled
[04:32:00] [PASSED] Clock 324540 BPP 24 DSC enabled
[04:32:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[04:32:00] ============== drm_test_dp_mst_calc_pbn_div ===============
[04:32:00] [PASSED] Link rate 2000000 lane count 4
[04:32:00] [PASSED] Link rate 2000000 lane count 2
[04:32:00] [PASSED] Link rate 2000000 lane count 1
[04:32:00] [PASSED] Link rate 1350000 lane count 4
[04:32:00] [PASSED] Link rate 1350000 lane count 2
[04:32:00] [PASSED] Link rate 1350000 lane count 1
[04:32:00] [PASSED] Link rate 1000000 lane count 4
[04:32:00] [PASSED] Link rate 1000000 lane count 2
[04:32:00] [PASSED] Link rate 1000000 lane count 1
[04:32:00] [PASSED] Link rate 810000 lane count 4
[04:32:00] [PASSED] Link rate 810000 lane count 2
[04:32:00] [PASSED] Link rate 810000 lane count 1
[04:32:00] [PASSED] Link rate 540000 lane count 4
[04:32:00] [PASSED] Link rate 540000 lane count 2
[04:32:00] [PASSED] Link rate 540000 lane count 1
[04:32:00] [PASSED] Link rate 270000 lane count 4
[04:32:00] [PASSED] Link rate 270000 lane count 2
[04:32:00] [PASSED] Link rate 270000 lane count 1
[04:32:00] [PASSED] Link rate 162000 lane count 4
[04:32:00] [PASSED] Link rate 162000 lane count 2
[04:32:00] [PASSED] Link rate 162000 lane count 1
[04:32:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[04:32:00] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[04:32:00] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[04:32:00] [PASSED] DP_POWER_UP_PHY with port number
[04:32:00] [PASSED] DP_POWER_DOWN_PHY with port number
[04:32:00] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[04:32:00] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[04:32:00] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[04:32:00] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[04:32:00] [PASSED] DP_QUERY_PAYLOAD with port number
[04:32:00] [PASSED] DP_QUERY_PAYLOAD with VCPI
[04:32:00] [PASSED] DP_REMOTE_DPCD_READ with port number
[04:32:00] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[04:32:00] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[04:32:00] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[04:32:00] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[04:32:00] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[04:32:00] [PASSED] DP_REMOTE_I2C_READ with port number
[04:32:00] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[04:32:00] [PASSED] DP_REMOTE_I2C_READ with transactions array
[04:32:00] [PASSED] DP_REMOTE_I2C_WRITE with port number
[04:32:00] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[04:32:00] [PASSED] DP_REMOTE_I2C_WRITE with data array
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[04:32:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[04:32:00] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[04:32:00] ================ [PASSED] drm_dp_mst_helper ================
[04:32:00] ================== drm_exec (7 subtests) ===================
[04:32:00] [PASSED] sanitycheck
[04:32:00] [PASSED] test_lock
[04:32:00] [PASSED] test_lock_unlock
[04:32:00] [PASSED] test_duplicates
[04:32:00] [PASSED] test_prepare
[04:32:00] [PASSED] test_prepare_array
[04:32:00] [PASSED] test_multiple_loops
[04:32:00] ==================== [PASSED] drm_exec =====================
[04:32:00] =========== drm_format_helper_test (17 subtests) ===========
[04:32:00] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[04:32:00] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[04:32:00] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[04:32:00] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[04:32:00] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[04:32:00] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[04:32:00] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[04:32:00] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[04:32:00] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[04:32:00] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[04:32:00] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[04:32:00] ============== drm_test_fb_xrgb8888_to_mono ===============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[04:32:00] ==================== drm_test_fb_swab =====================
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ================ [PASSED] drm_test_fb_swab =================
[04:32:00] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[04:32:00] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[04:32:00] [PASSED] single_pixel_source_buffer
[04:32:00] [PASSED] single_pixel_clip_rectangle
[04:32:00] [PASSED] well_known_colors
[04:32:00] [PASSED] destination_pitch
[04:32:00] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[04:32:00] ================= drm_test_fb_clip_offset =================
[04:32:00] [PASSED] pass through
[04:32:00] [PASSED] horizontal offset
[04:32:00] [PASSED] vertical offset
[04:32:00] [PASSED] horizontal and vertical offset
[04:32:00] [PASSED] horizontal offset (custom pitch)
[04:32:00] [PASSED] vertical offset (custom pitch)
[04:32:00] [PASSED] horizontal and vertical offset (custom pitch)
[04:32:00] ============= [PASSED] drm_test_fb_clip_offset =============
[04:32:00] =================== drm_test_fb_memcpy ====================
[04:32:00] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[04:32:00] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[04:32:00] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[04:32:00] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[04:32:00] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[04:32:00] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[04:32:00] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[04:32:00] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[04:32:00] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[04:32:00] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[04:32:00] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[04:32:00] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[04:32:00] =============== [PASSED] drm_test_fb_memcpy ================
[04:32:00] ============= [PASSED] drm_format_helper_test ==============
[04:32:00] ================= drm_format (18 subtests) =================
[04:32:00] [PASSED] drm_test_format_block_width_invalid
[04:32:00] [PASSED] drm_test_format_block_width_one_plane
[04:32:00] [PASSED] drm_test_format_block_width_two_plane
[04:32:00] [PASSED] drm_test_format_block_width_three_plane
[04:32:00] [PASSED] drm_test_format_block_width_tiled
[04:32:00] [PASSED] drm_test_format_block_height_invalid
[04:32:00] [PASSED] drm_test_format_block_height_one_plane
[04:32:00] [PASSED] drm_test_format_block_height_two_plane
[04:32:00] [PASSED] drm_test_format_block_height_three_plane
[04:32:00] [PASSED] drm_test_format_block_height_tiled
[04:32:00] [PASSED] drm_test_format_min_pitch_invalid
[04:32:00] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[04:32:00] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[04:32:00] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[04:32:00] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[04:32:00] [PASSED] drm_test_format_min_pitch_two_plane
[04:32:00] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[04:32:00] [PASSED] drm_test_format_min_pitch_tiled
[04:32:00] =================== [PASSED] drm_format ====================
[04:32:00] ============== drm_framebuffer (10 subtests) ===============
[04:32:00] ========== drm_test_framebuffer_check_src_coords ==========
[04:32:00] [PASSED] Success: source fits into fb
[04:32:00] [PASSED] Fail: overflowing fb with x-axis coordinate
[04:32:00] [PASSED] Fail: overflowing fb with y-axis coordinate
[04:32:00] [PASSED] Fail: overflowing fb with source width
[04:32:00] [PASSED] Fail: overflowing fb with source height
[04:32:00] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[04:32:00] [PASSED] drm_test_framebuffer_cleanup
[04:32:00] =============== drm_test_framebuffer_create ===============
[04:32:00] [PASSED] ABGR8888 normal sizes
[04:32:00] [PASSED] ABGR8888 max sizes
[04:32:00] [PASSED] ABGR8888 pitch greater than min required
[04:32:00] [PASSED] ABGR8888 pitch less than min required
[04:32:00] [PASSED] ABGR8888 Invalid width
[04:32:00] [PASSED] ABGR8888 Invalid buffer handle
[04:32:00] [PASSED] No pixel format
[04:32:00] [PASSED] ABGR8888 Width 0
[04:32:00] [PASSED] ABGR8888 Height 0
[04:32:00] [PASSED] ABGR8888 Out of bound height * pitch combination
[04:32:00] [PASSED] ABGR8888 Large buffer offset
[04:32:00] [PASSED] ABGR8888 Buffer offset for inexistent plane
[04:32:00] [PASSED] ABGR8888 Invalid flag
[04:32:00] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[04:32:00] [PASSED] ABGR8888 Valid buffer modifier
[04:32:00] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[04:32:00] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] NV12 Normal sizes
[04:32:00] [PASSED] NV12 Max sizes
[04:32:00] [PASSED] NV12 Invalid pitch
[04:32:00] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[04:32:00] [PASSED] NV12 different modifier per-plane
[04:32:00] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[04:32:00] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] NV12 Modifier for inexistent plane
[04:32:00] [PASSED] NV12 Handle for inexistent plane
[04:32:00] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[04:32:00] [PASSED] YVU420 Normal sizes
[04:32:00] [PASSED] YVU420 Max sizes
[04:32:00] [PASSED] YVU420 Invalid pitch
[04:32:00] [PASSED] YVU420 Different pitches
[04:32:00] [PASSED] YVU420 Different buffer offsets/pitches
[04:32:00] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[04:32:00] [PASSED] YVU420 Valid modifier
[04:32:00] [PASSED] YVU420 Different modifiers per plane
[04:32:00] [PASSED] YVU420 Modifier for inexistent plane
[04:32:00] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[04:32:00] [PASSED] X0L2 Normal sizes
[04:32:00] [PASSED] X0L2 Max sizes
[04:32:00] [PASSED] X0L2 Invalid pitch
[04:32:00] [PASSED] X0L2 Pitch greater than minimum required
[04:32:00] [PASSED] X0L2 Handle for inexistent plane
[04:32:00] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[04:32:00] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[04:32:00] [PASSED] X0L2 Valid modifier
[04:32:00] [PASSED] X0L2 Modifier for inexistent plane
[04:32:00] =========== [PASSED] drm_test_framebuffer_create ===========
[04:32:00] [PASSED] drm_test_framebuffer_free
[04:32:00] [PASSED] drm_test_framebuffer_init
[04:32:00] [PASSED] drm_test_framebuffer_init_bad_format
[04:32:00] [PASSED] drm_test_framebuffer_init_dev_mismatch
[04:32:00] [PASSED] drm_test_framebuffer_lookup
[04:32:00] [PASSED] drm_test_framebuffer_lookup_inexistent
[04:32:00] [PASSED] drm_test_framebuffer_modifiers_not_supported
[04:32:00] ================= [PASSED] drm_framebuffer =================
[04:32:00] ================ drm_gem_shmem (8 subtests) ================
[04:32:00] [PASSED] drm_gem_shmem_test_obj_create
[04:32:00] [PASSED] drm_gem_shmem_test_obj_create_private
[04:32:00] [PASSED] drm_gem_shmem_test_pin_pages
[04:32:00] [PASSED] drm_gem_shmem_test_vmap
[04:32:00] [PASSED] drm_gem_shmem_test_get_sg_table
[04:32:00] [PASSED] drm_gem_shmem_test_get_pages_sgt
[04:32:00] [PASSED] drm_gem_shmem_test_madvise
[04:32:00] [PASSED] drm_gem_shmem_test_purge
[04:32:00] ================== [PASSED] drm_gem_shmem ==================
[04:32:00] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[04:32:00] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[04:32:00] [PASSED] Automatic
[04:32:00] [PASSED] Full
[04:32:00] [PASSED] Limited 16:235
[04:32:00] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[04:32:00] [PASSED] drm_test_check_disable_connector
[04:32:00] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[04:32:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[04:32:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[04:32:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[04:32:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[04:32:00] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[04:32:00] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[04:32:00] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[04:32:00] [PASSED] drm_test_check_output_bpc_dvi
[04:32:00] [PASSED] drm_test_check_output_bpc_format_vic_1
[04:32:00] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[04:32:00] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[04:32:00] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[04:32:00] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[04:32:00] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[04:32:00] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[04:32:00] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[04:32:00] ============ drm_test_check_hdmi_color_format =============
[04:32:00] [PASSED] AUTO -> RGB
[04:32:00] [PASSED] YCBCR422 -> YUV422
[04:32:00] [PASSED] YCBCR420 -> YUV420
[04:32:00] [PASSED] YCBCR444 -> YUV444
[04:32:00] [PASSED] RGB -> RGB
[04:32:00] ======== [PASSED] drm_test_check_hdmi_color_format =========
[04:32:00] ======== drm_test_check_hdmi_color_format_420_only ========
[04:32:00] [PASSED] RGB should fail
[04:32:00] [PASSED] YUV444 should fail
[04:32:00] [PASSED] YUV422 should fail
[04:32:00] [PASSED] YUV420 should work
[04:32:00] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[04:32:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[04:32:00] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[04:32:00] [PASSED] drm_test_check_broadcast_rgb_value
[04:32:00] [PASSED] drm_test_check_bpc_8_value
[04:32:00] [PASSED] drm_test_check_bpc_10_value
[04:32:00] [PASSED] drm_test_check_bpc_12_value
[04:32:00] [PASSED] drm_test_check_format_value
[04:32:00] [PASSED] drm_test_check_tmds_char_value
[04:32:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[04:32:00] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[04:32:00] [PASSED] drm_test_check_mode_valid
[04:32:00] [PASSED] drm_test_check_mode_valid_reject
[04:32:00] [PASSED] drm_test_check_mode_valid_reject_rate
[04:32:00] [PASSED] drm_test_check_mode_valid_reject_max_clock
[04:32:00] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[04:32:00] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[04:32:00] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[04:32:00] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[04:32:00] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[04:32:00] [PASSED] drm_test_check_infoframes
[04:32:00] [PASSED] drm_test_check_reject_avi_infoframe
[04:32:00] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[04:32:00] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[04:32:00] [PASSED] drm_test_check_reject_audio_infoframe
[04:32:00] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[04:32:00] ================= drm_managed (2 subtests) =================
[04:32:00] [PASSED] drm_test_managed_release_action
[04:32:00] [PASSED] drm_test_managed_run_action
[04:32:00] =================== [PASSED] drm_managed ===================
[04:32:00] =================== drm_mm (6 subtests) ====================
[04:32:00] [PASSED] drm_test_mm_init
[04:32:00] [PASSED] drm_test_mm_debug
[04:32:00] [PASSED] drm_test_mm_align32
[04:32:00] [PASSED] drm_test_mm_align64
[04:32:00] [PASSED] drm_test_mm_lowest
[04:32:00] [PASSED] drm_test_mm_highest
[04:32:00] ===================== [PASSED] drm_mm ======================
[04:32:00] ============= drm_modes_analog_tv (5 subtests) =============
[04:32:00] [PASSED] drm_test_modes_analog_tv_mono_576i
[04:32:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[04:32:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[04:32:00] [PASSED] drm_test_modes_analog_tv_pal_576i
[04:32:00] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[04:32:00] =============== [PASSED] drm_modes_analog_tv ===============
[04:32:00] ============== drm_plane_helper (2 subtests) ===============
[04:32:00] =============== drm_test_check_plane_state ================
[04:32:00] [PASSED] clipping_simple
[04:32:00] [PASSED] clipping_rotate_reflect
[04:32:00] [PASSED] positioning_simple
[04:32:00] [PASSED] upscaling
[04:32:00] [PASSED] downscaling
[04:32:00] [PASSED] rounding1
[04:32:00] [PASSED] rounding2
[04:32:00] [PASSED] rounding3
[04:32:00] [PASSED] rounding4
[04:32:00] =========== [PASSED] drm_test_check_plane_state ============
[04:32:00] =========== drm_test_check_invalid_plane_state ============
[04:32:00] [PASSED] positioning_invalid
[04:32:00] [PASSED] upscaling_invalid
[04:32:00] [PASSED] downscaling_invalid
[04:32:00] ======= [PASSED] drm_test_check_invalid_plane_state ========
[04:32:00] ================ [PASSED] drm_plane_helper =================
[04:32:00] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[04:32:00] ====== drm_test_connector_helper_tv_get_modes_check =======
[04:32:00] [PASSED] None
[04:32:00] [PASSED] PAL
[04:32:00] [PASSED] NTSC
[04:32:00] [PASSED] Both, NTSC Default
[04:32:00] [PASSED] Both, PAL Default
[04:32:00] [PASSED] Both, NTSC Default, with PAL on command-line
[04:32:00] [PASSED] Both, PAL Default, with NTSC on command-line
[04:32:00] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[04:32:00] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[04:32:00] ================== drm_rect (9 subtests) ===================
[04:32:00] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[04:32:00] [PASSED] drm_test_rect_clip_scaled_not_clipped
[04:32:00] [PASSED] drm_test_rect_clip_scaled_clipped
[04:32:00] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[04:32:00] ================= drm_test_rect_intersect =================
[04:32:00] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[04:32:00] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[04:32:00] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[04:32:00] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[04:32:00] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[04:32:00] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[04:32:00] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[04:32:00] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[04:32:00] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[04:32:00] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[04:32:00] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[04:32:00] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[04:32:00] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[04:32:00] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[04:32:00] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[04:32:00] ============= [PASSED] drm_test_rect_intersect =============
[04:32:00] ================ drm_test_rect_calc_hscale ================
[04:32:00] [PASSED] normal use
[04:32:00] [PASSED] out of max range
[04:32:00] [PASSED] out of min range
[04:32:00] [PASSED] zero dst
[04:32:00] [PASSED] negative src
[04:32:00] [PASSED] negative dst
[04:32:00] ============ [PASSED] drm_test_rect_calc_hscale ============
[04:32:00] ================ drm_test_rect_calc_vscale ================
[04:32:00] [PASSED] normal use
[04:32:00] [PASSED] out of max range
[04:32:00] [PASSED] out of min range
[04:32:00] [PASSED] zero dst
[04:32:00] [PASSED] negative src
[04:32:00] [PASSED] negative dst
[04:32:00] ============ [PASSED] drm_test_rect_calc_vscale ============
[04:32:00] ================== drm_test_rect_rotate ===================
[04:32:00] [PASSED] reflect-x
[04:32:00] [PASSED] reflect-y
[04:32:00] [PASSED] rotate-0
[04:32:00] [PASSED] rotate-90
[04:32:00] [PASSED] rotate-180
[04:32:00] [PASSED] rotate-270
[04:32:00] ============== [PASSED] drm_test_rect_rotate ===============
[04:32:00] ================ drm_test_rect_rotate_inv =================
[04:32:00] [PASSED] reflect-x
[04:32:00] [PASSED] reflect-y
[04:32:00] [PASSED] rotate-0
[04:32:00] [PASSED] rotate-90
[04:32:00] [PASSED] rotate-180
[04:32:00] [PASSED] rotate-270
[04:32:00] ============ [PASSED] drm_test_rect_rotate_inv =============
[04:32:00] ==================== [PASSED] drm_rect =====================
[04:32:00] ============ drm_sysfb_modeset_test (1 subtest) ============
[04:32:00] ============ drm_test_sysfb_build_fourcc_list =============
[04:32:00] [PASSED] no native formats
[04:32:00] [PASSED] XRGB8888 as native format
[04:32:00] [PASSED] remove duplicates
[04:32:00] [PASSED] convert alpha formats
[04:32:00] [PASSED] random formats
[04:32:00] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[04:32:00] ============= [PASSED] drm_sysfb_modeset_test ==============
[04:32:00] ================== drm_fixp (2 subtests) ===================
[04:32:00] [PASSED] drm_test_int2fixp
[04:32:00] [PASSED] drm_test_sm2fixp
[04:32:00] ==================== [PASSED] drm_fixp =====================
[04:32:00] ============================================================
[04:32:00] Testing complete. Ran 639 tests: passed: 639
[04:32:00] Elapsed time: 26.489s total, 1.820s configuring, 24.501s building, 0.146s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[04:32:00] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[04:32:02] 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
[04:32:11] Starting KUnit Kernel (1/1)...
[04:32:11] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[04:32:12] ================= ttm_device (5 subtests) ==================
[04:32:12] [PASSED] ttm_device_init_basic
[04:32:12] [PASSED] ttm_device_init_multiple
[04:32:12] [PASSED] ttm_device_fini_basic
[04:32:12] [PASSED] ttm_device_init_no_vma_man
[04:32:12] ================== ttm_device_init_pools ==================
[04:32:12] [PASSED] No DMA allocations, no DMA32 required
[04:32:12] [PASSED] DMA allocations, DMA32 required
[04:32:12] [PASSED] No DMA allocations, DMA32 required
[04:32:12] [PASSED] DMA allocations, no DMA32 required
[04:32:12] ============== [PASSED] ttm_device_init_pools ==============
[04:32:12] =================== [PASSED] ttm_device ====================
[04:32:12] ================== ttm_pool (8 subtests) ===================
[04:32:12] ================== ttm_pool_alloc_basic ===================
[04:32:12] [PASSED] One page
[04:32:12] [PASSED] More than one page
[04:32:12] [PASSED] Above the allocation limit
[04:32:12] [PASSED] One page, with coherent DMA mappings enabled
[04:32:12] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[04:32:12] ============== [PASSED] ttm_pool_alloc_basic ===============
[04:32:12] ============== ttm_pool_alloc_basic_dma_addr ==============
[04:32:12] [PASSED] One page
[04:32:12] [PASSED] More than one page
[04:32:12] [PASSED] Above the allocation limit
[04:32:12] [PASSED] One page, with coherent DMA mappings enabled
[04:32:12] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[04:32:12] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[04:32:12] [PASSED] ttm_pool_alloc_order_caching_match
[04:32:12] [PASSED] ttm_pool_alloc_caching_mismatch
[04:32:12] [PASSED] ttm_pool_alloc_order_mismatch
[04:32:12] [PASSED] ttm_pool_free_dma_alloc
[04:32:12] [PASSED] ttm_pool_free_no_dma_alloc
[04:32:12] [PASSED] ttm_pool_fini_basic
[04:32:12] ==================== [PASSED] ttm_pool =====================
[04:32:12] ================ ttm_resource (8 subtests) =================
[04:32:12] ================= ttm_resource_init_basic =================
[04:32:12] [PASSED] Init resource in TTM_PL_SYSTEM
[04:32:12] [PASSED] Init resource in TTM_PL_VRAM
[04:32:12] [PASSED] Init resource in a private placement
[04:32:12] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[04:32:12] ============= [PASSED] ttm_resource_init_basic =============
[04:32:12] [PASSED] ttm_resource_init_pinned
[04:32:12] [PASSED] ttm_resource_fini_basic
[04:32:12] [PASSED] ttm_resource_manager_init_basic
[04:32:12] [PASSED] ttm_resource_manager_usage_basic
[04:32:12] [PASSED] ttm_resource_manager_set_used_basic
[04:32:12] [PASSED] ttm_sys_man_alloc_basic
[04:32:12] [PASSED] ttm_sys_man_free_basic
[04:32:12] ================== [PASSED] ttm_resource ===================
[04:32:12] =================== ttm_tt (15 subtests) ===================
[04:32:12] ==================== ttm_tt_init_basic ====================
[04:32:12] [PASSED] Page-aligned size
[04:32:12] [PASSED] Extra pages requested
[04:32:12] ================ [PASSED] ttm_tt_init_basic ================
[04:32:12] [PASSED] ttm_tt_init_misaligned
[04:32:12] [PASSED] ttm_tt_fini_basic
[04:32:12] [PASSED] ttm_tt_fini_sg
[04:32:12] [PASSED] ttm_tt_fini_shmem
[04:32:12] [PASSED] ttm_tt_create_basic
[04:32:12] [PASSED] ttm_tt_create_invalid_bo_type
[04:32:12] [PASSED] ttm_tt_create_ttm_exists
[04:32:12] [PASSED] ttm_tt_create_failed
[04:32:12] [PASSED] ttm_tt_destroy_basic
[04:32:12] [PASSED] ttm_tt_populate_null_ttm
[04:32:12] [PASSED] ttm_tt_populate_populated_ttm
[04:32:12] [PASSED] ttm_tt_unpopulate_basic
[04:32:12] [PASSED] ttm_tt_unpopulate_empty_ttm
[04:32:12] [PASSED] ttm_tt_swapin_basic
[04:32:12] ===================== [PASSED] ttm_tt ======================
[04:32:12] =================== ttm_bo (14 subtests) ===================
[04:32:12] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[04:32:12] [PASSED] Cannot be interrupted and sleeps
[04:32:12] [PASSED] Cannot be interrupted, locks straight away
[04:32:12] [PASSED] Can be interrupted, sleeps
[04:32:12] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[04:32:12] [PASSED] ttm_bo_reserve_locked_no_sleep
[04:32:12] [PASSED] ttm_bo_reserve_no_wait_ticket
[04:32:12] [PASSED] ttm_bo_reserve_double_resv
[04:32:12] [PASSED] ttm_bo_reserve_interrupted
[04:32:12] [PASSED] ttm_bo_reserve_deadlock
[04:32:12] [PASSED] ttm_bo_unreserve_basic
[04:32:12] [PASSED] ttm_bo_unreserve_pinned
[04:32:12] [PASSED] ttm_bo_unreserve_bulk
[04:32:12] [PASSED] ttm_bo_fini_basic
[04:32:12] [PASSED] ttm_bo_fini_shared_resv
[04:32:12] [PASSED] ttm_bo_pin_basic
[04:32:12] [PASSED] ttm_bo_pin_unpin_resource
[04:32:12] [PASSED] ttm_bo_multiple_pin_one_unpin
[04:32:12] ===================== [PASSED] ttm_bo ======================
[04:32:12] ============== ttm_bo_validate (22 subtests) ===============
[04:32:12] ============== ttm_bo_init_reserved_sys_man ===============
[04:32:12] [PASSED] Buffer object for userspace
[04:32:12] [PASSED] Kernel buffer object
[04:32:12] [PASSED] Shared buffer object
[04:32:12] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[04:32:12] ============== ttm_bo_init_reserved_mock_man ==============
[04:32:12] [PASSED] Buffer object for userspace
[04:32:12] [PASSED] Kernel buffer object
[04:32:12] [PASSED] Shared buffer object
[04:32:12] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[04:32:12] [PASSED] ttm_bo_init_reserved_resv
[04:32:12] ================== ttm_bo_validate_basic ==================
[04:32:12] [PASSED] Buffer object for userspace
[04:32:12] [PASSED] Kernel buffer object
[04:32:12] [PASSED] Shared buffer object
[04:32:12] ============== [PASSED] ttm_bo_validate_basic ==============
[04:32:12] [PASSED] ttm_bo_validate_invalid_placement
[04:32:12] ============= ttm_bo_validate_same_placement ==============
[04:32:12] [PASSED] System manager
[04:32:12] [PASSED] VRAM manager
[04:32:12] ========= [PASSED] ttm_bo_validate_same_placement ==========
[04:32:12] [PASSED] ttm_bo_validate_failed_alloc
[04:32:12] [PASSED] ttm_bo_validate_pinned
[04:32:12] [PASSED] ttm_bo_validate_busy_placement
[04:32:12] ================ ttm_bo_validate_multihop =================
[04:32:12] [PASSED] Buffer object for userspace
[04:32:12] [PASSED] Kernel buffer object
[04:32:12] [PASSED] Shared buffer object
[04:32:12] ============ [PASSED] ttm_bo_validate_multihop =============
[04:32:12] ========== ttm_bo_validate_no_placement_signaled ==========
[04:32:12] [PASSED] Buffer object in system domain, no page vector
[04:32:12] [PASSED] Buffer object in system domain with an existing page vector
[04:32:12] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[04:32:12] ======== ttm_bo_validate_no_placement_not_signaled ========
[04:32:12] [PASSED] Buffer object for userspace
[04:32:12] [PASSED] Kernel buffer object
[04:32:12] [PASSED] Shared buffer object
[04:32:12] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[04:32:12] [PASSED] ttm_bo_validate_move_fence_signaled
[04:32:12] ========= ttm_bo_validate_move_fence_not_signaled =========
[04:32:12] [PASSED] Waits for GPU
[04:32:12] [PASSED] Tries to lock straight away
[04:32:12] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[04:32:12] [PASSED] ttm_bo_validate_swapout
[04:32:12] [PASSED] ttm_bo_validate_happy_evict
[04:32:12] [PASSED] ttm_bo_validate_all_pinned_evict
[04:32:12] [PASSED] ttm_bo_validate_allowed_only_evict
[04:32:12] [PASSED] ttm_bo_validate_deleted_evict
[04:32:12] [PASSED] ttm_bo_validate_busy_domain_evict
[04:32:12] [PASSED] ttm_bo_validate_evict_gutting
[04:32:12] [PASSED] ttm_bo_validate_recrusive_evict
[04:32:12] ================= [PASSED] ttm_bo_validate =================
[04:32:12] ============================================================
[04:32:12] Testing complete. Ran 102 tests: passed: 102
[04:32:12] Elapsed time: 11.972s total, 1.815s configuring, 9.892s building, 0.225s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v11] drm/xe/guc: Hold device ref until queue teardown completes
2026-07-13 4:25 [PATCH v11] drm/xe/guc: Hold device ref until queue teardown completes Arvind Yadav
` (2 preceding siblings ...)
2026-07-13 6:27 ` ✓ Xe.CI.FULL: " Patchwork
@ 2026-07-15 5:50 ` Matthew Brost
3 siblings, 0 replies; 5+ messages in thread
From: Matthew Brost @ 2026-07-15 5:50 UTC (permalink / raw)
To: Arvind Yadav
Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, rodrigo.vivi,
tejas.upadhyay
On Mon, Jul 13, 2026 at 09:55:30AM +0530, Arvind Yadav wrote:
> GuC exec queue destruction can run asynchronously. If the final device
> put happens from a destroy worker, drmm cleanup can end up draining
> the same workqueue and deadlock.
>
> Hold a drm_device reference for the queue lifetime and drop it after
> queue teardown completes. This keeps drmm cleanup from running while
> async destroy work is still pending.
>
> Move GuC destroy work to a module-lifetime Xe workqueue and flush it
> on PCI remove so hot-unbind/rebind still waits for pending destroy work.
>
> With queue-held device refs, guc_submit_sw_fini() cannot run with live
> GuC IDs. Replace the fini wait with an assertion and remove the unused
> fini_wq.
>
> v2:
> - Rebase
>
> v3:
> - Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
> - Queue async teardown on system_dfl_wq instead of xe->destroy_wq. (Matt)
> - Drop separate deferred drm_dev_put worker.
> - Remove stale drain_workqueue(xe->destroy_wq) from guc_submit_sw_fini().
>
> v4:
> - Replace the guc_submit_sw_fini() wait with an assertion and remove
> the now-unused fini_wq. (sashiko)
>
> v5:
> - Move destroy work to a module-lifetime Xe workqueue instead of
> system_dfl_wq. (Matt)
> - Flush the module-lifetime destroy workqueue during PCI remove to
> preserve the old device-remove wait semantics.
>
> v6:
> - Keep SVM pagemap destroy work on the per-device destroy_wq to avoid
> letting it outlive the xe_device/drm_device. (Sashiko)
> - Use WQ_MEM_RECLAIM for xe->destroy_wq because SVM pagemap destroy work
> can be queued from the reclaim path.
>
> v7:
> - Drop the per-device xe->destroy_wq and use the module-level destroy WQ
> for SVM pagemap destroy as well. (Matt)
> - Rename xe_exec_queue_destroy_wq_*() helpers to xe_destroy_wq_*()
> helpers because the WQ is no longer exec-queue specific. (Matt)
>
> v8:
> - Rebase.
>
> v9:
> - Keep SVM pagemap destroy work on the per-device WQ_MEM_RECLAIM
> destroy_wq because it can be queued from reclaim and embeds
> the dev_pagemap used by devres teardown. (Sashiko)
> - Keep the module-level destroy WQ GuC-only and drop WQ_MEM_RECLAIM
> from it.
> - Update the module-WQ kdoc to document the GuC/SVM split.
>
> v10:
> - Keep xe->destroy_wq per-cpu while adding WQ_MEM_RECLAIM to fix the
> workqueue allocation warning.
>
> v11:
> - Drop the SVM pagemap destroy comment as it was revision-specific.
> (Thomas)
>
> Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Sashiko flag 2 seemly valid pre-existing issues and one non-issue. The
two former can be done in follow ups.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> ---
> drivers/gpu/drm/xe/xe_device.c | 2 +-
> drivers/gpu/drm/xe/xe_device_types.h | 2 +-
> drivers/gpu/drm/xe/xe_guc_submit.c | 66 ++++++++++++++++------------
> drivers/gpu/drm/xe/xe_guc_types.h | 2 -
> drivers/gpu/drm/xe/xe_module.c | 49 +++++++++++++++++++++
> drivers/gpu/drm/xe/xe_module.h | 5 +++
> drivers/gpu/drm/xe/xe_pci.c | 6 +++
> 7 files changed, 100 insertions(+), 32 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index ad7f3e61d457..47630e9f7410 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -581,7 +581,7 @@ int xe_device_init_early(struct xe_device *xe)
> WQ_MEM_RECLAIM);
> xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
> xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
> - xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU, 0);
> + xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU | WQ_MEM_RECLAIM, 0);
> if (!xe->ordered_wq || !xe->unordered_wq ||
> !xe->preempt_fence_wq || !xe->destroy_wq) {
> /*
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 022e08205897..56c17cca79c0 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -355,7 +355,7 @@ struct xe_device {
> /** @unordered_wq: used to serialize unordered work */
> struct workqueue_struct *unordered_wq;
>
> - /** @destroy_wq: used to serialize user destroy work, like queue */
> + /** @destroy_wq: used to serialize SVM pagemap destroy work */
> struct workqueue_struct *destroy_wq;
>
> /** @tiles: device tiles */
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index cec3bbf3a10e..0dd2c9913e78 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -10,6 +10,7 @@
> #include <linux/circ_buf.h>
> #include <linux/dma-fence-array.h>
>
> +#include <drm/drm_drv.h>
> #include <drm/drm_managed.h>
>
> #include "abi/guc_actions_abi.h"
> @@ -37,6 +38,7 @@
> #include "xe_macros.h"
> #include "xe_map.h"
> #include "xe_mocs.h"
> +#include "xe_module.h"
> #include "xe_pm.h"
> #include "xe_ring_ops_types.h"
> #include "xe_sched_job.h"
> @@ -232,17 +234,9 @@ static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q)
> static void guc_submit_sw_fini(struct drm_device *drm, void *arg)
> {
> struct xe_guc *guc = arg;
> - struct xe_device *xe = guc_to_xe(guc);
> struct xe_gt *gt = guc_to_gt(guc);
> - int ret;
> -
> - ret = wait_event_timeout(guc->submission_state.fini_wq,
> - xa_empty(&guc->submission_state.exec_queue_lookup),
> - HZ * 5);
>
> - drain_workqueue(xe->destroy_wq);
> -
> - xe_gt_assert(gt, ret);
> + xe_gt_assert(gt, xa_empty(&guc->submission_state.exec_queue_lookup));
>
> xa_destroy(&guc->submission_state.exec_queue_lookup);
> }
> @@ -319,8 +313,6 @@ int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids)
>
> xa_init(&guc->submission_state.exec_queue_lookup);
>
> - init_waitqueue_head(&guc->submission_state.fini_wq);
> -
> primelockdep(guc);
>
> guc->submission_state.initialized = true;
> @@ -411,9 +403,6 @@ static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q,
> xe_guc_id_mgr_release_locked(&guc->submission_state.idm,
> q->guc->id, q->width);
>
> - if (xa_empty(&guc->submission_state.exec_queue_lookup))
> - wake_up(&guc->submission_state.fini_wq);
> -
> mutex_unlock(&guc->submission_state.lock);
> }
>
> @@ -1708,6 +1697,7 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> {
> struct xe_guc_exec_queue *ge = q->guc;
> struct xe_guc *guc = exec_queue_to_guc(q);
> + struct drm_device *drm = &guc_to_xe(guc)->drm;
>
> if (xe_exec_queue_is_multi_queue_secondary(q)) {
> struct xe_exec_queue_group *group = q->multi_queue.group;
> @@ -1726,36 +1716,52 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
> * (timeline name).
> */
> kfree_rcu(ge, rcu);
> +
> + drm_dev_put(drm);
> }
>
> -static void __guc_exec_queue_destroy_async(struct work_struct *w)
> +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q)
> {
> - struct xe_guc_exec_queue *ge =
> - container_of(w, struct xe_guc_exec_queue, destroy_async);
> - struct xe_exec_queue *q = ge->q;
> + struct xe_guc_exec_queue *ge = q->guc;
> struct xe_guc *guc = exec_queue_to_guc(q);
> + struct xe_device *xe = guc_to_xe(guc);
> + struct drm_device *drm = &xe->drm;
>
> - guard(xe_pm_runtime)(guc_to_xe(guc));
> - trace_xe_exec_queue_destroy(q);
> + /*
> + * guc_exec_queue_fini() drops the queue's drm_device ref.
> + * Keep the device alive until the PM-runtime guard unwinds.
> + */
> + drm_dev_get(drm);
>
> - /* Confirm no work left behind accessing device structures */
> - cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> + scoped_guard(xe_pm_runtime, xe) {
> + trace_xe_exec_queue_destroy(q);
>
> - xe_exec_queue_fini(q);
> + /* Confirm no work left behind accessing device structures */
> + cancel_delayed_work_sync(&ge->sched.base.work_tdr);
> +
> + xe_exec_queue_fini(q);
> + }
> +
> + drm_dev_put(drm);
> }
>
> -static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> +static void __guc_exec_queue_destroy_async(struct work_struct *w)
> {
> - struct xe_guc *guc = exec_queue_to_guc(q);
> - struct xe_device *xe = guc_to_xe(guc);
> + struct xe_guc_exec_queue *ge =
> + container_of(w, struct xe_guc_exec_queue, destroy_async);
> +
> + guc_exec_queue_do_destroy(ge->q);
> +}
>
> +static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
> +{
> INIT_WORK(&q->guc->destroy_async, __guc_exec_queue_destroy_async);
>
> /* We must block on kernel engines so slabs are empty on driver unload */
> if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
> - __guc_exec_queue_destroy_async(&q->guc->destroy_async);
> + guc_exec_queue_do_destroy(q);
> else
> - queue_work(xe->destroy_wq, &q->guc->destroy_async);
> + xe_destroy_wq_queue(&q->guc->destroy_async);
> }
>
> static void __guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)
> @@ -1950,6 +1956,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> {
> struct xe_gpu_scheduler *sched;
> struct xe_guc *guc = exec_queue_to_guc(q);
> + struct drm_device *drm = &guc_to_xe(guc)->drm;
> struct workqueue_struct *submit_wq = NULL;
> struct xe_guc_exec_queue *ge;
> long timeout;
> @@ -1961,6 +1968,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> if (!ge)
> return -ENOMEM;
>
> + drm_dev_get(drm);
> +
> q->guc = ge;
> ge->q = q;
> init_rcu_head(&ge->rcu);
> @@ -2037,6 +2046,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
> release_guc_id(guc, q);
> err_free:
> kfree(ge);
> + drm_dev_put(drm);
>
> return err;
> }
> diff --git a/drivers/gpu/drm/xe/xe_guc_types.h b/drivers/gpu/drm/xe/xe_guc_types.h
> index c7b9642b41ba..31a2acb63ac3 100644
> --- a/drivers/gpu/drm/xe/xe_guc_types.h
> +++ b/drivers/gpu/drm/xe/xe_guc_types.h
> @@ -100,8 +100,6 @@ struct xe_guc {
> * even initialized - before that not even the lock is valid
> */
> bool initialized;
> - /** @submission_state.fini_wq: submit fini wait queue */
> - wait_queue_head_t fini_wq;
> } submission_state;
>
> /** @hwconfig: Hardware config state */
> diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
> index 39e4fc85f019..848d65265443 100644
> --- a/drivers/gpu/drm/xe/xe_module.c
> +++ b/drivers/gpu/drm/xe/xe_module.c
> @@ -7,6 +7,7 @@
>
> #include <linux/init.h>
> #include <linux/module.h>
> +#include <linux/workqueue.h>
>
> #include <drm/drm_module.h>
>
> @@ -88,6 +89,50 @@ static int xe_check_nomodeset(void)
> return 0;
> }
>
> +static struct workqueue_struct *xe_destroy_wq;
> +
> +static int __init xe_destroy_wq_module_init(void)
> +{
> + xe_destroy_wq = alloc_workqueue("xe-guc-destroy-wq", WQ_UNBOUND, 0);
> + if (!xe_destroy_wq)
> + return -ENOMEM;
> + return 0;
> +}
> +
> +static void xe_destroy_wq_module_exit(void)
> +{
> + if (xe_destroy_wq)
> + destroy_workqueue(xe_destroy_wq);
> + xe_destroy_wq = NULL;
> +}
> +
> +/**
> + * xe_destroy_wq_queue() - Queue work on the destroy workqueue
> + * @work: work item to queue
> + *
> + * The destroy workqueue has module lifetime and is used for GuC exec queue
> + * teardown that can outlive a single xe_device. SVM pagemap destroy uses the
> + * per-device xe->destroy_wq instead.
> + *
> + * Return: %true if @work was queued, %false if it was already pending.
> + */
> +bool xe_destroy_wq_queue(struct work_struct *work)
> +{
> + return queue_work(xe_destroy_wq, work);
> +}
> +
> +/**
> + * xe_destroy_wq_flush() - Flush the destroy workqueue
> + *
> + * Drains all pending destroy work. Called from PCI remove to ensure
> + * teardown ordering before the device is destroyed.
> + */
> +void xe_destroy_wq_flush(void)
> +{
> + if (xe_destroy_wq)
> + flush_workqueue(xe_destroy_wq);
> +}
> +
> struct init_funcs {
> int (*init)(void);
> void (*exit)(void);
> @@ -109,6 +154,10 @@ static const struct init_funcs init_funcs[] = {
> .init = xe_sched_job_module_init,
> .exit = xe_sched_job_module_exit,
> },
> + {
> + .init = xe_destroy_wq_module_init,
> + .exit = xe_destroy_wq_module_exit,
> + },
> {
> .init = xe_register_pci_driver,
> .exit = xe_unregister_pci_driver,
> diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
> index c75153471248..a0eb7db07770 100644
> --- a/drivers/gpu/drm/xe/xe_module.h
> +++ b/drivers/gpu/drm/xe/xe_module.h
> @@ -8,6 +8,8 @@
>
> #include <linux/types.h>
>
> +struct work_struct;
> +
> /* Module modprobe variables */
> struct xe_modparam {
> bool probe_display;
> @@ -26,5 +28,8 @@ struct xe_modparam {
>
> extern struct xe_modparam xe_modparam;
>
> +bool xe_destroy_wq_queue(struct work_struct *work);
> +void xe_destroy_wq_flush(void);
> +
> #endif
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index a3b968bccd40..cdf30a50a938 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1118,6 +1118,12 @@ static void xe_pci_remove(struct pci_dev *pdev)
> return;
>
> xe_device_remove(xe);
> +
> + /*
> + * Preserve remove-time flush after moving destroy work to module
> + * lifetime.
> + */
> + xe_destroy_wq_flush();
> xe_pm_fini(xe);
> }
>
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread