Introduce Xe PCIe FLR
Subsystems (2)
v7 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)
Raag Jadav (8):
drm/xe/uc_fw: Allow re-initializing firmware drm/xe/guc_submit: Introduce guc_exec_queue_reinit() drm/xe/gt: Introduce FLR helpers drm/xe/bo_evict: Introduce xe_bo_restore_map() drm/xe/exec_queue: Introduce xe_exec_queue_reinit() drm/xe/migrate: Introduce xe_migrate_reinit() drm/xe/pm: Introduce xe_device_suspend/resume() drm/xe/pci: Introduce PCIe FLR
drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_bo_evict.c | 51 ++++++-- drivers/gpu/drm/xe/xe_bo_evict.h | 2 + drivers/gpu/drm/xe/xe_device.c | 150 +++++++++++++++++++++++ drivers/gpu/drm/xe/xe_device.h | 2 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_exec_queue.c | 42 ++++++- drivers/gpu/drm/xe/xe_exec_queue.h | 1 + drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 + drivers/gpu/drm/xe/xe_execlist.c | 6 + drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 + drivers/gpu/drm/xe/xe_gsc.c | 14 +++ drivers/gpu/drm/xe/xe_gsc.h | 1 + drivers/gpu/drm/xe/xe_gt.c | 33 +++++ drivers/gpu/drm/xe/xe_gt.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 29 +++++ drivers/gpu/drm/xe/xe_guc.h | 2 + drivers/gpu/drm/xe/xe_guc_submit.c | 13 ++ drivers/gpu/drm/xe/xe_huc.c | 14 +++ drivers/gpu/drm/xe/xe_huc.h | 1 + drivers/gpu/drm/xe/xe_lrc.c | 17 +++ drivers/gpu/drm/xe/xe_lrc.h | 2 + drivers/gpu/drm/xe/xe_migrate.c | 12 ++ drivers/gpu/drm/xe/xe_migrate.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 1 + drivers/gpu/drm/xe/xe_pci.h | 2 + drivers/gpu/drm/xe/xe_pci_error.c | 121 ++++++++++++++++++ drivers/gpu/drm/xe/xe_pm.c | 103 ++-------------- drivers/gpu/drm/xe/xe_uc.c | 72 +++++++++++ drivers/gpu/drm/xe/xe_uc.h | 2 + drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + drivers/gpu/drm/xe/xe_uc_types.h | 14 +++ 33 files changed, 671 insertions(+), 107 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_pci_error.c
Signature · 1 line
2.43.0
PATCH v7 1/8 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)
--- drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 57 insertions(+)
drivers/gpu/drm/xe/xe_uc_fw.c +56 -0
@@ -834,6 +834,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 ;
@@ -857,6 +865,54 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw) }ALLOW_ERROR_INJECTION (xe_uc_fw_init,ERRNO );/* See xe_pci_probe() */ +/** +* xe_uc_fw_reinit() - Re-initialize uC firmware into its bo +* @uc_fw: uC firmware +* +* Returns: 0 on success, negative error code otherwise. +*/ +int xe_uc_fw_reinit (struct xe_uc_fw *uc_fw) +{ +struct xe_device *xe =uc_fw_to_xe (uc_fw); +struct xe_uc_fw_version new_fw, old_fw; +const struct firmware *fw =NULL ; +int err; + +/* We shouldn't be here for the firmware which wasn't loaded */ +xe_assert (xe,xe_uc_fw_is_available (uc_fw)); + + old_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; + + err =firmware_request_nowarn (&fw, uc_fw->path, xe->drm.dev); +if (err) + goto fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto fail; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (new_fw.branch != old_fw.branch || new_fw.major != old_fw.major || + new_fw.minor != old_fw.minor || new_fw.patch != old_fw.patch || + new_fw.build != old_fw.build || uc_fw->size != fw->size) { +drm_err (&xe->drm,"%s firmware mismatch on %s" , +xe_uc_fw_type_repr (uc_fw->type), uc_fw->path); + +/* +* parse_headers() updates version details, so restore original +* version before bailing. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw; + err = -ENOEXEC ; + goto fail; + } + +uc_fw_reinit (uc_fw, fw->data); +fail: +uc_fw_release (fw); +return err; +} +static u32 uc_fw_ggtt_offset (struct xe_uc_fw *uc_fw) {return xe_bo_ggtt_addr (uc_fw->bo);
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 v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware
Quoted 59 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]>---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)--- drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 57 insertions(+)drivers/gpu/drm/xe/xe_uc_fw.c +28
-0@@ -834,6 +834,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 ;@@ -857,6 +865,54 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw) }ALLOW_ERROR_INJECTION (xe_uc_fw_init,ERRNO );/* See xe_pci_probe() */ +/** +* xe_uc_fw_reinit() - Re-initialize uC firmware into its bo +* @uc_fw: uC firmware +* +* Returns: 0 on success, negative error code otherwise. +*/ +int xe_uc_fw_reinit (struct xe_uc_fw *uc_fw) +{ +struct xe_device *xe =uc_fw_to_xe (uc_fw); +struct xe_uc_fw_version new_fw, old_fw; +const struct firmware *fw =NULL ; +int err; + +/* We shouldn't be here for the firmware which wasn't loaded */ +xe_assert (xe,xe_uc_fw_is_available (uc_fw)); + + old_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; + + err =firmware_request_nowarn (&fw, uc_fw->path, xe->drm.dev); +if (err)
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 897
Quoted 10 lines
drivers/gpu/drm/xe/xe_uc_fw.c +10
-0+ goto fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto fail; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (new_fw.branch != old_fw.branch || new_fw.major != old_fw.major || + new_fw.minor != old_fw.minor || new_fw.patch != old_fw.patch || + new_fw.build != old_fw.build || uc_fw->size != fw->size) {
Since we want an exact match, instead of comparing each version field individually we could use
memcmp(&new_fw, &old_fw, sizeof(new_fw))
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 905
Quoted 8 lines
drivers/gpu/drm/xe/xe_uc_fw.c +8
-0+drm_err (&xe->drm,"%s firmware mismatch on %s" , +xe_uc_fw_type_repr (uc_fw->type), uc_fw->path); + +/* +* parse_headers() updates version details, so restore original +* version before bailing. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw;
parse_headers updates more than just the version, so IMO better to save/restore the whole xe_uc_fw struct.
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 912
Quoted 7 lines
drivers/gpu/drm/xe/xe_uc_fw.c +7
-0+ err = -ENOEXEC ; + goto fail; + } + +uc_fw_reinit (uc_fw, fw->data); +fail: +uc_fw_release (fw);
What state is the uc_fw struct left in if we exit here? Do we care, and if so should we explicitly set it to some error state? might need a new state for it.
Quoted 18 lines
drivers/gpu/drm/xe/xe_uc_fw.c +3
-0+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);
Re: [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware
Quoted 72 lines · Daniele Ceraolo Spurio
Quoted 57 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]>---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)--- drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 57 insertions(+)drivers/gpu/drm/xe/xe_uc_fw.c +28
-0@@ -834,6 +834,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 ;@@ -857,6 +865,54 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw) }ALLOW_ERROR_INJECTION (xe_uc_fw_init,ERRNO );/* See xe_pci_probe() */ +/** +* xe_uc_fw_reinit() - Re-initialize uC firmware into its bo +* @uc_fw: uC firmware +* +* Returns: 0 on success, negative error code otherwise. +*/ +int xe_uc_fw_reinit (struct xe_uc_fw *uc_fw) +{ +struct xe_device *xe =uc_fw_to_xe (uc_fw); +struct xe_uc_fw_version new_fw, old_fw; +const struct firmware *fw =NULL ; +int err; + +/* We shouldn't be here for the firmware which wasn't loaded */ +xe_assert (xe,xe_uc_fw_is_available (uc_fw)); + + old_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; + + err =firmware_request_nowarn (&fw, uc_fw->path, xe->drm.dev); +if (err)drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 896
Quoted 10 lines
drivers/gpu/drm/xe/xe_uc_fw.c +10
-0+ goto fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto fail; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (new_fw.branch != old_fw.branch || new_fw.major != old_fw.major || + new_fw.minor != old_fw.minor || new_fw.patch != old_fw.patch || + new_fw.build != old_fw.build || uc_fw->size != fw->size) {Since we want an exact match, instead of comparing each version field individually we could use
Quoted 1 line
memcmp(&new_fw,
&old_fw,sizeof(new_fw))
Sure.
Quoted 11 lines
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 905
Quoted 8 lines
drivers/gpu/drm/xe/xe_uc_fw.c +8
-0+drm_err (&xe->drm,"%s firmware mismatch on %s" , +xe_uc_fw_type_repr (uc_fw->type), uc_fw->path); + +/* +* parse_headers() updates version details, so restore original +* version before bailing. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw;
parse_headersupdates more than just the version, so IMO better to save/restore the wholexe_uc_fwstruct.
Makes sense.
Quoted 11 lines
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 912
Quoted 7 lines
drivers/gpu/drm/xe/xe_uc_fw.c +7
-0+ err = -ENOEXEC ; + goto fail; + } + +uc_fw_reinit (uc_fw, fw->data); +fail: +uc_fw_release (fw);What state is the
uc_fwstruct left in if we exit here? Do we care, and if so should we explicitly set it to some error state? might need a new state for it.
We'd want to make sure we don't reinit the fw which wasn't available earlier, so perhaps just reuse XE_UC_FIRMWARE_INIT_FAIL?
Raag
Quoted 18 lines
Quoted 17 lines
drivers/gpu/drm/xe/xe_uc_fw.c +3
-0+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);
Re: [PATCH v7 1/8] drm/xe/uc_fw: Allow re-initializing firmware
Quoted 97 lines · Raag Jadav
Quoted 71 lines · Daniele Ceraolo Spurio
Quoted 57 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]>---
v2: Add kernel doc (Matthew Brost)
v6: Skip uC firmware selection during re-initialization (Daniele)--- drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + 2 files changed, 57 insertions(+)drivers/gpu/drm/xe/xe_uc_fw.c +28
-0@@ -834,6 +834,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 ;@@ -857,6 +865,54 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw) }ALLOW_ERROR_INJECTION (xe_uc_fw_init,ERRNO );/* See xe_pci_probe() */ +/** +* xe_uc_fw_reinit() - Re-initialize uC firmware into its bo +* @uc_fw: uC firmware +* +* Returns: 0 on success, negative error code otherwise. +*/ +int xe_uc_fw_reinit (struct xe_uc_fw *uc_fw) +{ +struct xe_device *xe =uc_fw_to_xe (uc_fw); +struct xe_uc_fw_version new_fw, old_fw; +const struct firmware *fw =NULL ; +int err; + +/* We shouldn't be here for the firmware which wasn't loaded */ +xe_assert (xe,xe_uc_fw_is_available (uc_fw)); + + old_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; + + err =firmware_request_nowarn (&fw, uc_fw->path, xe->drm.dev); +if (err)drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 896
Quoted 10 lines
drivers/gpu/drm/xe/xe_uc_fw.c +10
-0+ goto fail; + + err =parse_headers (uc_fw, fw); +if (err) + goto fail; + + new_fw = uc_fw->versions.found[XE_UC_FW_VER_RELEASE ]; +if (new_fw.branch != old_fw.branch || new_fw.major != old_fw.major || + new_fw.minor != old_fw.minor || new_fw.patch != old_fw.patch || + new_fw.build != old_fw.build || uc_fw->size != fw->size) {Since we want an exact match, instead of comparing each version field individually we could use
Quoted 1 line
memcmp(&new_fw,
&old_fw,sizeof(new_fw))Sure.
Quoted 10 lines
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 905
Quoted 8 lines
drivers/gpu/drm/xe/xe_uc_fw.c +8
-0+drm_err (&xe->drm,"%s firmware mismatch on %s" , +xe_uc_fw_type_repr (uc_fw->type), uc_fw->path); + +/* +* parse_headers() updates version details, so restore original +* version before bailing. +*/ + uc_fw->versions.found[XE_UC_FW_VER_RELEASE ] = old_fw;
parse_headersupdates more than just the version, so IMO better to save/restore the wholexe_uc_fwstruct.Makes sense.
Quoted 10 lines
drivers/gpu/drm/xe/xe_uc_fw.c int xe_uc_fw_init(struct xe_uc_fw *uc_fw) · line 912
Quoted 7 lines
drivers/gpu/drm/xe/xe_uc_fw.c +7
-0+ err = -ENOEXEC ; + goto fail; + } + +uc_fw_reinit (uc_fw, fw->data); +fail: +uc_fw_release (fw);What state is the
uc_fwstruct left in if we exit here? Do we care, and if so should we explicitly set it to some error state? might need a new state for it.
Quoted 2 lines
We'd want to make sure we don't reinit the fw which wasn't available earlier, so perhaps just reuse
XE_UC_FIRMWARE_INIT_FAIL?
XE_UC_FIRMWARE_INIT_FAIL sounds good. That will make xe_uc_fw_is_loadable() return false, which will automatically block any attempts to use the image.
Daniele
Quoted 20 lines
Raag
Quoted 17 lines
Quoted 17 lines
drivers/gpu/drm/xe/xe_uc_fw.c +3
-0+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 v7 2/8 drm/xe/guc_submit: Introduce guc_exec_queue_reinit()
In reply to Raag JadavIn preparation of usecases which require re-initializing GuC submission after PCIe FLR, introduce guc_exec_queue_reinit() helper. This will restore exec queues which might have been killed before PCIe FLR.
---
v4: Teardown exec queues instead of mangling scheduler pending list (Matthew Brost)
v5: Re-initialize kernel queues through submission backend (Matthew Brost)
--- drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 ++ drivers/gpu/drm/xe/xe_execlist.c | 6 ++++++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 +++++ drivers/gpu/drm/xe/xe_guc_submit.c | 13 +++++++++++++ 4 files changed, 26 insertions(+)
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: Re-initialize exec queue for submission backend */ +void (*reinit)(struct xe_exec_queue *q);/** @kill: Kill inflight submissions for backend */ void (*kill)(struct xe_exec_queue *q);/** @fini: Undoes the init() for submission backend */
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 (struct xe_exec_queue *q) +{ +/* NIY */ +} +static void execlist_exec_queue_kill (struct xe_exec_queue *q) {/* NIY */
@@ -466,6 +471,7 @@ static bool execlist_exec_queue_active(struct xe_exec_queue *q)static const struct xe_exec_queue_ops execlist_exec_queue_ops = { .init = execlist_exec_queue_init, + .reinit = execlist_exec_queue_reinit, .kill = execlist_exec_queue_kill, .fini = execlist_exec_queue_fini, .destroy = execlist_exec_queue_destroy,
drivers/gpu/drm/xe/xe_gpu_scheduler.h +5 -0
@@ -51,6 +51,11 @@ static inline void xe_sched_tdr_queue_imm(struct xe_gpu_scheduler *sched)drm_sched_tdr_queue_imm (&sched->base); } +static inline void xe_sched_update_timeout (struct xe_gpu_scheduler *sched,long timeout) +{ + sched->base.timeout = timeout; +} +static inline void xe_sched_resubmit_jobs (struct xe_gpu_scheduler *sched) {struct drm_sched_job *s_job;
drivers/gpu/drm/xe/xe_guc_submit.c +13 -0
@@ -2032,6 +2032,18 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)return err; } +static void guc_exec_queue_reinit (struct xe_exec_queue *q) +{ +struct xe_gpu_scheduler *sched = &q->guc->sched; +long timeout = (q->vm &&xe_vm_in_lr_mode (q->vm)) ?MAX_SCHEDULE_TIMEOUT : +msecs_to_jiffies (q->sched_props.job_timeout_ms); + +xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)),drm_sched_is_stopped (&sched->base)); + +xe_sched_update_timeout (sched, timeout); +atomic_set (&q->guc->state,0 ); +} +static void guc_exec_queue_kill (struct xe_exec_queue *q) {trace_xe_exec_queue_kill (q);
@@ -2274,6 +2286,7 @@ static bool guc_exec_queue_active(struct xe_exec_queue *q)*/ static const struct xe_exec_queue_ops guc_exec_queue_ops = { .init = guc_exec_queue_init, + .reinit = guc_exec_queue_reinit, .kill = guc_exec_queue_kill, .fini = guc_exec_queue_fini, .destroy = guc_exec_queue_destroy,
Signature · 1 line
2.43.0
Re: [PATCH v7 2/8] drm/xe/guc_submit: Introduce guc_exec_queue_reinit()
Quoted 21 lines · Raag Jadav
In preparation of usecases which require re-initializing GuC submission after PCIe FLR, introduce
guc_exec_queue_reinit()helper. This will restore exec queues which might have been killed before PCIe FLR.Signed-off-by Raag Jadav <[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)--- drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 ++ drivers/gpu/drm/xe/xe_execlist.c | 6 ++++++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 +++++ drivers/gpu/drm/xe/xe_guc_submit.c | 13 +++++++++++++ 4 files changed, 26 insertions(+)drivers/gpu/drm/xe/xe_exec_queue_types.h +0
-0
drivers/gpu/drm/xe/xe_exec_queue_types.h struct xe_exec_queue { · line 277
Quoted 4 lines
drivers/gpu/drm/xe/xe_exec_queue_types.h +1
-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: Re-initialize exec queue for submission backend */
AFAIU this is limited to kernel-owned queues, so IMO we should reflect that in the name (and add an assert in the implementation)
Quoted 49 lines
drivers/gpu/drm/xe/xe_exec_queue_types.h +1
-0+void (*reinit)(struct xe_exec_queue *q);/** @kill: Kill inflight submissions for backend */ void (*kill)(struct xe_exec_queue *q);/** @fini: Undoes the init() for submission backend */ 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 (struct xe_exec_queue *q) +{ +/* NIY */ +} +static void execlist_exec_queue_kill (struct xe_exec_queue *q) {/* NIY */ @@ -466,6 +471,7 @@ static bool execlist_exec_queue_active(struct xe_exec_queue *q)static const struct xe_exec_queue_ops execlist_exec_queue_ops = { .init = execlist_exec_queue_init, + .reinit = execlist_exec_queue_reinit, .kill = execlist_exec_queue_kill, .fini = execlist_exec_queue_fini, .destroy = execlist_exec_queue_destroy,drivers/gpu/drm/xe/xe_gpu_scheduler.h +5
-0@@ -51,6 +51,11 @@ static inline void xe_sched_tdr_queue_imm(struct xe_gpu_scheduler *sched)drm_sched_tdr_queue_imm (&sched->base); } +static inline void xe_sched_update_timeout (struct xe_gpu_scheduler *sched,long timeout) +{ + sched->base.timeout = timeout; +} +static inline void xe_sched_resubmit_jobs (struct xe_gpu_scheduler *sched) {struct drm_sched_job *s_job;drivers/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 2039
Quoted 8 lines
drivers/gpu/drm/xe/xe_guc_submit.c +5
-0@@ -2032,6 +2032,18 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)return err; } +static void guc_exec_queue_reinit (struct xe_exec_queue *q) +{ +struct xe_gpu_scheduler *sched = &q->guc->sched; +long timeout = (q->vm &&xe_vm_in_lr_mode (q->vm)) ?MAX_SCHEDULE_TIMEOUT : +msecs_to_jiffies (q->sched_props.job_timeout_ms);
Can kernel queues even be in lr mode? I'm also not fully convinced that duplicating the timeout selection here is the right move, because if we change the code in guc_exec_queue_init then we'll have to change it here as well. Maybe we can save the timeout in xe_gpu_scheduler when we initialize and then just restore it from there?
drivers/gpu/drm/xe/xe_guc_submit.c static int guc_exec_queue_init(struct xe_exec_queue *q) · line 2043
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_submit.c +4
-0+ +xe_gt_assert (guc_to_gt (exec_queue_to_guc (q)),drm_sched_is_stopped (&sched->base)); + +xe_sched_update_timeout (sched, timeout);
IMO we should call this xe_sched_reinit, so if we ever get more fileds to re-init we can just add them in.
Daniele
Quoted 14 lines
drivers/gpu/drm/xe/xe_guc_submit.c +4
-0+atomic_set (&q->guc->state,0 ); +} +static void guc_exec_queue_kill (struct xe_exec_queue *q) {trace_xe_exec_queue_kill (q);@@ -2274,6 +2286,7 @@ static bool guc_exec_queue_active(struct xe_exec_queue *q)*/ static const struct xe_exec_queue_ops guc_exec_queue_ops = { .init = guc_exec_queue_init, + .reinit = guc_exec_queue_reinit, .kill = guc_exec_queue_kill, .fini = guc_exec_queue_fini, .destroy = guc_exec_queue_destroy,
PATCH v7 3/8 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 v7 4/8 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
PATCH v7 5/8 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; + +/* Re-initialization only allowed for kernel queues */ +xe_assert (gt_to_xe (q->gt), q->flags &EXEC_QUEUE_FLAG_KERNEL ); +/* TODO: Re-initialize GSC and PXP queues */ +xe_assert (gt_to_xe (q->gt),IS_DGFX (gt_to_xe (q->gt))); + +/* Re-initialize submission backend */ + q->ops->reinit (q); + +for (i =0 ; i < q->width; i++) { + err =xe_lrc_reinit (q->lrc[i], q->hwe, q->vm, q->replay_state, + q->msix_vec,xe_lrc_init_flags (q, q->flags)); +if (err) +return err; + } + +return 0 ; +} +/** * xe_exec_queue_create() - Create an exec queue * @xe: Xe device
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
PATCH v7 6/8 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
Re: [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
Quoted 45 lines · Raag Jadav
In preparation of usecases which require re-initializing migrate context after PCIe FLR, introduce
xe_migrate_reinit()helper. Migrate exec queue andpt_boalready exist in migrate structure but since their contents live on VRAM, they are lost on PCIe FLR and need re-initialization.Signed-off-by Raag Jadav <[email protected]>Reviewed-by Matthew Brost <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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 +0
-0@@ -454,6 +454,18 @@ static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *mreturn err; }
drivers/gpu/drm/xe/xe_migrate.c static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m · line 466
Quoted 10 lines
drivers/gpu/drm/xe/xe_migrate.c +10
-0+/** +* 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);
I'm not sold on calling xe_exec_queue_reinit from here. Wouldn't it be easier to just destroy and re-create the migration queue, instead of adding support for a new re-init flow that's only used during FLR?
IMO the re-init would be more valuable if we went with a gt-level function where we loop through all queues and re-init all the kernel-owned ones. That way if we add another queue that needs to be re-initialized it will automatically be picked up by the loop, instead of having to hook up a new callback in the FLR flow.
Daniele
Quoted 17 lines
drivers/gpu/drm/xe/xe_migrate.c +2
-0+} +/** * 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,
Re: [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
Quoted 50 lines · Daniele Ceraolo Spurio
Quoted 49 lines · Raag Jadav
In preparation of usecases which require re-initializing migrate context after PCIe FLR, introduce
xe_migrate_reinit()helper. Migrate exec queue andpt_boalready exist in migrate structure but since their contents live on VRAM, they are lost on PCIe FLR and need re-initialization.Signed-off-by Raag Jadav <[email protected]>Reviewed-by Matthew Brost <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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 +6
-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. +*/
Quoted 8 lines
drivers/gpu/drm/xe/xe_migrate.c static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m · line 466
Quoted 4 lines
drivers/gpu/drm/xe/xe_migrate.c +4
-0+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);I'm not sold on calling
xe_exec_queue_reinitfrom here. Wouldn't it be easier to just destroy and re-create the migration queue, instead of adding support for a new re-init flow that's only used during FLR?
This flow is to be reused for multiple usecases where we need device level reinit.
I remember trying destroy/re-create at some point but I saw TLB invalidation errors. I didn't know how to investigate those and gave up on that direction.
IMO it's more performative to just restore existing stuff without dealing with memory (which'd also make it a bit prone to failures) in this path.
Quoted 5 lines
IMO the re-init would be more valuable if we went with a gt-level function where we loop through all queues and re-init all the kernel-owned ones. That way if we add another queue that needs to be re-initialized it will automatically be picked up by the loop, instead of having to hook up a new callback in the FLR flow.
I went through some of the data structures and found that the queues are maintained by individual components that use them. One way I could think of would be to have a centralized list of queues (like we have for kernel bos) that we can restore without worrying about which component owns it, but it looks like something that needs to be done as a prerequisite and perhaps requires significant refactoring.
Thoughts?
Raag
Quoted 16 lines
Quoted 15 lines
drivers/gpu/drm/xe/xe_migrate.c +2
-0+} +/** * 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,
Re: [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
Quoted 61 lines · Raag Jadav
Quoted 49 lines · Daniele Ceraolo Spurio
Quoted 48 lines · Raag Jadav
In preparation of usecases which require re-initializing migrate context after PCIe FLR, introduce
xe_migrate_reinit()helper. Migrate exec queue andpt_boalready exist in migrate structure but since their contents live on VRAM, they are lost on PCIe FLR and need re-initialization.Signed-off-by Raag Jadav <[email protected]>Reviewed-by Matthew Brost <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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 +5
-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. Quoted 8 lines
drivers/gpu/drm/xe/xe_migrate.c static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m · line 466
Quoted 5 lines
drivers/gpu/drm/xe/xe_migrate.c +5
-0+*/ +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);I'm not sold on calling
xe_exec_queue_reinitfrom here. Wouldn't it be easier to just destroy and re-create the migration queue, instead of adding support for a new re-init flow that's only used during FLR?This flow is to be reused for multiple usecases where we need device level reinit.
Quoted 7 lines
I remember trying destroy/re-create at some point but I saw TLB invalidation errors. I didn't know how to investigate those and gave up on that direction.
IMO it's more performative to just restore existing stuff without dealing with memory (which'd also make it a bit prone to failures) in this path.
Makes sense.
Quoted 5 lines
Quoted 5 lines
IMO the re-init would be more valuable if we went with a gt-level function where we loop through all queues and re-init all the kernel-owned ones. That way if we add another queue that needs to be re-initialized it will automatically be picked up by the loop, instead of having to hook up a new callback in the FLR flow.
Quoted 8 lines
I went through some of the data structures and found that the queues are maintained by individual components that use them. One way I could think of would be to have a centralized list of queues (like we have for kernel bos) that we can restore without worrying about which component owns it, but it looks like something that needs to be done as a prerequisite and perhaps requires significant refactoring.
Thoughts?
The risk here is that a new queue is added for a new component and the developer doesn't know they need to go and reinit it after the FLR. This might also be difficult to catch in testing, unless we go and re-run the full CI after an FLR to make sure everything still works (which is straight up not possible with tests that re-load the driver).
Maintaining a list of kernel queues shouldn't be too bad (there are very few of them), but I understand it increases the scope of this series.
We have a list of queues that have an assigned guc_id in guc->submission_state.exec_queue_lookup, which you can navigate with xa_for_each(), so a potential solution here could be to have a "guc_submit_reinit" function to go and re-init all kernel queues in that list. I don't really like this option because it moves the logic from the generic exec_queue layer down into the guc submission back-end, but it could be a stop-gap to get something working and we could then go and move the loop to the generic layer as a follow-up.
To summarize, without creating a new list, I think we have 2 non-optimal options 1 - have each component handle their re-init (not future-proof)
2 - handle this in a guc-specific function (layering violation)
I honestly can't decide which option I (dis)like more, so I'm not going to block this one way or the other and leave the call to the scheduler experts.
Daniele
Quoted 18 lines
Raag
Quoted 15 lines
Quoted 15 lines
drivers/gpu/drm/xe/xe_migrate.c +2
-0+} +/** * 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,
Re: [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
Quoted 104 lines · Daniele Ceraolo Spurio
Quoted 61 lines · Raag Jadav
Quoted 49 lines · Daniele Ceraolo Spurio
Quoted 48 lines · Raag Jadav
In preparation of usecases which require re-initializing migrate context after PCIe FLR, introduce
xe_migrate_reinit()helper. Migrate exec queue andpt_boalready exist in migrate structure but since their contents live on VRAM, they are lost on PCIe FLR and need re-initialization.Signed-off-by Raag Jadav <[email protected]>Reviewed-by Matthew Brost <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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 +5
-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. Quoted 8 lines
drivers/gpu/drm/xe/xe_migrate.c static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m · line 466
Quoted 5 lines
drivers/gpu/drm/xe/xe_migrate.c +5
-0+*/ +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);I'm not sold on calling
xe_exec_queue_reinitfrom here. Wouldn't it be easier to just destroy and re-create the migration queue, instead of adding support for a new re-init flow that's only used during FLR?This flow is to be reused for multiple usecases where we need device level reinit.
Quoted 7 lines
I remember trying destroy/re-create at some point but I saw TLB invalidation errors. I didn't know how to investigate those and gave up on that direction.
IMO it's more performative to just restore existing stuff without dealing with memory (which'd also make it a bit prone to failures) in this path.
Makes sense.
Quoted 5 lines
Quoted 5 lines
IMO the re-init would be more valuable if we went with a gt-level function where we loop through all queues and re-init all the kernel-owned ones. That way if we add another queue that needs to be re-initialized it will automatically be picked up by the loop, instead of having to hook up a new callback in the FLR flow.
Quoted 8 lines
I went through some of the data structures and found that the queues are maintained by individual components that use them. One way I could think of would be to have a centralized list of queues (like we have for kernel bos) that we can restore without worrying about which component owns it, but it looks like something that needs to be done as a prerequisite and perhaps requires significant refactoring.
Thoughts?
The risk here is that a new queue is added for a new component and the developer doesn't know they need to go and reinit it after the FLR. This might also be difficult to catch in testing, unless we go and re-run the full CI after an FLR to make sure everything still works (which is straight up not possible with tests that re-load the driver).
Maintaining a list of kernel queues shouldn't be too bad (there are very few of them), but I understand it increases the scope of this series.
We have a list of queues that have an assigned
guc_idinguc->submission_state.exec_queue_lookup, which you can navigate withxa_for_each(), so a potential solution here could be to have a "guc_submit_reinit" function to go and re-init all kernel queues in that list. I don't really like this option because it moves the logic from the genericexec_queuelayer down into the guc submission back-end, but it could be a stop-gap to get something working and we could then go and move the loop to the generic layer as a follow-up.
Quoted 7 lines
To summarize, without creating a new list, I think we have 2 non-optimal options
1 - have each component handle their re-init (not future-proof) 2 - handle this in a guc-specific function (layering violation)I honestly can't decide which option I (dis)like more, so I'm not going to block this one way or the other and leave the call to the scheduler experts.
Or we can move forward with option 1 for now since we only have migrate queue to work with? We can refactor this as a follow up when we come up with an optimal solution with more components to reinit.
Raag
Quoted 16 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
drivers/gpu/drm/xe/xe_migrate.c +2
-0+} +/** * 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,
Re: [PATCH v7 6/8] drm/xe/migrate: Introduce xe_migrate_reinit()
Quoted 108 lines · Raag Jadav
Quoted 107 lines · Daniele Ceraolo Spurio
Quoted 61 lines · Raag Jadav
Quoted 49 lines · Daniele Ceraolo Spurio
Quoted 48 lines · Raag Jadav
In preparation of usecases which require re-initializing migrate context after PCIe FLR, introduce
xe_migrate_reinit()helper. Migrate exec queue andpt_boalready exist in migrate structure but since their contents live on VRAM, they are lost on PCIe FLR and need re-initialization.Signed-off-by Raag Jadav <[email protected]>Reviewed-by Matthew Brost <[email protected]>Tested-by Lukasz Laguna <[email protected]>---
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 +5
-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. Quoted 8 lines
drivers/gpu/drm/xe/xe_migrate.c static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m · line 466
Quoted 5 lines
drivers/gpu/drm/xe/xe_migrate.c +5
-0+*/ +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);I'm not sold on calling
xe_exec_queue_reinitfrom here. Wouldn't it be easier to just destroy and re-create the migration queue, instead of adding support for a new re-init flow that's only used during FLR?This flow is to be reused for multiple usecases where we need device level reinit.
Quoted 7 lines
I remember trying destroy/re-create at some point but I saw TLB invalidation errors. I didn't know how to investigate those and gave up on that direction.
IMO it's more performative to just restore existing stuff without dealing with memory (which'd also make it a bit prone to failures) in this path.
Makes sense.
Quoted 5 lines
Quoted 5 lines
IMO the re-init would be more valuable if we went with a gt-level function where we loop through all queues and re-init all the kernel-owned ones. That way if we add another queue that needs to be re-initialized it will automatically be picked up by the loop, instead of having to hook up a new callback in the FLR flow.
Quoted 8 lines
I went through some of the data structures and found that the queues are maintained by individual components that use them. One way I could think of would be to have a centralized list of queues (like we have for kernel bos) that we can restore without worrying about which component owns it, but it looks like something that needs to be done as a prerequisite and perhaps requires significant refactoring.
Thoughts?
The risk here is that a new queue is added for a new component and the developer doesn't know they need to go and reinit it after the FLR. This might also be difficult to catch in testing, unless we go and re-run the full CI after an FLR to make sure everything still works (which is straight up not possible with tests that re-load the driver).
Maintaining a list of kernel queues shouldn't be too bad (there are very few of them), but I understand it increases the scope of this series.
We have a list of queues that have an assigned
guc_idinguc->submission_state.exec_queue_lookup, which you can navigate withxa_for_each(), so a potential solution here could be to have a "guc_submit_reinit" function to go and re-init all kernel queues in that list. I don't really like this option because it moves the logic from the genericexec_queuelayer down into the guc submission back-end, but it could be a stop-gap to get something working and we could then go and move the loop to the generic layer as a follow-up.To summarize, without creating a new list, I think we have 2 non-optimal options
1 - have each component handle their re-init (not future-proof) 2 - handle this in a guc-specific function (layering violation)
Quoted 5 lines
Quoted 2 lines
I honestly can't decide which option I (dis)like more, so I'm not going to block this one way or the other and leave the call to the scheduler experts.
Or we can move forward with option 1 for now since we only have migrate queue to work with? We can refactor this as a follow up when we come up with an optimal solution with more components to reinit.
As I mentioned, I'm not going to block if there is agreement on option 1, but I'm also not going to give my r-b because I don't like it.
Daniele
Quoted 18 lines
Raag
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
drivers/gpu/drm/xe/xe_migrate.c +2
-0+} +/** * 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,
PATCH v7 7/8 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"
@@ -1487,3 +1489,151 @@ struct xe_vm *xe_device_asid_to_vm(struct xe_device *xe, u32 asid)return vm; } + +/** +* xe_device_suspend() - Common helper for system suspend and FLR prepare +* @xe: xe device instance +* @flr: indicate FLR prepare +* +* Return: 0 on success, negative error code otherwise. +*/ +int xe_device_suspend (struct xe_device *xe,bool flr) +{ +struct xe_gt *gt; +u8 id; +int err; + + err =xe_pxp_pm_suspend (xe->pxp); +if (err) +return err; + +xe_late_bind_wait_for_worker_completion (&xe->late_bind); + +for_each_gt (gt, xe, id) +xe_gt_suspend_prepare (gt); + +if (flr) { +for_each_gt (gt, xe, id) +xe_gt_flr_prepare (gt); + }else { +xe_display_pm_suspend (xe); + +/* FIXME: Super racey... */ + err =xe_bo_evict_all (xe); +if (err) + goto err_display; + +for_each_gt (gt, xe, id) { + err =xe_gt_suspend (gt); +if (err) + goto err_display; + } + } + +xe_irq_suspend (xe); + +if (flr) { +/* TODO: Drop all user bos */ +xe_bo_pci_dev_remove_pinned (xe); + +unmap_mapping_range (xe->drm.anon_inode->i_mapping,0 ,0 ,1 ); + }else { +xe_display_pm_suspend_late (xe); + +xe_i2c_pm_suspend (xe); + } + +return 0 ; + +err_display: +xe_display_pm_resume (xe); +xe_pxp_pm_resume (xe->pxp); +return err; +} + +/** +* xe_device_resume() - Common helper for System resume and re-initialization post FLR +* @xe: xe device instance +* @flr: indicate re-initialization post FLR +* +* Return: 0 on success +*/ +int xe_device_resume (struct xe_device *xe,bool flr) +{ +struct xe_tile *tile; +struct xe_gt *gt; +u8 id; +int err; + +for_each_gt (gt, xe, id) +xe_gt_idle_disable_c6 (gt); + +for_each_tile (tile, xe, id) +xe_wa_apply_tile_workarounds (tile); + + err =xe_pcode_ready (xe, true); +if (err) +return err; + +assert_lmem_ready (xe); + +if (flr) { + err =xe_bo_restore_map (xe); +if (err) +return err; + +for_each_gt (gt, xe, id) { + err =xe_gt_reinit (gt); +if (err) +return err; + } + }else { +xe_display_pm_resume_early (xe); + +/* +* This only restores pinned memory which is the memory required for the +* GT(s) to resume. +*/ + err =xe_bo_restore_early (xe); +if (err) +return err; + } + +xe_i2c_pm_resume (xe, true); + +xe_sysctrl_pm_resume (xe); + +xe_irq_resume (xe); + +for_each_gt (gt, xe, id) { + err =xe_gt_resume (gt); +if (err) +break ; + } + +if (flr) { +if (err) +return err; + }else { +/* +* Try to bring up display before bailing from GT resume failure, +* so we don't leave the user clueless with a blank screen. +*/ +xe_display_pm_resume (xe); +if (err) +return err; + + err =xe_bo_restore_late (xe); +if (err) +return err; + +if (IS_VF_CCS_READY (xe)) +xe_sriov_vf_ccs_register_context (xe); + } + +xe_pxp_pm_resume (xe->pxp); + +xe_late_bind_fw_load (&xe->late_bind); + +return 0 ; +}
drivers/gpu/drm/xe/xe_device.h +2 -0
@@ -48,7 +48,9 @@ struct xe_device *xe_device_create(struct pci_dev *pdev,int xe_device_probe_early (struct xe_device *xe);int xe_device_probe (struct xe_device *xe);void xe_device_remove (struct xe_device *xe); +int xe_device_resume (struct xe_device *xe,bool flr);void xe_device_shutdown (struct xe_device *xe); +int xe_device_suspend (struct xe_device *xe,bool flr);void xe_device_wmb (struct xe_device *xe);
drivers/gpu/drm/xe/xe_pm.c +8 -95
131 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH v7 8/8 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 | 121 +++++++++++++++++++++++++++ 5 files changed, 128 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
@@ -1340,6 +1340,7 @@ static struct pci_driver xe_pci_driver = {#ifdef CONFIG_PM_SLEEP .driver.pm = &xe_pm_ops, #endif + .err_handler = &xe_pci_error_handlers, };/**
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 +121 -0
121 lines not on this page · raw message
Signature · 1 line
2.43.0
✗ CI.checkpatch: warning for Introduce Xe PCIe FLR (rev7)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 32abf9cdba5b75fd5868066214e8dc29b445fdc4
Author: Raag Jadav <[email protected]> Date: Sat May 16 15:01:31 2026 +0530
drm/xe/pci: Introduce PCIe FLR
With bare minimum pieces in place, we can finally introduce PCIe Function Level Reset (FLR) support which re-initializes hardware state without the need for reloading the driver from userspace. All VRAM contents are lost along with hardware state and driver takes care of recreating the required kernel bos as part of re-initialization, but user still needs to recreate user bos and reload context after PCIe FLR.
+ /mt/dim checkpatch d47455904378e2bd24294dae67bfc7e442f58c40 drm-intel f0afc703fd60 drm/xe/uc_fw: Allow re-initializing firmware7e83a1f76904 drm/xe/guc_submit: Introduce guc_exec_queue_reinit()54fb327aa03e drm/xe/gt: Introduce FLR helpersae80d7d05c3c drm/xe/bo_evict: Introduce xe_bo_restore_map()75beccdb9e28 drm/xe/exec_queue: Introduce xe_exec_queue_reinit()b14b58bc33d8 drm/xe/migrate: Introduce xe_migrate_reinit()b5904dd1b3d3 drm/xe/pm: Introduce xe_device_suspend/resume()32abf9cdba5b drm/xe/pci: Introduce PCIe FLR
-:68: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #68:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 152 lines checked
Patchwork
CI✓ CI.KUnit: success for Introduce Xe PCIe FLR (rev7)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [09:41:09] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [09:41:13] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [09:41:44] Starting KUnit Kernel (1/1)... [09:41:44] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [09:41:45] ================== guc_buf (11 subtests) =================== [09:41:45] [PASSED] test_smallest [09:41:45] [PASSED] test_largest [09:41:45] [PASSED] test_granular [09:41:45] [PASSED] test_unique [09:41:45] [PASSED] test_overlap [09:41:45] [PASSED] test_reusable [09:41:45] [PASSED] test_too_big [09:41:45] [PASSED] test_flush [09:41:45] [PASSED] test_lookup [09:41:45] [PASSED] test_data [09:41:45] [PASSED] test_class [09:41:45] ===================== [PASSED] guc_buf ===================== [09:41:45] =================== guc_dbm (7 subtests) =================== [09:41:45] [PASSED] test_empty [09:41:45] [PASSED] test_default [09:41:45] ======================== test_size ======================== [09:41:45] [PASSED] 4 [09:41:45] [PASSED] 8 [09:41:45] [PASSED] 32 [09:41:45] [PASSED] 256 [09:41:45] ==================== [PASSED] test_size ==================== [09:41:45] ======================= test_reuse ======================== [09:41:45] [PASSED] 4 [09:41:45] [PASSED] 8 [09:41:45] [PASSED] 32 [09:41:45] [PASSED] 256 [09:41:45] =================== [PASSED] test_reuse ==================== [09:41:45] =================== test_range_overlap ==================== [09:41:45] [PASSED] 4 [09:41:45] [PASSED] 8 [09:41:45] [PASSED] 32 [09:41:45] [PASSED] 256 [09:41:45] =============== [PASSED] test_range_overlap ================ [09:41:45] =================== test_range_compact ==================== [09:41:45] [PASSED] 4 [09:41:45] [PASSED] 8 [09:41:45] [PASSED] 32 [09:41:45] [PASSED] 256 [09:41:45] =============== [PASSED] test_range_compact ================ [09:41:45] ==================== test_range_spare ===================== [09:41:45] [PASSED] 4 [09:41:45] [PASSED] 8 [09:41:45] [PASSED] 32 [09:41:45] [PASSED] 256 [09:41:45] ================ [PASSED] test_range_spare ================= [09:41:45] ===================== [PASSED] guc_dbm ===================== [09:41:45] =================== guc_idm (6 subtests) =================== [09:41:45] [PASSED] bad_init [09:41:45] [PASSED] no_init [09:41:45] [PASSED] init_fini [09:41:45] [PASSED] check_used [09:41:45] [PASSED] check_quota [09:41:45] [PASSED] check_all [09:41:45] ===================== [PASSED] guc_idm ===================== [09:41:45] ================== no_relay (3 subtests) =================== [09:41:45] [PASSED] xe_drops_guc2pf_if_not_ready [09:41:45] [PASSED] xe_drops_guc2vf_if_not_ready [09:41:45] [PASSED] xe_rejects_send_if_not_ready [09:41:45] ==================== [PASSED] no_relay ===================== [09:41:45] ================== pf_relay (14 subtests) ================== [09:41:45] [PASSED] pf_rejects_guc2pf_too_short [09:41:45] [PASSED] pf_rejects_guc2pf_too_long [09:41:45] [PASSED] pf_rejects_guc2pf_no_payload [09:41:45] [PASSED] pf_fails_no_payload [09:41:45] [PASSED] pf_fails_bad_origin [09:41:45] [PASSED] pf_fails_bad_type [09:41:45] [PASSED] pf_txn_reports_error [09:41:45] [PASSED] pf_txn_sends_pf2guc [09:41:45] [PASSED] pf_sends_pf2guc [09:41:45] [SKIPPED] pf_loopback_nop [09:41:45] [SKIPPED] pf_loopback_echo [09:41:45] [SKIPPED] pf_loopback_fail [09:41:45] [SKIPPED] pf_loopback_busy [09:41:45] [SKIPPED] pf_loopback_retry [09:41:45] ==================== [PASSED] pf_relay ===================== [09:41:45] ================== vf_relay (3 subtests) =================== [09:41:45] [PASSED] vf_rejects_guc2vf_too_short [09:41:45] [PASSED] vf_rejects_guc2vf_too_long [09:41:45] [PASSED] vf_rejects_guc2vf_no_payload [09:41:45] ==================== [PASSED] vf_relay ===================== [09:41:45] ================ pf_gt_config (9 subtests) ================= [09:41:45] [PASSED] fair_contexts_1vf [09:41:45] [PASSED] fair_doorbells_1vf [09:41:45] [PASSED] fair_ggtt_1vf [09:41:45] ====================== fair_vram_1vf ====================== [09:41:45] [PASSED] 3.50 GiB [09:41:45] [PASSED] 11.5 GiB [09:41:45] [PASSED] 15.5 GiB [09:41:45] [PASSED] 31.5 GiB [09:41:45] [PASSED] 63.5 GiB [09:41:45] [PASSED] 1.91 GiB [09:41:45] ================== [PASSED] fair_vram_1vf ================== [09:41:45] ================ fair_vram_1vf_admin_only ================= [09:41:45] [PASSED] 3.50 GiB [09:41:45] [PASSED] 11.5 GiB [09:41:45] [PASSED] 15.5 GiB [09:41:45] [PASSED] 31.5 GiB [09:41:45] [PASSED] 63.5 GiB [09:41:45] [PASSED] 1.91 GiB [09:41:45] ============ [PASSED] fair_vram_1vf_admin_only ============= [09:41:45] ====================== fair_contexts ====================== [09:41:45] [PASSED] 1 VF [09:41:45] [PASSED] 2 VFs [09:41:45] [PASSED] 3 VFs [09:41:45] [PASSED] 4 VFs [09:41:45] [PASSED] 5 VFs [09:41:45] [PASSED] 6 VFs [09:41:45] [PASSED] 7 VFs [09:41:45] [PASSED] 8 VFs [09:41:45] [PASSED] 9 VFs [09:41:45] [PASSED] 10 VFs [09:41:45] [PASSED] 11 VFs [09:41:45] [PASSED] 12 VFs [09:41:45] [PASSED] 13 VFs [09:41:45] [PASSED] 14 VFs [09:41:45] [PASSED] 15 VFs [09:41:45] [PASSED] 16 VFs [09:41:45] [PASSED] 17 VFs [09:41:45] [PASSED] 18 VFs [09:41:45] [PASSED] 19 VFs [09:41:45] [PASSED] 20 VFs [09:41:45] [PASSED] 21 VFs [09:41:45] [PASSED] 22 VFs [09:41:45] [PASSED] 23 VFs [09:41:45] [PASSED] 24 VFs [09:41:45] [PASSED] 25 VFs [09:41:45] [PASSED] 26 VFs [09:41:45] [PASSED] 27 VFs [09:41:45] [PASSED] 28 VFs [09:41:45] [PASSED] 29 VFs [09:41:45] [PASSED] 30 VFs [09:41:45] [PASSED] 31 VFs [09:41:45] [PASSED] 32 VFs [09:41:45] [PASSED] 33 VFs [09:41:45] [PASSED] 34 VFs [09:41:45] [PASSED] 35 VFs [09:41:45] [PASSED] 36 VFs [09:41:45] [PASSED] 37 VFs [09:41:45] [PASSED] 38 VFs [09:41:45] [PASSED] 39 VFs [09:41:45] [PASSED] 40 VFs [09:41:45] [PASSED] 41 VFs [09:41:45] [PASSED] 42 VFs [09:41:45] [PASSED] 43 VFs [09:41:45] [PASSED] 44 VFs [09:41:45] [PASSED] 45 VFs [09:41:45] [PASSED] 46 VFs [09:41:45] [PASSED] 47 VFs [09:41:45] [PASSED] 48 VFs [09:41:45] [PASSED] 49 VFs [09:41:45] [PASSED] 50 VFs [09:41:45] [PASSED] 51 VFs [09:41:45] [PASSED] 52 VFs [09:41:45] [PASSED] 53 VFs [09:41:45] [PASSED] 54 VFs [09:41:45] [PASSED] 55 VFs [09:41:45] [PASSED] 56 VFs [09:41:45] [PASSED] 57 VFs [09:41:45] [PASSED] 58 VFs [09:41:45] [PASSED] 59 VFs [09:41:45] [PASSED] 60 VFs [09:41:45] [PASSED] 61 VFs [09:41:45] [PASSED] 62 VFs [09:41:45] [PASSED] 63 VFs [09:41:45] ================== [PASSED] fair_contexts ================== [09:41:45] ===================== fair_doorbells ====================== [09:41:45] [PASSED] 1 VF [09:41:45] [PASSED] 2 VFs [09:41:45] [PASSED] 3 VFs [09:41:45] [PASSED] 4 VFs [09:41:45] [PASSED] 5 VFs [09:41:45] [PASSED] 6 VFs [09:41:45] [PASSED] 7 VFs [09:41:45] [PASSED] 8 VFs [09:41:45] [PASSED] 9 VFs [09:41:45] [PASSED] 10 VFs [09:41:45] [PASSED] 11 VFs [09:41:45] [PASSED] 12 VFs [09:41:45] [PASSED] 13 VFs [09:41:45] [PASSED] 14 VFs [09:41:45] [PASSED] 15 VFs [09:41:45] [PASSED] 16 VFs [09:41:45] [PASSED] 17 VFs [09:41:45] [PASSED] 18 VFs [09:41:45] [PASSED] 19 VFs [09:41:45] [PASSED] 20 VFs [09:41:45] [PASSED] 21 VFs [09:41:45] [PASSED] 22 VFs [09:41:45] [PASSED] 23 VFs [09:41:45] [PASSED] 24 VFs [09:41:45] [PASSED] 25 VFs [09:41:45] [PASSED] 26 VFs [09:41:45] [PASSED] 27 VFs [09:41:45] [PASSED] 28 VFs [09:41:45] [PASSED] 29 VFs [09:41:45] [PASSED] 30 VFs [09:41:45] [PASSED] 31 VFs [09:41:45] [PASSED] 32 VFs [09:41:45] [PASSED] 33 VFs [09:41:45] [PASSED] 34 VFs [09:41:45] [PASSED] 35 VFs [09:41:45] [PASSED] 36 VFs [09:41:45] [PASSED] 37 VFs [09:41:45] [PASSED] 38 VFs [09:41:45] [PASSED] 39 VFs [09:41:45] [PASSED] 40 VFs [09:41:45] [PASSED] 41 VFs [09:41:45] [PASSED] 42 VFs [09:41:45] [PASSED] 43 VFs [09:41:45] [PASSED] 44 VFs [09:41:45] [PASSED] 45 VFs [09:41:45] [PASSED] 46 VFs [09:41:45] [PASSED] 47 VFs [09:41:45] [PASSED] 48 VFs [09:41:45] [PASSED] 49 VFs [09:41:45] [PASSED] 50 VFs [09:41:45] [PASSED] 51 VFs [09:41:45] [PASSED] 52 VFs [09:41:45] [PASSED] 53 VFs [09:41:45] [PASSED] 54 VFs [09:41:45] [PASSED] 55 VFs [09:41:45] [PASSED] 56 VFs [09:41:45] [PASSED] 57 VFs [09:41:45] [PASSED] 58 VFs [09:41:45] [PASSED] 59 VFs [09:41:45] [PASSED] 60 VFs [09:41:45] [PASSED] 61 VFs [09:41:45] [PASSED] 62 VFs [09:41:45] [PASSED] 63 VFs [09:41:45] ================= [PASSED] fair_doorbells ================== [09:41:45] ======================== fair_ggtt ======================== [09:41:45] [PASSED] 1 VF [09:41:45] [PASSED] 2 VFs [09:41:45] [PASSED] 3 VFs [09:41:45] [PASSED] 4 VFs [09:41:45] [PASSED] 5 VFs [09:41:45] [PASSED] 6 VFs [09:41:45] [PASSED] 7 VFs [09:41:45] [PASSED] 8 VFs [09:41:45] [PASSED] 9 VFs [09:41:45] [PASSED] 10 VFs [09:41:45] [PASSED] 11 VFs [09:41:45] [PASSED] 12 VFs [09:41:45] [PASSED] 13 VFs [09:41:45] [PASSED] 14 VFs [09:41:45] [PASSED] 15 VFs [09:41:45] [PASSED] 16 VFs [09:41:45] [PASSED] 17 VFs [09:41:45] [PASSED] 18 VFs [09:41:45] [PASSED] 19 VFs [09:41:45] [PASSED] 20 VFs [09:41:45] [PASSED] 21 VFs [09:41:45] [PASSED] 22 VFs [09:41:45] [PASSED] 23 VFs [09:41:45] [PASSED] 24 VFs [09:41:45] [PASSED] 25 VFs [09:41:45] [PASSED] 26 VFs [09:41:45] [PASSED] 27 VFs [09:41:45] [PASSED] 28 VFs [09:41:45] [PASSED] 29 VFs [09:41:45] [PASSED] 30 VFs [09:41:45] [PASSED] 31 VFs [09:41:45] [PASSED] 32 VFs [09:41:45] [PASSED] 33 VFs [09:41:45] [PASSED] 34 VFs [09:41:45] [PASSED] 35 VFs [09:41:45] [PASSED] 36 VFs [09:41:45] [PASSED] 37 VFs [09:41:45] [PASSED] 38 VFs [09:41:45] [PASSED] 39 VFs [09:41:45] [PASSED] 40 VFs [09:41:45] [PASSED] 41 VFs [09:41:45] [PASSED] 42 VFs [09:41:45] [PASSED] 43 VFs [09:41:45] [PASSED] 44 VFs [09:41:45] [PASSED] 45 VFs [09:41:45] [PASSED] 46 VFs [09:41:45] [PASSED] 47 VFs [09:41:45] [PASSED] 48 VFs [09:41:45] [PASSED] 49 VFs [09:41:45] [PASSED] 50 VFs [09:41:45] [PASSED] 51 VFs [09:41:45] [PASSED] 52 VFs [09:41:45] [PASSED] 53 VFs [09:41:45] [PASSED] 54 VFs [09:41:45] [PASSED] 55 VFs [09:41:45] [PASSED] 56 VFs [09:41:45] [PASSED] 57 VFs [09:41:45] [PASSED] 58 VFs [09:41:45] [PASSED] 59 VFs [09:41:45] [PASSED] 60 VFs [09:41:45] [PASSED] 61 VFs [09:41:45] [PASSED] 62 VFs [09:41:45] [PASSED] 63 VFs [09:41:45] ==================== [PASSED] fair_ggtt ==================== [09:41:45] ======================== fair_vram ======================== [09:41:45] [PASSED] 1 VF [09:41:45] [PASSED] 2 VFs [09:41:45] [PASSED] 3 VFs [09:41:45] [PASSED] 4 VFs [09:41:45] [PASSED] 5 VFs [09:41:45] [PASSED] 6 VFs [09:41:45] [PASSED] 7 VFs [09:41:45] [PASSED] 8 VFs [09:41:45] [PASSED] 9 VFs [09:41:45] [PASSED] 10 VFs [09:41:45] [PASSED] 11 VFs [09:41:45] [PASSED] 12 VFs [09:41:45] [PASSED] 13 VFs [09:41:45] [PASSED] 14 VFs [09:41:45] [PASSED] 15 VFs [09:41:45] [PASSED] 16 VFs [09:41:45] [PASSED] 17 VFs [09:41:45] [PASSED] 18 VFs [09:41:45] [PASSED] 19 VFs [09:41:45] [PASSED] 20 VFs [09:41:45] [PASSED] 21 VFs [09:41:45] [PASSED] 22 VFs [09:41:45] [PASSED] 23 VFs [09:41:45] [PASSED] 24 VFs [09:41:45] [PASSED] 25 VFs [09:41:45] [PASSED] 26 VFs [09:41:45] [PASSED] 27 VFs [09:41:45] [PASSED] 28 VFs [09:41:45] [PASSED] 29 VFs [09:41:45] [PASSED] 30 VFs [09:41:45] [PASSED] 31 VFs [09:41:45] [PASSED] 32 VFs [09:41:45] [PASSED] 33 VFs [09:41:45] [PASSED] 34 VFs [09:41:45] [PASSED] 35 VFs [09:41:45] [PASSED] 36 VFs [09:41:45] [PASSED] 37 VFs [09:41:45] [PASSED] 38 VFs [09:41:45] [PASSED] 39 VFs [09:41:45] [PASSED] 40 VFs [09:41:45] [PASSED] 41 VFs [09:41:45] [PASSED] 42 VFs [09:41:45] [PASSED] 43 VFs [09:41:45] [PASSED] 44 VFs [09:41:45] [PASSED] 45 VFs [09:41:45] [PASSED] 46 VFs [09:41:45] [PASSED] 47 VFs [09:41:45] [PASSED] 48 VFs [09:41:45] [PASSED] 49 VFs [09:41:45] [PASSED] 50 VFs [09:41:45] [PASSED] 51 VFs [09:41:45] [PASSED] 52 VFs [09:41:45] [PASSED] 53 VFs [09:41:45] [PASSED] 54 VFs [09:41:45] [PASSED] 55 VFs [09:41:45] [PASSED] 56 VFs [09:41:45] [PASSED] 57 VFs [09:41:45] [PASSED] 58 VFs [09:41:45] [PASSED] 59 VFs [09:41:45] [PASSED] 60 VFs [09:41:45] [PASSED] 61 VFs [09:41:45] [PASSED] 62 VFs [09:41:45] [PASSED] 63 VFs [09:41:45] ==================== [PASSED] fair_vram ==================== [09:41:45] ================== [PASSED] pf_gt_config =================== [09:41:45] ===================== lmtt (1 subtest) ===================== [09:41:45] ======================== test_ops ========================= [09:41:45] [PASSED] 2-level [09:41:45] [PASSED] multi-level [09:41:45] ==================== [PASSED] test_ops ===================== [09:41:45] ====================== [PASSED] lmtt ======================= [09:41:45] ================= pf_service (11 subtests) ================= [09:41:45] [PASSED] pf_negotiate_any [09:41:45] [PASSED] pf_negotiate_base_match [09:41:45] [PASSED] pf_negotiate_base_newer [09:41:45] [PASSED] pf_negotiate_base_next [09:41:45] [SKIPPED] pf_negotiate_base_older [09:41:45] [PASSED] pf_negotiate_base_prev [09:41:45] [PASSED] pf_negotiate_latest_match [09:41:45] [PASSED] pf_negotiate_latest_newer [09:41:45] [PASSED] pf_negotiate_latest_next [09:41:45] [SKIPPED] pf_negotiate_latest_older [09:41:45] [SKIPPED] pf_negotiate_latest_prev [09:41:45] =================== [PASSED] pf_service ==================== [09:41:45] ================= xe_guc_g2g (2 subtests) ================== [09:41:45] ============== xe_live_guc_g2g_kunit_default ============== [09:41:45] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [09:41:45] ============== xe_live_guc_g2g_kunit_allmem =============== [09:41:45] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [09:41:45] =================== [SKIPPED] xe_guc_g2g =================== [09:41:45] =================== xe_mocs (2 subtests) =================== [09:41:45] ================ xe_live_mocs_kernel_kunit ================ [09:41:45] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [09:41:45] ================ xe_live_mocs_reset_kunit ================= [09:41:45] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [09:41:45] ==================== [SKIPPED] xe_mocs ===================== [09:41:45] ================= xe_migrate (2 subtests) ================== [09:41:45] ================= xe_migrate_sanity_kunit ================= [09:41:45] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [09:41:45] ================== xe_validate_ccs_kunit ================== [09:41:45] ============= [SKIPPED] xe_validate_ccs_kunit ============== [09:41:45] =================== [SKIPPED] xe_migrate =================== [09:41:45] ================== xe_dma_buf (1 subtest) ================== [09:41:45] ==================== xe_dma_buf_kunit ===================== [09:41:45] ================ [SKIPPED] xe_dma_buf_kunit ================ [09:41:45] =================== [SKIPPED] xe_dma_buf =================== [09:41:45] ================= xe_bo_shrink (1 subtest) ================= [09:41:45] =================== xe_bo_shrink_kunit ==================== [09:41:45] =============== [SKIPPED] xe_bo_shrink_kunit =============== [09:41:45] ================== [SKIPPED] xe_bo_shrink ================== [09:41:45] ==================== xe_bo (2 subtests) ==================== [09:41:45] ================== xe_ccs_migrate_kunit =================== [09:41:45] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [09:41:45] ==================== xe_bo_evict_kunit ==================== [09:41:45] =============== [SKIPPED] xe_bo_evict_kunit ================ [09:41:45] ===================== [SKIPPED] xe_bo ====================== [09:41:45] ==================== args (13 subtests) ==================== [09:41:45] [PASSED] count_args_test [09:41:45] [PASSED] call_args_example [09:41:45] [PASSED] call_args_test [09:41:45] [PASSED] drop_first_arg_example [09:41:45] [PASSED] drop_first_arg_test [09:41:45] [PASSED] first_arg_example [09:41:45] [PASSED] first_arg_test [09:41:45] [PASSED] last_arg_example [09:41:45] [PASSED] last_arg_test [09:41:45] [PASSED] pick_arg_example [09:41:45] [PASSED] if_args_example [09:41:45] [PASSED] if_args_test [09:41:45] [PASSED] sep_comma_example [09:41:45] ====================== [PASSED] args ======================= [09:41:45] =================== xe_pci (3 subtests) ==================== [09:41:45] ==================== check_graphics_ip ==================== [09:41:45] [PASSED] 12.00 Xe_LP [09:41:45] [PASSED] 12.10 Xe_LP+ [09:41:45] [PASSED] 12.55 Xe_HPG [09:41:45] [PASSED] 12.60 Xe_HPC [09:41:45] [PASSED] 12.70 Xe_LPG [09:41:45] [PASSED] 12.71 Xe_LPG [09:41:45] [PASSED] 12.74 Xe_LPG+ [09:41:45] [PASSED] 20.01 Xe2_HPG [09:41:45] [PASSED] 20.02 Xe2_HPG [09:41:45] [PASSED] 20.04 Xe2_LPG [09:41:45] [PASSED] 30.00 Xe3_LPG [09:41:45] [PASSED] 30.01 Xe3_LPG [09:41:45] [PASSED] 30.03 Xe3_LPG [09:41:45] [PASSED] 30.04 Xe3_LPG [09:41:45] [PASSED] 30.05 Xe3_LPG [09:41:45] [PASSED] 35.10 Xe3p_LPG [09:41:45] [PASSED] 35.11 Xe3p_XPC [09:41:45] ================ [PASSED] check_graphics_ip ================ [09:41:45] ===================== check_media_ip ====================== [09:41:45] [PASSED] 12.00 Xe_M [09:41:45] [PASSED] 12.55 Xe_HPM [09:41:45] [PASSED] 13.00 Xe_LPM+ [09:41:45] [PASSED] 13.01 Xe2_HPM [09:41:45] [PASSED] 20.00 Xe2_LPM [09:41:45] [PASSED] 30.00 Xe3_LPM [09:41:45] [PASSED] 30.02 Xe3_LPM [09:41:45] [PASSED] 35.00 Xe3p_LPM [09:41:45] [PASSED] 35.03 Xe3p_HPM [09:41:45] ================= [PASSED] check_media_ip ================== [09:41:45] =================== check_platform_desc =================== [09:41:45] [PASSED] 0x9A60 (TIGERLAKE) [09:41:45] [PASSED] 0x9A68 (TIGERLAKE) [09:41:45] [PASSED] 0x9A70 (TIGERLAKE) [09:41:45] [PASSED] 0x9A40 (TIGERLAKE) [09:41:45] [PASSED] 0x9A49 (TIGERLAKE) [09:41:45] [PASSED] 0x9A59 (TIGERLAKE) [09:41:45] [PASSED] 0x9A78 (TIGERLAKE) [09:41:45] [PASSED] 0x9AC0 (TIGERLAKE) [09:41:45] [PASSED] 0x9AC9 (TIGERLAKE) [09:41:45] [PASSED] 0x9AD9 (TIGERLAKE) [09:41:45] [PASSED] 0x9AF8 (TIGERLAKE) [09:41:45] [PASSED] 0x4C80 (ROCKETLAKE) [09:41:45] [PASSED] 0x4C8A (ROCKETLAKE) [09:41:45] [PASSED] 0x4C8B (ROCKETLAKE) [09:41:45] [PASSED] 0x4C8C (ROCKETLAKE) [09:41:45] [PASSED] 0x4C90 (ROCKETLAKE) [09:41:45] [PASSED] 0x4C9A (ROCKETLAKE) [09:41:45] [PASSED] 0x4680 (ALDERLAKE_S) [09:41:45] [PASSED] 0x4682 (ALDERLAKE_S) [09:41:45] [PASSED] 0x4688 (ALDERLAKE_S) [09:41:45] [PASSED] 0x468A (ALDERLAKE_S) [09:41:45] [PASSED] 0x468B (ALDERLAKE_S) [09:41:45] [PASSED] 0x4690 (ALDERLAKE_S) [09:41:45] [PASSED] 0x4692 (ALDERLAKE_S) [09:41:45] [PASSED] 0x4693 (ALDERLAKE_S) [09:41:45] [PASSED] 0x46A0 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46A1 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46A2 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46A3 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46A6 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46A8 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46AA (ALDERLAKE_P) [09:41:45] [PASSED] 0x462A (ALDERLAKE_P) [09:41:45] [PASSED] 0x4626 (ALDERLAKE_P) [09:41:45] [PASSED] 0x4628 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46B0 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46B1 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46B2 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46B3 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46C0 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46C1 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46C2 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46C3 (ALDERLAKE_P) [09:41:45] [PASSED] 0x46D0 (ALDERLAKE_N) [09:41:45] [PASSED] 0x46D1 (ALDERLAKE_N) [09:41:45] [PASSED] 0x46D2 (ALDERLAKE_N) [09:41:45] [PASSED] 0x46D3 (ALDERLAKE_N) [09:41:45] [PASSED] 0x46D4 (ALDERLAKE_N) [09:41:45] [PASSED] 0xA721 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7A1 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7A9 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7AC (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7AD (ALDERLAKE_P) [09:41:45] [PASSED] 0xA720 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7A0 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7A8 (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7AA (ALDERLAKE_P) [09:41:45] [PASSED] 0xA7AB (ALDERLAKE_P) [09:41:45] [PASSED] 0xA780 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA781 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA782 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA783 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA788 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA789 (ALDERLAKE_S) [09:41:45] [PASSED] 0xA78A (ALDERLAKE_S) [09:41:45] [PASSED] 0xA78B (ALDERLAKE_S) [09:41:45] [PASSED] 0x4905 (DG1) [09:41:45] [PASSED] 0x4906 (DG1) [09:41:45] [PASSED] 0x4907 (DG1) [09:41:45] [PASSED] 0x4908 (DG1) [09:41:45] [PASSED] 0x4909 (DG1) [09:41:45] [PASSED] 0x56C0 (DG2) [09:41:45] [PASSED] 0x56C2 (DG2) [09:41:45] [PASSED] 0x56C1 (DG2) [09:41:45] [PASSED] 0x7D51 (METEORLAKE) [09:41:45] [PASSED] 0x7DD1 (METEORLAKE) [09:41:45] [PASSED] 0x7D41 (METEORLAKE) [09:41:45] [PASSED] 0x7D67 (METEORLAKE) [09:41:45] [PASSED] 0xB640 (METEORLAKE) [09:41:45] [PASSED] 0x56A0 (DG2) [09:41:45] [PASSED] 0x56A1 (DG2) [09:41:45] [PASSED] 0x56A2 (DG2) [09:41:45] [PASSED] 0x56BE (DG2) [09:41:45] [PASSED] 0x56BF (DG2) [09:41:45] [PASSED] 0x5690 (DG2) [09:41:45] [PASSED] 0x5691 (DG2) [09:41:45] [PASSED] 0x5692 (DG2) [09:41:45] [PASSED] 0x56A5 (DG2) [09:41:45] [PASSED] 0x56A6 (DG2) [09:41:45] [PASSED] 0x56B0 (DG2) [09:41:45] [PASSED] 0x56B1 (DG2) [09:41:45] [PASSED] 0x56BA (DG2) [09:41:45] [PASSED] 0x56BB (DG2) [09:41:45] [PASSED] 0x56BC (DG2) [09:41:45] [PASSED] 0x56BD (DG2) [09:41:45] [PASSED] 0x5693 (DG2) [09:41:45] [PASSED] 0x5694 (DG2) [09:41:45] [PASSED] 0x5695 (DG2) [09:41:45] [PASSED] 0x56A3 (DG2) [09:41:45] [PASSED] 0x56A4 (DG2) [09:41:45] [PASSED] 0x56B2 (DG2) [09:41:45] [PASSED] 0x56B3 (DG2) [09:41:45] [PASSED] 0x5696 (DG2) [09:41:45] [PASSED] 0x5697 (DG2) [09:41:45] [PASSED] 0xB69 (PVC) [09:41:45] [PASSED] 0xB6E (PVC) [09:41:45] [PASSED] 0xBD4 (PVC) [09:41:45] [PASSED] 0xBD5 (PVC) [09:41:45] [PASSED] 0xBD6 (PVC) [09:41:45] [PASSED] 0xBD7 (PVC) [09:41:45] [PASSED] 0xBD8 (PVC) [09:41:45] [PASSED] 0xBD9 (PVC) [09:41:45] [PASSED] 0xBDA (PVC) [09:41:45] [PASSED] 0xBDB (PVC) [09:41:45] [PASSED] 0xBE0 (PVC) [09:41:45] [PASSED] 0xBE1 (PVC) [09:41:45] [PASSED] 0xBE5 (PVC) [09:41:45] [PASSED] 0x7D40 (METEORLAKE) [09:41:45] [PASSED] 0x7D45 (METEORLAKE) [09:41:45] [PASSED] 0x7D55 (METEORLAKE) [09:41:45] [PASSED] 0x7D60 (METEORLAKE) [09:41:45] [PASSED] 0x7DD5 (METEORLAKE) [09:41:45] [PASSED] 0x6420 (LUNARLAKE) [09:41:45] [PASSED] 0x64A0 (LUNARLAKE) [09:41:45] [PASSED] 0x64B0 (LUNARLAKE) [09:41:45] [PASSED] 0xE202 (BATTLEMAGE) [09:41:45] [PASSED] 0xE209 (BATTLEMAGE) [09:41:45] [PASSED] 0xE20B (BATTLEMAGE) [09:41:45] [PASSED] 0xE20C (BATTLEMAGE) [09:41:45] [PASSED] 0xE20D (BATTLEMAGE) [09:41:45] [PASSED] 0xE210 (BATTLEMAGE) [09:41:45] [PASSED] 0xE211 (BATTLEMAGE) [09:41:45] [PASSED] 0xE212 (BATTLEMAGE) [09:41:45] [PASSED] 0xE216 (BATTLEMAGE) [09:41:45] [PASSED] 0xE220 (BATTLEMAGE) [09:41:45] [PASSED] 0xE221 (BATTLEMAGE) [09:41:45] [PASSED] 0xE222 (BATTLEMAGE) [09:41:45] [PASSED] 0xE223 (BATTLEMAGE) [09:41:45] [PASSED] 0xB080 (PANTHERLAKE) [09:41:45] [PASSED] 0xB081 (PANTHERLAKE) [09:41:45] [PASSED] 0xB082 (PANTHERLAKE) [09:41:45] [PASSED] 0xB083 (PANTHERLAKE) [09:41:45] [PASSED] 0xB084 (PANTHERLAKE) [09:41:45] [PASSED] 0xB085 (PANTHERLAKE) [09:41:45] [PASSED] 0xB086 (PANTHERLAKE) [09:41:45] [PASSED] 0xB087 (PANTHERLAKE) [09:41:45] [PASSED] 0xB08F (PANTHERLAKE) [09:41:45] [PASSED] 0xB090 (PANTHERLAKE) [09:41:45] [PASSED] 0xB0A0 (PANTHERLAKE) [09:41:45] [PASSED] 0xB0B0 (PANTHERLAKE) [09:41:45] [PASSED] 0xFD80 (PANTHERLAKE) [09:41:45] [PASSED] 0xFD81 (PANTHERLAKE) [09:41:45] [PASSED] 0xD740 (NOVALAKE_S) [09:41:45] [PASSED] 0xD741 (NOVALAKE_S) [09:41:45] [PASSED] 0xD742 (NOVALAKE_S) [09:41:45] [PASSED] 0xD743 (NOVALAKE_S) [09:41:45] [PASSED] 0xD744 (NOVALAKE_S) [09:41:45] [PASSED] 0xD745 (NOVALAKE_S) [09:41:45] [PASSED] 0x674C (CRESCENTISLAND) [09:41:45] [PASSED] 0x674D (CRESCENTISLAND) [09:41:45] [PASSED] 0x674E (CRESCENTISLAND) [09:41:45] [PASSED] 0x674F (CRESCENTISLAND) [09:41:45] [PASSED] 0x6750 (CRESCENTISLAND) [09:41:45] [PASSED] 0xD750 (NOVALAKE_P) [09:41:45] [PASSED] 0xD751 (NOVALAKE_P) [09:41:45] [PASSED] 0xD752 (NOVALAKE_P) [09:41:45] [PASSED] 0xD753 (NOVALAKE_P) [09:41:45] [PASSED] 0xD754 (NOVALAKE_P) [09:41:45] [PASSED] 0xD755 (NOVALAKE_P) [09:41:45] [PASSED] 0xD756 (NOVALAKE_P) [09:41:45] [PASSED] 0xD757 (NOVALAKE_P) [09:41:45] [PASSED] 0xD75F (NOVALAKE_P) [09:41:45] =============== [PASSED] check_platform_desc =============== [09:41:45] ===================== [PASSED] xe_pci ====================== [09:41:45] =================== xe_rtp (2 subtests) ==================== [09:41:45] =============== xe_rtp_process_to_sr_tests ================ [09:41:45] [PASSED] coalesce-same-reg [09:41:45] [PASSED] no-match-no-add [09:41:45] [PASSED] match-or [09:41:45] [PASSED] match-or-xfail [09:41:45] [PASSED] no-match-no-add-multiple-rules [09:41:45] [PASSED] two-regs-two-entries [09:41:45] [PASSED] clr-one-set-other [09:41:45] [PASSED] set-field [09:41:45] [PASSED] conflict-duplicate [09:41:45] [PASSED] conflict-not-disjoint [09:41:45] [PASSED] conflict-reg-type [09:41:45] [PASSED] bad-mcr-reg-forced-to-regular [09:41:45] [PASSED] bad-regular-reg-forced-to-mcr [09:41:45] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [09:41:45] ================== xe_rtp_process_tests =================== [09:41:45] [PASSED] active1 [09:41:45] [PASSED] active2 [09:41:45] [PASSED] active-inactive [09:41:45] [PASSED] inactive-active [09:41:45] [PASSED] inactive-1st_or_active-inactive [09:41:45] [PASSED] inactive-2nd_or_active-inactive [09:41:45] [PASSED] inactive-last_or_active-inactive [09:41:45] [PASSED] inactive-no_or_active-inactive [09:41:45] ============== [PASSED] xe_rtp_process_tests =============== [09:41:45] ===================== [PASSED] xe_rtp ====================== [09:41:45] ==================== xe_wa (1 subtest) ===================== [09:41:45] ======================== xe_wa_gt ========================= [09:41:45] [PASSED] TIGERLAKE B0 [09:41:45] [PASSED] DG1 A0 [09:41:45] [PASSED] DG1 B0 [09:41:45] [PASSED] ALDERLAKE_S A0 [09:41:45] [PASSED] ALDERLAKE_S B0 [09:41:45] [PASSED] ALDERLAKE_S C0 [09:41:45] [PASSED] ALDERLAKE_S D0 [09:41:45] [PASSED] ALDERLAKE_P A0 [09:41:45] [PASSED] ALDERLAKE_P B0 [09:41:45] [PASSED] ALDERLAKE_P C0 [09:41:45] [PASSED] ALDERLAKE_S RPLS D0 [09:41:45] [PASSED] ALDERLAKE_P RPLU E0 [09:41:45] [PASSED] DG2 G10 C0 [09:41:45] [PASSED] DG2 G11 B1 [09:41:45] [PASSED] DG2 G12 A1 [09:41:45] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [09:41:45] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [09:41:45] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [09:41:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [09:41:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [09:41:45] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [09:41:45] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [09:41:45] ==================== [PASSED] xe_wa_gt ===================== [09:41:45] ====================== [PASSED] xe_wa ====================== [09:41:45] ============================================================ [09:41:45] Testing complete. Ran 603 tests: passed: 585, skipped: 18 [09:41:45] Elapsed time: 36.145s total, 4.236s configuring, 31.243s building, 0.609s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [09:41:45] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [09:41:47] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [09:42:11] Starting KUnit Kernel (1/1)... [09:42:11] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [09:42:11] ============ drm_test_pick_cmdline (2 subtests) ============ [09:42:11] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [09:42:11] =============== drm_test_pick_cmdline_named =============== [09:42:11] [PASSED] NTSC [09:42:11] [PASSED] NTSC-J [09:42:11] [PASSED] PAL [09:42:11] [PASSED] PAL-M [09:42:11] =========== [PASSED] drm_test_pick_cmdline_named =========== [09:42:11] ============== [PASSED] drm_test_pick_cmdline ============== [09:42:11] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [09:42:11] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [09:42:11] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [09:42:11] =========== drm_validate_clone_mode (2 subtests) =========== [09:42:11] ============== drm_test_check_in_clone_mode =============== [09:42:11] [PASSED] in_clone_mode [09:42:11] [PASSED] not_in_clone_mode [09:42:11] ========== [PASSED] drm_test_check_in_clone_mode =========== [09:42:11] =============== drm_test_check_valid_clones =============== [09:42:11] [PASSED] not_in_clone_mode [09:42:11] [PASSED] valid_clone [09:42:11] [PASSED] invalid_clone [09:42:11] =========== [PASSED] drm_test_check_valid_clones =========== [09:42:11] ============= [PASSED] drm_validate_clone_mode ============= [09:42:11] ============= drm_validate_modeset (1 subtest) ============= [09:42:11] [PASSED] drm_test_check_connector_changed_modeset [09:42:11] ============== [PASSED] drm_validate_modeset =============== [09:42:11] ====== drm_test_bridge_get_current_state (2 subtests) ====== [09:42:11] [PASSED] drm_test_drm_bridge_get_current_state_atomic [09:42:11] [PASSED] drm_test_drm_bridge_get_current_state_legacy [09:42:11] ======== [PASSED] drm_test_bridge_get_current_state ======== [09:42:11] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [09:42:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [09:42:11] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [09:42:11] ============== drm_bridge_alloc (2 subtests) =============== [09:42:11] [PASSED] drm_test_drm_bridge_alloc_basic [09:42:11] [PASSED] drm_test_drm_bridge_alloc_get_put [09:42:11] ================ [PASSED] drm_bridge_alloc ================= [09:42:11] ============= drm_cmdline_parser (40 subtests) ============= [09:42:11] [PASSED] drm_test_cmdline_force_d_only [09:42:11] [PASSED] drm_test_cmdline_force_D_only_dvi [09:42:11] [PASSED] drm_test_cmdline_force_D_only_hdmi [09:42:11] [PASSED] drm_test_cmdline_force_D_only_not_digital [09:42:11] [PASSED] drm_test_cmdline_force_e_only [09:42:11] [PASSED] drm_test_cmdline_res [09:42:11] [PASSED] drm_test_cmdline_res_vesa [09:42:11] [PASSED] drm_test_cmdline_res_vesa_rblank [09:42:11] [PASSED] drm_test_cmdline_res_rblank [09:42:11] [PASSED] drm_test_cmdline_res_bpp [09:42:11] [PASSED] drm_test_cmdline_res_refresh [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [09:42:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [09:42:11] [PASSED] drm_test_cmdline_res_margins_force_on [09:42:11] [PASSED] drm_test_cmdline_res_vesa_margins [09:42:11] [PASSED] drm_test_cmdline_name [09:42:11] [PASSED] drm_test_cmdline_name_bpp [09:42:11] [PASSED] drm_test_cmdline_name_option [09:42:11] [PASSED] drm_test_cmdline_name_bpp_option [09:42:11] [PASSED] drm_test_cmdline_rotate_0 [09:42:11] [PASSED] drm_test_cmdline_rotate_90 [09:42:11] [PASSED] drm_test_cmdline_rotate_180 [09:42:11] [PASSED] drm_test_cmdline_rotate_270 [09:42:11] [PASSED] drm_test_cmdline_hmirror [09:42:11] [PASSED] drm_test_cmdline_vmirror [09:42:11] [PASSED] drm_test_cmdline_margin_options [09:42:11] [PASSED] drm_test_cmdline_multiple_options [09:42:11] [PASSED] drm_test_cmdline_bpp_extra_and_option [09:42:11] [PASSED] drm_test_cmdline_extra_and_option [09:42:11] [PASSED] drm_test_cmdline_freestanding_options [09:42:11] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [09:42:11] [PASSED] drm_test_cmdline_panel_orientation [09:42:11] ================ drm_test_cmdline_invalid ================= [09:42:11] [PASSED] margin_only [09:42:11] [PASSED] interlace_only [09:42:11] [PASSED] res_missing_x [09:42:11] [PASSED] res_missing_y [09:42:11] [PASSED] res_bad_y [09:42:11] [PASSED] res_missing_y_bpp [09:42:11] [PASSED] res_bad_bpp [09:42:11] [PASSED] res_bad_refresh [09:42:11] [PASSED] res_bpp_refresh_force_on_off [09:42:11] [PASSED] res_invalid_mode [09:42:11] [PASSED] res_bpp_wrong_place_mode [09:42:11] [PASSED] name_bpp_refresh [09:42:11] [PASSED] name_refresh [09:42:11] [PASSED] name_refresh_wrong_mode [09:42:11] [PASSED] name_refresh_invalid_mode [09:42:11] [PASSED] rotate_multiple [09:42:11] [PASSED] rotate_invalid_val [09:42:11] [PASSED] rotate_truncated [09:42:11] [PASSED] invalid_option [09:42:11] [PASSED] invalid_tv_option [09:42:11] [PASSED] truncated_tv_option [09:42:11] ============ [PASSED] drm_test_cmdline_invalid ============= [09:42:11] =============== drm_test_cmdline_tv_options =============== [09:42:11] [PASSED] NTSC [09:42:11] [PASSED] NTSC_443 [09:42:11] [PASSED] NTSC_J [09:42:11] [PASSED] PAL [09:42:11] [PASSED] PAL_M [09:42:11] [PASSED] PAL_N [09:42:11] [PASSED] SECAM [09:42:11] [PASSED] MONO_525 [09:42:11] [PASSED] MONO_625 [09:42:11] =========== [PASSED] drm_test_cmdline_tv_options =========== [09:42:11] =============== [PASSED] drm_cmdline_parser ================ [09:42:11] ========== drmm_connector_hdmi_init (20 subtests) ========== [09:42:11] [PASSED] drm_test_connector_hdmi_init_valid [09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_8 [09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_10 [09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_12 [09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [09:42:11] [PASSED] drm_test_connector_hdmi_init_bpc_null [09:42:11] [PASSED] drm_test_connector_hdmi_init_formats_empty [09:42:11] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [09:42:11] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [09:42:11] [PASSED] supported_formats=0x9 yuv420_allowed=1 [09:42:11] [PASSED] supported_formats=0x9 yuv420_allowed=0 [09:42:11] [PASSED] supported_formats=0x5 yuv420_allowed=1 [09:42:11] [PASSED] supported_formats=0x5 yuv420_allowed=0 [09:42:11] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [09:42:11] [PASSED] drm_test_connector_hdmi_init_null_ddc [09:42:11] [PASSED] drm_test_connector_hdmi_init_null_product [09:42:11] [PASSED] drm_test_connector_hdmi_init_null_vendor [09:42:11] [PASSED] drm_test_connector_hdmi_init_product_length_exact [09:42:11] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [09:42:11] [PASSED] drm_test_connector_hdmi_init_product_valid [09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [09:42:11] [PASSED] drm_test_connector_hdmi_init_vendor_valid [09:42:11] ========= drm_test_connector_hdmi_init_type_valid ========= [09:42:11] [PASSED] HDMI-A [09:42:11] [PASSED] HDMI-B [09:42:11] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [09:42:11] ======== drm_test_connector_hdmi_init_type_invalid ======== [09:42:11] [PASSED] Unknown [09:42:11] [PASSED] VGA [09:42:11] [PASSED] DVI-I [09:42:11] [PASSED] DVI-D [09:42:11] [PASSED] DVI-A [09:42:11] [PASSED] Composite [09:42:11] [PASSED] SVIDEO [09:42:11] [PASSED] LVDS [09:42:11] [PASSED] Component [09:42:11] [PASSED] DIN [09:42:11] [PASSED] DP [09:42:11] [PASSED] TV [09:42:11] [PASSED] eDP [09:42:11] [PASSED] Virtual [09:42:11] [PASSED] DSI [09:42:11] [PASSED] DPI [09:42:11] [PASSED] Writeback [09:42:11] [PASSED] SPI [09:42:11] [PASSED] USB [09:42:11] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [09:42:11] ============ [PASSED] drmm_connector_hdmi_init ============= [09:42:11] ============= drmm_connector_init (3 subtests) ============= [09:42:11] [PASSED] drm_test_drmm_connector_init [09:42:11] [PASSED] drm_test_drmm_connector_init_null_ddc [09:42:11] ========= drm_test_drmm_connector_init_type_valid ========= [09:42:11] [PASSED] Unknown [09:42:11] [PASSED] VGA [09:42:11] [PASSED] DVI-I [09:42:11] [PASSED] DVI-D [09:42:11] [PASSED] DVI-A [09:42:11] [PASSED] Composite [09:42:11] [PASSED] SVIDEO [09:42:11] [PASSED] LVDS [09:42:11] [PASSED] Component [09:42:11] [PASSED] DIN [09:42:11] [PASSED] DP [09:42:11] [PASSED] HDMI-A [09:42:11] [PASSED] HDMI-B [09:42:11] [PASSED] TV [09:42:11] [PASSED] eDP [09:42:11] [PASSED] Virtual [09:42:11] [PASSED] DSI [09:42:11] [PASSED] DPI [09:42:11] [PASSED] Writeback [09:42:11] [PASSED] SPI [09:42:11] [PASSED] USB [09:42:11] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [09:42:11] =============== [PASSED] drmm_connector_init =============== [09:42:11] ========= drm_connector_dynamic_init (6 subtests) ========== [09:42:11] [PASSED] drm_test_drm_connector_dynamic_init [09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_not_added [09:42:11] [PASSED] drm_test_drm_connector_dynamic_init_properties [09:42:11] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [09:42:11] [PASSED] Unknown [09:42:11] [PASSED] VGA [09:42:11] [PASSED] DVI-I [09:42:11] [PASSED] DVI-D [09:42:11] [PASSED] DVI-A [09:42:11] [PASSED] Composite [09:42:11] [PASSED] SVIDEO [09:42:11] [PASSED] LVDS [09:42:11] [PASSED] Component [09:42:11] [PASSED] DIN [09:42:11] [PASSED] DP [09:42:11] [PASSED] HDMI-A [09:42:11] [PASSED] HDMI-B [09:42:11] [PASSED] TV [09:42:11] [PASSED] eDP [09:42:11] [PASSED] Virtual [09:42:11] [PASSED] DSI [09:42:11] [PASSED] DPI [09:42:11] [PASSED] Writeback [09:42:11] [PASSED] SPI [09:42:11] [PASSED] USB [09:42:11] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [09:42:11] ======== drm_test_drm_connector_dynamic_init_name ========= [09:42:11] [PASSED] Unknown [09:42:11] [PASSED] VGA [09:42:11] [PASSED] DVI-I [09:42:11] [PASSED] DVI-D [09:42:11] [PASSED] DVI-A [09:42:11] [PASSED] Composite [09:42:11] [PASSED] SVIDEO [09:42:11] [PASSED] LVDS [09:42:11] [PASSED] Component [09:42:11] [PASSED] DIN [09:42:11] [PASSED] DP [09:42:11] [PASSED] HDMI-A [09:42:11] [PASSED] HDMI-B [09:42:11] [PASSED] TV [09:42:11] [PASSED] eDP [09:42:11] [PASSED] Virtual [09:42:11] [PASSED] DSI [09:42:11] [PASSED] DPI [09:42:11] [PASSED] Writeback [09:42:11] [PASSED] SPI [09:42:11] [PASSED] USB [09:42:11] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [09:42:11] =========== [PASSED] drm_connector_dynamic_init ============ [09:42:11] ==== drm_connector_dynamic_register_early (4 subtests) ===== [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [09:42:11] ====== [PASSED] drm_connector_dynamic_register_early ======= [09:42:11] ======= drm_connector_dynamic_register (7 subtests) ======== [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_on_list [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_no_init [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [09:42:11] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [09:42:11] ========= [PASSED] drm_connector_dynamic_register ========== [09:42:11] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [09:42:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [09:42:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [09:42:11] === [PASSED] drm_connector_attach_broadcast_rgb_property === [09:42:11] ========== drm_get_tv_mode_from_name (2 subtests) ========== [09:42:11] ========== drm_test_get_tv_mode_from_name_valid =========== [09:42:11] [PASSED] NTSC [09:42:11] [PASSED] NTSC-443 [09:42:11] [PASSED] NTSC-J [09:42:11] [PASSED] PAL [09:42:11] [PASSED] PAL-M [09:42:11] [PASSED] PAL-N [09:42:11] [PASSED] SECAM [09:42:11] [PASSED] Mono [09:42:11] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [09:42:11] [PASSED] drm_test_get_tv_mode_from_name_truncated [09:42:11] ============ [PASSED] drm_get_tv_mode_from_name ============ [09:42:11] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [09:42:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [09:42:11] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [09:42:11] [PASSED] VIC 96 [09:42:11] [PASSED] VIC 97 [09:42:11] [PASSED] VIC 101 [09:42:11] [PASSED] VIC 102 [09:42:11] [PASSED] VIC 106 [09:42:11] [PASSED] VIC 107 [09:42:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [09:42:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [09:42:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [09:42:11] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [09:42:11] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [09:42:11] [PASSED] Automatic [09:42:11] [PASSED] Full [09:42:11] [PASSED] Limited 16:235 [09:42:11] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [09:42:11] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [09:42:11] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [09:42:11] == drm_hdmi_connector_get_output_format_name (2 subtests) == [09:42:11] === drm_test_drm_hdmi_connector_get_output_format_name ==== [09:42:11] [PASSED] RGB [09:42:11] [PASSED] YUV 4:2:0 [09:42:11] [PASSED] YUV 4:2:2 [09:42:11] [PASSED] YUV 4:4:4 [09:42:11] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [09:42:11] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [09:42:11] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [09:42:11] ============= drm_damage_helper (21 subtests) ============== [09:42:11] [PASSED] drm_test_damage_iter_no_damage [09:42:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src [09:42:11] [PASSED] drm_test_damage_iter_no_damage_src_moved [09:42:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [09:42:11] [PASSED] drm_test_damage_iter_no_damage_not_visible [09:42:11] [PASSED] drm_test_damage_iter_no_damage_no_crtc [09:42:11] [PASSED] drm_test_damage_iter_no_damage_no_fb [09:42:11] [PASSED] drm_test_damage_iter_simple_damage [09:42:11] [PASSED] drm_test_damage_iter_single_damage [09:42:11] [PASSED] drm_test_damage_iter_single_damage_intersect_src [09:42:11] [PASSED] drm_test_damage_iter_single_damage_outside_src [09:42:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src [09:42:11] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [09:42:11] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [09:42:11] [PASSED] drm_test_damage_iter_single_damage_src_moved [09:42:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [09:42:11] [PASSED] drm_test_damage_iter_damage [09:42:11] [PASSED] drm_test_damage_iter_damage_one_intersect [09:42:11] [PASSED] drm_test_damage_iter_damage_one_outside [09:42:11] [PASSED] drm_test_damage_iter_damage_src_moved [09:42:11] [PASSED] drm_test_damage_iter_damage_not_visible [09:42:11] ================ [PASSED] drm_damage_helper ================ [09:42:11] ============== drm_dp_mst_helper (3 subtests) ============== [09:42:11] ============== drm_test_dp_mst_calc_pbn_mode ============== [09:42:11] [PASSED] Clock 154000 BPP 30 DSC disabled [09:42:11] [PASSED] Clock 234000 BPP 30 DSC disabled [09:42:11] [PASSED] Clock 297000 BPP 24 DSC disabled [09:42:11] [PASSED] Clock 332880 BPP 24 DSC enabled [09:42:11] [PASSED] Clock 324540 BPP 24 DSC enabled [09:42:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [09:42:11] ============== drm_test_dp_mst_calc_pbn_div =============== [09:42:11] [PASSED] Link rate 2000000 lane count 4 [09:42:11] [PASSED] Link rate 2000000 lane count 2 [09:42:11] [PASSED] Link rate 2000000 lane count 1 [09:42:11] [PASSED] Link rate 1350000 lane count 4 [09:42:11] [PASSED] Link rate 1350000 lane count 2 [09:42:11] [PASSED] Link rate 1350000 lane count 1 [09:42:11] [PASSED] Link rate 1000000 lane count 4 [09:42:11] [PASSED] Link rate 1000000 lane count 2 [09:42:11] [PASSED] Link rate 1000000 lane count 1 [09:42:11] [PASSED] Link rate 810000 lane count 4 [09:42:11] [PASSED] Link rate 810000 lane count 2 [09:42:11] [PASSED] Link rate 810000 lane count 1 [09:42:11] [PASSED] Link rate 540000 lane count 4 [09:42:11] [PASSED] Link rate 540000 lane count 2 [09:42:11] [PASSED] Link rate 540000 lane count 1 [09:42:11] [PASSED] Link rate 270000 lane count 4 [09:42:11] [PASSED] Link rate 270000 lane count 2 [09:42:11] [PASSED] Link rate 270000 lane count 1 [09:42:11] [PASSED] Link rate 162000 lane count 4 [09:42:11] [PASSED] Link rate 162000 lane count 2 [09:42:11] [PASSED] Link rate 162000 lane count 1 [09:42:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [09:42:11] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [09:42:11] [PASSED] DP_ENUM_PATH_RESOURCES with port number [09:42:11] [PASSED] DP_POWER_UP_PHY with port number [09:42:11] [PASSED] DP_POWER_DOWN_PHY with port number [09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with port number [09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [09:42:11] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [09:42:11] [PASSED] DP_QUERY_PAYLOAD with port number [09:42:11] [PASSED] DP_QUERY_PAYLOAD with VCPI [09:42:11] [PASSED] DP_REMOTE_DPCD_READ with port number [09:42:11] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [09:42:11] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with port number [09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [09:42:11] [PASSED] DP_REMOTE_DPCD_WRITE with data array [09:42:11] [PASSED] DP_REMOTE_I2C_READ with port number [09:42:11] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [09:42:11] [PASSED] DP_REMOTE_I2C_READ with transactions array [09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with port number [09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [09:42:11] [PASSED] DP_REMOTE_I2C_WRITE with data array [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [09:42:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [09:42:11] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [09:42:11] ================ [PASSED] drm_dp_mst_helper ================ [09:42:11] ================== drm_exec (7 subtests) =================== [09:42:11] [PASSED] sanitycheck [09:42:11] [PASSED] test_lock [09:42:11] [PASSED] test_lock_unlock [09:42:11] [PASSED] test_duplicates [09:42:11] [PASSED] test_prepare [09:42:11] [PASSED] test_prepare_array [09:42:11] [PASSED] test_multiple_loops [09:42:11] ==================== [PASSED] drm_exec ===================== [09:42:11] =========== drm_format_helper_test (17 subtests) =========== [09:42:11] ============== drm_test_fb_xrgb8888_to_gray8 ============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [09:42:11] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [09:42:11] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [09:42:11] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [09:42:11] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [09:42:11] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [09:42:11] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [09:42:11] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [09:42:11] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [09:42:11] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [09:42:11] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [09:42:11] ============== drm_test_fb_xrgb8888_to_mono =============== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [09:42:11] ==================== drm_test_fb_swab ===================== [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ================ [PASSED] drm_test_fb_swab ================= [09:42:11] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [09:42:11] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [09:42:11] [PASSED] single_pixel_source_buffer [09:42:11] [PASSED] single_pixel_clip_rectangle [09:42:11] [PASSED] well_known_colors [09:42:11] [PASSED] destination_pitch [09:42:11] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [09:42:11] ================= drm_test_fb_clip_offset ================= [09:42:11] [PASSED] pass through [09:42:11] [PASSED] horizontal offset [09:42:11] [PASSED] vertical offset [09:42:11] [PASSED] horizontal and vertical offset [09:42:11] [PASSED] horizontal offset (custom pitch) [09:42:11] [PASSED] vertical offset (custom pitch) [09:42:11] [PASSED] horizontal and vertical offset (custom pitch) [09:42:11] ============= [PASSED] drm_test_fb_clip_offset ============= [09:42:11] =================== drm_test_fb_memcpy ==================== [09:42:11] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [09:42:11] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [09:42:11] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [09:42:11] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [09:42:11] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [09:42:11] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [09:42:11] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [09:42:11] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [09:42:11] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [09:42:11] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [09:42:11] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [09:42:11] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [09:42:11] =============== [PASSED] drm_test_fb_memcpy ================ [09:42:11] ============= [PASSED] drm_format_helper_test ============== [09:42:11] ================= drm_format (18 subtests) ================= [09:42:11] [PASSED] drm_test_format_block_width_invalid [09:42:11] [PASSED] drm_test_format_block_width_one_plane [09:42:11] [PASSED] drm_test_format_block_width_two_plane [09:42:11] [PASSED] drm_test_format_block_width_three_plane [09:42:11] [PASSED] drm_test_format_block_width_tiled [09:42:11] [PASSED] drm_test_format_block_height_invalid [09:42:11] [PASSED] drm_test_format_block_height_one_plane [09:42:11] [PASSED] drm_test_format_block_height_two_plane [09:42:11] [PASSED] drm_test_format_block_height_three_plane [09:42:11] [PASSED] drm_test_format_block_height_tiled [09:42:11] [PASSED] drm_test_format_min_pitch_invalid [09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [09:42:11] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [09:42:11] [PASSED] drm_test_format_min_pitch_two_plane [09:42:11] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [09:42:11] [PASSED] drm_test_format_min_pitch_tiled [09:42:11] =================== [PASSED] drm_format ==================== [09:42:11] ============== drm_framebuffer (10 subtests) =============== [09:42:11] ========== drm_test_framebuffer_check_src_coords ========== [09:42:11] [PASSED] Success: source fits into fb [09:42:11] [PASSED] Fail: overflowing fb with x-axis coordinate [09:42:11] [PASSED] Fail: overflowing fb with y-axis coordinate [09:42:11] [PASSED] Fail: overflowing fb with source width [09:42:11] [PASSED] Fail: overflowing fb with source height [09:42:11] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [09:42:11] [PASSED] drm_test_framebuffer_cleanup [09:42:11] =============== drm_test_framebuffer_create =============== [09:42:11] [PASSED] ABGR8888 normal sizes [09:42:11] [PASSED] ABGR8888 max sizes [09:42:11] [PASSED] ABGR8888 pitch greater than min required [09:42:11] [PASSED] ABGR8888 pitch less than min required [09:42:11] [PASSED] ABGR8888 Invalid width [09:42:11] [PASSED] ABGR8888 Invalid buffer handle [09:42:11] [PASSED] No pixel format [09:42:11] [PASSED] ABGR8888 Width 0 [09:42:11] [PASSED] ABGR8888 Height 0 [09:42:11] [PASSED] ABGR8888 Out of bound height * pitch combination [09:42:11] [PASSED] ABGR8888 Large buffer offset [09:42:11] [PASSED] ABGR8888 Buffer offset for inexistent plane [09:42:11] [PASSED] ABGR8888 Invalid flag [09:42:11] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [09:42:11] [PASSED] ABGR8888 Valid buffer modifier [09:42:11] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [09:42:11] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] NV12 Normal sizes [09:42:11] [PASSED] NV12 Max sizes [09:42:11] [PASSED] NV12 Invalid pitch [09:42:11] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [09:42:11] [PASSED] NV12 different modifier per-plane [09:42:11] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [09:42:11] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] NV12 Modifier for inexistent plane [09:42:11] [PASSED] NV12 Handle for inexistent plane [09:42:11] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [09:42:11] [PASSED] YVU420 Normal sizes [09:42:11] [PASSED] YVU420 Max sizes [09:42:11] [PASSED] YVU420 Invalid pitch [09:42:11] [PASSED] YVU420 Different pitches [09:42:11] [PASSED] YVU420 Different buffer offsets/pitches [09:42:11] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [09:42:11] [PASSED] YVU420 Valid modifier [09:42:11] [PASSED] YVU420 Different modifiers per plane [09:42:11] [PASSED] YVU420 Modifier for inexistent plane [09:42:11] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [09:42:11] [PASSED] X0L2 Normal sizes [09:42:11] [PASSED] X0L2 Max sizes [09:42:11] [PASSED] X0L2 Invalid pitch [09:42:11] [PASSED] X0L2 Pitch greater than minimum required [09:42:11] [PASSED] X0L2 Handle for inexistent plane [09:42:11] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [09:42:11] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [09:42:11] [PASSED] X0L2 Valid modifier [09:42:11] [PASSED] X0L2 Modifier for inexistent plane [09:42:11] =========== [PASSED] drm_test_framebuffer_create =========== [09:42:11] [PASSED] drm_test_framebuffer_free [09:42:11] [PASSED] drm_test_framebuffer_init [09:42:11] [PASSED] drm_test_framebuffer_init_bad_format [09:42:11] [PASSED] drm_test_framebuffer_init_dev_mismatch [09:42:11] [PASSED] drm_test_framebuffer_lookup [09:42:11] [PASSED] drm_test_framebuffer_lookup_inexistent [09:42:11] [PASSED] drm_test_framebuffer_modifiers_not_supported [09:42:11] ================= [PASSED] drm_framebuffer ================= [09:42:11] ================ drm_gem_shmem (8 subtests) ================ [09:42:11] [PASSED] drm_gem_shmem_test_obj_create [09:42:11] [PASSED] drm_gem_shmem_test_obj_create_private [09:42:11] [PASSED] drm_gem_shmem_test_pin_pages [09:42:11] [PASSED] drm_gem_shmem_test_vmap [09:42:11] [PASSED] drm_gem_shmem_test_get_sg_table [09:42:11] [PASSED] drm_gem_shmem_test_get_pages_sgt [09:42:11] [PASSED] drm_gem_shmem_test_madvise [09:42:11] [PASSED] drm_gem_shmem_test_purge [09:42:11] ================== [PASSED] drm_gem_shmem ================== [09:42:11] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [09:42:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [09:42:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [09:42:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [09:42:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [09:42:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [09:42:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [09:42:11] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [09:42:11] [PASSED] Automatic [09:42:11] [PASSED] Full [09:42:11] [PASSED] Limited 16:235 [09:42:11] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [09:42:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [09:42:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [09:42:11] [PASSED] drm_test_check_disable_connector [09:42:11] [PASSED] drm_test_check_hdmi_funcs_reject_rate [09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [09:42:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [09:42:11] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [09:42:11] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [09:42:11] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [09:42:11] [PASSED] drm_test_check_output_bpc_dvi [09:42:11] [PASSED] drm_test_check_output_bpc_format_vic_1 [09:42:11] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [09:42:11] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [09:42:11] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [09:42:11] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [09:42:11] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [09:42:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [09:42:11] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [09:42:11] [PASSED] drm_test_check_broadcast_rgb_value [09:42:11] [PASSED] drm_test_check_bpc_8_value [09:42:11] [PASSED] drm_test_check_bpc_10_value [09:42:11] [PASSED] drm_test_check_bpc_12_value [09:42:11] [PASSED] drm_test_check_format_value [09:42:11] [PASSED] drm_test_check_tmds_char_value [09:42:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [09:42:11] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [09:42:11] [PASSED] drm_test_check_mode_valid [09:42:11] [PASSED] drm_test_check_mode_valid_reject [09:42:11] [PASSED] drm_test_check_mode_valid_reject_rate [09:42:11] [PASSED] drm_test_check_mode_valid_reject_max_clock [09:42:11] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [09:42:11] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [09:42:11] [PASSED] drm_test_check_infoframes [09:42:11] [PASSED] drm_test_check_reject_avi_infoframe [09:42:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [09:42:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [09:42:11] [PASSED] drm_test_check_reject_audio_infoframe [09:42:11] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [09:42:11] ================= drm_managed (2 subtests) ================= [09:42:11] [PASSED] drm_test_managed_release_action [09:42:11] [PASSED] drm_test_managed_run_action [09:42:11] =================== [PASSED] drm_managed =================== [09:42:11] =================== drm_mm (6 subtests) ==================== [09:42:11] [PASSED] drm_test_mm_init [09:42:11] [PASSED] drm_test_mm_debug [09:42:11] [PASSED] drm_test_mm_align32 [09:42:11] [PASSED] drm_test_mm_align64 [09:42:11] [PASSED] drm_test_mm_lowest [09:42:11] [PASSED] drm_test_mm_highest [09:42:11] ===================== [PASSED] drm_mm ====================== [09:42:11] ============= drm_modes_analog_tv (5 subtests) ============= [09:42:11] [PASSED] drm_test_modes_analog_tv_mono_576i [09:42:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i [09:42:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [09:42:11] [PASSED] drm_test_modes_analog_tv_pal_576i [09:42:11] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [09:42:11] =============== [PASSED] drm_modes_analog_tv =============== [09:42:11] ============== drm_plane_helper (2 subtests) =============== [09:42:11] =============== drm_test_check_plane_state ================ [09:42:11] [PASSED] clipping_simple [09:42:11] [PASSED] clipping_rotate_reflect [09:42:11] [PASSED] positioning_simple [09:42:11] [PASSED] upscaling [09:42:11] [PASSED] downscaling [09:42:11] [PASSED] rounding1 [09:42:11] [PASSED] rounding2 [09:42:11] [PASSED] rounding3 [09:42:11] [PASSED] rounding4 [09:42:11] =========== [PASSED] drm_test_check_plane_state ============ [09:42:11] =========== drm_test_check_invalid_plane_state ============ [09:42:11] [PASSED] positioning_invalid [09:42:11] [PASSED] upscaling_invalid [09:42:11] [PASSED] downscaling_invalid [09:42:11] ======= [PASSED] drm_test_check_invalid_plane_state ======== [09:42:11] ================ [PASSED] drm_plane_helper ================= [09:42:11] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [09:42:11] ====== drm_test_connector_helper_tv_get_modes_check ======= [09:42:11] [PASSED] None [09:42:11] [PASSED] PAL [09:42:11] [PASSED] NTSC [09:42:11] [PASSED] Both, NTSC Default [09:42:11] [PASSED] Both, PAL Default [09:42:11] [PASSED] Both, NTSC Default, with PAL on command-line [09:42:11] [PASSED] Both, PAL Default, with NTSC on command-line [09:42:11] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [09:42:11] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [09:42:11] ================== drm_rect (9 subtests) =================== [09:42:11] [PASSED] drm_test_rect_clip_scaled_div_by_zero [09:42:11] [PASSED] drm_test_rect_clip_scaled_not_clipped [09:42:11] [PASSED] drm_test_rect_clip_scaled_clipped [09:42:11] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [09:42:11] ================= drm_test_rect_intersect ================= [09:42:11] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [09:42:11] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [09:42:11] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [09:42:11] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [09:42:11] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [09:42:11] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [09:42:11] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [09:42:11] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [09:42:11] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [09:42:11] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [09:42:11] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [09:42:11] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [09:42:11] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [09:42:11] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [09:42:11] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [09:42:11] ============= [PASSED] drm_test_rect_intersect ============= [09:42:11] ================ drm_test_rect_calc_hscale ================ [09:42:11] [PASSED] normal use [09:42:11] [PASSED] out of max range [09:42:11] [PASSED] out of min range [09:42:11] [PASSED] zero dst [09:42:11] [PASSED] negative src [09:42:11] [PASSED] negative dst [09:42:11] ============ [PASSED] drm_test_rect_calc_hscale ============ [09:42:11] ================ drm_test_rect_calc_vscale ================ [09:42:11] [PASSED] normal use [09:42:11] [PASSED] out of max range [09:42:11] [PASSED] out of min range [09:42:11] [PASSED] zero dst [09:42:11] [PASSED] negative src [09:42:11] [PASSED] negative dst [09:42:11] ============ [PASSED] drm_test_rect_calc_vscale ============ [09:42:11] ================== drm_test_rect_rotate =================== [09:42:11] [PASSED] reflect-x [09:42:11] [PASSED] reflect-y [09:42:11] [PASSED] rotate-0 [09:42:11] [PASSED] rotate-90 [09:42:11] [PASSED] rotate-180 [09:42:11] [PASSED] rotate-270 [09:42:11] ============== [PASSED] drm_test_rect_rotate =============== [09:42:11] ================ drm_test_rect_rotate_inv ================= [09:42:11] [PASSED] reflect-x [09:42:11] [PASSED] reflect-y [09:42:11] [PASSED] rotate-0 [09:42:11] [PASSED] rotate-90 [09:42:11] [PASSED] rotate-180 [09:42:11] [PASSED] rotate-270 [09:42:11] ============ [PASSED] drm_test_rect_rotate_inv ============= [09:42:11] ==================== [PASSED] drm_rect ===================== [09:42:11] ============ drm_sysfb_modeset_test (1 subtest) ============ [09:42:11] ============ drm_test_sysfb_build_fourcc_list ============= [09:42:11] [PASSED] no native formats [09:42:11] [PASSED] XRGB8888 as native format [09:42:11] [PASSED] remove duplicates [09:42:11] [PASSED] convert alpha formats [09:42:11] [PASSED] random formats [09:42:11] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [09:42:11] ============= [PASSED] drm_sysfb_modeset_test ============== [09:42:11] ================== drm_fixp (2 subtests) =================== [09:42:11] [PASSED] drm_test_int2fixp [09:42:11] [PASSED] drm_test_sm2fixp [09:42:11] ==================== [PASSED] drm_fixp ===================== [09:42:11] ============================================================ [09:42:11] Testing complete. Ran 621 tests: passed: 621 [09:42:11] Elapsed time: 26.224s total, 1.772s configuring, 24.285s building, 0.116s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [09:42:11] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [09:42:13] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [09:42:23] Starting KUnit Kernel (1/1)... [09:42:23] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [09:42:23] ================= ttm_device (5 subtests) ================== [09:42:23] [PASSED] ttm_device_init_basic [09:42:23] [PASSED] ttm_device_init_multiple [09:42:23] [PASSED] ttm_device_fini_basic [09:42:23] [PASSED] ttm_device_init_no_vma_man [09:42:23] ================== ttm_device_init_pools ================== [09:42:23] [PASSED] No DMA allocations, no DMA32 required [09:42:23] [PASSED] DMA allocations, DMA32 required [09:42:23] [PASSED] No DMA allocations, DMA32 required [09:42:23] [PASSED] DMA allocations, no DMA32 required [09:42:23] ============== [PASSED] ttm_device_init_pools ============== [09:42:23] =================== [PASSED] ttm_device ==================== [09:42:23] ================== ttm_pool (8 subtests) =================== [09:42:23] ================== ttm_pool_alloc_basic =================== [09:42:23] [PASSED] One page [09:42:23] [PASSED] More than one page [09:42:23] [PASSED] Above the allocation limit [09:42:23] [PASSED] One page, with coherent DMA mappings enabled [09:42:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [09:42:23] ============== [PASSED] ttm_pool_alloc_basic =============== [09:42:23] ============== ttm_pool_alloc_basic_dma_addr ============== [09:42:23] [PASSED] One page [09:42:23] [PASSED] More than one page [09:42:23] [PASSED] Above the allocation limit [09:42:23] [PASSED] One page, with coherent DMA mappings enabled [09:42:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [09:42:23] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [09:42:23] [PASSED] ttm_pool_alloc_order_caching_match [09:42:23] [PASSED] ttm_pool_alloc_caching_mismatch [09:42:23] [PASSED] ttm_pool_alloc_order_mismatch [09:42:23] [PASSED] ttm_pool_free_dma_alloc [09:42:23] [PASSED] ttm_pool_free_no_dma_alloc [09:42:23] [PASSED] ttm_pool_fini_basic [09:42:23] ==================== [PASSED] ttm_pool ===================== [09:42:23] ================ ttm_resource (8 subtests) ================= [09:42:23] ================= ttm_resource_init_basic ================= [09:42:23] [PASSED] Init resource in TTM_PL_SYSTEM [09:42:23] [PASSED] Init resource in TTM_PL_VRAM [09:42:23] [PASSED] Init resource in a private placement [09:42:23] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [09:42:23] ============= [PASSED] ttm_resource_init_basic ============= [09:42:23] [PASSED] ttm_resource_init_pinned [09:42:23] [PASSED] ttm_resource_fini_basic [09:42:23] [PASSED] ttm_resource_manager_init_basic [09:42:23] [PASSED] ttm_resource_manager_usage_basic [09:42:23] [PASSED] ttm_resource_manager_set_used_basic [09:42:23] [PASSED] ttm_sys_man_alloc_basic [09:42:23] [PASSED] ttm_sys_man_free_basic [09:42:23] ================== [PASSED] ttm_resource =================== [09:42:23] =================== ttm_tt (15 subtests) =================== [09:42:23] ==================== ttm_tt_init_basic ==================== [09:42:23] [PASSED] Page-aligned size [09:42:23] [PASSED] Extra pages requested [09:42:23] ================ [PASSED] ttm_tt_init_basic ================ [09:42:23] [PASSED] ttm_tt_init_misaligned [09:42:23] [PASSED] ttm_tt_fini_basic [09:42:23] [PASSED] ttm_tt_fini_sg [09:42:23] [PASSED] ttm_tt_fini_shmem [09:42:23] [PASSED] ttm_tt_create_basic [09:42:23] [PASSED] ttm_tt_create_invalid_bo_type [09:42:23] [PASSED] ttm_tt_create_ttm_exists [09:42:23] [PASSED] ttm_tt_create_failed [09:42:23] [PASSED] ttm_tt_destroy_basic [09:42:23] [PASSED] ttm_tt_populate_null_ttm [09:42:23] [PASSED] ttm_tt_populate_populated_ttm [09:42:23] [PASSED] ttm_tt_unpopulate_basic [09:42:23] [PASSED] ttm_tt_unpopulate_empty_ttm [09:42:23] [PASSED] ttm_tt_swapin_basic [09:42:23] ===================== [PASSED] ttm_tt ====================== [09:42:23] =================== ttm_bo (14 subtests) =================== [09:42:23] =========== ttm_bo_reserve_optimistic_no_ticket =========== [09:42:23] [PASSED] Cannot be interrupted and sleeps [09:42:23] [PASSED] Cannot be interrupted, locks straight away [09:42:23] [PASSED] Can be interrupted, sleeps [09:42:23] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [09:42:23] [PASSED] ttm_bo_reserve_locked_no_sleep [09:42:23] [PASSED] ttm_bo_reserve_no_wait_ticket [09:42:23] [PASSED] ttm_bo_reserve_double_resv [09:42:23] [PASSED] ttm_bo_reserve_interrupted [09:42:23] [PASSED] ttm_bo_reserve_deadlock [09:42:23] [PASSED] ttm_bo_unreserve_basic [09:42:23] [PASSED] ttm_bo_unreserve_pinned [09:42:23] [PASSED] ttm_bo_unreserve_bulk [09:42:23] [PASSED] ttm_bo_fini_basic [09:42:23] [PASSED] ttm_bo_fini_shared_resv [09:42:23] [PASSED] ttm_bo_pin_basic [09:42:23] [PASSED] ttm_bo_pin_unpin_resource [09:42:23] [PASSED] ttm_bo_multiple_pin_one_unpin [09:42:23] ===================== [PASSED] ttm_bo ====================== [09:42:23] ============== ttm_bo_validate (22 subtests) =============== [09:42:23] ============== ttm_bo_init_reserved_sys_man =============== [09:42:23] [PASSED] Buffer object for userspace [09:42:23] [PASSED] Kernel buffer object [09:42:23] [PASSED] Shared buffer object [09:42:23] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [09:42:23] ============== ttm_bo_init_reserved_mock_man ============== [09:42:23] [PASSED] Buffer object for userspace [09:42:23] [PASSED] Kernel buffer object [09:42:23] [PASSED] Shared buffer object [09:42:23] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [09:42:23] [PASSED] ttm_bo_init_reserved_resv [09:42:23] ================== ttm_bo_validate_basic ================== [09:42:23] [PASSED] Buffer object for userspace [09:42:23] [PASSED] Kernel buffer object [09:42:23] [PASSED] Shared buffer object [09:42:23] ============== [PASSED] ttm_bo_validate_basic ============== [09:42:23] [PASSED] ttm_bo_validate_invalid_placement [09:42:23] ============= ttm_bo_validate_same_placement ============== [09:42:23] [PASSED] System manager [09:42:23] [PASSED] VRAM manager [09:42:23] ========= [PASSED] ttm_bo_validate_same_placement ========== [09:42:23] [PASSED] ttm_bo_validate_failed_alloc [09:42:23] [PASSED] ttm_bo_validate_pinned [09:42:23] [PASSED] ttm_bo_validate_busy_placement [09:42:23] ================ ttm_bo_validate_multihop ================= [09:42:23] [PASSED] Buffer object for userspace [09:42:23] [PASSED] Kernel buffer object [09:42:23] [PASSED] Shared buffer object [09:42:23] ============ [PASSED] ttm_bo_validate_multihop ============= [09:42:23] ========== ttm_bo_validate_no_placement_signaled ========== [09:42:23] [PASSED] Buffer object in system domain, no page vector [09:42:23] [PASSED] Buffer object in system domain with an existing page vector [09:42:23] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [09:42:23] ======== ttm_bo_validate_no_placement_not_signaled ======== [09:42:23] [PASSED] Buffer object for userspace [09:42:23] [PASSED] Kernel buffer object [09:42:23] [PASSED] Shared buffer object [09:42:23] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [09:42:23] [PASSED] ttm_bo_validate_move_fence_signaled [09:42:23] ========= ttm_bo_validate_move_fence_not_signaled ========= [09:42:23] [PASSED] Waits for GPU [09:42:23] [PASSED] Tries to lock straight away [09:42:23] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [09:42:23] [PASSED] ttm_bo_validate_swapout [09:42:23] [PASSED] ttm_bo_validate_happy_evict [09:42:23] [PASSED] ttm_bo_validate_all_pinned_evict [09:42:23] [PASSED] ttm_bo_validate_allowed_only_evict [09:42:23] [PASSED] ttm_bo_validate_deleted_evict [09:42:23] [PASSED] ttm_bo_validate_busy_domain_evict [09:42:23] [PASSED] ttm_bo_validate_evict_gutting [09:42:23] [PASSED] ttm_bo_validate_recrusive_evict [09:42:23] ================= [PASSED] ttm_bo_validate ================= [09:42:23] ============================================================ [09:42:23] Testing complete. Ran 102 tests: passed: 102 [09:42:23] Elapsed time: 11.652s total, 1.773s configuring, 9.615s building, 0.215s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for Introduce Xe PCIe FLR (rev7)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
CI Bug Log - changes from xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e_BAT -> xe-pw-162055v7_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-162055v7_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_live_ktest@xe_dma_buf:
- bat-bmg-vm: [ABORT][1] -> [PASS][2] +1 other test pass
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
Build changes
-------------
* Linux: xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e -> xe-pw-162055v7
IGT_8917: 65d691069f26fc2a42c79e2364241320b85d48bc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e: 7e5a51dc7012a8abe09f9232d2c303402875761e
xe-pw-162055v7: 162055v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/index.html
Patchwork
CI✓ Xe.CI.FULL: success for Introduce Xe PCIe FLR (rev7)
In reply to Raag Jadav== Series Details ==
== Series Details ==
Series: Introduce Xe PCIe FLR (rev7)
URL : https://patchwork.freedesktop.org/series/162055/
State : success
== Summary ==
CI Bug Log - changes from xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e_FULL -> xe-pw-162055v7_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-162055v7_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- shard-bmg: [PASS][1] -> [SKIP][2] ([Intel XE#6779])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_big_fb@4-tiled-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#2327])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: [PASS][4] -> [SKIP][5] ([Intel XE#6703]) +110 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_ccs@bad-pixel-format-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2887])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#3432])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-25:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2325] / [Intel XE#7358])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-8/igt@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2252])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2390] / [Intel XE#6974])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][11] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-64x64:
- shard-bmg: [PASS][12] -> [DMESG-FAIL][13] ([Intel XE#7774]) +1 other test dmesg-fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2320]) +3 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipa-atomic-transitions-varying-size:
- shard-bmg: [PASS][15] -> [SKIP][16] ([Intel XE#6703] / [Intel XE#7935])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_cursor_legacy@cursora-vs-flipa-atomic-transitions-varying-size.html
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_cursor_legacy@cursora-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_dirtyfb@fbc-dirtyfb-ioctl:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#4210] / [Intel XE#7467])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][18] -> [FAIL][19] ([Intel XE#301])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-lnl-1/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yuv-linear-to-32bpp-yuv-linear-reflect-x:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#7179])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@kms_flip_scaled_crc@flip-32bpp-yuv-linear-to-32bpp-yuv-linear-reflect-x.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#7178] / [Intel XE#7351])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2311]) +9 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#4141]) +5 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#7061])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@psrhdr-1p-offscreen-pri-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2313]) +7 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@kms_frontbuffer_tracking@psrhdr-1p-offscreen-pri-indfb-draw-mmap-wc.html
* igt@kms_hdr@invalid-metadata-sizes@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [PASS][27] -> [SKIP][28] ([Intel XE#7915]) +5 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_hdr@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-7/igt@kms_hdr@[email protected]
* igt@kms_plane@pixel-format-y-tiled-modifier:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#7283]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_pm_backlight@brightness-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#2938] / [Intel XE#7376] / [Intel XE#7760])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#1489]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@kms_psr@fbc-psr-suspend:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2234] / [Intel XE#2850])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-full:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2413])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@xe_eudebug_online@stopped-thread:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#7636]) +2 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-8/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2322] / [Intel XE#7372])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate-race.html
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-userptr-fault:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#7136])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-userptr-fault.html
* igt@xe_exec_multi_queue@few-execs-preempt-mode-fault-dyn-priority:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#6874]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@xe_exec_multi_queue@few-execs-preempt-mode-fault-dyn-priority.html
* igt@xe_exec_reset@cm-multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#7866])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@xe_exec_system_allocator@threads-many-large-malloc-fork-read-after:
- shard-bmg: [PASS][39] -> [SKIP][40] ([Intel XE#6557] / [Intel XE#6703])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@xe_exec_system_allocator@threads-many-large-malloc-fork-read-after.html
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@xe_exec_system_allocator@threads-many-large-malloc-fork-read-after.html
* igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7138])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@xe_pxp@pxp-stale-bo-exec-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#4733] / [Intel XE#7417])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-4/igt@[email protected]
* igt@xe_wedged@wedged-mode-toggle:
- shard-bmg: [PASS][43] -> [ABORT][44] ([Intel XE#7914])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-2/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][45] ([Intel XE#7084]) -> [PASS][46] +1 other test pass
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-7/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-10/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [FAIL][47] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-lnl-1/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [SKIP][49] ([Intel XE#7915]) -> [PASS][50] +1 other test pass
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-3/igt@kms_hdr@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_hdr@[email protected]
#### Warnings ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-bmg: [SKIP][51] ([Intel XE#2233]) -> [SKIP][52] ([Intel XE#6703])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-bmg: [SKIP][53] ([Intel XE#1124]) -> [SKIP][54] ([Intel XE#6703]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-rc-ccs:
- shard-bmg: [SKIP][55] ([Intel XE#2887]) -> [SKIP][56] ([Intel XE#6703])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-bmg: [SKIP][57] ([Intel XE#2325] / [Intel XE#7358]) -> [SKIP][58] ([Intel XE#6703])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-cmp-planar-formats:
- shard-bmg: [SKIP][59] ([Intel XE#2252]) -> [SKIP][60] ([Intel XE#6703])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-32x32:
- shard-bmg: [SKIP][61] ([Intel XE#2320]) -> [SKIP][62] ([Intel XE#6703])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][63] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][64] ([Intel XE#301])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-lnl-1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-lnl-4/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling:
- shard-bmg: [SKIP][65] ([Intel XE#7178] / [Intel XE#7351]) -> [SKIP][66] ([Intel XE#6703]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling.html
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x:
- shard-bmg: [SKIP][67] ([Intel XE#7179]) -> [SKIP][68] ([Intel XE#6703])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt:
- shard-bmg: [SKIP][69] ([Intel XE#2311]) -> [SKIP][70] ([Intel XE#6703]) +10 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff:
- shard-bmg: [SKIP][71] ([Intel XE#4141]) -> [SKIP][72] ([Intel XE#6703]) +1 other test skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-suspend:
- shard-bmg: [SKIP][73] ([Intel XE#2311]) -> [SKIP][74] ([Intel XE#6557] / [Intel XE#6703])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-pri-shrfb-draw-blt:
- shard-bmg: [SKIP][75] ([Intel XE#2313]) -> [SKIP][76] ([Intel XE#6703]) +11 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-pri-shrfb-draw-blt.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-pri-shrfb-draw-blt.html
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][77] ([Intel XE#3544] / [Intel XE#7916]) -> [SKIP][78] ([Intel XE#3544] / [Intel XE#7915] / [Intel XE#7916])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-5/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-3/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][79] ([Intel XE#7916]) -> [SKIP][80] ([Intel XE#7915]) +1 other test skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-5/igt@kms_hdr@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-3/igt@kms_hdr@[email protected]
* igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping:
- shard-bmg: [SKIP][81] ([Intel XE#7283]) -> [SKIP][82] ([Intel XE#6703]) +1 other test skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping.html
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping.html
* igt@kms_pm_dc@dc5-psr:
- shard-bmg: [SKIP][83] ([Intel XE#7794]) -> [SKIP][84] ([Intel XE#6703])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_psr@psr-sprite-render:
- shard-bmg: [SKIP][85] ([Intel XE#2234] / [Intel XE#2850]) -> [SKIP][86] ([Intel XE#6703]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][87] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][88] ([Intel XE#1729] / [Intel XE#7424])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-8/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][89] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][90] ([Intel XE#2509] / [Intel XE#7437])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-3/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug_online@breakpoint-many-sessions-tiles:
- shard-bmg: [SKIP][91] ([Intel XE#7636]) -> [SKIP][92] ([Intel XE#6703]) +3 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_evict@evict-small-multi-queue-cm:
- shard-bmg: [SKIP][93] ([Intel XE#7140]) -> [SKIP][94] ([Intel XE#6703])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate:
- shard-bmg: [SKIP][95] ([Intel XE#2322] / [Intel XE#7372]) -> [SKIP][96] ([Intel XE#6703])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-userptr-imm:
- shard-bmg: [SKIP][97] ([Intel XE#7136]) -> [SKIP][98] ([Intel XE#6703])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_exec_multi_queue@max-queues-priority-smem:
- shard-bmg: [SKIP][99] ([Intel XE#6874]) -> [SKIP][100] ([Intel XE#6703]) +2 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-rebind:
- shard-bmg: [SKIP][101] ([Intel XE#7138]) -> [SKIP][102] ([Intel XE#6703]) +1 other test skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
* igt@xe_page_reclaim@binds-1g-partial:
- shard-bmg: [SKIP][103] ([Intel XE#7793]) -> [SKIP][104] ([Intel XE#6703])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e/shard-bmg-4/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/shard-bmg-2/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#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#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2938]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2938
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4210]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4210
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6557]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6557
[Intel XE#6703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6703
[Intel XE#6779]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6779
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7140]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7140
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7467]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7467
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7774]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7774
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7794
[Intel XE#7866]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7866
[Intel XE#7914]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7914
[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#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
Build changes
-------------
* Linux: xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e -> xe-pw-162055v7
IGT_8917: 65d691069f26fc2a42c79e2364241320b85d48bc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5072-7e5a51dc7012a8abe09f9232d2c303402875761e: 7e5a51dc7012a8abe09f9232d2c303402875761e
xe-pw-162055v7: 162055v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162055v7/index.html
Quoted 6 lines · Raag Jadav
Here's my humble attempt at introducing PCIe Function Level Reset (FLR) support in xe driver. This is ofcourse a half baked implementation and only limited to re-initializing GT. This needs to be extended for a lot of components which are expected to be added as a follow up.
Detailed description in commit message and documentation.
Anything I can do to move this forward?
Raag
Quoted 76 lines
PS: All
xe_exec_basictests 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>/resetv2: 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)
AddIS_DGFX()andEXEC_QUEUE_FLAG_KERNELasserts (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)
Introducexe_pci_reset_skip()helper (Lukasz)Raag Jadav (8):
drm/xe/uc_fw: Allow re-initializing firmware drm/xe/guc_submit: Introduceguc_exec_queue_reinit()drm/xe/gt: Introduce FLR helpers drm/xe/bo_evict: Introducexe_bo_restore_map()drm/xe/exec_queue: Introducexe_exec_queue_reinit()drm/xe/migrate: Introducexe_migrate_reinit()drm/xe/pm: Introduce xe_device_suspend/resume() drm/xe/pci: Introduce PCIe FLRdrivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_bo_evict.c | 51 ++++++-- drivers/gpu/drm/xe/xe_bo_evict.h | 2 + drivers/gpu/drm/xe/xe_device.c | 150 +++++++++++++++++++++++ drivers/gpu/drm/xe/xe_device.h | 2 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_exec_queue.c | 42 ++++++- drivers/gpu/drm/xe/xe_exec_queue.h | 1 + drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 + drivers/gpu/drm/xe/xe_execlist.c | 6 + drivers/gpu/drm/xe/xe_gpu_scheduler.h | 5 + drivers/gpu/drm/xe/xe_gsc.c | 14 +++ drivers/gpu/drm/xe/xe_gsc.h | 1 + drivers/gpu/drm/xe/xe_gt.c | 33 +++++ drivers/gpu/drm/xe/xe_gt.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 29 +++++ drivers/gpu/drm/xe/xe_guc.h | 2 + drivers/gpu/drm/xe/xe_guc_submit.c | 13 ++ drivers/gpu/drm/xe/xe_huc.c | 14 +++ drivers/gpu/drm/xe/xe_huc.h | 1 + drivers/gpu/drm/xe/xe_lrc.c | 17 +++ drivers/gpu/drm/xe/xe_lrc.h | 2 + drivers/gpu/drm/xe/xe_migrate.c | 12 ++ drivers/gpu/drm/xe/xe_migrate.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 1 + drivers/gpu/drm/xe/xe_pci.h | 2 + drivers/gpu/drm/xe/xe_pci_error.c | 121 ++++++++++++++++++ drivers/gpu/drm/xe/xe_pm.c | 103 ++-------------- drivers/gpu/drm/xe/xe_uc.c | 72 +++++++++++ drivers/gpu/drm/xe/xe_uc.h | 2 + drivers/gpu/drm/xe/xe_uc_fw.c | 56 +++++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + drivers/gpu/drm/xe/xe_uc_types.h | 14 +++ 33 files changed, 671 insertions(+), 107 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_pci_error.cSignature · 1 line
2.43.0