Introduce Xe PCIe FLR
Subsystems (4)
v8 cover Introduce Xe PCIe FLR
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)
v8: Set fw state to XE_UC_FIRMWARE_INIT_FAIL on failure (Daniele)
Introduce xe_sched_reinit() (Daniele)
Maintain timeout per scheduler instance (Daniele) s/reinit/reinit_kernel (Daniele)
Raag Jadav (10):
drm/xe/uc_fw: Allow re-initializing firmware drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel() 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: Improve wedged state management drm/xe/pci: Introduce PCIe FLR
drm/xe/doc: Wire up PCI Error Handling
Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_pci_error.rst | 8 + 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 | 155 +++++++++++++++++++- drivers/gpu/drm/xe/xe_device.h | 14 +- drivers/gpu/drm/xe/xe_device_types.h | 9 +- 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.c | 6 + drivers/gpu/drm/xe/xe_gpu_scheduler.h | 1 + drivers/gpu/drm/xe/xe_gpu_scheduler_types.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 | 12 ++ 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 | 126 ++++++++++++++++ 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 | 67 +++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + drivers/gpu/drm/xe/xe_uc_types.h | 14 ++ 37 files changed, 720 insertions(+), 112 deletions(-) create mode 100644 Documentation/gpu/xe/xe_pci_error.rst create mode 100644 drivers/gpu/drm/xe/xe_pci_error.c
Signature · 1 line
2.43.0
PATCH v8 1/10 drm/xe/uc_fw: Allow re-initializing firmware
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.
---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)
v8: Set fw state to XE_UC_FIRMWARE_INIT_FAIL on failure (Daniele)
--- drivers/gpu/drm/xe/xe_uc_fw.c | 67 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 68 insertions(+)
drivers/gpu/drm/xe/xe_uc_fw.c +67 -0
@@ -833,6 +833,14 @@ static int uc_fw_copy(struct xe_uc_fw *uc_fw, const void *data, size_t size, u32return 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 ;
@@ -856,6 +864,65 @@ 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 old_fw, new_fw; +const struct firmware *fw =NULL ; +int err; + +/* Make sure the status was cleared the last time we reset the uc */ +xe_assert (xe, !xe_uc_fw_is_loaded (uc_fw)); + +/* We shouldn't be here for the firmware which wasn't available */ +if (!xe_uc_fw_is_available (uc_fw)) +return -ENOEXEC ; + + 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 init_fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto restore_old; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (memcmp (&old_fw, &new_fw,sizeof (old_fw)) || 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); + + err = -ENOEXEC ; + goto restore_old; + } + +uc_fw_reinit (uc_fw, fw->data); +uc_fw_release (fw); +return 0 ; + +restore_old: +/* +* parse_headers() updates version details, so restore original version +* before bailing. +* +* TODO: Create a struct of all the fields touched by parse_headers() +* and restore them all. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw; +init_fail: +xe_uc_fw_change_status (uc_fw,XE_UC_FIRMWARE_INIT_FAIL ); +/* OK even if fw is NULL */ +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);
drivers/gpu/drm/xe/xe_uc_fw.h +1 -0
@@ -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);
Signature · 1 line
2.43.0
Re: [PATCH v8 01/10] drm/xe/uc_fw: Allow re-initializing firmware
Quoted 8 lines · 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 <[email protected]>Tested-by Lukasz Laguna <[email protected]>
Quoted 106 lines
---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)
v8: Set fw state toXE_UC_FIRMWARE_INIT_FAILon failure (Daniele)--- drivers/gpu/drm/xe/xe_uc_fw.c | 67 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 68 insertions(+)drivers/gpu/drm/xe/xe_uc_fw.c +67
-0@@ -833,6 +833,14 @@ static int uc_fw_copy(struct xe_uc_fw *uc_fw, const void *data, size_t size, u32return 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 ;@@ -856,6 +864,65 @@ 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 old_fw, new_fw; +const struct firmware *fw =NULL ; +int err; + +/* Make sure the status was cleared the last time we reset the uc */ +xe_assert (xe, !xe_uc_fw_is_loaded (uc_fw)); + +/* We shouldn't be here for the firmware which wasn't available */ +if (!xe_uc_fw_is_available (uc_fw)) +return -ENOEXEC ; + + 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 init_fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto restore_old; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (memcmp (&old_fw, &new_fw,sizeof (old_fw)) || 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); + + err = -ENOEXEC ; + goto restore_old; + } + +uc_fw_reinit (uc_fw, fw->data); +uc_fw_release (fw); +return 0 ; + +restore_old: +/* +* parse_headers() updates version details, so restore original version +* before bailing. +* +* TODO: Create a struct of all the fields touched by parse_headers() +* and restore them all. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw; +init_fail: +xe_uc_fw_change_status (uc_fw,XE_UC_FIRMWARE_INIT_FAIL ); +/* OK even if fw is NULL */ +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);drivers/gpu/drm/xe/xe_uc_fw.h +1
-0@@ -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);
PATCH v8 2/10 drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel()
In reply to Raag JadavIn preparation of usecases which require re-initializing GuC submission after PCIe FLR, introduce guc_exec_queue_reinit_kernel() helper. This will restore kernel queues which might have been killed before PCIe FLR.
---
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v5: Re-initialize kernel queues through submission backend (Matthew Brost)
v8: Introduce xe_sched_reinit() (Daniele)
Maintain timeout per scheduler instance (Daniele) s/reinit/reinit_kernel (Daniele)
--- 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.c | 6 ++++++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 1 + drivers/gpu/drm/xe/xe_gpu_scheduler_types.h | 5 +++++ drivers/gpu/drm/xe/xe_guc_submit.c | 12 ++++++++++++ 6 files changed, 32 insertions(+)
drivers/gpu/drm/xe/xe_exec_queue_types.h +2 -0
@@ -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_kernel: Re-initialize kernel queue for submission backend */ +void (*reinit_kernel)(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 */
drivers/gpu/drm/xe/xe_execlist.c +6 -0
@@ -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_kernel (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_kernel = execlist_exec_queue_reinit_kernel, .kill = execlist_exec_queue_kill, .fini = execlist_exec_queue_fini, .destroy = execlist_exec_queue_destroy,
drivers/gpu/drm/xe/xe_gpu_scheduler.c +6 -0
@@ -76,6 +76,7 @@ int xe_sched_init(struct xe_gpu_scheduler *sched, }; sched->ops = xe_ops; + sched->timeout = timeout;spin_lock_init (&sched->msg_lock);INIT_LIST_HEAD (&sched->msgs);INIT_WORK (&sched->work_process_msg, xe_sched_process_msg_work);
@@ -83,6 +84,11 @@ int xe_sched_init(struct xe_gpu_scheduler *sched,return drm_sched_init (&sched->base, &args); } +void xe_sched_reinit (struct xe_gpu_scheduler *sched) +{ + sched->base.timeout = sched->timeout; +} +void xe_sched_fini (struct xe_gpu_scheduler *sched) {xe_sched_submission_stop (sched);
drivers/gpu/drm/xe/xe_gpu_scheduler.h +1 -0
@@ -17,6 +17,7 @@ int xe_sched_init(struct xe_gpu_scheduler *sched, long timeout, struct workqueue_struct *timeout_wq, atomic_t *score, const char *name, struct device *dev); +void xe_sched_reinit (struct xe_gpu_scheduler *sched);void xe_sched_fini (struct xe_gpu_scheduler *sched);void xe_sched_submission_start (struct xe_gpu_scheduler *sched);
drivers/gpu/drm/xe/xe_gpu_scheduler_types.h +5 -0
@@ -51,6 +51,11 @@ struct xe_gpu_scheduler {spinlock_t msg_lock;/** @work_process_msg: processes messages */ struct work_struct work_process_msg; +/** +* @timeout: timeout for the scheduler instance, to be restored +* during exec queue re-initialization +*/ +long timeout; };#define xe_sched_entity drm_sched_entity
drivers/gpu/drm/xe/xe_guc_submit.c +12 -0
@@ -2040,6 +2040,17 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)return err; } +static void guc_exec_queue_reinit_kernel (struct xe_exec_queue *q) +{ +struct xe_gpu_scheduler *sched = &q->guc->sched; + +xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)),drm_sched_is_stopped (&sched->base)); +xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)), q->flags &EXEC_QUEUE_FLAG_KERNEL ); + +atomic_set (&q->guc->state,0 ); +xe_sched_reinit (sched); +} +static void guc_exec_queue_kill (struct xe_exec_queue *q) {trace_xe_exec_queue_kill (q);
@@ -2282,6 +2293,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_kernel = guc_exec_queue_reinit_kernel, .kill = guc_exec_queue_kill, .fini = guc_exec_queue_fini, .destroy = guc_exec_queue_destroy,
Signature · 1 line
2.43.0
Re: [PATCH v8 02/10] drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel()
Quoted 71 lines · Raag Jadav
In preparation of usecases which require re-initializing GuC submission after PCIe FLR, introduce
guc_exec_queue_reinit_kernel()helper. This will restore kernel queues which might have been killed before PCIe FLR.Signed-off-by Raag Jadav <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v5: Re-initialize kernel queues through submission backend (Matthew Brost)
v8: Introducexe_sched_reinit()(Daniele)
Maintain timeout per scheduler instance (Daniele) s/reinit/reinit_kernel (Daniele)--- 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.c | 6 ++++++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 1 + drivers/gpu/drm/xe/xe_gpu_scheduler_types.h | 5 +++++ drivers/gpu/drm/xe/xe_guc_submit.c | 12 ++++++++++++ 6 files changed, 32 insertions(+)drivers/gpu/drm/xe/xe_exec_queue_types.h +2
-0@@ -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_kernel: Re-initialize kernel queue for submission backend */ +void (*reinit_kernel)(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 */ drivers/gpu/drm/xe/xe_execlist.c +6
-0@@ -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_kernel (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_kernel = execlist_exec_queue_reinit_kernel, .kill = execlist_exec_queue_kill, .fini = execlist_exec_queue_fini, .destroy = execlist_exec_queue_destroy,drivers/gpu/drm/xe/xe_gpu_scheduler.c +1
-0@@ -76,6 +76,7 @@ int xe_sched_init(struct xe_gpu_scheduler *sched, }; sched->ops = xe_ops; + sched->timeout = timeout;spin_lock_init (&sched->msg_lock);INIT_LIST_HEAD (&sched->msgs);INIT_WORK (&sched->work_process_msg, xe_sched_process_msg_work);
drivers/gpu/drm/xe/xe_gpu_scheduler.c int xe_sched_init(struct xe_gpu_scheduler *sched, · line 89
Quoted 6 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +3
-0@@ -83,6 +84,11 @@ int xe_sched_init(struct xe_gpu_scheduler *sched,return drm_sched_init (&sched->base, &args); } +void xe_sched_reinit (struct xe_gpu_scheduler *sched) +{ + sched->base.timeout = sched->timeout;
IMO long term we should probably have a more generic drm_sched_reinit call in the common code, so that if new fields are added that need to be updated on re-init they are automatically handled, but we can probably do that as a follow-up.
Quoted 38 lines
drivers/gpu/drm/xe/xe_gpu_scheduler.c +2
-0+} +void xe_sched_fini (struct xe_gpu_scheduler *sched) {xe_sched_submission_stop (sched);drivers/gpu/drm/xe/xe_gpu_scheduler.h +1
-0@@ -17,6 +17,7 @@ int xe_sched_init(struct xe_gpu_scheduler *sched, long timeout, struct workqueue_struct *timeout_wq, atomic_t *score, const char *name, struct device *dev); +void xe_sched_reinit (struct xe_gpu_scheduler *sched);void xe_sched_fini (struct xe_gpu_scheduler *sched);void xe_sched_submission_start (struct xe_gpu_scheduler *sched);drivers/gpu/drm/xe/xe_gpu_scheduler_types.h +5
-0@@ -51,6 +51,11 @@ struct xe_gpu_scheduler {spinlock_t msg_lock;/** @work_process_msg: processes messages */ struct work_struct work_process_msg; +/** +* @timeout: timeout for the scheduler instance, to be restored +* during exec queue re-initialization +*/ +long timeout; };#define xe_sched_entity drm_sched_entitydrivers/gpu/drm/xe/xe_guc_submit.c +0
-0
drivers/gpu/drm/xe/xe_guc_submit.c static int guc_exec_queue_init(struct xe_exec_queue *q) · line 2047
Quoted 8 lines
drivers/gpu/drm/xe/xe_guc_submit.c +5
-0@@ -2040,6 +2040,17 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)return err; } +static void guc_exec_queue_reinit_kernel (struct xe_exec_queue *q) +{ +struct xe_gpu_scheduler *sched = &q->guc->sched; + +xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)),drm_sched_is_stopped (&sched->base));
This assert should be in xe_sched_reinit. with that:
Daniele
Quoted 17 lines
drivers/gpu/drm/xe/xe_guc_submit.c +7
-0+xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)), q->flags &EXEC_QUEUE_FLAG_KERNEL ); + +atomic_set (&q->guc->state,0 ); +xe_sched_reinit (sched); +} +static void guc_exec_queue_kill (struct xe_exec_queue *q) {trace_xe_exec_queue_kill (q);@@ -2282,6 +2293,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_kernel = guc_exec_queue_reinit_kernel, .kill = guc_exec_queue_kill, .fini = guc_exec_queue_fini, .destroy = guc_exec_queue_destroy,
PATCH v8 3/10 drm/xe/gt: Introduce FLR helpers
In reply to Raag JadavIn preparation of usecases which require preparing/re-initializing GT and all its uCs before/after PCIe FLR, introduce flr_prepare/reinit() helpers.
---
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(+)
drivers/gpu/drm/xe/xe_gsc.c +14 -0
@@ -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);
drivers/gpu/drm/xe/xe_gsc.h +1 -0
@@ -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);
drivers/gpu/drm/xe/xe_gt.c +23 -0
@@ -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);
drivers/gpu/drm/xe/xe_gt.h +2 -0
@@ -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);
drivers/gpu/drm/xe/xe_guc.c +29 -0
@@ -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);
drivers/gpu/drm/xe/xe_guc.h +2 -0
@@ -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);
drivers/gpu/drm/xe/xe_huc.c +14 -0
@@ -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);
drivers/gpu/drm/xe/xe_huc.h +1 -0
@@ -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);
drivers/gpu/drm/xe/xe_uc.c +72 -0
84 lines not on this page · raw message
drivers/gpu/drm/xe/xe_uc.h +2 -0
@@ -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);
drivers/gpu/drm/xe/xe_uc_types.h +14 -0
@@ -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
Signature · 1 line
2.43.0
PATCH v8 4/10 drm/xe/bo_evict: Introduce xe_bo_restore_map()
In reply to Raag JadavPCIe 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.
---
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(-)
drivers/gpu/drm/xe/xe_bo_evict.c +43 -8
@@ -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;
drivers/gpu/drm/xe/xe_bo_evict.h +2 -0
@@ -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);
Signature · 1 line
2.43.0
Re: [PATCH v8 04/10] drm/xe/bo_evict: Introduce xe_bo_restore_map()
Quoted 96 lines · 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 <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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(-)drivers/gpu/drm/xe/xe_bo_evict.c +43
-8@@ -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;drivers/gpu/drm/xe/xe_bo_evict.h +0
-0
drivers/gpu/drm/xe/xe_bo_evict.h int xe_bo_notifier_prepare_all_pinned(struct xe_device *xe); · line 22
Quoted 9 lines
drivers/gpu/drm/xe/xe_bo_evict.h +2
-0@@ -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);
LGTM,
PATCH v8 5/10 drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
In reply to Raag JadavIn 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.
---
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(-)
drivers/gpu/drm/xe/xe_exec_queue.c +38 -4
@@ -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; + +/* TODO: Re-initialize GSC and PXP queues */ +xe_assert (gt_to_xe (q->gt),IS_DGFX (gt_to_xe (q->gt))); +/* Re-initialization only allowed for kernel queues */ +xe_assert (gt_to_xe (q->gt), q->flags &EXEC_QUEUE_FLAG_KERNEL ); + +/* Re-initialize submission backend */ + q->ops->reinit_kernel (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
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
@@ -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)
drivers/gpu/drm/xe/xe_lrc.c +17 -0
@@ -1629,6 +1629,23 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, structreturn 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) {
drivers/gpu/drm/xe/xe_lrc.h +2 -0
@@ -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);/**
Signature · 1 line
2.43.0
Re: [PATCH v8 05/10] drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
Quoted 63 lines · 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 <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
v2: Re-initialize migrate context (Matthew Brost)
v6: AddIS_DGFX()andEXEC_QUEUE_FLAG_KERNELasserts (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(-)drivers/gpu/drm/xe/xe_exec_queue.c +12
-4@@ -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
drivers/gpu/drm/xe/xe_exec_queue.c static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags) · line 426
Quoted 10 lines
drivers/gpu/drm/xe/xe_exec_queue.c +10
-0+* @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; + +/* TODO: Re-initialize GSC and PXP queues */ +xe_assert (gt_to_xe (q->gt),IS_DGFX (gt_to_xe (q->gt)));
You can use xe_gt_assert here. Also, note that us not supporting GSC and PXP on discrete is a choice, not a generic requirement, so IMO for PXP/GSC checking it'd be better to add:
xe_gt_assert(q->gt, !xe_uc_fw_is_loadable(>->uc.gsc.fw));
xe_gt_assert(q->gt, !xe_pxp_is_enabled(gt_to_xe(q->gt)->pxp));
drivers/gpu/drm/xe/xe_exec_queue.c static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags) · line 431
Quoted 5 lines
drivers/gpu/drm/xe/xe_exec_queue.c +5
-0+/* Re-initialization only allowed for kernel queues */ +xe_assert (gt_to_xe (q->gt), q->flags &EXEC_QUEUE_FLAG_KERNEL ); + +/* Re-initialize submission backend */ + q->ops->reinit_kernel (q);
Thinking about it, the xe_sched_reinit() call from patch 2 could be moved here since that's not back-end specific.
I won't ask you to re-spin just for this, so I'm ok with it being considered as a follow-up, but if you need to do a re-spin anyway it might be worth doing it now.
Quoted 39 lines
drivers/gpu/drm/xe/xe_exec_queue.c +11
-0+ +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 drivers/gpu/drm/xe/xe_exec_queue.h +1
-0@@ -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)drivers/gpu/drm/xe/xe_lrc.c +5
-0@@ -1629,6 +1629,23 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, structreturn err; } +/** +* xe_lrc_reinit() - Re-initialize LRC +* @lrc: Pointer to the LRC +* @hwe: Hardware Engine +* @vm: The VM (address space)
drivers/gpu/drm/xe/xe_lrc.c static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct · line 1646
Quoted 10 lines
drivers/gpu/drm/xe/xe_lrc.c +10
-0+* @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);
nit: I wonder if it 'd just be easier to just export xe_lrc_ctx_init instead of creating xe_lrc_reinit. Not a blocker, so with the asserts fixed:
Daniele
Quoted 18 lines
drivers/gpu/drm/xe/xe_lrc.c +2
-0+} +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) {drivers/gpu/drm/xe/xe_lrc.h +2
-0@@ -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);/**
Re: [PATCH v8 05/10] drm/xe/exec_queue: Introduce xe_exec_queue_reinit()
Quoted 72 lines · Daniele Ceraolo Spurio
Quoted 57 lines · 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 <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
v2: Re-initialize migrate context (Matthew Brost)
v6: AddIS_DGFX()andEXEC_QUEUE_FLAG_KERNELasserts (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(-)drivers/gpu/drm/xe/xe_exec_queue.c +12
-4@@ -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 drivers/gpu/drm/xe/xe_exec_queue.c static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags) · line 425
Quoted 10 lines
drivers/gpu/drm/xe/xe_exec_queue.c +10
-0+* @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; + +/* TODO: Re-initialize GSC and PXP queues */ +xe_assert (gt_to_xe (q->gt),IS_DGFX (gt_to_xe (q->gt)));You can use
xe_gt_asserthere. Also, note that us not supporting GSC and PXP on discrete is a choice, not a generic requirement, so IMO for PXP/GSC checking it'd be better to add:
Quoted 3 lines
xe_gt_assert(q->gt, !xe_uc_fw_is_loadable(>->uc.gsc.fw));
xe_gt_assert(q->gt, !xe_pxp_is_enabled(gt_to_xe(q->gt)->pxp));
Sure.
Quoted 11 lines
drivers/gpu/drm/xe/xe_exec_queue.c static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags) · line 431
Quoted 5 lines
drivers/gpu/drm/xe/xe_exec_queue.c +5
-0+/* Re-initialization only allowed for kernel queues */ +xe_assert (gt_to_xe (q->gt), q->flags &EXEC_QUEUE_FLAG_KERNEL ); + +/* Re-initialize submission backend */ + q->ops->reinit_kernel (q);Thinking about it, the
xe_sched_reinit()call from patch 2 could be moved here since that's not back-end specific.
I won't ask you to re-spin just for this, so I'm ok with it being considered as a follow-up, but if you need to do a re-spin anyway it might be worth doing it now.
We xe_sched_init() inside guc_exec_queue_init() which IIUC is ->init() backend call, so I thought we should be following the same pattern here? Or did I miss something?
Quoted 42 lines
Quoted 42 lines
drivers/gpu/drm/xe/xe_exec_queue.c +11
-0+ +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 drivers/gpu/drm/xe/xe_exec_queue.h +1
-0@@ -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)drivers/gpu/drm/xe/xe_lrc.c +10
-0@@ -1629,6 +1629,23 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, structreturn 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.
Quoted 8 lines
drivers/gpu/drm/xe/xe_lrc.c static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct · line 1646
Quoted 5 lines
drivers/gpu/drm/xe/xe_lrc.c +5
-0+*/ +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);nit: I wonder if it 'd just be easier to just export
xe_lrc_ctx_initinstead of creatingxe_lrc_reinit. Not a blocker, so with the asserts fixed:
Coming right up.
Quoted 1 line
Reviewed-by Daniele Ceraolo Spurio <[email protected]>
Awesome :)
Raag
Quoted 17 lines
Quoted 16 lines
drivers/gpu/drm/xe/xe_lrc.c +2
-0+} +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) {drivers/gpu/drm/xe/xe_lrc.h +2
-0@@ -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);/**
PATCH v8 6/10 drm/xe/migrate: Introduce xe_migrate_reinit()
In reply to Raag JadavIn 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.
---
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(+)
drivers/gpu/drm/xe/xe_gt.c +10 -0
@@ -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); }
drivers/gpu/drm/xe/xe_migrate.c +12 -0
@@ -454,6 +454,18 @@ static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *mreturn 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
drivers/gpu/drm/xe/xe_migrate.h +1 -0
@@ -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,
Signature · 1 line
2.43.0
PATCH v8 7/10 drm/xe/pm: Introduce xe_device_suspend/resume()
In reply to Raag JadavPCIe 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.
---
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(-)
drivers/gpu/drm/xe/xe_device.c +150 -0
@@ -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"
@@ -1512,3 +1514,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 ; +}
drivers/gpu/drm/xe/xe_device.h +2 -0
@@ -48,7 +48,9 @@ int xe_device_init_early(struct xe_device *xe);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);
drivers/gpu/drm/xe/xe_pm.c +8 -95
131 lines not on this page · raw message
Signature · 1 line
2.43.0
Re: [PATCH v8 07/10] drm/xe/pm: Introduce xe_device_suspend/resume()
Quoted 7 lines · 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 <[email protected]>Signed-off-by Raag Jadav <[email protected]>
neat!
Quoted 334 lines
---
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(-)drivers/gpu/drm/xe/xe_device.c +150
-0@@ -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" @@ -1512,3 +1514,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 ; +}drivers/gpu/drm/xe/xe_device.h +2
-0@@ -48,7 +48,9 @@ int xe_device_init_early(struct xe_device *xe);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);drivers/gpu/drm/xe/xe_pm.c +8
-95@@ -172,52 +172,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; }@@ -230,71 +196,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; }Signature · 1 line
2.43.0
PATCH v8 8/10 drm/xe: Improve wedged state management
In reply to Raag JadavCurrently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_device.c +3 -2
@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }
@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)return ; } -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) { +xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,
drivers/gpu/drm/xe/xe_device.h +11 -1
@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe); +static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref); +} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref); +} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);
drivers/gpu/drm/xe/xe_device_types.h +4 -2
@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini; +/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */
Signature · 1 line
2.43.0
Re: [PATCH v8 08/10] drm/xe: Improve wedged state management
Quoted 69 lines · Raag Jadav
Currently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
Signed-off-by Raag Jadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)drivers/gpu/drm/xe/xe_device.c +3
-2@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)return ; } -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) { +xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,drivers/gpu/drm/xe/xe_device.h +11
-1@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe); +static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref); +} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref); +} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);drivers/gpu/drm/xe/xe_device_types.h +0
-0
drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 489
Quoted 7 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-2@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini;
to me it is easier to see this as a 'permanent' flag than a flag to 'clean' on 'fini'.
but up to you...
either way:
Quoted 8 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ Signature · 1 line
2.43.0
Re: [PATCH v8 08/10] drm/xe: Improve wedged state management
Quoted 30 lines · Rodrigo Vivi
Quoted 29 lines · Raag Jadav
Currently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
Signed-off-by Raag Jadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)drivers/gpu/drm/xe/xe_device.c +1
-1@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }
Quoted 6 lines
drivers/gpu/drm/xe/xe_device.c void xe_device_declare_wedged(struct xe_device *xe) · line 1416
Quoted 6 lines
drivers/gpu/drm/xe/xe_device.c +1
-1@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)return ; } -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) {
Just curious. Why do we need runtime pm reference held throughout till the end of driver unload? Even if this is needed why not associate releasing runtime pm wakeref with the flr_on_fini flag.
I was facing a similar issue for uncorrectable series and i was thinking of releasing runtime pm wakeref based on flr_fini.
Thanks
Riana
Quoted 58 lines
Quoted 34 lines
drivers/gpu/drm/xe/xe_device.c +1
-0+xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,drivers/gpu/drm/xe/xe_device.h +11
-1@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe); +static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref); +} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref); +} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);drivers/gpu/drm/xe/xe_device_types.h +0
-0drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 489
Quoted 7 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-2@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini;to me it is easier to see this as a 'permanent' flag than a flag to 'clean' on 'fini'.
but up to you...
either way:
Reviewed-by Rodrigo Vivi <[email protected]>Quoted 8 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ Signature · 1 line
2.43.0
Re: [PATCH v8 08/10] drm/xe: Improve wedged state management
Quoted 31 lines · Riana
Quoted 30 lines · Rodrigo Vivi
Quoted 29 lines · Raag Jadav
Currently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
Signed-off-by Raag Jadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)drivers/gpu/drm/xe/xe_device.c +1
-1@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)return ;
Quoted 8 lines
Quoted 3 lines
drivers/gpu/drm/xe/xe_device.c void xe_device_declare_wedged(struct xe_device *xe) · line 1416
Quoted 3 lines
drivers/gpu/drm/xe/xe_device.c +1
-1} -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) {Just curious. Why do we need runtime pm reference held throughout till the end of driver unload?
Even if this is needed why not associate releasing runtime pm wakeref with theflr_on_finiflag.
I guess flr_on_fini has multiple setters and it's not always clear how many.
Quoted 3 lines
I was facing a similar issue for uncorrectable series and i was thinking of releasing runtime
pm wakeref based onflr_fini.
Sure but I'm not touching any existing behaviour in this series. Probably worth exploring as a follow up.
Raag
Quoted 55 lines
Quoted 55 lines
Quoted 32 lines
drivers/gpu/drm/xe/xe_device.c +1
-0+xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,drivers/gpu/drm/xe/xe_device.h +11
-1@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe); +static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref); +} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref); +} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);drivers/gpu/drm/xe/xe_device_types.h +0
-0drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 488
Quoted 6 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-2@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini;to me it is easier to see this as a 'permanent' flag than a flag to 'clean' on 'fini'.
but up to you...
either way:
Reviewed-by Rodrigo Vivi <[email protected]>Quoted 8 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ Signature · 1 line
2.43.0
Re: [PATCH v8 08/10] drm/xe: Improve wedged state management
Quoted 60 lines · Raag Jadav
Quoted 30 lines · Riana
Quoted 29 lines · Rodrigo Vivi
Quoted 28 lines · Raag Jadav
Currently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
Signed-off-by Raag Jadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)drivers/gpu/drm/xe/xe_device.c +1
-1@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c void xe_device_declare_wedged(struct xe_device *xe) · line 1416
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c +1
-1return ; } -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) {Just curious. Why do we need runtime pm reference held throughout till the end of driver unload?
Even if this is needed why not associate releasing runtime pm wakeref with theflr_on_finiflag.I guess
flr_on_finihas multiple setters and it's not always clear how many.Quoted 3 lines
I was facing a similar issue for uncorrectable series and i was thinking of releasing runtime
pm wakeref based onflr_fini.Sure but I'm not touching any existing behaviour in this series. Probably worth exploring as a follow up.
Raag
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
drivers/gpu/drm/xe/xe_device.c +1
-0+xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,drivers/gpu/drm/xe/xe_device.h +0
-0@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe);
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/xe/xe_device.h bool xe_device_is_l2_flush_optimized(struct xe_device *xe); · line 204
Quoted 8 lines
drivers/gpu/drm/xe/xe_device.h +8
-0+static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref); +} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref);
Can you please add a WARN_ON here if reference underflows. Since this is already reviewed can this patch be sent separately?
Thank you
Riana
Quoted 36 lines
Quoted 36 lines
Quoted 36 lines
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.h +3
-1+} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);drivers/gpu/drm/xe/xe_device_types.h +0
-0drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 488
Quoted 6 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-2@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini;to me it is easier to see this as a 'permanent' flag than a flag to 'clean' on 'fini'.
but up to you...
either way:
Reviewed-by Rodrigo Vivi <[email protected]>Quoted 8 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ Signature · 1 line
2.43.0
Matthew Brost
maintainerRe: [PATCH v8 08/10] drm/xe: Improve wedged state management
Quoted 65 lines · Riana
Quoted 63 lines · Raag Jadav
Quoted 30 lines · Riana
Quoted 29 lines · Rodrigo Vivi
Quoted 28 lines · Raag Jadav
Currently, wedged state is serving a single usecase where the device is declared wedged, but this doesn't allow any wedged state management for runtime usecases. In preparation of usecases which requires to facilitate temporary device wedging, convert wedged.flag to wedged.ref which serves as a driver internal refcount and blocks critical path execution during device lifetime and while at it, introduce wedged.fini and use it as a cleanup indicator during driver unwind which operates independent of the refcount.
Signed-off-by Raag Jadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 5 +++-- drivers/gpu/drm/xe/xe_device.h | 12 +++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-)drivers/gpu/drm/xe/xe_device.c +1
-1@@ -917,7 +917,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg) {struct xe_device *xe = arg; -if (atomic_read (&xe->wedged.flag)) +if (atomic_read (&xe->wedged.fini))xe_pm_runtime_put (xe); }@@ -1413,7 +1413,8 @@ void xe_device_declare_wedged(struct xe_device *xe)Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c void xe_device_declare_wedged(struct xe_device *xe) · line 1416
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c +1
-1return ; } -if (!atomic_xchg (&xe->wedged.flag,1 )) { +if (!atomic_xchg (&xe->wedged.fini,1 )) {Just curious. Why do we need runtime pm reference held throughout till the end of driver unload?
Even if this is needed why not associate releasing runtime pm wakeref with theflr_on_finiflag.I guess
flr_on_finihas multiple setters and it's not always clear how many.Quoted 3 lines
I was facing a similar issue for uncorrectable series and i was thinking of releasing runtime
pm wakeref based onflr_fini.Sure but I'm not touching any existing behaviour in this series. Probably worth exploring as a follow up.
Raag
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/xe/xe_device.c +1
-0+xe_device_wedged_get (xe); xe->needs_flr_on_fini = true;xe_pm_runtime_get_noresume (xe); drm_err(&xe->drm,drivers/gpu/drm/xe/xe_device.h +3
-0@@ -194,9 +194,19 @@ bool xe_device_is_l2_flush_optimized(struct xe_device *xe);void xe_device_td_flush (struct xe_device *xe);void xe_device_l2_flush (struct xe_device *xe); +static inline void xe_device_wedged_get (struct xe_device *xe) +{ +atomic_inc (&xe->wedged.ref);
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/xe/xe_device.h bool xe_device_is_l2_flush_optimized(struct xe_device *xe); · line 204
Quoted 5 lines
drivers/gpu/drm/xe/xe_device.h +5
-0+} + +static inline void xe_device_wedged_put (struct xe_device *xe) +{ +atomic_dec (&xe->wedged.ref);Can you please add a
WARN_ONhere if reference underflows. Since this is already reviewed can this patch be sent separately?
Squash this in unless merged.
Quoted 1 line
So probably...
int orig;
orig = atomic_fetch_add(-1, &xe->wedged.ref);xe_assert(xe, !(orig <= 0));
To prefer Xe asserts.
Matt
Quoted 39 lines
Thank you
RianaQuoted 36 lines
Quoted 36 lines
Quoted 36 lines
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.h +3
-1+} +static inline bool xe_device_wedged (struct xe_device *xe) { -return atomic_read (&xe->wedged.flag); +return atomic_read (&xe->wedged.ref); }void xe_device_set_wedged_method (struct xe_device *xe,unsigned long method);drivers/gpu/drm/xe/xe_device_types.h +0
-0drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 488
Quoted 6 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-2@@ -485,8 +485,10 @@ struct xe_device {/** @wedged: Struct to control Wedged States and mode */ struct { -/** @wedged.flag: Xe device faced a critical error and is now blocked. */ -atomic_t flag; +/** @wedged.fini: Needs cleanup on fini */ +atomic_t fini;to me it is easier to see this as a 'permanent' flag than a flag to 'clean' on 'fini'.
but up to you...
either way:
Reviewed-by Rodrigo Vivi <[email protected]>Quoted 8 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+/** @wedged.ref: Refcount for wedged device, blocks critical path execution */ +atomic_t ref;/** @wedged.mode: Mode controlled by kernel parameter and debugfs */ enum xe_wedged_mode mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ Signature · 1 line
2.43.0
PATCH v8 9/10 drm/xe/pci: Introduce PCIe FLR
In reply to Raag JadavWith 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.
---
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 | 126 +++++++++++++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_pci_error.c
drivers/gpu/drm/xe/Makefile +1 -0
@@ -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 \
drivers/gpu/drm/xe/xe_device_types.h +3 -0
@@ -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;
drivers/gpu/drm/xe/xe_pci.c +1 -0
@@ -1351,6 +1351,7 @@ static struct pci_driver xe_pci_driver = {#ifdef CONFIG_PM_SLEEP .driver.pm = &xe_pm_ops, #endif + .err_handler = &xe_pci_error_handlers, };/**
drivers/gpu/drm/xe/xe_pci.h +2 -0
@@ -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);
drivers/gpu/drm/xe/xe_pci_error.c new file +126 -0
126 lines not on this page · raw message
Signature · 1 line
2.43.0
Re: [PATCH v8 09/10] drm/xe/pci: Introduce PCIe FLR
Quoted 82 lines · 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 <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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)
Introducexe_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 | 126 +++++++++++++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_pci_error.cdrivers/gpu/drm/xe/Makefile +1
-0@@ -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 \drivers/gpu/drm/xe/xe_device_types.h +3
-0@@ -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;drivers/gpu/drm/xe/xe_pci.c +1
-0@@ -1351,6 +1351,7 @@ static struct pci_driver xe_pci_driver = {#ifdef CONFIG_PM_SLEEP .driver.pm = &xe_pm_ops, #endif + .err_handler = &xe_pci_error_handlers, };/** drivers/gpu/drm/xe/xe_pci.h +2
-0@@ -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);drivers/gpu/drm/xe/xe_pci_error.c new file +1
-0@@ -0,0 +1,126 @@ +// SPDX-License-Identifier: MIT
drivers/gpu/drm/xe/xe_pci_error.c line 11
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +10
-0+/* +* Copyright © 2026 Intel Corporation +*/ + +#include "xe_device.h" +#include "xe_printk.h" +#include "xe_sriov_pf_helpers.h" + +/** +* DOC: PCI Error Handling
Perhaps 'Xe PCI Error Handling' on this and on the next patch as well. Only to avoid some ditracted doc reader to think it is a main PCI section?!
Quoted 31 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +31
-0+* +* 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. +*
drivers/gpu/drm/xe/xe_pci_error.c line 52
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +10
-0+* 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
Quoted 20 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +20
-0+*/ + +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 ; + }
drivers/gpu/drm/xe/xe_pci_error.c line 82
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +10
-0+ +/* Wedge the device to prevent userspace access but don't send the event yet */ +xe_device_wedged_get (xe); + +/* +* 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)) {
perhaps err = xe_device...
if (err) {
Quoted 19 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +19
-0+xe_err (xe,"Failed to prepare for PCIe FLR\n" ); +/* Allow user to retry FLR */ +xe_device_wedged_put (xe); +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 ;
drivers/gpu/drm/xe/xe_pci_error.c line 111
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +10
-0+ +/* 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)) {
same here...
Quoted 18 lines
drivers/gpu/drm/xe/xe_pci_error.c new file +15
-0+xe_err (xe,"Re-initialization failed\n" ); +/* Allow user to retry FLR */ +xe_device_wedged_put (xe); +return ; + } + +/* Unwedge to allow userspace access */ +xe_device_wedged_put (xe); +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, +};Signature · 1 line
2.43.0
PATCH v8 10/10 drm/xe/doc: Wire up PCI Error Handling
In reply to Raag JadavWire up PCI Error Handling documentation.
--- Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_pci_error.rst | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 Documentation/gpu/xe/xe_pci_error.rst
Documentation/gpu/xe/index.rst +1 -0
@@ -30,3 +30,4 @@ DG2, etc is provided to prototype the driver. xe-drm-usage-stats.rst xe_configfs xe_gt_stats + xe_pci_error
Documentation/gpu/xe/xe_pci_error.rst new file +8 -0
@@ -0,0 +1,8 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +================== +PCI Error Handling +================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pci_error.c + :doc: PCI Error Handling
Signature · 1 line
2.43.0
Patchwork
CI✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev8)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev8)
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 046418c1b04c831019434652ac522c307a4a3aac
Author: Raag Jadav <[email protected]> Date: Wed Jun 3 15:47:10 2026 +0530
drm/xe/doc: Wire up PCI Error Handling
Wire up PCI Error Handling documentation.
+ /mt/dim checkpatch eb42f7e0ec818a6be55482d88145d757acf3e093 drm-intel f0513d2c1eae drm/xe/uc_fw: Allow re-initializing firmware0b7a3ff73e66 drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel() c25a03a3c30b drm/xe/gt: Introduce FLR helpers1c9d1475cc75 drm/xe/bo_evict: Introduce xe_bo_restore_map()750759aa6cbb drm/xe/exec_queue: Introduce xe_exec_queue_reinit()716fab3524d9 drm/xe/migrate: Introduce xe_migrate_reinit()f6d0d0bb2221 drm/xe/pm: Introduce xe_device_suspend/resume()9f7893c3b7e3 drm/xe: Improve wedged state management39891ee3190b 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, 157 lines checked046418c1b04c drm/xe/doc: Wire up PCI Error Handling
-:20: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #20:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 12 lines checked
Patchwork
CI✓ CI.KUnit: success for Introduce Xe PCIe FLR (rev8)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev8)
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 [10:28:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:28:24] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:28:55] Starting KUnit Kernel (1/1)... [10:28:55] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:28:55] ================== guc_buf (11 subtests) =================== [10:28:55] [PASSED] test_smallest [10:28:55] [PASSED] test_largest [10:28:55] [PASSED] test_granular [10:28:55] [PASSED] test_unique [10:28:55] [PASSED] test_overlap [10:28:55] [PASSED] test_reusable [10:28:55] [PASSED] test_too_big [10:28:55] [PASSED] test_flush [10:28:55] [PASSED] test_lookup [10:28:55] [PASSED] test_data [10:28:55] [PASSED] test_class [10:28:55] ===================== [PASSED] guc_buf ===================== [10:28:55] =================== guc_dbm (7 subtests) =================== [10:28:55] [PASSED] test_empty [10:28:55] [PASSED] test_default [10:28:55] ======================== test_size ======================== [10:28:55] [PASSED] 4 [10:28:55] [PASSED] 8 [10:28:55] [PASSED] 32 [10:28:55] [PASSED] 256 [10:28:55] ==================== [PASSED] test_size ==================== [10:28:55] ======================= test_reuse ======================== [10:28:55] [PASSED] 4 [10:28:55] [PASSED] 8 [10:28:55] [PASSED] 32 [10:28:55] [PASSED] 256 [10:28:55] =================== [PASSED] test_reuse ==================== [10:28:55] =================== test_range_overlap ==================== [10:28:55] [PASSED] 4 [10:28:55] [PASSED] 8 [10:28:55] [PASSED] 32 [10:28:55] [PASSED] 256 [10:28:55] =============== [PASSED] test_range_overlap ================ [10:28:55] =================== test_range_compact ==================== [10:28:55] [PASSED] 4 [10:28:55] [PASSED] 8 [10:28:55] [PASSED] 32 [10:28:55] [PASSED] 256 [10:28:55] =============== [PASSED] test_range_compact ================ [10:28:55] ==================== test_range_spare ===================== [10:28:55] [PASSED] 4 [10:28:55] [PASSED] 8 [10:28:55] [PASSED] 32 [10:28:55] [PASSED] 256 [10:28:55] ================ [PASSED] test_range_spare ================= [10:28:55] ===================== [PASSED] guc_dbm ===================== [10:28:55] =================== guc_idm (6 subtests) =================== [10:28:55] [PASSED] bad_init [10:28:55] [PASSED] no_init [10:28:55] [PASSED] init_fini [10:28:55] [PASSED] check_used [10:28:55] [PASSED] check_quota [10:28:55] [PASSED] check_all [10:28:55] ===================== [PASSED] guc_idm ===================== [10:28:55] ================== no_relay (3 subtests) =================== [10:28:55] [PASSED] xe_drops_guc2pf_if_not_ready [10:28:55] [PASSED] xe_drops_guc2vf_if_not_ready [10:28:55] [PASSED] xe_rejects_send_if_not_ready [10:28:55] ==================== [PASSED] no_relay ===================== [10:28:55] ================== pf_relay (14 subtests) ================== [10:28:55] [PASSED] pf_rejects_guc2pf_too_short [10:28:55] [PASSED] pf_rejects_guc2pf_too_long [10:28:55] [PASSED] pf_rejects_guc2pf_no_payload [10:28:55] [PASSED] pf_fails_no_payload [10:28:55] [PASSED] pf_fails_bad_origin [10:28:55] [PASSED] pf_fails_bad_type [10:28:55] [PASSED] pf_txn_reports_error [10:28:55] [PASSED] pf_txn_sends_pf2guc [10:28:55] [PASSED] pf_sends_pf2guc [10:28:55] [SKIPPED] pf_loopback_nop [10:28:55] [SKIPPED] pf_loopback_echo [10:28:55] [SKIPPED] pf_loopback_fail [10:28:55] [SKIPPED] pf_loopback_busy [10:28:55] [SKIPPED] pf_loopback_retry [10:28:55] ==================== [PASSED] pf_relay ===================== [10:28:55] ================== vf_relay (3 subtests) =================== [10:28:55] [PASSED] vf_rejects_guc2vf_too_short [10:28:55] [PASSED] vf_rejects_guc2vf_too_long [10:28:55] [PASSED] vf_rejects_guc2vf_no_payload [10:28:55] ==================== [PASSED] vf_relay ===================== [10:28:55] ================ pf_gt_config (9 subtests) ================= [10:28:55] [PASSED] fair_contexts_1vf [10:28:55] [PASSED] fair_doorbells_1vf [10:28:55] [PASSED] fair_ggtt_1vf [10:28:55] ====================== fair_vram_1vf ====================== [10:28:55] [PASSED] 3.50 GiB [10:28:55] [PASSED] 11.5 GiB [10:28:55] [PASSED] 15.5 GiB [10:28:55] [PASSED] 31.5 GiB [10:28:55] [PASSED] 63.5 GiB [10:28:55] [PASSED] 1.91 GiB [10:28:55] ================== [PASSED] fair_vram_1vf ================== [10:28:55] ================ fair_vram_1vf_admin_only ================= [10:28:55] [PASSED] 3.50 GiB [10:28:55] [PASSED] 11.5 GiB [10:28:55] [PASSED] 15.5 GiB [10:28:55] [PASSED] 31.5 GiB [10:28:55] [PASSED] 63.5 GiB [10:28:55] [PASSED] 1.91 GiB [10:28:55] ============ [PASSED] fair_vram_1vf_admin_only ============= [10:28:55] ====================== fair_contexts ====================== [10:28:55] [PASSED] 1 VF [10:28:55] [PASSED] 2 VFs [10:28:55] [PASSED] 3 VFs [10:28:55] [PASSED] 4 VFs [10:28:55] [PASSED] 5 VFs [10:28:55] [PASSED] 6 VFs [10:28:55] [PASSED] 7 VFs [10:28:55] [PASSED] 8 VFs [10:28:55] [PASSED] 9 VFs [10:28:55] [PASSED] 10 VFs [10:28:55] [PASSED] 11 VFs [10:28:55] [PASSED] 12 VFs [10:28:55] [PASSED] 13 VFs [10:28:55] [PASSED] 14 VFs [10:28:55] [PASSED] 15 VFs [10:28:55] [PASSED] 16 VFs [10:28:55] [PASSED] 17 VFs [10:28:55] [PASSED] 18 VFs [10:28:55] [PASSED] 19 VFs [10:28:55] [PASSED] 20 VFs [10:28:55] [PASSED] 21 VFs [10:28:55] [PASSED] 22 VFs [10:28:55] [PASSED] 23 VFs [10:28:55] [PASSED] 24 VFs [10:28:55] [PASSED] 25 VFs [10:28:55] [PASSED] 26 VFs [10:28:55] [PASSED] 27 VFs [10:28:55] [PASSED] 28 VFs [10:28:55] [PASSED] 29 VFs [10:28:55] [PASSED] 30 VFs [10:28:55] [PASSED] 31 VFs [10:28:55] [PASSED] 32 VFs [10:28:55] [PASSED] 33 VFs [10:28:55] [PASSED] 34 VFs [10:28:55] [PASSED] 35 VFs [10:28:55] [PASSED] 36 VFs [10:28:55] [PASSED] 37 VFs [10:28:55] [PASSED] 38 VFs [10:28:55] [PASSED] 39 VFs [10:28:55] [PASSED] 40 VFs [10:28:55] [PASSED] 41 VFs [10:28:55] [PASSED] 42 VFs [10:28:55] [PASSED] 43 VFs [10:28:55] [PASSED] 44 VFs [10:28:55] [PASSED] 45 VFs [10:28:55] [PASSED] 46 VFs [10:28:55] [PASSED] 47 VFs [10:28:55] [PASSED] 48 VFs [10:28:55] [PASSED] 49 VFs [10:28:55] [PASSED] 50 VFs [10:28:55] [PASSED] 51 VFs [10:28:55] [PASSED] 52 VFs [10:28:55] [PASSED] 53 VFs [10:28:55] [PASSED] 54 VFs [10:28:56] [PASSED] 55 VFs [10:28:56] [PASSED] 56 VFs [10:28:56] [PASSED] 57 VFs [10:28:56] [PASSED] 58 VFs [10:28:56] [PASSED] 59 VFs [10:28:56] [PASSED] 60 VFs [10:28:56] [PASSED] 61 VFs [10:28:56] [PASSED] 62 VFs [10:28:56] [PASSED] 63 VFs [10:28:56] ================== [PASSED] fair_contexts ================== [10:28:56] ===================== fair_doorbells ====================== [10:28:56] [PASSED] 1 VF [10:28:56] [PASSED] 2 VFs [10:28:56] [PASSED] 3 VFs [10:28:56] [PASSED] 4 VFs [10:28:56] [PASSED] 5 VFs [10:28:56] [PASSED] 6 VFs [10:28:56] [PASSED] 7 VFs [10:28:56] [PASSED] 8 VFs [10:28:56] [PASSED] 9 VFs [10:28:56] [PASSED] 10 VFs [10:28:56] [PASSED] 11 VFs [10:28:56] [PASSED] 12 VFs [10:28:56] [PASSED] 13 VFs [10:28:56] [PASSED] 14 VFs [10:28:56] [PASSED] 15 VFs [10:28:56] [PASSED] 16 VFs [10:28:56] [PASSED] 17 VFs [10:28:56] [PASSED] 18 VFs [10:28:56] [PASSED] 19 VFs [10:28:56] [PASSED] 20 VFs [10:28:56] [PASSED] 21 VFs [10:28:56] [PASSED] 22 VFs [10:28:56] [PASSED] 23 VFs [10:28:56] [PASSED] 24 VFs [10:28:56] [PASSED] 25 VFs [10:28:56] [PASSED] 26 VFs [10:28:56] [PASSED] 27 VFs [10:28:56] [PASSED] 28 VFs [10:28:56] [PASSED] 29 VFs [10:28:56] [PASSED] 30 VFs [10:28:56] [PASSED] 31 VFs [10:28:56] [PASSED] 32 VFs [10:28:56] [PASSED] 33 VFs [10:28:56] [PASSED] 34 VFs [10:28:56] [PASSED] 35 VFs [10:28:56] [PASSED] 36 VFs [10:28:56] [PASSED] 37 VFs [10:28:56] [PASSED] 38 VFs [10:28:56] [PASSED] 39 VFs [10:28:56] [PASSED] 40 VFs [10:28:56] [PASSED] 41 VFs [10:28:56] [PASSED] 42 VFs [10:28:56] [PASSED] 43 VFs [10:28:56] [PASSED] 44 VFs [10:28:56] [PASSED] 45 VFs [10:28:56] [PASSED] 46 VFs [10:28:56] [PASSED] 47 VFs [10:28:56] [PASSED] 48 VFs [10:28:56] [PASSED] 49 VFs [10:28:56] [PASSED] 50 VFs [10:28:56] [PASSED] 51 VFs [10:28:56] [PASSED] 52 VFs [10:28:56] [PASSED] 53 VFs [10:28:56] [PASSED] 54 VFs [10:28:56] [PASSED] 55 VFs [10:28:56] [PASSED] 56 VFs [10:28:56] [PASSED] 57 VFs [10:28:56] [PASSED] 58 VFs [10:28:56] [PASSED] 59 VFs [10:28:56] [PASSED] 60 VFs [10:28:56] [PASSED] 61 VFs [10:28:56] [PASSED] 62 VFs [10:28:56] [PASSED] 63 VFs [10:28:56] ================= [PASSED] fair_doorbells ================== [10:28:56] ======================== fair_ggtt ======================== [10:28:56] [PASSED] 1 VF [10:28:56] [PASSED] 2 VFs [10:28:56] [PASSED] 3 VFs [10:28:56] [PASSED] 4 VFs [10:28:56] [PASSED] 5 VFs [10:28:56] [PASSED] 6 VFs [10:28:56] [PASSED] 7 VFs [10:28:56] [PASSED] 8 VFs [10:28:56] [PASSED] 9 VFs [10:28:56] [PASSED] 10 VFs [10:28:56] [PASSED] 11 VFs [10:28:56] [PASSED] 12 VFs [10:28:56] [PASSED] 13 VFs [10:28:56] [PASSED] 14 VFs [10:28:56] [PASSED] 15 VFs [10:28:56] [PASSED] 16 VFs [10:28:56] [PASSED] 17 VFs [10:28:56] [PASSED] 18 VFs [10:28:56] [PASSED] 19 VFs [10:28:56] [PASSED] 20 VFs [10:28:56] [PASSED] 21 VFs [10:28:56] [PASSED] 22 VFs [10:28:56] [PASSED] 23 VFs [10:28:56] [PASSED] 24 VFs [10:28:56] [PASSED] 25 VFs [10:28:56] [PASSED] 26 VFs [10:28:56] [PASSED] 27 VFs [10:28:56] [PASSED] 28 VFs [10:28:56] [PASSED] 29 VFs [10:28:56] [PASSED] 30 VFs [10:28:56] [PASSED] 31 VFs [10:28:56] [PASSED] 32 VFs [10:28:56] [PASSED] 33 VFs [10:28:56] [PASSED] 34 VFs [10:28:56] [PASSED] 35 VFs [10:28:56] [PASSED] 36 VFs [10:28:56] [PASSED] 37 VFs [10:28:56] [PASSED] 38 VFs [10:28:56] [PASSED] 39 VFs [10:28:56] [PASSED] 40 VFs [10:28:56] [PASSED] 41 VFs [10:28:56] [PASSED] 42 VFs [10:28:56] [PASSED] 43 VFs [10:28:56] [PASSED] 44 VFs [10:28:56] [PASSED] 45 VFs [10:28:56] [PASSED] 46 VFs [10:28:56] [PASSED] 47 VFs [10:28:56] [PASSED] 48 VFs [10:28:56] [PASSED] 49 VFs [10:28:56] [PASSED] 50 VFs [10:28:56] [PASSED] 51 VFs [10:28:56] [PASSED] 52 VFs [10:28:56] [PASSED] 53 VFs [10:28:56] [PASSED] 54 VFs [10:28:56] [PASSED] 55 VFs [10:28:56] [PASSED] 56 VFs [10:28:56] [PASSED] 57 VFs [10:28:56] [PASSED] 58 VFs [10:28:56] [PASSED] 59 VFs [10:28:56] [PASSED] 60 VFs [10:28:56] [PASSED] 61 VFs [10:28:56] [PASSED] 62 VFs [10:28:56] [PASSED] 63 VFs [10:28:56] ==================== [PASSED] fair_ggtt ==================== [10:28:56] ======================== fair_vram ======================== [10:28:56] [PASSED] 1 VF [10:28:56] [PASSED] 2 VFs [10:28:56] [PASSED] 3 VFs [10:28:56] [PASSED] 4 VFs [10:28:56] [PASSED] 5 VFs [10:28:56] [PASSED] 6 VFs [10:28:56] [PASSED] 7 VFs [10:28:56] [PASSED] 8 VFs [10:28:56] [PASSED] 9 VFs [10:28:56] [PASSED] 10 VFs [10:28:56] [PASSED] 11 VFs [10:28:56] [PASSED] 12 VFs [10:28:56] [PASSED] 13 VFs [10:28:56] [PASSED] 14 VFs [10:28:56] [PASSED] 15 VFs [10:28:56] [PASSED] 16 VFs [10:28:56] [PASSED] 17 VFs [10:28:56] [PASSED] 18 VFs [10:28:56] [PASSED] 19 VFs [10:28:56] [PASSED] 20 VFs [10:28:56] [PASSED] 21 VFs [10:28:56] [PASSED] 22 VFs [10:28:56] [PASSED] 23 VFs [10:28:56] [PASSED] 24 VFs [10:28:56] [PASSED] 25 VFs [10:28:56] [PASSED] 26 VFs [10:28:56] [PASSED] 27 VFs [10:28:56] [PASSED] 28 VFs [10:28:56] [PASSED] 29 VFs [10:28:56] [PASSED] 30 VFs [10:28:56] [PASSED] 31 VFs [10:28:56] [PASSED] 32 VFs [10:28:56] [PASSED] 33 VFs [10:28:56] [PASSED] 34 VFs [10:28:56] [PASSED] 35 VFs [10:28:56] [PASSED] 36 VFs [10:28:56] [PASSED] 37 VFs [10:28:56] [PASSED] 38 VFs [10:28:56] [PASSED] 39 VFs [10:28:56] [PASSED] 40 VFs [10:28:56] [PASSED] 41 VFs [10:28:56] [PASSED] 42 VFs [10:28:56] [PASSED] 43 VFs [10:28:56] [PASSED] 44 VFs [10:28:56] [PASSED] 45 VFs [10:28:56] [PASSED] 46 VFs [10:28:56] [PASSED] 47 VFs [10:28:56] [PASSED] 48 VFs [10:28:56] [PASSED] 49 VFs [10:28:56] [PASSED] 50 VFs [10:28:56] [PASSED] 51 VFs [10:28:56] [PASSED] 52 VFs [10:28:56] [PASSED] 53 VFs [10:28:56] [PASSED] 54 VFs [10:28:56] [PASSED] 55 VFs [10:28:56] [PASSED] 56 VFs [10:28:56] [PASSED] 57 VFs [10:28:56] [PASSED] 58 VFs [10:28:56] [PASSED] 59 VFs [10:28:56] [PASSED] 60 VFs [10:28:56] [PASSED] 61 VFs [10:28:56] [PASSED] 62 VFs [10:28:56] [PASSED] 63 VFs [10:28:56] ==================== [PASSED] fair_vram ==================== [10:28:56] ================== [PASSED] pf_gt_config =================== [10:28:56] ===================== lmtt (1 subtest) ===================== [10:28:56] ======================== test_ops ========================= [10:28:56] [PASSED] 2-level [10:28:56] [PASSED] multi-level [10:28:56] ==================== [PASSED] test_ops ===================== [10:28:56] ====================== [PASSED] lmtt ======================= [10:28:56] ================= pf_service (11 subtests) ================= [10:28:56] [PASSED] pf_negotiate_any [10:28:56] [PASSED] pf_negotiate_base_match [10:28:56] [PASSED] pf_negotiate_base_newer [10:28:56] [PASSED] pf_negotiate_base_next [10:28:56] [SKIPPED] pf_negotiate_base_older [10:28:56] [PASSED] pf_negotiate_base_prev [10:28:56] [PASSED] pf_negotiate_latest_match [10:28:56] [PASSED] pf_negotiate_latest_newer [10:28:56] [PASSED] pf_negotiate_latest_next [10:28:56] [SKIPPED] pf_negotiate_latest_older [10:28:56] [SKIPPED] pf_negotiate_latest_prev [10:28:56] =================== [PASSED] pf_service ==================== [10:28:56] ================= xe_guc_g2g (2 subtests) ================== [10:28:56] ============== xe_live_guc_g2g_kunit_default ============== [10:28:56] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [10:28:56] ============== xe_live_guc_g2g_kunit_allmem =============== [10:28:56] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [10:28:56] =================== [SKIPPED] xe_guc_g2g =================== [10:28:56] =================== xe_mocs (2 subtests) =================== [10:28:56] ================ xe_live_mocs_kernel_kunit ================ [10:28:56] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [10:28:56] ================ xe_live_mocs_reset_kunit ================= [10:28:56] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [10:28:56] ==================== [SKIPPED] xe_mocs ===================== [10:28:56] ================= xe_migrate (2 subtests) ================== [10:28:56] ================= xe_migrate_sanity_kunit ================= [10:28:56] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [10:28:56] ================== xe_validate_ccs_kunit ================== [10:28:56] ============= [SKIPPED] xe_validate_ccs_kunit ============== [10:28:56] =================== [SKIPPED] xe_migrate =================== [10:28:56] ================== xe_dma_buf (1 subtest) ================== [10:28:56] ==================== xe_dma_buf_kunit ===================== [10:28:56] ================ [SKIPPED] xe_dma_buf_kunit ================ [10:28:56] =================== [SKIPPED] xe_dma_buf =================== [10:28:56] ================= xe_bo_shrink (1 subtest) ================= [10:28:56] =================== xe_bo_shrink_kunit ==================== [10:28:56] =============== [SKIPPED] xe_bo_shrink_kunit =============== [10:28:56] ================== [SKIPPED] xe_bo_shrink ================== [10:28:56] ==================== xe_bo (2 subtests) ==================== [10:28:56] ================== xe_ccs_migrate_kunit =================== [10:28:56] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [10:28:56] ==================== xe_bo_evict_kunit ==================== [10:28:56] =============== [SKIPPED] xe_bo_evict_kunit ================ [10:28:56] ===================== [SKIPPED] xe_bo ====================== [10:28:56] ==================== args (13 subtests) ==================== [10:28:56] [PASSED] count_args_test [10:28:56] [PASSED] call_args_example [10:28:56] [PASSED] call_args_test [10:28:56] [PASSED] drop_first_arg_example [10:28:56] [PASSED] drop_first_arg_test [10:28:56] [PASSED] first_arg_example [10:28:56] [PASSED] first_arg_test [10:28:56] [PASSED] last_arg_example [10:28:56] [PASSED] last_arg_test [10:28:56] [PASSED] pick_arg_example [10:28:56] [PASSED] if_args_example [10:28:56] [PASSED] if_args_test [10:28:56] [PASSED] sep_comma_example [10:28:56] ====================== [PASSED] args ======================= [10:28:56] =================== xe_pci (3 subtests) ==================== [10:28:56] ==================== check_graphics_ip ==================== [10:28:56] [PASSED] 12.00 Xe_LP [10:28:56] [PASSED] 12.10 Xe_LP+ [10:28:56] [PASSED] 12.55 Xe_HPG [10:28:56] [PASSED] 12.60 Xe_HPC [10:28:56] [PASSED] 12.70 Xe_LPG [10:28:56] [PASSED] 12.71 Xe_LPG [10:28:56] [PASSED] 12.74 Xe_LPG+ [10:28:56] [PASSED] 20.01 Xe2_HPG [10:28:56] [PASSED] 20.02 Xe2_HPG [10:28:56] [PASSED] 20.04 Xe2_LPG [10:28:56] [PASSED] 30.00 Xe3_LPG [10:28:56] [PASSED] 30.01 Xe3_LPG [10:28:56] [PASSED] 30.03 Xe3_LPG [10:28:56] [PASSED] 30.04 Xe3_LPG [10:28:56] [PASSED] 30.05 Xe3_LPG [10:28:56] [PASSED] 35.10 Xe3p_LPG [10:28:56] [PASSED] 35.11 Xe3p_XPC [10:28:56] ================ [PASSED] check_graphics_ip ================ [10:28:56] ===================== check_media_ip ====================== [10:28:56] [PASSED] 12.00 Xe_M [10:28:56] [PASSED] 12.55 Xe_HPM [10:28:56] [PASSED] 13.00 Xe_LPM+ [10:28:56] [PASSED] 13.01 Xe2_HPM [10:28:56] [PASSED] 20.00 Xe2_LPM [10:28:56] [PASSED] 30.00 Xe3_LPM [10:28:56] [PASSED] 30.02 Xe3_LPM [10:28:56] [PASSED] 35.00 Xe3p_LPM [10:28:56] [PASSED] 35.03 Xe3p_HPM [10:28:56] ================= [PASSED] check_media_ip ================== [10:28:56] =================== check_platform_desc =================== [10:28:56] [PASSED] 0x9A60 (TIGERLAKE) [10:28:56] [PASSED] 0x9A68 (TIGERLAKE) [10:28:56] [PASSED] 0x9A70 (TIGERLAKE) [10:28:56] [PASSED] 0x9A40 (TIGERLAKE) [10:28:56] [PASSED] 0x9A49 (TIGERLAKE) [10:28:56] [PASSED] 0x9A59 (TIGERLAKE) [10:28:56] [PASSED] 0x9A78 (TIGERLAKE) [10:28:56] [PASSED] 0x9AC0 (TIGERLAKE) [10:28:56] [PASSED] 0x9AC9 (TIGERLAKE) [10:28:56] [PASSED] 0x9AD9 (TIGERLAKE) [10:28:56] [PASSED] 0x9AF8 (TIGERLAKE) [10:28:56] [PASSED] 0x4C80 (ROCKETLAKE) [10:28:56] [PASSED] 0x4C8A (ROCKETLAKE) [10:28:56] [PASSED] 0x4C8B (ROCKETLAKE) [10:28:56] [PASSED] 0x4C8C (ROCKETLAKE) [10:28:56] [PASSED] 0x4C90 (ROCKETLAKE) [10:28:56] [PASSED] 0x4C9A (ROCKETLAKE) [10:28:56] [PASSED] 0x4680 (ALDERLAKE_S) [10:28:56] [PASSED] 0x4682 (ALDERLAKE_S) [10:28:56] [PASSED] 0x4688 (ALDERLAKE_S) [10:28:56] [PASSED] 0x468A (ALDERLAKE_S) [10:28:56] [PASSED] 0x468B (ALDERLAKE_S) [10:28:56] [PASSED] 0x4690 (ALDERLAKE_S) [10:28:56] [PASSED] 0x4692 (ALDERLAKE_S) [10:28:56] [PASSED] 0x4693 (ALDERLAKE_S) [10:28:56] [PASSED] 0x46A0 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46A1 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46A2 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46A3 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46A6 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46A8 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46AA (ALDERLAKE_P) [10:28:56] [PASSED] 0x462A (ALDERLAKE_P) [10:28:56] [PASSED] 0x4626 (ALDERLAKE_P) [10:28:56] [PASSED] 0x4628 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46B0 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46B1 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46B2 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46B3 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46C0 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46C1 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46C2 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46C3 (ALDERLAKE_P) [10:28:56] [PASSED] 0x46D0 (ALDERLAKE_N) [10:28:56] [PASSED] 0x46D1 (ALDERLAKE_N) [10:28:56] [PASSED] 0x46D2 (ALDERLAKE_N) [10:28:56] [PASSED] 0x46D3 (ALDERLAKE_N) [10:28:56] [PASSED] 0x46D4 (ALDERLAKE_N) [10:28:56] [PASSED] 0xA721 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7A1 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7A9 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7AC (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7AD (ALDERLAKE_P) [10:28:56] [PASSED] 0xA720 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7A0 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7A8 (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7AA (ALDERLAKE_P) [10:28:56] [PASSED] 0xA7AB (ALDERLAKE_P) [10:28:56] [PASSED] 0xA780 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA781 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA782 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA783 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA788 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA789 (ALDERLAKE_S) [10:28:56] [PASSED] 0xA78A (ALDERLAKE_S) [10:28:56] [PASSED] 0xA78B (ALDERLAKE_S) [10:28:56] [PASSED] 0x4905 (DG1) [10:28:56] [PASSED] 0x4906 (DG1) [10:28:56] [PASSED] 0x4907 (DG1) [10:28:56] [PASSED] 0x4908 (DG1) [10:28:56] [PASSED] 0x4909 (DG1) [10:28:56] [PASSED] 0x56C0 (DG2) [10:28:56] [PASSED] 0x56C2 (DG2) [10:28:56] [PASSED] 0x56C1 (DG2) [10:28:56] [PASSED] 0x7D51 (METEORLAKE) [10:28:56] [PASSED] 0x7DD1 (METEORLAKE) [10:28:56] [PASSED] 0x7D41 (METEORLAKE) [10:28:56] [PASSED] 0x7D67 (METEORLAKE) [10:28:56] [PASSED] 0xB640 (METEORLAKE) [10:28:56] [PASSED] 0x56A0 (DG2) [10:28:56] [PASSED] 0x56A1 (DG2) [10:28:56] [PASSED] 0x56A2 (DG2) [10:28:56] [PASSED] 0x56BE (DG2) [10:28:56] [PASSED] 0x56BF (DG2) [10:28:56] [PASSED] 0x5690 (DG2) [10:28:56] [PASSED] 0x5691 (DG2) [10:28:56] [PASSED] 0x5692 (DG2) [10:28:56] [PASSED] 0x56A5 (DG2) [10:28:56] [PASSED] 0x56A6 (DG2) [10:28:56] [PASSED] 0x56B0 (DG2) [10:28:56] [PASSED] 0x56B1 (DG2) [10:28:56] [PASSED] 0x56BA (DG2) [10:28:56] [PASSED] 0x56BB (DG2) [10:28:56] [PASSED] 0x56BC (DG2) [10:28:56] [PASSED] 0x56BD (DG2) [10:28:56] [PASSED] 0x5693 (DG2) [10:28:56] [PASSED] 0x5694 (DG2) [10:28:56] [PASSED] 0x5695 (DG2) [10:28:56] [PASSED] 0x56A3 (DG2) [10:28:56] [PASSED] 0x56A4 (DG2) [10:28:56] [PASSED] 0x56B2 (DG2) [10:28:56] [PASSED] 0x56B3 (DG2) [10:28:56] [PASSED] 0x5696 (DG2) [10:28:56] [PASSED] 0x5697 (DG2) [10:28:56] [PASSED] 0xB69 (PVC) [10:28:56] [PASSED] 0xB6E (PVC) [10:28:56] [PASSED] 0xBD4 (PVC) [10:28:56] [PASSED] 0xBD5 (PVC) [10:28:56] [PASSED] 0xBD6 (PVC) [10:28:56] [PASSED] 0xBD7 (PVC) [10:28:56] [PASSED] 0xBD8 (PVC) [10:28:56] [PASSED] 0xBD9 (PVC) [10:28:56] [PASSED] 0xBDA (PVC) [10:28:56] [PASSED] 0xBDB (PVC) [10:28:56] [PASSED] 0xBE0 (PVC) [10:28:56] [PASSED] 0xBE1 (PVC) [10:28:56] [PASSED] 0xBE5 (PVC) [10:28:56] [PASSED] 0x7D40 (METEORLAKE) [10:28:56] [PASSED] 0x7D45 (METEORLAKE) [10:28:56] [PASSED] 0x7D55 (METEORLAKE) [10:28:56] [PASSED] 0x7D60 (METEORLAKE) [10:28:56] [PASSED] 0x7DD5 (METEORLAKE) [10:28:56] [PASSED] 0x6420 (LUNARLAKE) [10:28:56] [PASSED] 0x64A0 (LUNARLAKE) [10:28:56] [PASSED] 0x64B0 (LUNARLAKE) [10:28:56] [PASSED] 0xE202 (BATTLEMAGE) [10:28:56] [PASSED] 0xE209 (BATTLEMAGE) [10:28:56] [PASSED] 0xE20B (BATTLEMAGE) [10:28:56] [PASSED] 0xE20C (BATTLEMAGE) [10:28:56] [PASSED] 0xE20D (BATTLEMAGE) [10:28:56] [PASSED] 0xE210 (BATTLEMAGE) [10:28:56] [PASSED] 0xE211 (BATTLEMAGE) [10:28:56] [PASSED] 0xE212 (BATTLEMAGE) [10:28:56] [PASSED] 0xE216 (BATTLEMAGE) [10:28:56] [PASSED] 0xE220 (BATTLEMAGE) [10:28:56] [PASSED] 0xE221 (BATTLEMAGE) [10:28:56] [PASSED] 0xE222 (BATTLEMAGE) [10:28:56] [PASSED] 0xE223 (BATTLEMAGE) [10:28:56] [PASSED] 0xB080 (PANTHERLAKE) [10:28:56] [PASSED] 0xB081 (PANTHERLAKE) [10:28:56] [PASSED] 0xB082 (PANTHERLAKE) [10:28:56] [PASSED] 0xB083 (PANTHERLAKE) [10:28:56] [PASSED] 0xB084 (PANTHERLAKE) [10:28:56] [PASSED] 0xB085 (PANTHERLAKE) [10:28:56] [PASSED] 0xB086 (PANTHERLAKE) [10:28:56] [PASSED] 0xB087 (PANTHERLAKE) [10:28:56] [PASSED] 0xB08F (PANTHERLAKE) [10:28:56] [PASSED] 0xB090 (PANTHERLAKE) [10:28:56] [PASSED] 0xB0A0 (PANTHERLAKE) [10:28:56] [PASSED] 0xB0B0 (PANTHERLAKE) [10:28:56] [PASSED] 0xFD80 (PANTHERLAKE) [10:28:56] [PASSED] 0xFD81 (PANTHERLAKE) [10:28:56] [PASSED] 0xD740 (NOVALAKE_S) [10:28:56] [PASSED] 0xD741 (NOVALAKE_S) [10:28:56] [PASSED] 0xD742 (NOVALAKE_S) [10:28:56] [PASSED] 0xD743 (NOVALAKE_S) [10:28:56] [PASSED] 0xD744 (NOVALAKE_S) [10:28:56] [PASSED] 0xD745 (NOVALAKE_S) [10:28:56] [PASSED] 0x674C (CRESCENTISLAND) [10:28:56] [PASSED] 0x674D (CRESCENTISLAND) [10:28:56] [PASSED] 0x674E (CRESCENTISLAND) [10:28:56] [PASSED] 0x674F (CRESCENTISLAND) [10:28:56] [PASSED] 0x6750 (CRESCENTISLAND) [10:28:56] [PASSED] 0xD750 (NOVALAKE_P) [10:28:56] [PASSED] 0xD751 (NOVALAKE_P) [10:28:56] [PASSED] 0xD752 (NOVALAKE_P) [10:28:56] [PASSED] 0xD753 (NOVALAKE_P) [10:28:56] [PASSED] 0xD754 (NOVALAKE_P) [10:28:56] [PASSED] 0xD755 (NOVALAKE_P) [10:28:56] [PASSED] 0xD756 (NOVALAKE_P) [10:28:56] [PASSED] 0xD757 (NOVALAKE_P) [10:28:56] [PASSED] 0xD75F (NOVALAKE_P) [10:28:56] =============== [PASSED] check_platform_desc =============== [10:28:56] ===================== [PASSED] xe_pci ====================== [10:28:56] ============= xe_rtp_tables_test (4 subtests) ============== [10:28:56] ================== xe_rtp_table_gt_test =================== [10:28:56] [PASSED] gt_was/14011060649 [10:28:56] [PASSED] gt_was/14011059788 [10:28:56] [PASSED] gt_was/14015795083 [10:28:56] [PASSED] gt_was/16021867713 [10:28:56] [PASSED] gt_was/14019449301 [10:28:56] [PASSED] gt_was/16028005424 [10:28:56] [PASSED] gt_was/14026578760 [10:28:56] [PASSED] gt_was/1409420604 [10:28:56] [PASSED] gt_was/1408615072 [10:28:56] [PASSED] gt_was/22010523718 [10:28:56] [PASSED] gt_was/14011006942 [10:28:56] [PASSED] gt_was/14014830051 [10:28:56] [PASSED] gt_was/18018781329 [10:28:56] [PASSED] gt_was/1509235366 [10:28:56] [PASSED] gt_was/18018781329 [10:28:56] [PASSED] gt_was/16016694945 [10:28:56] [PASSED] gt_was/14018575942 [10:28:56] [PASSED] gt_was/22016670082 [10:28:56] [PASSED] gt_was/22016670082 [10:28:56] [PASSED] gt_was/14017421178 [10:28:56] [PASSED] gt_was/16025250150 [10:28:56] [PASSED] gt_was/14021871409 [10:28:56] [PASSED] gt_was/16021865536 [10:28:56] [PASSED] gt_was/14021486841 [10:28:56] [PASSED] gt_was/14025160223 [10:28:56] [PASSED] gt_was/14026144927, 16029437861 [10:28:56] [PASSED] gt_was/14025635424 [10:28:56] [PASSED] gt_was/16028005424 [10:28:56] ============== [PASSED] xe_rtp_table_gt_test =============== [10:28:56] ================== xe_rtp_table_gt_test =================== [10:28:56] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [10:28:56] [PASSED] gt_tunings/Tuning: 32B Access Enable [10:28:56] [PASSED] gt_tunings/Tuning: L3 cache [10:28:56] [PASSED] gt_tunings/Tuning: L3 cache - media [10:28:56] [PASSED] gt_tunings/Tuning: Compression Overfetch [10:28:56] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [10:28:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [10:28:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [10:28:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [10:28:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [10:28:56] [PASSED] gt_tunings/Tuning: Stateless compression control [10:28:56] [PASSED] gt_tunings/Tuning: Stateless compression control - media [10:28:56] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [10:28:56] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [10:28:56] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [10:28:56] ============== [PASSED] xe_rtp_table_gt_test =============== [10:28:56] ================== xe_rtp_table_oob_test ================== [10:28:56] [PASSED] oob_was/1607983814 [10:28:56] [PASSED] oob_was/16010904313 [10:28:56] [PASSED] oob_was/18022495364 [10:28:56] [PASSED] oob_was/22012773006 [10:28:56] [PASSED] oob_was/14014475959 [10:28:56] [PASSED] oob_was/22011391025 [10:28:56] [PASSED] oob_was/22012727170 [10:28:56] [PASSED] oob_was/22012727685 [10:28:56] [PASSED] oob_was/22016596838 [10:28:56] [PASSED] oob_was/18020744125 [10:28:56] [PASSED] oob_was/1409600907 [10:28:56] [PASSED] oob_was/22014953428 [10:28:56] [PASSED] oob_was/16017236439 [10:28:56] [PASSED] oob_was/14019821291 [10:28:56] [PASSED] oob_was/14015076503 [10:28:56] [PASSED] oob_was/14018913170 [10:28:56] [PASSED] oob_was/14018094691 [10:28:56] [PASSED] oob_was/18024947630 [10:28:56] [PASSED] oob_was/16022287689 [10:28:56] [PASSED] oob_was/13011645652 [10:28:56] [PASSED] oob_was/14022293748 [10:28:56] [PASSED] oob_was/22019794406 [10:28:56] [PASSED] oob_was/22019338487 [10:28:56] [PASSED] oob_was/16023588340 [10:28:56] [PASSED] oob_was/14019789679 [10:28:56] [PASSED] oob_was/14022866841 [10:28:56] [PASSED] oob_was/16021333562 [10:28:56] [PASSED] oob_was/14016712196 [10:28:56] [PASSED] oob_was/14015568240 [10:28:56] [PASSED] oob_was/18013179988 [10:28:56] [PASSED] oob_was/1508761755 [10:28:56] [PASSED] oob_was/16023105232 [10:28:56] [PASSED] oob_was/16026508708 [10:28:56] [PASSED] oob_was/14020001231 [10:28:56] [PASSED] oob_was/16023683509 [10:28:56] [PASSED] oob_was/14025515070 [10:28:56] [PASSED] oob_was/15015404425_disable [10:28:56] [PASSED] oob_was/16026007364 [10:28:56] [PASSED] oob_was/14020316580 [10:28:56] [PASSED] oob_was/14025883347 [10:28:56] ============== [PASSED] xe_rtp_table_oob_test ============== [10:28:56] ================ xe_rtp_table_dev_oob_test ================ [10:28:56] [PASSED] device_oob_was/22010954014 [10:28:56] [PASSED] device_oob_was/15015404425 [10:28:56] [PASSED] device_oob_was/22019338487_display [10:28:56] [PASSED] device_oob_was/14022085890 [10:28:56] [PASSED] device_oob_was/14026539277 [10:28:56] [PASSED] device_oob_was/14026633728 [10:28:56] [PASSED] device_oob_was/14026746987 [10:28:56] [PASSED] device_oob_was/14026779378 [10:28:56] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [10:28:56] =============== [PASSED] xe_rtp_tables_test ================ [10:28:56] =================== xe_rtp (3 subtests) ==================== [10:28:56] =================== xe_rtp_rules_tests ==================== [10:28:56] [PASSED] no [10:28:56] [PASSED] yes [10:28:56] [PASSED] no-and-no [10:28:56] [PASSED] no-and-yes [10:28:56] [PASSED] yes-and-no [10:28:56] [PASSED] yes-and-yes [10:28:56] [PASSED] no-or-no [10:28:56] [PASSED] no-or-yes [10:28:56] [PASSED] yes-or-no [10:28:56] [PASSED] yes-or-yes [10:28:56] [PASSED] no-yes-or-yes-no [10:28:56] [PASSED] no-yes-or-yes-yes [10:28:56] [PASSED] yes-yes-or-no-yes [10:28:56] [PASSED] yes-yes-or-yes-yes [10:28:56] [PASSED] no-no-or-yes-or-no [10:28:56] [PASSED] or [10:28:56] [PASSED] or-yes [10:28:56] [PASSED] or-no [10:28:56] [PASSED] yes-or [10:28:56] [PASSED] no-or [10:28:56] [PASSED] no-or-or-yes [10:28:56] [PASSED] yes-or-or-no [10:28:56] [PASSED] no-or-or-no [10:28:56] [PASSED] missing-context-engine-class [10:28:56] [PASSED] missing-context-engine-class-or-yes [10:28:56] [PASSED] missing-context-engine-class-or-or-yes [10:28:56] =============== [PASSED] xe_rtp_rules_tests ================ [10:28:56] =============== xe_rtp_process_to_sr_tests ================ [10:28:56] [PASSED] coalesce-same-reg [10:28:56] [PASSED] no-match-no-add [10:28:56] [PASSED] two-regs-two-entries [10:28:56] [PASSED] clr-one-set-other [10:28:56] [PASSED] set-field [10:28:56] [PASSED] conflict-duplicate [10:28:56] [PASSED] conflict-not-disjoint [10:28:56] [PASSED] conflict-reg-type [10:28:56] [PASSED] bad-mcr-reg-forced-to-regular [10:28:56] [PASSED] bad-regular-reg-forced-to-mcr [10:28:56] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [10:28:56] ================== xe_rtp_process_tests =================== [10:28:56] [PASSED] active1 [10:28:56] [PASSED] active2 [10:28:56] [PASSED] active-inactive [10:28:56] [PASSED] inactive-active [10:28:56] [PASSED] inactive-active-inactive [10:28:56] [PASSED] inactive-inactive-inactive [10:28:56] ============== [PASSED] xe_rtp_process_tests =============== [10:28:56] ===================== [PASSED] xe_rtp ====================== [10:28:56] ==================== xe_wa (1 subtest) ===================== [10:28:56] ======================== xe_wa_gt ========================= [10:28:56] [PASSED] TIGERLAKE B0 [10:28:56] [PASSED] DG1 A0 [10:28:56] [PASSED] DG1 B0 [10:28:56] [PASSED] ALDERLAKE_S A0 [10:28:56] [PASSED] ALDERLAKE_S B0 [10:28:56] [PASSED] ALDERLAKE_S C0 [10:28:56] [PASSED] ALDERLAKE_S D0 [10:28:56] [PASSED] ALDERLAKE_P A0 [10:28:56] [PASSED] ALDERLAKE_P B0 [10:28:56] [PASSED] ALDERLAKE_P C0 [10:28:56] [PASSED] ALDERLAKE_S RPLS D0 [10:28:56] [PASSED] ALDERLAKE_P RPLU E0 [10:28:56] [PASSED] DG2 G10 C0 [10:28:56] [PASSED] DG2 G11 B1 [10:28:56] [PASSED] DG2 G12 A1 [10:28:56] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:28:56] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:28:56] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [10:28:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [10:28:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [10:28:56] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [10:28:56] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [10:28:56] ==================== [PASSED] xe_wa_gt ===================== [10:28:56] ====================== [PASSED] xe_wa ====================== [10:28:56] ============================================================ [10:28:56] Testing complete. Ran 715 tests: passed: 697, skipped: 18 [10:28:56] Elapsed time: 36.352s total, 4.368s configuring, 31.319s building, 0.641s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [10:28:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:28:58] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:29:22] Starting KUnit Kernel (1/1)... [10:29:22] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:29:22] ============ drm_test_pick_cmdline (2 subtests) ============ [10:29:22] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [10:29:22] =============== drm_test_pick_cmdline_named =============== [10:29:22] [PASSED] NTSC [10:29:22] [PASSED] NTSC-J [10:29:22] [PASSED] PAL [10:29:22] [PASSED] PAL-M [10:29:22] =========== [PASSED] drm_test_pick_cmdline_named =========== [10:29:22] ============== [PASSED] drm_test_pick_cmdline ============== [10:29:22] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [10:29:22] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [10:29:22] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [10:29:22] =========== drm_validate_clone_mode (2 subtests) =========== [10:29:22] ============== drm_test_check_in_clone_mode =============== [10:29:22] [PASSED] in_clone_mode [10:29:22] [PASSED] not_in_clone_mode [10:29:22] ========== [PASSED] drm_test_check_in_clone_mode =========== [10:29:22] =============== drm_test_check_valid_clones =============== [10:29:22] [PASSED] not_in_clone_mode [10:29:22] [PASSED] valid_clone [10:29:22] [PASSED] invalid_clone [10:29:22] =========== [PASSED] drm_test_check_valid_clones =========== [10:29:22] ============= [PASSED] drm_validate_clone_mode ============= [10:29:22] ============= drm_validate_modeset (1 subtest) ============= [10:29:22] [PASSED] drm_test_check_connector_changed_modeset [10:29:22] ============== [PASSED] drm_validate_modeset =============== [10:29:22] ====== drm_test_bridge_get_current_state (2 subtests) ====== [10:29:22] [PASSED] drm_test_drm_bridge_get_current_state_atomic [10:29:22] [PASSED] drm_test_drm_bridge_get_current_state_legacy [10:29:22] ======== [PASSED] drm_test_bridge_get_current_state ======== [10:29:22] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [10:29:22] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [10:29:22] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [10:29:22] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [10:29:22] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [10:29:22] ============== drm_bridge_alloc (2 subtests) =============== [10:29:22] [PASSED] drm_test_drm_bridge_alloc_basic [10:29:22] [PASSED] drm_test_drm_bridge_alloc_get_put [10:29:22] ================ [PASSED] drm_bridge_alloc ================= [10:29:22] ============= drm_cmdline_parser (40 subtests) ============= [10:29:22] [PASSED] drm_test_cmdline_force_d_only [10:29:22] [PASSED] drm_test_cmdline_force_D_only_dvi [10:29:22] [PASSED] drm_test_cmdline_force_D_only_hdmi [10:29:22] [PASSED] drm_test_cmdline_force_D_only_not_digital [10:29:22] [PASSED] drm_test_cmdline_force_e_only [10:29:22] [PASSED] drm_test_cmdline_res [10:29:22] [PASSED] drm_test_cmdline_res_vesa [10:29:22] [PASSED] drm_test_cmdline_res_vesa_rblank [10:29:22] [PASSED] drm_test_cmdline_res_rblank [10:29:22] [PASSED] drm_test_cmdline_res_bpp [10:29:22] [PASSED] drm_test_cmdline_res_refresh [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [10:29:22] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [10:29:22] [PASSED] drm_test_cmdline_res_margins_force_on [10:29:22] [PASSED] drm_test_cmdline_res_vesa_margins [10:29:22] [PASSED] drm_test_cmdline_name [10:29:22] [PASSED] drm_test_cmdline_name_bpp [10:29:22] [PASSED] drm_test_cmdline_name_option [10:29:22] [PASSED] drm_test_cmdline_name_bpp_option [10:29:22] [PASSED] drm_test_cmdline_rotate_0 [10:29:22] [PASSED] drm_test_cmdline_rotate_90 [10:29:22] [PASSED] drm_test_cmdline_rotate_180 [10:29:22] [PASSED] drm_test_cmdline_rotate_270 [10:29:22] [PASSED] drm_test_cmdline_hmirror [10:29:22] [PASSED] drm_test_cmdline_vmirror [10:29:22] [PASSED] drm_test_cmdline_margin_options [10:29:22] [PASSED] drm_test_cmdline_multiple_options [10:29:22] [PASSED] drm_test_cmdline_bpp_extra_and_option [10:29:22] [PASSED] drm_test_cmdline_extra_and_option [10:29:22] [PASSED] drm_test_cmdline_freestanding_options [10:29:22] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [10:29:22] [PASSED] drm_test_cmdline_panel_orientation [10:29:22] ================ drm_test_cmdline_invalid ================= [10:29:22] [PASSED] margin_only [10:29:22] [PASSED] interlace_only [10:29:22] [PASSED] res_missing_x [10:29:22] [PASSED] res_missing_y [10:29:22] [PASSED] res_bad_y [10:29:22] [PASSED] res_missing_y_bpp [10:29:22] [PASSED] res_bad_bpp [10:29:22] [PASSED] res_bad_refresh [10:29:22] [PASSED] res_bpp_refresh_force_on_off [10:29:22] [PASSED] res_invalid_mode [10:29:22] [PASSED] res_bpp_wrong_place_mode [10:29:22] [PASSED] name_bpp_refresh [10:29:22] [PASSED] name_refresh [10:29:22] [PASSED] name_refresh_wrong_mode [10:29:22] [PASSED] name_refresh_invalid_mode [10:29:22] [PASSED] rotate_multiple [10:29:22] [PASSED] rotate_invalid_val [10:29:22] [PASSED] rotate_truncated [10:29:22] [PASSED] invalid_option [10:29:22] [PASSED] invalid_tv_option [10:29:22] [PASSED] truncated_tv_option [10:29:22] ============ [PASSED] drm_test_cmdline_invalid ============= [10:29:22] =============== drm_test_cmdline_tv_options =============== [10:29:22] [PASSED] NTSC [10:29:22] [PASSED] NTSC_443 [10:29:22] [PASSED] NTSC_J [10:29:22] [PASSED] PAL [10:29:22] [PASSED] PAL_M [10:29:22] [PASSED] PAL_N [10:29:22] [PASSED] SECAM [10:29:22] [PASSED] MONO_525 [10:29:22] [PASSED] MONO_625 [10:29:22] =========== [PASSED] drm_test_cmdline_tv_options =========== [10:29:22] =============== [PASSED] drm_cmdline_parser ================ [10:29:22] ========== drmm_connector_hdmi_init (20 subtests) ========== [10:29:22] [PASSED] drm_test_connector_hdmi_init_valid [10:29:22] [PASSED] drm_test_connector_hdmi_init_bpc_8 [10:29:22] [PASSED] drm_test_connector_hdmi_init_bpc_10 [10:29:22] [PASSED] drm_test_connector_hdmi_init_bpc_12 [10:29:22] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [10:29:22] [PASSED] drm_test_connector_hdmi_init_bpc_null [10:29:22] [PASSED] drm_test_connector_hdmi_init_formats_empty [10:29:22] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [10:29:22] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:29:22] [PASSED] supported_formats=0x9 yuv420_allowed=1 [10:29:22] [PASSED] supported_formats=0x9 yuv420_allowed=0 [10:29:22] [PASSED] supported_formats=0x5 yuv420_allowed=1 [10:29:22] [PASSED] supported_formats=0x5 yuv420_allowed=0 [10:29:22] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:29:22] [PASSED] drm_test_connector_hdmi_init_null_ddc [10:29:22] [PASSED] drm_test_connector_hdmi_init_null_product [10:29:22] [PASSED] drm_test_connector_hdmi_init_null_vendor [10:29:22] [PASSED] drm_test_connector_hdmi_init_product_length_exact [10:29:22] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [10:29:22] [PASSED] drm_test_connector_hdmi_init_product_valid [10:29:22] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [10:29:22] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [10:29:22] [PASSED] drm_test_connector_hdmi_init_vendor_valid [10:29:22] ========= drm_test_connector_hdmi_init_type_valid ========= [10:29:22] [PASSED] HDMI-A [10:29:22] [PASSED] HDMI-B [10:29:22] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [10:29:22] ======== drm_test_connector_hdmi_init_type_invalid ======== [10:29:22] [PASSED] Unknown [10:29:22] [PASSED] VGA [10:29:22] [PASSED] DVI-I [10:29:22] [PASSED] DVI-D [10:29:22] [PASSED] DVI-A [10:29:22] [PASSED] Composite [10:29:22] [PASSED] SVIDEO [10:29:22] [PASSED] LVDS [10:29:22] [PASSED] Component [10:29:22] [PASSED] DIN [10:29:22] [PASSED] DP [10:29:22] [PASSED] TV [10:29:22] [PASSED] eDP [10:29:22] [PASSED] Virtual [10:29:22] [PASSED] DSI [10:29:22] [PASSED] DPI [10:29:22] [PASSED] Writeback [10:29:22] [PASSED] SPI [10:29:22] [PASSED] USB [10:29:22] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [10:29:22] ============ [PASSED] drmm_connector_hdmi_init ============= [10:29:22] ============= drmm_connector_init (3 subtests) ============= [10:29:22] [PASSED] drm_test_drmm_connector_init [10:29:22] [PASSED] drm_test_drmm_connector_init_null_ddc [10:29:22] ========= drm_test_drmm_connector_init_type_valid ========= [10:29:22] [PASSED] Unknown [10:29:22] [PASSED] VGA [10:29:22] [PASSED] DVI-I [10:29:22] [PASSED] DVI-D [10:29:22] [PASSED] DVI-A [10:29:22] [PASSED] Composite [10:29:22] [PASSED] SVIDEO [10:29:22] [PASSED] LVDS [10:29:22] [PASSED] Component [10:29:22] [PASSED] DIN [10:29:22] [PASSED] DP [10:29:22] [PASSED] HDMI-A [10:29:22] [PASSED] HDMI-B [10:29:22] [PASSED] TV [10:29:22] [PASSED] eDP [10:29:22] [PASSED] Virtual [10:29:22] [PASSED] DSI [10:29:22] [PASSED] DPI [10:29:22] [PASSED] Writeback [10:29:22] [PASSED] SPI [10:29:22] [PASSED] USB [10:29:22] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [10:29:22] =============== [PASSED] drmm_connector_init =============== [10:29:22] ========= drm_connector_dynamic_init (6 subtests) ========== [10:29:22] [PASSED] drm_test_drm_connector_dynamic_init [10:29:22] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [10:29:22] [PASSED] drm_test_drm_connector_dynamic_init_not_added [10:29:22] [PASSED] drm_test_drm_connector_dynamic_init_properties [10:29:22] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [10:29:22] [PASSED] Unknown [10:29:22] [PASSED] VGA [10:29:22] [PASSED] DVI-I [10:29:22] [PASSED] DVI-D [10:29:22] [PASSED] DVI-A [10:29:22] [PASSED] Composite [10:29:22] [PASSED] SVIDEO [10:29:22] [PASSED] LVDS [10:29:22] [PASSED] Component [10:29:22] [PASSED] DIN [10:29:22] [PASSED] DP [10:29:22] [PASSED] HDMI-A [10:29:22] [PASSED] HDMI-B [10:29:22] [PASSED] TV [10:29:22] [PASSED] eDP [10:29:22] [PASSED] Virtual [10:29:22] [PASSED] DSI [10:29:22] [PASSED] DPI [10:29:22] [PASSED] Writeback [10:29:22] [PASSED] SPI [10:29:22] [PASSED] USB [10:29:22] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [10:29:22] ======== drm_test_drm_connector_dynamic_init_name ========= [10:29:22] [PASSED] Unknown [10:29:22] [PASSED] VGA [10:29:22] [PASSED] DVI-I [10:29:22] [PASSED] DVI-D [10:29:22] [PASSED] DVI-A [10:29:22] [PASSED] Composite [10:29:22] [PASSED] SVIDEO [10:29:22] [PASSED] LVDS [10:29:22] [PASSED] Component [10:29:22] [PASSED] DIN [10:29:22] [PASSED] DP [10:29:22] [PASSED] HDMI-A [10:29:22] [PASSED] HDMI-B [10:29:22] [PASSED] TV [10:29:22] [PASSED] eDP [10:29:22] [PASSED] Virtual [10:29:22] [PASSED] DSI [10:29:22] [PASSED] DPI [10:29:22] [PASSED] Writeback [10:29:22] [PASSED] SPI [10:29:22] [PASSED] USB [10:29:22] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [10:29:22] =========== [PASSED] drm_connector_dynamic_init ============ [10:29:22] ==== drm_connector_dynamic_register_early (4 subtests) ===== [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [10:29:22] ====== [PASSED] drm_connector_dynamic_register_early ======= [10:29:22] ======= drm_connector_dynamic_register (7 subtests) ======== [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_on_list [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_no_init [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [10:29:22] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [10:29:22] ========= [PASSED] drm_connector_dynamic_register ========== [10:29:22] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [10:29:22] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [10:29:22] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [10:29:22] === [PASSED] drm_connector_attach_broadcast_rgb_property === [10:29:22] ========== drm_get_tv_mode_from_name (2 subtests) ========== [10:29:22] ========== drm_test_get_tv_mode_from_name_valid =========== [10:29:22] [PASSED] NTSC [10:29:22] [PASSED] NTSC-443 [10:29:22] [PASSED] NTSC-J [10:29:22] [PASSED] PAL [10:29:22] [PASSED] PAL-M [10:29:22] [PASSED] PAL-N [10:29:22] [PASSED] SECAM [10:29:22] [PASSED] Mono [10:29:22] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [10:29:22] [PASSED] drm_test_get_tv_mode_from_name_truncated [10:29:22] ============ [PASSED] drm_get_tv_mode_from_name ============ [10:29:22] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [10:29:22] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [10:29:22] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [10:29:22] [PASSED] VIC 96 [10:29:22] [PASSED] VIC 97 [10:29:22] [PASSED] VIC 101 [10:29:22] [PASSED] VIC 102 [10:29:22] [PASSED] VIC 106 [10:29:22] [PASSED] VIC 107 [10:29:22] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [10:29:22] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [10:29:22] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [10:29:22] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [10:29:22] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [10:29:22] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [10:29:22] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [10:29:22] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [10:29:22] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [10:29:22] [PASSED] Automatic [10:29:22] [PASSED] Full [10:29:22] [PASSED] Limited 16:235 [10:29:22] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [10:29:22] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [10:29:22] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [10:29:22] == drm_hdmi_connector_get_output_format_name (2 subtests) == [10:29:22] === drm_test_drm_hdmi_connector_get_output_format_name ==== [10:29:22] [PASSED] RGB [10:29:22] [PASSED] YUV 4:2:0 [10:29:22] [PASSED] YUV 4:2:2 [10:29:22] [PASSED] YUV 4:4:4 [10:29:22] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [10:29:22] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [10:29:22] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [10:29:22] ============= drm_damage_helper (21 subtests) ============== [10:29:22] [PASSED] drm_test_damage_iter_no_damage [10:29:22] [PASSED] drm_test_damage_iter_no_damage_fractional_src [10:29:22] [PASSED] drm_test_damage_iter_no_damage_src_moved [10:29:22] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [10:29:22] [PASSED] drm_test_damage_iter_no_damage_not_visible [10:29:22] [PASSED] drm_test_damage_iter_no_damage_no_crtc [10:29:22] [PASSED] drm_test_damage_iter_no_damage_no_fb [10:29:22] [PASSED] drm_test_damage_iter_simple_damage [10:29:22] [PASSED] drm_test_damage_iter_single_damage [10:29:22] [PASSED] drm_test_damage_iter_single_damage_intersect_src [10:29:22] [PASSED] drm_test_damage_iter_single_damage_outside_src [10:29:22] [PASSED] drm_test_damage_iter_single_damage_fractional_src [10:29:22] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [10:29:22] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [10:29:22] [PASSED] drm_test_damage_iter_single_damage_src_moved [10:29:22] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [10:29:22] [PASSED] drm_test_damage_iter_damage [10:29:22] [PASSED] drm_test_damage_iter_damage_one_intersect [10:29:22] [PASSED] drm_test_damage_iter_damage_one_outside [10:29:22] [PASSED] drm_test_damage_iter_damage_src_moved [10:29:22] [PASSED] drm_test_damage_iter_damage_not_visible [10:29:22] ================ [PASSED] drm_damage_helper ================ [10:29:22] ============== drm_dp_mst_helper (3 subtests) ============== [10:29:22] ============== drm_test_dp_mst_calc_pbn_mode ============== [10:29:22] [PASSED] Clock 154000 BPP 30 DSC disabled [10:29:22] [PASSED] Clock 234000 BPP 30 DSC disabled [10:29:22] [PASSED] Clock 297000 BPP 24 DSC disabled [10:29:22] [PASSED] Clock 332880 BPP 24 DSC enabled [10:29:22] [PASSED] Clock 324540 BPP 24 DSC enabled [10:29:22] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [10:29:22] ============== drm_test_dp_mst_calc_pbn_div =============== [10:29:22] [PASSED] Link rate 2000000 lane count 4 [10:29:22] [PASSED] Link rate 2000000 lane count 2 [10:29:22] [PASSED] Link rate 2000000 lane count 1 [10:29:22] [PASSED] Link rate 1350000 lane count 4 [10:29:22] [PASSED] Link rate 1350000 lane count 2 [10:29:22] [PASSED] Link rate 1350000 lane count 1 [10:29:22] [PASSED] Link rate 1000000 lane count 4 [10:29:22] [PASSED] Link rate 1000000 lane count 2 [10:29:22] [PASSED] Link rate 1000000 lane count 1 [10:29:22] [PASSED] Link rate 810000 lane count 4 [10:29:22] [PASSED] Link rate 810000 lane count 2 [10:29:22] [PASSED] Link rate 810000 lane count 1 [10:29:22] [PASSED] Link rate 540000 lane count 4 [10:29:22] [PASSED] Link rate 540000 lane count 2 [10:29:22] [PASSED] Link rate 540000 lane count 1 [10:29:22] [PASSED] Link rate 270000 lane count 4 [10:29:22] [PASSED] Link rate 270000 lane count 2 [10:29:22] [PASSED] Link rate 270000 lane count 1 [10:29:22] [PASSED] Link rate 162000 lane count 4 [10:29:22] [PASSED] Link rate 162000 lane count 2 [10:29:22] [PASSED] Link rate 162000 lane count 1 [10:29:22] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [10:29:22] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [10:29:22] [PASSED] DP_ENUM_PATH_RESOURCES with port number [10:29:22] [PASSED] DP_POWER_UP_PHY with port number [10:29:22] [PASSED] DP_POWER_DOWN_PHY with port number [10:29:22] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [10:29:22] [PASSED] DP_ALLOCATE_PAYLOAD with port number [10:29:22] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [10:29:22] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [10:29:22] [PASSED] DP_QUERY_PAYLOAD with port number [10:29:22] [PASSED] DP_QUERY_PAYLOAD with VCPI [10:29:22] [PASSED] DP_REMOTE_DPCD_READ with port number [10:29:22] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [10:29:22] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [10:29:22] [PASSED] DP_REMOTE_DPCD_WRITE with port number [10:29:22] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [10:29:22] [PASSED] DP_REMOTE_DPCD_WRITE with data array [10:29:22] [PASSED] DP_REMOTE_I2C_READ with port number [10:29:22] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [10:29:22] [PASSED] DP_REMOTE_I2C_READ with transactions array [10:29:22] [PASSED] DP_REMOTE_I2C_WRITE with port number [10:29:22] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [10:29:22] [PASSED] DP_REMOTE_I2C_WRITE with data array [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [10:29:22] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [10:29:22] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [10:29:22] ================ [PASSED] drm_dp_mst_helper ================ [10:29:22] ================== drm_exec (7 subtests) =================== [10:29:22] [PASSED] sanitycheck [10:29:22] [PASSED] test_lock [10:29:22] [PASSED] test_lock_unlock [10:29:22] [PASSED] test_duplicates [10:29:22] [PASSED] test_prepare [10:29:22] [PASSED] test_prepare_array [10:29:22] [PASSED] test_multiple_loops [10:29:22] ==================== [PASSED] drm_exec ===================== [10:29:22] =========== drm_format_helper_test (17 subtests) =========== [10:29:22] ============== drm_test_fb_xrgb8888_to_gray8 ============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [10:29:22] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [10:29:22] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [10:29:22] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [10:29:22] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [10:29:22] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [10:29:22] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [10:29:22] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [10:29:22] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [10:29:22] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [10:29:22] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [10:29:22] ============== drm_test_fb_xrgb8888_to_mono =============== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [10:29:22] ==================== drm_test_fb_swab ===================== [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ================ [PASSED] drm_test_fb_swab ================= [10:29:22] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [10:29:22] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [10:29:22] [PASSED] single_pixel_source_buffer [10:29:22] [PASSED] single_pixel_clip_rectangle [10:29:22] [PASSED] well_known_colors [10:29:22] [PASSED] destination_pitch [10:29:22] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [10:29:22] ================= drm_test_fb_clip_offset ================= [10:29:22] [PASSED] pass through [10:29:22] [PASSED] horizontal offset [10:29:22] [PASSED] vertical offset [10:29:22] [PASSED] horizontal and vertical offset [10:29:22] [PASSED] horizontal offset (custom pitch) [10:29:22] [PASSED] vertical offset (custom pitch) [10:29:22] [PASSED] horizontal and vertical offset (custom pitch) [10:29:22] ============= [PASSED] drm_test_fb_clip_offset ============= [10:29:22] =================== drm_test_fb_memcpy ==================== [10:29:22] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [10:29:22] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [10:29:22] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [10:29:22] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [10:29:22] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [10:29:22] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [10:29:22] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [10:29:22] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [10:29:22] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [10:29:22] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [10:29:22] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [10:29:22] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [10:29:22] =============== [PASSED] drm_test_fb_memcpy ================ [10:29:22] ============= [PASSED] drm_format_helper_test ============== [10:29:22] ================= drm_format (18 subtests) ================= [10:29:22] [PASSED] drm_test_format_block_width_invalid [10:29:22] [PASSED] drm_test_format_block_width_one_plane [10:29:22] [PASSED] drm_test_format_block_width_two_plane [10:29:22] [PASSED] drm_test_format_block_width_three_plane [10:29:22] [PASSED] drm_test_format_block_width_tiled [10:29:22] [PASSED] drm_test_format_block_height_invalid [10:29:22] [PASSED] drm_test_format_block_height_one_plane [10:29:22] [PASSED] drm_test_format_block_height_two_plane [10:29:22] [PASSED] drm_test_format_block_height_three_plane [10:29:22] [PASSED] drm_test_format_block_height_tiled [10:29:22] [PASSED] drm_test_format_min_pitch_invalid [10:29:22] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [10:29:22] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [10:29:22] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [10:29:22] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [10:29:22] [PASSED] drm_test_format_min_pitch_two_plane [10:29:22] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [10:29:22] [PASSED] drm_test_format_min_pitch_tiled [10:29:22] =================== [PASSED] drm_format ==================== [10:29:22] ============== drm_framebuffer (10 subtests) =============== [10:29:22] ========== drm_test_framebuffer_check_src_coords ========== [10:29:22] [PASSED] Success: source fits into fb [10:29:22] [PASSED] Fail: overflowing fb with x-axis coordinate [10:29:22] [PASSED] Fail: overflowing fb with y-axis coordinate [10:29:22] [PASSED] Fail: overflowing fb with source width [10:29:22] [PASSED] Fail: overflowing fb with source height [10:29:22] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [10:29:22] [PASSED] drm_test_framebuffer_cleanup [10:29:22] =============== drm_test_framebuffer_create =============== [10:29:22] [PASSED] ABGR8888 normal sizes [10:29:22] [PASSED] ABGR8888 max sizes [10:29:22] [PASSED] ABGR8888 pitch greater than min required [10:29:22] [PASSED] ABGR8888 pitch less than min required [10:29:22] [PASSED] ABGR8888 Invalid width [10:29:22] [PASSED] ABGR8888 Invalid buffer handle [10:29:22] [PASSED] No pixel format [10:29:22] [PASSED] ABGR8888 Width 0 [10:29:22] [PASSED] ABGR8888 Height 0 [10:29:22] [PASSED] ABGR8888 Out of bound height * pitch combination [10:29:22] [PASSED] ABGR8888 Large buffer offset [10:29:22] [PASSED] ABGR8888 Buffer offset for inexistent plane [10:29:22] [PASSED] ABGR8888 Invalid flag [10:29:22] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [10:29:22] [PASSED] ABGR8888 Valid buffer modifier [10:29:22] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [10:29:22] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] NV12 Normal sizes [10:29:22] [PASSED] NV12 Max sizes [10:29:22] [PASSED] NV12 Invalid pitch [10:29:22] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [10:29:22] [PASSED] NV12 different modifier per-plane [10:29:22] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [10:29:22] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] NV12 Modifier for inexistent plane [10:29:22] [PASSED] NV12 Handle for inexistent plane [10:29:22] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [10:29:22] [PASSED] YVU420 Normal sizes [10:29:22] [PASSED] YVU420 Max sizes [10:29:22] [PASSED] YVU420 Invalid pitch [10:29:22] [PASSED] YVU420 Different pitches [10:29:22] [PASSED] YVU420 Different buffer offsets/pitches [10:29:22] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [10:29:22] [PASSED] YVU420 Valid modifier [10:29:22] [PASSED] YVU420 Different modifiers per plane [10:29:22] [PASSED] YVU420 Modifier for inexistent plane [10:29:22] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [10:29:22] [PASSED] X0L2 Normal sizes [10:29:22] [PASSED] X0L2 Max sizes [10:29:22] [PASSED] X0L2 Invalid pitch [10:29:22] [PASSED] X0L2 Pitch greater than minimum required [10:29:22] [PASSED] X0L2 Handle for inexistent plane [10:29:22] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [10:29:22] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [10:29:22] [PASSED] X0L2 Valid modifier [10:29:22] [PASSED] X0L2 Modifier for inexistent plane [10:29:22] =========== [PASSED] drm_test_framebuffer_create =========== [10:29:22] [PASSED] drm_test_framebuffer_free [10:29:22] [PASSED] drm_test_framebuffer_init [10:29:22] [PASSED] drm_test_framebuffer_init_bad_format [10:29:22] [PASSED] drm_test_framebuffer_init_dev_mismatch [10:29:22] [PASSED] drm_test_framebuffer_lookup [10:29:22] [PASSED] drm_test_framebuffer_lookup_inexistent [10:29:22] [PASSED] drm_test_framebuffer_modifiers_not_supported [10:29:22] ================= [PASSED] drm_framebuffer ================= [10:29:22] ================ drm_gem_shmem (8 subtests) ================ [10:29:22] [PASSED] drm_gem_shmem_test_obj_create [10:29:22] [PASSED] drm_gem_shmem_test_obj_create_private [10:29:22] [PASSED] drm_gem_shmem_test_pin_pages [10:29:22] [PASSED] drm_gem_shmem_test_vmap [10:29:22] [PASSED] drm_gem_shmem_test_get_sg_table [10:29:22] [PASSED] drm_gem_shmem_test_get_pages_sgt [10:29:22] [PASSED] drm_gem_shmem_test_madvise [10:29:22] [PASSED] drm_gem_shmem_test_purge [10:29:22] ================== [PASSED] drm_gem_shmem ================== [10:29:22] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [10:29:22] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [10:29:22] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [10:29:22] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [10:29:22] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [10:29:22] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [10:29:22] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [10:29:22] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [10:29:22] [PASSED] Automatic [10:29:22] [PASSED] Full [10:29:22] [PASSED] Limited 16:235 [10:29:22] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [10:29:22] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [10:29:22] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [10:29:22] [PASSED] drm_test_check_disable_connector [10:29:22] [PASSED] drm_test_check_hdmi_funcs_reject_rate [10:29:22] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [10:29:22] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [10:29:22] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [10:29:22] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [10:29:22] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [10:29:22] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [10:29:22] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [10:29:22] [PASSED] drm_test_check_output_bpc_dvi [10:29:22] [PASSED] drm_test_check_output_bpc_format_vic_1 [10:29:22] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [10:29:22] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [10:29:22] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [10:29:22] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [10:29:22] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [10:29:22] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [10:29:22] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [10:29:22] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [10:29:22] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [10:29:22] [PASSED] drm_test_check_broadcast_rgb_value [10:29:22] [PASSED] drm_test_check_bpc_8_value [10:29:22] [PASSED] drm_test_check_bpc_10_value [10:29:22] [PASSED] drm_test_check_bpc_12_value [10:29:22] [PASSED] drm_test_check_format_value [10:29:22] [PASSED] drm_test_check_tmds_char_value [10:29:22] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [10:29:22] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [10:29:22] [PASSED] drm_test_check_mode_valid [10:29:22] [PASSED] drm_test_check_mode_valid_reject [10:29:22] [PASSED] drm_test_check_mode_valid_reject_rate [10:29:22] [PASSED] drm_test_check_mode_valid_reject_max_clock [10:29:22] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [10:29:22] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [10:29:22] [PASSED] drm_test_check_infoframes [10:29:22] [PASSED] drm_test_check_reject_avi_infoframe [10:29:22] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [10:29:22] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [10:29:22] [PASSED] drm_test_check_reject_audio_infoframe [10:29:22] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [10:29:22] ================= drm_managed (2 subtests) ================= [10:29:22] [PASSED] drm_test_managed_release_action [10:29:22] [PASSED] drm_test_managed_run_action [10:29:22] =================== [PASSED] drm_managed =================== [10:29:22] =================== drm_mm (6 subtests) ==================== [10:29:22] [PASSED] drm_test_mm_init [10:29:22] [PASSED] drm_test_mm_debug [10:29:22] [PASSED] drm_test_mm_align32 [10:29:22] [PASSED] drm_test_mm_align64 [10:29:22] [PASSED] drm_test_mm_lowest [10:29:22] [PASSED] drm_test_mm_highest [10:29:22] ===================== [PASSED] drm_mm ====================== [10:29:22] ============= drm_modes_analog_tv (5 subtests) ============= [10:29:22] [PASSED] drm_test_modes_analog_tv_mono_576i [10:29:22] [PASSED] drm_test_modes_analog_tv_ntsc_480i [10:29:22] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [10:29:22] [PASSED] drm_test_modes_analog_tv_pal_576i [10:29:22] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [10:29:22] =============== [PASSED] drm_modes_analog_tv =============== [10:29:22] ============== drm_plane_helper (2 subtests) =============== [10:29:22] =============== drm_test_check_plane_state ================ [10:29:22] [PASSED] clipping_simple [10:29:22] [PASSED] clipping_rotate_reflect [10:29:22] [PASSED] positioning_simple [10:29:22] [PASSED] upscaling [10:29:22] [PASSED] downscaling [10:29:22] [PASSED] rounding1 [10:29:22] [PASSED] rounding2 [10:29:22] [PASSED] rounding3 [10:29:22] [PASSED] rounding4 [10:29:22] =========== [PASSED] drm_test_check_plane_state ============ [10:29:22] =========== drm_test_check_invalid_plane_state ============ [10:29:22] [PASSED] positioning_invalid [10:29:22] [PASSED] upscaling_invalid [10:29:22] [PASSED] downscaling_invalid [10:29:22] ======= [PASSED] drm_test_check_invalid_plane_state ======== [10:29:22] ================ [PASSED] drm_plane_helper ================= [10:29:22] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [10:29:22] ====== drm_test_connector_helper_tv_get_modes_check ======= [10:29:22] [PASSED] None [10:29:22] [PASSED] PAL [10:29:22] [PASSED] NTSC [10:29:22] [PASSED] Both, NTSC Default [10:29:22] [PASSED] Both, PAL Default [10:29:22] [PASSED] Both, NTSC Default, with PAL on command-line [10:29:22] [PASSED] Both, PAL Default, with NTSC on command-line [10:29:22] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [10:29:22] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [10:29:22] ================== drm_rect (9 subtests) =================== [10:29:22] [PASSED] drm_test_rect_clip_scaled_div_by_zero [10:29:22] [PASSED] drm_test_rect_clip_scaled_not_clipped [10:29:22] [PASSED] drm_test_rect_clip_scaled_clipped [10:29:22] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [10:29:22] ================= drm_test_rect_intersect ================= [10:29:22] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [10:29:22] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [10:29:22] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [10:29:22] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [10:29:22] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [10:29:22] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [10:29:22] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [10:29:22] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [10:29:22] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [10:29:22] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [10:29:22] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [10:29:22] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [10:29:22] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [10:29:22] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [10:29:22] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [10:29:22] ============= [PASSED] drm_test_rect_intersect ============= [10:29:22] ================ drm_test_rect_calc_hscale ================ [10:29:22] [PASSED] normal use [10:29:22] [PASSED] out of max range [10:29:22] [PASSED] out of min range [10:29:22] [PASSED] zero dst [10:29:22] [PASSED] negative src [10:29:22] [PASSED] negative dst [10:29:22] ============ [PASSED] drm_test_rect_calc_hscale ============ [10:29:22] ================ drm_test_rect_calc_vscale ================ [10:29:22] [PASSED] normal use [10:29:22] [PASSED] out of max range [10:29:22] [PASSED] out of min range [10:29:22] [PASSED] zero dst [10:29:22] [PASSED] negative src [10:29:22] [PASSED] negative dst [10:29:22] ============ [PASSED] drm_test_rect_calc_vscale ============ [10:29:22] ================== drm_test_rect_rotate =================== [10:29:22] [PASSED] reflect-x [10:29:22] [PASSED] reflect-y [10:29:22] [PASSED] rotate-0 [10:29:22] [PASSED] rotate-90 [10:29:22] [PASSED] rotate-180 [10:29:22] [PASSED] rotate-270 [10:29:22] ============== [PASSED] drm_test_rect_rotate =============== [10:29:22] ================ drm_test_rect_rotate_inv ================= [10:29:22] [PASSED] reflect-x [10:29:22] [PASSED] reflect-y [10:29:22] [PASSED] rotate-0 [10:29:22] [PASSED] rotate-90 [10:29:22] [PASSED] rotate-180 [10:29:22] [PASSED] rotate-270 [10:29:22] ============ [PASSED] drm_test_rect_rotate_inv ============= [10:29:22] ==================== [PASSED] drm_rect ===================== [10:29:22] ============ drm_sysfb_modeset_test (1 subtest) ============ [10:29:22] ============ drm_test_sysfb_build_fourcc_list ============= [10:29:22] [PASSED] no native formats [10:29:22] [PASSED] XRGB8888 as native format [10:29:22] [PASSED] remove duplicates [10:29:22] [PASSED] convert alpha formats [10:29:22] [PASSED] random formats [10:29:22] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [10:29:22] ============= [PASSED] drm_sysfb_modeset_test ============== [10:29:22] ================== drm_fixp (2 subtests) =================== [10:29:22] [PASSED] drm_test_int2fixp [10:29:22] [PASSED] drm_test_sm2fixp [10:29:22] ==================== [PASSED] drm_fixp ===================== [10:29:22] ============================================================ [10:29:22] Testing complete. Ran 621 tests: passed: 621 [10:29:22] Elapsed time: 26.244s total, 1.759s configuring, 24.315s building, 0.138s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [10:29:22] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:29:24] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:29:34] Starting KUnit Kernel (1/1)... [10:29:34] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:29:34] ================= ttm_device (5 subtests) ================== [10:29:34] [PASSED] ttm_device_init_basic [10:29:34] [PASSED] ttm_device_init_multiple [10:29:34] [PASSED] ttm_device_fini_basic [10:29:34] [PASSED] ttm_device_init_no_vma_man [10:29:34] ================== ttm_device_init_pools ================== [10:29:34] [PASSED] No DMA allocations, no DMA32 required [10:29:34] [PASSED] DMA allocations, DMA32 required [10:29:34] [PASSED] No DMA allocations, DMA32 required [10:29:34] [PASSED] DMA allocations, no DMA32 required [10:29:34] ============== [PASSED] ttm_device_init_pools ============== [10:29:34] =================== [PASSED] ttm_device ==================== [10:29:34] ================== ttm_pool (8 subtests) =================== [10:29:34] ================== ttm_pool_alloc_basic =================== [10:29:34] [PASSED] One page [10:29:34] [PASSED] More than one page [10:29:34] [PASSED] Above the allocation limit [10:29:34] [PASSED] One page, with coherent DMA mappings enabled [10:29:34] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:29:34] ============== [PASSED] ttm_pool_alloc_basic =============== [10:29:34] ============== ttm_pool_alloc_basic_dma_addr ============== [10:29:34] [PASSED] One page [10:29:34] [PASSED] More than one page [10:29:34] [PASSED] Above the allocation limit [10:29:34] [PASSED] One page, with coherent DMA mappings enabled [10:29:34] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:29:34] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [10:29:34] [PASSED] ttm_pool_alloc_order_caching_match [10:29:34] [PASSED] ttm_pool_alloc_caching_mismatch [10:29:34] [PASSED] ttm_pool_alloc_order_mismatch [10:29:34] [PASSED] ttm_pool_free_dma_alloc [10:29:34] [PASSED] ttm_pool_free_no_dma_alloc [10:29:34] [PASSED] ttm_pool_fini_basic [10:29:34] ==================== [PASSED] ttm_pool ===================== [10:29:34] ================ ttm_resource (8 subtests) ================= [10:29:34] ================= ttm_resource_init_basic ================= [10:29:34] [PASSED] Init resource in TTM_PL_SYSTEM [10:29:34] [PASSED] Init resource in TTM_PL_VRAM [10:29:34] [PASSED] Init resource in a private placement [10:29:34] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [10:29:34] ============= [PASSED] ttm_resource_init_basic ============= [10:29:34] [PASSED] ttm_resource_init_pinned [10:29:34] [PASSED] ttm_resource_fini_basic [10:29:34] [PASSED] ttm_resource_manager_init_basic [10:29:34] [PASSED] ttm_resource_manager_usage_basic [10:29:34] [PASSED] ttm_resource_manager_set_used_basic [10:29:34] [PASSED] ttm_sys_man_alloc_basic [10:29:34] [PASSED] ttm_sys_man_free_basic [10:29:34] ================== [PASSED] ttm_resource =================== [10:29:34] =================== ttm_tt (15 subtests) =================== [10:29:34] ==================== ttm_tt_init_basic ==================== [10:29:34] [PASSED] Page-aligned size [10:29:34] [PASSED] Extra pages requested [10:29:34] ================ [PASSED] ttm_tt_init_basic ================ [10:29:34] [PASSED] ttm_tt_init_misaligned [10:29:34] [PASSED] ttm_tt_fini_basic [10:29:34] [PASSED] ttm_tt_fini_sg [10:29:34] [PASSED] ttm_tt_fini_shmem [10:29:34] [PASSED] ttm_tt_create_basic [10:29:34] [PASSED] ttm_tt_create_invalid_bo_type [10:29:34] [PASSED] ttm_tt_create_ttm_exists [10:29:34] [PASSED] ttm_tt_create_failed [10:29:34] [PASSED] ttm_tt_destroy_basic [10:29:34] [PASSED] ttm_tt_populate_null_ttm [10:29:34] [PASSED] ttm_tt_populate_populated_ttm [10:29:34] [PASSED] ttm_tt_unpopulate_basic [10:29:34] [PASSED] ttm_tt_unpopulate_empty_ttm [10:29:34] [PASSED] ttm_tt_swapin_basic [10:29:34] ===================== [PASSED] ttm_tt ====================== [10:29:34] =================== ttm_bo (14 subtests) =================== [10:29:34] =========== ttm_bo_reserve_optimistic_no_ticket =========== [10:29:34] [PASSED] Cannot be interrupted and sleeps [10:29:34] [PASSED] Cannot be interrupted, locks straight away [10:29:34] [PASSED] Can be interrupted, sleeps [10:29:34] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [10:29:34] [PASSED] ttm_bo_reserve_locked_no_sleep [10:29:34] [PASSED] ttm_bo_reserve_no_wait_ticket [10:29:34] [PASSED] ttm_bo_reserve_double_resv [10:29:34] [PASSED] ttm_bo_reserve_interrupted [10:29:34] [PASSED] ttm_bo_reserve_deadlock [10:29:34] [PASSED] ttm_bo_unreserve_basic [10:29:34] [PASSED] ttm_bo_unreserve_pinned [10:29:34] [PASSED] ttm_bo_unreserve_bulk [10:29:34] [PASSED] ttm_bo_fini_basic [10:29:34] [PASSED] ttm_bo_fini_shared_resv [10:29:34] [PASSED] ttm_bo_pin_basic [10:29:34] [PASSED] ttm_bo_pin_unpin_resource [10:29:34] [PASSED] ttm_bo_multiple_pin_one_unpin [10:29:34] ===================== [PASSED] ttm_bo ====================== [10:29:34] ============== ttm_bo_validate (22 subtests) =============== [10:29:34] ============== ttm_bo_init_reserved_sys_man =============== [10:29:34] [PASSED] Buffer object for userspace [10:29:34] [PASSED] Kernel buffer object [10:29:34] [PASSED] Shared buffer object [10:29:34] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [10:29:34] ============== ttm_bo_init_reserved_mock_man ============== [10:29:34] [PASSED] Buffer object for userspace [10:29:34] [PASSED] Kernel buffer object [10:29:34] [PASSED] Shared buffer object [10:29:34] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [10:29:34] [PASSED] ttm_bo_init_reserved_resv [10:29:34] ================== ttm_bo_validate_basic ================== [10:29:34] [PASSED] Buffer object for userspace [10:29:34] [PASSED] Kernel buffer object [10:29:34] [PASSED] Shared buffer object [10:29:34] ============== [PASSED] ttm_bo_validate_basic ============== [10:29:34] [PASSED] ttm_bo_validate_invalid_placement [10:29:34] ============= ttm_bo_validate_same_placement ============== [10:29:34] [PASSED] System manager [10:29:34] [PASSED] VRAM manager [10:29:34] ========= [PASSED] ttm_bo_validate_same_placement ========== [10:29:34] [PASSED] ttm_bo_validate_failed_alloc [10:29:34] [PASSED] ttm_bo_validate_pinned [10:29:34] [PASSED] ttm_bo_validate_busy_placement [10:29:34] ================ ttm_bo_validate_multihop ================= [10:29:34] [PASSED] Buffer object for userspace [10:29:34] [PASSED] Kernel buffer object [10:29:34] [PASSED] Shared buffer object [10:29:34] ============ [PASSED] ttm_bo_validate_multihop ============= [10:29:34] ========== ttm_bo_validate_no_placement_signaled ========== [10:29:34] [PASSED] Buffer object in system domain, no page vector [10:29:34] [PASSED] Buffer object in system domain with an existing page vector [10:29:34] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [10:29:34] ======== ttm_bo_validate_no_placement_not_signaled ======== [10:29:34] [PASSED] Buffer object for userspace [10:29:34] [PASSED] Kernel buffer object [10:29:34] [PASSED] Shared buffer object [10:29:34] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [10:29:34] [PASSED] ttm_bo_validate_move_fence_signaled [10:29:34] ========= ttm_bo_validate_move_fence_not_signaled ========= [10:29:34] [PASSED] Waits for GPU [10:29:34] [PASSED] Tries to lock straight away [10:29:34] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [10:29:34] [PASSED] ttm_bo_validate_swapout [10:29:34] [PASSED] ttm_bo_validate_happy_evict [10:29:34] [PASSED] ttm_bo_validate_all_pinned_evict [10:29:34] [PASSED] ttm_bo_validate_allowed_only_evict [10:29:34] [PASSED] ttm_bo_validate_deleted_evict [10:29:34] [PASSED] ttm_bo_validate_busy_domain_evict [10:29:34] [PASSED] ttm_bo_validate_evict_gutting [10:29:34] [PASSED] ttm_bo_validate_recrusive_evict [10:29:34] ================= [PASSED] ttm_bo_validate ================= [10:29:34] ============================================================ [10:29:34] Testing complete. Ran 102 tests: passed: 102 [10:29:34] Elapsed time: 11.682s total, 1.766s configuring, 9.701s building, 0.188s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for Introduce Xe PCIe FLR (rev8)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev8)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
CI Bug Log - changes from xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d_BAT -> xe-pw-162055v8_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 13)
------------------------------
Additional (2): bat-bmg-vm bat-ptl-vm
Known issues
------------
Here are the changes found in xe-pw-162055v8_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_evict@evict-beng-small-cm:
- bat-ptl-vm: NOTRUN -> [SKIP][1] ([Intel XE#5764]) +10 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
* igt@xe_exec_balancer@twice-parallel-basic:
- bat-ptl-vm: NOTRUN -> [SKIP][2] ([Intel XE#7482]) +17 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-ptl-vm: NOTRUN -> [SKIP][3] ([Intel XE#5775])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_mmap@vram:
- bat-ptl-vm: NOTRUN -> [SKIP][4] ([Intel XE#5776])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- bat-ptl-vm: NOTRUN -> [SKIP][5] ([Intel XE#5777] / [Intel XE#7590])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
- bat-bmg-vm: NOTRUN -> [SKIP][6] ([Intel XE#1420] / [Intel XE#7590])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-bmg-vm/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- bat-bmg-vm: NOTRUN -> [SKIP][7] ([Intel XE#2245] / [Intel XE#7590])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-bmg-vm/igt@[email protected]
- bat-ptl-vm: NOTRUN -> [SKIP][8] ([Intel XE#5771] / [Intel XE#7590])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-ptl-vm: NOTRUN -> [SKIP][9] ([Intel XE#5780] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-ptl-vm/igt@[email protected]
- bat-bmg-vm: NOTRUN -> [SKIP][10] ([Intel XE#2236] / [Intel XE#7590])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/bat-bmg-vm/igt@[email protected]
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#5764]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5764
[Intel XE#5771]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5771
[Intel XE#5775]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5775
[Intel XE#5776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5776
[Intel XE#5777]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5777
[Intel XE#5780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5780
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
Build changes
-------------
* Linux: xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d -> xe-pw-162055v8
IGT_8947: e322bfd77da04314dd310da9a6cf0562b5751f1f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d: 6f2323e6938f804868ac52df9dfc6c73f59d224d
xe-pw-162055v8: 162055v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/index.html
Patchwork
CI✓ Xe.CI.FULL: success for Introduce Xe PCIe FLR (rev8)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev8)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
CI Bug Log - changes from xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d_FULL -> xe-pw-162055v8_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-162055v8_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@4-tiled-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2327])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#1124]) +2 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#7679]) +1 other test skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@[email protected]
* igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#2887]) +4 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd-with-enabled-mode:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2252]) +2 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_content_protection@mei-interface:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#7642])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [PASS][7] -> [FAIL][8] ([Intel XE#7571]) +1 other test fail
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-10/igt@[email protected]
* igt@kms_dsc@dsc-with-output-formats:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2244])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#4141]) +5 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2311]) +18 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#7061]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2313]) +13 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#3544] / [Intel XE#7915] / [Intel XE#7916])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr@pipe-a-dp-2-xrgb2101010:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#7916]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@kms_hdr@[email protected]
* igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#7915]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@kms_hdr@[email protected]
* igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [PASS][18] -> [SKIP][19] ([Intel XE#7915]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-5/igt@kms_hdr@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-8/igt@kms_hdr@[email protected]
* igt@kms_pipe_stress@stress-xrgb8888-ytiled:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#1489]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_psr@fbc-psr-suspend:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#3904] / [Intel XE#7342])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [PASS][24] -> [FAIL][25] ([Intel XE#2142]) +1 other test fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-lnl-2/igt@kms_vrr@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-lnl-1/igt@kms_vrr@[email protected]
* igt@xe_dma_buf_sync@export-dma-buf-many-write-sync:
- shard-bmg: NOTRUN -> [ABORT][26] ([Intel XE#8007])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_eudebug@discovery-empty:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#7636]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_evict@evict-small-multi-queue-priority-cm:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7140])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-invalidate-race.html
* igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-imm:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#7136]) +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-basic:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#6874]) +9 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-userptr:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#7138]) +2 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-latency-prefetch:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#6964]) +2 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2245] / [Intel XE#7590])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@[email protected]
* igt@xe_pm@d3cold-i2c:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#5694] / [Intel XE#7370])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@[email protected]
* igt@xe_query@multigpu-query-topology:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#944])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_wedged@wedged-at-any-timeout:
- shard-bmg: NOTRUN -> [DMESG-WARN][37] ([Intel XE#5545])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [FAIL][38] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-8/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-10/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-dp-2:
- shard-bmg: [FAIL][40] ([Intel XE#6078]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-8/igt@kms_async_flips@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-10/igt@kms_async_flips@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][42] ([Intel XE#7084] / [Intel XE#8150]) -> [PASS][43] +1 other test pass
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-6/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-bmg: [FAIL][44] ([Intel XE#7809]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-7/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-3/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][46] ([Intel XE#1503]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-5/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-8/igt@[email protected]
* igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][48] ([Intel XE#7922]) -> [PASS][49] +1 other test pass
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-5/igt@kms_hdr@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-8/igt@kms_hdr@[email protected]
* igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][50] ([Intel XE#7915]) -> [PASS][51] +3 other tests pass
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-7/igt@kms_hdr@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-6/igt@kms_hdr@[email protected]
* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [FAIL][52] ([Intel XE#7340] / [Intel XE#7504]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-lnl-4/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-lnl-3/igt@[email protected]
* igt@xe_pat@pt-caching-random-offsets:
- shard-bmg: [ABORT][54] ([Intel XE#7893]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-5/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-bmg: [DMESG-WARN][56] ([Intel XE#6627] / [Intel XE#7419]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-1/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-3/igt@[email protected]
* igt@xe_waitfence@reltime:
- shard-bmg: [FAIL][58] ([Intel XE#8017]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-10/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-5/igt@[email protected]
* igt@xe_wedged@wedged-mode-toggle:
- shard-bmg: [ABORT][60] ([Intel XE#8007]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-9/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
#### Warnings ####
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][62] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][63] ([Intel XE#2426] / [Intel XE#5848])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d/shard-bmg-4/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/shard-bmg-1/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5694
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6627]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6627
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7140]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7140
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7340
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7419
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7504
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7809]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7809
[Intel XE#7893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7893
[Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
[Intel XE#7916]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7916
[Intel XE#7922]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7922
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8017]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8017
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d -> xe-pw-162055v8
IGT_8947: e322bfd77da04314dd310da9a6cf0562b5751f1f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5191-6f2323e6938f804868ac52df9dfc6c73f59d224d: 6f2323e6938f804868ac52df9dfc6c73f59d224d
xe-pw-162055v8: 162055v8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v8/index.html