drm/xe/guc: Hold device ref until queue teardown completes
Subsystems (2)
PATCH v10 1/1 drm/xe/guc: Hold device ref until queue teardown completes
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.
--- 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 +++ drivers/gpu/drm/xe/xe_svm.c | 5 +++ 8 files changed, 105 insertions(+), 32 deletions(-)
drivers/gpu/drm/xe/xe_device.c +1 -1
@@ -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) {/*
drivers/gpu/drm/xe/xe_device_types.h +1 -1
@@ -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 */
drivers/gpu/drm/xe/xe_guc_submit.c +38 -28
144 lines not on this page · raw message
drivers/gpu/drm/xe/xe_guc_types.h +0 -2
@@ -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 */
drivers/gpu/drm/xe/xe_module.c +49 -0
67 lines not on this page · raw message
drivers/gpu/drm/xe/xe_module.h +5 -0
@@ -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
drivers/gpu/drm/xe/xe_pci.c +6 -0
@@ -1099,6 +1099,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); }
drivers/gpu/drm/xe/xe_svm.c +5 -0
@@ -1732,6 +1732,11 @@ static void xe_pagemap_destroy(struct drm_pagemap *dpagemap, bool from_atomic_orstruct xe_pagemap *xpagemap =container_of (dpagemap,typeof (*xpagemap), dpagemap);struct xe_device *xe =to_xe_device (dpagemap->drm); +/* +* SVM pagemap destroy can be queued from reclaim and xpagemap embeds +* the dev_pagemap used by devres teardown. Keep it on the per-device +* WQ_MEM_RECLAIM destroy_wq, not the module-level GuC destroy WQ. +*/ if (from_atomic_or_reclaim)queue_work (xe->destroy_wq, &xpagemap->destroy_work);else
Signature · 1 line
2.43.0
Patchwork
CI✓ CI.KUnit: success for drm/xe/guc: Hold device ref until queue teardown completes (rev8)
== Series Details ==
== Series Details ==
Series: drm/xe/guc: Hold device ref until queue teardown completes (rev8)
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 [03:07:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [03:07:24] 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 [03:07:55] Starting KUnit Kernel (1/1)... [03:07:55] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [03:07:56] ================== guc_buf (11 subtests) =================== [03:07:56] [PASSED] test_smallest [03:07:56] [PASSED] test_largest [03:07:56] [PASSED] test_granular [03:07:56] [PASSED] test_unique [03:07:56] [PASSED] test_overlap [03:07:56] [PASSED] test_reusable [03:07:56] [PASSED] test_too_big [03:07:56] [PASSED] test_flush [03:07:56] [PASSED] test_lookup [03:07:56] [PASSED] test_data [03:07:56] [PASSED] test_class [03:07:56] ===================== [PASSED] guc_buf ===================== [03:07:56] =================== guc_dbm (7 subtests) =================== [03:07:56] [PASSED] test_empty [03:07:56] [PASSED] test_default [03:07:56] ======================== test_size ======================== [03:07:56] [PASSED] 4 [03:07:56] [PASSED] 8 [03:07:56] [PASSED] 32 [03:07:56] [PASSED] 256 [03:07:56] ==================== [PASSED] test_size ==================== [03:07:56] ======================= test_reuse ======================== [03:07:56] [PASSED] 4 [03:07:56] [PASSED] 8 [03:07:56] [PASSED] 32 [03:07:56] [PASSED] 256 [03:07:56] =================== [PASSED] test_reuse ==================== [03:07:56] =================== test_range_overlap ==================== [03:07:56] [PASSED] 4 [03:07:56] [PASSED] 8 [03:07:56] [PASSED] 32 [03:07:56] [PASSED] 256 [03:07:56] =============== [PASSED] test_range_overlap ================ [03:07:56] =================== test_range_compact ==================== [03:07:56] [PASSED] 4 [03:07:56] [PASSED] 8 [03:07:56] [PASSED] 32 [03:07:56] [PASSED] 256 [03:07:56] =============== [PASSED] test_range_compact ================ [03:07:56] ==================== test_range_spare ===================== [03:07:56] [PASSED] 4 [03:07:56] [PASSED] 8 [03:07:56] [PASSED] 32 [03:07:56] [PASSED] 256 [03:07:56] ================ [PASSED] test_range_spare ================= [03:07:56] ===================== [PASSED] guc_dbm ===================== [03:07:56] =================== guc_idm (6 subtests) =================== [03:07:56] [PASSED] bad_init [03:07:56] [PASSED] no_init [03:07:56] [PASSED] init_fini [03:07:56] [PASSED] check_used [03:07:56] [PASSED] check_quota [03:07:56] [PASSED] check_all [03:07:56] ===================== [PASSED] guc_idm ===================== [03:07:56] ================== no_relay (3 subtests) =================== [03:07:56] [PASSED] xe_drops_guc2pf_if_not_ready [03:07:56] [PASSED] xe_drops_guc2vf_if_not_ready [03:07:56] [PASSED] xe_rejects_send_if_not_ready [03:07:56] ==================== [PASSED] no_relay ===================== [03:07:56] ================== pf_relay (14 subtests) ================== [03:07:56] [PASSED] pf_rejects_guc2pf_too_short [03:07:56] [PASSED] pf_rejects_guc2pf_too_long [03:07:56] [PASSED] pf_rejects_guc2pf_no_payload [03:07:56] [PASSED] pf_fails_no_payload [03:07:56] [PASSED] pf_fails_bad_origin [03:07:56] [PASSED] pf_fails_bad_type [03:07:56] [PASSED] pf_txn_reports_error [03:07:56] [PASSED] pf_txn_sends_pf2guc [03:07:56] [PASSED] pf_sends_pf2guc [03:07:56] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [03:07:56] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [03:07:56] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [03:07:56] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [03:07:56] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [03:07:56] ==================== [PASSED] pf_relay ===================== [03:07:56] ================== vf_relay (3 subtests) =================== [03:07:56] [PASSED] vf_rejects_guc2vf_too_short [03:07:56] [PASSED] vf_rejects_guc2vf_too_long [03:07:56] [PASSED] vf_rejects_guc2vf_no_payload [03:07:56] ==================== [PASSED] vf_relay ===================== [03:07:56] ================ pf_gt_config (9 subtests) ================= [03:07:56] [PASSED] fair_contexts_1vf [03:07:56] [PASSED] fair_doorbells_1vf [03:07:56] [PASSED] fair_ggtt_1vf [03:07:56] ====================== fair_vram_1vf ====================== [03:07:56] [PASSED] 3.50 GiB [03:07:56] [PASSED] 11.5 GiB [03:07:56] [PASSED] 15.5 GiB [03:07:56] [PASSED] 31.5 GiB [03:07:56] [PASSED] 63.5 GiB [03:07:56] [PASSED] 1.91 GiB [03:07:56] ================== [PASSED] fair_vram_1vf ================== [03:07:56] ================ fair_vram_1vf_admin_only ================= [03:07:56] [PASSED] 3.50 GiB [03:07:56] [PASSED] 11.5 GiB [03:07:56] [PASSED] 15.5 GiB [03:07:56] [PASSED] 31.5 GiB [03:07:56] [PASSED] 63.5 GiB [03:07:56] [PASSED] 1.91 GiB [03:07:56] ============ [PASSED] fair_vram_1vf_admin_only ============= [03:07:56] ====================== fair_contexts ====================== [03:07:56] [PASSED] 1 VF [03:07:56] [PASSED] 2 VFs [03:07:56] [PASSED] 3 VFs [03:07:56] [PASSED] 4 VFs [03:07:56] [PASSED] 5 VFs [03:07:56] [PASSED] 6 VFs [03:07:56] [PASSED] 7 VFs [03:07:56] [PASSED] 8 VFs [03:07:56] [PASSED] 9 VFs [03:07:56] [PASSED] 10 VFs [03:07:56] [PASSED] 11 VFs [03:07:56] [PASSED] 12 VFs [03:07:56] [PASSED] 13 VFs [03:07:56] [PASSED] 14 VFs [03:07:56] [PASSED] 15 VFs [03:07:56] [PASSED] 16 VFs [03:07:56] [PASSED] 17 VFs [03:07:56] [PASSED] 18 VFs [03:07:56] [PASSED] 19 VFs [03:07:56] [PASSED] 20 VFs [03:07:56] [PASSED] 21 VFs [03:07:56] [PASSED] 22 VFs [03:07:56] [PASSED] 23 VFs [03:07:56] [PASSED] 24 VFs [03:07:56] [PASSED] 25 VFs [03:07:56] [PASSED] 26 VFs [03:07:56] [PASSED] 27 VFs [03:07:56] [PASSED] 28 VFs [03:07:56] [PASSED] 29 VFs [03:07:56] [PASSED] 30 VFs [03:07:56] [PASSED] 31 VFs [03:07:56] [PASSED] 32 VFs [03:07:56] [PASSED] 33 VFs [03:07:56] [PASSED] 34 VFs [03:07:56] [PASSED] 35 VFs [03:07:56] [PASSED] 36 VFs [03:07:56] [PASSED] 37 VFs [03:07:56] [PASSED] 38 VFs [03:07:56] [PASSED] 39 VFs [03:07:56] [PASSED] 40 VFs [03:07:56] [PASSED] 41 VFs [03:07:56] [PASSED] 42 VFs [03:07:56] [PASSED] 43 VFs [03:07:56] [PASSED] 44 VFs [03:07:56] [PASSED] 45 VFs [03:07:56] [PASSED] 46 VFs [03:07:56] [PASSED] 47 VFs [03:07:56] [PASSED] 48 VFs [03:07:56] [PASSED] 49 VFs [03:07:56] [PASSED] 50 VFs [03:07:56] [PASSED] 51 VFs [03:07:56] [PASSED] 52 VFs [03:07:56] [PASSED] 53 VFs [03:07:56] [PASSED] 54 VFs [03:07:56] [PASSED] 55 VFs [03:07:56] [PASSED] 56 VFs [03:07:56] [PASSED] 57 VFs [03:07:56] [PASSED] 58 VFs [03:07:56] [PASSED] 59 VFs [03:07:56] [PASSED] 60 VFs [03:07:56] [PASSED] 61 VFs [03:07:56] [PASSED] 62 VFs [03:07:56] [PASSED] 63 VFs [03:07:56] ================== [PASSED] fair_contexts ================== [03:07:56] ===================== fair_doorbells ====================== [03:07:56] [PASSED] 1 VF [03:07:56] [PASSED] 2 VFs [03:07:56] [PASSED] 3 VFs [03:07:56] [PASSED] 4 VFs [03:07:56] [PASSED] 5 VFs [03:07:56] [PASSED] 6 VFs [03:07:56] [PASSED] 7 VFs [03:07:56] [PASSED] 8 VFs [03:07:56] [PASSED] 9 VFs [03:07:56] [PASSED] 10 VFs [03:07:56] [PASSED] 11 VFs [03:07:56] [PASSED] 12 VFs [03:07:56] [PASSED] 13 VFs [03:07:56] [PASSED] 14 VFs [03:07:56] [PASSED] 15 VFs [03:07:56] [PASSED] 16 VFs [03:07:56] [PASSED] 17 VFs [03:07:56] [PASSED] 18 VFs [03:07:56] [PASSED] 19 VFs [03:07:56] [PASSED] 20 VFs [03:07:56] [PASSED] 21 VFs [03:07:56] [PASSED] 22 VFs [03:07:56] [PASSED] 23 VFs [03:07:56] [PASSED] 24 VFs [03:07:56] [PASSED] 25 VFs [03:07:56] [PASSED] 26 VFs [03:07:56] [PASSED] 27 VFs [03:07:56] [PASSED] 28 VFs [03:07:56] [PASSED] 29 VFs [03:07:56] [PASSED] 30 VFs [03:07:56] [PASSED] 31 VFs [03:07:56] [PASSED] 32 VFs [03:07:56] [PASSED] 33 VFs [03:07:56] [PASSED] 34 VFs [03:07:56] [PASSED] 35 VFs [03:07:56] [PASSED] 36 VFs [03:07:56] [PASSED] 37 VFs [03:07:56] [PASSED] 38 VFs [03:07:56] [PASSED] 39 VFs [03:07:56] [PASSED] 40 VFs [03:07:56] [PASSED] 41 VFs [03:07:56] [PASSED] 42 VFs [03:07:56] [PASSED] 43 VFs [03:07:56] [PASSED] 44 VFs [03:07:56] [PASSED] 45 VFs [03:07:56] [PASSED] 46 VFs [03:07:56] [PASSED] 47 VFs [03:07:56] [PASSED] 48 VFs [03:07:56] [PASSED] 49 VFs [03:07:56] [PASSED] 50 VFs [03:07:56] [PASSED] 51 VFs [03:07:56] [PASSED] 52 VFs [03:07:56] [PASSED] 53 VFs [03:07:56] [PASSED] 54 VFs [03:07:56] [PASSED] 55 VFs [03:07:56] [PASSED] 56 VFs [03:07:56] [PASSED] 57 VFs [03:07:56] [PASSED] 58 VFs [03:07:56] [PASSED] 59 VFs [03:07:56] [PASSED] 60 VFs [03:07:56] [PASSED] 61 VFs [03:07:56] [PASSED] 62 VFs [03:07:56] [PASSED] 63 VFs [03:07:56] ================= [PASSED] fair_doorbells ================== [03:07:56] ======================== fair_ggtt ======================== [03:07:56] [PASSED] 1 VF [03:07:56] [PASSED] 2 VFs [03:07:56] [PASSED] 3 VFs [03:07:56] [PASSED] 4 VFs [03:07:56] [PASSED] 5 VFs [03:07:56] [PASSED] 6 VFs [03:07:56] [PASSED] 7 VFs [03:07:56] [PASSED] 8 VFs [03:07:56] [PASSED] 9 VFs [03:07:56] [PASSED] 10 VFs [03:07:56] [PASSED] 11 VFs [03:07:56] [PASSED] 12 VFs [03:07:56] [PASSED] 13 VFs [03:07:56] [PASSED] 14 VFs [03:07:56] [PASSED] 15 VFs [03:07:56] [PASSED] 16 VFs [03:07:56] [PASSED] 17 VFs [03:07:56] [PASSED] 18 VFs [03:07:56] [PASSED] 19 VFs [03:07:56] [PASSED] 20 VFs [03:07:56] [PASSED] 21 VFs [03:07:56] [PASSED] 22 VFs [03:07:56] [PASSED] 23 VFs [03:07:56] [PASSED] 24 VFs [03:07:56] [PASSED] 25 VFs [03:07:56] [PASSED] 26 VFs [03:07:56] [PASSED] 27 VFs [03:07:56] [PASSED] 28 VFs [03:07:56] [PASSED] 29 VFs [03:07:56] [PASSED] 30 VFs [03:07:56] [PASSED] 31 VFs [03:07:56] [PASSED] 32 VFs [03:07:56] [PASSED] 33 VFs [03:07:56] [PASSED] 34 VFs [03:07:56] [PASSED] 35 VFs [03:07:56] [PASSED] 36 VFs [03:07:56] [PASSED] 37 VFs [03:07:56] [PASSED] 38 VFs [03:07:56] [PASSED] 39 VFs [03:07:56] [PASSED] 40 VFs [03:07:56] [PASSED] 41 VFs [03:07:56] [PASSED] 42 VFs [03:07:56] [PASSED] 43 VFs [03:07:56] [PASSED] 44 VFs [03:07:56] [PASSED] 45 VFs [03:07:56] [PASSED] 46 VFs [03:07:56] [PASSED] 47 VFs [03:07:56] [PASSED] 48 VFs [03:07:56] [PASSED] 49 VFs [03:07:56] [PASSED] 50 VFs [03:07:56] [PASSED] 51 VFs [03:07:56] [PASSED] 52 VFs [03:07:56] [PASSED] 53 VFs [03:07:56] [PASSED] 54 VFs [03:07:56] [PASSED] 55 VFs [03:07:56] [PASSED] 56 VFs [03:07:56] [PASSED] 57 VFs [03:07:56] [PASSED] 58 VFs [03:07:56] [PASSED] 59 VFs [03:07:56] [PASSED] 60 VFs [03:07:56] [PASSED] 61 VFs [03:07:56] [PASSED] 62 VFs [03:07:56] [PASSED] 63 VFs [03:07:56] ==================== [PASSED] fair_ggtt ==================== [03:07:56] ======================== fair_vram ======================== [03:07:56] [PASSED] 1 VF [03:07:56] [PASSED] 2 VFs [03:07:56] [PASSED] 3 VFs [03:07:56] [PASSED] 4 VFs [03:07:56] [PASSED] 5 VFs [03:07:56] [PASSED] 6 VFs [03:07:56] [PASSED] 7 VFs [03:07:56] [PASSED] 8 VFs [03:07:56] [PASSED] 9 VFs [03:07:56] [PASSED] 10 VFs [03:07:56] [PASSED] 11 VFs [03:07:56] [PASSED] 12 VFs [03:07:56] [PASSED] 13 VFs [03:07:56] [PASSED] 14 VFs [03:07:56] [PASSED] 15 VFs [03:07:56] [PASSED] 16 VFs [03:07:56] [PASSED] 17 VFs [03:07:56] [PASSED] 18 VFs [03:07:56] [PASSED] 19 VFs [03:07:56] [PASSED] 20 VFs [03:07:56] [PASSED] 21 VFs [03:07:56] [PASSED] 22 VFs [03:07:56] [PASSED] 23 VFs [03:07:56] [PASSED] 24 VFs [03:07:56] [PASSED] 25 VFs [03:07:56] [PASSED] 26 VFs [03:07:56] [PASSED] 27 VFs [03:07:56] [PASSED] 28 VFs [03:07:56] [PASSED] 29 VFs [03:07:56] [PASSED] 30 VFs [03:07:56] [PASSED] 31 VFs [03:07:56] [PASSED] 32 VFs [03:07:56] [PASSED] 33 VFs [03:07:56] [PASSED] 34 VFs [03:07:56] [PASSED] 35 VFs [03:07:56] [PASSED] 36 VFs [03:07:56] [PASSED] 37 VFs [03:07:56] [PASSED] 38 VFs [03:07:56] [PASSED] 39 VFs [03:07:56] [PASSED] 40 VFs [03:07:56] [PASSED] 41 VFs [03:07:56] [PASSED] 42 VFs [03:07:56] [PASSED] 43 VFs [03:07:56] [PASSED] 44 VFs [03:07:56] [PASSED] 45 VFs [03:07:56] [PASSED] 46 VFs [03:07:56] [PASSED] 47 VFs [03:07:56] [PASSED] 48 VFs [03:07:56] [PASSED] 49 VFs [03:07:56] [PASSED] 50 VFs [03:07:56] [PASSED] 51 VFs [03:07:56] [PASSED] 52 VFs [03:07:56] [PASSED] 53 VFs [03:07:56] [PASSED] 54 VFs [03:07:56] [PASSED] 55 VFs [03:07:56] [PASSED] 56 VFs [03:07:56] [PASSED] 57 VFs [03:07:56] [PASSED] 58 VFs [03:07:56] [PASSED] 59 VFs [03:07:56] [PASSED] 60 VFs [03:07:56] [PASSED] 61 VFs [03:07:56] [PASSED] 62 VFs [03:07:56] [PASSED] 63 VFs [03:07:56] ==================== [PASSED] fair_vram ==================== [03:07:56] ================== [PASSED] pf_gt_config =================== [03:07:56] ===================== lmtt (1 subtest) ===================== [03:07:56] ======================== test_ops ========================= [03:07:56] [PASSED] 2-level [03:07:56] [PASSED] multi-level [03:07:56] ==================== [PASSED] test_ops ===================== [03:07:56] ====================== [PASSED] lmtt ======================= [03:07:56] ================= pf_service (11 subtests) ================= [03:07:56] [PASSED] pf_negotiate_any [03:07:56] [PASSED] pf_negotiate_base_match [03:07:56] [PASSED] pf_negotiate_base_newer [03:07:56] [PASSED] pf_negotiate_base_next [03:07:56] [SKIPPED] pf_negotiate_base_older (no older minor) [03:07:56] [PASSED] pf_negotiate_base_prev [03:07:56] [PASSED] pf_negotiate_latest_match [03:07:56] [PASSED] pf_negotiate_latest_newer [03:07:56] [PASSED] pf_negotiate_latest_next [03:07:56] [SKIPPED] pf_negotiate_latest_older (no older minor) [03:07:56] [SKIPPED] pf_negotiate_latest_prev (no prev major) [03:07:56] =================== [PASSED] pf_service ==================== [03:07:56] ================= xe_guc_g2g (2 subtests) ================== [03:07:56] ============== xe_live_guc_g2g_kunit_default ============== [03:07:56] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [03:07:56] ============== xe_live_guc_g2g_kunit_allmem =============== [03:07:56] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [03:07:56] =================== [SKIPPED] xe_guc_g2g =================== [03:07:56] =================== xe_mocs (2 subtests) =================== [03:07:56] ================ xe_live_mocs_kernel_kunit ================ [03:07:56] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [03:07:56] ================ xe_live_mocs_reset_kunit ================= [03:07:56] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [03:07:56] ==================== [SKIPPED] xe_mocs ===================== [03:07:56] ================= xe_migrate (2 subtests) ================== [03:07:56] ================= xe_migrate_sanity_kunit ================= [03:07:56] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [03:07:56] ================== xe_validate_ccs_kunit ================== [03:07:56] ============= [SKIPPED] xe_validate_ccs_kunit ============== [03:07:56] =================== [SKIPPED] xe_migrate =================== [03:07:56] ================== xe_dma_buf (1 subtest) ================== [03:07:56] ==================== xe_dma_buf_kunit ===================== [03:07:56] ================ [SKIPPED] xe_dma_buf_kunit ================ [03:07:56] =================== [SKIPPED] xe_dma_buf =================== [03:07:56] ================= xe_bo_shrink (1 subtest) ================= [03:07:56] =================== xe_bo_shrink_kunit ==================== [03:07:56] =============== [SKIPPED] xe_bo_shrink_kunit =============== [03:07:56] ================== [SKIPPED] xe_bo_shrink ================== [03:07:56] ==================== xe_bo (2 subtests) ==================== [03:07:56] ================== xe_ccs_migrate_kunit =================== [03:07:56] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [03:07:56] ==================== xe_bo_evict_kunit ==================== [03:07:56] =============== [SKIPPED] xe_bo_evict_kunit ================ [03:07:56] ===================== [SKIPPED] xe_bo ====================== [03:07:56] ==================== args (13 subtests) ==================== [03:07:56] [PASSED] count_args_test [03:07:56] [PASSED] call_args_example [03:07:56] [PASSED] call_args_test [03:07:56] [PASSED] drop_first_arg_example [03:07:56] [PASSED] drop_first_arg_test [03:07:56] [PASSED] first_arg_example [03:07:56] [PASSED] first_arg_test [03:07:56] [PASSED] last_arg_example [03:07:56] [PASSED] last_arg_test [03:07:56] [PASSED] pick_arg_example [03:07:56] [PASSED] if_args_example [03:07:56] [PASSED] if_args_test [03:07:56] [PASSED] sep_comma_example [03:07:56] ====================== [PASSED] args ======================= [03:07:56] =================== xe_pci (3 subtests) ==================== [03:07:56] ==================== check_graphics_ip ==================== [03:07:56] [PASSED] 12.00 Xe_LP [03:07:56] [PASSED] 12.10 Xe_LP+ [03:07:56] [PASSED] 12.55 Xe_HPG [03:07:56] [PASSED] 12.60 Xe_HPC [03:07:56] [PASSED] 12.70 Xe_LPG [03:07:56] [PASSED] 12.71 Xe_LPG [03:07:56] [PASSED] 12.74 Xe_LPG+ [03:07:56] [PASSED] 20.01 Xe2_HPG [03:07:56] [PASSED] 20.02 Xe2_HPG [03:07:56] [PASSED] 20.04 Xe2_LPG [03:07:56] [PASSED] 30.00 Xe3_LPG [03:07:56] [PASSED] 30.01 Xe3_LPG [03:07:56] [PASSED] 30.03 Xe3_LPG [03:07:56] [PASSED] 30.04 Xe3_LPG [03:07:56] [PASSED] 30.05 Xe3_LPG [03:07:56] [PASSED] 35.10 Xe3p_LPG [03:07:56] [PASSED] 35.11 Xe3p_XPC [03:07:56] ================ [PASSED] check_graphics_ip ================ [03:07:56] ===================== check_media_ip ====================== [03:07:56] [PASSED] 12.00 Xe_M [03:07:56] [PASSED] 12.55 Xe_HPM [03:07:56] [PASSED] 13.00 Xe_LPM+ [03:07:56] [PASSED] 13.01 Xe2_HPM [03:07:56] [PASSED] 20.00 Xe2_LPM [03:07:56] [PASSED] 30.00 Xe3_LPM [03:07:56] [PASSED] 30.02 Xe3_LPM [03:07:56] [PASSED] 35.00 Xe3p_LPM [03:07:56] [PASSED] 35.03 Xe3p_HPM [03:07:56] ================= [PASSED] check_media_ip ================== [03:07:56] =================== check_platform_desc =================== [03:07:56] [PASSED] 0x9A60 (TIGERLAKE) [03:07:56] [PASSED] 0x9A68 (TIGERLAKE) [03:07:56] [PASSED] 0x9A70 (TIGERLAKE) [03:07:56] [PASSED] 0x9A40 (TIGERLAKE) [03:07:56] [PASSED] 0x9A49 (TIGERLAKE) [03:07:56] [PASSED] 0x9A59 (TIGERLAKE) [03:07:56] [PASSED] 0x9A78 (TIGERLAKE) [03:07:56] [PASSED] 0x9AC0 (TIGERLAKE) [03:07:56] [PASSED] 0x9AC9 (TIGERLAKE) [03:07:56] [PASSED] 0x9AD9 (TIGERLAKE) [03:07:56] [PASSED] 0x9AF8 (TIGERLAKE) [03:07:56] [PASSED] 0x4C80 (ROCKETLAKE) [03:07:56] [PASSED] 0x4C8A (ROCKETLAKE) [03:07:56] [PASSED] 0x4C8B (ROCKETLAKE) [03:07:56] [PASSED] 0x4C8C (ROCKETLAKE) [03:07:56] [PASSED] 0x4C90 (ROCKETLAKE) [03:07:56] [PASSED] 0x4C9A (ROCKETLAKE) [03:07:56] [PASSED] 0x4680 (ALDERLAKE_S) [03:07:56] [PASSED] 0x4682 (ALDERLAKE_S) [03:07:56] [PASSED] 0x4688 (ALDERLAKE_S) [03:07:56] [PASSED] 0x468A (ALDERLAKE_S) [03:07:56] [PASSED] 0x468B (ALDERLAKE_S) [03:07:56] [PASSED] 0x4690 (ALDERLAKE_S) [03:07:56] [PASSED] 0x4692 (ALDERLAKE_S) [03:07:56] [PASSED] 0x4693 (ALDERLAKE_S) [03:07:56] [PASSED] 0x46A0 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46A1 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46A2 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46A3 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46A6 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46A8 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46AA (ALDERLAKE_P) [03:07:56] [PASSED] 0x462A (ALDERLAKE_P) [03:07:56] [PASSED] 0x4626 (ALDERLAKE_P) [03:07:56] [PASSED] 0x4628 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46B0 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46B1 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46B2 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46B3 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46C0 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46C1 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46C2 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46C3 (ALDERLAKE_P) [03:07:56] [PASSED] 0x46D0 (ALDERLAKE_N) [03:07:56] [PASSED] 0x46D1 (ALDERLAKE_N) [03:07:56] [PASSED] 0x46D2 (ALDERLAKE_N) [03:07:56] [PASSED] 0x46D3 (ALDERLAKE_N) [03:07:56] [PASSED] 0x46D4 (ALDERLAKE_N) [03:07:56] [PASSED] 0xA721 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7A1 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7A9 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7AC (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7AD (ALDERLAKE_P) [03:07:56] [PASSED] 0xA720 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7A0 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7A8 (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7AA (ALDERLAKE_P) [03:07:56] [PASSED] 0xA7AB (ALDERLAKE_P) [03:07:56] [PASSED] 0xA780 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA781 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA782 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA783 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA788 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA789 (ALDERLAKE_S) [03:07:56] [PASSED] 0xA78A (ALDERLAKE_S) [03:07:56] [PASSED] 0xA78B (ALDERLAKE_S) [03:07:56] [PASSED] 0x4905 (DG1) [03:07:56] [PASSED] 0x4906 (DG1) [03:07:56] [PASSED] 0x4907 (DG1) [03:07:56] [PASSED] 0x4908 (DG1) [03:07:56] [PASSED] 0x4909 (DG1) [03:07:56] [PASSED] 0x56C0 (DG2) [03:07:56] [PASSED] 0x56C2 (DG2) [03:07:56] [PASSED] 0x56C1 (DG2) [03:07:56] [PASSED] 0x7D51 (METEORLAKE) [03:07:56] [PASSED] 0x7DD1 (METEORLAKE) [03:07:56] [PASSED] 0x7D41 (METEORLAKE) [03:07:56] [PASSED] 0x7D67 (METEORLAKE) [03:07:56] [PASSED] 0xB640 (METEORLAKE) [03:07:56] [PASSED] 0x56A0 (DG2) [03:07:56] [PASSED] 0x56A1 (DG2) [03:07:56] [PASSED] 0x56A2 (DG2) [03:07:56] [PASSED] 0x56BE (DG2) [03:07:56] [PASSED] 0x56BF (DG2) [03:07:56] [PASSED] 0x5690 (DG2) [03:07:56] [PASSED] 0x5691 (DG2) [03:07:56] [PASSED] 0x5692 (DG2) [03:07:56] [PASSED] 0x56A5 (DG2) [03:07:56] [PASSED] 0x56A6 (DG2) [03:07:56] [PASSED] 0x56B0 (DG2) [03:07:56] [PASSED] 0x56B1 (DG2) [03:07:56] [PASSED] 0x56BA (DG2) [03:07:56] [PASSED] 0x56BB (DG2) [03:07:56] [PASSED] 0x56BC (DG2) [03:07:56] [PASSED] 0x56BD (DG2) [03:07:56] [PASSED] 0x5693 (DG2) [03:07:56] [PASSED] 0x5694 (DG2) [03:07:56] [PASSED] 0x5695 (DG2) [03:07:56] [PASSED] 0x56A3 (DG2) [03:07:56] [PASSED] 0x56A4 (DG2) [03:07:56] [PASSED] 0x56B2 (DG2) [03:07:56] [PASSED] 0x56B3 (DG2) [03:07:56] [PASSED] 0x5696 (DG2) [03:07:56] [PASSED] 0x5697 (DG2) [03:07:56] [PASSED] 0xB69 (PVC) [03:07:56] [PASSED] 0xB6E (PVC) [03:07:56] [PASSED] 0xBD4 (PVC) [03:07:56] [PASSED] 0xBD5 (PVC) [03:07:56] [PASSED] 0xBD6 (PVC) [03:07:56] [PASSED] 0xBD7 (PVC) [03:07:56] [PASSED] 0xBD8 (PVC) [03:07:56] [PASSED] 0xBD9 (PVC) [03:07:56] [PASSED] 0xBDA (PVC) [03:07:56] [PASSED] 0xBDB (PVC) [03:07:56] [PASSED] 0xBE0 (PVC) [03:07:56] [PASSED] 0xBE1 (PVC) [03:07:56] [PASSED] 0xBE5 (PVC) [03:07:56] [PASSED] 0x7D40 (METEORLAKE) [03:07:56] [PASSED] 0x7D45 (METEORLAKE) [03:07:56] [PASSED] 0x7D55 (METEORLAKE) [03:07:56] [PASSED] 0x7D60 (METEORLAKE) [03:07:56] [PASSED] 0x7DD5 (METEORLAKE) [03:07:56] [PASSED] 0x6420 (LUNARLAKE) [03:07:56] [PASSED] 0x64A0 (LUNARLAKE) [03:07:56] [PASSED] 0x64B0 (LUNARLAKE) [03:07:56] [PASSED] 0xE202 (BATTLEMAGE) [03:07:56] [PASSED] 0xE209 (BATTLEMAGE) [03:07:56] [PASSED] 0xE20B (BATTLEMAGE) [03:07:56] [PASSED] 0xE20C (BATTLEMAGE) [03:07:56] [PASSED] 0xE20D (BATTLEMAGE) [03:07:56] [PASSED] 0xE210 (BATTLEMAGE) [03:07:56] [PASSED] 0xE211 (BATTLEMAGE) [03:07:56] [PASSED] 0xE212 (BATTLEMAGE) [03:07:56] [PASSED] 0xE216 (BATTLEMAGE) [03:07:56] [PASSED] 0xE220 (BATTLEMAGE) [03:07:56] [PASSED] 0xE221 (BATTLEMAGE) [03:07:56] [PASSED] 0xE222 (BATTLEMAGE) [03:07:56] [PASSED] 0xE223 (BATTLEMAGE) [03:07:56] [PASSED] 0xB080 (PANTHERLAKE) [03:07:56] [PASSED] 0xB081 (PANTHERLAKE) [03:07:56] [PASSED] 0xB082 (PANTHERLAKE) [03:07:56] [PASSED] 0xB083 (PANTHERLAKE) [03:07:56] [PASSED] 0xB084 (PANTHERLAKE) [03:07:56] [PASSED] 0xB085 (PANTHERLAKE) [03:07:56] [PASSED] 0xB086 (PANTHERLAKE) [03:07:56] [PASSED] 0xB087 (PANTHERLAKE) [03:07:56] [PASSED] 0xB08F (PANTHERLAKE) [03:07:56] [PASSED] 0xB090 (PANTHERLAKE) [03:07:56] [PASSED] 0xB0A0 (PANTHERLAKE) [03:07:56] [PASSED] 0xB0B0 (PANTHERLAKE) [03:07:56] [PASSED] 0xFD80 (PANTHERLAKE) [03:07:56] [PASSED] 0xFD81 (PANTHERLAKE) [03:07:56] [PASSED] 0xD740 (NOVALAKE_S) [03:07:56] [PASSED] 0xD741 (NOVALAKE_S) [03:07:56] [PASSED] 0xD742 (NOVALAKE_S) [03:07:56] [PASSED] 0xD743 (NOVALAKE_S) [03:07:56] [PASSED] 0xD745 (NOVALAKE_S) [03:07:56] [PASSED] 0xD74A (NOVALAKE_S) [03:07:56] [PASSED] 0xD74B (NOVALAKE_S) [03:07:56] [PASSED] 0x674C (CRESCENTISLAND) [03:07:56] [PASSED] 0x674D (CRESCENTISLAND) [03:07:56] [PASSED] 0x674E (CRESCENTISLAND) [03:07:56] [PASSED] 0x674F (CRESCENTISLAND) [03:07:56] [PASSED] 0x6750 (CRESCENTISLAND) [03:07:56] [PASSED] 0xD750 (NOVALAKE_P) [03:07:56] [PASSED] 0xD751 (NOVALAKE_P) [03:07:56] [PASSED] 0xD752 (NOVALAKE_P) [03:07:56] [PASSED] 0xD753 (NOVALAKE_P) [03:07:56] [PASSED] 0xD754 (NOVALAKE_P) [03:07:56] [PASSED] 0xD755 (NOVALAKE_P) [03:07:56] [PASSED] 0xD756 (NOVALAKE_P) [03:07:56] [PASSED] 0xD757 (NOVALAKE_P) [03:07:56] [PASSED] 0xD75F (NOVALAKE_P) [03:07:56] =============== [PASSED] check_platform_desc =============== [03:07:56] ===================== [PASSED] xe_pci ====================== [03:07:56] ============= xe_rtp_tables_test (5 subtests) ============== [03:07:56] ================== xe_rtp_table_gt_test =================== [03:07:56] [PASSED] gt_was/14011060649 [03:07:56] [PASSED] gt_was/14011059788 [03:07:56] [PASSED] gt_was/14015795083 [03:07:56] [PASSED] gt_was/16021867713 [03:07:56] [PASSED] gt_was/14019449301 [03:07:56] [PASSED] gt_was/16028005424 [03:07:56] [PASSED] gt_was/14026578760 [03:07:56] [PASSED] gt_was/1409420604 [03:07:56] [PASSED] gt_was/1408615072 [03:07:56] [PASSED] gt_was/22010523718 [03:07:56] [PASSED] gt_was/14011006942 [03:07:56] [PASSED] gt_was/14014830051 [03:07:56] [PASSED] gt_was/18018781329 [03:07:56] [PASSED] gt_was/1509235366 [03:07:56] [PASSED] gt_was/18018781329 [03:07:56] [PASSED] gt_was/16016694945 [03:07:56] [PASSED] gt_was/14018575942 [03:07:56] [PASSED] gt_was/22016670082 [03:07:56] [PASSED] gt_was/22016670082 [03:07:56] [PASSED] gt_was/14017421178 [03:07:56] [PASSED] gt_was/16025250150 [03:07:56] [PASSED] gt_was/14021871409 [03:07:56] [PASSED] gt_was/16021865536 [03:07:56] [PASSED] gt_was/14021486841 [03:07:56] [PASSED] gt_was/14025160223 [03:07:56] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [03:07:56] [PASSED] gt_was/14025635424 [03:07:56] [PASSED] gt_was/16028005424 [03:07:56] ============== [PASSED] xe_rtp_table_gt_test =============== [03:07:56] ================== xe_rtp_table_gt_test =================== [03:07:56] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [03:07:56] [PASSED] gt_tunings/Tuning: 32B Access Enable [03:07:56] [PASSED] gt_tunings/Tuning: L3 cache [03:07:56] [PASSED] gt_tunings/Tuning: L3 cache - media [03:07:56] [PASSED] gt_tunings/Tuning: Compression Overfetch [03:07:56] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [03:07:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [03:07:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [03:07:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [03:07:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [03:07:56] [PASSED] gt_tunings/Tuning: Stateless compression control [03:07:56] [PASSED] gt_tunings/Tuning: Stateless compression control - media [03:07:56] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [03:07:56] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [03:07:56] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [03:07:56] ============== [PASSED] xe_rtp_table_gt_test =============== [03:07:56] ================== xe_rtp_table_oob_test ================== [03:07:56] [PASSED] oob_was/1607983814 [03:07:56] [PASSED] oob_was/16010904313 [03:07:56] [PASSED] oob_was/18022495364 [03:07:56] [PASSED] oob_was/22012773006 [03:07:56] [PASSED] oob_was/14014475959 [03:07:56] [PASSED] oob_was/22011391025 [03:07:56] [PASSED] oob_was/22012727170 [03:07:56] [PASSED] oob_was/22012727685 [03:07:56] [PASSED] oob_was/22016596838 [03:07:56] [PASSED] oob_was/18020744125 [03:07:56] [PASSED] oob_was/1409600907 [03:07:56] [PASSED] oob_was/22014953428 [03:07:56] [PASSED] oob_was/16017236439 [03:07:56] [PASSED] oob_was/14019821291 [03:07:56] [PASSED] oob_was/14015076503 [03:07:56] [PASSED] oob_was/14018913170 [03:07:56] [PASSED] oob_was/14018094691 [03:07:56] [PASSED] oob_was/18024947630 [03:07:56] [PASSED] oob_was/16022287689 [03:07:56] [PASSED] oob_was/13011645652 [03:07:56] [PASSED] oob_was/14022293748 [03:07:56] [PASSED] oob_was/22019794406 [03:07:56] [PASSED] oob_was/22019338487 [03:07:56] [PASSED] oob_was/16023588340 [03:07:56] [PASSED] oob_was/14019789679 [03:07:56] [PASSED] oob_was/14022866841 [03:07:56] [PASSED] oob_was/16021333562 [03:07:56] [PASSED] oob_was/14016712196 [03:07:56] [PASSED] oob_was/14015568240 [03:07:56] [PASSED] oob_was/18013179988 [03:07:56] [PASSED] oob_was/1508761755 [03:07:56] [PASSED] oob_was/16023105232 [03:07:56] [PASSED] oob_was/16026508708 [03:07:56] [PASSED] oob_was/14020001231 [03:07:56] [PASSED] oob_was/16023683509 [03:07:56] [PASSED] oob_was/14025515070 [03:07:56] [PASSED] oob_was/15015404425_disable [03:07:56] [PASSED] oob_was/16026007364 [03:07:56] [PASSED] oob_was/14020316580 [03:07:56] [PASSED] oob_was/14025883347 [03:07:56] [PASSED] oob_was/16029380221 [03:07:56] [PASSED] oob_was/22022079272 [03:07:56] [PASSED] oob_was/16029897822 [03:07:56] ============== [PASSED] xe_rtp_table_oob_test ============== [03:07:56] ================ xe_rtp_table_dev_oob_test ================ [03:07:56] [PASSED] device_oob_was/22010954014 [03:07:56] [PASSED] device_oob_was/15015404425 [03:07:56] [PASSED] device_oob_was/22019338487_display [03:07:56] [PASSED] device_oob_was/14022085890 [03:07:56] [PASSED] device_oob_was/14026539277 [03:07:56] [PASSED] device_oob_was/14026633728 [03:07:56] [PASSED] device_oob_was/14026746987 [03:07:56] [PASSED] device_oob_was/14026779378 [03:07:56] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [03:07:56] ========== xe_rtp_table_missing_upper_bound_test ========== [03:07:56] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [03:07:56] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [03:07:56] [PASSED] register_whitelist/1806527549 [03:07:56] [PASSED] register_whitelist/allow_read_ctx_timestamp [03:07:56] [PASSED] register_whitelist/allow_read_queue_timestamp [03:07:56] [PASSED] register_whitelist/16014440446 [03:07:56] [PASSED] register_whitelist/16017236439 [03:07:56] [PASSED] register_whitelist/16020183090 [03:07:56] [PASSED] register_whitelist/14024997852 [03:07:56] [PASSED] register_whitelist/14024997852 [03:07:56] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [03:07:56] =============== [PASSED] xe_rtp_tables_test ================ [03:07:56] =================== xe_rtp (3 subtests) ==================== [03:07:56] =================== xe_rtp_rules_tests ==================== [03:07:56] [PASSED] no [03:07:56] [PASSED] yes [03:07:56] [PASSED] no-and-no [03:07:56] [PASSED] no-and-yes [03:07:56] [PASSED] yes-and-no [03:07:56] [PASSED] yes-and-yes [03:07:56] [PASSED] no-or-no [03:07:56] [PASSED] no-or-yes [03:07:56] [PASSED] yes-or-no [03:07:56] [PASSED] yes-or-yes [03:07:56] [PASSED] no-yes-or-yes-no [03:07:56] [PASSED] no-yes-or-yes-yes [03:07:56] [PASSED] yes-yes-or-no-yes [03:07:56] [PASSED] yes-yes-or-yes-yes [03:07:56] [PASSED] no-no-or-yes-or-no [03:07:56] [PASSED] or [03:07:56] [PASSED] or-yes [03:07:56] [PASSED] or-no [03:07:56] [PASSED] yes-or [03:07:56] [PASSED] no-or [03:07:56] [PASSED] no-or-or-yes [03:07:56] [PASSED] yes-or-or-no [03:07:56] [PASSED] no-or-or-no [03:07:56] [PASSED] missing-context-engine-class [03:07:56] [PASSED] missing-context-engine-class-or-yes [03:07:56] [PASSED] missing-context-engine-class-or-or-yes [03:07:56] =============== [PASSED] xe_rtp_rules_tests ================ [03:07:56] =============== xe_rtp_process_to_sr_tests ================ [03:07:56] [PASSED] coalesce-same-reg [03:07:56] [PASSED] coalesce-same-reg-literal-and-func [03:07:56] [PASSED] no-match-no-add [03:07:56] [PASSED] two-regs-two-entries [03:07:56] [PASSED] clr-one-set-other [03:07:56] [PASSED] set-field [03:07:56] [PASSED] conflict-duplicate [03:07:56] [PASSED] conflict-not-disjoint [03:07:56] [PASSED] conflict-not-disjoint-literal-and-func [03:07:56] [PASSED] conflict-reg-type [03:07:56] [PASSED] bad-mcr-reg-forced-to-regular [03:07:56] [PASSED] bad-regular-reg-forced-to-mcr [03:07:56] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [03:07:56] ================== xe_rtp_process_tests =================== [03:07:56] [PASSED] active1 [03:07:56] [PASSED] active2 [03:07:56] [PASSED] active-inactive [03:07:56] [PASSED] inactive-active [03:07:56] [PASSED] inactive-active-inactive [03:07:56] [PASSED] inactive-inactive-inactive [03:07:56] ============== [PASSED] xe_rtp_process_tests =============== [03:07:56] ===================== [PASSED] xe_rtp ====================== [03:07:56] ==================== xe_wa (1 subtest) ===================== [03:07:56] ======================== xe_wa_gt ========================= [03:07:56] [PASSED] TIGERLAKE B0 [03:07:56] [PASSED] DG1 A0 [03:07:56] [PASSED] DG1 B0 [03:07:56] [PASSED] ALDERLAKE_S A0 [03:07:56] [PASSED] ALDERLAKE_S B0 [03:07:56] [PASSED] ALDERLAKE_S C0 [03:07:56] [PASSED] ALDERLAKE_S D0 [03:07:56] [PASSED] ALDERLAKE_P A0 [03:07:56] [PASSED] ALDERLAKE_P B0 [03:07:56] [PASSED] ALDERLAKE_P C0 [03:07:56] [PASSED] ALDERLAKE_S RPLS D0 [03:07:56] [PASSED] ALDERLAKE_P RPLU E0 [03:07:56] [PASSED] DG2 G10 C0 [03:07:56] [PASSED] DG2 G11 B1 [03:07:56] [PASSED] DG2 G12 A1 [03:07:56] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [03:07:56] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [03:07:56] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [03:07:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [03:07:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [03:07:56] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [03:07:56] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [03:07:56] ==================== [PASSED] xe_wa_gt ===================== [03:07:56] ====================== [PASSED] xe_wa ====================== [03:07:56] ============================================================ [03:07:56] Testing complete. Ran 731 tests: passed: 713, skipped: 18 [03:07:56] Elapsed time: 36.784s total, 4.408s configuring, 31.660s building, 0.690s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [03:07:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [03:07:58] 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 [03:08:23] Starting KUnit Kernel (1/1)... [03:08:23] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [03:08:23] ============ drm_test_pick_cmdline (2 subtests) ============ [03:08:23] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [03:08:23] =============== drm_test_pick_cmdline_named =============== [03:08:23] [PASSED] NTSC [03:08:23] [PASSED] NTSC-J [03:08:23] [PASSED] PAL [03:08:23] [PASSED] PAL-M [03:08:23] =========== [PASSED] drm_test_pick_cmdline_named =========== [03:08:23] ============== [PASSED] drm_test_pick_cmdline ============== [03:08:23] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [03:08:23] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [03:08:23] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [03:08:23] =========== drm_validate_clone_mode (2 subtests) =========== [03:08:23] ============== drm_test_check_in_clone_mode =============== [03:08:23] [PASSED] in_clone_mode [03:08:23] [PASSED] not_in_clone_mode [03:08:23] ========== [PASSED] drm_test_check_in_clone_mode =========== [03:08:23] =============== drm_test_check_valid_clones =============== [03:08:23] [PASSED] not_in_clone_mode [03:08:23] [PASSED] valid_clone [03:08:23] [PASSED] invalid_clone [03:08:23] =========== [PASSED] drm_test_check_valid_clones =========== [03:08:23] ============= [PASSED] drm_validate_clone_mode ============= [03:08:23] ============= drm_validate_modeset (1 subtest) ============= [03:08:23] [PASSED] drm_test_check_connector_changed_modeset [03:08:23] ============== [PASSED] drm_validate_modeset =============== [03:08:23] ====== drm_test_bridge_get_current_state (2 subtests) ====== [03:08:23] [PASSED] drm_test_drm_bridge_get_current_state_atomic [03:08:23] [PASSED] drm_test_drm_bridge_get_current_state_legacy [03:08:23] ======== [PASSED] drm_test_bridge_get_current_state ======== [03:08:23] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [03:08:23] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [03:08:23] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [03:08:23] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [03:08:23] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [03:08:23] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [03:08:23] ============== drm_bridge_alloc (2 subtests) =============== [03:08:23] [PASSED] drm_test_drm_bridge_alloc_basic [03:08:23] [PASSED] drm_test_drm_bridge_alloc_get_put [03:08:23] ================ [PASSED] drm_bridge_alloc ================= [03:08:23] ============= drm_bridge_bus_fmt (5 subtests) ============== [03:08:23] [PASSED] drm_test_bridge_rgb_yuv_rgb [03:08:23] [PASSED] drm_test_bridge_must_convert_to_yuv444 [03:08:23] [PASSED] drm_test_bridge_hdmi_auto_rgb [03:08:23] [PASSED] drm_test_bridge_auto_first [03:08:23] [PASSED] drm_test_bridge_rgb_yuv_no_path [03:08:23] =============== [PASSED] drm_bridge_bus_fmt ================ [03:08:23] ============= drm_cmdline_parser (40 subtests) ============= [03:08:23] [PASSED] drm_test_cmdline_force_d_only [03:08:23] [PASSED] drm_test_cmdline_force_D_only_dvi [03:08:23] [PASSED] drm_test_cmdline_force_D_only_hdmi [03:08:23] [PASSED] drm_test_cmdline_force_D_only_not_digital [03:08:23] [PASSED] drm_test_cmdline_force_e_only [03:08:23] [PASSED] drm_test_cmdline_res [03:08:23] [PASSED] drm_test_cmdline_res_vesa [03:08:23] [PASSED] drm_test_cmdline_res_vesa_rblank [03:08:23] [PASSED] drm_test_cmdline_res_rblank [03:08:23] [PASSED] drm_test_cmdline_res_bpp [03:08:23] [PASSED] drm_test_cmdline_res_refresh [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [03:08:23] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [03:08:23] [PASSED] drm_test_cmdline_res_margins_force_on [03:08:23] [PASSED] drm_test_cmdline_res_vesa_margins [03:08:23] [PASSED] drm_test_cmdline_name [03:08:23] [PASSED] drm_test_cmdline_name_bpp [03:08:23] [PASSED] drm_test_cmdline_name_option [03:08:23] [PASSED] drm_test_cmdline_name_bpp_option [03:08:23] [PASSED] drm_test_cmdline_rotate_0 [03:08:23] [PASSED] drm_test_cmdline_rotate_90 [03:08:23] [PASSED] drm_test_cmdline_rotate_180 [03:08:23] [PASSED] drm_test_cmdline_rotate_270 [03:08:23] [PASSED] drm_test_cmdline_hmirror [03:08:23] [PASSED] drm_test_cmdline_vmirror [03:08:23] [PASSED] drm_test_cmdline_margin_options [03:08:23] [PASSED] drm_test_cmdline_multiple_options [03:08:23] [PASSED] drm_test_cmdline_bpp_extra_and_option [03:08:23] [PASSED] drm_test_cmdline_extra_and_option [03:08:23] [PASSED] drm_test_cmdline_freestanding_options [03:08:23] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [03:08:23] [PASSED] drm_test_cmdline_panel_orientation [03:08:23] ================ drm_test_cmdline_invalid ================= [03:08:23] [PASSED] margin_only [03:08:23] [PASSED] interlace_only [03:08:23] [PASSED] res_missing_x [03:08:23] [PASSED] res_missing_y [03:08:23] [PASSED] res_bad_y [03:08:23] [PASSED] res_missing_y_bpp [03:08:23] [PASSED] res_bad_bpp [03:08:23] [PASSED] res_bad_refresh [03:08:23] [PASSED] res_bpp_refresh_force_on_off [03:08:23] [PASSED] res_invalid_mode [03:08:23] [PASSED] res_bpp_wrong_place_mode [03:08:23] [PASSED] name_bpp_refresh [03:08:23] [PASSED] name_refresh [03:08:23] [PASSED] name_refresh_wrong_mode [03:08:23] [PASSED] name_refresh_invalid_mode [03:08:23] [PASSED] rotate_multiple [03:08:23] [PASSED] rotate_invalid_val [03:08:23] [PASSED] rotate_truncated [03:08:23] [PASSED] invalid_option [03:08:23] [PASSED] invalid_tv_option [03:08:23] [PASSED] truncated_tv_option [03:08:23] ============ [PASSED] drm_test_cmdline_invalid ============= [03:08:23] =============== drm_test_cmdline_tv_options =============== [03:08:23] [PASSED] NTSC [03:08:23] [PASSED] NTSC_443 [03:08:23] [PASSED] NTSC_J [03:08:23] [PASSED] PAL [03:08:23] [PASSED] PAL_M [03:08:23] [PASSED] PAL_N [03:08:23] [PASSED] SECAM [03:08:23] [PASSED] MONO_525 [03:08:23] [PASSED] MONO_625 [03:08:23] =========== [PASSED] drm_test_cmdline_tv_options =========== [03:08:23] =============== [PASSED] drm_cmdline_parser ================ [03:08:23] ========== drmm_connector_hdmi_init (20 subtests) ========== [03:08:23] [PASSED] drm_test_connector_hdmi_init_valid [03:08:23] [PASSED] drm_test_connector_hdmi_init_bpc_8 [03:08:23] [PASSED] drm_test_connector_hdmi_init_bpc_10 [03:08:23] [PASSED] drm_test_connector_hdmi_init_bpc_12 [03:08:23] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [03:08:23] [PASSED] drm_test_connector_hdmi_init_bpc_null [03:08:23] [PASSED] drm_test_connector_hdmi_init_formats_empty [03:08:23] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [03:08:23] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [03:08:23] [PASSED] supported_formats=0x9 yuv420_allowed=1 [03:08:23] [PASSED] supported_formats=0x9 yuv420_allowed=0 [03:08:23] [PASSED] supported_formats=0x5 yuv420_allowed=1 [03:08:23] [PASSED] supported_formats=0x5 yuv420_allowed=0 [03:08:23] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [03:08:23] [PASSED] drm_test_connector_hdmi_init_null_ddc [03:08:23] [PASSED] drm_test_connector_hdmi_init_null_product [03:08:23] [PASSED] drm_test_connector_hdmi_init_null_vendor [03:08:23] [PASSED] drm_test_connector_hdmi_init_product_length_exact [03:08:23] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [03:08:23] [PASSED] drm_test_connector_hdmi_init_product_valid [03:08:23] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [03:08:23] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [03:08:23] [PASSED] drm_test_connector_hdmi_init_vendor_valid [03:08:23] ========= drm_test_connector_hdmi_init_type_valid ========= [03:08:23] [PASSED] HDMI-A [03:08:23] [PASSED] HDMI-B [03:08:23] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [03:08:23] ======== drm_test_connector_hdmi_init_type_invalid ======== [03:08:23] [PASSED] Unknown [03:08:23] [PASSED] VGA [03:08:23] [PASSED] DVI-I [03:08:23] [PASSED] DVI-D [03:08:23] [PASSED] DVI-A [03:08:23] [PASSED] Composite [03:08:23] [PASSED] SVIDEO [03:08:23] [PASSED] LVDS [03:08:23] [PASSED] Component [03:08:23] [PASSED] DIN [03:08:23] [PASSED] DP [03:08:23] [PASSED] TV [03:08:23] [PASSED] eDP [03:08:23] [PASSED] Virtual [03:08:23] [PASSED] DSI [03:08:23] [PASSED] DPI [03:08:23] [PASSED] Writeback [03:08:23] [PASSED] SPI [03:08:23] [PASSED] USB [03:08:23] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [03:08:23] ============ [PASSED] drmm_connector_hdmi_init ============= [03:08:23] ============= drmm_connector_init (3 subtests) ============= [03:08:23] [PASSED] drm_test_drmm_connector_init [03:08:23] [PASSED] drm_test_drmm_connector_init_null_ddc [03:08:23] ========= drm_test_drmm_connector_init_type_valid ========= [03:08:23] [PASSED] Unknown [03:08:23] [PASSED] VGA [03:08:23] [PASSED] DVI-I [03:08:23] [PASSED] DVI-D [03:08:23] [PASSED] DVI-A [03:08:23] [PASSED] Composite [03:08:23] [PASSED] SVIDEO [03:08:23] [PASSED] LVDS [03:08:23] [PASSED] Component [03:08:23] [PASSED] DIN [03:08:23] [PASSED] DP [03:08:23] [PASSED] HDMI-A [03:08:23] [PASSED] HDMI-B [03:08:23] [PASSED] TV [03:08:23] [PASSED] eDP [03:08:23] [PASSED] Virtual [03:08:23] [PASSED] DSI [03:08:23] [PASSED] DPI [03:08:23] [PASSED] Writeback [03:08:23] [PASSED] SPI [03:08:23] [PASSED] USB [03:08:23] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [03:08:23] =============== [PASSED] drmm_connector_init =============== [03:08:23] ========= drm_connector_dynamic_init (6 subtests) ========== [03:08:23] [PASSED] drm_test_drm_connector_dynamic_init [03:08:23] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [03:08:23] [PASSED] drm_test_drm_connector_dynamic_init_not_added [03:08:23] [PASSED] drm_test_drm_connector_dynamic_init_properties [03:08:23] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [03:08:23] [PASSED] Unknown [03:08:23] [PASSED] VGA [03:08:23] [PASSED] DVI-I [03:08:23] [PASSED] DVI-D [03:08:23] [PASSED] DVI-A [03:08:23] [PASSED] Composite [03:08:23] [PASSED] SVIDEO [03:08:23] [PASSED] LVDS [03:08:23] [PASSED] Component [03:08:23] [PASSED] DIN [03:08:23] [PASSED] DP [03:08:23] [PASSED] HDMI-A [03:08:23] [PASSED] HDMI-B [03:08:23] [PASSED] TV [03:08:23] [PASSED] eDP [03:08:23] [PASSED] Virtual [03:08:23] [PASSED] DSI [03:08:23] [PASSED] DPI [03:08:23] [PASSED] Writeback [03:08:23] [PASSED] SPI [03:08:23] [PASSED] USB [03:08:23] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [03:08:23] ======== drm_test_drm_connector_dynamic_init_name ========= [03:08:23] [PASSED] Unknown [03:08:23] [PASSED] VGA [03:08:23] [PASSED] DVI-I [03:08:23] [PASSED] DVI-D [03:08:23] [PASSED] DVI-A [03:08:23] [PASSED] Composite [03:08:23] [PASSED] SVIDEO [03:08:23] [PASSED] LVDS [03:08:23] [PASSED] Component [03:08:23] [PASSED] DIN [03:08:23] [PASSED] DP [03:08:23] [PASSED] HDMI-A [03:08:23] [PASSED] HDMI-B [03:08:23] [PASSED] TV [03:08:23] [PASSED] eDP [03:08:23] [PASSED] Virtual [03:08:23] [PASSED] DSI [03:08:23] [PASSED] DPI [03:08:23] [PASSED] Writeback [03:08:23] [PASSED] SPI [03:08:23] [PASSED] USB [03:08:23] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [03:08:23] =========== [PASSED] drm_connector_dynamic_init ============ [03:08:23] ==== drm_connector_dynamic_register_early (4 subtests) ===== [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [03:08:23] ====== [PASSED] drm_connector_dynamic_register_early ======= [03:08:23] ======= drm_connector_dynamic_register (7 subtests) ======== [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_on_list [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_no_init [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [03:08:23] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [03:08:23] ========= [PASSED] drm_connector_dynamic_register ========== [03:08:23] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [03:08:23] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [03:08:23] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [03:08:23] === [PASSED] drm_connector_attach_broadcast_rgb_property === [03:08:23] ========== drm_get_tv_mode_from_name (2 subtests) ========== [03:08:23] ========== drm_test_get_tv_mode_from_name_valid =========== [03:08:23] [PASSED] NTSC [03:08:23] [PASSED] NTSC-443 [03:08:23] [PASSED] NTSC-J [03:08:23] [PASSED] PAL [03:08:23] [PASSED] PAL-M [03:08:23] [PASSED] PAL-N [03:08:23] [PASSED] SECAM [03:08:23] [PASSED] Mono [03:08:23] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [03:08:23] [PASSED] drm_test_get_tv_mode_from_name_truncated [03:08:23] ============ [PASSED] drm_get_tv_mode_from_name ============ [03:08:23] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [03:08:23] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [03:08:23] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [03:08:23] [PASSED] VIC 96 [03:08:23] [PASSED] VIC 97 [03:08:23] [PASSED] VIC 101 [03:08:23] [PASSED] VIC 102 [03:08:23] [PASSED] VIC 106 [03:08:23] [PASSED] VIC 107 [03:08:23] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [03:08:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [03:08:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [03:08:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [03:08:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [03:08:23] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [03:08:23] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [03:08:23] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [03:08:23] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [03:08:23] [PASSED] Automatic [03:08:23] [PASSED] Full [03:08:23] [PASSED] Limited 16:235 [03:08:23] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [03:08:23] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [03:08:23] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [03:08:23] == drm_hdmi_connector_get_output_format_name (2 subtests) == [03:08:23] === drm_test_drm_hdmi_connector_get_output_format_name ==== [03:08:23] [PASSED] RGB [03:08:23] [PASSED] YUV 4:2:0 [03:08:23] [PASSED] YUV 4:2:2 [03:08:23] [PASSED] YUV 4:4:4 [03:08:23] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [03:08:23] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [03:08:23] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [03:08:23] ============= drm_damage_helper (21 subtests) ============== [03:08:23] [PASSED] drm_test_damage_iter_no_damage [03:08:23] [PASSED] drm_test_damage_iter_no_damage_fractional_src [03:08:23] [PASSED] drm_test_damage_iter_no_damage_src_moved [03:08:23] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [03:08:23] [PASSED] drm_test_damage_iter_no_damage_not_visible [03:08:23] [PASSED] drm_test_damage_iter_no_damage_no_crtc [03:08:23] [PASSED] drm_test_damage_iter_no_damage_no_fb [03:08:23] [PASSED] drm_test_damage_iter_simple_damage [03:08:23] [PASSED] drm_test_damage_iter_single_damage [03:08:23] [PASSED] drm_test_damage_iter_single_damage_intersect_src [03:08:23] [PASSED] drm_test_damage_iter_single_damage_outside_src [03:08:23] [PASSED] drm_test_damage_iter_single_damage_fractional_src [03:08:23] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [03:08:23] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [03:08:23] [PASSED] drm_test_damage_iter_single_damage_src_moved [03:08:23] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [03:08:23] [PASSED] drm_test_damage_iter_damage [03:08:23] [PASSED] drm_test_damage_iter_damage_one_intersect [03:08:23] [PASSED] drm_test_damage_iter_damage_one_outside [03:08:23] [PASSED] drm_test_damage_iter_damage_src_moved [03:08:23] [PASSED] drm_test_damage_iter_damage_not_visible [03:08:23] ================ [PASSED] drm_damage_helper ================ [03:08:23] ============== drm_dp_mst_helper (3 subtests) ============== [03:08:23] ============== drm_test_dp_mst_calc_pbn_mode ============== [03:08:23] [PASSED] Clock 154000 BPP 30 DSC disabled [03:08:23] [PASSED] Clock 234000 BPP 30 DSC disabled [03:08:23] [PASSED] Clock 297000 BPP 24 DSC disabled [03:08:23] [PASSED] Clock 332880 BPP 24 DSC enabled [03:08:23] [PASSED] Clock 324540 BPP 24 DSC enabled [03:08:23] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [03:08:23] ============== drm_test_dp_mst_calc_pbn_div =============== [03:08:23] [PASSED] Link rate 2000000 lane count 4 [03:08:23] [PASSED] Link rate 2000000 lane count 2 [03:08:23] [PASSED] Link rate 2000000 lane count 1 [03:08:23] [PASSED] Link rate 1350000 lane count 4 [03:08:23] [PASSED] Link rate 1350000 lane count 2 [03:08:23] [PASSED] Link rate 1350000 lane count 1 [03:08:23] [PASSED] Link rate 1000000 lane count 4 [03:08:23] [PASSED] Link rate 1000000 lane count 2 [03:08:23] [PASSED] Link rate 1000000 lane count 1 [03:08:23] [PASSED] Link rate 810000 lane count 4 [03:08:23] [PASSED] Link rate 810000 lane count 2 [03:08:23] [PASSED] Link rate 810000 lane count 1 [03:08:23] [PASSED] Link rate 540000 lane count 4 [03:08:23] [PASSED] Link rate 540000 lane count 2 [03:08:23] [PASSED] Link rate 540000 lane count 1 [03:08:23] [PASSED] Link rate 270000 lane count 4 [03:08:23] [PASSED] Link rate 270000 lane count 2 [03:08:23] [PASSED] Link rate 270000 lane count 1 [03:08:23] [PASSED] Link rate 162000 lane count 4 [03:08:23] [PASSED] Link rate 162000 lane count 2 [03:08:23] [PASSED] Link rate 162000 lane count 1 [03:08:23] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [03:08:23] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [03:08:23] [PASSED] DP_ENUM_PATH_RESOURCES with port number [03:08:23] [PASSED] DP_POWER_UP_PHY with port number [03:08:23] [PASSED] DP_POWER_DOWN_PHY with port number [03:08:23] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [03:08:23] [PASSED] DP_ALLOCATE_PAYLOAD with port number [03:08:23] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [03:08:23] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [03:08:23] [PASSED] DP_QUERY_PAYLOAD with port number [03:08:23] [PASSED] DP_QUERY_PAYLOAD with VCPI [03:08:23] [PASSED] DP_REMOTE_DPCD_READ with port number [03:08:23] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [03:08:23] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [03:08:23] [PASSED] DP_REMOTE_DPCD_WRITE with port number [03:08:23] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [03:08:23] [PASSED] DP_REMOTE_DPCD_WRITE with data array [03:08:23] [PASSED] DP_REMOTE_I2C_READ with port number [03:08:23] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [03:08:23] [PASSED] DP_REMOTE_I2C_READ with transactions array [03:08:23] [PASSED] DP_REMOTE_I2C_WRITE with port number [03:08:23] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [03:08:23] [PASSED] DP_REMOTE_I2C_WRITE with data array [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [03:08:23] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [03:08:23] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [03:08:23] ================ [PASSED] drm_dp_mst_helper ================ [03:08:23] ================== drm_exec (7 subtests) =================== [03:08:23] [PASSED] sanitycheck [03:08:23] [PASSED] test_lock [03:08:23] [PASSED] test_lock_unlock [03:08:23] [PASSED] test_duplicates [03:08:23] [PASSED] test_prepare [03:08:23] [PASSED] test_prepare_array [03:08:23] [PASSED] test_multiple_loops [03:08:23] ==================== [PASSED] drm_exec ===================== [03:08:23] =========== drm_format_helper_test (17 subtests) =========== [03:08:23] ============== drm_test_fb_xrgb8888_to_gray8 ============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [03:08:23] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [03:08:23] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [03:08:23] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [03:08:23] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [03:08:23] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [03:08:23] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [03:08:23] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [03:08:23] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [03:08:23] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [03:08:23] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [03:08:23] ============== drm_test_fb_xrgb8888_to_mono =============== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [03:08:23] ==================== drm_test_fb_swab ===================== [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ================ [PASSED] drm_test_fb_swab ================= [03:08:23] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [03:08:23] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [03:08:23] [PASSED] single_pixel_source_buffer [03:08:23] [PASSED] single_pixel_clip_rectangle [03:08:23] [PASSED] well_known_colors [03:08:23] [PASSED] destination_pitch [03:08:23] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [03:08:23] ================= drm_test_fb_clip_offset ================= [03:08:23] [PASSED] pass through [03:08:23] [PASSED] horizontal offset [03:08:23] [PASSED] vertical offset [03:08:23] [PASSED] horizontal and vertical offset [03:08:23] [PASSED] horizontal offset (custom pitch) [03:08:23] [PASSED] vertical offset (custom pitch) [03:08:23] [PASSED] horizontal and vertical offset (custom pitch) [03:08:23] ============= [PASSED] drm_test_fb_clip_offset ============= [03:08:23] =================== drm_test_fb_memcpy ==================== [03:08:23] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [03:08:23] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [03:08:23] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [03:08:23] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [03:08:23] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [03:08:23] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [03:08:23] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [03:08:23] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [03:08:23] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [03:08:23] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [03:08:23] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [03:08:23] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [03:08:23] =============== [PASSED] drm_test_fb_memcpy ================ [03:08:23] ============= [PASSED] drm_format_helper_test ============== [03:08:23] ================= drm_format (18 subtests) ================= [03:08:23] [PASSED] drm_test_format_block_width_invalid [03:08:23] [PASSED] drm_test_format_block_width_one_plane [03:08:23] [PASSED] drm_test_format_block_width_two_plane [03:08:23] [PASSED] drm_test_format_block_width_three_plane [03:08:23] [PASSED] drm_test_format_block_width_tiled [03:08:23] [PASSED] drm_test_format_block_height_invalid [03:08:23] [PASSED] drm_test_format_block_height_one_plane [03:08:23] [PASSED] drm_test_format_block_height_two_plane [03:08:23] [PASSED] drm_test_format_block_height_three_plane [03:08:23] [PASSED] drm_test_format_block_height_tiled [03:08:23] [PASSED] drm_test_format_min_pitch_invalid [03:08:23] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [03:08:23] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [03:08:23] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [03:08:23] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [03:08:23] [PASSED] drm_test_format_min_pitch_two_plane [03:08:23] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [03:08:23] [PASSED] drm_test_format_min_pitch_tiled [03:08:23] =================== [PASSED] drm_format ==================== [03:08:23] ============== drm_framebuffer (10 subtests) =============== [03:08:23] ========== drm_test_framebuffer_check_src_coords ========== [03:08:23] [PASSED] Success: source fits into fb [03:08:23] [PASSED] Fail: overflowing fb with x-axis coordinate [03:08:23] [PASSED] Fail: overflowing fb with y-axis coordinate [03:08:23] [PASSED] Fail: overflowing fb with source width [03:08:23] [PASSED] Fail: overflowing fb with source height [03:08:23] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [03:08:23] [PASSED] drm_test_framebuffer_cleanup [03:08:23] =============== drm_test_framebuffer_create =============== [03:08:23] [PASSED] ABGR8888 normal sizes [03:08:23] [PASSED] ABGR8888 max sizes [03:08:23] [PASSED] ABGR8888 pitch greater than min required [03:08:23] [PASSED] ABGR8888 pitch less than min required [03:08:23] [PASSED] ABGR8888 Invalid width [03:08:23] [PASSED] ABGR8888 Invalid buffer handle [03:08:23] [PASSED] No pixel format [03:08:23] [PASSED] ABGR8888 Width 0 [03:08:23] [PASSED] ABGR8888 Height 0 [03:08:23] [PASSED] ABGR8888 Out of bound height * pitch combination [03:08:23] [PASSED] ABGR8888 Large buffer offset [03:08:23] [PASSED] ABGR8888 Buffer offset for inexistent plane [03:08:23] [PASSED] ABGR8888 Invalid flag [03:08:23] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [03:08:23] [PASSED] ABGR8888 Valid buffer modifier [03:08:23] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [03:08:23] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] NV12 Normal sizes [03:08:23] [PASSED] NV12 Max sizes [03:08:23] [PASSED] NV12 Invalid pitch [03:08:23] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [03:08:23] [PASSED] NV12 different modifier per-plane [03:08:23] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [03:08:23] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] NV12 Modifier for inexistent plane [03:08:23] [PASSED] NV12 Handle for inexistent plane [03:08:23] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [03:08:23] [PASSED] YVU420 Normal sizes [03:08:23] [PASSED] YVU420 Max sizes [03:08:23] [PASSED] YVU420 Invalid pitch [03:08:23] [PASSED] YVU420 Different pitches [03:08:23] [PASSED] YVU420 Different buffer offsets/pitches [03:08:23] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [03:08:23] [PASSED] YVU420 Valid modifier [03:08:23] [PASSED] YVU420 Different modifiers per plane [03:08:23] [PASSED] YVU420 Modifier for inexistent plane [03:08:23] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [03:08:23] [PASSED] X0L2 Normal sizes [03:08:23] [PASSED] X0L2 Max sizes [03:08:23] [PASSED] X0L2 Invalid pitch [03:08:23] [PASSED] X0L2 Pitch greater than minimum required [03:08:23] [PASSED] X0L2 Handle for inexistent plane [03:08:23] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [03:08:23] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [03:08:23] [PASSED] X0L2 Valid modifier [03:08:23] [PASSED] X0L2 Modifier for inexistent plane [03:08:23] =========== [PASSED] drm_test_framebuffer_create =========== [03:08:23] [PASSED] drm_test_framebuffer_free [03:08:23] [PASSED] drm_test_framebuffer_init [03:08:23] [PASSED] drm_test_framebuffer_init_bad_format [03:08:23] [PASSED] drm_test_framebuffer_init_dev_mismatch [03:08:23] [PASSED] drm_test_framebuffer_lookup [03:08:23] [PASSED] drm_test_framebuffer_lookup_inexistent [03:08:23] [PASSED] drm_test_framebuffer_modifiers_not_supported [03:08:23] ================= [PASSED] drm_framebuffer ================= [03:08:23] ================ drm_gem_shmem (8 subtests) ================ [03:08:23] [PASSED] drm_gem_shmem_test_obj_create [03:08:23] [PASSED] drm_gem_shmem_test_obj_create_private [03:08:23] [PASSED] drm_gem_shmem_test_pin_pages [03:08:23] [PASSED] drm_gem_shmem_test_vmap [03:08:23] [PASSED] drm_gem_shmem_test_get_sg_table [03:08:23] [PASSED] drm_gem_shmem_test_get_pages_sgt [03:08:23] [PASSED] drm_gem_shmem_test_madvise [03:08:23] [PASSED] drm_gem_shmem_test_purge [03:08:23] ================== [PASSED] drm_gem_shmem ================== [03:08:23] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [03:08:23] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [03:08:23] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [03:08:23] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [03:08:23] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [03:08:23] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [03:08:23] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [03:08:23] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [03:08:23] [PASSED] Automatic [03:08:23] [PASSED] Full [03:08:23] [PASSED] Limited 16:235 [03:08:23] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [03:08:23] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [03:08:23] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [03:08:23] [PASSED] drm_test_check_disable_connector [03:08:23] [PASSED] drm_test_check_hdmi_funcs_reject_rate [03:08:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [03:08:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [03:08:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [03:08:23] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [03:08:23] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [03:08:23] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [03:08:23] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [03:08:23] [PASSED] drm_test_check_output_bpc_dvi [03:08:23] [PASSED] drm_test_check_output_bpc_format_vic_1 [03:08:23] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [03:08:23] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [03:08:23] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [03:08:23] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [03:08:23] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [03:08:23] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [03:08:23] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [03:08:23] ============ drm_test_check_hdmi_color_format ============= [03:08:23] [PASSED] AUTO -> RGB [03:08:23] [PASSED] YCBCR422 -> YUV422 [03:08:23] [PASSED] YCBCR420 -> YUV420 [03:08:23] [PASSED] YCBCR444 -> YUV444 [03:08:23] [PASSED] RGB -> RGB [03:08:23] ======== [PASSED] drm_test_check_hdmi_color_format ========= [03:08:23] ======== drm_test_check_hdmi_color_format_420_only ======== [03:08:23] [PASSED] RGB should fail [03:08:23] [PASSED] YUV444 should fail [03:08:23] [PASSED] YUV422 should fail [03:08:23] [PASSED] YUV420 should work [03:08:23] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [03:08:23] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [03:08:23] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [03:08:23] [PASSED] drm_test_check_broadcast_rgb_value [03:08:23] [PASSED] drm_test_check_bpc_8_value [03:08:23] [PASSED] drm_test_check_bpc_10_value [03:08:23] [PASSED] drm_test_check_bpc_12_value [03:08:23] [PASSED] drm_test_check_format_value [03:08:23] [PASSED] drm_test_check_tmds_char_value [03:08:23] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [03:08:23] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [03:08:23] [PASSED] drm_test_check_mode_valid [03:08:23] [PASSED] drm_test_check_mode_valid_reject [03:08:23] [PASSED] drm_test_check_mode_valid_reject_rate [03:08:23] [PASSED] drm_test_check_mode_valid_reject_max_clock [03:08:23] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [03:08:23] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [03:08:23] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [03:08:23] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [03:08:23] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [03:08:23] [PASSED] drm_test_check_infoframes [03:08:23] [PASSED] drm_test_check_reject_avi_infoframe [03:08:23] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [03:08:23] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [03:08:23] [PASSED] drm_test_check_reject_audio_infoframe [03:08:23] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [03:08:23] ================= drm_managed (2 subtests) ================= [03:08:23] [PASSED] drm_test_managed_release_action [03:08:23] [PASSED] drm_test_managed_run_action [03:08:23] =================== [PASSED] drm_managed =================== [03:08:23] =================== drm_mm (6 subtests) ==================== [03:08:23] [PASSED] drm_test_mm_init [03:08:23] [PASSED] drm_test_mm_debug [03:08:23] [PASSED] drm_test_mm_align32 [03:08:23] [PASSED] drm_test_mm_align64 [03:08:23] [PASSED] drm_test_mm_lowest [03:08:23] [PASSED] drm_test_mm_highest [03:08:23] ===================== [PASSED] drm_mm ====================== [03:08:23] ============= drm_modes_analog_tv (5 subtests) ============= [03:08:23] [PASSED] drm_test_modes_analog_tv_mono_576i [03:08:23] [PASSED] drm_test_modes_analog_tv_ntsc_480i [03:08:23] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [03:08:23] [PASSED] drm_test_modes_analog_tv_pal_576i [03:08:23] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [03:08:23] =============== [PASSED] drm_modes_analog_tv =============== [03:08:23] ============== drm_plane_helper (2 subtests) =============== [03:08:23] =============== drm_test_check_plane_state ================ [03:08:23] [PASSED] clipping_simple [03:08:23] [PASSED] clipping_rotate_reflect [03:08:23] [PASSED] positioning_simple [03:08:23] [PASSED] upscaling [03:08:23] [PASSED] downscaling [03:08:23] [PASSED] rounding1 [03:08:23] [PASSED] rounding2 [03:08:23] [PASSED] rounding3 [03:08:23] [PASSED] rounding4 [03:08:23] =========== [PASSED] drm_test_check_plane_state ============ [03:08:23] =========== drm_test_check_invalid_plane_state ============ [03:08:23] [PASSED] positioning_invalid [03:08:23] [PASSED] upscaling_invalid [03:08:23] [PASSED] downscaling_invalid [03:08:23] ======= [PASSED] drm_test_check_invalid_plane_state ======== [03:08:23] ================ [PASSED] drm_plane_helper ================= [03:08:23] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [03:08:23] ====== drm_test_connector_helper_tv_get_modes_check ======= [03:08:23] [PASSED] None [03:08:23] [PASSED] PAL [03:08:23] [PASSED] NTSC [03:08:23] [PASSED] Both, NTSC Default [03:08:23] [PASSED] Both, PAL Default [03:08:23] [PASSED] Both, NTSC Default, with PAL on command-line [03:08:23] [PASSED] Both, PAL Default, with NTSC on command-line [03:08:23] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [03:08:23] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [03:08:23] ================== drm_rect (9 subtests) =================== [03:08:23] [PASSED] drm_test_rect_clip_scaled_div_by_zero [03:08:23] [PASSED] drm_test_rect_clip_scaled_not_clipped [03:08:23] [PASSED] drm_test_rect_clip_scaled_clipped [03:08:23] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [03:08:23] ================= drm_test_rect_intersect ================= [03:08:23] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [03:08:23] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [03:08:23] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [03:08:23] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [03:08:23] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [03:08:23] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [03:08:23] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [03:08:23] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [03:08:23] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [03:08:23] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [03:08:23] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [03:08:23] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [03:08:23] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [03:08:23] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [03:08:23] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [03:08:23] ============= [PASSED] drm_test_rect_intersect ============= [03:08:23] ================ drm_test_rect_calc_hscale ================ [03:08:23] [PASSED] normal use [03:08:23] [PASSED] out of max range [03:08:23] [PASSED] out of min range [03:08:23] [PASSED] zero dst [03:08:23] [PASSED] negative src [03:08:23] [PASSED] negative dst [03:08:23] ============ [PASSED] drm_test_rect_calc_hscale ============ [03:08:23] ================ drm_test_rect_calc_vscale ================ [03:08:23] [PASSED] normal use [03:08:23] [PASSED] out of max range [03:08:23] [PASSED] out of min range [03:08:23] [PASSED] zero dst [03:08:23] [PASSED] negative src [03:08:23] [PASSED] negative dst [03:08:23] ============ [PASSED] drm_test_rect_calc_vscale ============ [03:08:23] ================== drm_test_rect_rotate =================== [03:08:23] [PASSED] reflect-x [03:08:23] [PASSED] reflect-y [03:08:23] [PASSED] rotate-0 [03:08:23] [PASSED] rotate-90 [03:08:23] [PASSED] rotate-180 [03:08:23] [PASSED] rotate-270 [03:08:23] ============== [PASSED] drm_test_rect_rotate =============== [03:08:23] ================ drm_test_rect_rotate_inv ================= [03:08:23] [PASSED] reflect-x [03:08:23] [PASSED] reflect-y [03:08:23] [PASSED] rotate-0 [03:08:23] [PASSED] rotate-90 [03:08:23] [PASSED] rotate-180 [03:08:23] [PASSED] rotate-270 [03:08:23] ============ [PASSED] drm_test_rect_rotate_inv ============= [03:08:23] ==================== [PASSED] drm_rect ===================== [03:08:23] ============ drm_sysfb_modeset_test (1 subtest) ============ [03:08:23] ============ drm_test_sysfb_build_fourcc_list ============= [03:08:23] [PASSED] no native formats [03:08:23] [PASSED] XRGB8888 as native format [03:08:23] [PASSED] remove duplicates [03:08:23] [PASSED] convert alpha formats [03:08:23] [PASSED] random formats [03:08:23] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [03:08:23] ============= [PASSED] drm_sysfb_modeset_test ============== [03:08:23] ================== drm_fixp (2 subtests) =================== [03:08:23] [PASSED] drm_test_int2fixp [03:08:23] [PASSED] drm_test_sm2fixp [03:08:23] ==================== [PASSED] drm_fixp ===================== [03:08:23] ============================================================ [03:08:23] Testing complete. Ran 639 tests: passed: 639 [03:08:23] Elapsed time: 26.667s total, 1.809s configuring, 24.693s building, 0.140s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [03:08:23] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [03:08:25] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [03:08:35] Starting KUnit Kernel (1/1)... [03:08:35] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [03:08:35] ================= ttm_device (5 subtests) ================== [03:08:35] [PASSED] ttm_device_init_basic [03:08:35] [PASSED] ttm_device_init_multiple [03:08:35] [PASSED] ttm_device_fini_basic [03:08:35] [PASSED] ttm_device_init_no_vma_man [03:08:35] ================== ttm_device_init_pools ================== [03:08:35] [PASSED] No DMA allocations, no DMA32 required [03:08:35] [PASSED] DMA allocations, DMA32 required [03:08:35] [PASSED] No DMA allocations, DMA32 required [03:08:35] [PASSED] DMA allocations, no DMA32 required [03:08:35] ============== [PASSED] ttm_device_init_pools ============== [03:08:35] =================== [PASSED] ttm_device ==================== [03:08:35] ================== ttm_pool (8 subtests) =================== [03:08:35] ================== ttm_pool_alloc_basic =================== [03:08:35] [PASSED] One page [03:08:35] [PASSED] More than one page [03:08:35] [PASSED] Above the allocation limit [03:08:35] [PASSED] One page, with coherent DMA mappings enabled [03:08:35] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [03:08:35] ============== [PASSED] ttm_pool_alloc_basic =============== [03:08:35] ============== ttm_pool_alloc_basic_dma_addr ============== [03:08:35] [PASSED] One page [03:08:35] [PASSED] More than one page [03:08:35] [PASSED] Above the allocation limit [03:08:35] [PASSED] One page, with coherent DMA mappings enabled [03:08:35] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [03:08:35] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [03:08:35] [PASSED] ttm_pool_alloc_order_caching_match [03:08:35] [PASSED] ttm_pool_alloc_caching_mismatch [03:08:35] [PASSED] ttm_pool_alloc_order_mismatch [03:08:35] [PASSED] ttm_pool_free_dma_alloc [03:08:35] [PASSED] ttm_pool_free_no_dma_alloc [03:08:35] [PASSED] ttm_pool_fini_basic [03:08:35] ==================== [PASSED] ttm_pool ===================== [03:08:35] ================ ttm_resource (8 subtests) ================= [03:08:35] ================= ttm_resource_init_basic ================= [03:08:35] [PASSED] Init resource in TTM_PL_SYSTEM [03:08:35] [PASSED] Init resource in TTM_PL_VRAM [03:08:35] [PASSED] Init resource in a private placement [03:08:35] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [03:08:35] ============= [PASSED] ttm_resource_init_basic ============= [03:08:35] [PASSED] ttm_resource_init_pinned [03:08:35] [PASSED] ttm_resource_fini_basic [03:08:35] [PASSED] ttm_resource_manager_init_basic [03:08:35] [PASSED] ttm_resource_manager_usage_basic [03:08:35] [PASSED] ttm_resource_manager_set_used_basic [03:08:35] [PASSED] ttm_sys_man_alloc_basic [03:08:35] [PASSED] ttm_sys_man_free_basic [03:08:35] ================== [PASSED] ttm_resource =================== [03:08:35] =================== ttm_tt (15 subtests) =================== [03:08:35] ==================== ttm_tt_init_basic ==================== [03:08:35] [PASSED] Page-aligned size [03:08:35] [PASSED] Extra pages requested [03:08:35] ================ [PASSED] ttm_tt_init_basic ================ [03:08:35] [PASSED] ttm_tt_init_misaligned [03:08:35] [PASSED] ttm_tt_fini_basic [03:08:35] [PASSED] ttm_tt_fini_sg [03:08:35] [PASSED] ttm_tt_fini_shmem [03:08:35] [PASSED] ttm_tt_create_basic [03:08:35] [PASSED] ttm_tt_create_invalid_bo_type [03:08:35] [PASSED] ttm_tt_create_ttm_exists [03:08:35] [PASSED] ttm_tt_create_failed [03:08:35] [PASSED] ttm_tt_destroy_basic [03:08:35] [PASSED] ttm_tt_populate_null_ttm [03:08:35] [PASSED] ttm_tt_populate_populated_ttm [03:08:35] [PASSED] ttm_tt_unpopulate_basic [03:08:35] [PASSED] ttm_tt_unpopulate_empty_ttm [03:08:35] [PASSED] ttm_tt_swapin_basic [03:08:35] ===================== [PASSED] ttm_tt ====================== [03:08:35] =================== ttm_bo (14 subtests) =================== [03:08:35] =========== ttm_bo_reserve_optimistic_no_ticket =========== [03:08:35] [PASSED] Cannot be interrupted and sleeps [03:08:35] [PASSED] Cannot be interrupted, locks straight away [03:08:35] [PASSED] Can be interrupted, sleeps [03:08:35] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [03:08:35] [PASSED] ttm_bo_reserve_locked_no_sleep [03:08:35] [PASSED] ttm_bo_reserve_no_wait_ticket [03:08:35] [PASSED] ttm_bo_reserve_double_resv [03:08:35] [PASSED] ttm_bo_reserve_interrupted [03:08:35] [PASSED] ttm_bo_reserve_deadlock [03:08:35] [PASSED] ttm_bo_unreserve_basic [03:08:35] [PASSED] ttm_bo_unreserve_pinned [03:08:35] [PASSED] ttm_bo_unreserve_bulk [03:08:35] [PASSED] ttm_bo_fini_basic [03:08:35] [PASSED] ttm_bo_fini_shared_resv [03:08:35] [PASSED] ttm_bo_pin_basic [03:08:35] [PASSED] ttm_bo_pin_unpin_resource [03:08:35] [PASSED] ttm_bo_multiple_pin_one_unpin [03:08:35] ===================== [PASSED] ttm_bo ====================== [03:08:35] ============== ttm_bo_validate (22 subtests) =============== [03:08:35] ============== ttm_bo_init_reserved_sys_man =============== [03:08:35] [PASSED] Buffer object for userspace [03:08:35] [PASSED] Kernel buffer object [03:08:35] [PASSED] Shared buffer object [03:08:35] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [03:08:35] ============== ttm_bo_init_reserved_mock_man ============== [03:08:35] [PASSED] Buffer object for userspace [03:08:35] [PASSED] Kernel buffer object [03:08:35] [PASSED] Shared buffer object [03:08:35] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [03:08:35] [PASSED] ttm_bo_init_reserved_resv [03:08:35] ================== ttm_bo_validate_basic ================== [03:08:35] [PASSED] Buffer object for userspace [03:08:35] [PASSED] Kernel buffer object [03:08:35] [PASSED] Shared buffer object [03:08:35] ============== [PASSED] ttm_bo_validate_basic ============== [03:08:35] [PASSED] ttm_bo_validate_invalid_placement [03:08:35] ============= ttm_bo_validate_same_placement ============== [03:08:35] [PASSED] System manager [03:08:35] [PASSED] VRAM manager [03:08:35] ========= [PASSED] ttm_bo_validate_same_placement ========== [03:08:35] [PASSED] ttm_bo_validate_failed_alloc [03:08:35] [PASSED] ttm_bo_validate_pinned [03:08:35] [PASSED] ttm_bo_validate_busy_placement [03:08:35] ================ ttm_bo_validate_multihop ================= [03:08:35] [PASSED] Buffer object for userspace [03:08:35] [PASSED] Kernel buffer object [03:08:35] [PASSED] Shared buffer object [03:08:35] ============ [PASSED] ttm_bo_validate_multihop ============= [03:08:35] ========== ttm_bo_validate_no_placement_signaled ========== [03:08:35] [PASSED] Buffer object in system domain, no page vector [03:08:35] [PASSED] Buffer object in system domain with an existing page vector [03:08:35] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [03:08:35] ======== ttm_bo_validate_no_placement_not_signaled ======== [03:08:35] [PASSED] Buffer object for userspace [03:08:35] [PASSED] Kernel buffer object [03:08:35] [PASSED] Shared buffer object [03:08:35] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [03:08:35] [PASSED] ttm_bo_validate_move_fence_signaled [03:08:35] ========= ttm_bo_validate_move_fence_not_signaled ========= [03:08:35] [PASSED] Waits for GPU [03:08:35] [PASSED] Tries to lock straight away [03:08:35] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [03:08:35] [PASSED] ttm_bo_validate_swapout [03:08:35] [PASSED] ttm_bo_validate_happy_evict [03:08:35] [PASSED] ttm_bo_validate_all_pinned_evict [03:08:35] [PASSED] ttm_bo_validate_allowed_only_evict [03:08:35] [PASSED] ttm_bo_validate_deleted_evict [03:08:35] [PASSED] ttm_bo_validate_busy_domain_evict [03:08:35] [PASSED] ttm_bo_validate_evict_gutting [03:08:35] [PASSED] ttm_bo_validate_recrusive_evict [03:08:35] ================= [PASSED] ttm_bo_validate ================= [03:08:35] ============================================================ [03:08:35] Testing complete. Ran 102 tests: passed: 102 [03:08:35] Elapsed time: 11.997s total, 1.837s configuring, 9.945s building, 0.184s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/xe/guc: Hold device ref until queue teardown completes (rev8)
In reply to Arvind Yadav== Series Details ==
== Series Details ==
Series: drm/xe/guc: Hold device ref until queue teardown completes (rev8)
URL : https://patchwork.freedesktop.org/series/168424/
State : success
== Summary ==
CI Bug Log - changes from xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc_BAT -> xe-pw-168424v8_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 13)
------------------------------
Additional (2): bat-bmg-1 bat-bmg-2
Known issues
------------
Here are the changes found in xe-pw-168424v8_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@write:
- bat-bmg-2: NOTRUN -> [SKIP][1] ([Intel XE#2134]) +4 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][2] ([Intel XE#2233])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
- bat-bmg-1: NOTRUN -> [SKIP][3] ([Intel XE#2233])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][4] ([Intel XE#2489] / [Intel XE#3419]) +13 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-bmg-1: NOTRUN -> [SKIP][5] ([Intel XE#8265])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
* igt@kms_flip@basic-flip-vs-modeset:
- bat-bmg-2: NOTRUN -> [SKIP][6] ([Intel XE#2482]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-bmg-2: NOTRUN -> [SKIP][7] ([Intel XE#2434] / [Intel XE#2548] / [Intel XE#6314])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-bmg-1: NOTRUN -> [SKIP][8] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
- bat-bmg-2: NOTRUN -> [SKIP][9] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@xe_exec_multi_queue@exec-sanity:
- bat-bmg-1: NOTRUN -> [SKIP][10] ([Intel XE#8364]) +13 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
* igt@xe_exec_multi_queue@priority:
- bat-bmg-2: NOTRUN -> [SKIP][11] ([Intel XE#8364]) +13 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- bat-bmg-2: NOTRUN -> [SKIP][12] ([Intel XE#2229])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
- bat-bmg-1: NOTRUN -> [SKIP][13] ([Intel XE#2229])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
* igt@xe_pat@pat-index-xehpc:
- bat-bmg-2: NOTRUN -> [SKIP][14] ([Intel XE#1420] / [Intel XE#7590])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
- bat-bmg-1: NOTRUN -> [SKIP][15] ([Intel XE#1420] / [Intel XE#7590])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- bat-bmg-2: NOTRUN -> [SKIP][16] ([Intel XE#2245] / [Intel XE#7590])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
- bat-bmg-1: NOTRUN -> [SKIP][17] ([Intel XE#2245] / [Intel XE#7590])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-bmg-2: NOTRUN -> [SKIP][18] ([Intel XE#2236] / [Intel XE#7590])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-2/igt@[email protected]
- bat-bmg-1: NOTRUN -> [SKIP][19] ([Intel XE#2236] / [Intel XE#7590])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/bat-bmg-1/igt@[email protected]
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2434]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2434
[Intel XE#2482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2482
[Intel XE#2489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2489
[Intel XE#2548]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2548
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#3419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3419
[Intel XE#6314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6314
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
Build changes
-------------
* Linux: xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc -> xe-pw-168424v8
IGT_8997: 8997
xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc: e6db87755f42426899dd6ca45f97eb1b98e2f9fc
xe-pw-168424v8: 168424v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/index.html
Thomas Hellström
maintainerQuoted 68 lines · Arvind Yadav
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_devicereference 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 unusedfini_wq.v2:
- Rebasev3:
- Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
- Queue async teardown onsystem_dfl_wqinstead ofxe->destroy_wq. (Matt)
- Drop separate deferreddrm_dev_putworker.
- Remove staledrain_workqueue(xe->destroy_wq)fromguc_submit_sw_fini().v4:
- Replace theguc_submit_sw_fini()wait with an assertion and remove
the now-unusedfini_wq. (sashiko)v5:
- Move destroy work to a module-lifetime Xe workqueue instead ofsystem_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-devicedestroy_wqto avoid
letting it outlive the xe_device/drm_device. (Sashiko)
- UseWQ_MEM_RECLAIMforxe->destroy_wqbecause SVM pagemap destroy work
can be queued from the reclaim path.v7:
- Drop the per-devicexe->destroy_wqand 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-deviceWQ_MEM_RECLAIMdestroy_wqbecause it can be queued from reclaim and embeds thedev_pagemapused by devres teardown. (Sashiko)
- Keep the module-level destroy WQ GuC-only and dropWQ_MEM_RECLAIMfrom it.
- Update the module-WQ kdoc to document the GuC/SVM split.
Quoted 4 lines
v10:
- Keepxe->destroy_wqper-cpu while addingWQ_MEM_RECLAIMto fix the
workqueue allocation warning.
If *all* work items that release the drm_device refcount are flushed at device removal (unplug) time, Why do we need the drm_device reference in the first place? Since IIRC the devres, that runs after unplug, keeps a drm_device reference?
Similarly, if we flush all outstanding per-device GuC work at device removal time, why do we need this additional module-wide workqueue? Wouldn't it be equivalent to keep the GuC work items on the per-device destroy wq, and flush it at unplug / pci removal, the latter being the key?
Quoted 390 lines
Fixes 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")Cc Thomas Hellström <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Tejas Upadhyay <[email protected]>Cc Matthew Brost <[email protected]>Signed-off-by Arvind Yadav <[email protected]>---
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 +++ drivers/gpu/drm/xe/xe_svm.c | 5 +++8 files changed, 105 insertions(+), 32 deletions(-)drivers/gpu/drm/xe/xe_device.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_device.c +0
-1- xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU,0);
drivers/gpu/drm/xe/xe_device.c +1
-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) { /*drivers/gpu/drm/xe/xe_device_types.h +0
-0@@ -355,7 +355,7 @@ struct xe_device { /** @unordered_wq: used to serialize unordered work */ struct workqueue_struct *unordered_wq;drivers/gpu/drm/xe/xe_device_types.h +0
-1-/** @destroy_wq: used to serialize user destroy work, like queue */
drivers/gpu/drm/xe/xe_device_types.h +1
-0+/** @destroy_wq: used to serialize SVM pagemap destroy work */
structworkqueue_struct*destroy_wq;
/** @tiles: device tiles */drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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"drivers/gpu/drm/xe/xe_guc_submit.c +1
-6@@ -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 );drivers/gpu/drm/xe/xe_guc_submit.c +1
-3-drain_workqueue (xe->destroy_wq); - -xe_gt_assert (gt, ret); + xe_gt_assert(gt, xa_empty(&guc-Quoted 1 line
submission_state.exec_queue_lookup));
xa_destroy(&guc->submission_state.exec_queue_lookup); }drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_guc_submit.c +0
-2-init_waitqueue_head (&guc->submission_state.fini_wq); -primelockdep(guc);
guc->submission_state.initialized= true;drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_guc_submit.c +0
-3-if (xa_empty (&guc->submission_state.exec_queue_lookup)) -wake_up (&guc->submission_state.fini_wq); -
mutex_unlock(&guc->submission_state.lock); }drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -1686,6 +1675,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)) { structxe_exec_queue_group*group = q-Quoted 1 line
multi_queue.group;
drivers/gpu/drm/xe/xe_guc_submit.c +2
-0@@ -1704,36 +1694,52 @@ static void guc_exec_queue_fini(structxe_exec_queue *q) * (timeline name). */ kfree_rcu(ge, rcu); + +drm_dev_put (drm); }drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-static void __guc_exec_queue_destroy_async (struct work_struct *w) +static void guc_exec_queue_do_destroy (struct xe_exec_queue *q){
drivers/gpu/drm/xe/xe_guc_submit.c +0
-2-struct xe_guc_exec_queue *ge = - container_of(w, struct xe_guc_exec_queue,
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-struct xe_exec_queue *q = ge->q; +struct xe_guc_exec_queue *ge = q->guc;struct
xe_guc*guc =exec_queue_to_guc(q);drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+struct xe_device *xe =guc_to_xe (guc); +struct drm_device *drm = &xe->drm;drivers/gpu/drm/xe/xe_guc_submit.c +5
-2-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);drivers/gpu/drm/xe/xe_guc_submit.c +0
-1-/* Confirm no work left behind accessing device structures */
drivers/gpu/drm/xe/xe_guc_submit.c +2
-1-cancel_delayed_work_sync (&ge->sched.base.work_tdr); + scoped_guard(xe_pm_runtime, xe) { +trace_xe_exec_queue_destroy (q);drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-xe_exec_queue_fini (q); +/* Confirm no work left behind accessing device structures */
drivers/gpu/drm/xe/xe_guc_submit.c +6
-0+cancel_delayed_work_sync (&ge->sched.base.work_tdr); + +xe_exec_queue_fini (q); + } + +drm_dev_put (drm);}
drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-static void guc_exec_queue_destroy_async (struct xe_exec_queue *q) +static void __guc_exec_queue_destroy_async (struct work_struct *w){
drivers/gpu/drm/xe/xe_guc_submit.c +2
-2-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);drivers/gpu/drm/xe/xe_guc_submit.c +3
-0+ +guc_exec_queue_do_destroy (ge->q); +}drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+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))drivers/gpu/drm/xe/xe_guc_submit.c +0
-1- __guc_exec_queue_destroy_async(&q->guc-Quoted 1 line
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+guc_exec_queue_do_destroy (q);else
drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-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)drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -1928,6 +1934,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;
drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -1939,6 +1946,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) if (!ge) return -ENOMEM;drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+drm_dev_get (drm); +
q->guc= ge;
ge->q= q;
init_rcu_head(&ge->rcu);drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -2015,6 +2024,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) release_guc_id(guc, q);err_free:
kfree(ge);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+drm_dev_put (drm);
return err;
}drivers/gpu/drm/xe/xe_guc_types.h +0
-0@@ -100,8 +100,6 @@ struct xe_guc { * even initialized - before that not even the lockis valid
*/
bool initialized;drivers/gpu/drm/xe/xe_guc_types.h +0
-1-/** @submission_state.fini_wq: submit fini wait queue */
drivers/gpu/drm/xe/xe_guc_types.h +0
-1-wait_queue_head_t fini_wq;}
submission_state;
/** @hwconfig: Hardware config state */drivers/gpu/drm/xe/xe_module.c +0
-0@@ -7,6 +7,7 @@
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/workqueue.h>
#include <drm/drm_module.h>drivers/gpu/drm/xe/xe_module.c +0
-0@@ -88,6 +89,50 @@ static int xe_check_nomodeset(void) return 0; }drivers/gpu/drm/xe/xe_module.c +5
-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);drivers/gpu/drm/xe/xe_module.c +17
-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 singlexe_device. SVM pagemap destroy uses the
+ * per-devicexe->destroy_wqinstead.
+ *
+ * Return: %true if @work was queued, %false if it was already pending.
+ */drivers/gpu/drm/xe/xe_module.c +17
-0+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);drivers/gpu/drm/xe/xe_module.c +4
-0@@ -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,drivers/gpu/drm/xe/xe_module.h +0
-0@@ -8,6 +8,8 @@
#include <linux/types.h>drivers/gpu/drm/xe/xe_module.h +2
-0+struct work_struct ; +/* Module modprobe variables */
structxe_modparam{
boolprobe_display;drivers/gpu/drm/xe/xe_module.h +0
-0@@ -26,5 +28,8 @@ struct xe_modparam {
extern structxe_modparamxe_modparam;drivers/gpu/drm/xe/xe_module.h +3
-0+bool xe_destroy_wq_queue (struct work_struct *work); +void xe_destroy_wq_flush (void ); +#endif
drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -1099,6 +1099,12 @@ static void xe_pci_remove(struct pci_dev *pdev) return;
xe_device_remove(xe);drivers/gpu/drm/xe/xe_pci.c +3
-0+ +/* +* Preserve remove-time flush after moving destroy work to module
drivers/gpu/drm/xe/xe_pci.c +3
-0+* lifetime. +*/ +xe_destroy_wq_flush ();
xe_pm_fini(xe);
}drivers/gpu/drm/xe/xe_svm.c +0
-0@@ -1732,6 +1732,11 @@ static void xe_pagemap_destroy(struct
drm_pagemap*dpagemap, boolfrom_atomic_or
structxe_pagemap*xpagemap =container_of(dpagemap, typeof(*xpagemap), dpagemap);
structxe_device*xe =to_xe_device(dpagemap->drm);drivers/gpu/drm/xe/xe_svm.c +2
-0+/* +* SVM pagemap destroy can be queued from reclaim and xpagemap embeds
drivers/gpu/drm/xe/xe_svm.c +1
-0+* the dev_pagemap used by devres teardown. Keep it on the per-device
drivers/gpu/drm/xe/xe_svm.c +1
-0+* WQ_MEM_RECLAIM destroy_wq, not the module-level GuC destroy WQ.
drivers/gpu/drm/xe/xe_svm.c
Quoted 1 line
drivers/gpu/drm/xe/xe_svm.c +1
-0+*/
I think this comment can be dropped. Outside the context of this patch it will be confusing?
Quoted 3 lines
if (
from_atomic_or_reclaim)queue_work(xe->destroy_wq, &xpagemap->destroy_work); else
Thanks,
Thomas
Quoted 69 lines · Thomas Hellström
Quoted 68 lines · Arvind Yadav
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_devicereference 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 unusedfini_wq.v2:
- Rebasev3:
- Switch to queue-lifetime drm_dev_get()/drm_dev_put() model.
(Matt)
- Queue async teardown onsystem_dfl_wqinstead ofxe->destroy_wq.
(Matt)
- Drop separate deferreddrm_dev_putworker.
- Remove staledrain_workqueue(xe->destroy_wq)fromguc_submit_sw_fini().v4:
- Replace theguc_submit_sw_fini()wait with an assertion and
remove
the now-unusedfini_wq. (sashiko)v5:
- Move destroy work to a module-lifetime Xe workqueue instead ofsystem_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-devicedestroy_wqto
avoid
letting it outlive the xe_device/drm_device. (Sashiko)
- UseWQ_MEM_RECLAIMforxe->destroy_wqbecause SVM pagemap destroy
work
can be queued from the reclaim path.v7:
- Drop the per-devicexe->destroy_wqand 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-deviceWQ_MEM_RECLAIMdestroy_wqbecause it can be queued from reclaim and embeds thedev_pagemapused by devres teardown. (Sashiko)
- Keep the module-level destroy WQ GuC-only and dropWQ_MEM_RECLAIMfrom it.
- Update the module-WQ kdoc to document the GuC/SVM split.
Quoted 8 lines
Quoted 4 lines
v10:
- Keepxe->destroy_wqper-cpu while addingWQ_MEM_RECLAIMto fix
the
workqueue allocation warning.If *all* work items that release the
drm_devicerefcount are flushed at device removal (unplug) time, Why do we need thedrm_devicereference in the first place? Since IIRC the devres, that runs after unplug, keeps adrm_devicereference?
The flush only covers work queued at unplug/remove time. "xe_device_remove()" does not close clients or destroy user queues, so a queue can outlive the remove-time flush. That's why the queue-held "drm_dev_get()" is still needed to keep "drm_dev_release()" and drmm cleanup from running until queue teardown completes.
Quoted 5 lines
Similarly, if we flush all outstanding per-device GuC work at device removal time, why do we need this additional module-wide workqueue? Wouldn't it be equivalent to keep the GuC work items on the per-device destroy wq, and flush it at unplug / pci removal, the latter being the key?
The PCI-remove flush only waits for destroy work already queued at that time. A user queue can outlive unplug and queue its destroy work later when the fd closes. That is why the per-device WQ is still unsafe for GuC teardown, the worker can drop the final drm_device ref, enter drmm cleanup and destroy the same WQ it is running on. So the module-lifetime WQ is still needed.
Please let me know if I have missed something in this reasoning.
Quoted 383 lines
Quoted 383 lines
Fixes 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")Cc Thomas Hellström <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Tejas Upadhyay <[email protected]>Cc Matthew Brost <[email protected]>Signed-off-by Arvind Yadav <[email protected]>--- 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 +++ drivers/gpu/drm/xe/xe_svm.c | 5 +++ 8 files changed, 105 insertions(+), 32 deletions(-)drivers/gpu/drm/xe/xe_device.c +0
-1@@ -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);
drivers/gpu/drm/xe/xe_device.c +1
-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) { /*drivers/gpu/drm/xe/xe_device_types.h +0
-1@@ -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 */
drivers/gpu/drm/xe/xe_device_types.h +1
-0+/** @destroy_wq: used to serialize SVM pagemap destroy work */
structworkqueue_struct*destroy_wq;/** @tiles: device tiles */
drivers/gpu/drm/xe/xe_guc_submit.c +3
-9@@ -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); }drivers/gpu/drm/xe/xe_guc_submit.c +0
-2@@ -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;drivers/gpu/drm/xe/xe_guc_submit.c +1
-3@@ -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); }@@ -1686,6 +1675,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-Quoted 1 line
multi_queue.group;
drivers/gpu/drm/xe/xe_guc_submit.c +14
-9@@ -1704,36 +1694,52 @@ static void guc_exec_queue_fini(structxe_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 */
drivers/gpu/drm/xe/xe_guc_submit.c +9
-3+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);drivers/gpu/drm/xe/xe_guc_submit.c +5
-0+ +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))drivers/gpu/drm/xe/xe_guc_submit.c +0
-1- __guc_exec_queue_destroy_async(&q->guc-Quoted 1 line
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +2
-1+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)drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -1928,6 +1934,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;
drivers/gpu/drm/xe/xe_guc_submit.c +2
-0@@ -1939,6 +1946,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);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -2015,6 +2024,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;}
drivers/gpu/drm/xe/xe_guc_types.h +0
-0@@ -100,8 +100,6 @@ struct xe_guc { * even initialized - before that not even the lockis valid
*/
bool initialized;drivers/gpu/drm/xe/xe_guc_types.h +0
-1-/** @submission_state.fini_wq: submit fini wait queue */
drivers/gpu/drm/xe/xe_guc_types.h +0
-1-wait_queue_head_t fini_wq; } submission_state; /** @hwconfig: Hardware config state */drivers/gpu/drm/xe/xe_module.c +23
-0@@ -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 singlexe_device. SVM pagemap destroy uses the
+ * per-devicexe->destroy_wqinstead.
+ *
+ * Return: %true if @work was queued, %false if it was already pending.
+ */drivers/gpu/drm/xe/xe_module.c +21
-0+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,drivers/gpu/drm/xe/xe_module.h +5
-0@@ -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 ); + #endifdrivers/gpu/drm/xe/xe_pci.c +3
-0@@ -1099,6 +1099,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
drivers/gpu/drm/xe/xe_pci.c +3
-0+* lifetime. +*/ +xe_destroy_wq_flush (); xe_pm_fini(xe); }drivers/gpu/drm/xe/xe_svm.c +0
-0@@ -1732,6 +1732,11 @@ static void xe_pagemap_destroy(struct
drm_pagemap*dpagemap, boolfrom_atomic_or
structxe_pagemap*xpagemap = container_of(dpagemap,typeof(*xpagemap), dpagemap);
structxe_device*xe =to_xe_device(dpagemap->drm);
Quoted 10 lines
drivers/gpu/drm/xe/xe_svm.c
Quoted 8 lines
drivers/gpu/drm/xe/xe_svm.c +2
-0+/* +* SVM pagemap destroy can be queued from reclaim and xpagemap embeds
drivers/gpu/drm/xe/xe_svm.c +1
-0+* the dev_pagemap used by devres teardown. Keep it on the per-device
drivers/gpu/drm/xe/xe_svm.c +1
-0+* WQ_MEM_RECLAIM destroy_wq, not the module-level GuC destroy WQ.
drivers/gpu/drm/xe/xe_svm.c +1
-0+*/ I think this comment can be dropped. Outside the context of this patch it will be confusing?
Agreed, I will remove this comment.
Thanks,
Arvind
Quoted 6 lines
Quoted 4 lines
if (
from_atomic_or_reclaim)queue_work(xe->destroy_wq, &xpagemap->destroy_work); elseThanks,
Thomas
Thomas Hellström
maintainerQuoted 127 lines · Arvind
Quoted 88 lines · Thomas Hellström
Quoted 82 lines · Arvind Yadav
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_devicereference 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 unusedfini_wq.v2:
- Rebasev3:
- Switch to queue-lifetime drm_dev_get()/drm_dev_put() model. (Matt)
- Queue async teardown onsystem_dfl_wqinstead of xe-Quoted 1 line
destroy_wq.(Matt)
- Drop separate deferreddrm_dev_putworker.
- Remove staledrain_workqueue(xe->destroy_wq)fromguc_submit_sw_fini().v4:
- Replace theguc_submit_sw_fini()wait with an assertion and remove
the now-unusedfini_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-devicedestroy_wqto
avoid
letting it outlive the xe_device/drm_device. (Sashiko)
- UseWQ_MEM_RECLAIMforxe->destroy_wqbecause SVM pagemap destroy
work
can be queued from the reclaim path.v7:
- Drop the per-devicexe->destroy_wqand 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-deviceWQ_MEM_RECLAIM
destroy_wqbecause it can be queued from reclaim and embeds thedev_pagemapused by devres teardown. (Sashiko)
- Keep the module-level destroy WQ GuC-only and dropWQ_MEM_RECLAIM
from it.
- Update the module-WQ kdoc to document the GuC/SVM split.Quoted 5 lines
v10:
- Keepxe->destroy_wqper-cpu while addingWQ_MEM_RECLAIMto fix
the
workqueue allocation warning.Quoted 6 lines
If *all* work items that release the
drm_devicerefcount are flushed at
device removal (unplug) time, Why do we need thedrm_devicereference
in the first place? Since IIRC the devres, that runs after unplug, keeps adrm_devicereference?The flush only covers work queued at unplug/remove time. "
xe_device_remove()" does not close clients or destroy user queues, so a
queue can outlive the remove-time flush. That's why the queue-held "drm_dev_get()" is still needed to keep "drm_dev_release()" and drmm cleanup from running until queue teardown completes.Quoted 8 lines
Similarly, if we flush all outstanding per-device GuC work at device
removal time, why do we need this additional module-wide workqueue? Wouldn't it be equivalent to keep the GuC work items on the per- device
destroy wq, and flush it at unplug / pci removal, the latter being the
key?The PCI-remove flush only waits for destroy work already queued at that
time. A user queue can outlive unplug and queue its destroy work later
when the fd closes. That is why the per-device WQ is still unsafe for GuC teardown, the worker can drop the finaldrm_deviceref, enter drmm
cleanup and destroy the same WQ it is running on. So the module- lifetime
WQ is still needed.
Quoted 1 line
Please let me know if I have missed something in this reasoning.
No, it sounds sane.
Thanks!
Thomas
Quoted 434 lines
Quoted 412 lines
Quoted 412 lines
Fixes 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")Cc Thomas Hellström <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Tejas Upadhyay <[email protected]>Cc Matthew Brost <[email protected]>Signed-off-by Arvind Yadav <[email protected]>---
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 +++ drivers/gpu/drm/xe/xe_svm.c | 5 +++8 files changed, 105 insertions(+), 32 deletions(-)drivers/gpu/drm/xe/xe_device.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_device.c +0
-1- xe->destroy_wq = alloc_workqueue("xe-destroy-wq",
WQ_PERCPU,
0);drivers/gpu/drm/xe/xe_device.c +1
-0+ xe->destroy_wq = alloc_workqueue("xe-destroy-wq",
WQ_PERCPUQuoted 1 line
WQ_MEM_RECLAIM, 0);if (!xe->ordered_wq || !xe->unordered_wq || !xe->preempt_fence_wq || !xe->destroy_wq) { /*
drivers/gpu/drm/xe/xe_device_types.h +0
-0@@ -355,7 +355,7 @@ struct xe_device { /** @unordered_wq: used to serialize unordered work */ struct workqueue_struct *unordered_wq;drivers/gpu/drm/xe/xe_device_types.h +0
-1-/** @destroy_wq: used to serialize user destroy work, like
queue */drivers/gpu/drm/xe/xe_device_types.h +1
-0+/** @destroy_wq: used to serialize SVM pagemap destroy work
*/
structworkqueue_struct*destroy_wq;
/** @tiles: device tiles */drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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"drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -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)
{
structxe_guc*guc = arg;drivers/gpu/drm/xe/xe_guc_submit.c +0
-1-struct xe_device *xe =guc_to_xe (guc);struct
xe_gt*gt =guc_to_gt(guc);drivers/gpu/drm/xe/xe_guc_submit.c +0
-4-int ret; - - ret = wait_event_timeout(guc->submission_state.fini_wq, - xa_empty(&guc-Quoted 1 line
submission_state.exec_queue_lookup),
drivers/gpu/drm/xe/xe_guc_submit.c +0
-1- HZ * 5);drivers/gpu/drm/xe/xe_guc_submit.c +1
-3-drain_workqueue (xe->destroy_wq); - -xe_gt_assert (gt, ret); + xe_gt_assert(gt, xa_empty(&guc-Quoted 1 line
submission_state.exec_queue_lookup));
xa_destroy(&guc->submission_state.exec_queue_lookup); }drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_guc_submit.c +0
-2-init_waitqueue_head (&guc->submission_state.fini_wq); -primelockdep(guc);
guc->submission_state.initialized= true;drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -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);drivers/gpu/drm/xe/xe_guc_submit.c +0
-3-if (xa_empty (&guc->submission_state.exec_queue_lookup)) -wake_up (&guc->submission_state.fini_wq); -
mutex_unlock(&guc->submission_state.lock); }drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -1686,6 +1675,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)) { structxe_exec_queue_group*group = q-Quoted 1 line
multi_queue.group;
drivers/gpu/drm/xe/xe_guc_submit.c +2
-0@@ -1704,36 +1694,52 @@ static void guc_exec_queue_fini(structxe_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 voidguc_exec_queue_do_destroy(struct xe_exec_queue *q){drivers/gpu/drm/xe/xe_guc_submit.c +0
-2-struct xe_guc_exec_queue *ge = - container_of(w, struct xe_guc_exec_queue,
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-struct xe_exec_queue *q = ge->q; +struct xe_guc_exec_queue *ge = q->guc;struct
xe_guc*guc =exec_queue_to_guc(q);drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+struct xe_device *xe =guc_to_xe (guc); +struct drm_device *drm = &xe->drm;drivers/gpu/drm/xe/xe_guc_submit.c +2
-2-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.
drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+* Keep the device alive until the PM-runtime guard unwinds.
drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+*/ +drm_dev_get (drm);drivers/gpu/drm/xe/xe_guc_submit.c +0
-1-/* Confirm no work left behind accessing device structures
*/drivers/gpu/drm/xe/xe_guc_submit.c +2
-1-cancel_delayed_work_sync (&ge->sched.base.work_tdr); + scoped_guard(xe_pm_runtime, xe) { +trace_xe_exec_queue_destroy (q);drivers/gpu/drm/xe/xe_guc_submit.c +1
-1-xe_exec_queue_fini (q); +/* Confirm no work left behind accessing device structures */
drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+ cancel_delayed_work_sync(&ge-Quoted 1 line
sched.base.work_tdr);
drivers/gpu/drm/xe/xe_guc_submit.c +5
-0+ +xe_exec_queue_fini (q); + } + +drm_dev_put (drm);}
-static voidguc_exec_queue_destroy_async(struct xe_exec_queue *q)
+static void__guc_exec_queue_destroy_async(struct work_struct *w)
{drivers/gpu/drm/xe/xe_guc_submit.c +2
-2-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);drivers/gpu/drm/xe/xe_guc_submit.c +3
-0+ +guc_exec_queue_do_destroy (ge->q); +}
+static voidguc_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))drivers/gpu/drm/xe/xe_guc_submit.c +0
-1- __guc_exec_queue_destroy_async(&q->guc-Quoted 1 line
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+guc_exec_queue_do_destroy (q);else
drivers/gpu/drm/xe/xe_guc_submit.c +0
-1- queue_work(xe->destroy_wq, &q->guc-Quoted 1 line
destroy_async);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+xe_destroy_wq_queue (&q->guc->destroy_async);}
static void__guc_exec_queue_destroy(struct xe_guc *guc, struct xe_exec_queue *q)drivers/gpu/drm/xe/xe_guc_submit.c +1
-0@@ -1928,6 +1934,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;
drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -1939,6 +1946,8 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) if (!ge) return -ENOMEM;drivers/gpu/drm/xe/xe_guc_submit.c +2
-0+drm_dev_get (drm); +
q->guc= ge;
ge->q= q;
init_rcu_head(&ge->rcu);drivers/gpu/drm/xe/xe_guc_submit.c +0
-0@@ -2015,6 +2024,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) release_guc_id(guc, q);err_free:
kfree(ge);drivers/gpu/drm/xe/xe_guc_submit.c +1
-0+drm_dev_put (drm);
return err;
}drivers/gpu/drm/xe/xe_guc_types.h +0
-0@@ -100,8 +100,6 @@ struct xe_guc { * even initialized - before that not even thelock
is valid
*/
bool initialized;drivers/gpu/drm/xe/xe_guc_types.h +0
-1-/** @submission_state.fini_wq: submit fini wait queue */
drivers/gpu/drm/xe/xe_guc_types.h +0
-1-wait_queue_head_t fini_wq;}
submission_state;
/** @hwconfig: Hardware config state */drivers/gpu/drm/xe/xe_module.c +0
-0@@ -7,6 +7,7 @@
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/workqueue.h>
#include <drm/drm_module.h>drivers/gpu/drm/xe/xe_module.c +0
-0@@ -88,6 +89,50 @@ static int xe_check_nomodeset(void) return 0; }drivers/gpu/drm/xe/xe_module.c +5
-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);drivers/gpu/drm/xe/xe_module.c +17
-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 singlexe_device. SVM pagemap destroy
uses the
+ * per-devicexe->destroy_wqinstead.
+ *
+ * Return: %true if @work was queued, %false if it was already pending.
+ */drivers/gpu/drm/xe/xe_module.c +9
-0+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.
+ */drivers/gpu/drm/xe/xe_module.c +6
-0+void xe_destroy_wq_flush (void ) +{ +if (xe_destroy_wq) +flush_workqueue (xe_destroy_wq); +} +struct
init_funcs{
int (*init)(void);
void (*exit)(void);drivers/gpu/drm/xe/xe_module.c +4
-0@@ -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,drivers/gpu/drm/xe/xe_module.h +0
-0@@ -8,6 +8,8 @@
#include <linux/types.h>drivers/gpu/drm/xe/xe_module.h +2
-0+struct work_struct ; +/* Module modprobe variables */
structxe_modparam{
boolprobe_display;drivers/gpu/drm/xe/xe_module.h +0
-0@@ -26,5 +28,8 @@ struct xe_modparam {
extern structxe_modparamxe_modparam;drivers/gpu/drm/xe/xe_module.h +3
-0+bool xe_destroy_wq_queue (struct work_struct *work); +void xe_destroy_wq_flush (void ); +#endif
drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -1099,6 +1099,12 @@ static void xe_pci_remove(struct pci_dev *pdev) return;
xe_device_remove(xe);drivers/gpu/drm/xe/xe_pci.c +3
-0+ +/* +* Preserve remove-time flush after moving destroy work to
moduledrivers/gpu/drm/xe/xe_pci.c +3
-0+* lifetime. +*/ +xe_destroy_wq_flush ();
xe_pm_fini(xe);
}drivers/gpu/drm/xe/xe_svm.c +0
-0@@ -1732,6 +1732,11 @@ static void xe_pagemap_destroy(struct
drm_pagemap*dpagemap, boolfrom_atomic_or
structxe_pagemap*xpagemap =container_of(dpagemap, typeof(*xpagemap), dpagemap);
structxe_device*xe =to_xe_device(dpagemap->drm);drivers/gpu/drm/xe/xe_svm.c +2
-0+/* +* SVM pagemap destroy can be queued from reclaim and xpagemap embeds
drivers/gpu/drm/xe/xe_svm.c +1
-0+* the dev_pagemap used by devres teardown. Keep it on Quoted 8 lines
drivers/gpu/drm/xe/xe_svm.c
Quoted 5 lines
the
per-devicedrivers/gpu/drm/xe/xe_svm.c +1
-0+* WQ_MEM_RECLAIM destroy_wq, not the module-level GuC destroy WQ.
drivers/gpu/drm/xe/xe_svm.c +1
-0+*/ I think this comment can be dropped. Outside the context of this patch
it will be confusing?Agreed, I will remove this comment.
Thanks,
ArvindQuoted 7 lines
Quoted 5 lines
if (
from_atomic_or_reclaim) queue_work(xe->destroy_wq, &xpagemap-Quoted 1 line
destroy_work);else
Thanks,
Thomas
Patchwork
CI✓ Xe.CI.FULL: success for drm/xe/guc: Hold device ref until queue teardown completes (rev8)
In reply to Arvind Yadav== Series Details ==
== Series Details ==
Series: drm/xe/guc: Hold device ref until queue teardown completes (rev8)
URL : https://patchwork.freedesktop.org/series/168424/
State : success
== Summary ==
CI Bug Log - changes from xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc_FULL -> xe-pw-168424v8_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-168424v8_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2327]) +1 other test skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-0:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#1124]) +5 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#607] / [Intel XE#7361])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#367]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2887]) +7 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_cdclk@plane-scaling:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2724] / [Intel XE#7449])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2325] / [Intel XE#7358])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-single:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2252]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@lic-type-0@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][9] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-512x170:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-256x85:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2320]) +1 other test skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_dsc@dsc-basic-ultrajoiner:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#8265])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check-interruptible@bd-dp2-hdmi-a3:
- shard-bmg: [PASS][13] -> [FAIL][14] ([Intel XE#5408] / [Intel XE#6266]) +1 other test fail
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-9/igt@kms_flip@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-7/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@drrshdr-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#7061]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#4141]) +7 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2352] / [Intel XE#7399])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2311]) +32 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-rte:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2313]) +31 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#7061] / [Intel XE#7356]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#3374] / [Intel XE#3544])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][22] -> [SKIP][23] ([Intel XE#1503])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-6/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-9/igt@[email protected]
* igt@kms_joiner@basic-big-joiner:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#6901])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_panel_fitting@legacy:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2486])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_plane@pixel-format-yf-tiled-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7283]) +2 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#5020] / [Intel XE#7348])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-75@pipe-a:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@kms_plane_scaling@[email protected]
* igt@kms_pm_dc@dc3co-vpb-simulation@pr:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#8395]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@kms_pm_dc@[email protected]
* igt@kms_pm_dc@dc3co-vpb-simulation@psr2:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#8396])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@kms_pm_dc@[email protected]
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#1489]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@kms_psr@fbc-pr-cursor-plane-onoff:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2234] / [Intel XE#2850]) +7 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#7795])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_rotation_crc@primary-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#3904] / [Intel XE#7342])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_tv_load_detect@load-detect:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2450] / [Intel XE#5857])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_vrr@flip-basic:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#1499])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [PASS][37] -> [INCOMPLETE][38] ([Intel XE#6321] / [Intel XE#8355])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-10/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@xe_evict@evict-small-multi-queue-priority-cm:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#8370]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-basic:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#2322] / [Intel XE#7372]) +5 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-prefetch:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#8374]) +7 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-prefetch.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-close-fd:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#8364]) +13 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@xe_exec_reset@multi-queue-long-spin-many-queue-switch:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#8369])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#8378]) +3 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race.html
* igt@xe_module_load@many-reload:
- shard-bmg: [PASS][45] -> [ABORT][46] ([Intel XE#8007]) +5 other tests abort
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-7/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-3/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-latency-copy-basic:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#6964]) +2 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-9/igt@[email protected]
* igt@xe_non_msix@walker-interrupt-notification-non-msix:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#7622])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@xe_page_reclaim@binds-full-pd:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#7793])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@xe_pat@l2-flush-opt-svm-pat-restrict:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#7590])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
* igt@xe_pm@s2idle-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2284] / [Intel XE#7370])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@xe_pxp@pxp-stale-bo-exec-post-rpm:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-10/igt@[email protected]
* igt@xe_query@multigpu-query-uc-fw-version-huc:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#944]) +2 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-5/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-bmg: [FAIL][54] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][55] +1 other test pass
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-10/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip@pipe-a-dp-2:
- shard-bmg: [FAIL][56] ([Intel XE#6078]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-10/igt@kms_async_flips@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@kms_async_flips@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [FAIL][58] ([Intel XE#301]) -> [PASS][59] +2 other tests pass
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-lnl-8/igt@kms_flip@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-lnl-7/igt@kms_flip@[email protected]
* igt@kms_plane@pixel-format-x-tiled-modifier@pipe-a-plane-0:
- shard-bmg: [ABORT][60] ([Intel XE#8007]) -> [PASS][61] +2 other tests pass
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-10/igt@kms_plane@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-8/igt@kms_plane@[email protected]
#### Warnings ####
* igt@intel_hwmon@hwmon-write:
- shard-bmg: [FAIL][62] -> [FAIL][63] ([Intel XE#8583])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc/shard-bmg-1/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/shard-bmg-2/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2450]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2450
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5408
[Intel XE#5857]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5857
[Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7622]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7622
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#8583]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8583
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc -> xe-pw-168424v8
IGT_8997: 8997
xe-5379-e6db87755f42426899dd6ca45f97eb1b98e2f9fc: e6db87755f42426899dd6ca45f97eb1b98e2f9fc
xe-pw-168424v8: 168424v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168424v8/index.html