* [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction
@ 2026-06-10 12:09 Arvind Yadav
2026-06-10 12:16 ` ✓ CI.KUnit: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Arvind Yadav @ 2026-06-10 12:09 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, himal.prasad.ghimiray, thomas.hellstrom,
rodrigo.vivi, tejas.upadhyay
GuC exec queue destruction can run on xe->destroy_wq. During queue
cleanup, xe_exec_queue_fini() can drop the last reference to objects
which eventually release the DRM device and run drmm cleanup actions.
guc_submit_sw_fini(), registered as a drmm action, drains
xe->destroy_wq. If the final drm_dev_put() happens from an
xe->destroy_wq worker, teardown can try to drain the same workqueue
the current worker is running on, causing a self-deadlock.
Fix this by taking an extra drm_device reference across async exec queue
cleanup and dropping it from system_dfl_wq. The deferred put work is
preallocated during queue init, so the destroy path does not need a
failing or nofail allocation.
This keeps the final drm_dev_put() out of xe->destroy_wq while preserving
exec queue teardown ordering.
v2:
- rebase
Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
---
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 3 +
drivers/gpu/drm/xe/xe_guc_submit.c | 62 ++++++++++++++++++--
2 files changed, 59 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
index e5e53b421f29..b5dfc9c9092d 100644
--- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
@@ -13,6 +13,7 @@
struct dma_fence;
struct xe_exec_queue;
+struct xe_drm_dev_put_work;
/**
* struct xe_guc_exec_queue - GuC specific state for an xe_exec_queue
@@ -35,6 +36,8 @@ struct xe_guc_exec_queue {
struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE];
/** @destroy_async: do final destroy async from this worker */
struct work_struct destroy_async;
+ /** @dev_put_work: deferred drm_dev_put worker to avoid self-deadlock */
+ struct xe_drm_dev_put_work *dev_put_work;
/** @resume_time: time of last resume */
u64 resume_time;
/** @state: GuC specific state for this xe_exec_queue */
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index b29cc08e6291..d1ae4339f375 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -10,6 +10,7 @@
#include <linux/circ_buf.h>
#include <linux/dma-fence-array.h>
+#include <drm/drm_drv.h>
#include <drm/drm_managed.h>
#include "abi/guc_actions_abi.h"
@@ -47,6 +48,11 @@
#define XE_GUC_EXEC_QUEUE_CGP_CONTEXT_ERROR_LEN 6
+struct xe_drm_dev_put_work {
+ struct work_struct work;
+ struct drm_device *drm;
+};
+
static int guc_submit_reset_prepare(struct xe_guc *guc);
static struct xe_guc *
@@ -1674,6 +1680,8 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
xe_sched_entity_fini(&ge->entity);
xe_sched_fini(&ge->sched);
+ kfree(ge->dev_put_work);
+
/*
* RCU free due sched being exported via DRM scheduler fences
* (timeline name).
@@ -1681,20 +1689,55 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q)
kfree_rcu(ge, rcu);
}
-static void __guc_exec_queue_destroy_async(struct work_struct *w)
+static void xe_drm_dev_put_work_func(struct work_struct *work)
{
- 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_drm_dev_put_work *put =
+ container_of(work, struct xe_drm_dev_put_work, work);
+
+ drm_dev_put(put->drm);
+ kfree(put);
+}
+
+static void guc_exec_queue_do_destroy(struct xe_exec_queue *q, bool defer_dev_put)
+{
+ 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;
+ struct xe_drm_dev_put_work *put_work = NULL;
- guard(xe_pm_runtime)(guc_to_xe(guc));
+ if (defer_dev_put) {
+ put_work = ge->dev_put_work;
+ ge->dev_put_work = NULL;
+
+ put_work->drm = drm;
+ INIT_WORK(&put_work->work, xe_drm_dev_put_work_func);
+
+ /*
+ * Avoid running the final drm_dev_put() from xe->destroy_wq,
+ * since guc_submit_sw_fini() drains that queue.
+ */
+ drm_dev_get(drm);
+ }
+
+ guard(xe_pm_runtime)(xe);
trace_xe_exec_queue_destroy(q);
/* Confirm no work left behind accessing device structures */
cancel_delayed_work_sync(&ge->sched.base.work_tdr);
xe_exec_queue_fini(q);
+
+ if (put_work)
+ queue_work(system_dfl_wq, &put_work->work);
+}
+
+static void __guc_exec_queue_destroy_async(struct work_struct *w)
+{
+ struct xe_guc_exec_queue *ge =
+ container_of(w, struct xe_guc_exec_queue, destroy_async);
+
+ guc_exec_queue_do_destroy(ge->q, true);
}
static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
@@ -1706,7 +1749,7 @@ static void guc_exec_queue_destroy_async(struct xe_exec_queue *q)
/* We must block on kernel engines so slabs are empty on driver unload */
if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q))
- __guc_exec_queue_destroy_async(&q->guc->destroy_async);
+ guc_exec_queue_do_destroy(q, false);
else
queue_work(xe->destroy_wq, &q->guc->destroy_async);
}
@@ -1914,6 +1957,12 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
if (!ge)
return -ENOMEM;
+ ge->dev_put_work = kmalloc_obj(*ge->dev_put_work, GFP_KERNEL);
+ if (!ge->dev_put_work) {
+ kfree(ge);
+ return -ENOMEM;
+ }
+
q->guc = ge;
ge->q = q;
init_rcu_head(&ge->rcu);
@@ -1989,6 +2038,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
err_release_id:
release_guc_id(guc, q);
err_free:
+ kfree(ge->dev_put_work);
kfree(ge);
return err;
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* ✓ CI.KUnit: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) 2026-06-10 12:09 [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Arvind Yadav @ 2026-06-10 12:16 ` Patchwork 2026-06-10 12:54 ` ✓ Xe.CI.BAT: " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-06-10 12:16 UTC (permalink / raw) To: Arvind Yadav; +Cc: intel-xe == Series Details == Series: drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) URL : https://patchwork.freedesktop.org/series/167264/ State : success == Summary == + trap cleanup EXIT + /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [12:15:21] Configuring KUnit Kernel ... Generating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [12:15:26] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [12:15:57] Starting KUnit Kernel (1/1)... [12:15:57] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:15:57] ================== guc_buf (11 subtests) =================== [12:15:57] [PASSED] test_smallest [12:15:57] [PASSED] test_largest [12:15:57] [PASSED] test_granular [12:15:57] [PASSED] test_unique [12:15:57] [PASSED] test_overlap [12:15:57] [PASSED] test_reusable [12:15:57] [PASSED] test_too_big [12:15:57] [PASSED] test_flush [12:15:57] [PASSED] test_lookup [12:15:57] [PASSED] test_data [12:15:57] [PASSED] test_class [12:15:57] ===================== [PASSED] guc_buf ===================== [12:15:57] =================== guc_dbm (7 subtests) =================== [12:15:57] [PASSED] test_empty [12:15:57] [PASSED] test_default [12:15:57] ======================== test_size ======================== [12:15:57] [PASSED] 4 [12:15:57] [PASSED] 8 [12:15:57] [PASSED] 32 [12:15:57] [PASSED] 256 [12:15:57] ==================== [PASSED] test_size ==================== [12:15:57] ======================= test_reuse ======================== [12:15:57] [PASSED] 4 [12:15:57] [PASSED] 8 [12:15:57] [PASSED] 32 [12:15:57] [PASSED] 256 [12:15:57] =================== [PASSED] test_reuse ==================== [12:15:57] =================== test_range_overlap ==================== [12:15:57] [PASSED] 4 [12:15:57] [PASSED] 8 [12:15:57] [PASSED] 32 [12:15:57] [PASSED] 256 [12:15:57] =============== [PASSED] test_range_overlap ================ [12:15:57] =================== test_range_compact ==================== [12:15:57] [PASSED] 4 [12:15:57] [PASSED] 8 [12:15:57] [PASSED] 32 [12:15:57] [PASSED] 256 [12:15:57] =============== [PASSED] test_range_compact ================ [12:15:57] ==================== test_range_spare ===================== [12:15:57] [PASSED] 4 [12:15:57] [PASSED] 8 [12:15:57] [PASSED] 32 [12:15:57] [PASSED] 256 [12:15:57] ================ [PASSED] test_range_spare ================= [12:15:57] ===================== [PASSED] guc_dbm ===================== [12:15:57] =================== guc_idm (6 subtests) =================== [12:15:57] [PASSED] bad_init [12:15:57] [PASSED] no_init [12:15:57] [PASSED] init_fini [12:15:57] [PASSED] check_used [12:15:57] [PASSED] check_quota [12:15:57] [PASSED] check_all [12:15:57] ===================== [PASSED] guc_idm ===================== [12:15:57] ================== no_relay (3 subtests) =================== [12:15:57] [PASSED] xe_drops_guc2pf_if_not_ready [12:15:57] [PASSED] xe_drops_guc2vf_if_not_ready [12:15:57] [PASSED] xe_rejects_send_if_not_ready [12:15:57] ==================== [PASSED] no_relay ===================== [12:15:57] ================== pf_relay (14 subtests) ================== [12:15:57] [PASSED] pf_rejects_guc2pf_too_short [12:15:57] [PASSED] pf_rejects_guc2pf_too_long [12:15:57] [PASSED] pf_rejects_guc2pf_no_payload [12:15:57] [PASSED] pf_fails_no_payload [12:15:57] [PASSED] pf_fails_bad_origin [12:15:57] [PASSED] pf_fails_bad_type [12:15:57] [PASSED] pf_txn_reports_error [12:15:57] [PASSED] pf_txn_sends_pf2guc [12:15:57] [PASSED] pf_sends_pf2guc [12:15:57] [SKIPPED] pf_loopback_nop [12:15:57] [SKIPPED] pf_loopback_echo [12:15:57] [SKIPPED] pf_loopback_fail [12:15:57] [SKIPPED] pf_loopback_busy [12:15:57] [SKIPPED] pf_loopback_retry [12:15:57] ==================== [PASSED] pf_relay ===================== [12:15:57] ================== vf_relay (3 subtests) =================== [12:15:57] [PASSED] vf_rejects_guc2vf_too_short [12:15:57] [PASSED] vf_rejects_guc2vf_too_long [12:15:57] [PASSED] vf_rejects_guc2vf_no_payload [12:15:57] ==================== [PASSED] vf_relay ===================== [12:15:57] ================ pf_gt_config (9 subtests) ================= [12:15:57] [PASSED] fair_contexts_1vf [12:15:57] [PASSED] fair_doorbells_1vf [12:15:57] [PASSED] fair_ggtt_1vf [12:15:57] ====================== fair_vram_1vf ====================== [12:15:57] [PASSED] 3.50 GiB [12:15:57] [PASSED] 11.5 GiB [12:15:57] [PASSED] 15.5 GiB [12:15:57] [PASSED] 31.5 GiB [12:15:57] [PASSED] 63.5 GiB [12:15:57] [PASSED] 1.91 GiB [12:15:57] ================== [PASSED] fair_vram_1vf ================== [12:15:57] ================ fair_vram_1vf_admin_only ================= [12:15:57] [PASSED] 3.50 GiB [12:15:57] [PASSED] 11.5 GiB [12:15:57] [PASSED] 15.5 GiB [12:15:57] [PASSED] 31.5 GiB [12:15:57] [PASSED] 63.5 GiB [12:15:57] [PASSED] 1.91 GiB [12:15:57] ============ [PASSED] fair_vram_1vf_admin_only ============= [12:15:57] ====================== fair_contexts ====================== [12:15:57] [PASSED] 1 VF [12:15:57] [PASSED] 2 VFs [12:15:57] [PASSED] 3 VFs [12:15:57] [PASSED] 4 VFs [12:15:57] [PASSED] 5 VFs [12:15:57] [PASSED] 6 VFs [12:15:57] [PASSED] 7 VFs [12:15:57] [PASSED] 8 VFs [12:15:57] [PASSED] 9 VFs [12:15:57] [PASSED] 10 VFs [12:15:57] [PASSED] 11 VFs [12:15:57] [PASSED] 12 VFs [12:15:57] [PASSED] 13 VFs [12:15:57] [PASSED] 14 VFs [12:15:57] [PASSED] 15 VFs [12:15:57] [PASSED] 16 VFs [12:15:57] [PASSED] 17 VFs [12:15:57] [PASSED] 18 VFs [12:15:57] [PASSED] 19 VFs [12:15:57] [PASSED] 20 VFs [12:15:57] [PASSED] 21 VFs [12:15:57] [PASSED] 22 VFs [12:15:57] [PASSED] 23 VFs [12:15:57] [PASSED] 24 VFs [12:15:57] [PASSED] 25 VFs [12:15:57] [PASSED] 26 VFs [12:15:57] [PASSED] 27 VFs [12:15:57] [PASSED] 28 VFs [12:15:57] [PASSED] 29 VFs [12:15:57] [PASSED] 30 VFs [12:15:57] [PASSED] 31 VFs [12:15:57] [PASSED] 32 VFs [12:15:57] [PASSED] 33 VFs [12:15:57] [PASSED] 34 VFs [12:15:57] [PASSED] 35 VFs [12:15:57] [PASSED] 36 VFs [12:15:57] [PASSED] 37 VFs [12:15:57] [PASSED] 38 VFs [12:15:57] [PASSED] 39 VFs [12:15:57] [PASSED] 40 VFs [12:15:57] [PASSED] 41 VFs [12:15:57] [PASSED] 42 VFs [12:15:57] [PASSED] 43 VFs [12:15:57] [PASSED] 44 VFs [12:15:57] [PASSED] 45 VFs [12:15:57] [PASSED] 46 VFs [12:15:57] [PASSED] 47 VFs [12:15:57] [PASSED] 48 VFs [12:15:57] [PASSED] 49 VFs [12:15:57] [PASSED] 50 VFs [12:15:57] [PASSED] 51 VFs [12:15:57] [PASSED] 52 VFs [12:15:57] [PASSED] 53 VFs [12:15:57] [PASSED] 54 VFs [12:15:57] [PASSED] 55 VFs [12:15:58] [PASSED] 56 VFs [12:15:58] [PASSED] 57 VFs [12:15:58] [PASSED] 58 VFs [12:15:58] [PASSED] 59 VFs [12:15:58] [PASSED] 60 VFs [12:15:58] [PASSED] 61 VFs [12:15:58] [PASSED] 62 VFs [12:15:58] [PASSED] 63 VFs [12:15:58] ================== [PASSED] fair_contexts ================== [12:15:58] ===================== fair_doorbells ====================== [12:15:58] [PASSED] 1 VF [12:15:58] [PASSED] 2 VFs [12:15:58] [PASSED] 3 VFs [12:15:58] [PASSED] 4 VFs [12:15:58] [PASSED] 5 VFs [12:15:58] [PASSED] 6 VFs [12:15:58] [PASSED] 7 VFs [12:15:58] [PASSED] 8 VFs [12:15:58] [PASSED] 9 VFs [12:15:58] [PASSED] 10 VFs [12:15:58] [PASSED] 11 VFs [12:15:58] [PASSED] 12 VFs [12:15:58] [PASSED] 13 VFs [12:15:58] [PASSED] 14 VFs [12:15:58] [PASSED] 15 VFs [12:15:58] [PASSED] 16 VFs [12:15:58] [PASSED] 17 VFs [12:15:58] [PASSED] 18 VFs [12:15:58] [PASSED] 19 VFs [12:15:58] [PASSED] 20 VFs [12:15:58] [PASSED] 21 VFs [12:15:58] [PASSED] 22 VFs [12:15:58] [PASSED] 23 VFs [12:15:58] [PASSED] 24 VFs [12:15:58] [PASSED] 25 VFs [12:15:58] [PASSED] 26 VFs [12:15:58] [PASSED] 27 VFs [12:15:58] [PASSED] 28 VFs [12:15:58] [PASSED] 29 VFs [12:15:58] [PASSED] 30 VFs [12:15:58] [PASSED] 31 VFs [12:15:58] [PASSED] 32 VFs [12:15:58] [PASSED] 33 VFs [12:15:58] [PASSED] 34 VFs [12:15:58] [PASSED] 35 VFs [12:15:58] [PASSED] 36 VFs [12:15:58] [PASSED] 37 VFs [12:15:58] [PASSED] 38 VFs [12:15:58] [PASSED] 39 VFs [12:15:58] [PASSED] 40 VFs [12:15:58] [PASSED] 41 VFs [12:15:58] [PASSED] 42 VFs [12:15:58] [PASSED] 43 VFs [12:15:58] [PASSED] 44 VFs [12:15:58] [PASSED] 45 VFs [12:15:58] [PASSED] 46 VFs [12:15:58] [PASSED] 47 VFs [12:15:58] [PASSED] 48 VFs [12:15:58] [PASSED] 49 VFs [12:15:58] [PASSED] 50 VFs [12:15:58] [PASSED] 51 VFs [12:15:58] [PASSED] 52 VFs [12:15:58] [PASSED] 53 VFs [12:15:58] [PASSED] 54 VFs [12:15:58] [PASSED] 55 VFs [12:15:58] [PASSED] 56 VFs [12:15:58] [PASSED] 57 VFs [12:15:58] [PASSED] 58 VFs [12:15:58] [PASSED] 59 VFs [12:15:58] [PASSED] 60 VFs [12:15:58] [PASSED] 61 VFs [12:15:58] [PASSED] 62 VFs [12:15:58] [PASSED] 63 VFs [12:15:58] ================= [PASSED] fair_doorbells ================== [12:15:58] ======================== fair_ggtt ======================== [12:15:58] [PASSED] 1 VF [12:15:58] [PASSED] 2 VFs [12:15:58] [PASSED] 3 VFs [12:15:58] [PASSED] 4 VFs [12:15:58] [PASSED] 5 VFs [12:15:58] [PASSED] 6 VFs [12:15:58] [PASSED] 7 VFs [12:15:58] [PASSED] 8 VFs [12:15:58] [PASSED] 9 VFs [12:15:58] [PASSED] 10 VFs [12:15:58] [PASSED] 11 VFs [12:15:58] [PASSED] 12 VFs [12:15:58] [PASSED] 13 VFs [12:15:58] [PASSED] 14 VFs [12:15:58] [PASSED] 15 VFs [12:15:58] [PASSED] 16 VFs [12:15:58] [PASSED] 17 VFs [12:15:58] [PASSED] 18 VFs [12:15:58] [PASSED] 19 VFs [12:15:58] [PASSED] 20 VFs [12:15:58] [PASSED] 21 VFs [12:15:58] [PASSED] 22 VFs [12:15:58] [PASSED] 23 VFs [12:15:58] [PASSED] 24 VFs [12:15:58] [PASSED] 25 VFs [12:15:58] [PASSED] 26 VFs [12:15:58] [PASSED] 27 VFs [12:15:58] [PASSED] 28 VFs [12:15:58] [PASSED] 29 VFs [12:15:58] [PASSED] 30 VFs [12:15:58] [PASSED] 31 VFs [12:15:58] [PASSED] 32 VFs [12:15:58] [PASSED] 33 VFs [12:15:58] [PASSED] 34 VFs [12:15:58] [PASSED] 35 VFs [12:15:58] [PASSED] 36 VFs [12:15:58] [PASSED] 37 VFs [12:15:58] [PASSED] 38 VFs [12:15:58] [PASSED] 39 VFs [12:15:58] [PASSED] 40 VFs [12:15:58] [PASSED] 41 VFs [12:15:58] [PASSED] 42 VFs [12:15:58] [PASSED] 43 VFs [12:15:58] [PASSED] 44 VFs [12:15:58] [PASSED] 45 VFs [12:15:58] [PASSED] 46 VFs [12:15:58] [PASSED] 47 VFs [12:15:58] [PASSED] 48 VFs [12:15:58] [PASSED] 49 VFs [12:15:58] [PASSED] 50 VFs [12:15:58] [PASSED] 51 VFs [12:15:58] [PASSED] 52 VFs [12:15:58] [PASSED] 53 VFs [12:15:58] [PASSED] 54 VFs [12:15:58] [PASSED] 55 VFs [12:15:58] [PASSED] 56 VFs [12:15:58] [PASSED] 57 VFs [12:15:58] [PASSED] 58 VFs [12:15:58] [PASSED] 59 VFs [12:15:58] [PASSED] 60 VFs [12:15:58] [PASSED] 61 VFs [12:15:58] [PASSED] 62 VFs [12:15:58] [PASSED] 63 VFs [12:15:58] ==================== [PASSED] fair_ggtt ==================== [12:15:58] ======================== fair_vram ======================== [12:15:58] [PASSED] 1 VF [12:15:58] [PASSED] 2 VFs [12:15:58] [PASSED] 3 VFs [12:15:58] [PASSED] 4 VFs [12:15:58] [PASSED] 5 VFs [12:15:58] [PASSED] 6 VFs [12:15:58] [PASSED] 7 VFs [12:15:58] [PASSED] 8 VFs [12:15:58] [PASSED] 9 VFs [12:15:58] [PASSED] 10 VFs [12:15:58] [PASSED] 11 VFs [12:15:58] [PASSED] 12 VFs [12:15:58] [PASSED] 13 VFs [12:15:58] [PASSED] 14 VFs [12:15:58] [PASSED] 15 VFs [12:15:58] [PASSED] 16 VFs [12:15:58] [PASSED] 17 VFs [12:15:58] [PASSED] 18 VFs [12:15:58] [PASSED] 19 VFs [12:15:58] [PASSED] 20 VFs [12:15:58] [PASSED] 21 VFs [12:15:58] [PASSED] 22 VFs [12:15:58] [PASSED] 23 VFs [12:15:58] [PASSED] 24 VFs [12:15:58] [PASSED] 25 VFs [12:15:58] [PASSED] 26 VFs [12:15:58] [PASSED] 27 VFs [12:15:58] [PASSED] 28 VFs [12:15:58] [PASSED] 29 VFs [12:15:58] [PASSED] 30 VFs [12:15:58] [PASSED] 31 VFs [12:15:58] [PASSED] 32 VFs [12:15:58] [PASSED] 33 VFs [12:15:58] [PASSED] 34 VFs [12:15:58] [PASSED] 35 VFs [12:15:58] [PASSED] 36 VFs [12:15:58] [PASSED] 37 VFs [12:15:58] [PASSED] 38 VFs [12:15:58] [PASSED] 39 VFs [12:15:58] [PASSED] 40 VFs [12:15:58] [PASSED] 41 VFs [12:15:58] [PASSED] 42 VFs [12:15:58] [PASSED] 43 VFs [12:15:58] [PASSED] 44 VFs [12:15:58] [PASSED] 45 VFs [12:15:58] [PASSED] 46 VFs [12:15:58] [PASSED] 47 VFs [12:15:58] [PASSED] 48 VFs [12:15:58] [PASSED] 49 VFs [12:15:58] [PASSED] 50 VFs [12:15:58] [PASSED] 51 VFs [12:15:58] [PASSED] 52 VFs [12:15:58] [PASSED] 53 VFs [12:15:58] [PASSED] 54 VFs [12:15:58] [PASSED] 55 VFs [12:15:58] [PASSED] 56 VFs [12:15:58] [PASSED] 57 VFs [12:15:58] [PASSED] 58 VFs [12:15:58] [PASSED] 59 VFs [12:15:58] [PASSED] 60 VFs [12:15:58] [PASSED] 61 VFs [12:15:58] [PASSED] 62 VFs [12:15:58] [PASSED] 63 VFs [12:15:58] ==================== [PASSED] fair_vram ==================== [12:15:58] ================== [PASSED] pf_gt_config =================== [12:15:58] ===================== lmtt (1 subtest) ===================== [12:15:58] ======================== test_ops ========================= [12:15:58] [PASSED] 2-level [12:15:58] [PASSED] multi-level [12:15:58] ==================== [PASSED] test_ops ===================== [12:15:58] ====================== [PASSED] lmtt ======================= [12:15:58] ================= pf_service (11 subtests) ================= [12:15:58] [PASSED] pf_negotiate_any [12:15:58] [PASSED] pf_negotiate_base_match [12:15:58] [PASSED] pf_negotiate_base_newer [12:15:58] [PASSED] pf_negotiate_base_next [12:15:58] [SKIPPED] pf_negotiate_base_older [12:15:58] [PASSED] pf_negotiate_base_prev [12:15:58] [PASSED] pf_negotiate_latest_match [12:15:58] [PASSED] pf_negotiate_latest_newer [12:15:58] [PASSED] pf_negotiate_latest_next [12:15:58] [SKIPPED] pf_negotiate_latest_older [12:15:58] [SKIPPED] pf_negotiate_latest_prev [12:15:58] =================== [PASSED] pf_service ==================== [12:15:58] ================= xe_guc_g2g (2 subtests) ================== [12:15:58] ============== xe_live_guc_g2g_kunit_default ============== [12:15:58] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [12:15:58] ============== xe_live_guc_g2g_kunit_allmem =============== [12:15:58] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [12:15:58] =================== [SKIPPED] xe_guc_g2g =================== [12:15:58] =================== xe_mocs (2 subtests) =================== [12:15:58] ================ xe_live_mocs_kernel_kunit ================ [12:15:58] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [12:15:58] ================ xe_live_mocs_reset_kunit ================= [12:15:58] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [12:15:58] ==================== [SKIPPED] xe_mocs ===================== [12:15:58] ================= xe_migrate (2 subtests) ================== [12:15:58] ================= xe_migrate_sanity_kunit ================= [12:15:58] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [12:15:58] ================== xe_validate_ccs_kunit ================== [12:15:58] ============= [SKIPPED] xe_validate_ccs_kunit ============== [12:15:58] =================== [SKIPPED] xe_migrate =================== [12:15:58] ================== xe_dma_buf (1 subtest) ================== [12:15:58] ==================== xe_dma_buf_kunit ===================== [12:15:58] ================ [SKIPPED] xe_dma_buf_kunit ================ [12:15:58] =================== [SKIPPED] xe_dma_buf =================== [12:15:58] ================= xe_bo_shrink (1 subtest) ================= [12:15:58] =================== xe_bo_shrink_kunit ==================== [12:15:58] =============== [SKIPPED] xe_bo_shrink_kunit =============== [12:15:58] ================== [SKIPPED] xe_bo_shrink ================== [12:15:58] ==================== xe_bo (2 subtests) ==================== [12:15:58] ================== xe_ccs_migrate_kunit =================== [12:15:58] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [12:15:58] ==================== xe_bo_evict_kunit ==================== [12:15:58] =============== [SKIPPED] xe_bo_evict_kunit ================ [12:15:58] ===================== [SKIPPED] xe_bo ====================== [12:15:58] ==================== args (13 subtests) ==================== [12:15:58] [PASSED] count_args_test [12:15:58] [PASSED] call_args_example [12:15:58] [PASSED] call_args_test [12:15:58] [PASSED] drop_first_arg_example [12:15:58] [PASSED] drop_first_arg_test [12:15:58] [PASSED] first_arg_example [12:15:58] [PASSED] first_arg_test [12:15:58] [PASSED] last_arg_example [12:15:58] [PASSED] last_arg_test [12:15:58] [PASSED] pick_arg_example [12:15:58] [PASSED] if_args_example [12:15:58] [PASSED] if_args_test [12:15:58] [PASSED] sep_comma_example [12:15:58] ====================== [PASSED] args ======================= [12:15:58] =================== xe_pci (3 subtests) ==================== [12:15:58] ==================== check_graphics_ip ==================== [12:15:58] [PASSED] 12.00 Xe_LP [12:15:58] [PASSED] 12.10 Xe_LP+ [12:15:58] [PASSED] 12.55 Xe_HPG [12:15:58] [PASSED] 12.60 Xe_HPC [12:15:58] [PASSED] 12.70 Xe_LPG [12:15:58] [PASSED] 12.71 Xe_LPG [12:15:58] [PASSED] 12.74 Xe_LPG+ [12:15:58] [PASSED] 20.01 Xe2_HPG [12:15:58] [PASSED] 20.02 Xe2_HPG [12:15:58] [PASSED] 20.04 Xe2_LPG [12:15:58] [PASSED] 30.00 Xe3_LPG [12:15:58] [PASSED] 30.01 Xe3_LPG [12:15:58] [PASSED] 30.03 Xe3_LPG [12:15:58] [PASSED] 30.04 Xe3_LPG [12:15:58] [PASSED] 30.05 Xe3_LPG [12:15:58] [PASSED] 35.10 Xe3p_LPG [12:15:58] [PASSED] 35.11 Xe3p_XPC [12:15:58] ================ [PASSED] check_graphics_ip ================ [12:15:58] ===================== check_media_ip ====================== [12:15:58] [PASSED] 12.00 Xe_M [12:15:58] [PASSED] 12.55 Xe_HPM [12:15:58] [PASSED] 13.00 Xe_LPM+ [12:15:58] [PASSED] 13.01 Xe2_HPM [12:15:58] [PASSED] 20.00 Xe2_LPM [12:15:58] [PASSED] 30.00 Xe3_LPM [12:15:58] [PASSED] 30.02 Xe3_LPM [12:15:58] [PASSED] 35.00 Xe3p_LPM [12:15:58] [PASSED] 35.03 Xe3p_HPM [12:15:58] ================= [PASSED] check_media_ip ================== [12:15:58] =================== check_platform_desc =================== [12:15:58] [PASSED] 0x9A60 (TIGERLAKE) [12:15:58] [PASSED] 0x9A68 (TIGERLAKE) [12:15:58] [PASSED] 0x9A70 (TIGERLAKE) [12:15:58] [PASSED] 0x9A40 (TIGERLAKE) [12:15:58] [PASSED] 0x9A49 (TIGERLAKE) [12:15:58] [PASSED] 0x9A59 (TIGERLAKE) [12:15:58] [PASSED] 0x9A78 (TIGERLAKE) [12:15:58] [PASSED] 0x9AC0 (TIGERLAKE) [12:15:58] [PASSED] 0x9AC9 (TIGERLAKE) [12:15:58] [PASSED] 0x9AD9 (TIGERLAKE) [12:15:58] [PASSED] 0x9AF8 (TIGERLAKE) [12:15:58] [PASSED] 0x4C80 (ROCKETLAKE) [12:15:58] [PASSED] 0x4C8A (ROCKETLAKE) [12:15:58] [PASSED] 0x4C8B (ROCKETLAKE) [12:15:58] [PASSED] 0x4C8C (ROCKETLAKE) [12:15:58] [PASSED] 0x4C90 (ROCKETLAKE) [12:15:58] [PASSED] 0x4C9A (ROCKETLAKE) [12:15:58] [PASSED] 0x4680 (ALDERLAKE_S) [12:15:58] [PASSED] 0x4682 (ALDERLAKE_S) [12:15:58] [PASSED] 0x4688 (ALDERLAKE_S) [12:15:58] [PASSED] 0x468A (ALDERLAKE_S) [12:15:58] [PASSED] 0x468B (ALDERLAKE_S) [12:15:58] [PASSED] 0x4690 (ALDERLAKE_S) [12:15:58] [PASSED] 0x4692 (ALDERLAKE_S) [12:15:58] [PASSED] 0x4693 (ALDERLAKE_S) [12:15:58] [PASSED] 0x46A0 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46A1 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46A2 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46A3 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46A6 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46A8 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46AA (ALDERLAKE_P) [12:15:58] [PASSED] 0x462A (ALDERLAKE_P) [12:15:58] [PASSED] 0x4626 (ALDERLAKE_P) [12:15:58] [PASSED] 0x4628 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46B0 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46B1 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46B2 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46B3 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46C0 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46C1 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46C2 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46C3 (ALDERLAKE_P) [12:15:58] [PASSED] 0x46D0 (ALDERLAKE_N) [12:15:58] [PASSED] 0x46D1 (ALDERLAKE_N) [12:15:58] [PASSED] 0x46D2 (ALDERLAKE_N) [12:15:58] [PASSED] 0x46D3 (ALDERLAKE_N) [12:15:58] [PASSED] 0x46D4 (ALDERLAKE_N) [12:15:58] [PASSED] 0xA721 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7A1 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7A9 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7AC (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7AD (ALDERLAKE_P) [12:15:58] [PASSED] 0xA720 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7A0 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7A8 (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7AA (ALDERLAKE_P) [12:15:58] [PASSED] 0xA7AB (ALDERLAKE_P) [12:15:58] [PASSED] 0xA780 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA781 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA782 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA783 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA788 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA789 (ALDERLAKE_S) [12:15:58] [PASSED] 0xA78A (ALDERLAKE_S) [12:15:58] [PASSED] 0xA78B (ALDERLAKE_S) [12:15:58] [PASSED] 0x4905 (DG1) [12:15:58] [PASSED] 0x4906 (DG1) [12:15:58] [PASSED] 0x4907 (DG1) [12:15:58] [PASSED] 0x4908 (DG1) [12:15:58] [PASSED] 0x4909 (DG1) [12:15:58] [PASSED] 0x56C0 (DG2) [12:15:58] [PASSED] 0x56C2 (DG2) [12:15:58] [PASSED] 0x56C1 (DG2) [12:15:58] [PASSED] 0x7D51 (METEORLAKE) [12:15:58] [PASSED] 0x7DD1 (METEORLAKE) [12:15:58] [PASSED] 0x7D41 (METEORLAKE) [12:15:58] [PASSED] 0x7D67 (METEORLAKE) [12:15:58] [PASSED] 0xB640 (METEORLAKE) [12:15:58] [PASSED] 0x56A0 (DG2) [12:15:58] [PASSED] 0x56A1 (DG2) [12:15:58] [PASSED] 0x56A2 (DG2) [12:15:58] [PASSED] 0x56BE (DG2) [12:15:58] [PASSED] 0x56BF (DG2) [12:15:58] [PASSED] 0x5690 (DG2) [12:15:58] [PASSED] 0x5691 (DG2) [12:15:58] [PASSED] 0x5692 (DG2) [12:15:58] [PASSED] 0x56A5 (DG2) [12:15:58] [PASSED] 0x56A6 (DG2) [12:15:58] [PASSED] 0x56B0 (DG2) [12:15:58] [PASSED] 0x56B1 (DG2) [12:15:58] [PASSED] 0x56BA (DG2) [12:15:58] [PASSED] 0x56BB (DG2) [12:15:58] [PASSED] 0x56BC (DG2) [12:15:58] [PASSED] 0x56BD (DG2) [12:15:58] [PASSED] 0x5693 (DG2) [12:15:58] [PASSED] 0x5694 (DG2) [12:15:58] [PASSED] 0x5695 (DG2) [12:15:58] [PASSED] 0x56A3 (DG2) [12:15:58] [PASSED] 0x56A4 (DG2) [12:15:58] [PASSED] 0x56B2 (DG2) [12:15:58] [PASSED] 0x56B3 (DG2) [12:15:58] [PASSED] 0x5696 (DG2) [12:15:58] [PASSED] 0x5697 (DG2) [12:15:58] [PASSED] 0xB69 (PVC) [12:15:58] [PASSED] 0xB6E (PVC) [12:15:58] [PASSED] 0xBD4 (PVC) [12:15:58] [PASSED] 0xBD5 (PVC) [12:15:58] [PASSED] 0xBD6 (PVC) [12:15:58] [PASSED] 0xBD7 (PVC) [12:15:58] [PASSED] 0xBD8 (PVC) [12:15:58] [PASSED] 0xBD9 (PVC) [12:15:58] [PASSED] 0xBDA (PVC) [12:15:58] [PASSED] 0xBDB (PVC) [12:15:58] [PASSED] 0xBE0 (PVC) [12:15:58] [PASSED] 0xBE1 (PVC) [12:15:58] [PASSED] 0xBE5 (PVC) [12:15:58] [PASSED] 0x7D40 (METEORLAKE) [12:15:58] [PASSED] 0x7D45 (METEORLAKE) [12:15:58] [PASSED] 0x7D55 (METEORLAKE) [12:15:58] [PASSED] 0x7D60 (METEORLAKE) [12:15:58] [PASSED] 0x7DD5 (METEORLAKE) [12:15:58] [PASSED] 0x6420 (LUNARLAKE) [12:15:58] [PASSED] 0x64A0 (LUNARLAKE) [12:15:58] [PASSED] 0x64B0 (LUNARLAKE) [12:15:58] [PASSED] 0xE202 (BATTLEMAGE) [12:15:58] [PASSED] 0xE209 (BATTLEMAGE) [12:15:58] [PASSED] 0xE20B (BATTLEMAGE) [12:15:58] [PASSED] 0xE20C (BATTLEMAGE) [12:15:58] [PASSED] 0xE20D (BATTLEMAGE) [12:15:58] [PASSED] 0xE210 (BATTLEMAGE) [12:15:58] [PASSED] 0xE211 (BATTLEMAGE) [12:15:58] [PASSED] 0xE212 (BATTLEMAGE) [12:15:58] [PASSED] 0xE216 (BATTLEMAGE) [12:15:58] [PASSED] 0xE220 (BATTLEMAGE) [12:15:58] [PASSED] 0xE221 (BATTLEMAGE) [12:15:58] [PASSED] 0xE222 (BATTLEMAGE) [12:15:58] [PASSED] 0xE223 (BATTLEMAGE) [12:15:58] [PASSED] 0xB080 (PANTHERLAKE) [12:15:58] [PASSED] 0xB081 (PANTHERLAKE) [12:15:58] [PASSED] 0xB082 (PANTHERLAKE) [12:15:58] [PASSED] 0xB083 (PANTHERLAKE) [12:15:58] [PASSED] 0xB084 (PANTHERLAKE) [12:15:58] [PASSED] 0xB085 (PANTHERLAKE) [12:15:58] [PASSED] 0xB086 (PANTHERLAKE) [12:15:58] [PASSED] 0xB087 (PANTHERLAKE) [12:15:58] [PASSED] 0xB08F (PANTHERLAKE) [12:15:58] [PASSED] 0xB090 (PANTHERLAKE) [12:15:58] [PASSED] 0xB0A0 (PANTHERLAKE) [12:15:58] [PASSED] 0xB0B0 (PANTHERLAKE) [12:15:58] [PASSED] 0xFD80 (PANTHERLAKE) [12:15:58] [PASSED] 0xFD81 (PANTHERLAKE) [12:15:58] [PASSED] 0xD740 (NOVALAKE_S) [12:15:58] [PASSED] 0xD741 (NOVALAKE_S) [12:15:58] [PASSED] 0xD742 (NOVALAKE_S) [12:15:58] [PASSED] 0xD743 (NOVALAKE_S) [12:15:58] [PASSED] 0xD745 (NOVALAKE_S) [12:15:58] [PASSED] 0xD74A (NOVALAKE_S) [12:15:58] [PASSED] 0xD74B (NOVALAKE_S) [12:15:58] [PASSED] 0x674C (CRESCENTISLAND) [12:15:58] [PASSED] 0x674D (CRESCENTISLAND) [12:15:58] [PASSED] 0x674E (CRESCENTISLAND) [12:15:58] [PASSED] 0x674F (CRESCENTISLAND) [12:15:58] [PASSED] 0x6750 (CRESCENTISLAND) [12:15:58] [PASSED] 0xD750 (NOVALAKE_P) [12:15:58] [PASSED] 0xD751 (NOVALAKE_P) [12:15:58] [PASSED] 0xD752 (NOVALAKE_P) [12:15:58] [PASSED] 0xD753 (NOVALAKE_P) [12:15:58] [PASSED] 0xD754 (NOVALAKE_P) [12:15:58] [PASSED] 0xD755 (NOVALAKE_P) [12:15:58] [PASSED] 0xD756 (NOVALAKE_P) [12:15:58] [PASSED] 0xD757 (NOVALAKE_P) [12:15:58] [PASSED] 0xD75F (NOVALAKE_P) [12:15:58] =============== [PASSED] check_platform_desc =============== [12:15:58] ===================== [PASSED] xe_pci ====================== [12:15:58] ============= xe_rtp_tables_test (4 subtests) ============== [12:15:58] ================== xe_rtp_table_gt_test =================== [12:15:58] [PASSED] gt_was/14011060649 [12:15:58] [PASSED] gt_was/14011059788 [12:15:58] [PASSED] gt_was/14015795083 [12:15:58] [PASSED] gt_was/16021867713 [12:15:58] [PASSED] gt_was/14019449301 [12:15:58] [PASSED] gt_was/16028005424 [12:15:58] [PASSED] gt_was/14026578760 [12:15:58] [PASSED] gt_was/1409420604 [12:15:58] [PASSED] gt_was/1408615072 [12:15:58] [PASSED] gt_was/22010523718 [12:15:58] [PASSED] gt_was/14011006942 [12:15:58] [PASSED] gt_was/14014830051 [12:15:58] [PASSED] gt_was/18018781329 [12:15:58] [PASSED] gt_was/1509235366 [12:15:58] [PASSED] gt_was/18018781329 [12:15:58] [PASSED] gt_was/16016694945 [12:15:58] [PASSED] gt_was/14018575942 [12:15:58] [PASSED] gt_was/22016670082 [12:15:58] [PASSED] gt_was/22016670082 [12:15:58] [PASSED] gt_was/14017421178 [12:15:58] [PASSED] gt_was/16025250150 [12:15:58] [PASSED] gt_was/14021871409 [12:15:58] [PASSED] gt_was/16021865536 [12:15:58] [PASSED] gt_was/14021486841 [12:15:58] [PASSED] gt_was/14025160223 [12:15:58] [PASSED] gt_was/14026144927, 16029437861 [12:15:58] [PASSED] gt_was/14025635424 [12:15:58] [PASSED] gt_was/16028005424 [12:15:58] ============== [PASSED] xe_rtp_table_gt_test =============== [12:15:58] ================== xe_rtp_table_gt_test =================== [12:15:58] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [12:15:58] [PASSED] gt_tunings/Tuning: 32B Access Enable [12:15:58] [PASSED] gt_tunings/Tuning: L3 cache [12:15:58] [PASSED] gt_tunings/Tuning: L3 cache - media [12:15:58] [PASSED] gt_tunings/Tuning: Compression Overfetch [12:15:58] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [12:15:58] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [12:15:58] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [12:15:58] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [12:15:58] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [12:15:58] [PASSED] gt_tunings/Tuning: Stateless compression control [12:15:58] [PASSED] gt_tunings/Tuning: Stateless compression control - media [12:15:58] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [12:15:58] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [12:15:58] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [12:15:58] ============== [PASSED] xe_rtp_table_gt_test =============== [12:15:58] ================== xe_rtp_table_oob_test ================== [12:15:58] [PASSED] oob_was/1607983814 [12:15:58] [PASSED] oob_was/16010904313 [12:15:58] [PASSED] oob_was/18022495364 [12:15:58] [PASSED] oob_was/22012773006 [12:15:58] [PASSED] oob_was/14014475959 [12:15:58] [PASSED] oob_was/22011391025 [12:15:58] [PASSED] oob_was/22012727170 [12:15:58] [PASSED] oob_was/22012727685 [12:15:58] [PASSED] oob_was/22016596838 [12:15:58] [PASSED] oob_was/18020744125 [12:15:58] [PASSED] oob_was/1409600907 [12:15:58] [PASSED] oob_was/22014953428 [12:15:58] [PASSED] oob_was/16017236439 [12:15:58] [PASSED] oob_was/14019821291 [12:15:58] [PASSED] oob_was/14015076503 [12:15:58] [PASSED] oob_was/14018913170 [12:15:58] [PASSED] oob_was/14018094691 [12:15:58] [PASSED] oob_was/18024947630 [12:15:58] [PASSED] oob_was/16022287689 [12:15:58] [PASSED] oob_was/13011645652 [12:15:58] [PASSED] oob_was/14022293748 [12:15:58] [PASSED] oob_was/22019794406 [12:15:58] [PASSED] oob_was/22019338487 [12:15:58] [PASSED] oob_was/16023588340 [12:15:58] [PASSED] oob_was/14019789679 [12:15:58] [PASSED] oob_was/14022866841 [12:15:58] [PASSED] oob_was/16021333562 [12:15:58] [PASSED] oob_was/14016712196 [12:15:58] [PASSED] oob_was/14015568240 [12:15:58] [PASSED] oob_was/18013179988 [12:15:58] [PASSED] oob_was/1508761755 [12:15:58] [PASSED] oob_was/16023105232 [12:15:58] [PASSED] oob_was/16026508708 [12:15:58] [PASSED] oob_was/14020001231 [12:15:58] [PASSED] oob_was/16023683509 [12:15:58] [PASSED] oob_was/14025515070 [12:15:58] [PASSED] oob_was/15015404425_disable [12:15:58] [PASSED] oob_was/16026007364 [12:15:58] [PASSED] oob_was/14020316580 [12:15:58] [PASSED] oob_was/14025883347 [12:15:58] ============== [PASSED] xe_rtp_table_oob_test ============== [12:15:58] ================ xe_rtp_table_dev_oob_test ================ [12:15:58] [PASSED] device_oob_was/22010954014 [12:15:58] [PASSED] device_oob_was/15015404425 [12:15:58] [PASSED] device_oob_was/22019338487_display [12:15:58] [PASSED] device_oob_was/14022085890 [12:15:58] [PASSED] device_oob_was/14026539277 [12:15:58] [PASSED] device_oob_was/14026633728 [12:15:58] [PASSED] device_oob_was/14026746987 [12:15:58] [PASSED] device_oob_was/14026779378 [12:15:58] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [12:15:58] =============== [PASSED] xe_rtp_tables_test ================ [12:15:58] =================== xe_rtp (3 subtests) ==================== [12:15:58] =================== xe_rtp_rules_tests ==================== [12:15:58] [PASSED] no [12:15:58] [PASSED] yes [12:15:58] [PASSED] no-and-no [12:15:58] [PASSED] no-and-yes [12:15:58] [PASSED] yes-and-no [12:15:58] [PASSED] yes-and-yes [12:15:58] [PASSED] no-or-no [12:15:58] [PASSED] no-or-yes [12:15:58] [PASSED] yes-or-no [12:15:58] [PASSED] yes-or-yes [12:15:58] [PASSED] no-yes-or-yes-no [12:15:58] [PASSED] no-yes-or-yes-yes [12:15:58] [PASSED] yes-yes-or-no-yes [12:15:58] [PASSED] yes-yes-or-yes-yes [12:15:58] [PASSED] no-no-or-yes-or-no [12:15:58] [PASSED] or [12:15:58] [PASSED] or-yes [12:15:58] [PASSED] or-no [12:15:58] [PASSED] yes-or [12:15:58] [PASSED] no-or [12:15:58] [PASSED] no-or-or-yes [12:15:58] [PASSED] yes-or-or-no [12:15:58] [PASSED] no-or-or-no [12:15:58] [PASSED] missing-context-engine-class [12:15:58] [PASSED] missing-context-engine-class-or-yes [12:15:58] [PASSED] missing-context-engine-class-or-or-yes [12:15:58] =============== [PASSED] xe_rtp_rules_tests ================ [12:15:58] =============== xe_rtp_process_to_sr_tests ================ [12:15:58] [PASSED] coalesce-same-reg [12:15:58] [PASSED] no-match-no-add [12:15:58] [PASSED] two-regs-two-entries [12:15:58] [PASSED] clr-one-set-other [12:15:58] [PASSED] set-field [12:15:58] [PASSED] conflict-duplicate [12:15:58] [PASSED] conflict-not-disjoint [12:15:58] [PASSED] conflict-reg-type [12:15:58] [PASSED] bad-mcr-reg-forced-to-regular [12:15:58] [PASSED] bad-regular-reg-forced-to-mcr [12:15:58] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [12:15:58] ================== xe_rtp_process_tests =================== [12:15:58] [PASSED] active1 [12:15:58] [PASSED] active2 [12:15:58] [PASSED] active-inactive [12:15:58] [PASSED] inactive-active [12:15:58] [PASSED] inactive-active-inactive [12:15:58] [PASSED] inactive-inactive-inactive [12:15:58] ============== [PASSED] xe_rtp_process_tests =============== [12:15:58] ===================== [PASSED] xe_rtp ====================== [12:15:58] ==================== xe_wa (1 subtest) ===================== [12:15:58] ======================== xe_wa_gt ========================= [12:15:58] [PASSED] TIGERLAKE B0 [12:15:58] [PASSED] DG1 A0 [12:15:58] [PASSED] DG1 B0 [12:15:58] [PASSED] ALDERLAKE_S A0 [12:15:58] [PASSED] ALDERLAKE_S B0 [12:15:58] [PASSED] ALDERLAKE_S C0 [12:15:58] [PASSED] ALDERLAKE_S D0 [12:15:58] [PASSED] ALDERLAKE_P A0 [12:15:58] [PASSED] ALDERLAKE_P B0 [12:15:58] [PASSED] ALDERLAKE_P C0 [12:15:58] [PASSED] ALDERLAKE_S RPLS D0 [12:15:58] [PASSED] ALDERLAKE_P RPLU E0 [12:15:58] [PASSED] DG2 G10 C0 [12:15:58] [PASSED] DG2 G11 B1 [12:15:58] [PASSED] DG2 G12 A1 [12:15:58] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [12:15:58] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [12:15:58] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [12:15:58] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [12:15:58] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [12:15:58] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [12:15:58] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [12:15:58] ==================== [PASSED] xe_wa_gt ===================== [12:15:58] ====================== [PASSED] xe_wa ====================== [12:15:58] ============================================================ [12:15:58] Testing complete. Ran 716 tests: passed: 698, skipped: 18 [12:15:58] Elapsed time: 36.344s total, 4.382s configuring, 31.296s building, 0.645s running + /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [12:15:58] Configuring KUnit Kernel ... Regenerating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [12:16:00] 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 In file included from ../drivers/gpu/drm/tests/drm_bridge_test.c:21: ../drivers/gpu/drm/tests/drm_kunit_edid.h:958:28: warning: ‘test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz’ defined but not used [-Wunused-const-variable=] 958 | static const unsigned char test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:726:28: warning: ‘test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz’ defined but not used [-Wunused-const-variable=] 726 | static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:612:28: warning: ‘test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz’ defined but not used [-Wunused-const-variable=] 612 | static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:498:28: warning: ‘test_edid_hdmi_1080p_rgb_max_340mhz’ defined but not used [-Wunused-const-variable=] 498 | static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:390:28: warning: ‘test_edid_hdmi_1080p_rgb_max_200mhz_hdr’ defined but not used [-Wunused-const-variable=] 390 | static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz_hdr[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:271:28: warning: ‘test_edid_hdmi_1080p_rgb_max_200mhz’ defined but not used [-Wunused-const-variable=] 271 | static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:163:28: warning: ‘test_edid_hdmi_1080p_rgb_max_100mhz’ defined but not used [-Wunused-const-variable=] 163 | static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/tests/drm_kunit_edid.h:57:28: warning: ‘test_edid_dvi_1080p’ defined but not used [-Wunused-const-variable=] 57 | static const unsigned char test_edid_dvi_1080p[] = { | ^~~~~~~~~~~~~~~~~~~ [12:16:24] Starting KUnit Kernel (1/1)... [12:16:24] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:16:24] ============ drm_test_pick_cmdline (2 subtests) ============ [12:16:24] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [12:16:24] =============== drm_test_pick_cmdline_named =============== [12:16:24] [PASSED] NTSC [12:16:24] [PASSED] NTSC-J [12:16:24] [PASSED] PAL [12:16:24] [PASSED] PAL-M [12:16:24] =========== [PASSED] drm_test_pick_cmdline_named =========== [12:16:24] ============== [PASSED] drm_test_pick_cmdline ============== [12:16:24] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [12:16:24] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [12:16:24] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [12:16:24] =========== drm_validate_clone_mode (2 subtests) =========== [12:16:24] ============== drm_test_check_in_clone_mode =============== [12:16:24] [PASSED] in_clone_mode [12:16:24] [PASSED] not_in_clone_mode [12:16:24] ========== [PASSED] drm_test_check_in_clone_mode =========== [12:16:24] =============== drm_test_check_valid_clones =============== [12:16:24] [PASSED] not_in_clone_mode [12:16:24] [PASSED] valid_clone [12:16:24] [PASSED] invalid_clone [12:16:24] =========== [PASSED] drm_test_check_valid_clones =========== [12:16:24] ============= [PASSED] drm_validate_clone_mode ============= [12:16:24] ============= drm_validate_modeset (1 subtest) ============= [12:16:24] [PASSED] drm_test_check_connector_changed_modeset [12:16:24] ============== [PASSED] drm_validate_modeset =============== [12:16:24] ====== drm_test_bridge_get_current_state (2 subtests) ====== [12:16:24] [PASSED] drm_test_drm_bridge_get_current_state_atomic [12:16:24] [PASSED] drm_test_drm_bridge_get_current_state_legacy [12:16:24] ======== [PASSED] drm_test_bridge_get_current_state ======== [12:16:24] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [12:16:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [12:16:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [12:16:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [12:16:24] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [12:16:24] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [12:16:24] ============== drm_bridge_alloc (2 subtests) =============== [12:16:24] [PASSED] drm_test_drm_bridge_alloc_basic [12:16:24] [PASSED] drm_test_drm_bridge_alloc_get_put [12:16:24] ================ [PASSED] drm_bridge_alloc ================= [12:16:24] ============= drm_bridge_bus_fmt (5 subtests) ============== [12:16:24] [PASSED] drm_test_bridge_rgb_yuv_rgb [12:16:24] [PASSED] drm_test_bridge_must_convert_to_yuv444 [12:16:24] [PASSED] drm_test_bridge_hdmi_auto_rgb [12:16:24] [PASSED] drm_test_bridge_auto_first [12:16:24] [PASSED] drm_test_bridge_rgb_yuv_no_path [12:16:24] =============== [PASSED] drm_bridge_bus_fmt ================ [12:16:24] ============= drm_cmdline_parser (40 subtests) ============= [12:16:24] [PASSED] drm_test_cmdline_force_d_only [12:16:24] [PASSED] drm_test_cmdline_force_D_only_dvi [12:16:24] [PASSED] drm_test_cmdline_force_D_only_hdmi [12:16:24] [PASSED] drm_test_cmdline_force_D_only_not_digital [12:16:24] [PASSED] drm_test_cmdline_force_e_only [12:16:24] [PASSED] drm_test_cmdline_res [12:16:24] [PASSED] drm_test_cmdline_res_vesa [12:16:24] [PASSED] drm_test_cmdline_res_vesa_rblank [12:16:24] [PASSED] drm_test_cmdline_res_rblank [12:16:24] [PASSED] drm_test_cmdline_res_bpp [12:16:24] [PASSED] drm_test_cmdline_res_refresh [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [12:16:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [12:16:24] [PASSED] drm_test_cmdline_res_margins_force_on [12:16:24] [PASSED] drm_test_cmdline_res_vesa_margins [12:16:24] [PASSED] drm_test_cmdline_name [12:16:24] [PASSED] drm_test_cmdline_name_bpp [12:16:24] [PASSED] drm_test_cmdline_name_option [12:16:24] [PASSED] drm_test_cmdline_name_bpp_option [12:16:24] [PASSED] drm_test_cmdline_rotate_0 [12:16:24] [PASSED] drm_test_cmdline_rotate_90 [12:16:24] [PASSED] drm_test_cmdline_rotate_180 [12:16:24] [PASSED] drm_test_cmdline_rotate_270 [12:16:24] [PASSED] drm_test_cmdline_hmirror [12:16:24] [PASSED] drm_test_cmdline_vmirror [12:16:24] [PASSED] drm_test_cmdline_margin_options [12:16:24] [PASSED] drm_test_cmdline_multiple_options [12:16:24] [PASSED] drm_test_cmdline_bpp_extra_and_option [12:16:24] [PASSED] drm_test_cmdline_extra_and_option [12:16:24] [PASSED] drm_test_cmdline_freestanding_options [12:16:24] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [12:16:24] [PASSED] drm_test_cmdline_panel_orientation [12:16:24] ================ drm_test_cmdline_invalid ================= [12:16:24] [PASSED] margin_only [12:16:24] [PASSED] interlace_only [12:16:24] [PASSED] res_missing_x [12:16:24] [PASSED] res_missing_y [12:16:24] [PASSED] res_bad_y [12:16:24] [PASSED] res_missing_y_bpp [12:16:24] [PASSED] res_bad_bpp [12:16:24] [PASSED] res_bad_refresh [12:16:24] [PASSED] res_bpp_refresh_force_on_off [12:16:24] [PASSED] res_invalid_mode [12:16:24] [PASSED] res_bpp_wrong_place_mode [12:16:24] [PASSED] name_bpp_refresh [12:16:24] [PASSED] name_refresh [12:16:24] [PASSED] name_refresh_wrong_mode [12:16:24] [PASSED] name_refresh_invalid_mode [12:16:24] [PASSED] rotate_multiple [12:16:24] [PASSED] rotate_invalid_val [12:16:24] [PASSED] rotate_truncated [12:16:24] [PASSED] invalid_option [12:16:24] [PASSED] invalid_tv_option [12:16:24] [PASSED] truncated_tv_option [12:16:24] ============ [PASSED] drm_test_cmdline_invalid ============= [12:16:24] =============== drm_test_cmdline_tv_options =============== [12:16:24] [PASSED] NTSC [12:16:24] [PASSED] NTSC_443 [12:16:24] [PASSED] NTSC_J [12:16:24] [PASSED] PAL [12:16:24] [PASSED] PAL_M [12:16:24] [PASSED] PAL_N [12:16:24] [PASSED] SECAM [12:16:24] [PASSED] MONO_525 [12:16:24] [PASSED] MONO_625 [12:16:24] =========== [PASSED] drm_test_cmdline_tv_options =========== [12:16:24] =============== [PASSED] drm_cmdline_parser ================ [12:16:24] ========== drmm_connector_hdmi_init (20 subtests) ========== [12:16:24] [PASSED] drm_test_connector_hdmi_init_valid [12:16:24] [PASSED] drm_test_connector_hdmi_init_bpc_8 [12:16:24] [PASSED] drm_test_connector_hdmi_init_bpc_10 [12:16:24] [PASSED] drm_test_connector_hdmi_init_bpc_12 [12:16:24] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [12:16:24] [PASSED] drm_test_connector_hdmi_init_bpc_null [12:16:24] [PASSED] drm_test_connector_hdmi_init_formats_empty [12:16:24] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [12:16:24] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [12:16:24] [PASSED] supported_formats=0x9 yuv420_allowed=1 [12:16:24] [PASSED] supported_formats=0x9 yuv420_allowed=0 [12:16:24] [PASSED] supported_formats=0x5 yuv420_allowed=1 [12:16:24] [PASSED] supported_formats=0x5 yuv420_allowed=0 [12:16:24] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [12:16:24] [PASSED] drm_test_connector_hdmi_init_null_ddc [12:16:24] [PASSED] drm_test_connector_hdmi_init_null_product [12:16:24] [PASSED] drm_test_connector_hdmi_init_null_vendor [12:16:24] [PASSED] drm_test_connector_hdmi_init_product_length_exact [12:16:24] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [12:16:24] [PASSED] drm_test_connector_hdmi_init_product_valid [12:16:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [12:16:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [12:16:24] [PASSED] drm_test_connector_hdmi_init_vendor_valid [12:16:24] ========= drm_test_connector_hdmi_init_type_valid ========= [12:16:24] [PASSED] HDMI-A [12:16:24] [PASSED] HDMI-B [12:16:24] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [12:16:24] ======== drm_test_connector_hdmi_init_type_invalid ======== [12:16:24] [PASSED] Unknown [12:16:24] [PASSED] VGA [12:16:24] [PASSED] DVI-I [12:16:24] [PASSED] DVI-D [12:16:24] [PASSED] DVI-A [12:16:24] [PASSED] Composite [12:16:24] [PASSED] SVIDEO [12:16:24] [PASSED] LVDS [12:16:24] [PASSED] Component [12:16:24] [PASSED] DIN [12:16:24] [PASSED] DP [12:16:24] [PASSED] TV [12:16:24] [PASSED] eDP [12:16:24] [PASSED] Virtual [12:16:24] [PASSED] DSI [12:16:24] [PASSED] DPI [12:16:24] [PASSED] Writeback [12:16:24] [PASSED] SPI [12:16:24] [PASSED] USB [12:16:24] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [12:16:24] ============ [PASSED] drmm_connector_hdmi_init ============= [12:16:24] ============= drmm_connector_init (3 subtests) ============= [12:16:24] [PASSED] drm_test_drmm_connector_init [12:16:24] [PASSED] drm_test_drmm_connector_init_null_ddc [12:16:24] ========= drm_test_drmm_connector_init_type_valid ========= [12:16:24] [PASSED] Unknown [12:16:24] [PASSED] VGA [12:16:24] [PASSED] DVI-I [12:16:24] [PASSED] DVI-D [12:16:24] [PASSED] DVI-A [12:16:24] [PASSED] Composite [12:16:24] [PASSED] SVIDEO [12:16:24] [PASSED] LVDS [12:16:24] [PASSED] Component [12:16:24] [PASSED] DIN [12:16:24] [PASSED] DP [12:16:24] [PASSED] HDMI-A [12:16:24] [PASSED] HDMI-B [12:16:24] [PASSED] TV [12:16:24] [PASSED] eDP [12:16:24] [PASSED] Virtual [12:16:24] [PASSED] DSI [12:16:24] [PASSED] DPI [12:16:24] [PASSED] Writeback [12:16:24] [PASSED] SPI [12:16:24] [PASSED] USB [12:16:24] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [12:16:24] =============== [PASSED] drmm_connector_init =============== [12:16:24] ========= drm_connector_dynamic_init (6 subtests) ========== [12:16:24] [PASSED] drm_test_drm_connector_dynamic_init [12:16:24] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [12:16:24] [PASSED] drm_test_drm_connector_dynamic_init_not_added [12:16:24] [PASSED] drm_test_drm_connector_dynamic_init_properties [12:16:24] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [12:16:24] [PASSED] Unknown [12:16:24] [PASSED] VGA [12:16:24] [PASSED] DVI-I [12:16:24] [PASSED] DVI-D [12:16:24] [PASSED] DVI-A [12:16:24] [PASSED] Composite [12:16:24] [PASSED] SVIDEO [12:16:24] [PASSED] LVDS [12:16:24] [PASSED] Component [12:16:24] [PASSED] DIN [12:16:24] [PASSED] DP [12:16:24] [PASSED] HDMI-A [12:16:24] [PASSED] HDMI-B [12:16:24] [PASSED] TV [12:16:24] [PASSED] eDP [12:16:24] [PASSED] Virtual [12:16:24] [PASSED] DSI [12:16:24] [PASSED] DPI [12:16:24] [PASSED] Writeback [12:16:24] [PASSED] SPI [12:16:24] [PASSED] USB [12:16:24] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [12:16:24] ======== drm_test_drm_connector_dynamic_init_name ========= [12:16:24] [PASSED] Unknown [12:16:24] [PASSED] VGA [12:16:24] [PASSED] DVI-I [12:16:24] [PASSED] DVI-D [12:16:24] [PASSED] DVI-A [12:16:24] [PASSED] Composite [12:16:24] [PASSED] SVIDEO [12:16:24] [PASSED] LVDS [12:16:24] [PASSED] Component [12:16:24] [PASSED] DIN [12:16:24] [PASSED] DP [12:16:24] [PASSED] HDMI-A [12:16:24] [PASSED] HDMI-B [12:16:24] [PASSED] TV [12:16:24] [PASSED] eDP [12:16:24] [PASSED] Virtual [12:16:24] [PASSED] DSI [12:16:24] [PASSED] DPI [12:16:24] [PASSED] Writeback [12:16:24] [PASSED] SPI [12:16:24] [PASSED] USB [12:16:24] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [12:16:24] =========== [PASSED] drm_connector_dynamic_init ============ [12:16:24] ==== drm_connector_dynamic_register_early (4 subtests) ===== [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [12:16:24] ====== [PASSED] drm_connector_dynamic_register_early ======= [12:16:24] ======= drm_connector_dynamic_register (7 subtests) ======== [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_on_list [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_no_init [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [12:16:24] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [12:16:24] ========= [PASSED] drm_connector_dynamic_register ========== [12:16:24] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [12:16:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [12:16:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [12:16:24] === [PASSED] drm_connector_attach_broadcast_rgb_property === [12:16:24] ========== drm_get_tv_mode_from_name (2 subtests) ========== [12:16:24] ========== drm_test_get_tv_mode_from_name_valid =========== [12:16:24] [PASSED] NTSC [12:16:24] [PASSED] NTSC-443 [12:16:24] [PASSED] NTSC-J [12:16:24] [PASSED] PAL [12:16:24] [PASSED] PAL-M [12:16:24] [PASSED] PAL-N [12:16:24] [PASSED] SECAM [12:16:24] [PASSED] Mono [12:16:24] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [12:16:24] [PASSED] drm_test_get_tv_mode_from_name_truncated [12:16:24] ============ [PASSED] drm_get_tv_mode_from_name ============ [12:16:24] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [12:16:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [12:16:24] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [12:16:24] [PASSED] VIC 96 [12:16:24] [PASSED] VIC 97 [12:16:24] [PASSED] VIC 101 [12:16:24] [PASSED] VIC 102 [12:16:24] [PASSED] VIC 106 [12:16:24] [PASSED] VIC 107 [12:16:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [12:16:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [12:16:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [12:16:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [12:16:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [12:16:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [12:16:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [12:16:24] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [12:16:24] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [12:16:24] [PASSED] Automatic [12:16:24] [PASSED] Full [12:16:24] [PASSED] Limited 16:235 [12:16:24] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [12:16:24] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [12:16:24] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [12:16:24] == drm_hdmi_connector_get_output_format_name (2 subtests) == [12:16:24] === drm_test_drm_hdmi_connector_get_output_format_name ==== [12:16:24] [PASSED] RGB [12:16:24] [PASSED] YUV 4:2:0 [12:16:24] [PASSED] YUV 4:2:2 [12:16:24] [PASSED] YUV 4:4:4 [12:16:24] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [12:16:24] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [12:16:24] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [12:16:24] ============= drm_damage_helper (21 subtests) ============== [12:16:24] [PASSED] drm_test_damage_iter_no_damage [12:16:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src [12:16:24] [PASSED] drm_test_damage_iter_no_damage_src_moved [12:16:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [12:16:24] [PASSED] drm_test_damage_iter_no_damage_not_visible [12:16:24] [PASSED] drm_test_damage_iter_no_damage_no_crtc [12:16:24] [PASSED] drm_test_damage_iter_no_damage_no_fb [12:16:24] [PASSED] drm_test_damage_iter_simple_damage [12:16:24] [PASSED] drm_test_damage_iter_single_damage [12:16:24] [PASSED] drm_test_damage_iter_single_damage_intersect_src [12:16:24] [PASSED] drm_test_damage_iter_single_damage_outside_src [12:16:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src [12:16:24] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [12:16:24] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [12:16:24] [PASSED] drm_test_damage_iter_single_damage_src_moved [12:16:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [12:16:24] [PASSED] drm_test_damage_iter_damage [12:16:24] [PASSED] drm_test_damage_iter_damage_one_intersect [12:16:24] [PASSED] drm_test_damage_iter_damage_one_outside [12:16:24] [PASSED] drm_test_damage_iter_damage_src_moved [12:16:24] [PASSED] drm_test_damage_iter_damage_not_visible [12:16:24] ================ [PASSED] drm_damage_helper ================ [12:16:24] ============== drm_dp_mst_helper (3 subtests) ============== [12:16:24] ============== drm_test_dp_mst_calc_pbn_mode ============== [12:16:24] [PASSED] Clock 154000 BPP 30 DSC disabled [12:16:24] [PASSED] Clock 234000 BPP 30 DSC disabled [12:16:24] [PASSED] Clock 297000 BPP 24 DSC disabled [12:16:24] [PASSED] Clock 332880 BPP 24 DSC enabled [12:16:24] [PASSED] Clock 324540 BPP 24 DSC enabled [12:16:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [12:16:24] ============== drm_test_dp_mst_calc_pbn_div =============== [12:16:24] [PASSED] Link rate 2000000 lane count 4 [12:16:24] [PASSED] Link rate 2000000 lane count 2 [12:16:24] [PASSED] Link rate 2000000 lane count 1 [12:16:24] [PASSED] Link rate 1350000 lane count 4 [12:16:24] [PASSED] Link rate 1350000 lane count 2 [12:16:24] [PASSED] Link rate 1350000 lane count 1 [12:16:24] [PASSED] Link rate 1000000 lane count 4 [12:16:24] [PASSED] Link rate 1000000 lane count 2 [12:16:24] [PASSED] Link rate 1000000 lane count 1 [12:16:24] [PASSED] Link rate 810000 lane count 4 [12:16:24] [PASSED] Link rate 810000 lane count 2 [12:16:24] [PASSED] Link rate 810000 lane count 1 [12:16:24] [PASSED] Link rate 540000 lane count 4 [12:16:24] [PASSED] Link rate 540000 lane count 2 [12:16:24] [PASSED] Link rate 540000 lane count 1 [12:16:24] [PASSED] Link rate 270000 lane count 4 [12:16:24] [PASSED] Link rate 270000 lane count 2 [12:16:24] [PASSED] Link rate 270000 lane count 1 [12:16:24] [PASSED] Link rate 162000 lane count 4 [12:16:24] [PASSED] Link rate 162000 lane count 2 [12:16:24] [PASSED] Link rate 162000 lane count 1 [12:16:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [12:16:24] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [12:16:24] [PASSED] DP_ENUM_PATH_RESOURCES with port number [12:16:24] [PASSED] DP_POWER_UP_PHY with port number [12:16:24] [PASSED] DP_POWER_DOWN_PHY with port number [12:16:24] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [12:16:24] [PASSED] DP_ALLOCATE_PAYLOAD with port number [12:16:24] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [12:16:24] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [12:16:24] [PASSED] DP_QUERY_PAYLOAD with port number [12:16:24] [PASSED] DP_QUERY_PAYLOAD with VCPI [12:16:24] [PASSED] DP_REMOTE_DPCD_READ with port number [12:16:24] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [12:16:24] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [12:16:24] [PASSED] DP_REMOTE_DPCD_WRITE with port number [12:16:24] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [12:16:24] [PASSED] DP_REMOTE_DPCD_WRITE with data array [12:16:24] [PASSED] DP_REMOTE_I2C_READ with port number [12:16:24] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [12:16:24] [PASSED] DP_REMOTE_I2C_READ with transactions array [12:16:24] [PASSED] DP_REMOTE_I2C_WRITE with port number [12:16:24] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [12:16:24] [PASSED] DP_REMOTE_I2C_WRITE with data array [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [12:16:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [12:16:24] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [12:16:24] ================ [PASSED] drm_dp_mst_helper ================ [12:16:24] ================== drm_exec (7 subtests) =================== [12:16:24] [PASSED] sanitycheck [12:16:24] [PASSED] test_lock [12:16:24] [PASSED] test_lock_unlock [12:16:24] [PASSED] test_duplicates [12:16:24] [PASSED] test_prepare [12:16:24] [PASSED] test_prepare_array [12:16:24] [PASSED] test_multiple_loops [12:16:24] ==================== [PASSED] drm_exec ===================== [12:16:24] =========== drm_format_helper_test (17 subtests) =========== [12:16:24] ============== drm_test_fb_xrgb8888_to_gray8 ============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [12:16:24] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [12:16:24] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [12:16:24] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [12:16:24] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [12:16:24] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [12:16:24] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [12:16:24] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [12:16:24] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [12:16:24] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [12:16:24] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [12:16:24] ============== drm_test_fb_xrgb8888_to_mono =============== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [12:16:24] ==================== drm_test_fb_swab ===================== [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ================ [PASSED] drm_test_fb_swab ================= [12:16:24] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [12:16:24] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [12:16:24] [PASSED] single_pixel_source_buffer [12:16:24] [PASSED] single_pixel_clip_rectangle [12:16:24] [PASSED] well_known_colors [12:16:24] [PASSED] destination_pitch [12:16:24] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [12:16:24] ================= drm_test_fb_clip_offset ================= [12:16:24] [PASSED] pass through [12:16:24] [PASSED] horizontal offset [12:16:24] [PASSED] vertical offset [12:16:24] [PASSED] horizontal and vertical offset [12:16:24] [PASSED] horizontal offset (custom pitch) [12:16:24] [PASSED] vertical offset (custom pitch) [12:16:24] [PASSED] horizontal and vertical offset (custom pitch) [12:16:24] ============= [PASSED] drm_test_fb_clip_offset ============= [12:16:24] =================== drm_test_fb_memcpy ==================== [12:16:24] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [12:16:24] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [12:16:24] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [12:16:24] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [12:16:24] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [12:16:24] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [12:16:24] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [12:16:24] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [12:16:24] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [12:16:24] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [12:16:24] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [12:16:24] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [12:16:24] =============== [PASSED] drm_test_fb_memcpy ================ [12:16:24] ============= [PASSED] drm_format_helper_test ============== [12:16:24] ================= drm_format (18 subtests) ================= [12:16:24] [PASSED] drm_test_format_block_width_invalid [12:16:24] [PASSED] drm_test_format_block_width_one_plane [12:16:24] [PASSED] drm_test_format_block_width_two_plane [12:16:24] [PASSED] drm_test_format_block_width_three_plane [12:16:24] [PASSED] drm_test_format_block_width_tiled [12:16:24] [PASSED] drm_test_format_block_height_invalid [12:16:24] [PASSED] drm_test_format_block_height_one_plane [12:16:24] [PASSED] drm_test_format_block_height_two_plane [12:16:24] [PASSED] drm_test_format_block_height_three_plane [12:16:24] [PASSED] drm_test_format_block_height_tiled [12:16:24] [PASSED] drm_test_format_min_pitch_invalid [12:16:24] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [12:16:24] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [12:16:24] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [12:16:24] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [12:16:24] [PASSED] drm_test_format_min_pitch_two_plane [12:16:24] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [12:16:24] [PASSED] drm_test_format_min_pitch_tiled [12:16:24] =================== [PASSED] drm_format ==================== [12:16:24] ============== drm_framebuffer (10 subtests) =============== [12:16:24] ========== drm_test_framebuffer_check_src_coords ========== [12:16:24] [PASSED] Success: source fits into fb [12:16:24] [PASSED] Fail: overflowing fb with x-axis coordinate [12:16:24] [PASSED] Fail: overflowing fb with y-axis coordinate [12:16:24] [PASSED] Fail: overflowing fb with source width [12:16:24] [PASSED] Fail: overflowing fb with source height [12:16:24] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [12:16:24] [PASSED] drm_test_framebuffer_cleanup [12:16:24] =============== drm_test_framebuffer_create =============== [12:16:24] [PASSED] ABGR8888 normal sizes [12:16:24] [PASSED] ABGR8888 max sizes [12:16:24] [PASSED] ABGR8888 pitch greater than min required [12:16:24] [PASSED] ABGR8888 pitch less than min required [12:16:24] [PASSED] ABGR8888 Invalid width [12:16:24] [PASSED] ABGR8888 Invalid buffer handle [12:16:24] [PASSED] No pixel format [12:16:24] [PASSED] ABGR8888 Width 0 [12:16:24] [PASSED] ABGR8888 Height 0 [12:16:24] [PASSED] ABGR8888 Out of bound height * pitch combination [12:16:24] [PASSED] ABGR8888 Large buffer offset [12:16:24] [PASSED] ABGR8888 Buffer offset for inexistent plane [12:16:24] [PASSED] ABGR8888 Invalid flag [12:16:24] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [12:16:24] [PASSED] ABGR8888 Valid buffer modifier [12:16:24] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [12:16:24] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] NV12 Normal sizes [12:16:24] [PASSED] NV12 Max sizes [12:16:24] [PASSED] NV12 Invalid pitch [12:16:24] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [12:16:24] [PASSED] NV12 different modifier per-plane [12:16:24] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [12:16:24] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] NV12 Modifier for inexistent plane [12:16:24] [PASSED] NV12 Handle for inexistent plane [12:16:24] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [12:16:24] [PASSED] YVU420 Normal sizes [12:16:24] [PASSED] YVU420 Max sizes [12:16:24] [PASSED] YVU420 Invalid pitch [12:16:24] [PASSED] YVU420 Different pitches [12:16:24] [PASSED] YVU420 Different buffer offsets/pitches [12:16:24] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [12:16:24] [PASSED] YVU420 Valid modifier [12:16:24] [PASSED] YVU420 Different modifiers per plane [12:16:24] [PASSED] YVU420 Modifier for inexistent plane [12:16:24] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [12:16:24] [PASSED] X0L2 Normal sizes [12:16:24] [PASSED] X0L2 Max sizes [12:16:24] [PASSED] X0L2 Invalid pitch [12:16:24] [PASSED] X0L2 Pitch greater than minimum required [12:16:24] [PASSED] X0L2 Handle for inexistent plane [12:16:24] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [12:16:24] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [12:16:24] [PASSED] X0L2 Valid modifier [12:16:24] [PASSED] X0L2 Modifier for inexistent plane [12:16:24] =========== [PASSED] drm_test_framebuffer_create =========== [12:16:24] [PASSED] drm_test_framebuffer_free [12:16:24] [PASSED] drm_test_framebuffer_init [12:16:24] [PASSED] drm_test_framebuffer_init_bad_format [12:16:24] [PASSED] drm_test_framebuffer_init_dev_mismatch [12:16:24] [PASSED] drm_test_framebuffer_lookup [12:16:24] [PASSED] drm_test_framebuffer_lookup_inexistent [12:16:24] [PASSED] drm_test_framebuffer_modifiers_not_supported [12:16:24] ================= [PASSED] drm_framebuffer ================= [12:16:24] ================ drm_gem_shmem (8 subtests) ================ [12:16:24] [PASSED] drm_gem_shmem_test_obj_create [12:16:24] [PASSED] drm_gem_shmem_test_obj_create_private [12:16:24] [PASSED] drm_gem_shmem_test_pin_pages [12:16:24] [PASSED] drm_gem_shmem_test_vmap [12:16:24] [PASSED] drm_gem_shmem_test_get_sg_table [12:16:24] [PASSED] drm_gem_shmem_test_get_pages_sgt [12:16:24] [PASSED] drm_gem_shmem_test_madvise [12:16:24] [PASSED] drm_gem_shmem_test_purge [12:16:24] ================== [PASSED] drm_gem_shmem ================== [12:16:24] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [12:16:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [12:16:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [12:16:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [12:16:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [12:16:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [12:16:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [12:16:24] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [12:16:24] [PASSED] Automatic [12:16:24] [PASSED] Full [12:16:24] [PASSED] Limited 16:235 [12:16:24] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [12:16:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [12:16:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [12:16:24] [PASSED] drm_test_check_disable_connector [12:16:24] [PASSED] drm_test_check_hdmi_funcs_reject_rate [12:16:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [12:16:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [12:16:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [12:16:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [12:16:24] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [12:16:24] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [12:16:24] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [12:16:24] [PASSED] drm_test_check_output_bpc_dvi [12:16:24] [PASSED] drm_test_check_output_bpc_format_vic_1 [12:16:24] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [12:16:24] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [12:16:24] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [12:16:24] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [12:16:24] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [12:16:24] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [12:16:24] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [12:16:24] ============ drm_test_check_hdmi_color_format ============= [12:16:24] [PASSED] AUTO -> RGB [12:16:24] [PASSED] YCBCR422 -> YUV422 [12:16:24] [PASSED] YCBCR420 -> YUV420 [12:16:24] [PASSED] YCBCR444 -> YUV444 [12:16:24] [PASSED] RGB -> RGB [12:16:24] ======== [PASSED] drm_test_check_hdmi_color_format ========= [12:16:24] ======== drm_test_check_hdmi_color_format_420_only ======== [12:16:24] [PASSED] RGB should fail [12:16:24] [PASSED] YUV444 should fail [12:16:24] [PASSED] YUV422 should fail [12:16:24] [PASSED] YUV420 should work [12:16:24] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [12:16:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [12:16:24] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [12:16:24] [PASSED] drm_test_check_broadcast_rgb_value [12:16:24] [PASSED] drm_test_check_bpc_8_value [12:16:24] [PASSED] drm_test_check_bpc_10_value [12:16:24] [PASSED] drm_test_check_bpc_12_value [12:16:24] [PASSED] drm_test_check_format_value [12:16:24] [PASSED] drm_test_check_tmds_char_value [12:16:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [12:16:24] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [12:16:24] [PASSED] drm_test_check_mode_valid [12:16:24] [PASSED] drm_test_check_mode_valid_reject [12:16:24] [PASSED] drm_test_check_mode_valid_reject_rate [12:16:24] [PASSED] drm_test_check_mode_valid_reject_max_clock [12:16:24] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [12:16:24] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [12:16:24] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [12:16:24] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [12:16:24] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [12:16:24] [PASSED] drm_test_check_infoframes [12:16:24] [PASSED] drm_test_check_reject_avi_infoframe [12:16:24] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [12:16:24] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [12:16:24] [PASSED] drm_test_check_reject_audio_infoframe [12:16:24] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [12:16:24] ================= drm_managed (2 subtests) ================= [12:16:24] [PASSED] drm_test_managed_release_action [12:16:24] [PASSED] drm_test_managed_run_action [12:16:24] =================== [PASSED] drm_managed =================== [12:16:24] =================== drm_mm (6 subtests) ==================== [12:16:24] [PASSED] drm_test_mm_init [12:16:24] [PASSED] drm_test_mm_debug [12:16:24] [PASSED] drm_test_mm_align32 [12:16:24] [PASSED] drm_test_mm_align64 [12:16:24] [PASSED] drm_test_mm_lowest [12:16:24] [PASSED] drm_test_mm_highest [12:16:24] ===================== [PASSED] drm_mm ====================== [12:16:24] ============= drm_modes_analog_tv (5 subtests) ============= [12:16:24] [PASSED] drm_test_modes_analog_tv_mono_576i [12:16:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i [12:16:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [12:16:24] [PASSED] drm_test_modes_analog_tv_pal_576i [12:16:24] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [12:16:24] =============== [PASSED] drm_modes_analog_tv =============== [12:16:24] ============== drm_plane_helper (2 subtests) =============== [12:16:24] =============== drm_test_check_plane_state ================ [12:16:24] [PASSED] clipping_simple [12:16:24] [PASSED] clipping_rotate_reflect [12:16:24] [PASSED] positioning_simple [12:16:24] [PASSED] upscaling [12:16:24] [PASSED] downscaling [12:16:24] [PASSED] rounding1 [12:16:24] [PASSED] rounding2 [12:16:24] [PASSED] rounding3 [12:16:24] [PASSED] rounding4 [12:16:24] =========== [PASSED] drm_test_check_plane_state ============ [12:16:24] =========== drm_test_check_invalid_plane_state ============ [12:16:24] [PASSED] positioning_invalid [12:16:24] [PASSED] upscaling_invalid [12:16:24] [PASSED] downscaling_invalid [12:16:24] ======= [PASSED] drm_test_check_invalid_plane_state ======== [12:16:24] ================ [PASSED] drm_plane_helper ================= [12:16:24] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [12:16:24] ====== drm_test_connector_helper_tv_get_modes_check ======= [12:16:24] [PASSED] None [12:16:24] [PASSED] PAL [12:16:24] [PASSED] NTSC [12:16:24] [PASSED] Both, NTSC Default [12:16:24] [PASSED] Both, PAL Default [12:16:24] [PASSED] Both, NTSC Default, with PAL on command-line [12:16:24] [PASSED] Both, PAL Default, with NTSC on command-line [12:16:24] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [12:16:24] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [12:16:24] ================== drm_rect (9 subtests) =================== [12:16:24] [PASSED] drm_test_rect_clip_scaled_div_by_zero [12:16:24] [PASSED] drm_test_rect_clip_scaled_not_clipped [12:16:24] [PASSED] drm_test_rect_clip_scaled_clipped [12:16:24] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [12:16:24] ================= drm_test_rect_intersect ================= [12:16:24] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [12:16:24] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [12:16:24] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [12:16:24] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [12:16:24] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [12:16:24] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [12:16:24] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [12:16:24] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [12:16:24] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [12:16:24] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [12:16:24] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [12:16:24] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [12:16:24] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [12:16:24] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [12:16:24] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [12:16:24] ============= [PASSED] drm_test_rect_intersect ============= [12:16:24] ================ drm_test_rect_calc_hscale ================ [12:16:24] [PASSED] normal use [12:16:24] [PASSED] out of max range [12:16:24] [PASSED] out of min range [12:16:24] [PASSED] zero dst [12:16:24] [PASSED] negative src [12:16:24] [PASSED] negative dst [12:16:24] ============ [PASSED] drm_test_rect_calc_hscale ============ [12:16:24] ================ drm_test_rect_calc_vscale ================ [12:16:24] [PASSED] normal use [12:16:24] [PASSED] out of max range [12:16:24] [PASSED] out of min range [12:16:24] [PASSED] zero dst [12:16:24] [PASSED] negative src [12:16:24] [PASSED] negative dst [12:16:24] ============ [PASSED] drm_test_rect_calc_vscale ============ [12:16:24] ================== drm_test_rect_rotate =================== [12:16:24] [PASSED] reflect-x [12:16:24] [PASSED] reflect-y [12:16:24] [PASSED] rotate-0 [12:16:24] [PASSED] rotate-90 [12:16:24] [PASSED] rotate-180 [12:16:24] [PASSED] rotate-270 [12:16:24] ============== [PASSED] drm_test_rect_rotate =============== [12:16:24] ================ drm_test_rect_rotate_inv ================= [12:16:24] [PASSED] reflect-x [12:16:24] [PASSED] reflect-y [12:16:24] [PASSED] rotate-0 [12:16:24] [PASSED] rotate-90 [12:16:24] [PASSED] rotate-180 [12:16:24] [PASSED] rotate-270 [12:16:24] ============ [PASSED] drm_test_rect_rotate_inv ============= [12:16:24] ==================== [PASSED] drm_rect ===================== [12:16:24] ============ drm_sysfb_modeset_test (1 subtest) ============ [12:16:24] ============ drm_test_sysfb_build_fourcc_list ============= [12:16:24] [PASSED] no native formats [12:16:24] [PASSED] XRGB8888 as native format [12:16:24] [PASSED] remove duplicates [12:16:24] [PASSED] convert alpha formats [12:16:24] [PASSED] random formats [12:16:24] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [12:16:24] ============= [PASSED] drm_sysfb_modeset_test ============== [12:16:24] ================== drm_fixp (2 subtests) =================== [12:16:24] [PASSED] drm_test_int2fixp [12:16:24] [PASSED] drm_test_sm2fixp [12:16:24] ==================== [PASSED] drm_fixp ===================== [12:16:24] ============================================================ [12:16:24] Testing complete. Ran 639 tests: passed: 639 [12:16:24] Elapsed time: 26.297s total, 1.783s configuring, 24.347s building, 0.144s running + /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [12:16:24] Configuring KUnit Kernel ... Regenerating .config ... Populating config with: $ make ARCH=um O=.kunit olddefconfig [12:16:26] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [12:16:36] Starting KUnit Kernel (1/1)... [12:16:36] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:16:36] ================= ttm_device (5 subtests) ================== [12:16:36] [PASSED] ttm_device_init_basic [12:16:36] [PASSED] ttm_device_init_multiple [12:16:36] [PASSED] ttm_device_fini_basic [12:16:36] [PASSED] ttm_device_init_no_vma_man [12:16:36] ================== ttm_device_init_pools ================== [12:16:36] [PASSED] No DMA allocations, no DMA32 required [12:16:36] [PASSED] DMA allocations, DMA32 required [12:16:36] [PASSED] No DMA allocations, DMA32 required [12:16:36] [PASSED] DMA allocations, no DMA32 required [12:16:36] ============== [PASSED] ttm_device_init_pools ============== [12:16:36] =================== [PASSED] ttm_device ==================== [12:16:36] ================== ttm_pool (8 subtests) =================== [12:16:36] ================== ttm_pool_alloc_basic =================== [12:16:36] [PASSED] One page [12:16:36] [PASSED] More than one page [12:16:36] [PASSED] Above the allocation limit [12:16:36] [PASSED] One page, with coherent DMA mappings enabled [12:16:36] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [12:16:36] ============== [PASSED] ttm_pool_alloc_basic =============== [12:16:36] ============== ttm_pool_alloc_basic_dma_addr ============== [12:16:36] [PASSED] One page [12:16:36] [PASSED] More than one page [12:16:36] [PASSED] Above the allocation limit [12:16:36] [PASSED] One page, with coherent DMA mappings enabled [12:16:36] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [12:16:36] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [12:16:36] [PASSED] ttm_pool_alloc_order_caching_match [12:16:36] [PASSED] ttm_pool_alloc_caching_mismatch [12:16:36] [PASSED] ttm_pool_alloc_order_mismatch [12:16:36] [PASSED] ttm_pool_free_dma_alloc [12:16:36] [PASSED] ttm_pool_free_no_dma_alloc [12:16:36] [PASSED] ttm_pool_fini_basic [12:16:36] ==================== [PASSED] ttm_pool ===================== [12:16:36] ================ ttm_resource (8 subtests) ================= [12:16:36] ================= ttm_resource_init_basic ================= [12:16:36] [PASSED] Init resource in TTM_PL_SYSTEM [12:16:36] [PASSED] Init resource in TTM_PL_VRAM [12:16:36] [PASSED] Init resource in a private placement [12:16:36] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [12:16:36] ============= [PASSED] ttm_resource_init_basic ============= [12:16:36] [PASSED] ttm_resource_init_pinned [12:16:36] [PASSED] ttm_resource_fini_basic [12:16:36] [PASSED] ttm_resource_manager_init_basic [12:16:36] [PASSED] ttm_resource_manager_usage_basic [12:16:36] [PASSED] ttm_resource_manager_set_used_basic [12:16:36] [PASSED] ttm_sys_man_alloc_basic [12:16:36] [PASSED] ttm_sys_man_free_basic [12:16:36] ================== [PASSED] ttm_resource =================== [12:16:36] =================== ttm_tt (15 subtests) =================== [12:16:36] ==================== ttm_tt_init_basic ==================== [12:16:36] [PASSED] Page-aligned size [12:16:36] [PASSED] Extra pages requested [12:16:36] ================ [PASSED] ttm_tt_init_basic ================ [12:16:36] [PASSED] ttm_tt_init_misaligned [12:16:36] [PASSED] ttm_tt_fini_basic [12:16:36] [PASSED] ttm_tt_fini_sg [12:16:36] [PASSED] ttm_tt_fini_shmem [12:16:36] [PASSED] ttm_tt_create_basic [12:16:36] [PASSED] ttm_tt_create_invalid_bo_type [12:16:36] [PASSED] ttm_tt_create_ttm_exists [12:16:36] [PASSED] ttm_tt_create_failed [12:16:36] [PASSED] ttm_tt_destroy_basic [12:16:36] [PASSED] ttm_tt_populate_null_ttm [12:16:36] [PASSED] ttm_tt_populate_populated_ttm [12:16:36] [PASSED] ttm_tt_unpopulate_basic [12:16:36] [PASSED] ttm_tt_unpopulate_empty_ttm [12:16:36] [PASSED] ttm_tt_swapin_basic [12:16:36] ===================== [PASSED] ttm_tt ====================== [12:16:36] =================== ttm_bo (14 subtests) =================== [12:16:36] =========== ttm_bo_reserve_optimistic_no_ticket =========== [12:16:36] [PASSED] Cannot be interrupted and sleeps [12:16:36] [PASSED] Cannot be interrupted, locks straight away [12:16:36] [PASSED] Can be interrupted, sleeps [12:16:36] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [12:16:36] [PASSED] ttm_bo_reserve_locked_no_sleep [12:16:36] [PASSED] ttm_bo_reserve_no_wait_ticket [12:16:36] [PASSED] ttm_bo_reserve_double_resv [12:16:36] [PASSED] ttm_bo_reserve_interrupted [12:16:36] [PASSED] ttm_bo_reserve_deadlock [12:16:36] [PASSED] ttm_bo_unreserve_basic [12:16:36] [PASSED] ttm_bo_unreserve_pinned [12:16:36] [PASSED] ttm_bo_unreserve_bulk [12:16:36] [PASSED] ttm_bo_fini_basic [12:16:36] [PASSED] ttm_bo_fini_shared_resv [12:16:36] [PASSED] ttm_bo_pin_basic [12:16:36] [PASSED] ttm_bo_pin_unpin_resource [12:16:36] [PASSED] ttm_bo_multiple_pin_one_unpin [12:16:36] ===================== [PASSED] ttm_bo ====================== [12:16:36] ============== ttm_bo_validate (22 subtests) =============== [12:16:36] ============== ttm_bo_init_reserved_sys_man =============== [12:16:36] [PASSED] Buffer object for userspace [12:16:36] [PASSED] Kernel buffer object [12:16:36] [PASSED] Shared buffer object [12:16:36] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [12:16:36] ============== ttm_bo_init_reserved_mock_man ============== [12:16:36] [PASSED] Buffer object for userspace [12:16:36] [PASSED] Kernel buffer object [12:16:36] [PASSED] Shared buffer object [12:16:36] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [12:16:36] [PASSED] ttm_bo_init_reserved_resv [12:16:36] ================== ttm_bo_validate_basic ================== [12:16:36] [PASSED] Buffer object for userspace [12:16:36] [PASSED] Kernel buffer object [12:16:36] [PASSED] Shared buffer object [12:16:36] ============== [PASSED] ttm_bo_validate_basic ============== [12:16:36] [PASSED] ttm_bo_validate_invalid_placement [12:16:36] ============= ttm_bo_validate_same_placement ============== [12:16:36] [PASSED] System manager [12:16:36] [PASSED] VRAM manager [12:16:36] ========= [PASSED] ttm_bo_validate_same_placement ========== [12:16:36] [PASSED] ttm_bo_validate_failed_alloc [12:16:36] [PASSED] ttm_bo_validate_pinned [12:16:36] [PASSED] ttm_bo_validate_busy_placement [12:16:36] ================ ttm_bo_validate_multihop ================= [12:16:36] [PASSED] Buffer object for userspace [12:16:36] [PASSED] Kernel buffer object [12:16:36] [PASSED] Shared buffer object [12:16:36] ============ [PASSED] ttm_bo_validate_multihop ============= [12:16:36] ========== ttm_bo_validate_no_placement_signaled ========== [12:16:36] [PASSED] Buffer object in system domain, no page vector [12:16:36] [PASSED] Buffer object in system domain with an existing page vector [12:16:36] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [12:16:36] ======== ttm_bo_validate_no_placement_not_signaled ======== [12:16:36] [PASSED] Buffer object for userspace [12:16:36] [PASSED] Kernel buffer object [12:16:36] [PASSED] Shared buffer object [12:16:36] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [12:16:36] [PASSED] ttm_bo_validate_move_fence_signaled [12:16:36] ========= ttm_bo_validate_move_fence_not_signaled ========= [12:16:36] [PASSED] Waits for GPU [12:16:36] [PASSED] Tries to lock straight away [12:16:36] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [12:16:36] [PASSED] ttm_bo_validate_swapout [12:16:36] [PASSED] ttm_bo_validate_happy_evict [12:16:36] [PASSED] ttm_bo_validate_all_pinned_evict [12:16:36] [PASSED] ttm_bo_validate_allowed_only_evict [12:16:36] [PASSED] ttm_bo_validate_deleted_evict [12:16:36] [PASSED] ttm_bo_validate_busy_domain_evict [12:16:36] [PASSED] ttm_bo_validate_evict_gutting [12:16:36] [PASSED] ttm_bo_validate_recrusive_evict [12:16:36] ================= [PASSED] ttm_bo_validate ================= [12:16:36] ============================================================ [12:16:36] Testing complete. Ran 102 tests: passed: 102 [12:16:36] Elapsed time: 11.572s total, 1.749s configuring, 9.558s building, 0.232s running + cleanup ++ stat -c %u:%g /kernel + chown -R 1003:1003 /kernel ^ permalink raw reply [flat|nested] 7+ messages in thread
* ✓ Xe.CI.BAT: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) 2026-06-10 12:09 [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Arvind Yadav 2026-06-10 12:16 ` ✓ CI.KUnit: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork @ 2026-06-10 12:54 ` Patchwork 2026-06-10 16:07 ` [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Matthew Brost 2026-06-10 17:04 ` ✓ Xe.CI.FULL: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-06-10 12:54 UTC (permalink / raw) To: Arvind Yadav; +Cc: intel-xe [-- Attachment #1: Type: text/plain, Size: 875 bytes --] == Series Details == Series: drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) URL : https://patchwork.freedesktop.org/series/167264/ State : success == Summary == CI Bug Log - changes from xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a_BAT -> xe-pw-167264v3_BAT ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (13 -> 12) ------------------------------ Missing (1): bat-lnl-2 Changes ------- No changes found Build changes ------------- * Linux: xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a -> xe-pw-167264v3 IGT_8956: 8956 xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a: 724e06af260b571e2d970d4a806ae3d620ff0b7a xe-pw-167264v3: 167264v3 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/index.html [-- Attachment #2: Type: text/html, Size: 1423 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction 2026-06-10 12:09 [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Arvind Yadav 2026-06-10 12:16 ` ✓ CI.KUnit: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork 2026-06-10 12:54 ` ✓ Xe.CI.BAT: " Patchwork @ 2026-06-10 16:07 ` Matthew Brost 2026-06-10 16:23 ` Matthew Brost 2026-06-10 17:04 ` ✓ Xe.CI.FULL: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork 3 siblings, 1 reply; 7+ messages in thread From: Matthew Brost @ 2026-06-10 16:07 UTC (permalink / raw) To: Arvind Yadav Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, rodrigo.vivi, tejas.upadhyay On Wed, Jun 10, 2026 at 05:39:45PM +0530, Arvind Yadav wrote: > GuC exec queue destruction can run on xe->destroy_wq. During queue > cleanup, xe_exec_queue_fini() can drop the last reference to objects > which eventually release the DRM device and run drmm cleanup actions. > > guc_submit_sw_fini(), registered as a drmm action, drains > xe->destroy_wq. If the final drm_dev_put() happens from an > xe->destroy_wq worker, teardown can try to drain the same workqueue > the current worker is running on, causing a self-deadlock. > > Fix this by taking an extra drm_device reference across async exec queue > cleanup and dropping it from system_dfl_wq. The deferred put work is > preallocated during queue init, so the destroy path does not need a > failing or nofail allocation. > I’m convinced an extra worker is required here. The teardown sequence is a mess, but in the DRM dep work [1] I was able to move xe->destroy_wq into the DRM dep layer [2] (see drm_dep_queue_free_work). I also called drm_dev_get on each queue creation and dropped it in drm_dep_queue_free_work via drm_dep_queue_free(). It all seemed to work without an additional worker. In [3], I refactored the Xe object model on top of DRM dep using the DRM worker. I was also able to drop the wait_event_timeout in guc_submit_sw_fini [4] around the async release of GuC IDs, because the drm_dep_get on the queue prevented guc_submit_sw_fini from running until all queues had dropped their drm_dev reference. I do plan to respin DRM dep in the next few weeks, but given that this is common DRM code, it may take a while to merge. That said, I don’t see why we can’t merge the DRM dep drm_dev_get/put model ahead that, hook a drm_dev_get into exec queue creation, drop it as the final action of guc_exec_queue_fini, and remove the wait_event_timeout in guc_submit_sw_fini. I think that would work and is simpler than what this patch is doing (i.e., it should only be 2 lines of code for drm_dev_get/put + delete some unused code). Matt [1] https://patchwork.freedesktop.org/series/163245/ [2] https://patchwork.freedesktop.org/patch/711933/?series=163245&rev=1 [3] https://patchwork.freedesktop.org/patch/711937/?series=163245&rev=1 [4] https://patchwork.freedesktop.org/patch/711934/?series=163245&rev=1 > This keeps the final drm_dev_put() out of xe->destroy_wq while preserving > exec queue teardown ordering. > > v2: > - rebase > > Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction") > Cc: Matthew Brost <matthew.brost@intel.com> > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> > Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> > Signed-off-by: Arvind Yadav <arvind.yadav@intel.com> > --- > drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 3 + > drivers/gpu/drm/xe/xe_guc_submit.c | 62 ++++++++++++++++++-- > 2 files changed, 59 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > index e5e53b421f29..b5dfc9c9092d 100644 > --- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > +++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > @@ -13,6 +13,7 @@ > > struct dma_fence; > struct xe_exec_queue; > +struct xe_drm_dev_put_work; > > /** > * struct xe_guc_exec_queue - GuC specific state for an xe_exec_queue > @@ -35,6 +36,8 @@ struct xe_guc_exec_queue { > struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE]; > /** @destroy_async: do final destroy async from this worker */ > struct work_struct destroy_async; > + /** @dev_put_work: deferred drm_dev_put worker to avoid self-deadlock */ > + struct xe_drm_dev_put_work *dev_put_work; > /** @resume_time: time of last resume */ > u64 resume_time; > /** @state: GuC specific state for this xe_exec_queue */ > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c > index b29cc08e6291..d1ae4339f375 100644 > --- a/drivers/gpu/drm/xe/xe_guc_submit.c > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c > @@ -10,6 +10,7 @@ > #include <linux/circ_buf.h> > #include <linux/dma-fence-array.h> > > +#include <drm/drm_drv.h> > #include <drm/drm_managed.h> > > #include "abi/guc_actions_abi.h" > @@ -47,6 +48,11 @@ > > #define XE_GUC_EXEC_QUEUE_CGP_CONTEXT_ERROR_LEN 6 > > +struct xe_drm_dev_put_work { > + struct work_struct work; > + struct drm_device *drm; > +}; > + > static int guc_submit_reset_prepare(struct xe_guc *guc); > > static struct xe_guc * > @@ -1674,6 +1680,8 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) > xe_sched_entity_fini(&ge->entity); > xe_sched_fini(&ge->sched); > > + kfree(ge->dev_put_work); > + > /* > * RCU free due sched being exported via DRM scheduler fences > * (timeline name). > @@ -1681,20 +1689,55 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) > kfree_rcu(ge, rcu); > } > > -static void __guc_exec_queue_destroy_async(struct work_struct *w) > +static void xe_drm_dev_put_work_func(struct work_struct *work) > { > - 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_drm_dev_put_work *put = > + container_of(work, struct xe_drm_dev_put_work, work); > + > + drm_dev_put(put->drm); > + kfree(put); > +} > + > +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q, bool defer_dev_put) > +{ > + 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; > + struct xe_drm_dev_put_work *put_work = NULL; > > - guard(xe_pm_runtime)(guc_to_xe(guc)); > + if (defer_dev_put) { > + put_work = ge->dev_put_work; > + ge->dev_put_work = NULL; > + > + put_work->drm = drm; > + INIT_WORK(&put_work->work, xe_drm_dev_put_work_func); > + > + /* > + * Avoid running the final drm_dev_put() from xe->destroy_wq, > + * since guc_submit_sw_fini() drains that queue. > + */ > + drm_dev_get(drm); > + } > + > + guard(xe_pm_runtime)(xe); > trace_xe_exec_queue_destroy(q); > > /* Confirm no work left behind accessing device structures */ > cancel_delayed_work_sync(&ge->sched.base.work_tdr); > > xe_exec_queue_fini(q); > + > + if (put_work) > + queue_work(system_dfl_wq, &put_work->work); > +} > + > +static void __guc_exec_queue_destroy_async(struct work_struct *w) > +{ > + struct xe_guc_exec_queue *ge = > + container_of(w, struct xe_guc_exec_queue, destroy_async); > + > + guc_exec_queue_do_destroy(ge->q, true); > } > > static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) > @@ -1706,7 +1749,7 @@ static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) > > /* We must block on kernel engines so slabs are empty on driver unload */ > if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q)) > - __guc_exec_queue_destroy_async(&q->guc->destroy_async); > + guc_exec_queue_do_destroy(q, false); > else > queue_work(xe->destroy_wq, &q->guc->destroy_async); > } > @@ -1914,6 +1957,12 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) > if (!ge) > return -ENOMEM; > > + ge->dev_put_work = kmalloc_obj(*ge->dev_put_work, GFP_KERNEL); > + if (!ge->dev_put_work) { > + kfree(ge); > + return -ENOMEM; > + } > + > q->guc = ge; > ge->q = q; > init_rcu_head(&ge->rcu); > @@ -1989,6 +2038,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) > err_release_id: > release_guc_id(guc, q); > err_free: > + kfree(ge->dev_put_work); > kfree(ge); > > return err; > -- > 2.43.0 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction 2026-06-10 16:07 ` [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Matthew Brost @ 2026-06-10 16:23 ` Matthew Brost 2026-06-11 9:08 ` Yadav, Arvind 0 siblings, 1 reply; 7+ messages in thread From: Matthew Brost @ 2026-06-10 16:23 UTC (permalink / raw) To: Arvind Yadav Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, rodrigo.vivi, tejas.upadhyay On Wed, Jun 10, 2026 at 09:07:12AM -0700, Matthew Brost wrote: > On Wed, Jun 10, 2026 at 05:39:45PM +0530, Arvind Yadav wrote: > > GuC exec queue destruction can run on xe->destroy_wq. During queue > > cleanup, xe_exec_queue_fini() can drop the last reference to objects > > which eventually release the DRM device and run drmm cleanup actions. > > > > guc_submit_sw_fini(), registered as a drmm action, drains > > xe->destroy_wq. If the final drm_dev_put() happens from an > > xe->destroy_wq worker, teardown can try to drain the same workqueue > > the current worker is running on, causing a self-deadlock. > > > > Fix this by taking an extra drm_device reference across async exec queue > > cleanup and dropping it from system_dfl_wq. The deferred put work is > > preallocated during queue init, so the destroy path does not need a > > failing or nofail allocation. > > > > I’m convinced an extra worker is required here. > > The teardown sequence is a mess, but in the DRM dep work [1] I was able > to move xe->destroy_wq into the DRM dep layer [2] (see > drm_dep_queue_free_work). I also called drm_dev_get on each queue > creation and dropped it in drm_dep_queue_free_work via > drm_dep_queue_free(). It all seemed to work without an additional > worker. > > In [3], I refactored the Xe object model on top of DRM dep using the DRM > worker. I was also able to drop the wait_event_timeout in > guc_submit_sw_fini [4] around the async release of GuC IDs, because the > drm_dep_get on the queue prevented guc_submit_sw_fini from running until > all queues had dropped their drm_dev reference. > > I do plan to respin DRM dep in the next few weeks, but given that this > is common DRM code, it may take a while to merge. > > That said, I don’t see why we can’t merge the DRM dep drm_dev_get/put > model ahead that, hook a drm_dev_get into exec queue creation, drop it > as the final action of guc_exec_queue_fini, and remove the > wait_event_timeout in guc_submit_sw_fini. I think that would work and is > simpler than what this patch is doing (i.e., it should only be 2 lines > of code for drm_dev_get/put + delete some unused code). > Sorry for the double reply—I missed a key part of this. The DRM dep worker that executes drm_dep_queue_free_work is a DRM dep module worker (see dep_free_wq in [1]), which is created and destroyed during module load/unlaod. We would need to move xe->destroy_wq into the Xe module as well, or simply drop it and use system_dfl_wq for the async queue teardown step. So I guess it’s a little more than two lines of code, but still relatively straightforward. Matt > Matt > > [1] https://patchwork.freedesktop.org/series/163245/ > [2] https://patchwork.freedesktop.org/patch/711933/?series=163245&rev=1 > [3] https://patchwork.freedesktop.org/patch/711937/?series=163245&rev=1 > [4] https://patchwork.freedesktop.org/patch/711934/?series=163245&rev=1 > > > This keeps the final drm_dev_put() out of xe->destroy_wq while preserving > > exec queue teardown ordering. > > > > v2: > > - rebase > > > > Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction") > > Cc: Matthew Brost <matthew.brost@intel.com> > > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> > > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> > > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> > > Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> > > Signed-off-by: Arvind Yadav <arvind.yadav@intel.com> > > --- > > drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 3 + > > drivers/gpu/drm/xe/xe_guc_submit.c | 62 ++++++++++++++++++-- > > 2 files changed, 59 insertions(+), 6 deletions(-) > > > > diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > > index e5e53b421f29..b5dfc9c9092d 100644 > > --- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > > +++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h > > @@ -13,6 +13,7 @@ > > > > struct dma_fence; > > struct xe_exec_queue; > > +struct xe_drm_dev_put_work; > > > > /** > > * struct xe_guc_exec_queue - GuC specific state for an xe_exec_queue > > @@ -35,6 +36,8 @@ struct xe_guc_exec_queue { > > struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE]; > > /** @destroy_async: do final destroy async from this worker */ > > struct work_struct destroy_async; > > + /** @dev_put_work: deferred drm_dev_put worker to avoid self-deadlock */ > > + struct xe_drm_dev_put_work *dev_put_work; > > /** @resume_time: time of last resume */ > > u64 resume_time; > > /** @state: GuC specific state for this xe_exec_queue */ > > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c > > index b29cc08e6291..d1ae4339f375 100644 > > --- a/drivers/gpu/drm/xe/xe_guc_submit.c > > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c > > @@ -10,6 +10,7 @@ > > #include <linux/circ_buf.h> > > #include <linux/dma-fence-array.h> > > > > +#include <drm/drm_drv.h> > > #include <drm/drm_managed.h> > > > > #include "abi/guc_actions_abi.h" > > @@ -47,6 +48,11 @@ > > > > #define XE_GUC_EXEC_QUEUE_CGP_CONTEXT_ERROR_LEN 6 > > > > +struct xe_drm_dev_put_work { > > + struct work_struct work; > > + struct drm_device *drm; > > +}; > > + > > static int guc_submit_reset_prepare(struct xe_guc *guc); > > > > static struct xe_guc * > > @@ -1674,6 +1680,8 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) > > xe_sched_entity_fini(&ge->entity); > > xe_sched_fini(&ge->sched); > > > > + kfree(ge->dev_put_work); > > + > > /* > > * RCU free due sched being exported via DRM scheduler fences > > * (timeline name). > > @@ -1681,20 +1689,55 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) > > kfree_rcu(ge, rcu); > > } > > > > -static void __guc_exec_queue_destroy_async(struct work_struct *w) > > +static void xe_drm_dev_put_work_func(struct work_struct *work) > > { > > - 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_drm_dev_put_work *put = > > + container_of(work, struct xe_drm_dev_put_work, work); > > + > > + drm_dev_put(put->drm); > > + kfree(put); > > +} > > + > > +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q, bool defer_dev_put) > > +{ > > + 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; > > + struct xe_drm_dev_put_work *put_work = NULL; > > > > - guard(xe_pm_runtime)(guc_to_xe(guc)); > > + if (defer_dev_put) { > > + put_work = ge->dev_put_work; > > + ge->dev_put_work = NULL; > > + > > + put_work->drm = drm; > > + INIT_WORK(&put_work->work, xe_drm_dev_put_work_func); > > + > > + /* > > + * Avoid running the final drm_dev_put() from xe->destroy_wq, > > + * since guc_submit_sw_fini() drains that queue. > > + */ > > + drm_dev_get(drm); > > + } > > + > > + guard(xe_pm_runtime)(xe); > > trace_xe_exec_queue_destroy(q); > > > > /* Confirm no work left behind accessing device structures */ > > cancel_delayed_work_sync(&ge->sched.base.work_tdr); > > > > xe_exec_queue_fini(q); > > + > > + if (put_work) > > + queue_work(system_dfl_wq, &put_work->work); > > +} > > + > > +static void __guc_exec_queue_destroy_async(struct work_struct *w) > > +{ > > + struct xe_guc_exec_queue *ge = > > + container_of(w, struct xe_guc_exec_queue, destroy_async); > > + > > + guc_exec_queue_do_destroy(ge->q, true); > > } > > > > static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) > > @@ -1706,7 +1749,7 @@ static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) > > > > /* We must block on kernel engines so slabs are empty on driver unload */ > > if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q)) > > - __guc_exec_queue_destroy_async(&q->guc->destroy_async); > > + guc_exec_queue_do_destroy(q, false); > > else > > queue_work(xe->destroy_wq, &q->guc->destroy_async); > > } > > @@ -1914,6 +1957,12 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) > > if (!ge) > > return -ENOMEM; > > > > + ge->dev_put_work = kmalloc_obj(*ge->dev_put_work, GFP_KERNEL); > > + if (!ge->dev_put_work) { > > + kfree(ge); > > + return -ENOMEM; > > + } > > + > > q->guc = ge; > > ge->q = q; > > init_rcu_head(&ge->rcu); > > @@ -1989,6 +2038,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) > > err_release_id: > > release_guc_id(guc, q); > > err_free: > > + kfree(ge->dev_put_work); > > kfree(ge); > > > > return err; > > -- > > 2.43.0 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction 2026-06-10 16:23 ` Matthew Brost @ 2026-06-11 9:08 ` Yadav, Arvind 0 siblings, 0 replies; 7+ messages in thread From: Yadav, Arvind @ 2026-06-11 9:08 UTC (permalink / raw) To: Matthew Brost Cc: intel-xe, himal.prasad.ghimiray, thomas.hellstrom, rodrigo.vivi, tejas.upadhyay On 10-06-2026 21:53, Matthew Brost wrote: > On Wed, Jun 10, 2026 at 09:07:12AM -0700, Matthew Brost wrote: >> On Wed, Jun 10, 2026 at 05:39:45PM +0530, Arvind Yadav wrote: >>> GuC exec queue destruction can run on xe->destroy_wq. During queue >>> cleanup, xe_exec_queue_fini() can drop the last reference to objects >>> which eventually release the DRM device and run drmm cleanup actions. >>> >>> guc_submit_sw_fini(), registered as a drmm action, drains >>> xe->destroy_wq. If the final drm_dev_put() happens from an >>> xe->destroy_wq worker, teardown can try to drain the same workqueue >>> the current worker is running on, causing a self-deadlock. >>> >>> Fix this by taking an extra drm_device reference across async exec queue >>> cleanup and dropping it from system_dfl_wq. The deferred put work is >>> preallocated during queue init, so the destroy path does not need a >>> failing or nofail allocation. >>> >> I’m convinced an extra worker is required here. >> >> The teardown sequence is a mess, but in the DRM dep work [1] I was able >> to move xe->destroy_wq into the DRM dep layer [2] (see >> drm_dep_queue_free_work). I also called drm_dev_get on each queue >> creation and dropped it in drm_dep_queue_free_work via >> drm_dep_queue_free(). It all seemed to work without an additional >> worker. >> >> In [3], I refactored the Xe object model on top of DRM dep using the DRM >> worker. I was also able to drop the wait_event_timeout in >> guc_submit_sw_fini [4] around the async release of GuC IDs, because the >> drm_dep_get on the queue prevented guc_submit_sw_fini from running until >> all queues had dropped their drm_dev reference. >> >> I do plan to respin DRM dep in the next few weeks, but given that this >> is common DRM code, it may take a while to merge. >> >> That said, I don’t see why we can’t merge the DRM dep drm_dev_get/put >> model ahead that, hook a drm_dev_get into exec queue creation, drop it >> as the final action of guc_exec_queue_fini, and remove the >> wait_event_timeout in guc_submit_sw_fini. I think that would work and is >> simpler than what this patch is doing (i.e., it should only be 2 lines >> of code for drm_dev_get/put + delete some unused code). >> > Sorry for the double reply—I missed a key part of this. > > The DRM dep worker that executes drm_dep_queue_free_work is a DRM dep > module worker (see dep_free_wq in [1]), which is created and destroyed > during module load/unlaod. We would need to move xe->destroy_wq into the > Xe module as well, or simply drop it and use system_dfl_wq for the async > queue teardown step. So I guess it’s a little more than two lines of > code, but still relatively straightforward. > > Matt Thanks Matt, For this suggestion. I agree this is cleaner than adding a separate deferred `drm_dev_put()` worker. I will take a `drm_dev_get()` when the GuC exec queue is created and drop `drm_dev_put()` during final queue teardown. I will also move the async destroy work off `xe->destroy_wq` and use `system_dfl_wq`, so the final queue put cannot run from the workqueue that `guc_submit_sw_fini()` drains. I will keep the `guc_submit_sw_fini()` sequence unchanged for now and only revisit the `wait_event_timeout()` cleanup separately if it is clearly no longer needed. Thanks for the pointer, ~Arvind >> Matt >> >> [1] https://patchwork.freedesktop.org/series/163245/ >> [2] https://patchwork.freedesktop.org/patch/711933/?series=163245&rev=1 >> [3] https://patchwork.freedesktop.org/patch/711937/?series=163245&rev=1 >> [4] https://patchwork.freedesktop.org/patch/711934/?series=163245&rev=1 >> >>> This keeps the final drm_dev_put() out of xe->destroy_wq while preserving >>> exec queue teardown ordering. >>> >>> v2: >>> - rebase >>> >>> Fixes: 2d2be279f1ca ("drm/xe: fix UAF around queue destruction") >>> Cc: Matthew Brost <matthew.brost@intel.com> >>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> >>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> >>> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> >>> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> >>> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com> >>> --- >>> drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 3 + >>> drivers/gpu/drm/xe/xe_guc_submit.c | 62 ++++++++++++++++++-- >>> 2 files changed, 59 insertions(+), 6 deletions(-) >>> >>> diff --git a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h >>> index e5e53b421f29..b5dfc9c9092d 100644 >>> --- a/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h >>> +++ b/drivers/gpu/drm/xe/xe_guc_exec_queue_types.h >>> @@ -13,6 +13,7 @@ >>> >>> struct dma_fence; >>> struct xe_exec_queue; >>> +struct xe_drm_dev_put_work; >>> >>> /** >>> * struct xe_guc_exec_queue - GuC specific state for an xe_exec_queue >>> @@ -35,6 +36,8 @@ struct xe_guc_exec_queue { >>> struct xe_sched_msg static_msgs[MAX_STATIC_MSG_TYPE]; >>> /** @destroy_async: do final destroy async from this worker */ >>> struct work_struct destroy_async; >>> + /** @dev_put_work: deferred drm_dev_put worker to avoid self-deadlock */ >>> + struct xe_drm_dev_put_work *dev_put_work; >>> /** @resume_time: time of last resume */ >>> u64 resume_time; >>> /** @state: GuC specific state for this xe_exec_queue */ >>> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c >>> index b29cc08e6291..d1ae4339f375 100644 >>> --- a/drivers/gpu/drm/xe/xe_guc_submit.c >>> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c >>> @@ -10,6 +10,7 @@ >>> #include <linux/circ_buf.h> >>> #include <linux/dma-fence-array.h> >>> >>> +#include <drm/drm_drv.h> >>> #include <drm/drm_managed.h> >>> >>> #include "abi/guc_actions_abi.h" >>> @@ -47,6 +48,11 @@ >>> >>> #define XE_GUC_EXEC_QUEUE_CGP_CONTEXT_ERROR_LEN 6 >>> >>> +struct xe_drm_dev_put_work { >>> + struct work_struct work; >>> + struct drm_device *drm; >>> +}; >>> + >>> static int guc_submit_reset_prepare(struct xe_guc *guc); >>> >>> static struct xe_guc * >>> @@ -1674,6 +1680,8 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) >>> xe_sched_entity_fini(&ge->entity); >>> xe_sched_fini(&ge->sched); >>> >>> + kfree(ge->dev_put_work); >>> + >>> /* >>> * RCU free due sched being exported via DRM scheduler fences >>> * (timeline name). >>> @@ -1681,20 +1689,55 @@ static void guc_exec_queue_fini(struct xe_exec_queue *q) >>> kfree_rcu(ge, rcu); >>> } >>> >>> -static void __guc_exec_queue_destroy_async(struct work_struct *w) >>> +static void xe_drm_dev_put_work_func(struct work_struct *work) >>> { >>> - 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_drm_dev_put_work *put = >>> + container_of(work, struct xe_drm_dev_put_work, work); >>> + >>> + drm_dev_put(put->drm); >>> + kfree(put); >>> +} >>> + >>> +static void guc_exec_queue_do_destroy(struct xe_exec_queue *q, bool defer_dev_put) >>> +{ >>> + 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; >>> + struct xe_drm_dev_put_work *put_work = NULL; >>> >>> - guard(xe_pm_runtime)(guc_to_xe(guc)); >>> + if (defer_dev_put) { >>> + put_work = ge->dev_put_work; >>> + ge->dev_put_work = NULL; >>> + >>> + put_work->drm = drm; >>> + INIT_WORK(&put_work->work, xe_drm_dev_put_work_func); >>> + >>> + /* >>> + * Avoid running the final drm_dev_put() from xe->destroy_wq, >>> + * since guc_submit_sw_fini() drains that queue. >>> + */ >>> + drm_dev_get(drm); >>> + } >>> + >>> + guard(xe_pm_runtime)(xe); >>> trace_xe_exec_queue_destroy(q); >>> >>> /* Confirm no work left behind accessing device structures */ >>> cancel_delayed_work_sync(&ge->sched.base.work_tdr); >>> >>> xe_exec_queue_fini(q); >>> + >>> + if (put_work) >>> + queue_work(system_dfl_wq, &put_work->work); >>> +} >>> + >>> +static void __guc_exec_queue_destroy_async(struct work_struct *w) >>> +{ >>> + struct xe_guc_exec_queue *ge = >>> + container_of(w, struct xe_guc_exec_queue, destroy_async); >>> + >>> + guc_exec_queue_do_destroy(ge->q, true); >>> } >>> >>> static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) >>> @@ -1706,7 +1749,7 @@ static void guc_exec_queue_destroy_async(struct xe_exec_queue *q) >>> >>> /* We must block on kernel engines so slabs are empty on driver unload */ >>> if (q->flags & EXEC_QUEUE_FLAG_PERMANENT || exec_queue_wedged(q)) >>> - __guc_exec_queue_destroy_async(&q->guc->destroy_async); >>> + guc_exec_queue_do_destroy(q, false); >>> else >>> queue_work(xe->destroy_wq, &q->guc->destroy_async); >>> } >>> @@ -1914,6 +1957,12 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) >>> if (!ge) >>> return -ENOMEM; >>> >>> + ge->dev_put_work = kmalloc_obj(*ge->dev_put_work, GFP_KERNEL); >>> + if (!ge->dev_put_work) { >>> + kfree(ge); >>> + return -ENOMEM; >>> + } >>> + >>> q->guc = ge; >>> ge->q = q; >>> init_rcu_head(&ge->rcu); >>> @@ -1989,6 +2038,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q) >>> err_release_id: >>> release_guc_id(guc, q); >>> err_free: >>> + kfree(ge->dev_put_work); >>> kfree(ge); >>> >>> return err; >>> -- >>> 2.43.0 >>> ^ permalink raw reply [flat|nested] 7+ messages in thread
* ✓ Xe.CI.FULL: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) 2026-06-10 12:09 [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Arvind Yadav ` (2 preceding siblings ...) 2026-06-10 16:07 ` [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Matthew Brost @ 2026-06-10 17:04 ` Patchwork 3 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2026-06-10 17:04 UTC (permalink / raw) To: Arvind Yadav; +Cc: intel-xe [-- Attachment #1: Type: text/plain, Size: 22940 bytes --] == Series Details == Series: drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) URL : https://patchwork.freedesktop.org/series/167264/ State : success == Summary == CI Bug Log - changes from xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a_FULL -> xe-pw-167264v3_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-167264v3_FULL that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0: - shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#1124]) +1 other test skip [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0.html * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip: - shard-lnl: NOTRUN -> [SKIP][2] ([Intel XE#1124]) [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs: - shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#2887]) +1 other test skip [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs.html * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs: - shard-bmg: [PASS][4] -> [INCOMPLETE][5] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-5/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html * igt@kms_chamelium_color@ctm-blue-to-red: - shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2325] / [Intel XE#7358]) [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_chamelium_color@ctm-blue-to-red.html * igt@kms_chamelium_hpd@dp-hpd-after-suspend: - shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2252]) +1 other test skip [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_chamelium_hpd@dp-hpd-after-suspend.html * igt@kms_chamelium_hpd@dp-hpd-with-enabled-mode: - shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#373]) [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_chamelium_hpd@dp-hpd-with-enabled-mode.html * igt@kms_content_protection@dp-mst-type-1-suspend-resume: - shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#6974]) [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_content_protection@dp-mst-type-1-suspend-resume.html - shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#6974]) [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_content_protection@dp-mst-type-1-suspend-resume.html * igt@kms_feature_discovery@display-4x: - shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#1138] / [Intel XE#7344]) [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_feature_discovery@display-4x.html - shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#1138] / [Intel XE#7344]) [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_feature_discovery@display-4x.html * igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible: - shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#1421]) [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible.html * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1: - shard-lnl: [PASS][14] -> [FAIL][15] ([Intel XE#301] / [Intel XE#3149]) [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html * igt@kms_flip@flip-vs-expired-vblank@b-edp1: - shard-lnl: [PASS][16] -> [FAIL][17] ([Intel XE#301]) [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html * igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-cur-indfb-draw-blt: - shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#656] / [Intel XE#7905]) [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-cur-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-render: - shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#7061] / [Intel XE#7356]) [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-render.html - shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#7061] / [Intel XE#7356]) [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-render.html * igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-plflip-blt: - shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2311]) +9 other tests skip [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-plflip-blt.html - shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#6312]) [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-plflip-blt.html * igt@kms_frontbuffer_tracking@hdr-2p-primscrn-shrfb-pgflip-blt: - shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#7905]) +4 other tests skip [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_frontbuffer_tracking@hdr-2p-primscrn-shrfb-pgflip-blt.html * igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-cur-indfb-draw-blt: - shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2313]) +10 other tests skip [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-cur-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@psrhdr-abgr161616f-draw-render: - shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#7061]) [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_frontbuffer_tracking@psrhdr-abgr161616f-draw-render.html - shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7061]) [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_frontbuffer_tracking@psrhdr-abgr161616f-draw-render.html * igt@kms_hdmi_inject@inject-4k: - shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#1470]) [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_hdmi_inject@inject-4k.html * igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f: - shard-bmg: [PASS][28] -> [SKIP][29] ([Intel XE#7915]) +3 other tests skip [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-1/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-8/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html * igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier-source-clamping: - shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#7283]) [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier-source-clamping.html - shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#7283]) [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier-source-clamping.html * igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-b: - shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-b.html * igt@kms_psr@psr-primary-page-flip: - shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2234] / [Intel XE#2850]) [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_psr@psr-primary-page-flip.html * igt@kms_setmode@basic@pipe-b-edp-1: - shard-lnl: [PASS][34] -> [FAIL][35] ([Intel XE#6361]) +2 other tests fail [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-3/igt@kms_setmode@basic@pipe-b-edp-1.html [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-3/igt@kms_setmode@basic@pipe-b-edp-1.html * igt@kms_sharpness_filter@filter-scaler-downscale: - shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#6503]) [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_sharpness_filter@filter-scaler-downscale.html * igt@xe_eudebug@basic-vm-bind-discovery: - shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#7636]) +4 other tests skip [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_eudebug@basic-vm-bind-discovery.html - shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#7636]) +2 other tests skip [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_eudebug@basic-vm-bind-discovery.html * igt@xe_eudebug_sriov@deny-eudebug: - shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#5793] / [Intel XE#7320] / [Intel XE#7464]) [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_eudebug_sriov@deny-eudebug.html * igt@xe_evict@evict-large-cm: - shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#6540] / [Intel XE#688]) +1 other test skip [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_evict@evict-large-cm.html * igt@xe_exec_balancer@many-cm-parallel-userptr-invalidate: - shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#7482]) +2 other tests skip [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_exec_balancer@many-cm-parallel-userptr-invalidate.html * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap: - shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2322] / [Intel XE#7372]) +2 other tests skip [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap.html * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-rebind: - shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#1392]) [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-rebind.html * igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate: - shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#7136]) +1 other test skip [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate.html * igt@xe_exec_fault_mode@many-multi-queue: - shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#7136]) [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_exec_fault_mode@many-multi-queue.html * igt@xe_exec_multi_queue@many-execs-basic-smem: - shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#6874]) [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_exec_multi_queue@many-execs-basic-smem.html * igt@xe_exec_multi_queue@two-queues-preempt-mode-priority: - shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#6874]) +5 other tests skip [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_exec_multi_queue@two-queues-preempt-mode-priority.html * igt@xe_exec_threads@threads-multi-queue-fd-userptr: - shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#7138]) [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_exec_threads@threads-multi-queue-fd-userptr.html * igt@xe_multigpu_svm@mgpu-pagefault-conflict: - shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#6964]) [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_multigpu_svm@mgpu-pagefault-conflict.html - shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#6964]) [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_multigpu_svm@mgpu-pagefault-conflict.html * igt@xe_page_reclaim@binds-null-vma: - shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#7793]) [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_page_reclaim@binds-null-vma.html - shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#7793]) [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_page_reclaim@binds-null-vma.html * igt@xe_pxp@pxp-src-to-pxp-dest-rendercopy: - shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#4733] / [Intel XE#7417]) [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_pxp@pxp-src-to-pxp-dest-rendercopy.html * igt@xe_sriov_auto_provisioning@exclusive-ranges: - shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#4130] / [Intel XE#7366]) [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_sriov_auto_provisioning@exclusive-ranges.html * igt@xe_sriov_scheduling@nonpreempt-engine-resets: - shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#4351] / [Intel XE#7357]) [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_sriov_scheduling@nonpreempt-engine-resets.html #### Possible fixes #### * igt@kms_vblank@ts-continuation-suspend: - shard-bmg: [INCOMPLETE][56] -> [PASS][57] +1 other test pass [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-5/igt@kms_vblank@ts-continuation-suspend.html [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@kms_vblank@ts-continuation-suspend.html * igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1: - shard-lnl: [FAIL][58] ([Intel XE#2142]) -> [PASS][59] +1 other test pass [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-8/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html * igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads: - shard-bmg: [FAIL][60] ([Intel XE#7850]) -> [PASS][61] [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-9/igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads.html [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-3/igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads.html * igt@xe_wedged@wedged-mode-toggle: - shard-bmg: [ABORT][62] ([Intel XE#8007]) -> [PASS][63] [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-4/igt@xe_wedged@wedged-mode-toggle.html [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-7/igt@xe_wedged@wedged-mode-toggle.html #### Warnings #### * igt@kms_flip@flip-vs-expired-vblank-interruptible: - shard-lnl: [FAIL][64] ([Intel XE#301]) -> [FAIL][65] ([Intel XE#301] / [Intel XE#3149]) [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html * igt@kms_tiled_display@basic-test-pattern: - shard-bmg: [SKIP][66] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][67] ([Intel XE#1729] / [Intel XE#7424]) [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-9/igt@kms_tiled_display@basic-test-pattern.html [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-3/igt@kms_tiled_display@basic-test-pattern.html * igt@kms_tiled_display@basic-test-pattern-with-chamelium: - shard-bmg: [SKIP][68] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][69] ([Intel XE#2509] / [Intel XE#7437]) [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-bmg-6/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-bmg-1/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html * igt@xe_exec_multi_queue@one-queue-preempt-mode-priority-smem: - shard-lnl: [ABORT][70] ([Intel XE#8007]) -> [SKIP][71] ([Intel XE#6874]) [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a/shard-lnl-6/igt@xe_exec_multi_queue@one-queue-preempt-mode-priority-smem.html [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/shard-lnl-4/igt@xe_exec_multi_queue@one-queue-preempt-mode-priority-smem.html [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124 [Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138 [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392 [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421 [Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470 [Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729 [Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142 [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234 [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252 [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311 [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313 [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322 [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325 [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426 [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509 [Intel XE#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#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149 [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373 [Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130 [Intel XE#4351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4351 [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733 [Intel XE#5793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5793 [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848 [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312 [Intel XE#6361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6361 [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503 [Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540 [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656 [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874 [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688 [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886 [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964 [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974 [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061 [Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084 [Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136 [Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138 [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283 [Intel XE#7320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7320 [Intel XE#7344]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7344 [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356 [Intel XE#7357]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7357 [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358 [Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366 [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372 [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417 [Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424 [Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437 [Intel XE#7464]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7464 [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482 [Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636 [Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793 [Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850 [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905 [Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915 [Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007 [Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150 Build changes ------------- * Linux: xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a -> xe-pw-167264v3 IGT_8956: 8956 xe-5230-724e06af260b571e2d970d4a806ae3d620ff0b7a: 724e06af260b571e2d970d4a806ae3d620ff0b7a xe-pw-167264v3: 167264v3 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-167264v3/index.html [-- Attachment #2: Type: text/html, Size: 26140 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-06-11 9:08 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-06-10 12:09 [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Arvind Yadav 2026-06-10 12:16 ` ✓ CI.KUnit: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork 2026-06-10 12:54 ` ✓ Xe.CI.BAT: " Patchwork 2026-06-10 16:07 ` [PATCH v2] drm/xe/guc: Avoid self-deadlock in queue destruction Matthew Brost 2026-06-10 16:23 ` Matthew Brost 2026-06-11 9:08 ` Yadav, Arvind 2026-06-10 17:04 ` ✓ Xe.CI.FULL: success for drm/xe/guc: Avoid self-deadlock in queue destruction (rev3) Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox