* [PATCH v7 0/8] Introduce Xe PCIe FLR
@ 2026-05-16 9:31 Raag Jadav
2026-05-16 9:31 ` [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware Raag Jadav
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
Here's my humble attempt at introducing PCIe Function Level Reset (FLR)
support in xe driver. This is ofcourse a half baked implementation and
only limited to re-initializing GT. This needs to be extended for a lot
of components which are expected to be added as a follow up.
Detailed description in commit message and documentation.
PS: All xe_exec_basic tests and clpeak run smoothly after FLR. Give it
a spin and let me know if any regressions.
Trigger it with:
$ echo 1 > /sys/bus/pci/devices/<BDF>/reset
v2: Re-initialize migrate context (Matthew Brost)
Add kernel doc (Matthew Brost)
Spell out Function Level Reset (Jani)
v3: Cancel in-flight jobs before FLR
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v5: Re-initialize kernel queues through submission backend (Matthew Brost)
Prevent PM ref leak for wedged device (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)
Add IS_DGFX() and EXEC_QUEUE_FLAG_KERNEL asserts (Daniele)
s/flr_done/reinit (Daniele)
Repurpose system suspend/resume helpers for FLR (Daniele)
Add PCIe FLR documentation (Daniele)
v7: Refine PCIe FLR documentation (Daniele)
Introduce xe_pci_reset_skip() helper (Lukasz)
Raag Jadav (8):
drm/xe/uc_fw: Allow re-initializing firmware
drm/xe/guc_submit: Introduce guc_exec_queue_reinit()
drm/xe/gt: Introduce FLR helpers
drm/xe/bo_evict: Introduce xe_bo_restore_map()
drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
drm/xe/migrate: Introduce xe_migrate_reinit()
drm/xe/pm: Introduce xe_device_suspend/resume()
drm/xe/pci: Introduce PCIe FLR
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_bo_evict.c | 51 ++++++--
drivers/gpu/drm/xe/xe_bo_evict.h | 2 +
drivers/gpu/drm/xe/xe_device.c | 150 +++++++++++++++++++++++
drivers/gpu/drm/xe/xe_device.h | 2 +
drivers/gpu/drm/xe/xe_device_types.h | 3 +
drivers/gpu/drm/xe/xe_exec_queue.c | 42 ++++++-
drivers/gpu/drm/xe/xe_exec_queue.h | 1 +
drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 +
drivers/gpu/drm/xe/xe_execlist.c | 6 +
drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 +
drivers/gpu/drm/xe/xe_gsc.c | 14 +++
drivers/gpu/drm/xe/xe_gsc.h | 1 +
drivers/gpu/drm/xe/xe_gt.c | 33 +++++
drivers/gpu/drm/xe/xe_gt.h | 2 +
drivers/gpu/drm/xe/xe_guc.c | 29 +++++
drivers/gpu/drm/xe/xe_guc.h | 2 +
drivers/gpu/drm/xe/xe_guc_submit.c | 13 ++
drivers/gpu/drm/xe/xe_huc.c | 14 +++
drivers/gpu/drm/xe/xe_huc.h | 1 +
drivers/gpu/drm/xe/xe_lrc.c | 17 +++
drivers/gpu/drm/xe/xe_lrc.h | 2 +
drivers/gpu/drm/xe/xe_migrate.c | 12 ++
drivers/gpu/drm/xe/xe_migrate.h | 1 +
drivers/gpu/drm/xe/xe_pci.c | 1 +
drivers/gpu/drm/xe/xe_pci.h | 2 +
drivers/gpu/drm/xe/xe_pci_error.c | 121 ++++++++++++++++++
drivers/gpu/drm/xe/xe_pm.c | 103 ++--------------
drivers/gpu/drm/xe/xe_uc.c | 72 +++++++++++
drivers/gpu/drm/xe/xe_uc.h | 2 +
drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++
drivers/gpu/drm/xe/xe_uc_fw.h | 1 +
drivers/gpu/drm/xe/xe_uc_types.h | 14 +++
33 files changed, 671 insertions(+), 107 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_pci_error.c
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 2/8] drm/xe/guc_submit: Introduce guc_exec_queue_reinit() Raag Jadav
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
In preparation of usecases which require re-initializing firmware without
reloading the driver, introduce xe_uc_fw_reinit(). The uC firmware bo
already exists but since it's contents are on VRAM, they are lost on PCIe
FLR. Copy the firmware back to it's bo and mark it as loadable as part of
re-initialization.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)
---
drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_uc_fw.h | 1 +
2 files changed, 57 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c
index df2aa196f6f9..c23c35dc2a4d 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.c
+++ b/drivers/gpu/drm/xe/xe_uc_fw.c
@@ -834,6 +834,14 @@ static int uc_fw_copy(struct xe_uc_fw *uc_fw, const void *data, size_t size, u32
return err;
}
+static void uc_fw_reinit(struct xe_uc_fw *uc_fw, const void *data)
+{
+ struct xe_device *xe = uc_fw_to_xe(uc_fw);
+
+ xe_map_memcpy_to(xe, &uc_fw->bo->vmap, 0, data, uc_fw->size);
+ xe_uc_fw_change_status(uc_fw, XE_UC_FIRMWARE_LOADABLE);
+}
+
int xe_uc_fw_init(struct xe_uc_fw *uc_fw)
{
const struct firmware *fw = NULL;
@@ -857,6 +865,54 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw)
}
ALLOW_ERROR_INJECTION(xe_uc_fw_init, ERRNO); /* See xe_pci_probe() */
+/**
+ * xe_uc_fw_reinit() - Re-initialize uC firmware into its bo
+ * @uc_fw: uC firmware
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_uc_fw_reinit(struct xe_uc_fw *uc_fw)
+{
+ struct xe_device *xe = uc_fw_to_xe(uc_fw);
+ struct xe_uc_fw_version new_fw, old_fw;
+ const struct firmware *fw = NULL;
+ int err;
+
+ /* We shouldn't be here for the firmware which wasn't loaded */
+ xe_assert(xe, xe_uc_fw_is_available(uc_fw));
+
+ old_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE];
+
+ err = firmware_request_nowarn(&fw, uc_fw->path, xe->drm.dev);
+ if (err)
+ goto fail;
+
+ err = parse_headers(uc_fw, fw);
+ if (err)
+ goto fail;
+
+ new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE];
+ if (new_fw.branch != old_fw.branch || new_fw.major != old_fw.major ||
+ new_fw.minor != old_fw.minor || new_fw.patch != old_fw.patch ||
+ new_fw.build != old_fw.build || uc_fw->size != fw->size) {
+ drm_err(&xe->drm, "%s firmware mismatch on %s",
+ xe_uc_fw_type_repr(uc_fw->type), uc_fw->path);
+
+ /*
+ * parse_headers() updates version details, so restore original
+ * version before bailing.
+ */
+ uc_fw->versions.found[XE_UC_FW_VER_RELEASE] = old_fw;
+ err = -ENOEXEC;
+ goto fail;
+ }
+
+ uc_fw_reinit(uc_fw, fw->data);
+fail:
+ uc_fw_release(fw);
+ return err;
+}
+
static u32 uc_fw_ggtt_offset(struct xe_uc_fw *uc_fw)
{
return xe_bo_ggtt_addr(uc_fw->bo);
diff --git a/drivers/gpu/drm/xe/xe_uc_fw.h b/drivers/gpu/drm/xe/xe_uc_fw.h
index bb281b72a677..9f469bf07d66 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.h
+++ b/drivers/gpu/drm/xe/xe_uc_fw.h
@@ -15,6 +15,7 @@
struct drm_printer;
int xe_uc_fw_init(struct xe_uc_fw *uc_fw);
+int xe_uc_fw_reinit(struct xe_uc_fw *uc_fw);
size_t xe_uc_fw_copy_rsa(struct xe_uc_fw *uc_fw, void *dst, u32 max_len);
int xe_uc_fw_upload(struct xe_uc_fw *uc_fw, u32 offset, u32 dma_flags);
int xe_uc_fw_check_version_requirements(struct xe_uc_fw *uc_fw);
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 2/8] drm/xe/guc_submit: Introduce guc_exec_queue_reinit()
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
2026-05-16 9:31 ` [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 3/8] drm/xe/gt: Introduce FLR helpers Raag Jadav
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
In preparation of usecases which require re-initializing GuC submission
after PCIe FLR, introduce guc_exec_queue_reinit() helper. This will restore
exec queues which might have been killed before PCIe FLR.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v5: Re-initialize kernel queues through submission backend (Matthew Brost)
---
drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 ++
drivers/gpu/drm/xe/xe_execlist.c | 6 ++++++
drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 +++++
drivers/gpu/drm/xe/xe_guc_submit.c | 13 +++++++++++++
4 files changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index 2f5ccf294675..f1e45e8f30e7 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -274,6 +274,8 @@ struct xe_exec_queue {
struct xe_exec_queue_ops {
/** @init: Initialize exec queue for submission backend */
int (*init)(struct xe_exec_queue *q);
+ /** @reinit: Re-initialize exec queue for submission backend */
+ void (*reinit)(struct xe_exec_queue *q);
/** @kill: Kill inflight submissions for backend */
void (*kill)(struct xe_exec_queue *q);
/** @fini: Undoes the init() for submission backend */
diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
index 9fb99c038ea8..1c9235a68f95 100644
--- a/drivers/gpu/drm/xe/xe_execlist.c
+++ b/drivers/gpu/drm/xe/xe_execlist.c
@@ -403,6 +403,11 @@ static void execlist_exec_queue_destroy_async(struct work_struct *w)
xe_exec_queue_fini(q);
}
+static void execlist_exec_queue_reinit(struct xe_exec_queue *q)
+{
+ /* NIY */
+}
+
static void execlist_exec_queue_kill(struct xe_exec_queue *q)
{
/* NIY */
@@ -466,6 +471,7 @@ static bool execlist_exec_queue_active(struct xe_exec_queue *q)
static const struct xe_exec_queue_ops execlist_exec_queue_ops = {
.init = execlist_exec_queue_init,
+ .reinit = execlist_exec_queue_reinit,
.kill = execlist_exec_queue_kill,
.fini = execlist_exec_queue_fini,
.destroy = execlist_exec_queue_destroy,
diff --git a/drivers/gpu/drm/xe/xe_gpu_scheduler.h b/drivers/gpu/drm/xe/xe_gpu_scheduler.h
index 664c2db56af3..1e079ca3891c 100644
--- a/drivers/gpu/drm/xe/xe_gpu_scheduler.h
+++ b/drivers/gpu/drm/xe/xe_gpu_scheduler.h
@@ -51,6 +51,11 @@ static inline void xe_sched_tdr_queue_imm(struct xe_gpu_scheduler *sched)
drm_sched_tdr_queue_imm(&sched->base);
}
+static inline void xe_sched_update_timeout(struct xe_gpu_scheduler *sched, long timeout)
+{
+ sched->base.timeout = timeout;
+}
+
static inline void xe_sched_resubmit_jobs(struct xe_gpu_scheduler *sched)
{
struct drm_sched_job *s_job;
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 4171eff4e8ad..43eb414bcb26 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -2032,6 +2032,18 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
return err;
}
+static void guc_exec_queue_reinit(struct xe_exec_queue *q)
+{
+ struct xe_gpu_scheduler *sched = &q->guc->sched;
+ long timeout = (q->vm && xe_vm_in_lr_mode(q->vm)) ? MAX_SCHEDULE_TIMEOUT :
+ msecs_to_jiffies(q->sched_props.job_timeout_ms);
+
+ xe_gt_assert(guc_to_gt(exec_queue_to_guc(q)), drm_sched_is_stopped(&sched->base));
+
+ xe_sched_update_timeout(sched, timeout);
+ atomic_set(&q->guc->state, 0);
+}
+
static void guc_exec_queue_kill(struct xe_exec_queue *q)
{
trace_xe_exec_queue_kill(q);
@@ -2274,6 +2286,7 @@ static bool guc_exec_queue_active(struct xe_exec_queue *q)
*/
static const struct xe_exec_queue_ops guc_exec_queue_ops = {
.init = guc_exec_queue_init,
+ .reinit = guc_exec_queue_reinit,
.kill = guc_exec_queue_kill,
.fini = guc_exec_queue_fini,
.destroy = guc_exec_queue_destroy,
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 3/8] drm/xe/gt: Introduce FLR helpers
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
2026-05-16 9:31 ` [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware Raag Jadav
2026-05-16 9:31 ` [PATCH v7 2/8] drm/xe/guc_submit: Introduce guc_exec_queue_reinit() Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 4/8] drm/xe/bo_evict: Introduce xe_bo_restore_map() Raag Jadav
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
In preparation of usecases which require preparing/re-initializing GT and
all its uCs before/after PCIe FLR, introduce flr_prepare/reinit() helpers.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Add kernel doc (Matthew Brost)
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v6: Add IS_DGFX() assert (Daniele)
s/flr_done/reinit (Daniele)
---
drivers/gpu/drm/xe/xe_gsc.c | 14 +++++++
drivers/gpu/drm/xe/xe_gsc.h | 1 +
drivers/gpu/drm/xe/xe_gt.c | 23 ++++++++++
drivers/gpu/drm/xe/xe_gt.h | 2 +
drivers/gpu/drm/xe/xe_guc.c | 29 +++++++++++++
drivers/gpu/drm/xe/xe_guc.h | 2 +
drivers/gpu/drm/xe/xe_huc.c | 14 +++++++
drivers/gpu/drm/xe/xe_huc.h | 1 +
drivers/gpu/drm/xe/xe_uc.c | 72 ++++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_uc.h | 2 +
drivers/gpu/drm/xe/xe_uc_types.h | 14 +++++++
11 files changed, 174 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gsc.c b/drivers/gpu/drm/xe/xe_gsc.c
index aab59dc647fb..7d5700624e46 100644
--- a/drivers/gpu/drm/xe/xe_gsc.c
+++ b/drivers/gpu/drm/xe/xe_gsc.c
@@ -549,6 +549,20 @@ void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc)
flush_work(&gsc->work);
}
+/**
+ * xe_gsc_reinit() - Re-initialize GSC after FLR
+ * @gsc: The GSC object
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_gsc_reinit(struct xe_gsc *gsc)
+{
+ if (!xe_uc_fw_is_loadable(&gsc->fw))
+ return 0;
+
+ return xe_uc_fw_reinit(&gsc->fw);
+}
+
void xe_gsc_stop_prepare(struct xe_gsc *gsc)
{
struct xe_gt *gt = gsc_to_gt(gsc);
diff --git a/drivers/gpu/drm/xe/xe_gsc.h b/drivers/gpu/drm/xe/xe_gsc.h
index b8b8e0810ad9..ce390bffb163 100644
--- a/drivers/gpu/drm/xe/xe_gsc.h
+++ b/drivers/gpu/drm/xe/xe_gsc.h
@@ -15,6 +15,7 @@ struct xe_hw_engine;
int xe_gsc_init(struct xe_gsc *gsc);
int xe_gsc_init_post_hwconfig(struct xe_gsc *gsc);
+int xe_gsc_reinit(struct xe_gsc *gsc);
void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc);
void xe_gsc_stop_prepare(struct xe_gsc *gsc);
void xe_gsc_load_start(struct xe_gsc *gsc);
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 783eb6d631b5..acc28389b0d8 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -908,6 +908,29 @@ static int do_gt_restart(struct xe_gt *gt)
return 0;
}
+/**
+ * xe_gt_flr_prepare() - Prepare GT for FLR
+ * @gt: the GT object
+ *
+ * Prepare all GT uCs for FLR.
+ */
+void xe_gt_flr_prepare(struct xe_gt *gt)
+{
+ xe_gt_sanitize(gt);
+ xe_uc_flr_prepare(>->uc);
+}
+
+/**
+ * xe_gt_reinit() - Re-initialize GT after FLR
+ * @gt: the GT object
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_gt_reinit(struct xe_gt *gt)
+{
+ return xe_uc_reinit(>->uc);
+}
+
static void gt_reset_worker(struct work_struct *w)
{
struct xe_gt *gt = container_of(w, typeof(*gt), reset.worker);
diff --git a/drivers/gpu/drm/xe/xe_gt.h b/drivers/gpu/drm/xe/xe_gt.h
index 4150aa594f05..488009b9b938 100644
--- a/drivers/gpu/drm/xe/xe_gt.h
+++ b/drivers/gpu/drm/xe/xe_gt.h
@@ -45,8 +45,10 @@ static inline bool xe_fault_inject_gt_reset(void)
}
struct xe_gt *xe_gt_alloc(struct xe_tile *tile);
+void xe_gt_flr_prepare(struct xe_gt *gt);
int xe_gt_init_early(struct xe_gt *gt);
int xe_gt_init(struct xe_gt *gt);
+int xe_gt_reinit(struct xe_gt *gt);
void xe_gt_mmio_init(struct xe_gt *gt);
void xe_gt_declare_wedged(struct xe_gt *gt);
int xe_gt_record_default_lrcs(struct xe_gt *gt);
diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index e468b638271b..ec291588c482 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -1689,6 +1689,35 @@ void xe_guc_sanitize(struct xe_guc *guc)
xe_guc_submit_disable(guc);
}
+/**
+ * xe_guc_flr_prepare() - Prepare GuC for FLR
+ * @guc: The GuC object
+ *
+ * Stop GuC submission and tear down exec queues.
+ */
+void xe_guc_flr_prepare(struct xe_guc *guc)
+{
+ if (!xe_uc_fw_is_loadable(&guc->fw))
+ return;
+
+ xe_guc_submit_stop(guc);
+ xe_guc_submit_pause_abort(guc);
+}
+
+/**
+ * xe_guc_reinit() - Re-initialize GuC after FLR
+ * @guc: The GuC object
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_guc_reinit(struct xe_guc *guc)
+{
+ if (!xe_uc_fw_is_loadable(&guc->fw))
+ return 0;
+
+ return xe_uc_fw_reinit(&guc->fw);
+}
+
int xe_guc_reset_prepare(struct xe_guc *guc)
{
return xe_guc_submit_reset_prepare(guc);
diff --git a/drivers/gpu/drm/xe/xe_guc.h b/drivers/gpu/drm/xe/xe_guc.h
index 02514914f404..0eea9277439a 100644
--- a/drivers/gpu/drm/xe/xe_guc.h
+++ b/drivers/gpu/drm/xe/xe_guc.h
@@ -32,10 +32,12 @@
struct drm_printer;
void xe_guc_comm_init_early(struct xe_guc *guc);
+void xe_guc_flr_prepare(struct xe_guc *guc);
int xe_guc_init_noalloc(struct xe_guc *guc);
int xe_guc_init(struct xe_guc *guc);
int xe_guc_init_post_hwconfig(struct xe_guc *guc);
int xe_guc_post_load_init(struct xe_guc *guc);
+int xe_guc_reinit(struct xe_guc *guc);
int xe_guc_reset(struct xe_guc *guc);
int xe_guc_upload(struct xe_guc *guc);
int xe_guc_min_load_for_hwconfig(struct xe_guc *guc);
diff --git a/drivers/gpu/drm/xe/xe_huc.c b/drivers/gpu/drm/xe/xe_huc.c
index 57afe21444b1..c73e1acbd091 100644
--- a/drivers/gpu/drm/xe/xe_huc.c
+++ b/drivers/gpu/drm/xe/xe_huc.c
@@ -296,6 +296,20 @@ void xe_huc_sanitize(struct xe_huc *huc)
xe_uc_fw_sanitize(&huc->fw);
}
+/**
+ * xe_huc_reinit() - Re-initialize HuC after FLR
+ * @huc: The HuC object
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_huc_reinit(struct xe_huc *huc)
+{
+ if (!xe_uc_fw_is_loadable(&huc->fw))
+ return 0;
+
+ return xe_uc_fw_reinit(&huc->fw);
+}
+
void xe_huc_print_info(struct xe_huc *huc, struct drm_printer *p)
{
struct xe_gt *gt = huc_to_gt(huc);
diff --git a/drivers/gpu/drm/xe/xe_huc.h b/drivers/gpu/drm/xe/xe_huc.h
index fa1c45e70443..cb1a770b4a9c 100644
--- a/drivers/gpu/drm/xe/xe_huc.h
+++ b/drivers/gpu/drm/xe/xe_huc.h
@@ -19,6 +19,7 @@ enum xe_huc_auth_types {
int xe_huc_init(struct xe_huc *huc);
int xe_huc_init_post_hwconfig(struct xe_huc *huc);
+int xe_huc_reinit(struct xe_huc *huc);
int xe_huc_upload(struct xe_huc *huc);
int xe_huc_auth(struct xe_huc *huc, enum xe_huc_auth_types type);
bool xe_huc_is_authenticated(struct xe_huc *huc, enum xe_huc_auth_types type);
diff --git a/drivers/gpu/drm/xe/xe_uc.c b/drivers/gpu/drm/xe/xe_uc.c
index 75091bde0d50..a9b2442494ec 100644
--- a/drivers/gpu/drm/xe/xe_uc.c
+++ b/drivers/gpu/drm/xe/xe_uc.c
@@ -15,6 +15,7 @@
#include "xe_guc_pc.h"
#include "xe_guc_rc.h"
#include "xe_guc_engine_activity.h"
+#include "xe_guc_submit.h"
#include "xe_huc.h"
#include "xe_sriov.h"
#include "xe_wopcm.h"
@@ -275,6 +276,77 @@ static void uc_reset_wait(struct xe_uc *uc)
goto again;
}
+static void uc_flr_prepare(struct work_struct *w)
+{
+ struct xe_uc_flr *flr = container_of(w, struct xe_uc_flr, work);
+ struct xe_uc *uc = flr->uc;
+
+ xe_assert(uc_to_xe(uc), xe_device_wedged(uc_to_xe(uc)));
+
+ xe_uc_reset_prepare(uc);
+ xe_guc_flr_prepare(&uc->guc);
+}
+
+static void uc_flr_sanitize(struct work_struct *w)
+{
+ struct xe_uc_flr *flr = container_of(w, struct xe_uc_flr, work);
+ struct xe_uc *uc = flr->uc;
+
+ /* TODO: Sanitize GSC firmware */
+ xe_assert(uc_to_xe(uc), IS_DGFX(uc_to_xe(uc)));
+
+ xe_uc_stop(uc);
+ xe_uc_sanitize(uc);
+}
+
+/**
+ * xe_uc_flr_prepare() - Prepare uCs for FLR
+ * @uc: The uC object
+ *
+ * Tear down pending work and stop all uCs.
+ */
+void xe_uc_flr_prepare(struct xe_uc *uc)
+{
+ struct xe_uc_flr flr = { .uc = uc };
+ struct xe_gt *gt = uc_to_gt(uc);
+
+ /*
+ * We'll be tearing down exec queues which signals all fences and frees the
+ * jobs but all of that happens asynchronously, so make sure we don't disrupt
+ * the scheduler while jobs are still in-flight.
+ */
+ INIT_WORK_ONSTACK(&flr.work, uc_flr_prepare);
+ queue_work(gt->ordered_wq, &flr.work);
+ flush_work(&flr.work);
+ destroy_work_on_stack(&flr.work);
+
+ INIT_WORK_ONSTACK(&flr.work, uc_flr_sanitize);
+ queue_work(gt->ordered_wq, &flr.work);
+ flush_work(&flr.work);
+ destroy_work_on_stack(&flr.work);
+}
+
+/**
+ * xe_uc_reinit() - Re-initialize uCs after FLR
+ * @uc: The uC object
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_uc_reinit(struct xe_uc *uc)
+{
+ int ret;
+
+ ret = xe_guc_reinit(&uc->guc);
+ if (ret)
+ return ret;
+
+ ret = xe_huc_reinit(&uc->huc);
+ if (ret)
+ return ret;
+
+ return xe_gsc_reinit(&uc->gsc);
+}
+
void xe_uc_suspend_prepare(struct xe_uc *uc)
{
xe_gsc_wait_for_worker_completion(&uc->gsc);
diff --git a/drivers/gpu/drm/xe/xe_uc.h b/drivers/gpu/drm/xe/xe_uc.h
index 255a54a8f876..e06f7937111f 100644
--- a/drivers/gpu/drm/xe/xe_uc.h
+++ b/drivers/gpu/drm/xe/xe_uc.h
@@ -8,10 +8,12 @@
struct xe_uc;
+void xe_uc_flr_prepare(struct xe_uc *uc);
int xe_uc_init_noalloc(struct xe_uc *uc);
int xe_uc_init(struct xe_uc *uc);
int xe_uc_init_post_hwconfig(struct xe_uc *uc);
int xe_uc_load_hw(struct xe_uc *uc);
+int xe_uc_reinit(struct xe_uc *uc);
int xe_uc_reset_prepare(struct xe_uc *uc);
void xe_uc_runtime_resume(struct xe_uc *uc);
void xe_uc_runtime_suspend(struct xe_uc *uc);
diff --git a/drivers/gpu/drm/xe/xe_uc_types.h b/drivers/gpu/drm/xe/xe_uc_types.h
index 1708379dc834..2b47382f7b3b 100644
--- a/drivers/gpu/drm/xe/xe_uc_types.h
+++ b/drivers/gpu/drm/xe/xe_uc_types.h
@@ -25,4 +25,18 @@ struct xe_uc {
struct xe_wopcm wopcm;
};
+/**
+ * struct xe_uc_flr - uC FLR teardown
+ */
+struct xe_uc_flr {
+ /** @uc: uC to schedule FLR worker on */
+ struct xe_uc *uc;
+
+ /**
+ * @work: worker for FLR teardown to be done async allowing to safely
+ * flush all code paths
+ */
+ struct work_struct work;
+};
+
#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 4/8] drm/xe/bo_evict: Introduce xe_bo_restore_map()
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (2 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 3/8] drm/xe/gt: Introduce FLR helpers Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 5/8] drm/xe/exec_queue: Introduce xe_exec_queue_reinit() Raag Jadav
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
PCIe FLR clears all hardware state along with GGTT mappings of all
existing bos. Iterate over early and late kernel bo list and restore
their GGTT mappings in hardware, so that driver can make use of them
during re-initialization after PCIe FLR.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Add kernel doc (Matthew Brost)
---
drivers/gpu/drm/xe/xe_bo_evict.c | 51 +++++++++++++++++++++++++++-----
drivers/gpu/drm/xe/xe_bo_evict.h | 2 ++
2 files changed, 45 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_bo_evict.c b/drivers/gpu/drm/xe/xe_bo_evict.c
index 7661fca7f278..fa75140c88fe 100644
--- a/drivers/gpu/drm/xe/xe_bo_evict.c
+++ b/drivers/gpu/drm/xe/xe_bo_evict.c
@@ -189,14 +189,8 @@ int xe_bo_evict_all(struct xe_device *xe)
xe_bo_evict_pinned);
}
-static int xe_bo_restore_and_map_ggtt(struct xe_bo *bo)
+static int xe_bo_map_ggtt(struct xe_bo *bo)
{
- int ret;
-
- ret = xe_bo_restore_pinned(bo);
- if (ret)
- return ret;
-
if (bo->flags & XE_BO_FLAG_GGTT) {
struct xe_tile *tile;
u8 id;
@@ -212,6 +206,41 @@ static int xe_bo_restore_and_map_ggtt(struct xe_bo *bo)
return 0;
}
+/**
+ * xe_bo_restore_map() - Restore GGTT mappings of kernel bos
+ * @xe: xe device
+ *
+ * PCIe FLR clears all hardware state along with GGTT mappings of all
+ * existing bos. Iterate over early and late kernel bo list and restore
+ * their GGTT mappings in hardware, so that driver can make use of them
+ * during re-initialization after PCIe FLR.
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_bo_restore_map(struct xe_device *xe)
+{
+ int ret;
+
+ ret = xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present,
+ &xe->pinned.early.kernel_bo_present, xe_bo_map_ggtt);
+ if (!ret)
+ ret = xe_bo_apply_to_pinned(xe, &xe->pinned.late.kernel_bo_present,
+ &xe->pinned.late.kernel_bo_present, xe_bo_map_ggtt);
+
+ return ret;
+}
+
+static int xe_bo_restore_and_map_ggtt(struct xe_bo *bo)
+{
+ int ret;
+
+ ret = xe_bo_restore_pinned(bo);
+ if (ret)
+ return ret;
+
+ return xe_bo_map_ggtt(bo);
+}
+
/**
* xe_bo_restore_early - restore early phase kernel BOs to VRAM
*
@@ -270,7 +299,13 @@ int xe_bo_restore_late(struct xe_device *xe)
return ret;
}
-static void xe_bo_pci_dev_remove_pinned(struct xe_device *xe)
+/**
+ * xe_bo_pci_dev_remove_pinned() - Unmap external bos
+ * @xe: xe device
+ *
+ * Drop dma mappings of all external pinned bos.
+ */
+void xe_bo_pci_dev_remove_pinned(struct xe_device *xe)
{
struct xe_tile *tile;
unsigned int id;
diff --git a/drivers/gpu/drm/xe/xe_bo_evict.h b/drivers/gpu/drm/xe/xe_bo_evict.h
index e8385cb7f5e9..d4f5b87243e7 100644
--- a/drivers/gpu/drm/xe/xe_bo_evict.h
+++ b/drivers/gpu/drm/xe/xe_bo_evict.h
@@ -14,7 +14,9 @@ int xe_bo_notifier_prepare_all_pinned(struct xe_device *xe);
void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe);
int xe_bo_restore_early(struct xe_device *xe);
int xe_bo_restore_late(struct xe_device *xe);
+int xe_bo_restore_map(struct xe_device *xe);
+void xe_bo_pci_dev_remove_pinned(struct xe_device *xe);
void xe_bo_pci_dev_remove_all(struct xe_device *xe);
int xe_bo_pinned_init(struct xe_device *xe);
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 5/8] drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (3 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 4/8] drm/xe/bo_evict: Introduce xe_bo_restore_map() Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit() Raag Jadav
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
In preparation of usecases which require re-initializing exec queue
after PCIe FLR, introduce xe_exec_queue_reinit() helper. All the exec
queue LCRs already exist but the context is lost on PCIe FLR and needs
re-initialization.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Re-initialize migrate context (Matthew Brost)
v6: Add IS_DGFX() and EXEC_QUEUE_FLAG_KERNEL asserts (Daniele)
---
drivers/gpu/drm/xe/xe_exec_queue.c | 42 +++++++++++++++++++++++++++---
drivers/gpu/drm/xe/xe_exec_queue.h | 1 +
drivers/gpu/drm/xe/xe_lrc.c | 17 ++++++++++++
drivers/gpu/drm/xe/xe_lrc.h | 2 ++
4 files changed, 58 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index 1b5ca3ce578a..cabce61c2b7f 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -335,9 +335,8 @@ static void __xe_exec_queue_fini(struct xe_exec_queue *q)
xe_lrc_put(q->lrc[i]);
}
-static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags)
+static u32 xe_lrc_init_flags(struct xe_exec_queue *q, u32 exec_queue_flags)
{
- int i, err;
u32 flags = 0;
/*
@@ -360,6 +359,13 @@ static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags)
if (q->flags & EXEC_QUEUE_FLAG_DISABLE_STATE_CACHE_PERF_FIX)
flags |= XE_LRC_DISABLE_STATE_CACHE_PERF_FIX;
+ return flags;
+}
+
+static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags)
+{
+ int i, err;
+
err = q->ops->init(q);
if (err)
return err;
@@ -383,8 +389,8 @@ static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags)
marker = xe_gt_sriov_vf_wait_valid_ggtt(q->gt);
- lrc = xe_lrc_create(q->hwe, q->vm, q->replay_state,
- xe_lrc_ring_size(), q->msix_vec, flags);
+ lrc = xe_lrc_create(q->hwe, q->vm, q->replay_state, xe_lrc_ring_size(),
+ q->msix_vec, xe_lrc_init_flags(q, exec_queue_flags));
if (IS_ERR(lrc)) {
err = PTR_ERR(lrc);
goto err_lrc;
@@ -406,6 +412,34 @@ static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags)
return err;
}
+/**
+ * xe_exec_queue_reinit() - Re-initialize exec queue
+ * @q: exec queue to re-initialize
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_exec_queue_reinit(struct xe_exec_queue *q)
+{
+ int i, err;
+
+ /* Re-initialization only allowed for kernel queues */
+ xe_assert(gt_to_xe(q->gt), q->flags & EXEC_QUEUE_FLAG_KERNEL);
+ /* TODO: Re-initialize GSC and PXP queues */
+ xe_assert(gt_to_xe(q->gt), IS_DGFX(gt_to_xe(q->gt)));
+
+ /* Re-initialize submission backend */
+ q->ops->reinit(q);
+
+ for (i = 0; i < q->width; i++) {
+ err = xe_lrc_reinit(q->lrc[i], q->hwe, q->vm, q->replay_state,
+ q->msix_vec, xe_lrc_init_flags(q, q->flags));
+ if (err)
+ return err;
+ }
+
+ return 0;
+}
+
/**
* xe_exec_queue_create() - Create an exec queue
* @xe: Xe device
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.h b/drivers/gpu/drm/xe/xe_exec_queue.h
index a82d99bd77bc..445867d4da26 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue.h
@@ -34,6 +34,7 @@ struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe,
void xe_exec_queue_fini(struct xe_exec_queue *q);
void xe_exec_queue_destroy(struct kref *ref);
void xe_exec_queue_assign_name(struct xe_exec_queue *q, u32 instance);
+int xe_exec_queue_reinit(struct xe_exec_queue *q);
static inline struct xe_exec_queue *
xe_exec_queue_get_unless_zero(struct xe_exec_queue *q)
diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c
index a4292a11391d..c425269893fe 100644
--- a/drivers/gpu/drm/xe/xe_lrc.c
+++ b/drivers/gpu/drm/xe/xe_lrc.c
@@ -1629,6 +1629,23 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct
return err;
}
+/**
+ * xe_lrc_reinit() - Re-initialize LRC
+ * @lrc: Pointer to the LRC
+ * @hwe: Hardware Engine
+ * @vm: The VM (address space)
+ * @replay_state: GPU hang replay state
+ * @msix_vec: MSI-X interrupt vector (for platforms that support it)
+ * @init_flags: LRC initialization flags
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_lrc_reinit(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_vm *vm,
+ void *replay_state, u16 msix_vec, u32 init_flags)
+{
+ return xe_lrc_ctx_init(lrc, hwe, vm, replay_state, msix_vec, init_flags);
+}
+
static int xe_lrc_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_vm *vm,
void *replay_state, u32 ring_size, u16 msix_vec, u32 init_flags)
{
diff --git a/drivers/gpu/drm/xe/xe_lrc.h b/drivers/gpu/drm/xe/xe_lrc.h
index 0a3a611391ee..333b11f739ea 100644
--- a/drivers/gpu/drm/xe/xe_lrc.h
+++ b/drivers/gpu/drm/xe/xe_lrc.h
@@ -56,6 +56,8 @@ struct xe_lrc_snapshot {
struct xe_lrc *xe_lrc_create(struct xe_hw_engine *hwe, struct xe_vm *vm,
void *replay_state, u32 ring_size, u16 msix_vec, u32 flags);
+int xe_lrc_reinit(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_vm *vm,
+ void *replay_state, u16 msix_vec, u32 init_flags);
void xe_lrc_destroy(struct kref *ref);
/**
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (4 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 5/8] drm/xe/exec_queue: Introduce xe_exec_queue_reinit() Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 7/8] drm/xe/pm: Introduce xe_device_suspend/resume() Raag Jadav
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
In preparation of usecases which require re-initializing migrate context
after PCIe FLR, introduce xe_migrate_reinit() helper. Migrate exec queue
and pt_bo already exist in migrate structure but since their contents live
on VRAM, they are lost on PCIe FLR and need re-initialization.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Re-initialize migrate context (Matthew Brost)
---
drivers/gpu/drm/xe/xe_gt.c | 10 ++++++++++
drivers/gpu/drm/xe/xe_migrate.c | 12 ++++++++++++
drivers/gpu/drm/xe/xe_migrate.h | 1 +
3 files changed, 23 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index acc28389b0d8..a60e04c4d885 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -928,6 +928,16 @@ void xe_gt_flr_prepare(struct xe_gt *gt)
*/
int xe_gt_reinit(struct xe_gt *gt)
{
+ int err;
+
+ if (xe_gt_is_main_type(gt)) {
+ struct xe_tile *tile = gt_to_tile(gt);
+
+ err = xe_migrate_reinit(tile->migrate);
+ if (err)
+ return err;
+ }
+
return xe_uc_reinit(>->uc);
}
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 9428dd5e7760..9e1754028e1f 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -454,6 +454,18 @@ static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m
return err;
}
+/**
+ * xe_migrate_reinit() - Re-initialize a migrate context
+ * @m: The migration context
+ *
+ * Returns: 0 on success, negative error code otherwise.
+ */
+int xe_migrate_reinit(struct xe_migrate *m)
+{
+ xe_migrate_prepare_vm(m->tile, m, m->q->vm, NULL);
+ return xe_exec_queue_reinit(m->q);
+}
+
/**
* xe_migrate_init() - Initialize a migrate context
* @m: The migration context
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index 965c45889c72..49d8c717b957 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -112,6 +112,7 @@ struct xe_migrate_pt_update {
struct xe_migrate *xe_migrate_alloc(struct xe_tile *tile);
int xe_migrate_init(struct xe_migrate *m);
+int xe_migrate_reinit(struct xe_migrate *m);
struct dma_fence *xe_migrate_to_vram(struct xe_migrate *m,
unsigned long npages,
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 7/8] drm/xe/pm: Introduce xe_device_suspend/resume()
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (5 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit() Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:31 ` [PATCH v7 8/8] drm/xe/pci: Introduce PCIe FLR Raag Jadav
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
PCIe FLR prepare/re-initialization flows pretty much reflect system
suspend/resume flows with a few notable exceptions. Repurpose existing
helpers for PCIe FLR with an explicit flag to distinguish between both
flows.
Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
v6: Repurpose system suspend/resume helpers for FLR (Daniele)
---
drivers/gpu/drm/xe/xe_device.c | 150 +++++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_device.h | 2 +
drivers/gpu/drm/xe/xe_pm.c | 103 ++--------------------
3 files changed, 160 insertions(+), 95 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 576095cf0952..6a07c026d230 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -38,6 +38,7 @@
#include "xe_force_wake.h"
#include "xe_ggtt.h"
#include "xe_gt.h"
+#include "xe_gt_idle.h"
#include "xe_gt_mcr.h"
#include "xe_gt_printk.h"
#include "xe_gt_sriov_vf.h"
@@ -65,6 +66,7 @@
#include "xe_soc_remapper.h"
#include "xe_survivability_mode.h"
#include "xe_sriov.h"
+#include "xe_sriov_vf_ccs.h"
#include "xe_svm.h"
#include "xe_sysctrl.h"
#include "xe_tile.h"
@@ -1487,3 +1489,151 @@ struct xe_vm *xe_device_asid_to_vm(struct xe_device *xe, u32 asid)
return vm;
}
+
+/**
+ * xe_device_suspend() - Common helper for system suspend and FLR prepare
+ * @xe: xe device instance
+ * @flr: indicate FLR prepare
+ *
+ * Return: 0 on success, negative error code otherwise.
+ */
+int xe_device_suspend(struct xe_device *xe, bool flr)
+{
+ struct xe_gt *gt;
+ u8 id;
+ int err;
+
+ err = xe_pxp_pm_suspend(xe->pxp);
+ if (err)
+ return err;
+
+ xe_late_bind_wait_for_worker_completion(&xe->late_bind);
+
+ for_each_gt(gt, xe, id)
+ xe_gt_suspend_prepare(gt);
+
+ if (flr) {
+ for_each_gt(gt, xe, id)
+ xe_gt_flr_prepare(gt);
+ } else {
+ xe_display_pm_suspend(xe);
+
+ /* FIXME: Super racey... */
+ err = xe_bo_evict_all(xe);
+ if (err)
+ goto err_display;
+
+ for_each_gt(gt, xe, id) {
+ err = xe_gt_suspend(gt);
+ if (err)
+ goto err_display;
+ }
+ }
+
+ xe_irq_suspend(xe);
+
+ if (flr) {
+ /* TODO: Drop all user bos */
+ xe_bo_pci_dev_remove_pinned(xe);
+
+ unmap_mapping_range(xe->drm.anon_inode->i_mapping, 0, 0, 1);
+ } else {
+ xe_display_pm_suspend_late(xe);
+
+ xe_i2c_pm_suspend(xe);
+ }
+
+ return 0;
+
+err_display:
+ xe_display_pm_resume(xe);
+ xe_pxp_pm_resume(xe->pxp);
+ return err;
+}
+
+/**
+ * xe_device_resume() - Common helper for System resume and re-initialization post FLR
+ * @xe: xe device instance
+ * @flr: indicate re-initialization post FLR
+ *
+ * Return: 0 on success
+ */
+int xe_device_resume(struct xe_device *xe, bool flr)
+{
+ struct xe_tile *tile;
+ struct xe_gt *gt;
+ u8 id;
+ int err;
+
+ for_each_gt(gt, xe, id)
+ xe_gt_idle_disable_c6(gt);
+
+ for_each_tile(tile, xe, id)
+ xe_wa_apply_tile_workarounds(tile);
+
+ err = xe_pcode_ready(xe, true);
+ if (err)
+ return err;
+
+ assert_lmem_ready(xe);
+
+ if (flr) {
+ err = xe_bo_restore_map(xe);
+ if (err)
+ return err;
+
+ for_each_gt(gt, xe, id) {
+ err = xe_gt_reinit(gt);
+ if (err)
+ return err;
+ }
+ } else {
+ xe_display_pm_resume_early(xe);
+
+ /*
+ * This only restores pinned memory which is the memory required for the
+ * GT(s) to resume.
+ */
+ err = xe_bo_restore_early(xe);
+ if (err)
+ return err;
+ }
+
+ xe_i2c_pm_resume(xe, true);
+
+ xe_sysctrl_pm_resume(xe);
+
+ xe_irq_resume(xe);
+
+ for_each_gt(gt, xe, id) {
+ err = xe_gt_resume(gt);
+ if (err)
+ break;
+ }
+
+ if (flr) {
+ if (err)
+ return err;
+ } else {
+ /*
+ * Try to bring up display before bailing from GT resume failure,
+ * so we don't leave the user clueless with a blank screen.
+ */
+ xe_display_pm_resume(xe);
+ if (err)
+ return err;
+
+ err = xe_bo_restore_late(xe);
+ if (err)
+ return err;
+
+ if (IS_VF_CCS_READY(xe))
+ xe_sriov_vf_ccs_register_context(xe);
+ }
+
+ xe_pxp_pm_resume(xe->pxp);
+
+ xe_late_bind_fw_load(&xe->late_bind);
+
+ return 0;
+}
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
index 355d69dc8f54..d1dd68c8f9ac 100644
--- a/drivers/gpu/drm/xe/xe_device.h
+++ b/drivers/gpu/drm/xe/xe_device.h
@@ -48,7 +48,9 @@ struct xe_device *xe_device_create(struct pci_dev *pdev,
int xe_device_probe_early(struct xe_device *xe);
int xe_device_probe(struct xe_device *xe);
void xe_device_remove(struct xe_device *xe);
+int xe_device_resume(struct xe_device *xe, bool flr);
void xe_device_shutdown(struct xe_device *xe);
+int xe_device_suspend(struct xe_device *xe, bool flr);
void xe_device_wmb(struct xe_device *xe);
diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index d4672eb07476..e2097e4524af 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -171,52 +171,18 @@ static void xe_rpm_lockmap_release(const struct xe_device *xe)
*/
int xe_pm_suspend(struct xe_device *xe)
{
- struct xe_gt *gt;
- u8 id;
int err;
drm_dbg(&xe->drm, "Suspending device\n");
xe_pm_block_begin_signalling();
trace_xe_pm_suspend(xe, __builtin_return_address(0));
- err = xe_pxp_pm_suspend(xe->pxp);
+ err = xe_device_suspend(xe, false);
if (err)
- goto err;
+ drm_dbg(&xe->drm, "Device suspend failed %d\n", err);
+ else
+ drm_dbg(&xe->drm, "Device suspended\n");
- xe_late_bind_wait_for_worker_completion(&xe->late_bind);
-
- for_each_gt(gt, xe, id)
- xe_gt_suspend_prepare(gt);
-
- xe_display_pm_suspend(xe);
-
- /* FIXME: Super racey... */
- err = xe_bo_evict_all(xe);
- if (err)
- goto err_display;
-
- for_each_gt(gt, xe, id) {
- err = xe_gt_suspend(gt);
- if (err)
- goto err_display;
- }
-
- xe_irq_suspend(xe);
-
- xe_display_pm_suspend_late(xe);
-
- xe_i2c_pm_suspend(xe);
-
- drm_dbg(&xe->drm, "Device suspended\n");
- xe_pm_block_end_signalling();
-
- return 0;
-
-err_display:
- xe_display_pm_resume(xe);
- xe_pxp_pm_resume(xe->pxp);
-err:
- drm_dbg(&xe->drm, "Device suspend failed %d\n", err);
xe_pm_block_end_signalling();
return err;
}
@@ -229,71 +195,18 @@ int xe_pm_suspend(struct xe_device *xe)
*/
int xe_pm_resume(struct xe_device *xe)
{
- struct xe_tile *tile;
- struct xe_gt *gt;
- u8 id;
int err;
xe_pm_block_begin_signalling();
drm_dbg(&xe->drm, "Resuming device\n");
trace_xe_pm_resume(xe, __builtin_return_address(0));
- for_each_gt(gt, xe, id)
- xe_gt_idle_disable_c6(gt);
-
- for_each_tile(tile, xe, id)
- xe_wa_apply_tile_workarounds(tile);
-
- err = xe_pcode_ready(xe, true);
- if (err)
- return err;
-
- xe_display_pm_resume_early(xe);
-
- /*
- * This only restores pinned memory which is the memory required for the
- * GT(s) to resume.
- */
- err = xe_bo_restore_early(xe);
- if (err)
- goto err;
-
- xe_i2c_pm_resume(xe, true);
-
- xe_sysctrl_pm_resume(xe);
-
- xe_irq_resume(xe);
-
- for_each_gt(gt, xe, id) {
- err = xe_gt_resume(gt);
- if (err)
- break;
- }
-
- /*
- * Try to bring up display before bailing from GT resume failure,
- * so we don't leave the user clueless with a blank screen.
- */
- xe_display_pm_resume(xe);
- if (err)
- goto err;
-
- err = xe_bo_restore_late(xe);
+ err = xe_device_resume(xe, false);
if (err)
- goto err;
-
- xe_pxp_pm_resume(xe->pxp);
-
- if (IS_VF_CCS_READY(xe))
- xe_sriov_vf_ccs_register_context(xe);
-
- xe_late_bind_fw_load(&xe->late_bind);
+ drm_dbg(&xe->drm, "Device resume failed %d\n", err);
+ else
+ drm_dbg(&xe->drm, "Device resumed\n");
- drm_dbg(&xe->drm, "Device resumed\n");
- xe_pm_block_end_signalling();
- return 0;
-err:
- drm_dbg(&xe->drm, "Device resume failed %d\n", err);
xe_pm_block_end_signalling();
return err;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 8/8] drm/xe/pci: Introduce PCIe FLR
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (6 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 7/8] drm/xe/pm: Introduce xe_device_suspend/resume() Raag Jadav
@ 2026-05-16 9:31 ` Raag Jadav
2026-05-16 9:41 ` ✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev7) Patchwork
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Raag Jadav @ 2026-05-16 9:31 UTC (permalink / raw)
To: intel-xe
Cc: matthew.brost, rodrigo.vivi, thomas.hellstrom, riana.tauro,
michal.wajdeczko, matthew.d.roper, michal.winiarski, matthew.auld,
dev, jani.nikula, lukasz.laguna, zhanjun.dong, lukas,
daniele.ceraolospurio, badal.nilawar, Raag Jadav
With bare minimum pieces in place, we can finally introduce PCIe Function
Level Reset (FLR) support which re-initializes hardware state without the
need for reloading the driver from userspace. All VRAM contents are lost
along with hardware state and driver takes care of recreating the required
kernel bos as part of re-initialization, but user still needs to recreate
user bos and reload context after PCIe FLR.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
v2: Spell out Function Level Reset (Jani)
v5: Prevent PM ref leak for wedged device (Matthew Brost)
v6: Add PCIe FLR documentation (Daniele)
v7: Refine PCIe FLR documentation (Daniele)
Introduce xe_pci_reset_skip() helper (Lukasz)
---
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_device_types.h | 3 +
drivers/gpu/drm/xe/xe_pci.c | 1 +
drivers/gpu/drm/xe/xe_pci.h | 2 +
drivers/gpu/drm/xe/xe_pci_error.c | 121 +++++++++++++++++++++++++++
5 files changed, 128 insertions(+)
create mode 100644 drivers/gpu/drm/xe/xe_pci_error.c
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index 09661f079d03..091872771e98 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -101,6 +101,7 @@ xe-y += xe_bb.o \
xe_page_reclaim.o \
xe_pat.o \
xe_pci.o \
+ xe_pci_error.o \
xe_pci_rebar.o \
xe_pcode.o \
xe_pm.o \
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 32dd2ffbc796..062fd7eb17e6 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -480,6 +480,9 @@ struct xe_device {
/** @pxp: Encapsulate Protected Xe Path support */
struct xe_pxp *pxp;
+ /** @flr_prepared: Prepared for function-reset */
+ bool flr_prepared;
+
/** @needs_flr_on_fini: requests function-reset on fini */
bool needs_flr_on_fini;
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 1243c7d8ed10..4bce90341c3c 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -1340,6 +1340,7 @@ static struct pci_driver xe_pci_driver = {
#ifdef CONFIG_PM_SLEEP
.driver.pm = &xe_pm_ops,
#endif
+ .err_handler = &xe_pci_error_handlers,
};
/**
diff --git a/drivers/gpu/drm/xe/xe_pci.h b/drivers/gpu/drm/xe/xe_pci.h
index 11bcc5fe2c5b..24e51a71a959 100644
--- a/drivers/gpu/drm/xe/xe_pci.h
+++ b/drivers/gpu/drm/xe/xe_pci.h
@@ -8,6 +8,8 @@
struct pci_dev;
+extern const struct pci_error_handlers xe_pci_error_handlers;
+
int xe_register_pci_driver(void);
void xe_unregister_pci_driver(void);
struct xe_device *xe_pci_to_pf_device(struct pci_dev *pdev);
diff --git a/drivers/gpu/drm/xe/xe_pci_error.c b/drivers/gpu/drm/xe/xe_pci_error.c
new file mode 100644
index 000000000000..9f0efe5f0ae2
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_pci_error.c
@@ -0,0 +1,121 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include "xe_device.h"
+#include "xe_printk.h"
+#include "xe_sriov_pf_helpers.h"
+
+/**
+ * DOC: PCI Error Handling
+ *
+ * Xe driver registers PCI callbacks which are called by PCI core in case of
+ * bus errors or resets.
+ *
+ * Currently only Function Level Reset (FLR) callbacks are supported. PCIe FLR
+ * wipes the VRAM and resets the state of all the hardware units. Therefore, the
+ * contents of all exec queues and BOs in VRAM are lost and the hardware needs a
+ * full re-initialization. The way Xe driver handles it, is pretty much similar
+ * to system suspend/resume flow with a few notable exceptions.
+ *
+ * Prepare phase:
+ * - Temporarily wedge the device to prevent userspace access
+ * - Kill exec queues which signals all fences and frees in-flight jobs
+ * - Stop the scheduler and all submissions to GuC
+ * - The fact that FLR is needed is because hardware could be in corrupted state
+ * and access unreliable, so skip memory eviction due to untrustworthy VRAM
+ * contents
+ * - Remove all memory mappings since VRAM contents will be lost
+ *
+ * Re-initialization phase:
+ * - Recreate kernel BOs due to skipped memory eviction in prepare phase
+ * - Restore kernel queues which were killed in prepare phase
+ * - Reload all uC firmwares
+ * - Bring up all hardware units
+ * - Unwedge the device to allow userspace access
+ *
+ * Since VRAM contents are lost, the user is expected to recreate user memory
+ * and reload context.
+ *
+ * TODO: Add PCIe error handling callbacks using similar flow.
+ *
+ * Current implementation is only limited to re-initializing GT. This needs to
+ * be extended for a lot of components listed below.
+ *
+ * - Proper re-initialization of GSC and PXP for integrated platforms
+ * - SR-IOV cases which need PF and VF synchronization
+ * - Re-initialization of all child devices registered by Xe
+ * - User memory handling and MM corner cases
+ * - Display
+ */
+
+static inline bool xe_pci_reset_skip(struct xe_device *xe)
+{
+ return !IS_DGFX(xe) || IS_SRIOV_VF(xe) || xe_sriov_pf_num_vfs(xe) || xe->info.probe_display;
+}
+
+static void xe_pci_reset_prepare(struct pci_dev *pdev)
+{
+ struct xe_device *xe = pdev_to_xe_device(pdev);
+
+ if (xe_pci_reset_skip(xe)) {
+ xe_err(xe, "PCIe FLR not supported\n");
+ return;
+ }
+
+ if (xe_device_wedged(xe)) {
+ xe_err(xe, "PCIe FLR aborted, device in unexpected state\n");
+ return;
+ }
+
+ /* Wedge the device to prevent userspace access but don't send the event yet */
+ atomic_set(&xe->wedged.flag, 1);
+
+ /*
+ * The hardware could be in corrupted state and access unreliable, but we try to
+ * update data structures and cleanup any pending work to avoid side effects during
+ * PCIe FLR. This will be similar to system suspend flow but without eviction.
+ */
+ if (xe_device_suspend(xe, true)) {
+ xe_err(xe, "Failed to prepare for PCIe FLR\n");
+ return;
+ }
+
+ xe->flr_prepared = true;
+ xe_info(xe, "Prepared for PCIe FLR\n");
+}
+
+static void xe_pci_reset_done(struct pci_dev *pdev)
+{
+ struct xe_device *xe = pdev_to_xe_device(pdev);
+
+ if (xe_pci_reset_skip(xe))
+ return;
+
+ if (!xe_device_wedged(xe) || !xe->flr_prepared)
+ return;
+
+ /* Unprepare early in case we fail */
+ xe->flr_prepared = false;
+
+ /*
+ * We already have the data structures intact, so try to re-initialize the device.
+ * This will be similar to system resume flow, except we'll also need to recreate
+ * kernel bos and restore kernel queues.
+ */
+ if (xe_device_resume(xe, true)) {
+ xe_err(xe, "Re-initialization failed\n");
+ return;
+ }
+
+ /* Unwedge to allow userspace access */
+ atomic_set(&xe->wedged.flag, 0);
+
+ xe_info(xe, "Re-initialization success\n");
+}
+
+const struct pci_error_handlers xe_pci_error_handlers = {
+ .reset_prepare = xe_pci_reset_prepare,
+ .reset_done = xe_pci_reset_done,
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* ✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev7)
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (7 preceding siblings ...)
2026-05-16 9:31 ` [PATCH v7 8/8] drm/xe/pci: Introduce PCIe FLR Raag Jadav
@ 2026-05-16 9:41 ` Patchwork
2026-05-16 9:42 ` ✓ CI.KUnit: success " Patchwork
2026-05-16 10:35 ` ✓ Xe.CI.BAT: " Patchwork
10 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-05-16 9:41 UTC (permalink / raw)
To: Raag Jadav; +Cc: intel-xe
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 32abf9cdba5b75fd5868066214e8dc29b445fdc4
Author: Raag Jadav <raag.jadav@intel.com>
Date: Sat May 16 15:01:31 2026 +0530
drm/xe/pci: Introduce PCIe FLR
With bare minimum pieces in place, we can finally introduce PCIe Function
Level Reset (FLR) support which re-initializes hardware state without the
need for reloading the driver from userspace. All VRAM contents are lost
along with hardware state and driver takes care of recreating the required
kernel bos as part of re-initialization, but user still needs to recreate
user bos and reload context after PCIe FLR.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Lukasz Laguna <lukasz.laguna@intel.com>
+ /mt/dim checkpatch d47455904378e2bd24294dae67bfc7e442f58c40 drm-intel
f0afc703fd60 drm/xe/uc_fw: Allow re-initializing firmware
7e83a1f76904 drm/xe/guc_submit: Introduce guc_exec_queue_reinit()
54fb327aa03e drm/xe/gt: Introduce FLR helpers
ae80d7d05c3c drm/xe/bo_evict: Introduce xe_bo_restore_map()
75beccdb9e28 drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
b14b58bc33d8 drm/xe/migrate: Introduce xe_migrate_reinit()
b5904dd1b3d3 drm/xe/pm: Introduce xe_device_suspend/resume()
32abf9cdba5b drm/xe/pci: Introduce PCIe FLR
-:68: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#68:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 152 lines checked
^ permalink raw reply [flat|nested] 12+ messages in thread
* ✓ CI.KUnit: success for Introduce Xe PCIe FLR (rev7)
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (8 preceding siblings ...)
2026-05-16 9:41 ` ✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev7) Patchwork
@ 2026-05-16 9:42 ` Patchwork
2026-05-16 10:35 ` ✓ Xe.CI.BAT: " Patchwork
10 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-05-16 9:42 UTC (permalink / raw)
To: Raag Jadav; +Cc: intel-xe
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[09:41:09] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[09:41:13] 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
[09:41:44] Starting KUnit Kernel (1/1)...
[09:41:44] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[09:41:45] ================== guc_buf (11 subtests) ===================
[09:41:45] [PASSED] test_smallest
[09:41:45] [PASSED] test_largest
[09:41:45] [PASSED] test_granular
[09:41:45] [PASSED] test_unique
[09:41:45] [PASSED] test_overlap
[09:41:45] [PASSED] test_reusable
[09:41:45] [PASSED] test_too_big
[09:41:45] [PASSED] test_flush
[09:41:45] [PASSED] test_lookup
[09:41:45] [PASSED] test_data
[09:41:45] [PASSED] test_class
[09:41:45] ===================== [PASSED] guc_buf =====================
[09:41:45] =================== guc_dbm (7 subtests) ===================
[09:41:45] [PASSED] test_empty
[09:41:45] [PASSED] test_default
[09:41:45] ======================== test_size ========================
[09:41:45] [PASSED] 4
[09:41:45] [PASSED] 8
[09:41:45] [PASSED] 32
[09:41:45] [PASSED] 256
[09:41:45] ==================== [PASSED] test_size ====================
[09:41:45] ======================= test_reuse ========================
[09:41:45] [PASSED] 4
[09:41:45] [PASSED] 8
[09:41:45] [PASSED] 32
[09:41:45] [PASSED] 256
[09:41:45] =================== [PASSED] test_reuse ====================
[09:41:45] =================== test_range_overlap ====================
[09:41:45] [PASSED] 4
[09:41:45] [PASSED] 8
[09:41:45] [PASSED] 32
[09:41:45] [PASSED] 256
[09:41:45] =============== [PASSED] test_range_overlap ================
[09:41:45] =================== test_range_compact ====================
[09:41:45] [PASSED] 4
[09:41:45] [PASSED] 8
[09:41:45] [PASSED] 32
[09:41:45] [PASSED] 256
[09:41:45] =============== [PASSED] test_range_compact ================
[09:41:45] ==================== test_range_spare =====================
[09:41:45] [PASSED] 4
[09:41:45] [PASSED] 8
[09:41:45] [PASSED] 32
[09:41:45] [PASSED] 256
[09:41:45] ================ [PASSED] test_range_spare =================
[09:41:45] ===================== [PASSED] guc_dbm =====================
[09:41:45] =================== guc_idm (6 subtests) ===================
[09:41:45] [PASSED] bad_init
[09:41:45] [PASSED] no_init
[09:41:45] [PASSED] init_fini
[09:41:45] [PASSED] check_used
[09:41:45] [PASSED] check_quota
[09:41:45] [PASSED] check_all
[09:41:45] ===================== [PASSED] guc_idm =====================
[09:41:45] ================== no_relay (3 subtests) ===================
[09:41:45] [PASSED] xe_drops_guc2pf_if_not_ready
[09:41:45] [PASSED] xe_drops_guc2vf_if_not_ready
[09:41:45] [PASSED] xe_rejects_send_if_not_ready
[09:41:45] ==================== [PASSED] no_relay =====================
[09:41:45] ================== pf_relay (14 subtests) ==================
[09:41:45] [PASSED] pf_rejects_guc2pf_too_short
[09:41:45] [PASSED] pf_rejects_guc2pf_too_long
[09:41:45] [PASSED] pf_rejects_guc2pf_no_payload
[09:41:45] [PASSED] pf_fails_no_payload
[09:41:45] [PASSED] pf_fails_bad_origin
[09:41:45] [PASSED] pf_fails_bad_type
[09:41:45] [PASSED] pf_txn_reports_error
[09:41:45] [PASSED] pf_txn_sends_pf2guc
[09:41:45] [PASSED] pf_sends_pf2guc
[09:41:45] [SKIPPED] pf_loopback_nop
[09:41:45] [SKIPPED] pf_loopback_echo
[09:41:45] [SKIPPED] pf_loopback_fail
[09:41:45] [SKIPPED] pf_loopback_busy
[09:41:45] [SKIPPED] pf_loopback_retry
[09:41:45] ==================== [PASSED] pf_relay =====================
[09:41:45] ================== vf_relay (3 subtests) ===================
[09:41:45] [PASSED] vf_rejects_guc2vf_too_short
[09:41:45] [PASSED] vf_rejects_guc2vf_too_long
[09:41:45] [PASSED] vf_rejects_guc2vf_no_payload
[09:41:45] ==================== [PASSED] vf_relay =====================
[09:41:45] ================ pf_gt_config (9 subtests) =================
[09:41:45] [PASSED] fair_contexts_1vf
[09:41:45] [PASSED] fair_doorbells_1vf
[09:41:45] [PASSED] fair_ggtt_1vf
[09:41:45] ====================== fair_vram_1vf ======================
[09:41:45] [PASSED] 3.50 GiB
[09:41:45] [PASSED] 11.5 GiB
[09:41:45] [PASSED] 15.5 GiB
[09:41:45] [PASSED] 31.5 GiB
[09:41:45] [PASSED] 63.5 GiB
[09:41:45] [PASSED] 1.91 GiB
[09:41:45] ================== [PASSED] fair_vram_1vf ==================
[09:41:45] ================ fair_vram_1vf_admin_only =================
[09:41:45] [PASSED] 3.50 GiB
[09:41:45] [PASSED] 11.5 GiB
[09:41:45] [PASSED] 15.5 GiB
[09:41:45] [PASSED] 31.5 GiB
[09:41:45] [PASSED] 63.5 GiB
[09:41:45] [PASSED] 1.91 GiB
[09:41:45] ============ [PASSED] fair_vram_1vf_admin_only =============
[09:41:45] ====================== fair_contexts ======================
[09:41:45] [PASSED] 1 VF
[09:41:45] [PASSED] 2 VFs
[09:41:45] [PASSED] 3 VFs
[09:41:45] [PASSED] 4 VFs
[09:41:45] [PASSED] 5 VFs
[09:41:45] [PASSED] 6 VFs
[09:41:45] [PASSED] 7 VFs
[09:41:45] [PASSED] 8 VFs
[09:41:45] [PASSED] 9 VFs
[09:41:45] [PASSED] 10 VFs
[09:41:45] [PASSED] 11 VFs
[09:41:45] [PASSED] 12 VFs
[09:41:45] [PASSED] 13 VFs
[09:41:45] [PASSED] 14 VFs
[09:41:45] [PASSED] 15 VFs
[09:41:45] [PASSED] 16 VFs
[09:41:45] [PASSED] 17 VFs
[09:41:45] [PASSED] 18 VFs
[09:41:45] [PASSED] 19 VFs
[09:41:45] [PASSED] 20 VFs
[09:41:45] [PASSED] 21 VFs
[09:41:45] [PASSED] 22 VFs
[09:41:45] [PASSED] 23 VFs
[09:41:45] [PASSED] 24 VFs
[09:41:45] [PASSED] 25 VFs
[09:41:45] [PASSED] 26 VFs
[09:41:45] [PASSED] 27 VFs
[09:41:45] [PASSED] 28 VFs
[09:41:45] [PASSED] 29 VFs
[09:41:45] [PASSED] 30 VFs
[09:41:45] [PASSED] 31 VFs
[09:41:45] [PASSED] 32 VFs
[09:41:45] [PASSED] 33 VFs
[09:41:45] [PASSED] 34 VFs
[09:41:45] [PASSED] 35 VFs
[09:41:45] [PASSED] 36 VFs
[09:41:45] [PASSED] 37 VFs
[09:41:45] [PASSED] 38 VFs
[09:41:45] [PASSED] 39 VFs
[09:41:45] [PASSED] 40 VFs
[09:41:45] [PASSED] 41 VFs
[09:41:45] [PASSED] 42 VFs
[09:41:45] [PASSED] 43 VFs
[09:41:45] [PASSED] 44 VFs
[09:41:45] [PASSED] 45 VFs
[09:41:45] [PASSED] 46 VFs
[09:41:45] [PASSED] 47 VFs
[09:41:45] [PASSED] 48 VFs
[09:41:45] [PASSED] 49 VFs
[09:41:45] [PASSED] 50 VFs
[09:41:45] [PASSED] 51 VFs
[09:41:45] [PASSED] 52 VFs
[09:41:45] [PASSED] 53 VFs
[09:41:45] [PASSED] 54 VFs
[09:41:45] [PASSED] 55 VFs
[09:41:45] [PASSED] 56 VFs
[09:41:45] [PASSED] 57 VFs
[09:41:45] [PASSED] 58 VFs
[09:41:45] [PASSED] 59 VFs
[09:41:45] [PASSED] 60 VFs
[09:41:45] [PASSED] 61 VFs
[09:41:45] [PASSED] 62 VFs
[09:41:45] [PASSED] 63 VFs
[09:41:45] ================== [PASSED] fair_contexts ==================
[09:41:45] ===================== fair_doorbells ======================
[09:41:45] [PASSED] 1 VF
[09:41:45] [PASSED] 2 VFs
[09:41:45] [PASSED] 3 VFs
[09:41:45] [PASSED] 4 VFs
[09:41:45] [PASSED] 5 VFs
[09:41:45] [PASSED] 6 VFs
[09:41:45] [PASSED] 7 VFs
[09:41:45] [PASSED] 8 VFs
[09:41:45] [PASSED] 9 VFs
[09:41:45] [PASSED] 10 VFs
[09:41:45] [PASSED] 11 VFs
[09:41:45] [PASSED] 12 VFs
[09:41:45] [PASSED] 13 VFs
[09:41:45] [PASSED] 14 VFs
[09:41:45] [PASSED] 15 VFs
[09:41:45] [PASSED] 16 VFs
[09:41:45] [PASSED] 17 VFs
[09:41:45] [PASSED] 18 VFs
[09:41:45] [PASSED] 19 VFs
[09:41:45] [PASSED] 20 VFs
[09:41:45] [PASSED] 21 VFs
[09:41:45] [PASSED] 22 VFs
[09:41:45] [PASSED] 23 VFs
[09:41:45] [PASSED] 24 VFs
[09:41:45] [PASSED] 25 VFs
[09:41:45] [PASSED] 26 VFs
[09:41:45] [PASSED] 27 VFs
[09:41:45] [PASSED] 28 VFs
[09:41:45] [PASSED] 29 VFs
[09:41:45] [PASSED] 30 VFs
[09:41:45] [PASSED] 31 VFs
[09:41:45] [PASSED] 32 VFs
[09:41:45] [PASSED] 33 VFs
[09:41:45] [PASSED] 34 VFs
[09:41:45] [PASSED] 35 VFs
[09:41:45] [PASSED] 36 VFs
[09:41:45] [PASSED] 37 VFs
[09:41:45] [PASSED] 38 VFs
[09:41:45] [PASSED] 39 VFs
[09:41:45] [PASSED] 40 VFs
[09:41:45] [PASSED] 41 VFs
[09:41:45] [PASSED] 42 VFs
[09:41:45] [PASSED] 43 VFs
[09:41:45] [PASSED] 44 VFs
[09:41:45] [PASSED] 45 VFs
[09:41:45] [PASSED] 46 VFs
[09:41:45] [PASSED] 47 VFs
[09:41:45] [PASSED] 48 VFs
[09:41:45] [PASSED] 49 VFs
[09:41:45] [PASSED] 50 VFs
[09:41:45] [PASSED] 51 VFs
[09:41:45] [PASSED] 52 VFs
[09:41:45] [PASSED] 53 VFs
[09:41:45] [PASSED] 54 VFs
[09:41:45] [PASSED] 55 VFs
[09:41:45] [PASSED] 56 VFs
[09:41:45] [PASSED] 57 VFs
[09:41:45] [PASSED] 58 VFs
[09:41:45] [PASSED] 59 VFs
[09:41:45] [PASSED] 60 VFs
[09:41:45] [PASSED] 61 VFs
[09:41:45] [PASSED] 62 VFs
[09:41:45] [PASSED] 63 VFs
[09:41:45] ================= [PASSED] fair_doorbells ==================
[09:41:45] ======================== fair_ggtt ========================
[09:41:45] [PASSED] 1 VF
[09:41:45] [PASSED] 2 VFs
[09:41:45] [PASSED] 3 VFs
[09:41:45] [PASSED] 4 VFs
[09:41:45] [PASSED] 5 VFs
[09:41:45] [PASSED] 6 VFs
[09:41:45] [PASSED] 7 VFs
[09:41:45] [PASSED] 8 VFs
[09:41:45] [PASSED] 9 VFs
[09:41:45] [PASSED] 10 VFs
[09:41:45] [PASSED] 11 VFs
[09:41:45] [PASSED] 12 VFs
[09:41:45] [PASSED] 13 VFs
[09:41:45] [PASSED] 14 VFs
[09:41:45] [PASSED] 15 VFs
[09:41:45] [PASSED] 16 VFs
[09:41:45] [PASSED] 17 VFs
[09:41:45] [PASSED] 18 VFs
[09:41:45] [PASSED] 19 VFs
[09:41:45] [PASSED] 20 VFs
[09:41:45] [PASSED] 21 VFs
[09:41:45] [PASSED] 22 VFs
[09:41:45] [PASSED] 23 VFs
[09:41:45] [PASSED] 24 VFs
[09:41:45] [PASSED] 25 VFs
[09:41:45] [PASSED] 26 VFs
[09:41:45] [PASSED] 27 VFs
[09:41:45] [PASSED] 28 VFs
[09:41:45] [PASSED] 29 VFs
[09:41:45] [PASSED] 30 VFs
[09:41:45] [PASSED] 31 VFs
[09:41:45] [PASSED] 32 VFs
[09:41:45] [PASSED] 33 VFs
[09:41:45] [PASSED] 34 VFs
[09:41:45] [PASSED] 35 VFs
[09:41:45] [PASSED] 36 VFs
[09:41:45] [PASSED] 37 VFs
[09:41:45] [PASSED] 38 VFs
[09:41:45] [PASSED] 39 VFs
[09:41:45] [PASSED] 40 VFs
[09:41:45] [PASSED] 41 VFs
[09:41:45] [PASSED] 42 VFs
[09:41:45] [PASSED] 43 VFs
[09:41:45] [PASSED] 44 VFs
[09:41:45] [PASSED] 45 VFs
[09:41:45] [PASSED] 46 VFs
[09:41:45] [PASSED] 47 VFs
[09:41:45] [PASSED] 48 VFs
[09:41:45] [PASSED] 49 VFs
[09:41:45] [PASSED] 50 VFs
[09:41:45] [PASSED] 51 VFs
[09:41:45] [PASSED] 52 VFs
[09:41:45] [PASSED] 53 VFs
[09:41:45] [PASSED] 54 VFs
[09:41:45] [PASSED] 55 VFs
[09:41:45] [PASSED] 56 VFs
[09:41:45] [PASSED] 57 VFs
[09:41:45] [PASSED] 58 VFs
[09:41:45] [PASSED] 59 VFs
[09:41:45] [PASSED] 60 VFs
[09:41:45] [PASSED] 61 VFs
[09:41:45] [PASSED] 62 VFs
[09:41:45] [PASSED] 63 VFs
[09:41:45] ==================== [PASSED] fair_ggtt ====================
[09:41:45] ======================== fair_vram ========================
[09:41:45] [PASSED] 1 VF
[09:41:45] [PASSED] 2 VFs
[09:41:45] [PASSED] 3 VFs
[09:41:45] [PASSED] 4 VFs
[09:41:45] [PASSED] 5 VFs
[09:41:45] [PASSED] 6 VFs
[09:41:45] [PASSED] 7 VFs
[09:41:45] [PASSED] 8 VFs
[09:41:45] [PASSED] 9 VFs
[09:41:45] [PASSED] 10 VFs
[09:41:45] [PASSED] 11 VFs
[09:41:45] [PASSED] 12 VFs
[09:41:45] [PASSED] 13 VFs
[09:41:45] [PASSED] 14 VFs
[09:41:45] [PASSED] 15 VFs
[09:41:45] [PASSED] 16 VFs
[09:41:45] [PASSED] 17 VFs
[09:41:45] [PASSED] 18 VFs
[09:41:45] [PASSED] 19 VFs
[09:41:45] [PASSED] 20 VFs
[09:41:45] [PASSED] 21 VFs
[09:41:45] [PASSED] 22 VFs
[09:41:45] [PASSED] 23 VFs
[09:41:45] [PASSED] 24 VFs
[09:41:45] [PASSED] 25 VFs
[09:41:45] [PASSED] 26 VFs
[09:41:45] [PASSED] 27 VFs
[09:41:45] [PASSED] 28 VFs
[09:41:45] [PASSED] 29 VFs
[09:41:45] [PASSED] 30 VFs
[09:41:45] [PASSED] 31 VFs
[09:41:45] [PASSED] 32 VFs
[09:41:45] [PASSED] 33 VFs
[09:41:45] [PASSED] 34 VFs
[09:41:45] [PASSED] 35 VFs
[09:41:45] [PASSED] 36 VFs
[09:41:45] [PASSED] 37 VFs
[09:41:45] [PASSED] 38 VFs
[09:41:45] [PASSED] 39 VFs
[09:41:45] [PASSED] 40 VFs
[09:41:45] [PASSED] 41 VFs
[09:41:45] [PASSED] 42 VFs
[09:41:45] [PASSED] 43 VFs
[09:41:45] [PASSED] 44 VFs
[09:41:45] [PASSED] 45 VFs
[09:41:45] [PASSED] 46 VFs
[09:41:45] [PASSED] 47 VFs
[09:41:45] [PASSED] 48 VFs
[09:41:45] [PASSED] 49 VFs
[09:41:45] [PASSED] 50 VFs
[09:41:45] [PASSED] 51 VFs
[09:41:45] [PASSED] 52 VFs
[09:41:45] [PASSED] 53 VFs
[09:41:45] [PASSED] 54 VFs
[09:41:45] [PASSED] 55 VFs
[09:41:45] [PASSED] 56 VFs
[09:41:45] [PASSED] 57 VFs
[09:41:45] [PASSED] 58 VFs
[09:41:45] [PASSED] 59 VFs
[09:41:45] [PASSED] 60 VFs
[09:41:45] [PASSED] 61 VFs
[09:41:45] [PASSED] 62 VFs
[09:41:45] [PASSED] 63 VFs
[09:41:45] ==================== [PASSED] fair_vram ====================
[09:41:45] ================== [PASSED] pf_gt_config ===================
[09:41:45] ===================== lmtt (1 subtest) =====================
[09:41:45] ======================== test_ops =========================
[09:41:45] [PASSED] 2-level
[09:41:45] [PASSED] multi-level
[09:41:45] ==================== [PASSED] test_ops =====================
[09:41:45] ====================== [PASSED] lmtt =======================
[09:41:45] ================= pf_service (11 subtests) =================
[09:41:45] [PASSED] pf_negotiate_any
[09:41:45] [PASSED] pf_negotiate_base_match
[09:41:45] [PASSED] pf_negotiate_base_newer
[09:41:45] [PASSED] pf_negotiate_base_next
[09:41:45] [SKIPPED] pf_negotiate_base_older
[09:41:45] [PASSED] pf_negotiate_base_prev
[09:41:45] [PASSED] pf_negotiate_latest_match
[09:41:45] [PASSED] pf_negotiate_latest_newer
[09:41:45] [PASSED] pf_negotiate_latest_next
[09:41:45] [SKIPPED] pf_negotiate_latest_older
[09:41:45] [SKIPPED] pf_negotiate_latest_prev
[09:41:45] =================== [PASSED] pf_service ====================
[09:41:45] ================= xe_guc_g2g (2 subtests) ==================
[09:41:45] ============== xe_live_guc_g2g_kunit_default ==============
[09:41:45] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[09:41:45] ============== xe_live_guc_g2g_kunit_allmem ===============
[09:41:45] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[09:41:45] =================== [SKIPPED] xe_guc_g2g ===================
[09:41:45] =================== xe_mocs (2 subtests) ===================
[09:41:45] ================ xe_live_mocs_kernel_kunit ================
[09:41:45] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[09:41:45] ================ xe_live_mocs_reset_kunit =================
[09:41:45] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[09:41:45] ==================== [SKIPPED] xe_mocs =====================
[09:41:45] ================= xe_migrate (2 subtests) ==================
[09:41:45] ================= xe_migrate_sanity_kunit =================
[09:41:45] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[09:41:45] ================== xe_validate_ccs_kunit ==================
[09:41:45] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[09:41:45] =================== [SKIPPED] xe_migrate ===================
[09:41:45] ================== xe_dma_buf (1 subtest) ==================
[09:41:45] ==================== xe_dma_buf_kunit =====================
[09:41:45] ================ [SKIPPED] xe_dma_buf_kunit ================
[09:41:45] =================== [SKIPPED] xe_dma_buf ===================
[09:41:45] ================= xe_bo_shrink (1 subtest) =================
[09:41:45] =================== xe_bo_shrink_kunit ====================
[09:41:45] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[09:41:45] ================== [SKIPPED] xe_bo_shrink ==================
[09:41:45] ==================== xe_bo (2 subtests) ====================
[09:41:45] ================== xe_ccs_migrate_kunit ===================
[09:41:45] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[09:41:45] ==================== xe_bo_evict_kunit ====================
[09:41:45] =============== [SKIPPED] xe_bo_evict_kunit ================
[09:41:45] ===================== [SKIPPED] xe_bo ======================
[09:41:45] ==================== args (13 subtests) ====================
[09:41:45] [PASSED] count_args_test
[09:41:45] [PASSED] call_args_example
[09:41:45] [PASSED] call_args_test
[09:41:45] [PASSED] drop_first_arg_example
[09:41:45] [PASSED] drop_first_arg_test
[09:41:45] [PASSED] first_arg_example
[09:41:45] [PASSED] first_arg_test
[09:41:45] [PASSED] last_arg_example
[09:41:45] [PASSED] last_arg_test
[09:41:45] [PASSED] pick_arg_example
[09:41:45] [PASSED] if_args_example
[09:41:45] [PASSED] if_args_test
[09:41:45] [PASSED] sep_comma_example
[09:41:45] ====================== [PASSED] args =======================
[09:41:45] =================== xe_pci (3 subtests) ====================
[09:41:45] ==================== check_graphics_ip ====================
[09:41:45] [PASSED] 12.00 Xe_LP
[09:41:45] [PASSED] 12.10 Xe_LP+
[09:41:45] [PASSED] 12.55 Xe_HPG
[09:41:45] [PASSED] 12.60 Xe_HPC
[09:41:45] [PASSED] 12.70 Xe_LPG
[09:41:45] [PASSED] 12.71 Xe_LPG
[09:41:45] [PASSED] 12.74 Xe_LPG+
[09:41:45] [PASSED] 20.01 Xe2_HPG
[09:41:45] [PASSED] 20.02 Xe2_HPG
[09:41:45] [PASSED] 20.04 Xe2_LPG
[09:41:45] [PASSED] 30.00 Xe3_LPG
[09:41:45] [PASSED] 30.01 Xe3_LPG
[09:41:45] [PASSED] 30.03 Xe3_LPG
[09:41:45] [PASSED] 30.04 Xe3_LPG
[09:41:45] [PASSED] 30.05 Xe3_LPG
[09:41:45] [PASSED] 35.10 Xe3p_LPG
[09:41:45] [PASSED] 35.11 Xe3p_XPC
[09:41:45] ================ [PASSED] check_graphics_ip ================
[09:41:45] ===================== check_media_ip ======================
[09:41:45] [PASSED] 12.00 Xe_M
[09:41:45] [PASSED] 12.55 Xe_HPM
[09:41:45] [PASSED] 13.00 Xe_LPM+
[09:41:45] [PASSED] 13.01 Xe2_HPM
[09:41:45] [PASSED] 20.00 Xe2_LPM
[09:41:45] [PASSED] 30.00 Xe3_LPM
[09:41:45] [PASSED] 30.02 Xe3_LPM
[09:41:45] [PASSED] 35.00 Xe3p_LPM
[09:41:45] [PASSED] 35.03 Xe3p_HPM
[09:41:45] ================= [PASSED] check_media_ip ==================
[09:41:45] =================== check_platform_desc ===================
[09:41:45] [PASSED] 0x9A60 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A68 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A70 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A40 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A49 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A59 (TIGERLAKE)
[09:41:45] [PASSED] 0x9A78 (TIGERLAKE)
[09:41:45] [PASSED] 0x9AC0 (TIGERLAKE)
[09:41:45] [PASSED] 0x9AC9 (TIGERLAKE)
[09:41:45] [PASSED] 0x9AD9 (TIGERLAKE)
[09:41:45] [PASSED] 0x9AF8 (TIGERLAKE)
[09:41:45] [PASSED] 0x4C80 (ROCKETLAKE)
[09:41:45] [PASSED] 0x4C8A (ROCKETLAKE)
[09:41:45] [PASSED] 0x4C8B (ROCKETLAKE)
[09:41:45] [PASSED] 0x4C8C (ROCKETLAKE)
[09:41:45] [PASSED] 0x4C90 (ROCKETLAKE)
[09:41:45] [PASSED] 0x4C9A (ROCKETLAKE)
[09:41:45] [PASSED] 0x4680 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4682 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4688 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x468A (ALDERLAKE_S)
[09:41:45] [PASSED] 0x468B (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4690 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4692 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4693 (ALDERLAKE_S)
[09:41:45] [PASSED] 0x46A0 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46A1 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46A2 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46A3 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46A6 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46A8 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46AA (ALDERLAKE_P)
[09:41:45] [PASSED] 0x462A (ALDERLAKE_P)
[09:41:45] [PASSED] 0x4626 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x4628 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46B0 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46B1 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46B2 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46B3 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46C0 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46C1 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46C2 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46C3 (ALDERLAKE_P)
[09:41:45] [PASSED] 0x46D0 (ALDERLAKE_N)
[09:41:45] [PASSED] 0x46D1 (ALDERLAKE_N)
[09:41:45] [PASSED] 0x46D2 (ALDERLAKE_N)
[09:41:45] [PASSED] 0x46D3 (ALDERLAKE_N)
[09:41:45] [PASSED] 0x46D4 (ALDERLAKE_N)
[09:41:45] [PASSED] 0xA721 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7A1 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7A9 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7AC (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7AD (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA720 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7A0 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7A8 (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7AA (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA7AB (ALDERLAKE_P)
[09:41:45] [PASSED] 0xA780 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA781 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA782 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA783 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA788 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA789 (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA78A (ALDERLAKE_S)
[09:41:45] [PASSED] 0xA78B (ALDERLAKE_S)
[09:41:45] [PASSED] 0x4905 (DG1)
[09:41:45] [PASSED] 0x4906 (DG1)
[09:41:45] [PASSED] 0x4907 (DG1)
[09:41:45] [PASSED] 0x4908 (DG1)
[09:41:45] [PASSED] 0x4909 (DG1)
[09:41:45] [PASSED] 0x56C0 (DG2)
[09:41:45] [PASSED] 0x56C2 (DG2)
[09:41:45] [PASSED] 0x56C1 (DG2)
[09:41:45] [PASSED] 0x7D51 (METEORLAKE)
[09:41:45] [PASSED] 0x7DD1 (METEORLAKE)
[09:41:45] [PASSED] 0x7D41 (METEORLAKE)
[09:41:45] [PASSED] 0x7D67 (METEORLAKE)
[09:41:45] [PASSED] 0xB640 (METEORLAKE)
[09:41:45] [PASSED] 0x56A0 (DG2)
[09:41:45] [PASSED] 0x56A1 (DG2)
[09:41:45] [PASSED] 0x56A2 (DG2)
[09:41:45] [PASSED] 0x56BE (DG2)
[09:41:45] [PASSED] 0x56BF (DG2)
[09:41:45] [PASSED] 0x5690 (DG2)
[09:41:45] [PASSED] 0x5691 (DG2)
[09:41:45] [PASSED] 0x5692 (DG2)
[09:41:45] [PASSED] 0x56A5 (DG2)
[09:41:45] [PASSED] 0x56A6 (DG2)
[09:41:45] [PASSED] 0x56B0 (DG2)
[09:41:45] [PASSED] 0x56B1 (DG2)
[09:41:45] [PASSED] 0x56BA (DG2)
[09:41:45] [PASSED] 0x56BB (DG2)
[09:41:45] [PASSED] 0x56BC (DG2)
[09:41:45] [PASSED] 0x56BD (DG2)
[09:41:45] [PASSED] 0x5693 (DG2)
[09:41:45] [PASSED] 0x5694 (DG2)
[09:41:45] [PASSED] 0x5695 (DG2)
[09:41:45] [PASSED] 0x56A3 (DG2)
[09:41:45] [PASSED] 0x56A4 (DG2)
[09:41:45] [PASSED] 0x56B2 (DG2)
[09:41:45] [PASSED] 0x56B3 (DG2)
[09:41:45] [PASSED] 0x5696 (DG2)
[09:41:45] [PASSED] 0x5697 (DG2)
[09:41:45] [PASSED] 0xB69 (PVC)
[09:41:45] [PASSED] 0xB6E (PVC)
[09:41:45] [PASSED] 0xBD4 (PVC)
[09:41:45] [PASSED] 0xBD5 (PVC)
[09:41:45] [PASSED] 0xBD6 (PVC)
[09:41:45] [PASSED] 0xBD7 (PVC)
[09:41:45] [PASSED] 0xBD8 (PVC)
[09:41:45] [PASSED] 0xBD9 (PVC)
[09:41:45] [PASSED] 0xBDA (PVC)
[09:41:45] [PASSED] 0xBDB (PVC)
[09:41:45] [PASSED] 0xBE0 (PVC)
[09:41:45] [PASSED] 0xBE1 (PVC)
[09:41:45] [PASSED] 0xBE5 (PVC)
[09:41:45] [PASSED] 0x7D40 (METEORLAKE)
[09:41:45] [PASSED] 0x7D45 (METEORLAKE)
[09:41:45] [PASSED] 0x7D55 (METEORLAKE)
[09:41:45] [PASSED] 0x7D60 (METEORLAKE)
[09:41:45] [PASSED] 0x7DD5 (METEORLAKE)
[09:41:45] [PASSED] 0x6420 (LUNARLAKE)
[09:41:45] [PASSED] 0x64A0 (LUNARLAKE)
[09:41:45] [PASSED] 0x64B0 (LUNARLAKE)
[09:41:45] [PASSED] 0xE202 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE209 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE20B (BATTLEMAGE)
[09:41:45] [PASSED] 0xE20C (BATTLEMAGE)
[09:41:45] [PASSED] 0xE20D (BATTLEMAGE)
[09:41:45] [PASSED] 0xE210 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE211 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE212 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE216 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE220 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE221 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE222 (BATTLEMAGE)
[09:41:45] [PASSED] 0xE223 (BATTLEMAGE)
[09:41:45] [PASSED] 0xB080 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB081 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB082 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB083 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB084 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB085 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB086 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB087 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB08F (PANTHERLAKE)
[09:41:45] [PASSED] 0xB090 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB0A0 (PANTHERLAKE)
[09:41:45] [PASSED] 0xB0B0 (PANTHERLAKE)
[09:41:45] [PASSED] 0xFD80 (PANTHERLAKE)
[09:41:45] [PASSED] 0xFD81 (PANTHERLAKE)
[09:41:45] [PASSED] 0xD740 (NOVALAKE_S)
[09:41:45] [PASSED] 0xD741 (NOVALAKE_S)
[09:41:45] [PASSED] 0xD742 (NOVALAKE_S)
[09:41:45] [PASSED] 0xD743 (NOVALAKE_S)
[09:41:45] [PASSED] 0xD744 (NOVALAKE_S)
[09:41:45] [PASSED] 0xD745 (NOVALAKE_S)
[09:41:45] [PASSED] 0x674C (CRESCENTISLAND)
[09:41:45] [PASSED] 0x674D (CRESCENTISLAND)
[09:41:45] [PASSED] 0x674E (CRESCENTISLAND)
[09:41:45] [PASSED] 0x674F (CRESCENTISLAND)
[09:41:45] [PASSED] 0x6750 (CRESCENTISLAND)
[09:41:45] [PASSED] 0xD750 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD751 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD752 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD753 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD754 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD755 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD756 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD757 (NOVALAKE_P)
[09:41:45] [PASSED] 0xD75F (NOVALAKE_P)
[09:41:45] =============== [PASSED] check_platform_desc ===============
[09:41:45] ===================== [PASSED] xe_pci ======================
[09:41:45] =================== xe_rtp (2 subtests) ====================
[09:41:45] =============== xe_rtp_process_to_sr_tests ================
[09:41:45] [PASSED] coalesce-same-reg
[09:41:45] [PASSED] no-match-no-add
[09:41:45] [PASSED] match-or
[09:41:45] [PASSED] match-or-xfail
[09:41:45] [PASSED] no-match-no-add-multiple-rules
[09:41:45] [PASSED] two-regs-two-entries
[09:41:45] [PASSED] clr-one-set-other
[09:41:45] [PASSED] set-field
[09:41:45] [PASSED] conflict-duplicate
[09:41:45] [PASSED] conflict-not-disjoint
[09:41:45] [PASSED] conflict-reg-type
[09:41:45] [PASSED] bad-mcr-reg-forced-to-regular
[09:41:45] [PASSED] bad-regular-reg-forced-to-mcr
[09:41:45] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[09:41:45] ================== xe_rtp_process_tests ===================
[09:41:45] [PASSED] active1
[09:41:45] [PASSED] active2
[09:41:45] [PASSED] active-inactive
[09:41:45] [PASSED] inactive-active
[09:41:45] [PASSED] inactive-1st_or_active-inactive
[09:41:45] [PASSED] inactive-2nd_or_active-inactive
[09:41:45] [PASSED] inactive-last_or_active-inactive
[09:41:45] [PASSED] inactive-no_or_active-inactive
[09:41:45] ============== [PASSED] xe_rtp_process_tests ===============
[09:41:45] ===================== [PASSED] xe_rtp ======================
[09:41:45] ==================== xe_wa (1 subtest) =====================
[09:41:45] ======================== xe_wa_gt =========================
[09:41:45] [PASSED] TIGERLAKE B0
[09:41:45] [PASSED] DG1 A0
[09:41:45] [PASSED] DG1 B0
[09:41:45] [PASSED] ALDERLAKE_S A0
[09:41:45] [PASSED] ALDERLAKE_S B0
[09:41:45] [PASSED] ALDERLAKE_S C0
[09:41:45] [PASSED] ALDERLAKE_S D0
[09:41:45] [PASSED] ALDERLAKE_P A0
[09:41:45] [PASSED] ALDERLAKE_P B0
[09:41:45] [PASSED] ALDERLAKE_P C0
[09:41:45] [PASSED] ALDERLAKE_S RPLS D0
[09:41:45] [PASSED] ALDERLAKE_P RPLU E0
[09:41:45] [PASSED] DG2 G10 C0
[09:41:45] [PASSED] DG2 G11 B1
[09:41:45] [PASSED] DG2 G12 A1
[09:41:45] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[09:41:45] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[09:41:45] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[09:41:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[09:41:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[09:41:45] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[09:41:45] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[09:41:45] ==================== [PASSED] xe_wa_gt =====================
[09:41:45] ====================== [PASSED] xe_wa ======================
[09:41:45] ============================================================
[09:41:45] Testing complete. Ran 603 tests: passed: 585, skipped: 18
[09:41:45] Elapsed time: 36.145s total, 4.236s configuring, 31.243s building, 0.609s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[09:41:45] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[09:41:47] 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
[09:42:11] Starting KUnit Kernel (1/1)...
[09:42:11] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[09:42:11] ============ drm_test_pick_cmdline (2 subtests) ============
[09:42:11] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[09:42:11] =============== drm_test_pick_cmdline_named ===============
[09:42:11] [PASSED] NTSC
[09:42:11] [PASSED] NTSC-J
[09:42:11] [PASSED] PAL
[09:42:11] [PASSED] PAL-M
[09:42:11] =========== [PASSED] drm_test_pick_cmdline_named ===========
[09:42:11] ============== [PASSED] drm_test_pick_cmdline ==============
[09:42:11] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[09:42:11] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[09:42:11] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[09:42:11] =========== drm_validate_clone_mode (2 subtests) ===========
[09:42:11] ============== drm_test_check_in_clone_mode ===============
[09:42:11] [PASSED] in_clone_mode
[09:42:11] [PASSED] not_in_clone_mode
[09:42:11] ========== [PASSED] drm_test_check_in_clone_mode ===========
[09:42:11] =============== drm_test_check_valid_clones ===============
[09:42:11] [PASSED] not_in_clone_mode
[09:42:11] [PASSED] valid_clone
[09:42:11] [PASSED] invalid_clone
[09:42:11] =========== [PASSED] drm_test_check_valid_clones ===========
[09:42:11] ============= [PASSED] drm_validate_clone_mode =============
[09:42:11] ============= drm_validate_modeset (1 subtest) =============
[09:42:11] [PASSED] drm_test_check_connector_changed_modeset
[09:42:11] ============== [PASSED] drm_validate_modeset ===============
[09:42:11] ====== drm_test_bridge_get_current_state (2 subtests) ======
[09:42:11] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[09:42:11] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[09:42:11] ======== [PASSED] drm_test_bridge_get_current_state ========
[09:42:11] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[09:42:11] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[09:42:11] ============== drm_bridge_alloc (2 subtests) ===============
[09:42:11] [PASSED] drm_test_drm_bridge_alloc_basic
[09:42:11] [PASSED] drm_test_drm_bridge_alloc_get_put
[09:42:11] ================ [PASSED] drm_bridge_alloc =================
[09:42:11] ============= drm_cmdline_parser (40 subtests) =============
[09:42:11] [PASSED] drm_test_cmdline_force_d_only
[09:42:11] [PASSED] drm_test_cmdline_force_D_only_dvi
[09:42:11] [PASSED] drm_test_cmdline_force_D_only_hdmi
[09:42:11] [PASSED] drm_test_cmdline_force_D_only_not_digital
[09:42:11] [PASSED] drm_test_cmdline_force_e_only
[09:42:11] [PASSED] drm_test_cmdline_res
[09:42:11] [PASSED] drm_test_cmdline_res_vesa
[09:42:11] [PASSED] drm_test_cmdline_res_vesa_rblank
[09:42:11] [PASSED] drm_test_cmdline_res_rblank
[09:42:11] [PASSED] drm_test_cmdline_res_bpp
[09:42:11] [PASSED] drm_test_cmdline_res_refresh
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[09:42:11] [PASSED] drm_test_cmdline_res_margins_force_on
[09:42:11] [PASSED] drm_test_cmdline_res_vesa_margins
[09:42:11] [PASSED] drm_test_cmdline_name
[09:42:11] [PASSED] drm_test_cmdline_name_bpp
[09:42:11] [PASSED] drm_test_cmdline_name_option
[09:42:11] [PASSED] drm_test_cmdline_name_bpp_option
[09:42:11] [PASSED] drm_test_cmdline_rotate_0
[09:42:11] [PASSED] drm_test_cmdline_rotate_90
[09:42:11] [PASSED] drm_test_cmdline_rotate_180
[09:42:11] [PASSED] drm_test_cmdline_rotate_270
[09:42:11] [PASSED] drm_test_cmdline_hmirror
[09:42:11] [PASSED] drm_test_cmdline_vmirror
[09:42:11] [PASSED] drm_test_cmdline_margin_options
[09:42:11] [PASSED] drm_test_cmdline_multiple_options
[09:42:11] [PASSED] drm_test_cmdline_bpp_extra_and_option
[09:42:11] [PASSED] drm_test_cmdline_extra_and_option
[09:42:11] [PASSED] drm_test_cmdline_freestanding_options
[09:42:11] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[09:42:11] [PASSED] drm_test_cmdline_panel_orientation
[09:42:11] ================ drm_test_cmdline_invalid =================
[09:42:11] [PASSED] margin_only
[09:42:11] [PASSED] interlace_only
[09:42:11] [PASSED] res_missing_x
[09:42:11] [PASSED] res_missing_y
[09:42:11] [PASSED] res_bad_y
[09:42:11] [PASSED] res_missing_y_bpp
[09:42:11] [PASSED] res_bad_bpp
[09:42:11] [PASSED] res_bad_refresh
[09:42:11] [PASSED] res_bpp_refresh_force_on_off
[09:42:11] [PASSED] res_invalid_mode
[09:42:11] [PASSED] res_bpp_wrong_place_mode
[09:42:11] [PASSED] name_bpp_refresh
[09:42:11] [PASSED] name_refresh
[09:42:11] [PASSED] name_refresh_wrong_mode
[09:42:11] [PASSED] name_refresh_invalid_mode
[09:42:11] [PASSED] rotate_multiple
[09:42:11] [PASSED] rotate_invalid_val
[09:42:11] [PASSED] rotate_truncated
[09:42:11] [PASSED] invalid_option
[09:42:11] [PASSED] invalid_tv_option
[09:42:11] [PASSED] truncated_tv_option
[09:42:11] ============ [PASSED] drm_test_cmdline_invalid =============
[09:42:11] =============== drm_test_cmdline_tv_options ===============
[09:42:11] [PASSED] NTSC
[09:42:11] [PASSED] NTSC_443
[09:42:11] [PASSED] NTSC_J
[09:42:11] [PASSED] PAL
[09:42:11] [PASSED] PAL_M
[09:42:11] [PASSED] PAL_N
[09:42:11] [PASSED] SECAM
[09:42:11] [PASSED] MONO_525
[09:42:11] [PASSED] MONO_625
[09:42:11] =========== [PASSED] drm_test_cmdline_tv_options ===========
[09:42:11] =============== [PASSED] drm_cmdline_parser ================
[09:42:11] ========== drmm_connector_hdmi_init (20 subtests) ==========
[09:42:11] [PASSED] drm_test_connector_hdmi_init_valid
[09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_8
[09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_10
[09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_12
[09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_null
[09:42:11] [PASSED] drm_test_connector_hdmi_init_formats_empty
[09:42:11] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[09:42:11] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[09:42:11] [PASSED] supported_formats=0x9 yuv420_allowed=1
[09:42:11] [PASSED] supported_formats=0x9 yuv420_allowed=0
[09:42:11] [PASSED] supported_formats=0x5 yuv420_allowed=1
[09:42:11] [PASSED] supported_formats=0x5 yuv420_allowed=0
[09:42:11] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[09:42:11] [PASSED] drm_test_connector_hdmi_init_null_ddc
[09:42:11] [PASSED] drm_test_connector_hdmi_init_null_product
[09:42:11] [PASSED] drm_test_connector_hdmi_init_null_vendor
[09:42:11] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[09:42:11] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[09:42:11] [PASSED] drm_test_connector_hdmi_init_product_valid
[09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[09:42:11] ========= drm_test_connector_hdmi_init_type_valid =========
[09:42:11] [PASSED] HDMI-A
[09:42:11] [PASSED] HDMI-B
[09:42:11] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[09:42:11] ======== drm_test_connector_hdmi_init_type_invalid ========
[09:42:11] [PASSED] Unknown
[09:42:11] [PASSED] VGA
[09:42:11] [PASSED] DVI-I
[09:42:11] [PASSED] DVI-D
[09:42:11] [PASSED] DVI-A
[09:42:11] [PASSED] Composite
[09:42:11] [PASSED] SVIDEO
[09:42:11] [PASSED] LVDS
[09:42:11] [PASSED] Component
[09:42:11] [PASSED] DIN
[09:42:11] [PASSED] DP
[09:42:11] [PASSED] TV
[09:42:11] [PASSED] eDP
[09:42:11] [PASSED] Virtual
[09:42:11] [PASSED] DSI
[09:42:11] [PASSED] DPI
[09:42:11] [PASSED] Writeback
[09:42:11] [PASSED] SPI
[09:42:11] [PASSED] USB
[09:42:11] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[09:42:11] ============ [PASSED] drmm_connector_hdmi_init =============
[09:42:11] ============= drmm_connector_init (3 subtests) =============
[09:42:11] [PASSED] drm_test_drmm_connector_init
[09:42:11] [PASSED] drm_test_drmm_connector_init_null_ddc
[09:42:11] ========= drm_test_drmm_connector_init_type_valid =========
[09:42:11] [PASSED] Unknown
[09:42:11] [PASSED] VGA
[09:42:11] [PASSED] DVI-I
[09:42:11] [PASSED] DVI-D
[09:42:11] [PASSED] DVI-A
[09:42:11] [PASSED] Composite
[09:42:11] [PASSED] SVIDEO
[09:42:11] [PASSED] LVDS
[09:42:11] [PASSED] Component
[09:42:11] [PASSED] DIN
[09:42:11] [PASSED] DP
[09:42:11] [PASSED] HDMI-A
[09:42:11] [PASSED] HDMI-B
[09:42:11] [PASSED] TV
[09:42:11] [PASSED] eDP
[09:42:11] [PASSED] Virtual
[09:42:11] [PASSED] DSI
[09:42:11] [PASSED] DPI
[09:42:11] [PASSED] Writeback
[09:42:11] [PASSED] SPI
[09:42:11] [PASSED] USB
[09:42:11] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[09:42:11] =============== [PASSED] drmm_connector_init ===============
[09:42:11] ========= drm_connector_dynamic_init (6 subtests) ==========
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_init
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_properties
[09:42:11] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[09:42:11] [PASSED] Unknown
[09:42:11] [PASSED] VGA
[09:42:11] [PASSED] DVI-I
[09:42:11] [PASSED] DVI-D
[09:42:11] [PASSED] DVI-A
[09:42:11] [PASSED] Composite
[09:42:11] [PASSED] SVIDEO
[09:42:11] [PASSED] LVDS
[09:42:11] [PASSED] Component
[09:42:11] [PASSED] DIN
[09:42:11] [PASSED] DP
[09:42:11] [PASSED] HDMI-A
[09:42:11] [PASSED] HDMI-B
[09:42:11] [PASSED] TV
[09:42:11] [PASSED] eDP
[09:42:11] [PASSED] Virtual
[09:42:11] [PASSED] DSI
[09:42:11] [PASSED] DPI
[09:42:11] [PASSED] Writeback
[09:42:11] [PASSED] SPI
[09:42:11] [PASSED] USB
[09:42:11] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[09:42:11] ======== drm_test_drm_connector_dynamic_init_name =========
[09:42:11] [PASSED] Unknown
[09:42:11] [PASSED] VGA
[09:42:11] [PASSED] DVI-I
[09:42:11] [PASSED] DVI-D
[09:42:11] [PASSED] DVI-A
[09:42:11] [PASSED] Composite
[09:42:11] [PASSED] SVIDEO
[09:42:11] [PASSED] LVDS
[09:42:11] [PASSED] Component
[09:42:11] [PASSED] DIN
[09:42:11] [PASSED] DP
[09:42:11] [PASSED] HDMI-A
[09:42:11] [PASSED] HDMI-B
[09:42:11] [PASSED] TV
[09:42:11] [PASSED] eDP
[09:42:11] [PASSED] Virtual
[09:42:11] [PASSED] DSI
[09:42:11] [PASSED] DPI
[09:42:11] [PASSED] Writeback
[09:42:11] [PASSED] SPI
[09:42:11] [PASSED] USB
[09:42:11] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[09:42:11] =========== [PASSED] drm_connector_dynamic_init ============
[09:42:11] ==== drm_connector_dynamic_register_early (4 subtests) =====
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[09:42:11] ====== [PASSED] drm_connector_dynamic_register_early =======
[09:42:11] ======= drm_connector_dynamic_register (7 subtests) ========
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[09:42:11] ========= [PASSED] drm_connector_dynamic_register ==========
[09:42:11] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[09:42:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[09:42:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[09:42:11] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[09:42:11] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[09:42:11] ========== drm_test_get_tv_mode_from_name_valid ===========
[09:42:11] [PASSED] NTSC
[09:42:11] [PASSED] NTSC-443
[09:42:11] [PASSED] NTSC-J
[09:42:11] [PASSED] PAL
[09:42:11] [PASSED] PAL-M
[09:42:11] [PASSED] PAL-N
[09:42:11] [PASSED] SECAM
[09:42:11] [PASSED] Mono
[09:42:11] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[09:42:11] [PASSED] drm_test_get_tv_mode_from_name_truncated
[09:42:11] ============ [PASSED] drm_get_tv_mode_from_name ============
[09:42:11] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[09:42:11] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[09:42:11] [PASSED] VIC 96
[09:42:11] [PASSED] VIC 97
[09:42:11] [PASSED] VIC 101
[09:42:11] [PASSED] VIC 102
[09:42:11] [PASSED] VIC 106
[09:42:11] [PASSED] VIC 107
[09:42:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[09:42:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[09:42:11] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[09:42:11] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[09:42:11] [PASSED] Automatic
[09:42:11] [PASSED] Full
[09:42:11] [PASSED] Limited 16:235
[09:42:11] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[09:42:11] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[09:42:11] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[09:42:11] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[09:42:11] === drm_test_drm_hdmi_connector_get_output_format_name ====
[09:42:11] [PASSED] RGB
[09:42:11] [PASSED] YUV 4:2:0
[09:42:11] [PASSED] YUV 4:2:2
[09:42:11] [PASSED] YUV 4:4:4
[09:42:11] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[09:42:11] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[09:42:11] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[09:42:11] ============= drm_damage_helper (21 subtests) ==============
[09:42:11] [PASSED] drm_test_damage_iter_no_damage
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_src_moved
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_not_visible
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[09:42:11] [PASSED] drm_test_damage_iter_no_damage_no_fb
[09:42:11] [PASSED] drm_test_damage_iter_simple_damage
[09:42:11] [PASSED] drm_test_damage_iter_single_damage
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_outside_src
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_src_moved
[09:42:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[09:42:11] [PASSED] drm_test_damage_iter_damage
[09:42:11] [PASSED] drm_test_damage_iter_damage_one_intersect
[09:42:11] [PASSED] drm_test_damage_iter_damage_one_outside
[09:42:11] [PASSED] drm_test_damage_iter_damage_src_moved
[09:42:11] [PASSED] drm_test_damage_iter_damage_not_visible
[09:42:11] ================ [PASSED] drm_damage_helper ================
[09:42:11] ============== drm_dp_mst_helper (3 subtests) ==============
[09:42:11] ============== drm_test_dp_mst_calc_pbn_mode ==============
[09:42:11] [PASSED] Clock 154000 BPP 30 DSC disabled
[09:42:11] [PASSED] Clock 234000 BPP 30 DSC disabled
[09:42:11] [PASSED] Clock 297000 BPP 24 DSC disabled
[09:42:11] [PASSED] Clock 332880 BPP 24 DSC enabled
[09:42:11] [PASSED] Clock 324540 BPP 24 DSC enabled
[09:42:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[09:42:11] ============== drm_test_dp_mst_calc_pbn_div ===============
[09:42:11] [PASSED] Link rate 2000000 lane count 4
[09:42:11] [PASSED] Link rate 2000000 lane count 2
[09:42:11] [PASSED] Link rate 2000000 lane count 1
[09:42:11] [PASSED] Link rate 1350000 lane count 4
[09:42:11] [PASSED] Link rate 1350000 lane count 2
[09:42:11] [PASSED] Link rate 1350000 lane count 1
[09:42:11] [PASSED] Link rate 1000000 lane count 4
[09:42:11] [PASSED] Link rate 1000000 lane count 2
[09:42:11] [PASSED] Link rate 1000000 lane count 1
[09:42:11] [PASSED] Link rate 810000 lane count 4
[09:42:11] [PASSED] Link rate 810000 lane count 2
[09:42:11] [PASSED] Link rate 810000 lane count 1
[09:42:11] [PASSED] Link rate 540000 lane count 4
[09:42:11] [PASSED] Link rate 540000 lane count 2
[09:42:11] [PASSED] Link rate 540000 lane count 1
[09:42:11] [PASSED] Link rate 270000 lane count 4
[09:42:11] [PASSED] Link rate 270000 lane count 2
[09:42:11] [PASSED] Link rate 270000 lane count 1
[09:42:11] [PASSED] Link rate 162000 lane count 4
[09:42:11] [PASSED] Link rate 162000 lane count 2
[09:42:11] [PASSED] Link rate 162000 lane count 1
[09:42:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[09:42:11] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[09:42:11] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[09:42:11] [PASSED] DP_POWER_UP_PHY with port number
[09:42:11] [PASSED] DP_POWER_DOWN_PHY with port number
[09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[09:42:11] [PASSED] DP_QUERY_PAYLOAD with port number
[09:42:11] [PASSED] DP_QUERY_PAYLOAD with VCPI
[09:42:11] [PASSED] DP_REMOTE_DPCD_READ with port number
[09:42:11] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[09:42:11] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[09:42:11] [PASSED] DP_REMOTE_I2C_READ with port number
[09:42:11] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[09:42:11] [PASSED] DP_REMOTE_I2C_READ with transactions array
[09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with port number
[09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with data array
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[09:42:11] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[09:42:11] ================ [PASSED] drm_dp_mst_helper ================
[09:42:11] ================== drm_exec (7 subtests) ===================
[09:42:11] [PASSED] sanitycheck
[09:42:11] [PASSED] test_lock
[09:42:11] [PASSED] test_lock_unlock
[09:42:11] [PASSED] test_duplicates
[09:42:11] [PASSED] test_prepare
[09:42:11] [PASSED] test_prepare_array
[09:42:11] [PASSED] test_multiple_loops
[09:42:11] ==================== [PASSED] drm_exec =====================
[09:42:11] =========== drm_format_helper_test (17 subtests) ===========
[09:42:11] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[09:42:11] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[09:42:11] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[09:42:11] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[09:42:11] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[09:42:11] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[09:42:11] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[09:42:11] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[09:42:11] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[09:42:11] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[09:42:11] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[09:42:11] ============== drm_test_fb_xrgb8888_to_mono ===============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[09:42:11] ==================== drm_test_fb_swab =====================
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ================ [PASSED] drm_test_fb_swab =================
[09:42:11] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[09:42:11] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[09:42:11] [PASSED] single_pixel_source_buffer
[09:42:11] [PASSED] single_pixel_clip_rectangle
[09:42:11] [PASSED] well_known_colors
[09:42:11] [PASSED] destination_pitch
[09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[09:42:11] ================= drm_test_fb_clip_offset =================
[09:42:11] [PASSED] pass through
[09:42:11] [PASSED] horizontal offset
[09:42:11] [PASSED] vertical offset
[09:42:11] [PASSED] horizontal and vertical offset
[09:42:11] [PASSED] horizontal offset (custom pitch)
[09:42:11] [PASSED] vertical offset (custom pitch)
[09:42:11] [PASSED] horizontal and vertical offset (custom pitch)
[09:42:11] ============= [PASSED] drm_test_fb_clip_offset =============
[09:42:11] =================== drm_test_fb_memcpy ====================
[09:42:11] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[09:42:11] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[09:42:11] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[09:42:11] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[09:42:11] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[09:42:11] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[09:42:11] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[09:42:11] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[09:42:11] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[09:42:11] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[09:42:11] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[09:42:11] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[09:42:11] =============== [PASSED] drm_test_fb_memcpy ================
[09:42:11] ============= [PASSED] drm_format_helper_test ==============
[09:42:11] ================= drm_format (18 subtests) =================
[09:42:11] [PASSED] drm_test_format_block_width_invalid
[09:42:11] [PASSED] drm_test_format_block_width_one_plane
[09:42:11] [PASSED] drm_test_format_block_width_two_plane
[09:42:11] [PASSED] drm_test_format_block_width_three_plane
[09:42:11] [PASSED] drm_test_format_block_width_tiled
[09:42:11] [PASSED] drm_test_format_block_height_invalid
[09:42:11] [PASSED] drm_test_format_block_height_one_plane
[09:42:11] [PASSED] drm_test_format_block_height_two_plane
[09:42:11] [PASSED] drm_test_format_block_height_three_plane
[09:42:11] [PASSED] drm_test_format_block_height_tiled
[09:42:11] [PASSED] drm_test_format_min_pitch_invalid
[09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[09:42:11] [PASSED] drm_test_format_min_pitch_two_plane
[09:42:11] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[09:42:11] [PASSED] drm_test_format_min_pitch_tiled
[09:42:11] =================== [PASSED] drm_format ====================
[09:42:11] ============== drm_framebuffer (10 subtests) ===============
[09:42:11] ========== drm_test_framebuffer_check_src_coords ==========
[09:42:11] [PASSED] Success: source fits into fb
[09:42:11] [PASSED] Fail: overflowing fb with x-axis coordinate
[09:42:11] [PASSED] Fail: overflowing fb with y-axis coordinate
[09:42:11] [PASSED] Fail: overflowing fb with source width
[09:42:11] [PASSED] Fail: overflowing fb with source height
[09:42:11] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[09:42:11] [PASSED] drm_test_framebuffer_cleanup
[09:42:11] =============== drm_test_framebuffer_create ===============
[09:42:11] [PASSED] ABGR8888 normal sizes
[09:42:11] [PASSED] ABGR8888 max sizes
[09:42:11] [PASSED] ABGR8888 pitch greater than min required
[09:42:11] [PASSED] ABGR8888 pitch less than min required
[09:42:11] [PASSED] ABGR8888 Invalid width
[09:42:11] [PASSED] ABGR8888 Invalid buffer handle
[09:42:11] [PASSED] No pixel format
[09:42:11] [PASSED] ABGR8888 Width 0
[09:42:11] [PASSED] ABGR8888 Height 0
[09:42:11] [PASSED] ABGR8888 Out of bound height * pitch combination
[09:42:11] [PASSED] ABGR8888 Large buffer offset
[09:42:11] [PASSED] ABGR8888 Buffer offset for inexistent plane
[09:42:11] [PASSED] ABGR8888 Invalid flag
[09:42:11] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[09:42:11] [PASSED] ABGR8888 Valid buffer modifier
[09:42:11] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[09:42:11] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] NV12 Normal sizes
[09:42:11] [PASSED] NV12 Max sizes
[09:42:11] [PASSED] NV12 Invalid pitch
[09:42:11] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[09:42:11] [PASSED] NV12 different modifier per-plane
[09:42:11] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[09:42:11] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] NV12 Modifier for inexistent plane
[09:42:11] [PASSED] NV12 Handle for inexistent plane
[09:42:11] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[09:42:11] [PASSED] YVU420 Normal sizes
[09:42:11] [PASSED] YVU420 Max sizes
[09:42:11] [PASSED] YVU420 Invalid pitch
[09:42:11] [PASSED] YVU420 Different pitches
[09:42:11] [PASSED] YVU420 Different buffer offsets/pitches
[09:42:11] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[09:42:11] [PASSED] YVU420 Valid modifier
[09:42:11] [PASSED] YVU420 Different modifiers per plane
[09:42:11] [PASSED] YVU420 Modifier for inexistent plane
[09:42:11] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[09:42:11] [PASSED] X0L2 Normal sizes
[09:42:11] [PASSED] X0L2 Max sizes
[09:42:11] [PASSED] X0L2 Invalid pitch
[09:42:11] [PASSED] X0L2 Pitch greater than minimum required
[09:42:11] [PASSED] X0L2 Handle for inexistent plane
[09:42:11] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[09:42:11] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[09:42:11] [PASSED] X0L2 Valid modifier
[09:42:11] [PASSED] X0L2 Modifier for inexistent plane
[09:42:11] =========== [PASSED] drm_test_framebuffer_create ===========
[09:42:11] [PASSED] drm_test_framebuffer_free
[09:42:11] [PASSED] drm_test_framebuffer_init
[09:42:11] [PASSED] drm_test_framebuffer_init_bad_format
[09:42:11] [PASSED] drm_test_framebuffer_init_dev_mismatch
[09:42:11] [PASSED] drm_test_framebuffer_lookup
[09:42:11] [PASSED] drm_test_framebuffer_lookup_inexistent
[09:42:11] [PASSED] drm_test_framebuffer_modifiers_not_supported
[09:42:11] ================= [PASSED] drm_framebuffer =================
[09:42:11] ================ drm_gem_shmem (8 subtests) ================
[09:42:11] [PASSED] drm_gem_shmem_test_obj_create
[09:42:11] [PASSED] drm_gem_shmem_test_obj_create_private
[09:42:11] [PASSED] drm_gem_shmem_test_pin_pages
[09:42:11] [PASSED] drm_gem_shmem_test_vmap
[09:42:11] [PASSED] drm_gem_shmem_test_get_sg_table
[09:42:11] [PASSED] drm_gem_shmem_test_get_pages_sgt
[09:42:11] [PASSED] drm_gem_shmem_test_madvise
[09:42:11] [PASSED] drm_gem_shmem_test_purge
[09:42:11] ================== [PASSED] drm_gem_shmem ==================
[09:42:11] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[09:42:11] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[09:42:11] [PASSED] Automatic
[09:42:11] [PASSED] Full
[09:42:11] [PASSED] Limited 16:235
[09:42:11] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[09:42:11] [PASSED] drm_test_check_disable_connector
[09:42:11] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[09:42:11] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[09:42:11] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[09:42:11] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[09:42:11] [PASSED] drm_test_check_output_bpc_dvi
[09:42:11] [PASSED] drm_test_check_output_bpc_format_vic_1
[09:42:11] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[09:42:11] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[09:42:11] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[09:42:11] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[09:42:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[09:42:11] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[09:42:11] [PASSED] drm_test_check_broadcast_rgb_value
[09:42:11] [PASSED] drm_test_check_bpc_8_value
[09:42:11] [PASSED] drm_test_check_bpc_10_value
[09:42:11] [PASSED] drm_test_check_bpc_12_value
[09:42:11] [PASSED] drm_test_check_format_value
[09:42:11] [PASSED] drm_test_check_tmds_char_value
[09:42:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[09:42:11] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[09:42:11] [PASSED] drm_test_check_mode_valid
[09:42:11] [PASSED] drm_test_check_mode_valid_reject
[09:42:11] [PASSED] drm_test_check_mode_valid_reject_rate
[09:42:11] [PASSED] drm_test_check_mode_valid_reject_max_clock
[09:42:11] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[09:42:11] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[09:42:11] [PASSED] drm_test_check_infoframes
[09:42:11] [PASSED] drm_test_check_reject_avi_infoframe
[09:42:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[09:42:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[09:42:11] [PASSED] drm_test_check_reject_audio_infoframe
[09:42:11] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[09:42:11] ================= drm_managed (2 subtests) =================
[09:42:11] [PASSED] drm_test_managed_release_action
[09:42:11] [PASSED] drm_test_managed_run_action
[09:42:11] =================== [PASSED] drm_managed ===================
[09:42:11] =================== drm_mm (6 subtests) ====================
[09:42:11] [PASSED] drm_test_mm_init
[09:42:11] [PASSED] drm_test_mm_debug
[09:42:11] [PASSED] drm_test_mm_align32
[09:42:11] [PASSED] drm_test_mm_align64
[09:42:11] [PASSED] drm_test_mm_lowest
[09:42:11] [PASSED] drm_test_mm_highest
[09:42:11] ===================== [PASSED] drm_mm ======================
[09:42:11] ============= drm_modes_analog_tv (5 subtests) =============
[09:42:11] [PASSED] drm_test_modes_analog_tv_mono_576i
[09:42:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[09:42:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[09:42:11] [PASSED] drm_test_modes_analog_tv_pal_576i
[09:42:11] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[09:42:11] =============== [PASSED] drm_modes_analog_tv ===============
[09:42:11] ============== drm_plane_helper (2 subtests) ===============
[09:42:11] =============== drm_test_check_plane_state ================
[09:42:11] [PASSED] clipping_simple
[09:42:11] [PASSED] clipping_rotate_reflect
[09:42:11] [PASSED] positioning_simple
[09:42:11] [PASSED] upscaling
[09:42:11] [PASSED] downscaling
[09:42:11] [PASSED] rounding1
[09:42:11] [PASSED] rounding2
[09:42:11] [PASSED] rounding3
[09:42:11] [PASSED] rounding4
[09:42:11] =========== [PASSED] drm_test_check_plane_state ============
[09:42:11] =========== drm_test_check_invalid_plane_state ============
[09:42:11] [PASSED] positioning_invalid
[09:42:11] [PASSED] upscaling_invalid
[09:42:11] [PASSED] downscaling_invalid
[09:42:11] ======= [PASSED] drm_test_check_invalid_plane_state ========
[09:42:11] ================ [PASSED] drm_plane_helper =================
[09:42:11] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[09:42:11] ====== drm_test_connector_helper_tv_get_modes_check =======
[09:42:11] [PASSED] None
[09:42:11] [PASSED] PAL
[09:42:11] [PASSED] NTSC
[09:42:11] [PASSED] Both, NTSC Default
[09:42:11] [PASSED] Both, PAL Default
[09:42:11] [PASSED] Both, NTSC Default, with PAL on command-line
[09:42:11] [PASSED] Both, PAL Default, with NTSC on command-line
[09:42:11] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[09:42:11] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[09:42:11] ================== drm_rect (9 subtests) ===================
[09:42:11] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[09:42:11] [PASSED] drm_test_rect_clip_scaled_not_clipped
[09:42:11] [PASSED] drm_test_rect_clip_scaled_clipped
[09:42:11] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[09:42:11] ================= drm_test_rect_intersect =================
[09:42:11] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[09:42:11] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[09:42:11] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[09:42:11] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[09:42:11] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[09:42:11] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[09:42:11] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[09:42:11] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[09:42:11] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[09:42:11] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[09:42:11] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[09:42:11] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[09:42:11] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[09:42:11] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[09:42:11] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[09:42:11] ============= [PASSED] drm_test_rect_intersect =============
[09:42:11] ================ drm_test_rect_calc_hscale ================
[09:42:11] [PASSED] normal use
[09:42:11] [PASSED] out of max range
[09:42:11] [PASSED] out of min range
[09:42:11] [PASSED] zero dst
[09:42:11] [PASSED] negative src
[09:42:11] [PASSED] negative dst
[09:42:11] ============ [PASSED] drm_test_rect_calc_hscale ============
[09:42:11] ================ drm_test_rect_calc_vscale ================
[09:42:11] [PASSED] normal use
[09:42:11] [PASSED] out of max range
[09:42:11] [PASSED] out of min range
[09:42:11] [PASSED] zero dst
[09:42:11] [PASSED] negative src
[09:42:11] [PASSED] negative dst
[09:42:11] ============ [PASSED] drm_test_rect_calc_vscale ============
[09:42:11] ================== drm_test_rect_rotate ===================
[09:42:11] [PASSED] reflect-x
[09:42:11] [PASSED] reflect-y
[09:42:11] [PASSED] rotate-0
[09:42:11] [PASSED] rotate-90
[09:42:11] [PASSED] rotate-180
[09:42:11] [PASSED] rotate-270
[09:42:11] ============== [PASSED] drm_test_rect_rotate ===============
[09:42:11] ================ drm_test_rect_rotate_inv =================
[09:42:11] [PASSED] reflect-x
[09:42:11] [PASSED] reflect-y
[09:42:11] [PASSED] rotate-0
[09:42:11] [PASSED] rotate-90
[09:42:11] [PASSED] rotate-180
[09:42:11] [PASSED] rotate-270
[09:42:11] ============ [PASSED] drm_test_rect_rotate_inv =============
[09:42:11] ==================== [PASSED] drm_rect =====================
[09:42:11] ============ drm_sysfb_modeset_test (1 subtest) ============
[09:42:11] ============ drm_test_sysfb_build_fourcc_list =============
[09:42:11] [PASSED] no native formats
[09:42:11] [PASSED] XRGB8888 as native format
[09:42:11] [PASSED] remove duplicates
[09:42:11] [PASSED] convert alpha formats
[09:42:11] [PASSED] random formats
[09:42:11] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[09:42:11] ============= [PASSED] drm_sysfb_modeset_test ==============
[09:42:11] ================== drm_fixp (2 subtests) ===================
[09:42:11] [PASSED] drm_test_int2fixp
[09:42:11] [PASSED] drm_test_sm2fixp
[09:42:11] ==================== [PASSED] drm_fixp =====================
[09:42:11] ============================================================
[09:42:11] Testing complete. Ran 621 tests: passed: 621
[09:42:11] Elapsed time: 26.224s total, 1.772s configuring, 24.285s building, 0.116s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[09:42:11] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[09:42:13] 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
[09:42:23] Starting KUnit Kernel (1/1)...
[09:42:23] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[09:42:23] ================= ttm_device (5 subtests) ==================
[09:42:23] [PASSED] ttm_device_init_basic
[09:42:23] [PASSED] ttm_device_init_multiple
[09:42:23] [PASSED] ttm_device_fini_basic
[09:42:23] [PASSED] ttm_device_init_no_vma_man
[09:42:23] ================== ttm_device_init_pools ==================
[09:42:23] [PASSED] No DMA allocations, no DMA32 required
[09:42:23] [PASSED] DMA allocations, DMA32 required
[09:42:23] [PASSED] No DMA allocations, DMA32 required
[09:42:23] [PASSED] DMA allocations, no DMA32 required
[09:42:23] ============== [PASSED] ttm_device_init_pools ==============
[09:42:23] =================== [PASSED] ttm_device ====================
[09:42:23] ================== ttm_pool (8 subtests) ===================
[09:42:23] ================== ttm_pool_alloc_basic ===================
[09:42:23] [PASSED] One page
[09:42:23] [PASSED] More than one page
[09:42:23] [PASSED] Above the allocation limit
[09:42:23] [PASSED] One page, with coherent DMA mappings enabled
[09:42:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[09:42:23] ============== [PASSED] ttm_pool_alloc_basic ===============
[09:42:23] ============== ttm_pool_alloc_basic_dma_addr ==============
[09:42:23] [PASSED] One page
[09:42:23] [PASSED] More than one page
[09:42:23] [PASSED] Above the allocation limit
[09:42:23] [PASSED] One page, with coherent DMA mappings enabled
[09:42:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[09:42:23] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[09:42:23] [PASSED] ttm_pool_alloc_order_caching_match
[09:42:23] [PASSED] ttm_pool_alloc_caching_mismatch
[09:42:23] [PASSED] ttm_pool_alloc_order_mismatch
[09:42:23] [PASSED] ttm_pool_free_dma_alloc
[09:42:23] [PASSED] ttm_pool_free_no_dma_alloc
[09:42:23] [PASSED] ttm_pool_fini_basic
[09:42:23] ==================== [PASSED] ttm_pool =====================
[09:42:23] ================ ttm_resource (8 subtests) =================
[09:42:23] ================= ttm_resource_init_basic =================
[09:42:23] [PASSED] Init resource in TTM_PL_SYSTEM
[09:42:23] [PASSED] Init resource in TTM_PL_VRAM
[09:42:23] [PASSED] Init resource in a private placement
[09:42:23] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[09:42:23] ============= [PASSED] ttm_resource_init_basic =============
[09:42:23] [PASSED] ttm_resource_init_pinned
[09:42:23] [PASSED] ttm_resource_fini_basic
[09:42:23] [PASSED] ttm_resource_manager_init_basic
[09:42:23] [PASSED] ttm_resource_manager_usage_basic
[09:42:23] [PASSED] ttm_resource_manager_set_used_basic
[09:42:23] [PASSED] ttm_sys_man_alloc_basic
[09:42:23] [PASSED] ttm_sys_man_free_basic
[09:42:23] ================== [PASSED] ttm_resource ===================
[09:42:23] =================== ttm_tt (15 subtests) ===================
[09:42:23] ==================== ttm_tt_init_basic ====================
[09:42:23] [PASSED] Page-aligned size
[09:42:23] [PASSED] Extra pages requested
[09:42:23] ================ [PASSED] ttm_tt_init_basic ================
[09:42:23] [PASSED] ttm_tt_init_misaligned
[09:42:23] [PASSED] ttm_tt_fini_basic
[09:42:23] [PASSED] ttm_tt_fini_sg
[09:42:23] [PASSED] ttm_tt_fini_shmem
[09:42:23] [PASSED] ttm_tt_create_basic
[09:42:23] [PASSED] ttm_tt_create_invalid_bo_type
[09:42:23] [PASSED] ttm_tt_create_ttm_exists
[09:42:23] [PASSED] ttm_tt_create_failed
[09:42:23] [PASSED] ttm_tt_destroy_basic
[09:42:23] [PASSED] ttm_tt_populate_null_ttm
[09:42:23] [PASSED] ttm_tt_populate_populated_ttm
[09:42:23] [PASSED] ttm_tt_unpopulate_basic
[09:42:23] [PASSED] ttm_tt_unpopulate_empty_ttm
[09:42:23] [PASSED] ttm_tt_swapin_basic
[09:42:23] ===================== [PASSED] ttm_tt ======================
[09:42:23] =================== ttm_bo (14 subtests) ===================
[09:42:23] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[09:42:23] [PASSED] Cannot be interrupted and sleeps
[09:42:23] [PASSED] Cannot be interrupted, locks straight away
[09:42:23] [PASSED] Can be interrupted, sleeps
[09:42:23] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[09:42:23] [PASSED] ttm_bo_reserve_locked_no_sleep
[09:42:23] [PASSED] ttm_bo_reserve_no_wait_ticket
[09:42:23] [PASSED] ttm_bo_reserve_double_resv
[09:42:23] [PASSED] ttm_bo_reserve_interrupted
[09:42:23] [PASSED] ttm_bo_reserve_deadlock
[09:42:23] [PASSED] ttm_bo_unreserve_basic
[09:42:23] [PASSED] ttm_bo_unreserve_pinned
[09:42:23] [PASSED] ttm_bo_unreserve_bulk
[09:42:23] [PASSED] ttm_bo_fini_basic
[09:42:23] [PASSED] ttm_bo_fini_shared_resv
[09:42:23] [PASSED] ttm_bo_pin_basic
[09:42:23] [PASSED] ttm_bo_pin_unpin_resource
[09:42:23] [PASSED] ttm_bo_multiple_pin_one_unpin
[09:42:23] ===================== [PASSED] ttm_bo ======================
[09:42:23] ============== ttm_bo_validate (22 subtests) ===============
[09:42:23] ============== ttm_bo_init_reserved_sys_man ===============
[09:42:23] [PASSED] Buffer object for userspace
[09:42:23] [PASSED] Kernel buffer object
[09:42:23] [PASSED] Shared buffer object
[09:42:23] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[09:42:23] ============== ttm_bo_init_reserved_mock_man ==============
[09:42:23] [PASSED] Buffer object for userspace
[09:42:23] [PASSED] Kernel buffer object
[09:42:23] [PASSED] Shared buffer object
[09:42:23] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[09:42:23] [PASSED] ttm_bo_init_reserved_resv
[09:42:23] ================== ttm_bo_validate_basic ==================
[09:42:23] [PASSED] Buffer object for userspace
[09:42:23] [PASSED] Kernel buffer object
[09:42:23] [PASSED] Shared buffer object
[09:42:23] ============== [PASSED] ttm_bo_validate_basic ==============
[09:42:23] [PASSED] ttm_bo_validate_invalid_placement
[09:42:23] ============= ttm_bo_validate_same_placement ==============
[09:42:23] [PASSED] System manager
[09:42:23] [PASSED] VRAM manager
[09:42:23] ========= [PASSED] ttm_bo_validate_same_placement ==========
[09:42:23] [PASSED] ttm_bo_validate_failed_alloc
[09:42:23] [PASSED] ttm_bo_validate_pinned
[09:42:23] [PASSED] ttm_bo_validate_busy_placement
[09:42:23] ================ ttm_bo_validate_multihop =================
[09:42:23] [PASSED] Buffer object for userspace
[09:42:23] [PASSED] Kernel buffer object
[09:42:23] [PASSED] Shared buffer object
[09:42:23] ============ [PASSED] ttm_bo_validate_multihop =============
[09:42:23] ========== ttm_bo_validate_no_placement_signaled ==========
[09:42:23] [PASSED] Buffer object in system domain, no page vector
[09:42:23] [PASSED] Buffer object in system domain with an existing page vector
[09:42:23] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[09:42:23] ======== ttm_bo_validate_no_placement_not_signaled ========
[09:42:23] [PASSED] Buffer object for userspace
[09:42:23] [PASSED] Kernel buffer object
[09:42:23] [PASSED] Shared buffer object
[09:42:23] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[09:42:23] [PASSED] ttm_bo_validate_move_fence_signaled
[09:42:23] ========= ttm_bo_validate_move_fence_not_signaled =========
[09:42:23] [PASSED] Waits for GPU
[09:42:23] [PASSED] Tries to lock straight away
[09:42:23] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[09:42:23] [PASSED] ttm_bo_validate_swapout
[09:42:23] [PASSED] ttm_bo_validate_happy_evict
[09:42:23] [PASSED] ttm_bo_validate_all_pinned_evict
[09:42:23] [PASSED] ttm_bo_validate_allowed_only_evict
[09:42:23] [PASSED] ttm_bo_validate_deleted_evict
[09:42:23] [PASSED] ttm_bo_validate_busy_domain_evict
[09:42:23] [PASSED] ttm_bo_validate_evict_gutting
[09:42:23] [PASSED] ttm_bo_validate_recrusive_evict
[09:42:23] ================= [PASSED] ttm_bo_validate =================
[09:42:23] ============================================================
[09:42:23] Testing complete. Ran 102 tests: passed: 102
[09:42:23] Elapsed time: 11.652s total, 1.773s configuring, 9.615s building, 0.215s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 12+ messages in thread
* ✓ Xe.CI.BAT: success for Introduce Xe PCIe FLR (rev7)
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
` (9 preceding siblings ...)
2026-05-16 9:42 ` ✓ CI.KUnit: success " Patchwork
@ 2026-05-16 10:35 ` Patchwork
10 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-05-16 10:35 UTC (permalink / raw)
To: Raag Jadav; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
CI Bug Log - changes from xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e_BAT -> xe-pw-162055v7_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-162055v7_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_live_ktest@xe_dma_buf:
- bat-bmg-vm: [ABORT][1] -> [PASS][2] +1 other test pass
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
Build changes
-------------
* Linux: xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e -> xe-pw-162055v7
IGT_8917: 65d691069f26fc2a42c79e2364241320b85d48bc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e: 7e5a51dc7012a8abe09f9232d2c303402875761e
xe-pw-162055v7: 162055v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/index.html
[-- Attachment #2: Type: text/html, Size: 1993 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2026-05-16 10:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-16 9:31 [PATCH v7 0/8] Introduce Xe PCIe FLR Raag Jadav
2026-05-16 9:31 ` [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware Raag Jadav
2026-05-16 9:31 ` [PATCH v7 2/8] drm/xe/guc_submit: Introduce guc_exec_queue_reinit() Raag Jadav
2026-05-16 9:31 ` [PATCH v7 3/8] drm/xe/gt: Introduce FLR helpers Raag Jadav
2026-05-16 9:31 ` [PATCH v7 4/8] drm/xe/bo_evict: Introduce xe_bo_restore_map() Raag Jadav
2026-05-16 9:31 ` [PATCH v7 5/8] drm/xe/exec_queue: Introduce xe_exec_queue_reinit() Raag Jadav
2026-05-16 9:31 ` [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit() Raag Jadav
2026-05-16 9:31 ` [PATCH v7 7/8] drm/xe/pm: Introduce xe_device_suspend/resume() Raag Jadav
2026-05-16 9:31 ` [PATCH v7 8/8] drm/xe/pci: Introduce PCIe FLR Raag Jadav
2026-05-16 9:41 ` ✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev7) Patchwork
2026-05-16 9:42 ` ✓ CI.KUnit: success " Patchwork
2026-05-16 10:35 ` ✓ Xe.CI.BAT: " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.