Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Optimise suspend handling for CCS igpu platforms
@ 2026-11-06 10:16 Matthew Auld
  2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 10:16 UTC (permalink / raw)
  To: intel-xe

CCS lives in stolen memory which in turn lives somewhere in RAM.
And since it's stolen memory the driver is responsible for doing any
save/restore as part of s4/hibernation. But for other suspend events it
should persist.

But currently we evict ALL TT userspace buffers on ANY suspend event
for igpu platforms with CCS. So here all user buffers need to be
re-validated and rebound on the first exec() call after wakeup, in
addition to a bunch of pointless GPU work to save and restore the CCS
state. Also, since we actively purge anything marked with DONTNEED
during eviction this will vaporise the Mesa buffer pool/cache. And this
currently happens on every s2idle or s3 event, which is the default in
most distros.

Given this, there are two angles to make this optimal for our suspend
handling:

 1. We should limit eviction only to suspected CCS buffers. If Mesa
    tagged the buffer with NO_COMP or we can deduce that there is no
    compression we can skip the buffer.

 2. We can limit eviction for CCS user buffers, for any < S4 suspend
    event. In theory only when RAM is powered down do we need to worry
    about saving CCS (same with GGTT). For s2idle etc. this flow is now
    a noop in terms of eviction.

This should be a significant improvement on lnl/ptl etc.

VLK-103395

---
Matthew Auld (2):
      drm/xe: only evict CCS buffers from TT on iGPU
      drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep

 drivers/gpu/drm/xe/xe_bo_evict.c | 64 +++++++++++++++++++++++++++++++++-------
 drivers/gpu/drm/xe/xe_pci.c      | 21 +++++++++++--
 drivers/gpu/drm/xe/xe_pm.c       | 26 ++++++++++++----
 drivers/gpu/drm/xe/xe_pm.h       |  2 +-
 4 files changed, 93 insertions(+), 20 deletions(-)
---
base-commit: 7797f00bc4da28646c612b8130ccd5192548ceea
change-id: 20261105-s4-opti-95922f7ce3a6

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU
  2026-11-06 10:16 [PATCH 0/2] Optimise suspend handling for CCS igpu platforms Matthew Auld
@ 2026-11-06 10:16 ` Matthew Auld
  2026-11-06 10:50   ` sashiko-bot
  2026-11-06 15:07   ` Thomas Hellström
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 10:16 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström, Matthew Brost, Carlos Santa

On iGPU platforms with Flat CCS, xe_bo_evict_all_user() currently calls
ttm_resource_manager_evict_all() on XE_PL_TT, evicting every buffer in
TT even if it does not use Flat CCS compression.

Walk the XE_PL_TT LRU using ttm_bo_lru_for_each_reserved_guarded() and
only evict buffers with initialised CCS state (or purge them if marked
DONTNEED), leaving non-CCS buffers in place.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Carlos Santa <carlos.santa@intel.com>
---
 drivers/gpu/drm/xe/xe_bo_evict.c | 64 +++++++++++++++++++++++++++++++++-------
 1 file changed, 54 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_bo_evict.c b/drivers/gpu/drm/xe/xe_bo_evict.c
index 7661fca7f278..1f95769c4a56 100644
--- a/drivers/gpu/drm/xe/xe_bo_evict.c
+++ b/drivers/gpu/drm/xe/xe_bo_evict.c
@@ -5,6 +5,8 @@
 
 #include "xe_bo_evict.h"
 
+#include <drm/ttm/ttm_bo.h>
+
 #include "xe_bo.h"
 #include "xe_device.h"
 #include "xe_ggtt.h"
@@ -104,8 +106,46 @@ void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe)
 				    xe_bo_notifier_unprepare_pinned);
 }
 
+static int xe_bo_evict_all_ccs(struct ttm_resource_manager *man)
+{
+	struct ttm_operation_ctx ctx = {
+		.interruptible = false,
+		.no_wait_gpu = false,
+	};
+	struct ttm_lru_walk_arg arg = {
+		.ctx = &ctx,
+		.sleeping_lock = true,
+	};
+	struct ttm_bo_lru_cursor cursor;
+	struct ttm_buffer_object *ttm_bo;
+	int ret = 0;
+
+	ttm_bo_lru_for_each_reserved_guarded(&cursor, man, &arg, ttm_bo) {
+		struct xe_bo *bo;
+
+		if (!xe_bo_is_xe_bo(ttm_bo) || ttm_bo->deleted)
+			continue;
+
+		bo = ttm_to_xe_bo(ttm_bo);
+		if (xe_bo_is_pinned(bo) || !xe_bo_needs_ccs_pages(bo) ||
+		    !bo->ccs_cleared)
+			continue;
+
+		if (xe_bo_madv_is_dontneed(bo))
+			ret = xe_ttm_bo_purge(ttm_bo, &ctx);
+		else
+			ret = xe_bo_evict(bo, NULL);
+		if (ret)
+			break;
+	}
+	if (IS_ERR(ttm_bo))
+		return PTR_ERR(ttm_bo);
+
+	return ret;
+}
+
 /**
- * xe_bo_evict_all_user - evict all non-pinned user BOs from VRAM
+ * xe_bo_evict_all_user - evict all non-pinned user BOs from VRAM (and CCS in TT)
  * @xe: xe device
  *
  * Evict non-pinned user BOs (via GPU).
@@ -123,22 +163,26 @@ int xe_bo_evict_all_user(struct xe_device *xe)
 		struct ttm_resource_manager *man =
 			ttm_manager_type(bdev, mem_type);
 
+		if (!man)
+			continue;
+
 		/*
 		 * On igpu platforms with flat CCS we need to ensure we save and restore any CCS
 		 * state since this state lives inside graphics stolen memory which doesn't survive
 		 * hibernation.
-		 *
-		 * This can be further improved by only evicting objects that we know have actually
-		 * used a compression enabled PAT index.
 		 */
-		if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe)))
+		if (mem_type == XE_PL_TT) {
+			if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) {
+				ret = xe_bo_evict_all_ccs(man);
+				if (ret)
+					return ret;
+			}
 			continue;
-
-		if (man) {
-			ret = ttm_resource_manager_evict_all(bdev, man);
-			if (ret)
-				return ret;
 		}
+
+		ret = ttm_resource_manager_evict_all(bdev, man);
+		if (ret)
+			return ret;
 	}
 
 	return 0;

-- 
2.56.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:16 [PATCH 0/2] Optimise suspend handling for CCS igpu platforms Matthew Auld
  2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
@ 2026-11-06 10:16 ` Matthew Auld
  2026-11-06 10:31   ` sashiko-bot
                     ` (3 more replies)
  2026-11-06 11:06 ` ✓ CI.KUnit: success for Optimise suspend handling for CCS igpu platforms Patchwork
  2026-11-06 11:40 ` ✓ Xe.CI.BAT: " Patchwork
  3 siblings, 4 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 10:16 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström, Matthew Brost, Carlos Santa

On iGPU platforms, system RAM and graphics stolen memory remain powered
during S2idle and S3 (< S4) suspend, so evicting user buffers or
preparing pinned BOs is unnecessary and needlessly purges DONTNEED
buffers in userspace caches.

Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
< S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction on
iGPU when not creating a hibernation image.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Carlos Santa <carlos.santa@intel.com>
---
 drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
 drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
 drivers/gpu/drm/xe/xe_pm.h  |  2 +-
 3 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index ba23ec60477b..67be6e707361 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev, enum toggle_d3cold toggle)
 	}
 }
 
-static int xe_pci_suspend(struct device *dev)
+static int __xe_pci_suspend(struct device *dev, bool hibernate)
 {
 	struct pci_dev *pdev = to_pci_dev(dev);
 	struct xe_device *xe = pdev_to_xe_device(pdev);
@@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
 	if (xe_survivability_mode_is_boot_enabled(xe))
 		return -EBUSY;
 
-	err = xe_pm_suspend(xe);
+	err = xe_pm_suspend(xe, hibernate);
 	if (err)
 		return err;
 
@@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
 	return 0;
 }
 
+static int xe_pci_suspend(struct device *dev)
+{
+	return __xe_pci_suspend(dev, false);
+}
+
+static int xe_pci_freeze(struct device *dev)
+{
+	return __xe_pci_suspend(dev, true);
+}
+
 static int xe_pci_resume(struct device *dev)
 {
 	struct pci_dev *pdev = to_pci_dev(dev);
@@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device *dev)
 }
 
 static const struct dev_pm_ops xe_pm_ops = {
-	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
+	.suspend = pm_sleep_ptr(xe_pci_suspend),
+	.resume = pm_sleep_ptr(xe_pci_resume),
+	.freeze = pm_sleep_ptr(xe_pci_freeze),
+	.thaw = pm_sleep_ptr(xe_pci_resume),
+	.poweroff = pm_sleep_ptr(xe_pci_suspend),
+	.restore = pm_sleep_ptr(xe_pci_resume),
 	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend, xe_pci_runtime_resume, xe_pci_runtime_idle)
 };
 #endif
diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index 61d68c09189f..e73192b03074 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct xe_device *xe)
 			 &xe_pm_runtime_d3cold_map);
 }
 
+static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool hibernate)
+{
+	return IS_DGFX(xe) || hibernate;
+}
+
 /**
- * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle
+ * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle / S0->S4
  * @xe: xe device instance
+ * @hibernate: true if preparing for S4 hibernation, false for < S4 suspend
  *
  * Return: 0 on success
  */
-int xe_pm_suspend(struct xe_device *xe)
+int xe_pm_suspend(struct xe_device *xe, bool hibernate)
 {
 	struct xe_gt *gt;
 	u8 id;
@@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
 
 	xe_display_pm_suspend(xe);
 
-	/* FIXME: Super racey... */
-	err = xe_bo_evict_all(xe);
-	if (err)
-		goto err_display;
+	if (xe_pm_needs_bo_evict(xe, hibernate)) {
+		/* 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);
@@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
 		struct xe_validation_ctx ctx;
 
 		reinit_completion(&xe->pm_block);
+		if (!xe_pm_needs_bo_evict(xe, action == PM_HIBERNATION_PREPARE))
+			break;
+
 		xe_pm_block_begin_signalling();
 		xe_pm_runtime_get(xe);
 		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
@@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
 	case PM_POST_SUSPEND:
 		complete_all(&xe->pm_block);
 		xe_pm_wake_rebind_workers(xe);
+		if (!xe_pm_needs_bo_evict(xe, action == PM_POST_HIBERNATION))
+			break;
+
 		xe_bo_notifier_unprepare_all_pinned(xe);
 		xe_pm_runtime_put(xe);
 		break;
diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
index 16d4e6c629f1..af81f2a2975f 100644
--- a/drivers/gpu/drm/xe/xe_pm.h
+++ b/drivers/gpu/drm/xe/xe_pm.h
@@ -13,7 +13,7 @@
 
 struct xe_device;
 
-int xe_pm_suspend(struct xe_device *xe);
+int xe_pm_suspend(struct xe_device *xe, bool hibernate);
 int xe_pm_resume(struct xe_device *xe);
 
 int xe_pm_init_early(struct xe_device *xe);

-- 
2.56.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
@ 2026-11-06 10:31   ` sashiko-bot
  2026-11-06 10:32   ` Thomas Hellström
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 15+ messages in thread
From: sashiko-bot @ 2026-11-06 10:31 UTC (permalink / raw)
  To: Matthew Auld, intel-xe

Thank you for your contribution! Sashiko AI review found no new issues
in this patch, but noticed 1 related pre-existing issue it does not
introduce:
- [High] drm/xe: missing GT resume on xe_pm_runtime_suspend() error path
  [1]
--

commit 6e0e7a2f201b73b5b02bb232ce3a960f5bc33388
Author: Matthew Auld <matthew.auld@intel.com>

drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep

This commit distinguishes S4 hibernation from S2idle/S3 suspend and skips BO
eviction and pinned BO preparation on iGPU platforms when not hibernating.

> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
> index f483b565d323f..63bcb4aef461b 100644
> --- a/drivers/gpu/drm/xe/xe_pm.c
> +++ b/drivers/gpu/drm/xe/xe_pm.c

[ ... ]

> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>  
>  	xe_display_pm_suspend(xe);
>  
> -	/* FIXME: Super racey... */
> -	err = xe_bo_evict_all(xe);
> -	if (err)
> -		goto err_display;
> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
> +		/* 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);

[Severity: High]
This problem wasn't introduced by this patch, but if a subsequent GT fails to
suspend in the for_each_gt() loop in xe_pm_suspend() or
xe_pm_runtime_suspend() [1], does the error path leave earlier GTs
suspended?

drivers/gpu/drm/xe/xe_pm.c:xe_pm_suspend() {
	...
	for_each_gt(gt, xe, id) {
		err = xe_gt_suspend(gt);
		if (err)
			goto err_display;
	}
	...
err_display:
	xe_display_pm_resume(xe);
	xe_pxp_pm_resume(xe->pxp);
err:
	drm_dbg(&xe->drm, "Device suspend failed %d\n", err);
	xe_pm_block_end_signalling();
	return err;
}

Neither err_display in xe_pm_suspend() nor out_resume in
xe_pm_runtime_suspend() resumes the GTs that already succeeded before the
failure.  When suspend is aborted, the PM core keeps the device active while
those GTs remain physically suspended, leading to timeouts and hardware hangs
on subsequent access.

[1] https://sashiko.dev/#/bug/linux-5b6a3fb9-c8f9-45a4-a04c-2bc0919df0d7

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106-s4-opti-v1-0-5edaea2c6d31@intel.com?part=2

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
  2026-11-06 10:31   ` sashiko-bot
@ 2026-11-06 10:32   ` Thomas Hellström
  2026-11-06 11:02     ` Matthew Auld
  2026-11-06 15:11   ` Thomas Hellström
  2026-11-06 17:07   ` Ville Syrjälä
  3 siblings, 1 reply; 15+ messages in thread
From: Thomas Hellström @ 2026-11-06 10:32 UTC (permalink / raw)
  To: Matthew Auld, intel-xe; +Cc: Matthew Brost, Carlos Santa

Hi, Matthew,

On Fri, 2026-11-06 at 10:16 +0000, Matthew Auld wrote:
> On iGPU platforms, system RAM and graphics stolen memory remain
> powered
> during S2idle and S3 (< S4) suspend, so evicting user buffers or
> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
> buffers in userspace caches.
> 
> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction
> on
> iGPU when not creating a hibernation image.

Isn't there a risk that compression metadata is lost or cleared on S3
resume if we don't back it up?

Thanks,
Thomas


> 
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Carlos Santa <carlos.santa@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>  drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>  drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>  3 files changed, 39 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c
> b/drivers/gpu/drm/xe/xe_pci.c
> index ba23ec60477b..67be6e707361 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev,
> enum toggle_d3cold toggle)
>  	}
>  }
>  
> -static int xe_pci_suspend(struct device *dev)
> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
>  	struct xe_device *xe = pdev_to_xe_device(pdev);
> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>  	if (xe_survivability_mode_is_boot_enabled(xe))
>  		return -EBUSY;
>  
> -	err = xe_pm_suspend(xe);
> +	err = xe_pm_suspend(xe, hibernate);
>  	if (err)
>  		return err;
>  
> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>  	return 0;
>  }
>  
> +static int xe_pci_suspend(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, false);
> +}
> +
> +static int xe_pci_freeze(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, true);
> +}
> +
>  static int xe_pci_resume(struct device *dev)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device
> *dev)
>  }
>  
>  static const struct dev_pm_ops xe_pm_ops = {
> -	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
> +	.suspend = pm_sleep_ptr(xe_pci_suspend),
> +	.resume = pm_sleep_ptr(xe_pci_resume),
> +	.freeze = pm_sleep_ptr(xe_pci_freeze),
> +	.thaw = pm_sleep_ptr(xe_pci_resume),
> +	.poweroff = pm_sleep_ptr(xe_pci_suspend),
> +	.restore = pm_sleep_ptr(xe_pci_resume),
>  	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend,
> xe_pci_runtime_resume, xe_pci_runtime_idle)
>  };
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
> index 61d68c09189f..e73192b03074 100644
> --- a/drivers/gpu/drm/xe/xe_pm.c
> +++ b/drivers/gpu/drm/xe/xe_pm.c
> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct
> xe_device *xe)
>  			 &xe_pm_runtime_d3cold_map);
>  }
>  
> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool
> hibernate)
> +{
> +	return IS_DGFX(xe) || hibernate;
> +}
> +
>  /**
> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
> >S2idle
> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
> >S2idle / S0->S4
>   * @xe: xe device instance
> + * @hibernate: true if preparing for S4 hibernation, false for < S4
> suspend
>   *
>   * Return: 0 on success
>   */
> -int xe_pm_suspend(struct xe_device *xe)
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>  {
>  	struct xe_gt *gt;
>  	u8 id;
> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>  
>  	xe_display_pm_suspend(xe);
>  
> -	/* FIXME: Super racey... */
> -	err = xe_bo_evict_all(xe);
> -	if (err)
> -		goto err_display;
> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
> +		/* 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);
> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct
> notifier_block *nb,
>  		struct xe_validation_ctx ctx;
>  
>  		reinit_completion(&xe->pm_block);
> +		if (!xe_pm_needs_bo_evict(xe, action ==
> PM_HIBERNATION_PREPARE))
> +			break;
> +
>  		xe_pm_block_begin_signalling();
>  		xe_pm_runtime_get(xe);
>  		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct
> notifier_block *nb,
>  	case PM_POST_SUSPEND:
>  		complete_all(&xe->pm_block);
>  		xe_pm_wake_rebind_workers(xe);
> +		if (!xe_pm_needs_bo_evict(xe, action ==
> PM_POST_HIBERNATION))
> +			break;
> +
>  		xe_bo_notifier_unprepare_all_pinned(xe);
>  		xe_pm_runtime_put(xe);
>  		break;
> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
> index 16d4e6c629f1..af81f2a2975f 100644
> --- a/drivers/gpu/drm/xe/xe_pm.h
> +++ b/drivers/gpu/drm/xe/xe_pm.h
> @@ -13,7 +13,7 @@
>  
>  struct xe_device;
>  
> -int xe_pm_suspend(struct xe_device *xe);
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>  int xe_pm_resume(struct xe_device *xe);
>  
>  int xe_pm_init_early(struct xe_device *xe);

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU
  2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
@ 2026-11-06 10:50   ` sashiko-bot
  2026-11-06 11:34     ` Matthew Auld
  2026-11-06 15:07   ` Thomas Hellström
  1 sibling, 1 reply; 15+ messages in thread
From: sashiko-bot @ 2026-11-06 10:50 UTC (permalink / raw)
  To: Matthew Auld, intel-xe

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe: missing ttm_bo_unmap_virtual() before xe_ttm_bo_purge()
  in eviction
--

commit 0a382553920cfe97389f0ff2b7a78f7419640c3e
Author: Matthew Auld <matthew.auld@intel.com>

drm/xe: only evict CCS buffers from TT on iGPU

This commit changes xe_bo_evict_all_user() on iGPU platforms with Flat CCS
to walk the XE_PL_TT LRU and only evict or purge buffers with initialized
CCS state rather than evicting all buffers in TT.

> diff --git a/drivers/gpu/drm/xe/xe_bo_evict.c b/drivers/gpu/drm/xe/xe_bo_evict.c
> index 7661fca7f278f..1f95769c4a562 100644
> --- a/drivers/gpu/drm/xe/xe_bo_evict.c
> +++ b/drivers/gpu/drm/xe/xe_bo_evict.c
[ ... ]
> @@ -104,8 +106,46 @@ void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe)
>  				    xe_bo_notifier_unprepare_pinned);
>  }
>  
> +static int xe_bo_evict_all_ccs(struct ttm_resource_manager *man)
> +{
> +	struct ttm_operation_ctx ctx = {
> +		.interruptible = false,
> +		.no_wait_gpu = false,
> +	};
> +	struct ttm_lru_walk_arg arg = {
> +		.ctx = &ctx,
> +		.sleeping_lock = true,
> +	};
> +	struct ttm_bo_lru_cursor cursor;
> +	struct ttm_buffer_object *ttm_bo;
> +	int ret = 0;
> +
> +	ttm_bo_lru_for_each_reserved_guarded(&cursor, man, &arg, ttm_bo) {
> +		struct xe_bo *bo;
> +
> +		if (!xe_bo_is_xe_bo(ttm_bo) || ttm_bo->deleted)
> +			continue;
> +
> +		bo = ttm_to_xe_bo(ttm_bo);
> +		if (xe_bo_is_pinned(bo) || !xe_bo_needs_ccs_pages(bo) ||
> +		    !bo->ccs_cleared)
> +			continue;
> +
> +		if (xe_bo_madv_is_dontneed(bo))
> +			ret = xe_ttm_bo_purge(ttm_bo, &ctx);

[Severity: High]
Does calling xe_ttm_bo_purge() directly without ttm_bo_unmap_virtual()
leave userspace CPU mmap PTEs pointing to freed backing pages?

When a CPU-faulted BO is marked DONTNEED via xe_vm_madvise_ioctl(),
PTE invalidation is deferred until the BO is moved or purged.  Previously,
ttm_resource_manager_evict_all() went through ttm_bo_handle_move_mem(),
which calls ttm_bo_unmap_virtual() before invoking xe_bo_move() ->
xe_ttm_bo_purge().

Calling xe_ttm_bo_purge() directly here runs xe_bo_move_notify() (which
only unmaps kernel vmaps) and then calls ttm_bo_validate() with an empty
placement, which goes straight to ttm_bo_pipeline_gutting() and frees the
pages back to the TTM page pool without unmapping userspace CPU PTEs.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106-s4-opti-v1-0-5edaea2c6d31@intel.com?part=1

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:32   ` Thomas Hellström
@ 2026-11-06 11:02     ` Matthew Auld
  2026-11-06 13:16       ` Matthew Auld
  0 siblings, 1 reply; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 11:02 UTC (permalink / raw)
  To: Thomas Hellström, intel-xe; +Cc: Matthew Brost, Carlos Santa

Hey,

On 06/11/2026 10:32, Thomas Hellström wrote:
> Hi, Matthew,
> 
> On Fri, 2026-11-06 at 10:16 +0000, Matthew Auld wrote:
>> On iGPU platforms, system RAM and graphics stolen memory remain
>> powered
>> during S2idle and S3 (< S4) suspend, so evicting user buffers or
>> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
>> buffers in userspace caches.
>>
>> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
>> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction
>> on
>> iGPU when not creating a hibernation image.
> 
> Isn't there a risk that compression metadata is lost or cleared on S3
> resume if we don't back it up?

In theory it just lives in RAM which will self-refresh in s3 etc. In the 
xe2+ memory compression SAS, it explicitly says: "During S4, CCS pool 
will be lost", but for s3 etc it should "persist".

> 
> Thanks,
> Thomas
> 
> 
>>
>> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>> Cc: Matthew Brost <matthew.brost@intel.com>
>> Cc: Carlos Santa <carlos.santa@intel.com>
>> ---
>>   drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>>   drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>>   drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>>   3 files changed, 39 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_pci.c
>> b/drivers/gpu/drm/xe/xe_pci.c
>> index ba23ec60477b..67be6e707361 100644
>> --- a/drivers/gpu/drm/xe/xe_pci.c
>> +++ b/drivers/gpu/drm/xe/xe_pci.c
>> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev,
>> enum toggle_d3cold toggle)
>>   	}
>>   }
>>   
>> -static int xe_pci_suspend(struct device *dev)
>> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>>   {
>>   	struct pci_dev *pdev = to_pci_dev(dev);
>>   	struct xe_device *xe = pdev_to_xe_device(pdev);
>> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>>   	if (xe_survivability_mode_is_boot_enabled(xe))
>>   		return -EBUSY;
>>   
>> -	err = xe_pm_suspend(xe);
>> +	err = xe_pm_suspend(xe, hibernate);
>>   	if (err)
>>   		return err;
>>   
>> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>>   	return 0;
>>   }
>>   
>> +static int xe_pci_suspend(struct device *dev)
>> +{
>> +	return __xe_pci_suspend(dev, false);
>> +}
>> +
>> +static int xe_pci_freeze(struct device *dev)
>> +{
>> +	return __xe_pci_suspend(dev, true);
>> +}
>> +
>>   static int xe_pci_resume(struct device *dev)
>>   {
>>   	struct pci_dev *pdev = to_pci_dev(dev);
>> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device
>> *dev)
>>   }
>>   
>>   static const struct dev_pm_ops xe_pm_ops = {
>> -	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
>> +	.suspend = pm_sleep_ptr(xe_pci_suspend),
>> +	.resume = pm_sleep_ptr(xe_pci_resume),
>> +	.freeze = pm_sleep_ptr(xe_pci_freeze),
>> +	.thaw = pm_sleep_ptr(xe_pci_resume),
>> +	.poweroff = pm_sleep_ptr(xe_pci_suspend),
>> +	.restore = pm_sleep_ptr(xe_pci_resume),
>>   	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend,
>> xe_pci_runtime_resume, xe_pci_runtime_idle)
>>   };
>>   #endif
>> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
>> index 61d68c09189f..e73192b03074 100644
>> --- a/drivers/gpu/drm/xe/xe_pm.c
>> +++ b/drivers/gpu/drm/xe/xe_pm.c
>> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct
>> xe_device *xe)
>>   			 &xe_pm_runtime_d3cold_map);
>>   }
>>   
>> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool
>> hibernate)
>> +{
>> +	return IS_DGFX(xe) || hibernate;
>> +}
>> +
>>   /**
>> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
>>> S2idle
>> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
>>> S2idle / S0->S4
>>    * @xe: xe device instance
>> + * @hibernate: true if preparing for S4 hibernation, false for < S4
>> suspend
>>    *
>>    * Return: 0 on success
>>    */
>> -int xe_pm_suspend(struct xe_device *xe)
>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>>   {
>>   	struct xe_gt *gt;
>>   	u8 id;
>> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>>   
>>   	xe_display_pm_suspend(xe);
>>   
>> -	/* FIXME: Super racey... */
>> -	err = xe_bo_evict_all(xe);
>> -	if (err)
>> -		goto err_display;
>> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
>> +		/* 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);
>> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct
>> notifier_block *nb,
>>   		struct xe_validation_ctx ctx;
>>   
>>   		reinit_completion(&xe->pm_block);
>> +		if (!xe_pm_needs_bo_evict(xe, action ==
>> PM_HIBERNATION_PREPARE))
>> +			break;
>> +
>>   		xe_pm_block_begin_signalling();
>>   		xe_pm_runtime_get(xe);
>>   		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
>> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct
>> notifier_block *nb,
>>   	case PM_POST_SUSPEND:
>>   		complete_all(&xe->pm_block);
>>   		xe_pm_wake_rebind_workers(xe);
>> +		if (!xe_pm_needs_bo_evict(xe, action ==
>> PM_POST_HIBERNATION))
>> +			break;
>> +
>>   		xe_bo_notifier_unprepare_all_pinned(xe);
>>   		xe_pm_runtime_put(xe);
>>   		break;
>> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
>> index 16d4e6c629f1..af81f2a2975f 100644
>> --- a/drivers/gpu/drm/xe/xe_pm.h
>> +++ b/drivers/gpu/drm/xe/xe_pm.h
>> @@ -13,7 +13,7 @@
>>   
>>   struct xe_device;
>>   
>> -int xe_pm_suspend(struct xe_device *xe);
>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>>   int xe_pm_resume(struct xe_device *xe);
>>   
>>   int xe_pm_init_early(struct xe_device *xe);


^ permalink raw reply	[flat|nested] 15+ messages in thread

* ✓ CI.KUnit: success for Optimise suspend handling for CCS igpu platforms
  2026-11-06 10:16 [PATCH 0/2] Optimise suspend handling for CCS igpu platforms Matthew Auld
  2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
@ 2026-11-06 11:06 ` Patchwork
  2026-11-06 11:40 ` ✓ Xe.CI.BAT: " Patchwork
  3 siblings, 0 replies; 15+ messages in thread
From: Patchwork @ 2026-11-06 11:06 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe

== Series Details ==

Series: Optimise suspend handling for CCS igpu platforms
URL   : https://patchwork.freedesktop.org/series/177963/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[11:04:29] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:04:34] 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
[11:04:54] Starting KUnit Kernel (1/1)...
[11:04:54] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:04:54] ================= gpu_buddy (14 subtests) ==================
[11:04:54] [PASSED] gpu_test_buddy_alloc_limit
[11:04:54] [PASSED] gpu_test_buddy_alloc_optimistic
[11:04:54] [PASSED] gpu_test_buddy_alloc_pessimistic
[11:04:54] [PASSED] gpu_test_buddy_alloc_pathological
[11:04:54] [PASSED] gpu_test_buddy_alloc_contiguous
[11:04:54] [PASSED] gpu_test_buddy_alloc_clear
[11:04:54] [PASSED] gpu_test_buddy_alloc_range
[11:04:55] [PASSED] gpu_test_buddy_alloc_range_bias
[11:04:55] [PASSED] gpu_test_buddy_fragmentation_performance
[11:04:56] [PASSED] gpu_test_buddy_dirty_tracker_performance
[11:04:56] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[11:04:56] [PASSED] gpu_test_buddy_offset_aligned_allocation
[11:04:56] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[11:04:56] [PASSED] gpu_test_buddy_addr_to_block
[11:04:56] ==================== [PASSED] gpu_buddy ====================
[11:04:56] ============================================================
[11:04:56] Testing complete. Ran 14 tests: passed: 14
[11:04:56] Elapsed time: 27.380s total, 5.180s configuring, 20.332s building, 1.821s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[11:04:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:04:59] 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
[11:05:37] Starting KUnit Kernel (1/1)...
[11:05:37] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:05:38] ================== guc_buf (11 subtests) ===================
[11:05:38] [PASSED] test_smallest
[11:05:38] [PASSED] test_largest
[11:05:38] [PASSED] test_granular
[11:05:38] [PASSED] test_unique
[11:05:38] [PASSED] test_overlap
[11:05:38] [PASSED] test_reusable
[11:05:38] [PASSED] test_too_big
[11:05:38] [PASSED] test_flush
[11:05:38] [PASSED] test_lookup
[11:05:38] [PASSED] test_data
[11:05:38] [PASSED] test_class
[11:05:38] ===================== [PASSED] guc_buf =====================
[11:05:38] =================== guc_dbm (7 subtests) ===================
[11:05:38] [PASSED] test_empty
[11:05:38] [PASSED] test_default
[11:05:38] ======================== test_size  ========================
[11:05:38] [PASSED] 4
[11:05:38] [PASSED] 8
[11:05:38] [PASSED] 32
[11:05:38] [PASSED] 256
[11:05:38] ==================== [PASSED] test_size ====================
[11:05:38] ======================= test_reuse  ========================
[11:05:38] [PASSED] 4
[11:05:38] [PASSED] 8
[11:05:38] [PASSED] 32
[11:05:38] [PASSED] 256
[11:05:38] =================== [PASSED] test_reuse ====================
[11:05:38] =================== test_range_overlap  ====================
[11:05:38] [PASSED] 4
[11:05:38] [PASSED] 8
[11:05:38] [PASSED] 32
[11:05:38] [PASSED] 256
[11:05:38] =============== [PASSED] test_range_overlap ================
[11:05:38] =================== test_range_compact  ====================
[11:05:38] [PASSED] 4
[11:05:38] [PASSED] 8
[11:05:38] [PASSED] 32
[11:05:38] [PASSED] 256
[11:05:38] =============== [PASSED] test_range_compact ================
[11:05:38] ==================== test_range_spare  =====================
[11:05:38] [PASSED] 4
[11:05:38] [PASSED] 8
[11:05:38] [PASSED] 32
[11:05:38] [PASSED] 256
[11:05:38] ================ [PASSED] test_range_spare =================
[11:05:38] ===================== [PASSED] guc_dbm =====================
[11:05:38] ================== guc_idm (22 subtests) ===================
[11:05:38] [PASSED] bad_init
[11:05:38] [PASSED] no_init
[11:05:38] [PASSED] init_fini
[11:05:38] [PASSED] check_init_small
[11:05:38] [PASSED] check_init_shared
[11:05:38] [PASSED] check_used
[11:05:38] [PASSED] check_quota
[11:05:38] [PASSED] check_all
[11:05:38] [PASSED] check_limits
[11:05:38] [PASSED] check_overlap
[11:05:38] [PASSED] check_overlap_alloc
[11:05:38] [PASSED] check_overlap_release
[11:05:38] [PASSED] check_overlap_partial_init
[11:05:38] [PASSED] check_overlap_partial_shared_range_blocking
[11:05:38] [PASSED] check_used_usable
[11:05:38] [PASSED] check_used_shareable
[11:05:38] [PASSED] check_used_mixed
[11:05:38] [PASSED] check_release_usable_range
[11:05:38] [PASSED] check_release_shareable_range
[11:05:38] [PASSED] check_split_boundaries
[11:05:38] [PASSED] check_shareable_spare
[11:05:38] [PASSED] check_shareable_spare_fragmented_tail
[11:05:38] ===================== [PASSED] guc_idm =====================
[11:05:38] ============== guc_klv_helpers (13 subtests) ===============
[11:05:38] [PASSED] test_count
[11:05:38] [PASSED] test_encode_u32
[11:05:38] [PASSED] test_encode_u64
[11:05:38] [PASSED] test_encode_string
[11:05:38] [PASSED] test_encode_object_raw
[11:05:38] [PASSED] test_encode_object_klv
[11:05:38] [PASSED] test_encode_object_nested
[11:05:38] [PASSED] test_encode_object_basic
[11:05:38] ===================== test_decode_u16  =====================
[11:05:38] [PASSED] empty
[11:05:38] [PASSED] valid
[11:05:38] [PASSED] max
[11:05:38] [PASSED] big
[11:05:38] [PASSED] long
[11:05:38] ================= [PASSED] test_decode_u16 =================
[11:05:38] ===================== test_decode_u32  =====================
[11:05:38] [PASSED] empty
[11:05:38] [PASSED] valid
[11:05:38] [PASSED] max
[11:05:38] [PASSED] long
[11:05:38] ================= [PASSED] test_decode_u32 =================
[11:05:38] ===================== test_decode_u64  =====================
[11:05:38] [PASSED] empty
[11:05:38] [PASSED] short
[11:05:38] [PASSED] valid
[11:05:38] [PASSED] max
[11:05:38] [PASSED] long
[11:05:38] ================= [PASSED] test_decode_u64 =================
[11:05:38] ===================== test_decode_str  =====================
[11:05:38] [PASSED] empty
[11:05:38] [PASSED] one
[11:05:38] [PASSED] one_trash
[11:05:38] [PASSED] two
[11:05:38] [PASSED] two_trash
[11:05:38] [PASSED] three
[11:05:38] [PASSED] dword
[11:05:38] [PASSED] four
[11:05:38] [PASSED] five
[11:05:38] [PASSED] six
[11:05:38] [PASSED] seven
[11:05:38] [PASSED] qword
[11:05:38] ================= [PASSED] test_decode_str =================
[11:05:38] [PASSED] test_print
[11:05:38] ================= [PASSED] guc_klv_helpers =================
[11:05:38] =================== xe_log (4 subtests) ====================
[11:05:38] [PASSED] demo_cper
[11:05:38] [PASSED] demo_dmesg
[11:05:38] ======================= test_dmesg  ========================
[11:05:38] [PASSED] test_fatal
[11:05:38] [PASSED] test_fatal_tile
[11:05:38] [PASSED] test_fatal_gt
[11:05:38] [PASSED] test_fatal_comp
[11:05:38] [PASSED] test_fatal_comp_tile
[11:05:38] [PASSED] test_fatal_comp_gt
[11:05:38] [PASSED] test_fatal_all
[11:05:38] [PASSED] test_recoverable
[11:05:38] [PASSED] test_recoverable_tile
[11:05:38] [PASSED] test_recoverable_gt
[11:05:38] [PASSED] test_recoverable_comp
[11:05:38] [PASSED] test_recoverable_comp_tile
[11:05:38] [PASSED] test_recoverable_comp_gt
[11:05:38] [PASSED] test_recoverable_all
[11:05:38] [PASSED] test_info
[11:05:38] [PASSED] test_info_tile
[11:05:38] [PASSED] test_info_gt
[11:05:38] [PASSED] test_info_err
[11:05:38] [PASSED] test_info_comp
[11:05:38] [PASSED] test_info_comp_tile
[11:05:38] [PASSED] test_info_comp_gt
[11:05:38] [PASSED] test_info_all
[11:05:38] [PASSED] test_hw_fatal
[11:05:38] [PASSED] test_hw_recoverable
[11:05:38] [PASSED] test_hw_corrected
[11:05:38] [PASSED] test_hw_informational
[11:05:38] =================== [PASSED] test_dmesg ====================
[11:05:38] ====================== test_invalid  =======================
[11:05:38] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[11:05:38] ================== [SKIPPED] test_invalid ==================
[11:05:38] ===================== [PASSED] xe_log ======================
[11:05:38] ================== no_relay (3 subtests) ===================
[11:05:38] [PASSED] xe_drops_guc2pf_if_not_ready
[11:05:38] [PASSED] xe_drops_guc2vf_if_not_ready
[11:05:38] [PASSED] xe_rejects_send_if_not_ready
[11:05:38] ==================== [PASSED] no_relay =====================
[11:05:38] ================== pf_relay (14 subtests) ==================
[11:05:38] [PASSED] pf_rejects_guc2pf_too_short
[11:05:38] [PASSED] pf_rejects_guc2pf_too_long
[11:05:38] [PASSED] pf_rejects_guc2pf_no_payload
[11:05:38] [PASSED] pf_fails_no_payload
[11:05:38] [PASSED] pf_fails_bad_origin
[11:05:38] [PASSED] pf_fails_bad_type
[11:05:38] [PASSED] pf_txn_reports_error
[11:05:38] [PASSED] pf_txn_sends_pf2guc
[11:05:38] [PASSED] pf_sends_pf2guc
[11:05:38] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[11:05:38] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[11:05:38] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[11:05:38] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[11:05:38] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[11:05:38] ==================== [PASSED] pf_relay =====================
[11:05:38] ================== vf_relay (3 subtests) ===================
[11:05:38] [PASSED] vf_rejects_guc2vf_too_short
[11:05:38] [PASSED] vf_rejects_guc2vf_too_long
[11:05:38] [PASSED] vf_rejects_guc2vf_no_payload
[11:05:38] ==================== [PASSED] vf_relay =====================
[11:05:38] ================ pf_gt_config (9 subtests) =================
[11:05:38] [PASSED] fair_contexts_1vf
[11:05:38] [PASSED] fair_doorbells_1vf
[11:05:38] [PASSED] fair_ggtt_1vf
[11:05:38] ====================== fair_vram_1vf  ======================
[11:05:38] [PASSED] 3.50 GiB
[11:05:38] [PASSED] 11.5 GiB
[11:05:38] [PASSED] 15.5 GiB
[11:05:38] [PASSED] 31.5 GiB
[11:05:38] [PASSED] 63.5 GiB
[11:05:38] [PASSED] 1.91 GiB
[11:05:38] ================== [PASSED] fair_vram_1vf ==================
[11:05:38] ================ fair_vram_1vf_admin_only  =================
[11:05:38] [PASSED] 3.50 GiB
[11:05:38] [PASSED] 11.5 GiB
[11:05:38] [PASSED] 15.5 GiB
[11:05:38] [PASSED] 31.5 GiB
[11:05:38] [PASSED] 63.5 GiB
[11:05:38] [PASSED] 1.91 GiB
[11:05:38] ============ [PASSED] fair_vram_1vf_admin_only =============
[11:05:38] ====================== fair_contexts  ======================
[11:05:38] [PASSED] 1 VF
[11:05:38] [PASSED] 2 VFs
[11:05:38] [PASSED] 3 VFs
[11:05:38] [PASSED] 4 VFs
[11:05:38] [PASSED] 5 VFs
[11:05:38] [PASSED] 6 VFs
[11:05:38] [PASSED] 7 VFs
[11:05:38] [PASSED] 8 VFs
[11:05:38] [PASSED] 9 VFs
[11:05:38] [PASSED] 10 VFs
[11:05:38] [PASSED] 11 VFs
[11:05:38] [PASSED] 12 VFs
[11:05:38] [PASSED] 13 VFs
[11:05:38] [PASSED] 14 VFs
[11:05:38] [PASSED] 15 VFs
[11:05:38] [PASSED] 16 VFs
[11:05:38] [PASSED] 17 VFs
[11:05:38] [PASSED] 18 VFs
[11:05:38] [PASSED] 19 VFs
[11:05:38] [PASSED] 20 VFs
[11:05:38] [PASSED] 21 VFs
[11:05:38] [PASSED] 22 VFs
[11:05:38] [PASSED] 23 VFs
[11:05:38] [PASSED] 24 VFs
[11:05:38] [PASSED] 25 VFs
[11:05:38] [PASSED] 26 VFs
[11:05:38] [PASSED] 27 VFs
[11:05:38] [PASSED] 28 VFs
[11:05:38] [PASSED] 29 VFs
[11:05:38] [PASSED] 30 VFs
[11:05:38] [PASSED] 31 VFs
[11:05:38] [PASSED] 32 VFs
[11:05:38] [PASSED] 33 VFs
[11:05:38] [PASSED] 34 VFs
[11:05:38] [PASSED] 35 VFs
[11:05:38] [PASSED] 36 VFs
[11:05:38] [PASSED] 37 VFs
[11:05:38] [PASSED] 38 VFs
[11:05:38] [PASSED] 39 VFs
[11:05:38] [PASSED] 40 VFs
[11:05:38] [PASSED] 41 VFs
[11:05:38] [PASSED] 42 VFs
[11:05:38] [PASSED] 43 VFs
[11:05:38] [PASSED] 44 VFs
[11:05:38] [PASSED] 45 VFs
[11:05:38] [PASSED] 46 VFs
[11:05:38] [PASSED] 47 VFs
[11:05:38] [PASSED] 48 VFs
[11:05:38] [PASSED] 49 VFs
[11:05:38] [PASSED] 50 VFs
[11:05:38] [PASSED] 51 VFs
[11:05:38] [PASSED] 52 VFs
[11:05:38] [PASSED] 53 VFs
[11:05:38] [PASSED] 54 VFs
[11:05:38] [PASSED] 55 VFs
[11:05:38] [PASSED] 56 VFs
[11:05:38] [PASSED] 57 VFs
[11:05:38] [PASSED] 58 VFs
[11:05:38] [PASSED] 59 VFs
[11:05:38] [PASSED] 60 VFs
[11:05:38] [PASSED] 61 VFs
[11:05:38] [PASSED] 62 VFs
[11:05:38] [PASSED] 63 VFs
[11:05:38] ================== [PASSED] fair_contexts ==================
[11:05:38] ===================== fair_doorbells  ======================
[11:05:38] [PASSED] 1 VF
[11:05:38] [PASSED] 2 VFs
[11:05:38] [PASSED] 3 VFs
[11:05:38] [PASSED] 4 VFs
[11:05:38] [PASSED] 5 VFs
[11:05:38] [PASSED] 6 VFs
[11:05:38] [PASSED] 7 VFs
[11:05:38] [PASSED] 8 VFs
[11:05:38] [PASSED] 9 VFs
[11:05:38] [PASSED] 10 VFs
[11:05:38] [PASSED] 11 VFs
[11:05:38] [PASSED] 12 VFs
[11:05:38] [PASSED] 13 VFs
[11:05:38] [PASSED] 14 VFs
[11:05:38] [PASSED] 15 VFs
[11:05:38] [PASSED] 16 VFs
[11:05:38] [PASSED] 17 VFs
[11:05:38] [PASSED] 18 VFs
[11:05:38] [PASSED] 19 VFs
[11:05:38] [PASSED] 20 VFs
[11:05:38] [PASSED] 21 VFs
[11:05:38] [PASSED] 22 VFs
[11:05:38] [PASSED] 23 VFs
[11:05:38] [PASSED] 24 VFs
[11:05:38] [PASSED] 25 VFs
[11:05:38] [PASSED] 26 VFs
[11:05:38] [PASSED] 27 VFs
[11:05:38] [PASSED] 28 VFs
[11:05:38] [PASSED] 29 VFs
[11:05:38] [PASSED] 30 VFs
[11:05:38] [PASSED] 31 VFs
[11:05:38] [PASSED] 32 VFs
[11:05:38] [PASSED] 33 VFs
[11:05:38] [PASSED] 34 VFs
[11:05:38] [PASSED] 35 VFs
[11:05:38] [PASSED] 36 VFs
[11:05:38] [PASSED] 37 VFs
[11:05:38] [PASSED] 38 VFs
[11:05:38] [PASSED] 39 VFs
[11:05:38] [PASSED] 40 VFs
[11:05:38] [PASSED] 41 VFs
[11:05:38] [PASSED] 42 VFs
[11:05:38] [PASSED] 43 VFs
[11:05:38] [PASSED] 44 VFs
[11:05:38] [PASSED] 45 VFs
[11:05:38] [PASSED] 46 VFs
[11:05:38] [PASSED] 47 VFs
[11:05:38] [PASSED] 48 VFs
[11:05:38] [PASSED] 49 VFs
[11:05:38] [PASSED] 50 VFs
[11:05:38] [PASSED] 51 VFs
[11:05:38] [PASSED] 52 VFs
[11:05:38] [PASSED] 53 VFs
[11:05:38] [PASSED] 54 VFs
[11:05:38] [PASSED] 55 VFs
[11:05:38] [PASSED] 56 VFs
[11:05:38] [PASSED] 57 VFs
[11:05:38] [PASSED] 58 VFs
[11:05:38] [PASSED] 59 VFs
[11:05:38] [PASSED] 60 VFs
[11:05:38] [PASSED] 61 VFs
[11:05:38] [PASSED] 62 VFs
[11:05:38] [PASSED] 63 VFs
[11:05:38] ================= [PASSED] fair_doorbells ==================
[11:05:38] ======================== fair_ggtt  ========================
[11:05:38] [PASSED] 1 VF
[11:05:38] [PASSED] 2 VFs
[11:05:38] [PASSED] 3 VFs
[11:05:38] [PASSED] 4 VFs
[11:05:38] [PASSED] 5 VFs
[11:05:38] [PASSED] 6 VFs
[11:05:38] [PASSED] 7 VFs
[11:05:38] [PASSED] 8 VFs
[11:05:38] [PASSED] 9 VFs
[11:05:38] [PASSED] 10 VFs
[11:05:38] [PASSED] 11 VFs
[11:05:38] [PASSED] 12 VFs
[11:05:38] [PASSED] 13 VFs
[11:05:38] [PASSED] 14 VFs
[11:05:38] [PASSED] 15 VFs
[11:05:38] [PASSED] 16 VFs
[11:05:38] [PASSED] 17 VFs
[11:05:38] [PASSED] 18 VFs
[11:05:38] [PASSED] 19 VFs
[11:05:38] [PASSED] 20 VFs
[11:05:38] [PASSED] 21 VFs
[11:05:38] [PASSED] 22 VFs
[11:05:38] [PASSED] 23 VFs
[11:05:38] [PASSED] 24 VFs
[11:05:38] [PASSED] 25 VFs
[11:05:38] [PASSED] 26 VFs
[11:05:38] [PASSED] 27 VFs
[11:05:38] [PASSED] 28 VFs
[11:05:38] [PASSED] 29 VFs
[11:05:38] [PASSED] 30 VFs
[11:05:38] [PASSED] 31 VFs
[11:05:38] [PASSED] 32 VFs
[11:05:38] [PASSED] 33 VFs
[11:05:38] [PASSED] 34 VFs
[11:05:38] [PASSED] 35 VFs
[11:05:38] [PASSED] 36 VFs
[11:05:38] [PASSED] 37 VFs
[11:05:38] [PASSED] 38 VFs
[11:05:38] [PASSED] 39 VFs
[11:05:38] [PASSED] 40 VFs
[11:05:38] [PASSED] 41 VFs
[11:05:38] [PASSED] 42 VFs
[11:05:38] [PASSED] 43 VFs
[11:05:38] [PASSED] 44 VFs
[11:05:38] [PASSED] 45 VFs
[11:05:38] [PASSED] 46 VFs
[11:05:38] [PASSED] 47 VFs
[11:05:38] [PASSED] 48 VFs
[11:05:38] [PASSED] 49 VFs
[11:05:38] [PASSED] 50 VFs
[11:05:38] [PASSED] 51 VFs
[11:05:38] [PASSED] 52 VFs
[11:05:38] [PASSED] 53 VFs
[11:05:38] [PASSED] 54 VFs
[11:05:38] [PASSED] 55 VFs
[11:05:38] [PASSED] 56 VFs
[11:05:38] [PASSED] 57 VFs
[11:05:38] [PASSED] 58 VFs
[11:05:38] [PASSED] 59 VFs
[11:05:38] [PASSED] 60 VFs
[11:05:38] [PASSED] 61 VFs
[11:05:38] [PASSED] 62 VFs
[11:05:38] [PASSED] 63 VFs
[11:05:38] ==================== [PASSED] fair_ggtt ====================
[11:05:38] ======================== fair_vram  ========================
[11:05:38] [PASSED] 1 VF
[11:05:38] [PASSED] 2 VFs
[11:05:38] [PASSED] 3 VFs
[11:05:38] [PASSED] 4 VFs
[11:05:38] [PASSED] 5 VFs
[11:05:38] [PASSED] 6 VFs
[11:05:38] [PASSED] 7 VFs
[11:05:38] [PASSED] 8 VFs
[11:05:38] [PASSED] 9 VFs
[11:05:38] [PASSED] 10 VFs
[11:05:38] [PASSED] 11 VFs
[11:05:38] [PASSED] 12 VFs
[11:05:38] [PASSED] 13 VFs
[11:05:38] [PASSED] 14 VFs
[11:05:38] [PASSED] 15 VFs
[11:05:38] [PASSED] 16 VFs
[11:05:38] [PASSED] 17 VFs
[11:05:38] [PASSED] 18 VFs
[11:05:38] [PASSED] 19 VFs
[11:05:38] [PASSED] 20 VFs
[11:05:38] [PASSED] 21 VFs
[11:05:38] [PASSED] 22 VFs
[11:05:38] [PASSED] 23 VFs
[11:05:38] [PASSED] 24 VFs
[11:05:38] [PASSED] 25 VFs
[11:05:38] [PASSED] 26 VFs
[11:05:38] [PASSED] 27 VFs
[11:05:38] [PASSED] 28 VFs
[11:05:38] [PASSED] 29 VFs
[11:05:38] [PASSED] 30 VFs
[11:05:38] [PASSED] 31 VFs
[11:05:38] [PASSED] 32 VFs
[11:05:38] [PASSED] 33 VFs
[11:05:38] [PASSED] 34 VFs
[11:05:38] [PASSED] 35 VFs
[11:05:38] [PASSED] 36 VFs
[11:05:38] [PASSED] 37 VFs
[11:05:38] [PASSED] 38 VFs
[11:05:38] [PASSED] 39 VFs
[11:05:38] [PASSED] 40 VFs
[11:05:38] [PASSED] 41 VFs
[11:05:38] [PASSED] 42 VFs
[11:05:38] [PASSED] 43 VFs
[11:05:38] [PASSED] 44 VFs
[11:05:38] [PASSED] 45 VFs
[11:05:38] [PASSED] 46 VFs
[11:05:38] [PASSED] 47 VFs
[11:05:38] [PASSED] 48 VFs
[11:05:38] [PASSED] 49 VFs
[11:05:38] [PASSED] 50 VFs
[11:05:38] [PASSED] 51 VFs
[11:05:38] [PASSED] 52 VFs
[11:05:38] [PASSED] 53 VFs
[11:05:38] [PASSED] 54 VFs
[11:05:38] [PASSED] 55 VFs
[11:05:38] [PASSED] 56 VFs
[11:05:38] [PASSED] 57 VFs
[11:05:38] [PASSED] 58 VFs
[11:05:38] [PASSED] 59 VFs
[11:05:38] [PASSED] 60 VFs
[11:05:38] [PASSED] 61 VFs
[11:05:38] [PASSED] 62 VFs
[11:05:38] [PASSED] 63 VFs
[11:05:38] ==================== [PASSED] fair_vram ====================
[11:05:38] ================== [PASSED] pf_gt_config ===================
[11:05:38] ===================== lmtt (1 subtest) =====================
[11:05:38] ======================== test_ops  =========================
[11:05:38] [PASSED] 2-level
[11:05:38] [PASSED] multi-level
[11:05:38] ==================== [PASSED] test_ops =====================
[11:05:38] ====================== [PASSED] lmtt =======================
[11:05:38] ================= sriov_packet (1 subtest) =================
[11:05:38] [PASSED] test_descriptor_init
[11:05:38] ================== [PASSED] sriov_packet ===================
[11:05:38] ================= pf_service (11 subtests) =================
[11:05:38] [PASSED] pf_negotiate_any
[11:05:38] [PASSED] pf_negotiate_base_match
[11:05:38] [PASSED] pf_negotiate_base_newer
[11:05:38] [PASSED] pf_negotiate_base_next
[11:05:38] [SKIPPED] pf_negotiate_base_older (no older minor)
[11:05:38] [PASSED] pf_negotiate_base_prev
[11:05:38] [PASSED] pf_negotiate_latest_match
[11:05:38] [PASSED] pf_negotiate_latest_newer
[11:05:38] [PASSED] pf_negotiate_latest_next
[11:05:38] [SKIPPED] pf_negotiate_latest_older (no older minor)
[11:05:38] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[11:05:38] =================== [PASSED] pf_service ====================
[11:05:38] ================= xe_guc_g2g (2 subtests) ==================
[11:05:38] ============== xe_live_guc_g2g_kunit_default  ==============
[11:05:38] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[11:05:38] ============== xe_live_guc_g2g_kunit_allmem  ===============
[11:05:38] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[11:05:38] =================== [SKIPPED] xe_guc_g2g ===================
[11:05:38] =================== xe_mocs (2 subtests) ===================
[11:05:38] ================ xe_live_mocs_kernel_kunit  ================
[11:05:38] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[11:05:38] ================ xe_live_mocs_reset_kunit  =================
[11:05:38] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[11:05:38] ==================== [SKIPPED] xe_mocs =====================
[11:05:38] ================= xe_migrate (3 subtests) ==================
[11:05:38] ================= xe_migrate_sanity_kunit  =================
[11:05:38] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[11:05:38] ================== xe_validate_ccs_kunit  ==================
[11:05:38] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[11:05:38] ============= xe_migrate_access_memory_kunit  ==============
[11:05:38] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[11:05:38] =================== [SKIPPED] xe_migrate ===================
[11:05:38] ================== xe_dma_buf (1 subtest) ==================
[11:05:38] ==================== xe_dma_buf_kunit  =====================
[11:05:38] ================ [SKIPPED] xe_dma_buf_kunit ================
[11:05:38] =================== [SKIPPED] xe_dma_buf ===================
[11:05:38] ================= xe_bo_shrink (1 subtest) =================
[11:05:38] =================== xe_bo_shrink_kunit  ====================
[11:05:38] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[11:05:38] ================== [SKIPPED] xe_bo_shrink ==================
[11:05:38] ==================== xe_bo (2 subtests) ====================
[11:05:38] ================== xe_ccs_migrate_kunit  ===================
[11:05:38] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[11:05:38] ==================== xe_bo_evict_kunit  ====================
[11:05:38] =============== [SKIPPED] xe_bo_evict_kunit ================
[11:05:38] ===================== [SKIPPED] xe_bo ======================
[11:05:38] =================== xe_any (9 subtests) ====================
[11:05:38] [PASSED] test_to_xe
[11:05:38] [PASSED] test_to_dev
[11:05:38] [PASSED] test_to_pdev
[11:05:38] [PASSED] test_to_drm
[11:05:38] [PASSED] test_if_pdev
[11:05:38] [PASSED] test_if_xe
[11:05:38] [PASSED] test_if_tile
[11:05:38] [PASSED] test_if_gt
[11:05:38] [PASSED] test_to_id
[11:05:38] ===================== [PASSED] xe_any ======================
[11:05:38] ==================== args (13 subtests) ====================
[11:05:38] [PASSED] count_args_test
[11:05:38] [PASSED] call_args_example
[11:05:38] [PASSED] call_args_test
[11:05:38] [PASSED] drop_first_arg_example
[11:05:38] [PASSED] drop_first_arg_test
[11:05:38] [PASSED] first_arg_example
[11:05:38] [PASSED] first_arg_test
[11:05:38] [PASSED] last_arg_example
[11:05:38] [PASSED] last_arg_test
[11:05:38] [PASSED] pick_arg_example
[11:05:38] [PASSED] if_args_example
[11:05:38] [PASSED] if_args_test
[11:05:38] [PASSED] sep_comma_example
[11:05:38] ====================== [PASSED] args =======================
[11:05:38] =================== xe_pci (3 subtests) ====================
[11:05:38] ==================== check_graphics_ip  ====================
[11:05:38] [PASSED] 12.00 Xe_LP
[11:05:38] [PASSED] 12.10 Xe_LP+
[11:05:38] [PASSED] 12.55 Xe_HPG
[11:05:38] [PASSED] 12.60 Xe_HPC
[11:05:38] [PASSED] 12.70 Xe_LPG
[11:05:38] [PASSED] 12.71 Xe_LPG
[11:05:38] [PASSED] 12.74 Xe_LPG+
[11:05:38] [PASSED] 20.01 Xe2_HPG
[11:05:38] [PASSED] 20.02 Xe2_HPG
[11:05:38] [PASSED] 20.04 Xe2_LPG
[11:05:38] [PASSED] 30.00 Xe3_LPG
[11:05:38] [PASSED] 30.01 Xe3_LPG
[11:05:38] [PASSED] 30.03 Xe3_LPG
[11:05:38] [PASSED] 30.04 Xe3_LPG
[11:05:38] [PASSED] 30.05 Xe3_LPG
[11:05:38] [PASSED] 35.10 Xe3p_LPG
[11:05:38] [PASSED] 35.11 Xe3p_XPC
[11:05:38] ================ [PASSED] check_graphics_ip ================
[11:05:38] ===================== check_media_ip  ======================
[11:05:38] [PASSED] 12.00 Xe_M
[11:05:38] [PASSED] 12.55 Xe_HPM
[11:05:38] [PASSED] 13.00 Xe_LPM+
[11:05:38] [PASSED] 13.01 Xe2_HPM
[11:05:38] [PASSED] 20.00 Xe2_LPM
[11:05:38] [PASSED] 30.00 Xe3_LPM
[11:05:38] [PASSED] 30.02 Xe3_LPM
[11:05:38] [PASSED] 35.00 Xe3p_LPM
[11:05:38] [PASSED] 35.03 Xe3p_HPM
[11:05:38] ================= [PASSED] check_media_ip ==================
[11:05:38] =================== check_platform_desc  ===================
[11:05:38] [PASSED] 0x9A60 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A68 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A70 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A40 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A49 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A59 (TIGERLAKE)
[11:05:38] [PASSED] 0x9A78 (TIGERLAKE)
[11:05:38] [PASSED] 0x9AC0 (TIGERLAKE)
[11:05:38] [PASSED] 0x9AC9 (TIGERLAKE)
[11:05:38] [PASSED] 0x9AD9 (TIGERLAKE)
[11:05:38] [PASSED] 0x9AF8 (TIGERLAKE)
[11:05:38] [PASSED] 0x4C80 (ROCKETLAKE)
[11:05:38] [PASSED] 0x4C8A (ROCKETLAKE)
[11:05:38] [PASSED] 0x4C8B (ROCKETLAKE)
[11:05:38] [PASSED] 0x4C8C (ROCKETLAKE)
[11:05:38] [PASSED] 0x4C90 (ROCKETLAKE)
[11:05:38] [PASSED] 0x4C9A (ROCKETLAKE)
[11:05:38] [PASSED] 0x4680 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4682 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4688 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x468A (ALDERLAKE_S)
[11:05:38] [PASSED] 0x468B (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4690 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4692 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4693 (ALDERLAKE_S)
[11:05:38] [PASSED] 0x46A0 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46A1 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46A2 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46A3 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46A6 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46A8 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46AA (ALDERLAKE_P)
[11:05:38] [PASSED] 0x462A (ALDERLAKE_P)
[11:05:38] [PASSED] 0x4626 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x4628 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46B0 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46B1 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46B2 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46B3 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46C0 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46C1 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46C2 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46C3 (ALDERLAKE_P)
[11:05:38] [PASSED] 0x46D0 (ALDERLAKE_N)
[11:05:38] [PASSED] 0x46D1 (ALDERLAKE_N)
[11:05:38] [PASSED] 0x46D2 (ALDERLAKE_N)
[11:05:38] [PASSED] 0x46D3 (ALDERLAKE_N)
[11:05:38] [PASSED] 0x46D4 (ALDERLAKE_N)
[11:05:38] [PASSED] 0xA721 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7A1 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7A9 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7AC (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7AD (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA720 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7A0 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7A8 (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7AA (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA7AB (ALDERLAKE_P)
[11:05:38] [PASSED] 0xA780 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA781 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA782 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA783 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA788 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA789 (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA78A (ALDERLAKE_S)
[11:05:38] [PASSED] 0xA78B (ALDERLAKE_S)
[11:05:38] [PASSED] 0x4905 (DG1)
[11:05:38] [PASSED] 0x4906 (DG1)
[11:05:38] [PASSED] 0x4907 (DG1)
[11:05:38] [PASSED] 0x4908 (DG1)
[11:05:38] [PASSED] 0x4909 (DG1)
[11:05:38] [PASSED] 0x56C0 (DG2)
[11:05:38] [PASSED] 0x56C2 (DG2)
[11:05:38] [PASSED] 0x56C1 (DG2)
[11:05:38] [PASSED] 0x7D51 (METEORLAKE)
[11:05:38] [PASSED] 0x7DD1 (METEORLAKE)
[11:05:38] [PASSED] 0x7D41 (METEORLAKE)
[11:05:38] [PASSED] 0x7D67 (METEORLAKE)
[11:05:38] [PASSED] 0xB640 (METEORLAKE)
[11:05:38] [PASSED] 0x56A0 (DG2)
[11:05:38] [PASSED] 0x56A1 (DG2)
[11:05:38] [PASSED] 0x56A2 (DG2)
[11:05:38] [PASSED] 0x56BE (DG2)
[11:05:38] [PASSED] 0x56BF (DG2)
[11:05:38] [PASSED] 0x5690 (DG2)
[11:05:38] [PASSED] 0x5691 (DG2)
[11:05:38] [PASSED] 0x5692 (DG2)
[11:05:38] [PASSED] 0x56A5 (DG2)
[11:05:38] [PASSED] 0x56A6 (DG2)
[11:05:38] [PASSED] 0x56B0 (DG2)
[11:05:38] [PASSED] 0x56B1 (DG2)
[11:05:38] [PASSED] 0x56BA (DG2)
[11:05:38] [PASSED] 0x56BB (DG2)
[11:05:38] [PASSED] 0x56BC (DG2)
[11:05:38] [PASSED] 0x56BD (DG2)
[11:05:38] [PASSED] 0x5693 (DG2)
[11:05:38] [PASSED] 0x5694 (DG2)
[11:05:38] [PASSED] 0x5695 (DG2)
[11:05:38] [PASSED] 0x56A3 (DG2)
[11:05:38] [PASSED] 0x56A4 (DG2)
[11:05:38] [PASSED] 0x56B2 (DG2)
[11:05:38] [PASSED] 0x56B3 (DG2)
[11:05:38] [PASSED] 0x5696 (DG2)
[11:05:38] [PASSED] 0x5697 (DG2)
[11:05:38] [PASSED] 0xB69 (PVC)
[11:05:38] [PASSED] 0xB6E (PVC)
[11:05:38] [PASSED] 0xBD4 (PVC)
[11:05:38] [PASSED] 0xBD5 (PVC)
[11:05:38] [PASSED] 0xBD6 (PVC)
[11:05:38] [PASSED] 0xBD7 (PVC)
[11:05:38] [PASSED] 0xBD8 (PVC)
[11:05:38] [PASSED] 0xBD9 (PVC)
[11:05:38] [PASSED] 0xBDA (PVC)
[11:05:38] [PASSED] 0xBDB (PVC)
[11:05:38] [PASSED] 0xBE0 (PVC)
[11:05:38] [PASSED] 0xBE1 (PVC)
[11:05:38] [PASSED] 0xBE5 (PVC)
[11:05:38] [PASSED] 0x7D40 (METEORLAKE)
[11:05:38] [PASSED] 0x7D45 (METEORLAKE)
[11:05:38] [PASSED] 0x7D55 (METEORLAKE)
[11:05:38] [PASSED] 0x7D60 (METEORLAKE)
[11:05:38] [PASSED] 0x7DD5 (METEORLAKE)
[11:05:38] [PASSED] 0x6420 (LUNARLAKE)
[11:05:38] [PASSED] 0x64A0 (LUNARLAKE)
[11:05:38] [PASSED] 0x64B0 (LUNARLAKE)
[11:05:38] [PASSED] 0xE202 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE209 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE20B (BATTLEMAGE)
[11:05:38] [PASSED] 0xE20C (BATTLEMAGE)
[11:05:38] [PASSED] 0xE20D (BATTLEMAGE)
[11:05:38] [PASSED] 0xE210 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE211 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE212 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE216 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE220 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE221 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE222 (BATTLEMAGE)
[11:05:38] [PASSED] 0xE223 (BATTLEMAGE)
[11:05:38] [PASSED] 0xB080 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB081 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB082 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB083 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB084 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB085 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB086 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB087 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB08F (PANTHERLAKE)
[11:05:38] [PASSED] 0xB090 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB0A0 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB0A1 (PANTHERLAKE)
[11:05:38] [PASSED] 0xB0B0 (PANTHERLAKE)
[11:05:38] [PASSED] 0xFD80 (PANTHERLAKE)
[11:05:38] [PASSED] 0xFD81 (PANTHERLAKE)
[11:05:38] [PASSED] 0xD740 (NOVALAKE_S)
[11:05:38] [PASSED] 0xD741 (NOVALAKE_S)
[11:05:38] [PASSED] 0xD742 (NOVALAKE_S)
[11:05:38] [PASSED] 0xD743 (NOVALAKE_S)
[11:05:38] [PASSED] 0xD745 (NOVALAKE_S)
[11:05:38] [PASSED] 0xD74A (NOVALAKE_S)
[11:05:38] [PASSED] 0xD74B (NOVALAKE_S)
[11:05:38] [PASSED] 0x674C (CRESCENTISLAND)
[11:05:38] [PASSED] 0x674D (CRESCENTISLAND)
[11:05:38] [PASSED] 0x674E (CRESCENTISLAND)
[11:05:38] [PASSED] 0x674F (CRESCENTISLAND)
[11:05:38] [PASSED] 0x6750 (CRESCENTISLAND)
[11:05:38] [PASSED] 0x6751 (CRESCENTISLAND)
[11:05:38] [PASSED] 0x6752 (CRESCENTISLAND)
[11:05:38] [PASSED] 0xD750 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD751 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD752 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD753 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD754 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD755 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD756 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD757 (NOVALAKE_P)
[11:05:38] [PASSED] 0xD75F (NOVALAKE_P)
[11:05:38] =============== [PASSED] check_platform_desc ===============
[11:05:38] ===================== [PASSED] xe_pci ======================
[11:05:38] ============= xe_rtp_tables_test (5 subtests) ==============
[11:05:38] ================== xe_rtp_table_gt_test  ===================
[11:05:38] [PASSED] gt_was/14011060649
[11:05:38] [PASSED] gt_was/14011059788
[11:05:38] [PASSED] gt_was/14015795083
[11:05:38] [PASSED] gt_was/16021867713
[11:05:38] [PASSED] gt_was/14019449301
[11:05:38] [PASSED] gt_was/16028005424
[11:05:38] [PASSED] gt_was/14026578760
[11:05:38] [PASSED] gt_was/1409420604
[11:05:38] [PASSED] gt_was/1408615072
[11:05:38] [PASSED] gt_was/22010523718
[11:05:38] [PASSED] gt_was/14011006942
[11:05:38] [PASSED] gt_was/14014830051
[11:05:38] [PASSED] gt_was/18018781329
[11:05:38] [PASSED] gt_was/1509235366
[11:05:38] [PASSED] gt_was/18018781329
[11:05:38] [PASSED] gt_was/16016694945
[11:05:38] [PASSED] gt_was/14018575942
[11:05:38] [PASSED] gt_was/22016670082
[11:05:38] [PASSED] gt_was/22016670082
[11:05:38] [PASSED] gt_was/14017421178
[11:05:38] [PASSED] gt_was/16025250150
[11:05:38] [PASSED] gt_was/14021871409
[11:05:38] [PASSED] gt_was/16021865536
[11:05:38] [PASSED] gt_was/14021486841
[11:05:38] [PASSED] gt_was/14025160223
[11:05:38] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[11:05:38] [PASSED] gt_was/14025635424
[11:05:38] [PASSED] gt_was/16028005424
[11:05:38] ============== [PASSED] xe_rtp_table_gt_test ===============
[11:05:38] ================== xe_rtp_table_gt_test  ===================
[11:05:38] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[11:05:38] [PASSED] gt_tunings/Tuning: 32B Access Enable
[11:05:38] [PASSED] gt_tunings/Tuning: L3 cache
[11:05:38] [PASSED] gt_tunings/Tuning: L3 cache - media
[11:05:38] [PASSED] gt_tunings/Tuning: Compression Overfetch
[11:05:38] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[11:05:38] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[11:05:38] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[11:05:38] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[11:05:38] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[11:05:38] [PASSED] gt_tunings/Tuning: Stateless compression control
[11:05:38] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[11:05:38] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[11:05:38] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[11:05:38] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[11:05:38] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[11:05:38] ============== [PASSED] xe_rtp_table_gt_test ===============
[11:05:38] ================== xe_rtp_table_oob_test  ==================
[11:05:38] [PASSED] oob_was/1607983814
[11:05:38] [PASSED] oob_was/16010904313
[11:05:38] [PASSED] oob_was/18022495364
[11:05:38] [PASSED] oob_was/22012773006
[11:05:38] [PASSED] oob_was/14014475959
[11:05:38] [PASSED] oob_was/22011391025
[11:05:38] [PASSED] oob_was/22012727170
[11:05:38] [PASSED] oob_was/22012727685
[11:05:38] [PASSED] oob_was/22016596838
[11:05:38] [PASSED] oob_was/18020744125
[11:05:38] [PASSED] oob_was/1409600907
[11:05:38] [PASSED] oob_was/22014953428
[11:05:38] [PASSED] oob_was/16017236439
[11:05:38] [PASSED] oob_was/14019821291
[11:05:38] [PASSED] oob_was/14015076503
[11:05:38] [PASSED] oob_was/22016122933
[11:05:38] [PASSED] oob_was/14018913170
[11:05:38] [PASSED] oob_was/14018094691
[11:05:38] [PASSED] oob_was/18024947630
[11:05:38] [PASSED] oob_was/16022287689
[11:05:38] [PASSED] oob_was/13011645652
[11:05:38] [PASSED] oob_was/14022293748
[11:05:38] [PASSED] oob_was/22019794406
[11:05:38] [PASSED] oob_was/22019338487
[11:05:38] [PASSED] oob_was/16023588340
[11:05:38] [PASSED] oob_was/14019789679
[11:05:38] [PASSED] oob_was/14022866841
[11:05:38] [PASSED] oob_was/16021333562
[11:05:38] [PASSED] oob_was/14016712196
[11:05:38] [PASSED] oob_was/14015568240
[11:05:38] [PASSED] oob_was/18013179988
[11:05:38] [PASSED] oob_was/1508761755
[11:05:38] [PASSED] oob_was/16023105232
[11:05:38] [PASSED] oob_was/16026508708
[11:05:38] [PASSED] oob_was/14020001231
[11:05:38] [PASSED] oob_was/16023683509
[11:05:38] [PASSED] oob_was/14025515070
[11:05:38] [PASSED] oob_was/15015404425_disable
[11:05:38] [PASSED] oob_was/16026007364
[11:05:38] [PASSED] oob_was/14020316580
[11:05:38] [PASSED] oob_was/14025883347
[11:05:38] [PASSED] oob_was/16029380221
[11:05:38] [PASSED] oob_was/22022079272
[11:05:38] [PASSED] oob_was/16029897822
[11:05:38] [PASSED] oob_was/14026539277
[11:05:38] [PASSED] oob_was/14027054324
[11:05:38] [PASSED] oob_was/14025941587
[11:05:38] [PASSED] oob_was/16030224309
[11:05:38] [PASSED] oob_was/14028709524
[11:05:38] ============== [PASSED] xe_rtp_table_oob_test ==============
[11:05:38] ================ xe_rtp_table_dev_oob_test  ================
[11:05:38] [PASSED] device_oob_was/22010954014
[11:05:38] [PASSED] device_oob_was/15015404425
[11:05:38] [PASSED] device_oob_was/22019338487_display
[11:05:38] [PASSED] device_oob_was/14022085890
[11:05:38] [PASSED] device_oob_was/14026633728
[11:05:38] [PASSED] device_oob_was/14026746987
[11:05:38] [PASSED] device_oob_was/14026779378
[11:05:38] [PASSED] device_oob_was/14028586678
[11:05:38] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[11:05:38] ========== xe_rtp_table_missing_upper_bound_test  ==========
[11:05:38] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[11:05:38] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[11:05:38] [PASSED] register_whitelist/1806527549
[11:05:38] [PASSED] register_whitelist/allow_read_ctx_timestamp
[11:05:38] [PASSED] register_whitelist/allow_read_queue_timestamp
[11:05:38] [PASSED] register_whitelist/16014440446
[11:05:38] [PASSED] register_whitelist/16017236439
[11:05:38] [PASSED] register_whitelist/16020183090
[11:05:38] [PASSED] register_whitelist/14024997852
[11:05:38] [PASSED] register_whitelist/14024997852
[11:05:38] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[11:05:38] =============== [PASSED] xe_rtp_tables_test ================
[11:05:38] =================== xe_rtp (3 subtests) ====================
[11:05:38] =================== xe_rtp_rules_tests  ====================
[11:05:38] [PASSED] no
[11:05:38] [PASSED] yes
[11:05:38] [PASSED] no-and-no
[11:05:38] [PASSED] no-and-yes
[11:05:38] [PASSED] yes-and-no
[11:05:38] [PASSED] yes-and-yes
[11:05:38] [PASSED] no-or-no
[11:05:38] [PASSED] no-or-yes
[11:05:38] [PASSED] yes-or-no
[11:05:38] [PASSED] yes-or-yes
[11:05:38] [PASSED] no-yes-or-yes-no
[11:05:38] [PASSED] no-yes-or-yes-yes
[11:05:38] [PASSED] yes-yes-or-no-yes
[11:05:38] [PASSED] yes-yes-or-yes-yes
[11:05:38] [PASSED] no-no-or-yes-or-no
[11:05:38] [PASSED] or
[11:05:38] [PASSED] or-yes
[11:05:38] [PASSED] or-no
[11:05:38] [PASSED] yes-or
[11:05:38] [PASSED] no-or
[11:05:38] [PASSED] no-or-or-yes
[11:05:38] [PASSED] yes-or-or-no
[11:05:38] [PASSED] no-or-or-no
[11:05:38] [PASSED] missing-context-engine-class
[11:05:38] [PASSED] missing-context-engine-class-or-yes
[11:05:38] [PASSED] missing-context-engine-class-or-or-yes
[11:05:38] =============== [PASSED] xe_rtp_rules_tests ================
[11:05:38] =============== xe_rtp_process_to_sr_tests  ================
[11:05:38] [PASSED] coalesce-same-reg
[11:05:38] [PASSED] coalesce-same-reg-literal-and-func
[11:05:38] [PASSED] no-match-no-add
[11:05:38] [PASSED] two-regs-two-entries
[11:05:38] [PASSED] clr-one-set-other
[11:05:38] [PASSED] set-field
[11:05:38] [PASSED] conflict-duplicate
[11:05:38] [PASSED] conflict-not-disjoint
[11:05:38] [PASSED] conflict-not-disjoint-literal-and-func
[11:05:38] [PASSED] conflict-reg-type
[11:05:38] [PASSED] bad-mcr-reg-forced-to-regular
[11:05:38] [PASSED] bad-regular-reg-forced-to-mcr
[11:05:38] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[11:05:38] ================== xe_rtp_process_tests  ===================
[11:05:38] [PASSED] active1
[11:05:38] [PASSED] active2
[11:05:38] [PASSED] active-inactive
[11:05:38] [PASSED] inactive-active
[11:05:38] [PASSED] inactive-active-inactive
[11:05:38] [PASSED] inactive-inactive-inactive
[11:05:38] ============== [PASSED] xe_rtp_process_tests ===============
[11:05:38] ===================== [PASSED] xe_rtp ======================
[11:05:38] ==================== xe_wa (1 subtest) =====================
[11:05:38] ======================== xe_wa_gt  =========================
[11:05:38] [PASSED] TIGERLAKE B0
[11:05:38] [PASSED] DG1 A0
[11:05:38] [PASSED] DG1 B0
[11:05:38] [PASSED] ALDERLAKE_S A0
[11:05:38] [PASSED] ALDERLAKE_S B0
[11:05:38] [PASSED] ALDERLAKE_S C0
[11:05:38] [PASSED] ALDERLAKE_S D0
[11:05:38] [PASSED] ALDERLAKE_P A0
[11:05:38] [PASSED] ALDERLAKE_P B0
[11:05:38] [PASSED] ALDERLAKE_P C0
[11:05:38] [PASSED] ALDERLAKE_S RPLS D0
[11:05:38] [PASSED] ALDERLAKE_P RPLU E0
[11:05:38] [PASSED] DG2 G10 C0
[11:05:38] [PASSED] DG2 G11 B1
[11:05:38] [PASSED] DG2 G12 A1
[11:05:38] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[11:05:38] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[11:05:38] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[11:05:38] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[11:05:38] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[11:05:38] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[11:05:38] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[11:05:38] ==================== [PASSED] xe_wa_gt =====================
[11:05:38] ====================== [PASSED] xe_wa ======================
[11:05:38] ============================================================
[11:05:38] Testing complete. Ran 841 tests: passed: 812, skipped: 29
[11:05:38] Elapsed time: 41.890s total, 2.581s configuring, 38.591s building, 0.710s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[11:05:38] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:05:41] 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
[11:06:06] Starting KUnit Kernel (1/1)...
[11:06:06] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:06:06] ============ drm_test_pick_cmdline (2 subtests) ============
[11:06:06] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[11:06:06] =============== drm_test_pick_cmdline_named  ===============
[11:06:06] [PASSED] NTSC
[11:06:06] [PASSED] NTSC-J
[11:06:06] [PASSED] PAL
[11:06:06] [PASSED] PAL-M
[11:06:06] =========== [PASSED] drm_test_pick_cmdline_named ===========
[11:06:06] ============== [PASSED] drm_test_pick_cmdline ==============
[11:06:06] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[11:06:06] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[11:06:06] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[11:06:06] =========== drm_validate_clone_mode (2 subtests) ===========
[11:06:06] ============== drm_test_check_in_clone_mode  ===============
[11:06:06] [PASSED] in_clone_mode
[11:06:06] [PASSED] not_in_clone_mode
[11:06:06] ========== [PASSED] drm_test_check_in_clone_mode ===========
[11:06:06] =============== drm_test_check_valid_clones  ===============
[11:06:06] [PASSED] not_in_clone_mode
[11:06:06] [PASSED] valid_clone
[11:06:06] [PASSED] invalid_clone
[11:06:06] =========== [PASSED] drm_test_check_valid_clones ===========
[11:06:06] ============= [PASSED] drm_validate_clone_mode =============
[11:06:06] ============= drm_validate_modeset (1 subtest) =============
[11:06:06] [PASSED] drm_test_check_connector_changed_modeset
[11:06:06] ============== [PASSED] drm_validate_modeset ===============
[11:06:06] ====== drm_test_bridge_get_current_state (1 subtest) =======
[11:06:06] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[11:06:06] ======== [PASSED] drm_test_bridge_get_current_state ========
[11:06:06] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[11:06:06] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[11:06:06] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[11:06:06] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[11:06:06] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[11:06:06] ============== drm_bridge_alloc (2 subtests) ===============
[11:06:06] [PASSED] drm_test_drm_bridge_alloc_basic
[11:06:06] [PASSED] drm_test_drm_bridge_alloc_get_put
[11:06:06] ================ [PASSED] drm_bridge_alloc =================
[11:06:06] ============= drm_bridge_bus_fmt (5 subtests) ==============
[11:06:06] [PASSED] drm_test_bridge_rgb_yuv_rgb
[11:06:06] [PASSED] drm_test_bridge_must_convert_to_yuv444
[11:06:06] [PASSED] drm_test_bridge_hdmi_auto_rgb
[11:06:06] [PASSED] drm_test_bridge_auto_first
[11:06:06] [PASSED] drm_test_bridge_rgb_yuv_no_path
[11:06:06] =============== [PASSED] drm_bridge_bus_fmt ================
[11:06:06] ============= drm_cmdline_parser (40 subtests) =============
[11:06:06] [PASSED] drm_test_cmdline_force_d_only
[11:06:06] [PASSED] drm_test_cmdline_force_D_only_dvi
[11:06:06] [PASSED] drm_test_cmdline_force_D_only_hdmi
[11:06:06] [PASSED] drm_test_cmdline_force_D_only_not_digital
[11:06:06] [PASSED] drm_test_cmdline_force_e_only
[11:06:06] [PASSED] drm_test_cmdline_res
[11:06:06] [PASSED] drm_test_cmdline_res_vesa
[11:06:06] [PASSED] drm_test_cmdline_res_vesa_rblank
[11:06:06] [PASSED] drm_test_cmdline_res_rblank
[11:06:06] [PASSED] drm_test_cmdline_res_bpp
[11:06:06] [PASSED] drm_test_cmdline_res_refresh
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[11:06:06] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[11:06:06] [PASSED] drm_test_cmdline_res_margins_force_on
[11:06:06] [PASSED] drm_test_cmdline_res_vesa_margins
[11:06:06] [PASSED] drm_test_cmdline_name
[11:06:06] [PASSED] drm_test_cmdline_name_bpp
[11:06:06] [PASSED] drm_test_cmdline_name_option
[11:06:06] [PASSED] drm_test_cmdline_name_bpp_option
[11:06:06] [PASSED] drm_test_cmdline_rotate_0
[11:06:06] [PASSED] drm_test_cmdline_rotate_90
[11:06:06] [PASSED] drm_test_cmdline_rotate_180
[11:06:06] [PASSED] drm_test_cmdline_rotate_270
[11:06:06] [PASSED] drm_test_cmdline_hmirror
[11:06:06] [PASSED] drm_test_cmdline_vmirror
[11:06:06] [PASSED] drm_test_cmdline_margin_options
[11:06:06] [PASSED] drm_test_cmdline_multiple_options
[11:06:06] [PASSED] drm_test_cmdline_bpp_extra_and_option
[11:06:06] [PASSED] drm_test_cmdline_extra_and_option
[11:06:06] [PASSED] drm_test_cmdline_freestanding_options
[11:06:06] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[11:06:06] [PASSED] drm_test_cmdline_panel_orientation
[11:06:06] ================ drm_test_cmdline_invalid  =================
[11:06:06] [PASSED] margin_only
[11:06:06] [PASSED] interlace_only
[11:06:06] [PASSED] res_missing_x
[11:06:06] [PASSED] res_missing_y
[11:06:06] [PASSED] res_bad_y
[11:06:06] [PASSED] res_missing_y_bpp
[11:06:06] [PASSED] res_bad_bpp
[11:06:06] [PASSED] res_bad_refresh
[11:06:06] [PASSED] res_bpp_refresh_force_on_off
[11:06:06] [PASSED] res_invalid_mode
[11:06:06] [PASSED] res_bpp_wrong_place_mode
[11:06:06] [PASSED] name_bpp_refresh
[11:06:06] [PASSED] name_refresh
[11:06:06] [PASSED] name_refresh_wrong_mode
[11:06:06] [PASSED] name_refresh_invalid_mode
[11:06:06] [PASSED] rotate_multiple
[11:06:06] [PASSED] rotate_invalid_val
[11:06:06] [PASSED] rotate_truncated
[11:06:06] [PASSED] invalid_option
[11:06:06] [PASSED] invalid_tv_option
[11:06:06] [PASSED] truncated_tv_option
[11:06:06] ============ [PASSED] drm_test_cmdline_invalid =============
[11:06:06] =============== drm_test_cmdline_tv_options  ===============
[11:06:06] [PASSED] NTSC
[11:06:06] [PASSED] NTSC_443
[11:06:06] [PASSED] NTSC_J
[11:06:06] [PASSED] PAL
[11:06:06] [PASSED] PAL_M
[11:06:06] [PASSED] PAL_N
[11:06:06] [PASSED] SECAM
[11:06:06] [PASSED] MONO_525
[11:06:06] [PASSED] MONO_625
[11:06:06] =========== [PASSED] drm_test_cmdline_tv_options ===========
[11:06:06] =============== [PASSED] drm_cmdline_parser ================
[11:06:06] ========== drmm_connector_hdmi_init (20 subtests) ==========
[11:06:06] [PASSED] drm_test_connector_hdmi_init_valid
[11:06:06] [PASSED] drm_test_connector_hdmi_init_bpc_8
[11:06:06] [PASSED] drm_test_connector_hdmi_init_bpc_10
[11:06:06] [PASSED] drm_test_connector_hdmi_init_bpc_12
[11:06:06] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[11:06:06] [PASSED] drm_test_connector_hdmi_init_bpc_null
[11:06:06] [PASSED] drm_test_connector_hdmi_init_formats_empty
[11:06:06] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[11:06:06] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[11:06:06] [PASSED] supported_formats=0x9 yuv420_allowed=1
[11:06:06] [PASSED] supported_formats=0x9 yuv420_allowed=0
[11:06:06] [PASSED] supported_formats=0x5 yuv420_allowed=1
[11:06:06] [PASSED] supported_formats=0x5 yuv420_allowed=0
[11:06:06] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[11:06:06] [PASSED] drm_test_connector_hdmi_init_null_ddc
[11:06:06] [PASSED] drm_test_connector_hdmi_init_null_product
[11:06:06] [PASSED] drm_test_connector_hdmi_init_null_vendor
[11:06:06] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[11:06:06] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[11:06:06] [PASSED] drm_test_connector_hdmi_init_product_valid
[11:06:06] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[11:06:06] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[11:06:06] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[11:06:06] ========= drm_test_connector_hdmi_init_type_valid  =========
[11:06:06] [PASSED] HDMI-A
[11:06:06] [PASSED] HDMI-B
[11:06:06] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[11:06:06] ======== drm_test_connector_hdmi_init_type_invalid  ========
[11:06:06] [PASSED] Unknown
[11:06:06] [PASSED] VGA
[11:06:06] [PASSED] DVI-I
[11:06:06] [PASSED] DVI-D
[11:06:06] [PASSED] DVI-A
[11:06:06] [PASSED] Composite
[11:06:06] [PASSED] SVIDEO
[11:06:06] [PASSED] LVDS
[11:06:06] [PASSED] Component
[11:06:06] [PASSED] DIN
[11:06:06] [PASSED] DP
[11:06:06] [PASSED] TV
[11:06:06] [PASSED] eDP
[11:06:06] [PASSED] Virtual
[11:06:06] [PASSED] DSI
[11:06:06] [PASSED] DPI
[11:06:06] [PASSED] Writeback
[11:06:06] [PASSED] SPI
[11:06:06] [PASSED] USB
[11:06:06] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[11:06:06] ============ [PASSED] drmm_connector_hdmi_init =============
[11:06:06] ============= drmm_connector_init (3 subtests) =============
[11:06:06] [PASSED] drm_test_drmm_connector_init
[11:06:06] [PASSED] drm_test_drmm_connector_init_null_ddc
[11:06:06] ========= drm_test_drmm_connector_init_type_valid  =========
[11:06:06] [PASSED] Unknown
[11:06:06] [PASSED] VGA
[11:06:06] [PASSED] DVI-I
[11:06:06] [PASSED] DVI-D
[11:06:06] [PASSED] DVI-A
[11:06:06] [PASSED] Composite
[11:06:06] [PASSED] SVIDEO
[11:06:06] [PASSED] LVDS
[11:06:06] [PASSED] Component
[11:06:06] [PASSED] DIN
[11:06:06] [PASSED] DP
[11:06:06] [PASSED] HDMI-A
[11:06:06] [PASSED] HDMI-B
[11:06:06] [PASSED] TV
[11:06:06] [PASSED] eDP
[11:06:06] [PASSED] Virtual
[11:06:06] [PASSED] DSI
[11:06:06] [PASSED] DPI
[11:06:06] [PASSED] Writeback
[11:06:06] [PASSED] SPI
[11:06:06] [PASSED] USB
[11:06:06] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[11:06:06] =============== [PASSED] drmm_connector_init ===============
[11:06:06] ========= drm_connector_dynamic_init (6 subtests) ==========
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_init
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_init_properties
[11:06:06] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[11:06:06] [PASSED] Unknown
[11:06:06] [PASSED] VGA
[11:06:06] [PASSED] DVI-I
[11:06:06] [PASSED] DVI-D
[11:06:06] [PASSED] DVI-A
[11:06:06] [PASSED] Composite
[11:06:06] [PASSED] SVIDEO
[11:06:06] [PASSED] LVDS
[11:06:06] [PASSED] Component
[11:06:06] [PASSED] DIN
[11:06:06] [PASSED] DP
[11:06:06] [PASSED] HDMI-A
[11:06:06] [PASSED] HDMI-B
[11:06:06] [PASSED] TV
[11:06:06] [PASSED] eDP
[11:06:06] [PASSED] Virtual
[11:06:06] [PASSED] DSI
[11:06:06] [PASSED] DPI
[11:06:06] [PASSED] Writeback
[11:06:06] [PASSED] SPI
[11:06:06] [PASSED] USB
[11:06:06] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[11:06:06] ======== drm_test_drm_connector_dynamic_init_name  =========
[11:06:06] [PASSED] Unknown
[11:06:06] [PASSED] VGA
[11:06:06] [PASSED] DVI-I
[11:06:06] [PASSED] DVI-D
[11:06:06] [PASSED] DVI-A
[11:06:06] [PASSED] Composite
[11:06:06] [PASSED] SVIDEO
[11:06:06] [PASSED] LVDS
[11:06:06] [PASSED] Component
[11:06:06] [PASSED] DIN
[11:06:06] [PASSED] DP
[11:06:06] [PASSED] HDMI-A
[11:06:06] [PASSED] HDMI-B
[11:06:06] [PASSED] TV
[11:06:06] [PASSED] eDP
[11:06:06] [PASSED] Virtual
[11:06:06] [PASSED] DSI
[11:06:06] [PASSED] DPI
[11:06:06] [PASSED] Writeback
[11:06:06] [PASSED] SPI
[11:06:06] [PASSED] USB
[11:06:06] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[11:06:06] =========== [PASSED] drm_connector_dynamic_init ============
[11:06:06] ==== drm_connector_dynamic_register_early (4 subtests) =====
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[11:06:06] ====== [PASSED] drm_connector_dynamic_register_early =======
[11:06:06] ======= drm_connector_dynamic_register (7 subtests) ========
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[11:06:06] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[11:06:06] ========= [PASSED] drm_connector_dynamic_register ==========
[11:06:06] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[11:06:06] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[11:06:06] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[11:06:06] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[11:06:06] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[11:06:06] ========== drm_test_get_tv_mode_from_name_valid  ===========
[11:06:06] [PASSED] NTSC
[11:06:06] [PASSED] NTSC-443
[11:06:06] [PASSED] NTSC-J
[11:06:06] [PASSED] PAL
[11:06:06] [PASSED] PAL-M
[11:06:06] [PASSED] PAL-N
[11:06:06] [PASSED] SECAM
[11:06:06] [PASSED] Mono
[11:06:06] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[11:06:06] [PASSED] drm_test_get_tv_mode_from_name_truncated
[11:06:06] ============ [PASSED] drm_get_tv_mode_from_name ============
[11:06:06] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[11:06:06] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[11:06:06] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[11:06:06] [PASSED] VIC 96
[11:06:06] [PASSED] VIC 97
[11:06:06] [PASSED] VIC 101
[11:06:06] [PASSED] VIC 102
[11:06:06] [PASSED] VIC 106
[11:06:06] [PASSED] VIC 107
[11:06:06] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[11:06:06] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[11:06:06] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[11:06:06] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[11:06:06] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[11:06:06] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[11:06:06] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[11:06:06] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[11:06:06] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[11:06:06] [PASSED] Automatic
[11:06:06] [PASSED] Full
[11:06:06] [PASSED] Limited 16:235
[11:06:06] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[11:06:06] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[11:06:06] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[11:06:06] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[11:06:06] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[11:06:06] [PASSED] RGB
[11:06:06] [PASSED] YUV 4:2:0
[11:06:06] [PASSED] YUV 4:2:2
[11:06:06] [PASSED] YUV 4:4:4
[11:06:06] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[11:06:06] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[11:06:06] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[11:06:06] ============= drm_damage_helper (21 subtests) ==============
[11:06:06] [PASSED] drm_test_damage_iter_no_damage
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_src_moved
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_not_visible
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[11:06:06] [PASSED] drm_test_damage_iter_no_damage_no_fb
[11:06:06] [PASSED] drm_test_damage_iter_simple_damage
[11:06:06] [PASSED] drm_test_damage_iter_single_damage
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_outside_src
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_src_moved
[11:06:06] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[11:06:06] [PASSED] drm_test_damage_iter_damage
[11:06:06] [PASSED] drm_test_damage_iter_damage_one_intersect
[11:06:06] [PASSED] drm_test_damage_iter_damage_one_outside
[11:06:06] [PASSED] drm_test_damage_iter_damage_src_moved
[11:06:06] [PASSED] drm_test_damage_iter_damage_not_visible
[11:06:06] ================ [PASSED] drm_damage_helper ================
[11:06:06] ============== drm_dp_mst_helper (3 subtests) ==============
[11:06:06] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[11:06:06] [PASSED] Clock 154000 BPP 30 DSC disabled
[11:06:06] [PASSED] Clock 234000 BPP 30 DSC disabled
[11:06:06] [PASSED] Clock 297000 BPP 24 DSC disabled
[11:06:06] [PASSED] Clock 332880 BPP 24 DSC enabled
[11:06:06] [PASSED] Clock 324540 BPP 24 DSC enabled
[11:06:06] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[11:06:06] ============== drm_test_dp_mst_calc_pbn_div  ===============
[11:06:06] [PASSED] Link rate 2000000 lane count 4
[11:06:06] [PASSED] Link rate 2000000 lane count 2
[11:06:06] [PASSED] Link rate 2000000 lane count 1
[11:06:06] [PASSED] Link rate 1350000 lane count 4
[11:06:06] [PASSED] Link rate 1350000 lane count 2
[11:06:06] [PASSED] Link rate 1350000 lane count 1
[11:06:06] [PASSED] Link rate 1000000 lane count 4
[11:06:06] [PASSED] Link rate 1000000 lane count 2
[11:06:06] [PASSED] Link rate 1000000 lane count 1
[11:06:06] [PASSED] Link rate 810000 lane count 4
[11:06:06] [PASSED] Link rate 810000 lane count 2
[11:06:06] [PASSED] Link rate 810000 lane count 1
[11:06:06] [PASSED] Link rate 540000 lane count 4
[11:06:06] [PASSED] Link rate 540000 lane count 2
[11:06:06] [PASSED] Link rate 540000 lane count 1
[11:06:06] [PASSED] Link rate 270000 lane count 4
[11:06:06] [PASSED] Link rate 270000 lane count 2
[11:06:06] [PASSED] Link rate 270000 lane count 1
[11:06:06] [PASSED] Link rate 162000 lane count 4
[11:06:06] [PASSED] Link rate 162000 lane count 2
[11:06:06] [PASSED] Link rate 162000 lane count 1
[11:06:06] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[11:06:06] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[11:06:06] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[11:06:06] [PASSED] DP_POWER_UP_PHY with port number
[11:06:06] [PASSED] DP_POWER_DOWN_PHY with port number
[11:06:06] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[11:06:06] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[11:06:06] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[11:06:06] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[11:06:06] [PASSED] DP_QUERY_PAYLOAD with port number
[11:06:06] [PASSED] DP_QUERY_PAYLOAD with VCPI
[11:06:06] [PASSED] DP_REMOTE_DPCD_READ with port number
[11:06:06] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[11:06:06] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[11:06:06] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[11:06:06] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[11:06:06] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[11:06:06] [PASSED] DP_REMOTE_I2C_READ with port number
[11:06:06] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[11:06:06] [PASSED] DP_REMOTE_I2C_READ with transactions array
[11:06:06] [PASSED] DP_REMOTE_I2C_WRITE with port number
[11:06:06] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[11:06:06] [PASSED] DP_REMOTE_I2C_WRITE with data array
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[11:06:06] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[11:06:06] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[11:06:06] ================ [PASSED] drm_dp_mst_helper ================
[11:06:06] ================== drm_exec (7 subtests) ===================
[11:06:06] [PASSED] sanitycheck
[11:06:06] [PASSED] test_lock
[11:06:06] [PASSED] test_lock_unlock
[11:06:06] [PASSED] test_duplicates
[11:06:06] [PASSED] test_prepare
[11:06:06] [PASSED] test_prepare_array
[11:06:06] [PASSED] test_multiple_loops
[11:06:06] ==================== [PASSED] drm_exec =====================
[11:06:06] =========== drm_format_helper_test (17 subtests) ===========
[11:06:06] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[11:06:06] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[11:06:06] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[11:06:06] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[11:06:06] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[11:06:06] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[11:06:06] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[11:06:06] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[11:06:06] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[11:06:06] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[11:06:06] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[11:06:06] ============== drm_test_fb_xrgb8888_to_mono  ===============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[11:06:06] ==================== drm_test_fb_swab  =====================
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ================ [PASSED] drm_test_fb_swab =================
[11:06:06] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[11:06:06] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[11:06:06] [PASSED] single_pixel_source_buffer
[11:06:06] [PASSED] single_pixel_clip_rectangle
[11:06:06] [PASSED] well_known_colors
[11:06:06] [PASSED] destination_pitch
[11:06:06] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[11:06:06] ================= drm_test_fb_clip_offset  =================
[11:06:06] [PASSED] pass through
[11:06:06] [PASSED] horizontal offset
[11:06:06] [PASSED] vertical offset
[11:06:06] [PASSED] horizontal and vertical offset
[11:06:06] [PASSED] horizontal offset (custom pitch)
[11:06:06] [PASSED] vertical offset (custom pitch)
[11:06:06] [PASSED] horizontal and vertical offset (custom pitch)
[11:06:06] ============= [PASSED] drm_test_fb_clip_offset =============
[11:06:06] =================== drm_test_fb_memcpy  ====================
[11:06:06] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[11:06:06] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[11:06:06] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[11:06:06] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[11:06:06] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[11:06:06] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[11:06:06] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[11:06:06] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[11:06:06] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[11:06:06] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[11:06:06] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[11:06:06] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[11:06:06] =============== [PASSED] drm_test_fb_memcpy ================
[11:06:06] ============= [PASSED] drm_format_helper_test ==============
[11:06:06] ================= drm_format (18 subtests) =================
[11:06:06] [PASSED] drm_test_format_block_width_invalid
[11:06:06] [PASSED] drm_test_format_block_width_one_plane
[11:06:06] [PASSED] drm_test_format_block_width_two_plane
[11:06:06] [PASSED] drm_test_format_block_width_three_plane
[11:06:06] [PASSED] drm_test_format_block_width_tiled
[11:06:06] [PASSED] drm_test_format_block_height_invalid
[11:06:06] [PASSED] drm_test_format_block_height_one_plane
[11:06:06] [PASSED] drm_test_format_block_height_two_plane
[11:06:06] [PASSED] drm_test_format_block_height_three_plane
[11:06:06] [PASSED] drm_test_format_block_height_tiled
[11:06:06] [PASSED] drm_test_format_min_pitch_invalid
[11:06:06] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[11:06:06] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[11:06:06] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[11:06:06] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[11:06:06] [PASSED] drm_test_format_min_pitch_two_plane
[11:06:06] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[11:06:06] [PASSED] drm_test_format_min_pitch_tiled
[11:06:06] =================== [PASSED] drm_format ====================
[11:06:06] ============== drm_framebuffer (10 subtests) ===============
[11:06:06] ========== drm_test_framebuffer_check_src_coords  ==========
[11:06:06] [PASSED] Success: source fits into fb
[11:06:06] [PASSED] Fail: overflowing fb with x-axis coordinate
[11:06:06] [PASSED] Fail: overflowing fb with y-axis coordinate
[11:06:06] [PASSED] Fail: overflowing fb with source width
[11:06:06] [PASSED] Fail: overflowing fb with source height
[11:06:06] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[11:06:06] [PASSED] drm_test_framebuffer_cleanup
[11:06:06] =============== drm_test_framebuffer_create  ===============
[11:06:06] [PASSED] ABGR8888 normal sizes
[11:06:06] [PASSED] ABGR8888 max sizes
[11:06:06] [PASSED] ABGR8888 pitch greater than min required
[11:06:06] [PASSED] ABGR8888 pitch less than min required
[11:06:06] [PASSED] ABGR8888 Invalid width
[11:06:06] [PASSED] ABGR8888 Invalid buffer handle
[11:06:06] [PASSED] No pixel format
[11:06:06] [PASSED] ABGR8888 Width 0
[11:06:06] [PASSED] ABGR8888 Height 0
[11:06:06] [PASSED] ABGR8888 Out of bound height * pitch combination
[11:06:06] [PASSED] ABGR8888 Large buffer offset
[11:06:06] [PASSED] ABGR8888 Buffer offset for inexistent plane
[11:06:06] [PASSED] ABGR8888 Invalid flag
[11:06:06] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[11:06:06] [PASSED] ABGR8888 Valid buffer modifier
[11:06:06] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[11:06:06] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] NV12 Normal sizes
[11:06:06] [PASSED] NV12 Max sizes
[11:06:06] [PASSED] NV12 Invalid pitch
[11:06:06] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[11:06:06] [PASSED] NV12 different  modifier per-plane
[11:06:06] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[11:06:06] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] NV12 Modifier for inexistent plane
[11:06:06] [PASSED] NV12 Handle for inexistent plane
[11:06:06] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[11:06:06] [PASSED] YVU420 Normal sizes
[11:06:06] [PASSED] YVU420 Max sizes
[11:06:06] [PASSED] YVU420 Invalid pitch
[11:06:06] [PASSED] YVU420 Different pitches
[11:06:06] [PASSED] YVU420 Different buffer offsets/pitches
[11:06:06] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[11:06:06] [PASSED] YVU420 Valid modifier
[11:06:06] [PASSED] YVU420 Different modifiers per plane
[11:06:06] [PASSED] YVU420 Modifier for inexistent plane
[11:06:06] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[11:06:06] [PASSED] X0L2 Normal sizes
[11:06:06] [PASSED] X0L2 Max sizes
[11:06:06] [PASSED] X0L2 Invalid pitch
[11:06:06] [PASSED] X0L2 Pitch greater than minimum required
[11:06:06] [PASSED] X0L2 Handle for inexistent plane
[11:06:06] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[11:06:06] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[11:06:06] [PASSED] X0L2 Valid modifier
[11:06:06] [PASSED] X0L2 Modifier for inexistent plane
[11:06:06] =========== [PASSED] drm_test_framebuffer_create ===========
[11:06:06] [PASSED] drm_test_framebuffer_free
[11:06:06] [PASSED] drm_test_framebuffer_init
[11:06:06] [PASSED] drm_test_framebuffer_init_bad_format
[11:06:06] [PASSED] drm_test_framebuffer_init_dev_mismatch
[11:06:06] [PASSED] drm_test_framebuffer_lookup
[11:06:06] [PASSED] drm_test_framebuffer_lookup_inexistent
[11:06:06] [PASSED] drm_test_framebuffer_modifiers_not_supported
[11:06:06] ================= [PASSED] drm_framebuffer =================
[11:06:06] ================ drm_gem_shmem (8 subtests) ================
[11:06:06] [PASSED] drm_gem_shmem_test_obj_create
[11:06:06] [PASSED] drm_gem_shmem_test_obj_create_private
[11:06:06] [PASSED] drm_gem_shmem_test_pin_pages
[11:06:06] [PASSED] drm_gem_shmem_test_vmap
[11:06:06] [PASSED] drm_gem_shmem_test_get_sg_table
[11:06:06] [PASSED] drm_gem_shmem_test_get_pages_sgt
[11:06:06] [PASSED] drm_gem_shmem_test_madvise
[11:06:06] [PASSED] drm_gem_shmem_test_purge
[11:06:06] ================== [PASSED] drm_gem_shmem ==================
[11:06:06] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[11:06:06] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[11:06:06] [PASSED] Automatic
[11:06:06] [PASSED] Full
[11:06:06] [PASSED] Limited 16:235
[11:06:06] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[11:06:06] [PASSED] drm_test_check_disable_connector
[11:06:06] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[11:06:06] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[11:06:06] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[11:06:06] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[11:06:06] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[11:06:06] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[11:06:06] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[11:06:06] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[11:06:06] [PASSED] drm_test_check_output_bpc_dvi
[11:06:06] [PASSED] drm_test_check_output_bpc_format_vic_1
[11:06:06] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[11:06:06] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[11:06:06] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[11:06:06] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[11:06:06] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[11:06:06] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[11:06:06] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[11:06:06] ============ drm_test_check_hdmi_color_format  =============
[11:06:06] [PASSED] AUTO -> RGB
[11:06:06] [PASSED] YCBCR422 -> YUV422
[11:06:06] [PASSED] YCBCR420 -> YUV420
[11:06:06] [PASSED] YCBCR444 -> YUV444
[11:06:06] [PASSED] RGB -> RGB
[11:06:06] ======== [PASSED] drm_test_check_hdmi_color_format =========
[11:06:06] ======== drm_test_check_hdmi_color_format_420_only  ========
[11:06:06] [PASSED] RGB should fail
[11:06:06] [PASSED] YUV444 should fail
[11:06:06] [PASSED] YUV422 should fail
[11:06:06] [PASSED] YUV420 should work
[11:06:06] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[11:06:06] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[11:06:06] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[11:06:06] [PASSED] drm_test_check_broadcast_rgb_value
[11:06:06] [PASSED] drm_test_check_bpc_8_value
[11:06:06] [PASSED] drm_test_check_bpc_10_value
[11:06:06] [PASSED] drm_test_check_bpc_12_value
[11:06:06] [PASSED] drm_test_check_format_value
[11:06:06] [PASSED] drm_test_check_tmds_char_value
[11:06:06] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[11:06:06] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[11:06:06] [PASSED] drm_test_check_mode_valid
[11:06:06] [PASSED] drm_test_check_mode_valid_reject
[11:06:06] [PASSED] drm_test_check_mode_valid_reject_rate
[11:06:06] [PASSED] drm_test_check_mode_valid_reject_max_clock
[11:06:06] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[11:06:06] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[11:06:06] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[11:06:06] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[11:06:06] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[11:06:06] [PASSED] drm_test_check_infoframes
[11:06:06] [PASSED] drm_test_check_reject_avi_infoframe
[11:06:06] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[11:06:06] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[11:06:06] [PASSED] drm_test_check_reject_audio_infoframe
[11:06:06] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[11:06:06] ================= drm_managed (2 subtests) =================
[11:06:06] [PASSED] drm_test_managed_release_action
[11:06:06] [PASSED] drm_test_managed_run_action
[11:06:06] =================== [PASSED] drm_managed ===================
[11:06:06] =================== drm_mm (6 subtests) ====================
[11:06:06] [PASSED] drm_test_mm_init
[11:06:06] [PASSED] drm_test_mm_debug
[11:06:06] [PASSED] drm_test_mm_align32
[11:06:06] [PASSED] drm_test_mm_align64
[11:06:06] [PASSED] drm_test_mm_lowest
[11:06:06] [PASSED] drm_test_mm_highest
[11:06:06] ===================== [PASSED] drm_mm ======================
[11:06:06] ============= drm_modes_analog_tv (5 subtests) =============
[11:06:06] [PASSED] drm_test_modes_analog_tv_mono_576i
[11:06:06] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[11:06:06] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[11:06:06] [PASSED] drm_test_modes_analog_tv_pal_576i
[11:06:06] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[11:06:06] =============== [PASSED] drm_modes_analog_tv ===============
[11:06:06] ============== drm_panic_helper (3 subtests) ===============
[11:06:06] ============= drm_test_panic_screen_user_map  ==============
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] ========= [PASSED] drm_test_panic_screen_user_map ==========
[11:06:06] ============= drm_test_panic_screen_user_page  =============
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] ========= [PASSED] drm_test_panic_screen_user_page =========
[11:06:06] ========== drm_test_panic_screen_user_set_pixel  ===========
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[11:06:06] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[11:06:06] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[11:06:06] ================ [PASSED] drm_panic_helper =================
[11:06:06] ============== drm_plane_helper (2 subtests) ===============
[11:06:06] =============== drm_test_check_plane_state  ================
[11:06:06] [PASSED] clipping_simple
[11:06:06] [PASSED] clipping_rotate_reflect
[11:06:06] [PASSED] positioning_simple
[11:06:06] [PASSED] upscaling
[11:06:06] [PASSED] downscaling
[11:06:06] [PASSED] rounding1
[11:06:06] [PASSED] rounding2
[11:06:06] [PASSED] rounding3
[11:06:06] [PASSED] rounding4
[11:06:06] =========== [PASSED] drm_test_check_plane_state ============
[11:06:06] =========== drm_test_check_invalid_plane_state  ============
[11:06:06] [PASSED] positioning_invalid
[11:06:06] [PASSED] upscaling_invalid
[11:06:06] [PASSED] downscaling_invalid
[11:06:06] ======= [PASSED] drm_test_check_invalid_plane_state ========
[11:06:06] ================ [PASSED] drm_plane_helper =================
[11:06:06] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[11:06:06] ====== drm_test_connector_helper_tv_get_modes_check  =======
[11:06:06] [PASSED] None
[11:06:06] [PASSED] PAL
[11:06:06] [PASSED] NTSC
[11:06:06] [PASSED] Both, NTSC Default
[11:06:06] [PASSED] Both, PAL Default
[11:06:06] [PASSED] Both, NTSC Default, with PAL on command-line
[11:06:06] [PASSED] Both, PAL Default, with NTSC on command-line
[11:06:06] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[11:06:06] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[11:06:06] ================== drm_rect (9 subtests) ===================
[11:06:06] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[11:06:06] [PASSED] drm_test_rect_clip_scaled_not_clipped
[11:06:06] [PASSED] drm_test_rect_clip_scaled_clipped
[11:06:06] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[11:06:06] ================= drm_test_rect_intersect  =================
[11:06:06] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[11:06:06] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[11:06:06] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[11:06:06] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[11:06:06] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[11:06:06] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[11:06:06] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[11:06:06] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[11:06:06] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[11:06:06] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[11:06:06] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[11:06:06] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[11:06:06] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[11:06:06] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[11:06:06] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[11:06:06] ============= [PASSED] drm_test_rect_intersect =============
[11:06:06] ================ drm_test_rect_calc_hscale  ================
[11:06:06] [PASSED] normal use
[11:06:06] [PASSED] out of max range
[11:06:06] [PASSED] out of min range
[11:06:06] [PASSED] zero dst
[11:06:06] [PASSED] negative src
[11:06:06] [PASSED] negative dst
[11:06:06] ============ [PASSED] drm_test_rect_calc_hscale ============
[11:06:06] ================ drm_test_rect_calc_vscale  ================
[11:06:06] [PASSED] normal use
[11:06:06] [PASSED] out of max range
[11:06:06] [PASSED] out of min range
[11:06:06] [PASSED] zero dst
[11:06:06] [PASSED] negative src
[11:06:06] [PASSED] negative dst
[11:06:06] ============ [PASSED] drm_test_rect_calc_vscale ============
[11:06:06] ================== drm_test_rect_rotate  ===================
[11:06:06] [PASSED] reflect-x
[11:06:06] [PASSED] reflect-y
[11:06:06] [PASSED] rotate-0
[11:06:06] [PASSED] rotate-90
[11:06:06] [PASSED] rotate-180
[11:06:06] [PASSED] rotate-270
[11:06:06] ============== [PASSED] drm_test_rect_rotate ===============
[11:06:06] ================ drm_test_rect_rotate_inv  =================
[11:06:06] [PASSED] reflect-x
[11:06:06] [PASSED] reflect-y
[11:06:06] [PASSED] rotate-0
[11:06:06] [PASSED] rotate-90
[11:06:06] [PASSED] rotate-180
[11:06:06] [PASSED] rotate-270
[11:06:06] ============ [PASSED] drm_test_rect_rotate_inv =============
[11:06:06] ==================== [PASSED] drm_rect =====================
[11:06:06] ============ drm_sysfb_modeset_test (1 subtest) ============
[11:06:06] ============ drm_test_sysfb_build_fourcc_list  =============
[11:06:06] [PASSED] no native formats
[11:06:06] [PASSED] XRGB8888 as native format
[11:06:06] [PASSED] remove duplicates
[11:06:06] [PASSED] convert alpha formats
[11:06:06] [PASSED] random formats
[11:06:06] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[11:06:06] ============= [PASSED] drm_sysfb_modeset_test ==============
[11:06:06] ================== drm_fixp (2 subtests) ===================
[11:06:06] [PASSED] drm_test_int2fixp
[11:06:06] [PASSED] drm_test_sm2fixp
[11:06:06] ==================== [PASSED] drm_fixp =====================
[11:06:06] ============================================================
[11:06:06] Testing complete. Ran 667 tests: passed: 667
[11:06:06] Elapsed time: 28.042s total, 2.506s configuring, 25.070s building, 0.461s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[11:06:06] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:06:09] 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
[11:06:19] Starting KUnit Kernel (1/1)...
[11:06:19] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:06:19] ================= ttm_device (5 subtests) ==================
[11:06:19] [PASSED] ttm_device_init_basic
[11:06:19] [PASSED] ttm_device_init_multiple
[11:06:19] [PASSED] ttm_device_fini_basic
[11:06:19] [PASSED] ttm_device_init_no_vma_man
[11:06:19] ================== ttm_device_init_pools  ==================
[11:06:19] [PASSED] No DMA allocations, no DMA32 required
[11:06:19] [PASSED] DMA allocations, DMA32 required
[11:06:19] [PASSED] No DMA allocations, DMA32 required
[11:06:19] [PASSED] DMA allocations, no DMA32 required
[11:06:19] ============== [PASSED] ttm_device_init_pools ==============
[11:06:19] =================== [PASSED] ttm_device ====================
[11:06:19] ================== ttm_pool (8 subtests) ===================
[11:06:19] ================== ttm_pool_alloc_basic  ===================
[11:06:19] [PASSED] One page
[11:06:19] [PASSED] More than one page
[11:06:19] [PASSED] Above the allocation limit
[11:06:19] [PASSED] One page, with coherent DMA mappings enabled
[11:06:19] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[11:06:19] ============== [PASSED] ttm_pool_alloc_basic ===============
[11:06:19] ============== ttm_pool_alloc_basic_dma_addr  ==============
[11:06:19] [PASSED] One page
[11:06:19] [PASSED] More than one page
[11:06:19] [PASSED] Above the allocation limit
[11:06:19] [PASSED] One page, with coherent DMA mappings enabled
[11:06:19] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[11:06:19] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[11:06:19] [PASSED] ttm_pool_alloc_order_caching_match
[11:06:19] [PASSED] ttm_pool_alloc_caching_mismatch
[11:06:19] [PASSED] ttm_pool_alloc_order_mismatch
[11:06:19] [PASSED] ttm_pool_free_dma_alloc
[11:06:19] [PASSED] ttm_pool_free_no_dma_alloc
[11:06:19] [PASSED] ttm_pool_fini_basic
[11:06:19] ==================== [PASSED] ttm_pool =====================
[11:06:19] ================ ttm_resource (8 subtests) =================
[11:06:19] ================= ttm_resource_init_basic  =================
[11:06:19] [PASSED] Init resource in TTM_PL_SYSTEM
[11:06:19] [PASSED] Init resource in TTM_PL_VRAM
[11:06:19] [PASSED] Init resource in a private placement
[11:06:19] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[11:06:19] ============= [PASSED] ttm_resource_init_basic =============
[11:06:19] [PASSED] ttm_resource_init_pinned
[11:06:19] [PASSED] ttm_resource_fini_basic
[11:06:19] [PASSED] ttm_resource_manager_init_basic
[11:06:19] [PASSED] ttm_resource_manager_usage_basic
[11:06:19] [PASSED] ttm_resource_manager_set_used_basic
[11:06:19] [PASSED] ttm_sys_man_alloc_basic
[11:06:19] [PASSED] ttm_sys_man_free_basic
[11:06:19] ================== [PASSED] ttm_resource ===================
[11:06:19] =================== ttm_tt (15 subtests) ===================
[11:06:19] ==================== ttm_tt_init_basic  ====================
[11:06:19] [PASSED] Page-aligned size
[11:06:19] [PASSED] Extra pages requested
[11:06:19] ================ [PASSED] ttm_tt_init_basic ================
[11:06:19] [PASSED] ttm_tt_init_misaligned
[11:06:19] [PASSED] ttm_tt_fini_basic
[11:06:19] [PASSED] ttm_tt_fini_sg
[11:06:19] [PASSED] ttm_tt_fini_shmem
[11:06:19] [PASSED] ttm_tt_create_basic
[11:06:19] [PASSED] ttm_tt_create_invalid_bo_type
[11:06:19] [PASSED] ttm_tt_create_ttm_exists
[11:06:19] [PASSED] ttm_tt_create_failed
[11:06:19] [PASSED] ttm_tt_destroy_basic
[11:06:19] [PASSED] ttm_tt_populate_null_ttm
[11:06:19] [PASSED] ttm_tt_populate_populated_ttm
[11:06:19] [PASSED] ttm_tt_unpopulate_basic
[11:06:19] [PASSED] ttm_tt_unpopulate_empty_ttm
[11:06:19] [PASSED] ttm_tt_swapin_basic
[11:06:19] ===================== [PASSED] ttm_tt ======================
[11:06:19] =================== ttm_bo (14 subtests) ===================
[11:06:19] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[11:06:19] [PASSED] Cannot be interrupted and sleeps
[11:06:19] [PASSED] Cannot be interrupted, locks straight away
[11:06:19] [PASSED] Can be interrupted, sleeps
[11:06:19] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[11:06:19] [PASSED] ttm_bo_reserve_locked_no_sleep
[11:06:19] [PASSED] ttm_bo_reserve_no_wait_ticket
[11:06:19] [PASSED] ttm_bo_reserve_double_resv
[11:06:19] [PASSED] ttm_bo_reserve_interrupted
[11:06:19] [PASSED] ttm_bo_reserve_deadlock
[11:06:19] [PASSED] ttm_bo_unreserve_basic
[11:06:19] [PASSED] ttm_bo_unreserve_pinned
[11:06:19] [PASSED] ttm_bo_unreserve_bulk
[11:06:19] [PASSED] ttm_bo_fini_basic
[11:06:19] [PASSED] ttm_bo_fini_shared_resv
[11:06:19] [PASSED] ttm_bo_pin_basic
[11:06:19] [PASSED] ttm_bo_pin_unpin_resource
[11:06:19] [PASSED] ttm_bo_multiple_pin_one_unpin
[11:06:19] ===================== [PASSED] ttm_bo ======================
[11:06:19] ============== ttm_bo_validate (22 subtests) ===============
[11:06:19] ============== ttm_bo_init_reserved_sys_man  ===============
[11:06:19] [PASSED] Buffer object for userspace
[11:06:19] [PASSED] Kernel buffer object
[11:06:19] [PASSED] Shared buffer object
[11:06:19] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[11:06:19] ============== ttm_bo_init_reserved_mock_man  ==============
[11:06:19] [PASSED] Buffer object for userspace
[11:06:19] [PASSED] Kernel buffer object
[11:06:19] [PASSED] Shared buffer object
[11:06:19] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[11:06:19] [PASSED] ttm_bo_init_reserved_resv
[11:06:19] ================== ttm_bo_validate_basic  ==================
[11:06:19] [PASSED] Buffer object for userspace
[11:06:19] [PASSED] Kernel buffer object
[11:06:19] [PASSED] Shared buffer object
[11:06:19] ============== [PASSED] ttm_bo_validate_basic ==============
[11:06:19] [PASSED] ttm_bo_validate_invalid_placement
[11:06:19] ============= ttm_bo_validate_same_placement  ==============
[11:06:19] [PASSED] System manager
[11:06:19] [PASSED] VRAM manager
[11:06:19] ========= [PASSED] ttm_bo_validate_same_placement ==========
[11:06:19] [PASSED] ttm_bo_validate_failed_alloc
[11:06:19] [PASSED] ttm_bo_validate_pinned
[11:06:19] [PASSED] ttm_bo_validate_busy_placement
[11:06:19] ================ ttm_bo_validate_multihop  =================
[11:06:19] [PASSED] Buffer object for userspace
[11:06:19] [PASSED] Kernel buffer object
[11:06:19] [PASSED] Shared buffer object
[11:06:19] ============ [PASSED] ttm_bo_validate_multihop =============
[11:06:19] ========== ttm_bo_validate_no_placement_signaled  ==========
[11:06:19] [PASSED] Buffer object in system domain, no page vector
[11:06:19] [PASSED] Buffer object in system domain with an existing page vector
[11:06:19] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[11:06:19] ======== ttm_bo_validate_no_placement_not_signaled  ========
[11:06:19] [PASSED] Buffer object for userspace
[11:06:19] [PASSED] Kernel buffer object
[11:06:19] [PASSED] Shared buffer object
[11:06:19] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[11:06:19] [PASSED] ttm_bo_validate_move_fence_signaled
[11:06:19] ========= ttm_bo_validate_move_fence_not_signaled  =========
[11:06:19] [PASSED] Waits for GPU
[11:06:19] [PASSED] Tries to lock straight away
[11:06:19] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[11:06:19] [PASSED] ttm_bo_validate_swapout
[11:06:19] [PASSED] ttm_bo_validate_happy_evict
[11:06:19] [PASSED] ttm_bo_validate_all_pinned_evict
[11:06:19] [PASSED] ttm_bo_validate_allowed_only_evict
[11:06:19] [PASSED] ttm_bo_validate_deleted_evict
[11:06:19] [PASSED] ttm_bo_validate_busy_domain_evict
[11:06:19] [PASSED] ttm_bo_validate_evict_gutting
[11:06:19] [PASSED] ttm_bo_validate_recrusive_evict
[11:06:19] ================= [PASSED] ttm_bo_validate =================
[11:06:19] ============================================================
[11:06:19] Testing complete. Ran 102 tests: passed: 102
[11:06:19] Elapsed time: 12.876s total, 2.539s configuring, 10.122s building, 0.176s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[11:06:19] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:06:22] 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
[11:06:31] Starting KUnit Kernel (1/1)...
[11:06:31] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:06:31] =============== dma-buf-fence (12 subtests) ================
[11:06:31] [PASSED] test_sanitycheck
[11:06:31] [PASSED] test_signaling
[11:06:31] [PASSED] test_add_callback
[11:06:31] [PASSED] test_late_add_callback
[11:06:31] [PASSED] test_rm_callback
[11:06:31] [PASSED] test_late_rm_callback
[11:06:31] [PASSED] test_status
[11:06:31] [PASSED] test_error
[11:06:31] [PASSED] test_wait
[11:06:31] [PASSED] test_wait_timeout
[11:06:31] [PASSED] test_stub
[11:06:31] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[11:06:31] ================== [PASSED] dma-buf-fence ==================
[11:06:31] ============ dma-buf-fence-chain (11 subtests) =============
[11:06:31] [PASSED] test_sanitycheck
[11:06:31] [PASSED] test_find_seqno
[11:06:31] [PASSED] test_find_signaled
[11:06:31] [PASSED] test_find_out_of_order
[11:06:36] [PASSED] test_find_gap
[11:06:36] [PASSED] test_find_race
[11:06:36] [PASSED] test_signal_forward
[11:06:36] [PASSED] test_signal_backward
[11:06:36] [PASSED] test_wait_forward
[11:06:36] [PASSED] test_wait_backward
[11:06:36] [PASSED] test_wait_random
[11:06:36] =============== [PASSED] dma-buf-fence-chain ===============
[11:06:36] ============ dma-buf-fence-unwrap (11 subtests) ============
[11:06:36] [PASSED] test_sanitycheck
[11:06:36] [PASSED] test_unwrap_array
[11:06:36] [PASSED] test_unwrap_chain
[11:06:36] [PASSED] test_unwrap_chain_array
[11:06:36] [PASSED] test_unwrap_merge
[11:06:36] [PASSED] test_unwrap_merge_duplicate
[11:06:36] [PASSED] test_unwrap_merge_seqno
[11:06:36] [PASSED] test_unwrap_merge_order
[11:06:36] [PASSED] test_unwrap_merge_complex
[11:06:36] [PASSED] test_unwrap_merge_complex_seqno
[11:06:36] [PASSED] test_dedup_empty
[11:06:36] ============== [PASSED] dma-buf-fence-unwrap ===============
[11:06:36] ================ dma-buf-resv (5 subtests) =================
[11:06:36] [PASSED] test_sanitycheck
[11:06:36] ===================== test_signaling  ======================
[11:06:36] [PASSED] kernel
[11:06:36] [PASSED] write
[11:06:36] [PASSED] read
[11:06:36] [PASSED] bookkeep
[11:06:36] ================= [PASSED] test_signaling ==================
[11:06:36] ====================== test_for_each  ======================
[11:06:36] [PASSED] kernel
[11:06:36] [PASSED] write
[11:06:36] [PASSED] read
[11:06:36] [PASSED] bookkeep
[11:06:36] ================== [PASSED] test_for_each ==================
[11:06:36] ================= test_for_each_unlocked  ==================
[11:06:36] [PASSED] kernel
[11:06:36] [PASSED] write
[11:06:36] [PASSED] read
[11:06:36] [PASSED] bookkeep
[11:06:36] ============= [PASSED] test_for_each_unlocked ==============
[11:06:36] ===================== test_get_fences  =====================
[11:06:36] [PASSED] kernel
[11:06:36] [PASSED] write
[11:06:36] [PASSED] read
[11:06:36] [PASSED] bookkeep
[11:06:36] ================= [PASSED] test_get_fences =================
[11:06:36] ================== [PASSED] dma-buf-resv ===================
[11:06:36] ============================================================
[11:06:36] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[11:06:36] Elapsed time: 16.775s total, 2.542s configuring, 8.911s building, 5.278s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU
  2026-11-06 10:50   ` sashiko-bot
@ 2026-11-06 11:34     ` Matthew Auld
  0 siblings, 0 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 11:34 UTC (permalink / raw)
  To: sashiko-reviews, intel-xe

On 06/11/2026 10:50, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [High] drm/xe: missing ttm_bo_unmap_virtual() before xe_ttm_bo_purge()
>    in eviction
> --
> 
> commit 0a382553920cfe97389f0ff2b7a78f7419640c3e
> Author: Matthew Auld <matthew.auld@intel.com>
> 
> drm/xe: only evict CCS buffers from TT on iGPU
> 
> This commit changes xe_bo_evict_all_user() on iGPU platforms with Flat CCS
> to walk the XE_PL_TT LRU and only evict or purge buffers with initialized
> CCS state rather than evicting all buffers in TT.
> 
>> diff --git a/drivers/gpu/drm/xe/xe_bo_evict.c b/drivers/gpu/drm/xe/xe_bo_evict.c
>> index 7661fca7f278f..1f95769c4a562 100644
>> --- a/drivers/gpu/drm/xe/xe_bo_evict.c
>> +++ b/drivers/gpu/drm/xe/xe_bo_evict.c
> [ ... ]
>> @@ -104,8 +106,46 @@ void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe)
>>   				    xe_bo_notifier_unprepare_pinned);
>>   }
>>   
>> +static int xe_bo_evict_all_ccs(struct ttm_resource_manager *man)
>> +{
>> +	struct ttm_operation_ctx ctx = {
>> +		.interruptible = false,
>> +		.no_wait_gpu = false,
>> +	};
>> +	struct ttm_lru_walk_arg arg = {
>> +		.ctx = &ctx,
>> +		.sleeping_lock = true,
>> +	};
>> +	struct ttm_bo_lru_cursor cursor;
>> +	struct ttm_buffer_object *ttm_bo;
>> +	int ret = 0;
>> +
>> +	ttm_bo_lru_for_each_reserved_guarded(&cursor, man, &arg, ttm_bo) {
>> +		struct xe_bo *bo;
>> +
>> +		if (!xe_bo_is_xe_bo(ttm_bo) || ttm_bo->deleted)
>> +			continue;
>> +
>> +		bo = ttm_to_xe_bo(ttm_bo);
>> +		if (xe_bo_is_pinned(bo) || !xe_bo_needs_ccs_pages(bo) ||
>> +		    !bo->ccs_cleared)
>> +			continue;
>> +
>> +		if (xe_bo_madv_is_dontneed(bo))
>> +			ret = xe_ttm_bo_purge(ttm_bo, &ctx);
> 
> [Severity: High]
> Does calling xe_ttm_bo_purge() directly without ttm_bo_unmap_virtual()
> leave userspace CPU mmap PTEs pointing to freed backing pages?
> 
> When a CPU-faulted BO is marked DONTNEED via xe_vm_madvise_ioctl(),
> PTE invalidation is deferred until the BO is moved or purged.  Previously,
> ttm_resource_manager_evict_all() went through ttm_bo_handle_move_mem(),
> which calls ttm_bo_unmap_virtual() before invoking xe_bo_move() ->
> xe_ttm_bo_purge().
> 
> Calling xe_ttm_bo_purge() directly here runs xe_bo_move_notify() (which
> only unmaps kernel vmaps) and then calls ttm_bo_validate() with an empty
> placement, which goes straight to ttm_bo_pipeline_gutting() and frees the
> pages back to the TTM page pool without unmapping userspace CPU PTEs.
> 

Indeed, missed this. Will fix.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* ✓ Xe.CI.BAT: success for Optimise suspend handling for CCS igpu platforms
  2026-11-06 10:16 [PATCH 0/2] Optimise suspend handling for CCS igpu platforms Matthew Auld
                   ` (2 preceding siblings ...)
  2026-11-06 11:06 ` ✓ CI.KUnit: success for Optimise suspend handling for CCS igpu platforms Patchwork
@ 2026-11-06 11:40 ` Patchwork
  3 siblings, 0 replies; 15+ messages in thread
From: Patchwork @ 2026-11-06 11:40 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

== Series Details ==

Series: Optimise suspend handling for CCS igpu platforms
URL   : https://patchwork.freedesktop.org/series/177963/
State : success

== Summary ==

CI Bug Log - changes from xe-6079-7797f00bc4da28646c612b8130ccd5192548ceea_BAT -> xe-pw-177963v1_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (15 -> 15)
------------------------------

  No changes in participating hosts


Changes
-------

  No changes found


Build changes
-------------

  * Linux: xe-6079-7797f00bc4da28646c612b8130ccd5192548ceea -> xe-pw-177963v1

  IGT_9180: 9180
  xe-6079-7797f00bc4da28646c612b8130ccd5192548ceea: 7797f00bc4da28646c612b8130ccd5192548ceea
  xe-pw-177963v1: 177963v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-177963v1/index.html

[-- Attachment #2: Type: text/html, Size: 1419 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 11:02     ` Matthew Auld
@ 2026-11-06 13:16       ` Matthew Auld
  0 siblings, 0 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-06 13:16 UTC (permalink / raw)
  To: Thomas Hellström, intel-xe; +Cc: Matthew Brost, Carlos Santa

On 06/11/2026 11:02, Matthew Auld wrote:
> Hey,
> 
> On 06/11/2026 10:32, Thomas Hellström wrote:
>> Hi, Matthew,
>>
>> On Fri, 2026-11-06 at 10:16 +0000, Matthew Auld wrote:
>>> On iGPU platforms, system RAM and graphics stolen memory remain
>>> powered
>>> during S2idle and S3 (< S4) suspend, so evicting user buffers or
>>> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
>>> buffers in userspace caches.
>>>
>>> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
>>> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction
>>> on
>>> iGPU when not creating a hibernation image.
>>
>> Isn't there a risk that compression metadata is lost or cleared on S3
>> resume if we don't back it up?
> 
> In theory it just lives in RAM which will self-refresh in s3 etc. In the 
> xe2+ memory compression SAS, it explicitly says: "During S4, CCS pool 
> will be lost", but for s3 etc it should "persist".

Ok, tried to double check this on real hw, but on LNL:

cat /sys/power/mem_sleep
[s2idle]

Sounds like there is no "S3" anymore on modern hw, just S0ix (s2idle).

With this series (S0ix):

gta@DUT2108LNL:~$ sudo ./igt/libexec/igt-gpu-tools/xe_ccs --r suspend-resume
IGT-Version: 2.6-g454657e58 (x86_64) (Linux: 
7.4.0-rc1-lgci-xe-xe-pw-177963v1-debug+ x86_64)
Using IGT_SRANDOM=1793968720 for randomisation
Opened device: /dev/dri/card0
Starting subtest: suspend-resume
Starting dynamic subtest: linear-compressed-compfmt0-system-system
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Fri Nov  6 12:38:56 2026
Dynamic subtest linear-compressed-compfmt0-system-system: SUCCESS (8.161s)
Starting dynamic subtest: xmajor-compressed-compfmt0-system-system
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Fri Nov  6 12:39:17 2026
Dynamic subtest xmajor-compressed-compfmt0-system-system: SUCCESS (8.149s)
Starting dynamic subtest: tile4-compressed-compfmt0-system-system
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Fri Nov  6 12:39:39 2026
Dynamic subtest tile4-compressed-compfmt0-system-system: SUCCESS (7.891s)
Starting dynamic subtest: tile64-compressed-compfmt0-system-system
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Fri Nov  6 12:40:00 2026
Dynamic subtest tile64-compressed-compfmt0-system-system: SUCCESS (16.632s)
Subtest suspend-resume: SUCCESS (40.834s)

That test will fail if the raw CCS is not identical after suspend.

> 
>>
>> Thanks,
>> Thomas
>>
>>
>>>
>>> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
>>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>>> Cc: Matthew Brost <matthew.brost@intel.com>
>>> Cc: Carlos Santa <carlos.santa@intel.com>
>>> ---
>>>   drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>>>   drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>>>   drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>>>   3 files changed, 39 insertions(+), 10 deletions(-)
>>>
>>> diff --git a/drivers/gpu/drm/xe/xe_pci.c
>>> b/drivers/gpu/drm/xe/xe_pci.c
>>> index ba23ec60477b..67be6e707361 100644
>>> --- a/drivers/gpu/drm/xe/xe_pci.c
>>> +++ b/drivers/gpu/drm/xe/xe_pci.c
>>> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev,
>>> enum toggle_d3cold toggle)
>>>       }
>>>   }
>>> -static int xe_pci_suspend(struct device *dev)
>>> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>>>   {
>>>       struct pci_dev *pdev = to_pci_dev(dev);
>>>       struct xe_device *xe = pdev_to_xe_device(pdev);
>>> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>>>       if (xe_survivability_mode_is_boot_enabled(xe))
>>>           return -EBUSY;
>>> -    err = xe_pm_suspend(xe);
>>> +    err = xe_pm_suspend(xe, hibernate);
>>>       if (err)
>>>           return err;
>>> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>>>       return 0;
>>>   }
>>> +static int xe_pci_suspend(struct device *dev)
>>> +{
>>> +    return __xe_pci_suspend(dev, false);
>>> +}
>>> +
>>> +static int xe_pci_freeze(struct device *dev)
>>> +{
>>> +    return __xe_pci_suspend(dev, true);
>>> +}
>>> +
>>>   static int xe_pci_resume(struct device *dev)
>>>   {
>>>       struct pci_dev *pdev = to_pci_dev(dev);
>>> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device
>>> *dev)
>>>   }
>>>   static const struct dev_pm_ops xe_pm_ops = {
>>> -    SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
>>> +    .suspend = pm_sleep_ptr(xe_pci_suspend),
>>> +    .resume = pm_sleep_ptr(xe_pci_resume),
>>> +    .freeze = pm_sleep_ptr(xe_pci_freeze),
>>> +    .thaw = pm_sleep_ptr(xe_pci_resume),
>>> +    .poweroff = pm_sleep_ptr(xe_pci_suspend),
>>> +    .restore = pm_sleep_ptr(xe_pci_resume),
>>>       SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend,
>>> xe_pci_runtime_resume, xe_pci_runtime_idle)
>>>   };
>>>   #endif
>>> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
>>> index 61d68c09189f..e73192b03074 100644
>>> --- a/drivers/gpu/drm/xe/xe_pm.c
>>> +++ b/drivers/gpu/drm/xe/xe_pm.c
>>> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct
>>> xe_device *xe)
>>>                &xe_pm_runtime_d3cold_map);
>>>   }
>>> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool
>>> hibernate)
>>> +{
>>> +    return IS_DGFX(xe) || hibernate;
>>> +}
>>> +
>>>   /**
>>> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
>>>> S2idle
>>> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
>>>> S2idle / S0->S4
>>>    * @xe: xe device instance
>>> + * @hibernate: true if preparing for S4 hibernation, false for < S4
>>> suspend
>>>    *
>>>    * Return: 0 on success
>>>    */
>>> -int xe_pm_suspend(struct xe_device *xe)
>>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>>>   {
>>>       struct xe_gt *gt;
>>>       u8 id;
>>> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>>>       xe_display_pm_suspend(xe);
>>> -    /* FIXME: Super racey... */
>>> -    err = xe_bo_evict_all(xe);
>>> -    if (err)
>>> -        goto err_display;
>>> +    if (xe_pm_needs_bo_evict(xe, hibernate)) {
>>> +        /* 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);
>>> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct
>>> notifier_block *nb,
>>>           struct xe_validation_ctx ctx;
>>>           reinit_completion(&xe->pm_block);
>>> +        if (!xe_pm_needs_bo_evict(xe, action ==
>>> PM_HIBERNATION_PREPARE))
>>> +            break;
>>> +
>>>           xe_pm_block_begin_signalling();
>>>           xe_pm_runtime_get(xe);
>>>           (void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
>>> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct
>>> notifier_block *nb,
>>>       case PM_POST_SUSPEND:
>>>           complete_all(&xe->pm_block);
>>>           xe_pm_wake_rebind_workers(xe);
>>> +        if (!xe_pm_needs_bo_evict(xe, action ==
>>> PM_POST_HIBERNATION))
>>> +            break;
>>> +
>>>           xe_bo_notifier_unprepare_all_pinned(xe);
>>>           xe_pm_runtime_put(xe);
>>>           break;
>>> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
>>> index 16d4e6c629f1..af81f2a2975f 100644
>>> --- a/drivers/gpu/drm/xe/xe_pm.h
>>> +++ b/drivers/gpu/drm/xe/xe_pm.h
>>> @@ -13,7 +13,7 @@
>>>   struct xe_device;
>>> -int xe_pm_suspend(struct xe_device *xe);
>>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>>>   int xe_pm_resume(struct xe_device *xe);
>>>   int xe_pm_init_early(struct xe_device *xe);
> 


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU
  2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
  2026-11-06 10:50   ` sashiko-bot
@ 2026-11-06 15:07   ` Thomas Hellström
  1 sibling, 0 replies; 15+ messages in thread
From: Thomas Hellström @ 2026-11-06 15:07 UTC (permalink / raw)
  To: Matthew Auld, intel-xe; +Cc: Matthew Brost, Carlos Santa

On Fri, 2026-11-06 at 10:16 +0000, Matthew Auld wrote:
> On iGPU platforms with Flat CCS, xe_bo_evict_all_user() currently
> calls
> ttm_resource_manager_evict_all() on XE_PL_TT, evicting every buffer
> in
> TT even if it does not use Flat CCS compression.
> 
> Walk the XE_PL_TT LRU using ttm_bo_lru_for_each_reserved_guarded()
> and
> only evict buffers with initialised CCS state (or purge them if
> marked
> DONTNEED), leaving non-CCS buffers in place.
> 
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Carlos Santa <carlos.santa@intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>

> ---
>  drivers/gpu/drm/xe/xe_bo_evict.c | 64
> +++++++++++++++++++++++++++++++++-------
>  1 file changed, 54 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_bo_evict.c
> b/drivers/gpu/drm/xe/xe_bo_evict.c
> index 7661fca7f278..1f95769c4a56 100644
> --- a/drivers/gpu/drm/xe/xe_bo_evict.c
> +++ b/drivers/gpu/drm/xe/xe_bo_evict.c
> @@ -5,6 +5,8 @@
>  
>  #include "xe_bo_evict.h"
>  
> +#include <drm/ttm/ttm_bo.h>
> +
>  #include "xe_bo.h"
>  #include "xe_device.h"
>  #include "xe_ggtt.h"
> @@ -104,8 +106,46 @@ void xe_bo_notifier_unprepare_all_pinned(struct
> xe_device *xe)
>  				   
> xe_bo_notifier_unprepare_pinned);
>  }
>  
> +static int xe_bo_evict_all_ccs(struct ttm_resource_manager *man)
> +{
> +	struct ttm_operation_ctx ctx = {
> +		.interruptible = false,
> +		.no_wait_gpu = false,
> +	};
> +	struct ttm_lru_walk_arg arg = {
> +		.ctx = &ctx,
> +		.sleeping_lock = true,
> +	};
> +	struct ttm_bo_lru_cursor cursor;
> +	struct ttm_buffer_object *ttm_bo;
> +	int ret = 0;
> +
> +	ttm_bo_lru_for_each_reserved_guarded(&cursor, man, &arg,
> ttm_bo) {
> +		struct xe_bo *bo;
> +
> +		if (!xe_bo_is_xe_bo(ttm_bo) || ttm_bo->deleted)
> +			continue;
> +
> +		bo = ttm_to_xe_bo(ttm_bo);
> +		if (xe_bo_is_pinned(bo) ||
> !xe_bo_needs_ccs_pages(bo) ||
> +		    !bo->ccs_cleared)
> +			continue;
> +
> +		if (xe_bo_madv_is_dontneed(bo))
> +			ret = xe_ttm_bo_purge(ttm_bo, &ctx);
> +		else
> +			ret = xe_bo_evict(bo, NULL);
> +		if (ret)
> +			break;
> +	}
> +	if (IS_ERR(ttm_bo))
> +		return PTR_ERR(ttm_bo);
> +
> +	return ret;
> +}
> +
>  /**
> - * xe_bo_evict_all_user - evict all non-pinned user BOs from VRAM
> + * xe_bo_evict_all_user - evict all non-pinned user BOs from VRAM
> (and CCS in TT)
>   * @xe: xe device
>   *
>   * Evict non-pinned user BOs (via GPU).
> @@ -123,22 +163,26 @@ int xe_bo_evict_all_user(struct xe_device *xe)
>  		struct ttm_resource_manager *man =
>  			ttm_manager_type(bdev, mem_type);
>  
> +		if (!man)
> +			continue;
> +
>  		/*
>  		 * On igpu platforms with flat CCS we need to ensure
> we save and restore any CCS
>  		 * state since this state lives inside graphics
> stolen memory which doesn't survive
>  		 * hibernation.
> -		 *
> -		 * This can be further improved by only evicting
> objects that we know have actually
> -		 * used a compression enabled PAT index.
>  		 */
> -		if (mem_type == XE_PL_TT && (IS_DGFX(xe) ||
> !xe_device_has_flat_ccs(xe)))
> +		if (mem_type == XE_PL_TT) {
> +			if (!IS_DGFX(xe) &&
> xe_device_has_flat_ccs(xe)) {
> +				ret = xe_bo_evict_all_ccs(man);
> +				if (ret)
> +					return ret;
> +			}
>  			continue;
> -
> -		if (man) {
> -			ret = ttm_resource_manager_evict_all(bdev,
> man);
> -			if (ret)
> -				return ret;
>  		}
> +
> +		ret = ttm_resource_manager_evict_all(bdev, man);
> +		if (ret)
> +			return ret;
>  	}
>  
>  	return 0;

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
  2026-11-06 10:31   ` sashiko-bot
  2026-11-06 10:32   ` Thomas Hellström
@ 2026-11-06 15:11   ` Thomas Hellström
  2026-11-06 17:07   ` Ville Syrjälä
  3 siblings, 0 replies; 15+ messages in thread
From: Thomas Hellström @ 2026-11-06 15:11 UTC (permalink / raw)
  To: Matthew Auld, intel-xe; +Cc: Matthew Brost, Carlos Santa

On Fri, 2026-11-06 at 10:16 +0000, Matthew Auld wrote:
> On iGPU platforms, system RAM and graphics stolen memory remain
> powered
> during S2idle and S3 (< S4) suspend, so evicting user buffers or
> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
> buffers in userspace caches.
> 
> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction
> on
> iGPU when not creating a hibernation image.
> 
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Carlos Santa <carlos.santa@intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>



> ---
>  drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>  drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>  drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>  3 files changed, 39 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c
> b/drivers/gpu/drm/xe/xe_pci.c
> index ba23ec60477b..67be6e707361 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev,
> enum toggle_d3cold toggle)
>  	}
>  }
>  
> -static int xe_pci_suspend(struct device *dev)
> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
>  	struct xe_device *xe = pdev_to_xe_device(pdev);
> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>  	if (xe_survivability_mode_is_boot_enabled(xe))
>  		return -EBUSY;
>  
> -	err = xe_pm_suspend(xe);
> +	err = xe_pm_suspend(xe, hibernate);
>  	if (err)
>  		return err;
>  
> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>  	return 0;
>  }
>  
> +static int xe_pci_suspend(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, false);
> +}
> +
> +static int xe_pci_freeze(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, true);
> +}
> +
>  static int xe_pci_resume(struct device *dev)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device
> *dev)
>  }
>  
>  static const struct dev_pm_ops xe_pm_ops = {
> -	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
> +	.suspend = pm_sleep_ptr(xe_pci_suspend),
> +	.resume = pm_sleep_ptr(xe_pci_resume),
> +	.freeze = pm_sleep_ptr(xe_pci_freeze),
> +	.thaw = pm_sleep_ptr(xe_pci_resume),
> +	.poweroff = pm_sleep_ptr(xe_pci_suspend),
> +	.restore = pm_sleep_ptr(xe_pci_resume),
>  	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend,
> xe_pci_runtime_resume, xe_pci_runtime_idle)
>  };
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
> index 61d68c09189f..e73192b03074 100644
> --- a/drivers/gpu/drm/xe/xe_pm.c
> +++ b/drivers/gpu/drm/xe/xe_pm.c
> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct
> xe_device *xe)
>  			 &xe_pm_runtime_d3cold_map);
>  }
>  
> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool
> hibernate)
> +{
> +	return IS_DGFX(xe) || hibernate;
> +}
> +
>  /**
> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
> >S2idle
> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0-
> >S2idle / S0->S4
>   * @xe: xe device instance
> + * @hibernate: true if preparing for S4 hibernation, false for < S4
> suspend
>   *
>   * Return: 0 on success
>   */
> -int xe_pm_suspend(struct xe_device *xe)
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>  {
>  	struct xe_gt *gt;
>  	u8 id;
> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>  
>  	xe_display_pm_suspend(xe);
>  
> -	/* FIXME: Super racey... */
> -	err = xe_bo_evict_all(xe);
> -	if (err)
> -		goto err_display;
> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
> +		/* 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);
> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct
> notifier_block *nb,
>  		struct xe_validation_ctx ctx;
>  
>  		reinit_completion(&xe->pm_block);
> +		if (!xe_pm_needs_bo_evict(xe, action ==
> PM_HIBERNATION_PREPARE))
> +			break;
> +
>  		xe_pm_block_begin_signalling();
>  		xe_pm_runtime_get(xe);
>  		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct
> notifier_block *nb,
>  	case PM_POST_SUSPEND:
>  		complete_all(&xe->pm_block);
>  		xe_pm_wake_rebind_workers(xe);
> +		if (!xe_pm_needs_bo_evict(xe, action ==
> PM_POST_HIBERNATION))
> +			break;
> +
>  		xe_bo_notifier_unprepare_all_pinned(xe);
>  		xe_pm_runtime_put(xe);
>  		break;
> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
> index 16d4e6c629f1..af81f2a2975f 100644
> --- a/drivers/gpu/drm/xe/xe_pm.h
> +++ b/drivers/gpu/drm/xe/xe_pm.h
> @@ -13,7 +13,7 @@
>  
>  struct xe_device;
>  
> -int xe_pm_suspend(struct xe_device *xe);
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>  int xe_pm_resume(struct xe_device *xe);
>  
>  int xe_pm_init_early(struct xe_device *xe);

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
                     ` (2 preceding siblings ...)
  2026-11-06 15:11   ` Thomas Hellström
@ 2026-11-06 17:07   ` Ville Syrjälä
  2026-11-09  9:31     ` Matthew Auld
  3 siblings, 1 reply; 15+ messages in thread
From: Ville Syrjälä @ 2026-11-06 17:07 UTC (permalink / raw)
  To: Matthew Auld; +Cc: intel-xe, Thomas Hellström, Matthew Brost, Carlos Santa

On Fri, Nov 06, 2026 at 10:16:43AM +0000, Matthew Auld wrote:
> On iGPU platforms, system RAM and graphics stolen memory remain powered
> during S2idle and S3 (< S4) suspend, so evicting user buffers or
> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
> buffers in userspace caches.
> 
> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction on
> iGPU when not creating a hibernation image.

Is Intel Rapid Start still a thing?

> 
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Carlos Santa <carlos.santa@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>  drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>  drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>  3 files changed, 39 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index ba23ec60477b..67be6e707361 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev, enum toggle_d3cold toggle)
>  	}
>  }
>  
> -static int xe_pci_suspend(struct device *dev)
> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
>  	struct xe_device *xe = pdev_to_xe_device(pdev);
> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>  	if (xe_survivability_mode_is_boot_enabled(xe))
>  		return -EBUSY;
>  
> -	err = xe_pm_suspend(xe);
> +	err = xe_pm_suspend(xe, hibernate);
>  	if (err)
>  		return err;
>  
> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>  	return 0;
>  }
>  
> +static int xe_pci_suspend(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, false);
> +}
> +
> +static int xe_pci_freeze(struct device *dev)
> +{
> +	return __xe_pci_suspend(dev, true);
> +}
> +
>  static int xe_pci_resume(struct device *dev)
>  {
>  	struct pci_dev *pdev = to_pci_dev(dev);
> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device *dev)
>  }
>  
>  static const struct dev_pm_ops xe_pm_ops = {
> -	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
> +	.suspend = pm_sleep_ptr(xe_pci_suspend),
> +	.resume = pm_sleep_ptr(xe_pci_resume),
> +	.freeze = pm_sleep_ptr(xe_pci_freeze),
> +	.thaw = pm_sleep_ptr(xe_pci_resume),
> +	.poweroff = pm_sleep_ptr(xe_pci_suspend),
> +	.restore = pm_sleep_ptr(xe_pci_resume),
>  	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend, xe_pci_runtime_resume, xe_pci_runtime_idle)
>  };
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
> index 61d68c09189f..e73192b03074 100644
> --- a/drivers/gpu/drm/xe/xe_pm.c
> +++ b/drivers/gpu/drm/xe/xe_pm.c
> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct xe_device *xe)
>  			 &xe_pm_runtime_d3cold_map);
>  }
>  
> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool hibernate)
> +{
> +	return IS_DGFX(xe) || hibernate;
> +}
> +
>  /**
> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle
> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle / S0->S4
>   * @xe: xe device instance
> + * @hibernate: true if preparing for S4 hibernation, false for < S4 suspend
>   *
>   * Return: 0 on success
>   */
> -int xe_pm_suspend(struct xe_device *xe)
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>  {
>  	struct xe_gt *gt;
>  	u8 id;
> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>  
>  	xe_display_pm_suspend(xe);
>  
> -	/* FIXME: Super racey... */
> -	err = xe_bo_evict_all(xe);
> -	if (err)
> -		goto err_display;
> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
> +		/* 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);
> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
>  		struct xe_validation_ctx ctx;
>  
>  		reinit_completion(&xe->pm_block);
> +		if (!xe_pm_needs_bo_evict(xe, action == PM_HIBERNATION_PREPARE))
> +			break;
> +
>  		xe_pm_block_begin_signalling();
>  		xe_pm_runtime_get(xe);
>  		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
>  	case PM_POST_SUSPEND:
>  		complete_all(&xe->pm_block);
>  		xe_pm_wake_rebind_workers(xe);
> +		if (!xe_pm_needs_bo_evict(xe, action == PM_POST_HIBERNATION))
> +			break;
> +
>  		xe_bo_notifier_unprepare_all_pinned(xe);
>  		xe_pm_runtime_put(xe);
>  		break;
> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
> index 16d4e6c629f1..af81f2a2975f 100644
> --- a/drivers/gpu/drm/xe/xe_pm.h
> +++ b/drivers/gpu/drm/xe/xe_pm.h
> @@ -13,7 +13,7 @@
>  
>  struct xe_device;
>  
> -int xe_pm_suspend(struct xe_device *xe);
> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>  int xe_pm_resume(struct xe_device *xe);
>  
>  int xe_pm_init_early(struct xe_device *xe);
> 
> -- 
> 2.56.0

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep
  2026-11-06 17:07   ` Ville Syrjälä
@ 2026-11-09  9:31     ` Matthew Auld
  0 siblings, 0 replies; 15+ messages in thread
From: Matthew Auld @ 2026-11-09  9:31 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: intel-xe, Thomas Hellström, Matthew Brost, Carlos Santa

On 06/11/2026 17:07, Ville Syrjälä wrote:
> On Fri, Nov 06, 2026 at 10:16:43AM +0000, Matthew Auld wrote:
>> On iGPU platforms, system RAM and graphics stolen memory remain powered
>> during S2idle and S3 (< S4) suspend, so evicting user buffers or
>> preparing pinned BOs is unnecessary and needlessly purges DONTNEED
>> buffers in userspace caches.
>>
>> Distinguish S4 hibernation (.freeze and PM_HIBERNATION_PREPARE) from
>> < S4 suspend (.suspend and PM_SUSPEND_PREPARE), and skip BO eviction on
>> iGPU when not creating a hibernation image.
> 
> Is Intel Rapid Start still a thing?

On lnl+, I can't find anything like that.

> 
>>
>> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>> Cc: Matthew Brost <matthew.brost@intel.com>
>> Cc: Carlos Santa <carlos.santa@intel.com>
>> ---
>>   drivers/gpu/drm/xe/xe_pci.c | 21 ++++++++++++++++++---
>>   drivers/gpu/drm/xe/xe_pm.c  | 26 ++++++++++++++++++++------
>>   drivers/gpu/drm/xe/xe_pm.h  |  2 +-
>>   3 files changed, 39 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
>> index ba23ec60477b..67be6e707361 100644
>> --- a/drivers/gpu/drm/xe/xe_pci.c
>> +++ b/drivers/gpu/drm/xe/xe_pci.c
>> @@ -1335,7 +1335,7 @@ static void d3cold_toggle(struct pci_dev *pdev, enum toggle_d3cold toggle)
>>   	}
>>   }
>>   
>> -static int xe_pci_suspend(struct device *dev)
>> +static int __xe_pci_suspend(struct device *dev, bool hibernate)
>>   {
>>   	struct pci_dev *pdev = to_pci_dev(dev);
>>   	struct xe_device *xe = pdev_to_xe_device(pdev);
>> @@ -1344,7 +1344,7 @@ static int xe_pci_suspend(struct device *dev)
>>   	if (xe_survivability_mode_is_boot_enabled(xe))
>>   		return -EBUSY;
>>   
>> -	err = xe_pm_suspend(xe);
>> +	err = xe_pm_suspend(xe, hibernate);
>>   	if (err)
>>   		return err;
>>   
>> @@ -1362,6 +1362,16 @@ static int xe_pci_suspend(struct device *dev)
>>   	return 0;
>>   }
>>   
>> +static int xe_pci_suspend(struct device *dev)
>> +{
>> +	return __xe_pci_suspend(dev, false);
>> +}
>> +
>> +static int xe_pci_freeze(struct device *dev)
>> +{
>> +	return __xe_pci_suspend(dev, true);
>> +}
>> +
>>   static int xe_pci_resume(struct device *dev)
>>   {
>>   	struct pci_dev *pdev = to_pci_dev(dev);
>> @@ -1491,7 +1501,12 @@ static int xe_pci_runtime_idle(struct device *dev)
>>   }
>>   
>>   static const struct dev_pm_ops xe_pm_ops = {
>> -	SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)
>> +	.suspend = pm_sleep_ptr(xe_pci_suspend),
>> +	.resume = pm_sleep_ptr(xe_pci_resume),
>> +	.freeze = pm_sleep_ptr(xe_pci_freeze),
>> +	.thaw = pm_sleep_ptr(xe_pci_resume),
>> +	.poweroff = pm_sleep_ptr(xe_pci_suspend),
>> +	.restore = pm_sleep_ptr(xe_pci_resume),
>>   	SET_RUNTIME_PM_OPS(xe_pci_runtime_suspend, xe_pci_runtime_resume, xe_pci_runtime_idle)
>>   };
>>   #endif
>> diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
>> index 61d68c09189f..e73192b03074 100644
>> --- a/drivers/gpu/drm/xe/xe_pm.c
>> +++ b/drivers/gpu/drm/xe/xe_pm.c
>> @@ -166,13 +166,19 @@ static void xe_rpm_lockmap_release(const struct xe_device *xe)
>>   			 &xe_pm_runtime_d3cold_map);
>>   }
>>   
>> +static bool xe_pm_needs_bo_evict(struct xe_device *xe, bool hibernate)
>> +{
>> +	return IS_DGFX(xe) || hibernate;
>> +}
>> +
>>   /**
>> - * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle
>> + * xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle / S0->S4
>>    * @xe: xe device instance
>> + * @hibernate: true if preparing for S4 hibernation, false for < S4 suspend
>>    *
>>    * Return: 0 on success
>>    */
>> -int xe_pm_suspend(struct xe_device *xe)
>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate)
>>   {
>>   	struct xe_gt *gt;
>>   	u8 id;
>> @@ -193,10 +199,12 @@ int xe_pm_suspend(struct xe_device *xe)
>>   
>>   	xe_display_pm_suspend(xe);
>>   
>> -	/* FIXME: Super racey... */
>> -	err = xe_bo_evict_all(xe);
>> -	if (err)
>> -		goto err_display;
>> +	if (xe_pm_needs_bo_evict(xe, hibernate)) {
>> +		/* 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);
>> @@ -461,6 +469,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
>>   		struct xe_validation_ctx ctx;
>>   
>>   		reinit_completion(&xe->pm_block);
>> +		if (!xe_pm_needs_bo_evict(xe, action == PM_HIBERNATION_PREPARE))
>> +			break;
>> +
>>   		xe_pm_block_begin_signalling();
>>   		xe_pm_runtime_get(xe);
>>   		(void)xe_validation_ctx_init(&ctx, &xe->val, NULL,
>> @@ -485,6 +496,9 @@ static int xe_pm_notifier_callback(struct notifier_block *nb,
>>   	case PM_POST_SUSPEND:
>>   		complete_all(&xe->pm_block);
>>   		xe_pm_wake_rebind_workers(xe);
>> +		if (!xe_pm_needs_bo_evict(xe, action == PM_POST_HIBERNATION))
>> +			break;
>> +
>>   		xe_bo_notifier_unprepare_all_pinned(xe);
>>   		xe_pm_runtime_put(xe);
>>   		break;
>> diff --git a/drivers/gpu/drm/xe/xe_pm.h b/drivers/gpu/drm/xe/xe_pm.h
>> index 16d4e6c629f1..af81f2a2975f 100644
>> --- a/drivers/gpu/drm/xe/xe_pm.h
>> +++ b/drivers/gpu/drm/xe/xe_pm.h
>> @@ -13,7 +13,7 @@
>>   
>>   struct xe_device;
>>   
>> -int xe_pm_suspend(struct xe_device *xe);
>> +int xe_pm_suspend(struct xe_device *xe, bool hibernate);
>>   int xe_pm_resume(struct xe_device *xe);
>>   
>>   int xe_pm_init_early(struct xe_device *xe);
>>
>> -- 
>> 2.56.0
> 


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-11-09  9:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 10:16 [PATCH 0/2] Optimise suspend handling for CCS igpu platforms Matthew Auld
2026-11-06 10:16 ` [PATCH 1/2] drm/xe: only evict CCS buffers from TT on iGPU Matthew Auld
2026-11-06 10:50   ` sashiko-bot
2026-11-06 11:34     ` Matthew Auld
2026-11-06 15:07   ` Thomas Hellström
2026-11-06 10:16 ` [PATCH 2/2] drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep Matthew Auld
2026-11-06 10:31   ` sashiko-bot
2026-11-06 10:32   ` Thomas Hellström
2026-11-06 11:02     ` Matthew Auld
2026-11-06 13:16       ` Matthew Auld
2026-11-06 15:11   ` Thomas Hellström
2026-11-06 17:07   ` Ville Syrjälä
2026-11-09  9:31     ` Matthew Auld
2026-11-06 11:06 ` ✓ CI.KUnit: success for Optimise suspend handling for CCS igpu platforms Patchwork
2026-11-06 11:40 ` ✓ Xe.CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox