Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 4/5] HACK: Always fallback
  2026-11-13 12:44 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
@ 2026-11-13 12:44 ` Maarten Lankhorst
  2026-11-13 12:50   ` sashiko-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-13 12:44 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst

Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/display/xe_display_bo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
index 9385026a80b97..d78d893210c4f 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.c
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
@@ -142,6 +142,8 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 	if (XE_DEVICE_WA(xe, 22019338487_display))
 		return false;
 
+	return false;
+
 	/*
 	 * If the FB is too big, just don't use it since fbdev is not very
 	 * important and we should probably use that space with FBC or other
-- 
2.55.0


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

* Re: [PATCH v5 4/5] HACK: Always fallback
  2026-11-13 12:44 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
@ 2026-11-13 12:50   ` sashiko-bot
  0 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-13 12:50 UTC (permalink / raw)
  To: Maarten Lankhorst, intel-xe; +Cc: intel-gfx

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/xe/display: debug return false in
  xe_display_bo_fbdev_prefer_stolen()
--

commit 197e9b8f5e53e32742d9ef6f6fe6fad7574e57e8
Author: Maarten Lankhorst <dev@lankhorst.se>

HACK: Always fallback

This commit adds an unconditional return false to
xe_display_bo_fbdev_prefer_stolen().

> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
> index 9385026a80b97..d78d893210c4f 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
> @@ -142,6 +142,8 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  	if (XE_DEVICE_WA(xe, 22019338487_display))
>  		return false;
>  
> +	return false;

[Severity: Medium]
Was this temporary debugging change left in the series by mistake?

Returning false unconditionally here makes the stolen->size check below
unreachable, renders the preceding platform and workaround checks
redundant, and causes initial_plane_bo() to always discard the initial
BIOS framebuffer on integrated platforms when CONFIG_FRAMEBUFFER_CONSOLE
and CONFIG_DRM_FBDEV_EMULATION are enabled.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261113124453.144408-7-dev@lankhorst.se?part=4

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

* [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem.
@ 2026-11-16 13:13 Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 1/5] drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists Maarten Lankhorst
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst

The previous version didn't migrate the BO correctly, both on
earlier platforms without stolen devmem and on later platforms that had it.
Fix both issues, and drop R-B tag, as the migration patch changed too much
to preserve it.

Maarten Lankhorst (5):
  drm/xe/display: Avoid using stolen memory for framebuffer when media
    gt exists.
  drm/xe/migrate: Support copying between sysmem and stolen
  drm/xe: Raise gt frequency slightly earlier.
  HACK: Always fallback
  drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()

 drivers/gpu/drm/i915/display/intel_bo.c       |  7 ++
 drivers/gpu/drm/i915/display/intel_bo.h       |  1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c    | 68 +++++++++++++++---
 drivers/gpu/drm/i915/i915_bo.c                | 14 +++-
 drivers/gpu/drm/i915/i915_bo.h                |  6 --
 drivers/gpu/drm/i915/i915_initial_plane.c     | 14 ----
 drivers/gpu/drm/xe/display/xe_display_bo.c    | 72 ++++++++++++++++++-
 drivers/gpu/drm/xe/display/xe_display_bo.h    |  6 --
 drivers/gpu/drm/xe/display/xe_initial_plane.c | 10 +--
 drivers/gpu/drm/xe/xe_device.c                |  6 +-
 drivers/gpu/drm/xe/xe_migrate.c               | 35 +++++++--
 include/drm/intel/display_parent_interface.h  |  1 +
 12 files changed, 183 insertions(+), 57 deletions(-)

-- 
2.55.0


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

* [PATCH v5 1/5] drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists.
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
@ 2026-11-16 13:13 ` Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen Maarten Lankhorst
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst, Matthew Auld, Uma Shankar

On systems with media GT, extra latency is added when accessing stolen
memory when the GT is in MC6.

Simply disable allocating stolen memory for framebuffers when media gt
is found.

Thanks to the previous patch, it will be possible to preserve the
contents.

Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7513
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260630135523.1775379-3-dev@lankhorst.se
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/display/xe_display_bo.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
index f5102cd0e95d6..9385026a80b97 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.c
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
@@ -131,6 +131,14 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 	if (IS_DGFX(xe))
 		return false;
 
+	/*
+	 * Avoid stolen memory when the media_gt exists,
+	 * because a lot of latency is added when media gt is in MC6
+	 */
+	if (xe_device_get_root_tile(xe)->media_gt)
+		return false;
+
+	/* machine hang when doing lots of LMEMBAR accesses */
 	if (XE_DEVICE_WA(xe, 22019338487_display))
 		return false;
 
-- 
2.55.0


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

* [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 1/5] drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists Maarten Lankhorst
@ 2026-11-16 13:13 ` Maarten Lankhorst
  2026-11-16 13:29   ` sashiko-bot
  2026-11-16 13:13 ` [PATCH v5 3/5] drm/xe: Raise gt frequency slightly earlier Maarten Lankhorst
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst

In order to copy out the stolen BO, we have to add some support to
xe_migrate_copy, since otherwise it tries to use the VRAM identity
mapping on integrated, which obviously doesn't do the right thing.

For debugging and completeness, allow clears in stolen memory as well.
This makes it silghtly easier to test that the copy is correctly done.

Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/xe_migrate.c | 35 +++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 102c96d6cea9a..568add6f6a72c 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -44,6 +44,7 @@
 #include "xe_svm.h"
 #include "xe_sync.h"
 #include "xe_trace_bo.h"
+#include "xe_ttm_stolen_mgr.h"
 #include "xe_validation.h"
 #include "xe_vm.h"
 #include "xe_vram.h"
@@ -943,6 +944,10 @@ static u64 xe_migrate_res_sizes(struct xe_migrate *m, struct xe_res_cursor *cur)
 
 static bool xe_migrate_allow_identity(u64 size, const struct xe_res_cursor *cur)
 {
+	/* Stolen is not mapped into identity mapping */
+	if (cur->mem_type == XE_PL_STOLEN)
+		return false;
+
 	/* If the chunk is not fragmented, allow identity map. */
 	return cur->size >= size;
 }
@@ -1248,6 +1253,24 @@ static u32 xe_migrate_ccs_copy(struct xe_migrate *m,
 	return flush_flags;
 }
 
+static bool is_devmem(struct xe_bo *bo, struct ttm_resource *res)
+{
+	if (mem_type_is_vram(res->mem_type))
+		return true;
+
+	/*
+	 * Stolen is only device memory on newer platforms.
+	 *
+	 * On older platforms where stolen is mapped to GGTT,
+	 * it is mapped as system memory.
+	 */
+	if (res->mem_type != XE_PL_STOLEN ||
+	    xe_ttm_stolen_cpu_access_needs_ggtt(xe_bo_device(bo)))
+		return false;
+
+	return true;
+}
+
 static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
 					   struct xe_bo *src_bo,
 					   struct xe_bo *dst_bo,
@@ -1268,8 +1291,8 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
 	int err;
 	bool src_is_pltt = src->mem_type == XE_PL_TT;
 	bool dst_is_pltt = dst->mem_type == XE_PL_TT;
-	bool src_is_vram = mem_type_is_vram(src->mem_type);
-	bool dst_is_vram = mem_type_is_vram(dst->mem_type);
+	bool src_is_vram = is_devmem(src_bo, src);
+	bool dst_is_vram = is_devmem(dst_bo, dst);
 	bool type_device = src_bo->ttm.type == ttm_bo_type_device;
 	bool needs_ccs_emit = type_device && xe_migrate_needs_ccs_emit(xe);
 	bool copy_ccs = xe_device_has_flat_ccs(xe) &&
@@ -1292,11 +1315,11 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
 	if (src_bo != dst_bo && XE_WARN_ON(xe_bo_size(src_bo) != xe_bo_size(dst_bo)))
 		return ERR_PTR(-EINVAL);
 
-	if (!src_is_vram)
+	if (!src_is_vram && src->mem_type != XE_PL_STOLEN)
 		xe_res_first_sg(xe_bo_sg(src_bo), 0, size, &src_it);
 	else
 		xe_res_first(src, 0, size, &src_it);
-	if (!dst_is_vram)
+	if (!dst_is_vram && dst->mem_type != XE_PL_STOLEN)
 		xe_res_first_sg(xe_bo_sg(dst_bo), 0, size, &dst_it);
 	else
 		xe_res_first(dst, 0, size, &dst_it);
@@ -1969,7 +1992,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
 				   struct ttm_resource *dst,
 				   u32 clear_flags)
 {
-	bool clear_vram = mem_type_is_vram(dst->mem_type);
+	bool clear_vram = is_devmem(bo, dst);
 	bool clear_bo_data = XE_MIGRATE_CLEAR_FLAG_BO_DATA & clear_flags;
 	bool clear_ccs = XE_MIGRATE_CLEAR_FLAG_CCS_DATA & clear_flags;
 	struct xe_gt *gt = m->tile->primary_gt;
@@ -1987,7 +2010,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
 	if (!clear_bo_data && clear_ccs && !IS_DGFX(xe))
 		clear_only_system_ccs = true;
 
-	if (!clear_vram)
+	if (!clear_vram && dst->mem_type != XE_PL_STOLEN)
 		xe_res_first_sg(xe_bo_sg(bo), 0, xe_bo_size(bo), &src_it);
 	else
 		xe_res_first(src, 0, xe_bo_size(bo), &src_it);
-- 
2.55.0


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

* [PATCH v5 3/5] drm/xe: Raise gt frequency slightly earlier.
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 1/5] drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen Maarten Lankhorst
@ 2026-11-16 13:13 ` Maarten Lankhorst
  2026-11-16 13:13 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst, Matthew Brost

Move raising the gt frequency to before display_register, so the
blit that's potentially performed to copy stolen memory to system
memory will run at full speed.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/xe_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 6911c2ac39f82..616e02066ae6d 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1069,6 +1069,9 @@ int xe_device_probe(struct xe_device *xe)
 	if (err)
 		return err;
 
+	for_each_gt(gt, xe, id)
+		xe_gt_sanitize_freq(gt);
+
 	xe_display_register(xe);
 
 	err = xe_oa_register(xe);
@@ -1093,9 +1096,6 @@ int xe_device_probe(struct xe_device *xe)
 	if (err)
 		goto err_unregister_display;
 
-	for_each_gt(gt, xe, id)
-		xe_gt_sanitize_freq(gt);
-
 	xe_vsec_init(xe);
 
 	err = xe_sriov_init_late(xe);
-- 
2.55.0


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

* [PATCH v5 4/5] HACK: Always fallback
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
                   ` (2 preceding siblings ...)
  2026-11-16 13:13 ` [PATCH v5 3/5] drm/xe: Raise gt frequency slightly earlier Maarten Lankhorst
@ 2026-11-16 13:13 ` Maarten Lankhorst
  2026-11-16 13:25   ` sashiko-bot
  2026-11-16 13:13 ` [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() Maarten Lankhorst
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst

Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/display/xe_display_bo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
index 9385026a80b97..d78d893210c4f 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.c
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
@@ -142,6 +142,8 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 	if (XE_DEVICE_WA(xe, 22019338487_display))
 		return false;
 
+	return false;
+
 	/*
 	 * If the FB is too big, just don't use it since fbdev is not very
 	 * important and we should probably use that space with FBC or other
-- 
2.55.0


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

* [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
                   ` (3 preceding siblings ...)
  2026-11-16 13:13 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
@ 2026-11-16 13:13 ` Maarten Lankhorst
  2026-11-16 13:26   ` Ville Syrjälä
  2026-11-16 13:59   ` sashiko-bot
  2026-11-16 15:53 ` ✗ CI.checkpatch: warning for drm/xe/display: Transparant fallback from stolen to sysmem. (rev6) Patchwork
  2026-11-16 15:55 ` ✓ CI.KUnit: success " Patchwork
  6 siblings, 2 replies; 14+ messages in thread
From: Maarten Lankhorst @ 2026-11-16 13:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst, Ville Syrjälä,
	Uma Shankar

Pull the "do we want to use stolen for the BIOS FB?" checks into
a new intel_bo_fbdev_bios_fb_takeover() helper, and defer that
decision until we're ready to reallocate the fbdev FB. This way
even if we don't want to ultimately use the BIOS FB we'll keep
the plane enabled until the replacement FB is ready. Should
hopefully result in fewer display blinks during boot.

Additionally, on some platforms this allows us to re-create the
framebuffer when stolen memory is not suitable, using the blitter
engine to copy the contents to system memory without causing
any flickering by not preserving the stolen memory allocation.

This patch is a modification the original patch by Ville.
Originally only the decision to drop stolen fb was deferred.

The modifications allow it to flip to a different fb that still
contains the contents of the previous framebuffer to preserve
the flicker free property of boot, even when the original stolen
framebuffer is dropped. Additionally, bios_fb_ok() was renamed
to bios_fb_takeover() with a different function signature.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/i915/display/intel_bo.c       |  7 ++
 drivers/gpu/drm/i915/display/intel_bo.h       |  1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c    | 68 ++++++++++++++++---
 drivers/gpu/drm/i915/i915_bo.c                | 14 +++-
 drivers/gpu/drm/i915/i915_bo.h                |  6 --
 drivers/gpu/drm/i915/i915_initial_plane.c     | 14 ----
 drivers/gpu/drm/xe/display/xe_display_bo.c    | 62 ++++++++++++++++-
 drivers/gpu/drm/xe/display/xe_display_bo.h    |  6 --
 drivers/gpu/drm/xe/display/xe_initial_plane.c | 10 +--
 include/drm/intel/display_parent_interface.h  |  1 +
 10 files changed, 141 insertions(+), 48 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_bo.c b/drivers/gpu/drm/i915/display/intel_bo.c
index 8ecdbb7e39f3d..878c62cb48b4f 100644
--- a/drivers/gpu/drm/i915/display/intel_bo.c
+++ b/drivers/gpu/drm/i915/display/intel_bo.c
@@ -92,6 +92,13 @@ u32 intel_bo_fbdev_pitch_align(struct intel_display *display, u32 stride)
 	return display->parent->bo->fbdev_pitch_align(stride);
 }
 
+struct drm_gem_object *intel_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
+{
+	struct intel_display *display = to_intel_display(obj->dev);
+
+	return display->parent->bo->fbdev_bios_fb_takeover(obj);
+}
+
 struct drm_gem_object *intel_bo_fbdev_create(struct intel_display *display, int size)
 {
 	return display->parent->bo->fbdev_create(display->drm, size);
diff --git a/drivers/gpu/drm/i915/display/intel_bo.h b/drivers/gpu/drm/i915/display/intel_bo.h
index 348f7fa669608..0410ee9c6d2e1 100644
--- a/drivers/gpu/drm/i915/display/intel_bo.h
+++ b/drivers/gpu/drm/i915/display/intel_bo.h
@@ -34,6 +34,7 @@ struct drm_gem_object *intel_bo_framebuffer_lookup(struct intel_display *display
 						   const struct drm_mode_fb_cmd2 *user_mode_cmd);
 
 u32 intel_bo_fbdev_pitch_align(struct intel_display *display, u32 stride);
+struct drm_gem_object *intel_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj);
 struct drm_gem_object *intel_bo_fbdev_create(struct intel_display *display, int size);
 void intel_bo_fbdev_destroy(struct drm_gem_object *obj);
 int intel_bo_fbdev_fill_info(struct drm_gem_object *obj, struct fb_info *info,
diff --git a/drivers/gpu/drm/i915/display/intel_fbdev.c b/drivers/gpu/drm/i915/display/intel_fbdev.c
index c09246a9865cd..8ef522df7f172 100644
--- a/drivers/gpu/drm/i915/display/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/display/intel_fbdev.c
@@ -229,8 +229,8 @@ __intel_fbdev_fb_alloc(struct intel_display *display,
 		       struct drm_fb_helper_surface_size *sizes)
 {
 	struct drm_mode_fb_cmd2 mode_cmd = {};
-	struct drm_framebuffer *fb;
 	struct drm_gem_object *obj;
+	struct drm_framebuffer *fb;
 	int size;
 
 	intel_fbdev_fill_mode_cmd(display, sizes, &mode_cmd);
@@ -263,32 +263,68 @@ __intel_fbdev_fb_alloc(struct intel_display *display,
 
 }
 
-static bool bios_fb_ok(const struct intel_framebuffer *fb,
-		       const struct drm_fb_helper_surface_size *sizes)
+static struct intel_framebuffer *
+__intel_fbdev_fb_realloc(struct intel_display *display,
+			 const struct drm_framebuffer *orig_fb,
+			 struct drm_gem_object *obj)
+{
+	struct drm_framebuffer *new_fb;
+	struct drm_mode_fb_cmd2 mode_cmd = {
+		.flags = DRM_MODE_FB_MODIFIERS,
+		.width = orig_fb->width,
+		.height = orig_fb->height,
+		.pitches[0] = orig_fb->pitches[0],
+		.offsets[0] = orig_fb->offsets[0],
+		.pixel_format = orig_fb->format->format,
+		.modifier[0] = orig_fb->modifier,
+	};
+
+	new_fb = intel_framebuffer_create(obj, orig_fb->format, &mode_cmd);
+
+	if (IS_ERR(new_fb)) {
+		intel_bo_fbdev_destroy(obj);
+		return ERR_CAST(new_fb);
+	}
+
+	drm_gem_object_put(obj);
+	return to_intel_framebuffer(new_fb);
+}
+
+static struct intel_framebuffer *bios_fb_pick(struct intel_framebuffer *fb,
+					      const struct drm_fb_helper_surface_size *sizes)
 {
 	struct intel_display *display = to_intel_display(fb->base.dev);
 	int width = fb->base.width;
 	int height = fb->base.height;
 	int depth = fb->base.format->depth;
 	int bpp = fb->base.format->cpp[0] * 8;
+	struct drm_gem_object *new;
 
 	if (sizes->fb_width > width || sizes->fb_height > height) {
 		drm_dbg_kms(display->drm,
 			    "BIOS fb too small (%dx%d), we require (%dx%d), releasing it\n",
 			    width, height, sizes->fb_width, sizes->fb_height);
-		return false;
+		return NULL;
 	}
 
 	if (sizes->surface_depth != depth || sizes->surface_bpp != bpp) {
 		drm_dbg_kms(display->drm,
 			    "BIOS fb using wrong depth/bpp (%d/%d), we require (%d/%d), releasing it\n",
 			    depth, bpp, sizes->surface_depth, sizes->surface_bpp);
-		return false;
+		return NULL;
 	}
 
-	return true;
+	new = intel_bo_fbdev_bios_fb_takeover(fb->base.obj[0]);
+	if (IS_ERR(new))
+		return ERR_CAST(new);
+	if (fb->base.obj[0] == new)
+		return fb;
+
+	/* Different object, re-create an intel_framebuffer around it */
+	return __intel_fbdev_fb_realloc(display, &fb->base, new);
 }
 
+
 int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 				   struct drm_fb_helper_surface_size *sizes)
 {
@@ -306,13 +342,23 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 
 	ifbdev->fb = NULL;
 
-	if (fb && !bios_fb_ok(fb, sizes)) {
-		drm_framebuffer_put(&fb->base);
-		fb = NULL;
-	}
-
 	wakeref = intel_display_rpm_get(display);
 
+	if (fb) {
+		struct intel_framebuffer *bios_fb =
+			bios_fb_pick(fb, sizes);
+
+		if (IS_ERR(bios_fb)) {
+			drm_dbg_kms(display->drm, "Re-using BIOS fb failed (%pe).", bios_fb);
+			bios_fb = NULL;
+		}
+
+		if (fb != bios_fb) {
+			drm_framebuffer_put(&fb->base);
+			fb = bios_fb;
+		}
+	}
+
 	if (!fb || drm_WARN_ON(display->drm, !intel_fb_bo(&fb->base))) {
 		drm_dbg_kms(display->drm,
 			    "no BIOS fb, allocating a new one\n");
diff --git a/drivers/gpu/drm/i915/i915_bo.c b/drivers/gpu/drm/i915/i915_bo.c
index 559341103ca7d..fe11c0be81013 100644
--- a/drivers/gpu/drm/i915/i915_bo.c
+++ b/drivers/gpu/drm/i915/i915_bo.c
@@ -150,7 +150,7 @@ static u32 i915_bo_fbdev_pitch_align(u32 stride)
 	return ALIGN(stride, 64);
 }
 
-bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size)
+static bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size)
 {
 	/* Skip stolen on MTL as Wa_22018444074 mitigation. */
 	if (IS_METEORLAKE(i915))
@@ -164,6 +164,17 @@ bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int siz
 	return i915->dsm.usable_size >= size * 2;
 }
 
+static struct drm_gem_object *i915_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
+{
+	struct drm_i915_private *i915 = to_i915(obj->dev);
+
+	if (HAS_LMEM(i915) ||
+	    i915_bo_fbdev_prefer_stolen(i915, obj->size))
+		return obj;
+
+	return ERR_PTR(-EIO);
+}
+
 static struct drm_gem_object *i915_bo_fbdev_create(struct drm_device *drm, int size)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
@@ -262,6 +273,7 @@ const struct intel_display_bo_interface i915_display_bo_interface = {
 	.framebuffer_fini = i915_bo_framebuffer_fini,
 	.framebuffer_lookup = i915_bo_framebuffer_lookup,
 #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
+	.fbdev_bios_fb_takeover = i915_bo_fbdev_bios_fb_takeover,
 	.fbdev_create = i915_bo_fbdev_create,
 	.fbdev_destroy = i915_bo_fbdev_destroy,
 	.fbdev_fill_info = i915_bo_fbdev_fill_info,
diff --git a/drivers/gpu/drm/i915/i915_bo.h b/drivers/gpu/drm/i915/i915_bo.h
index 39ba62696550e..57255d052dd9a 100644
--- a/drivers/gpu/drm/i915/i915_bo.h
+++ b/drivers/gpu/drm/i915/i915_bo.h
@@ -4,12 +4,6 @@
 #ifndef __I915_BO_H__
 #define __I915_BO_H__
 
-#include <linux/types.h>
-
-struct drm_i915_private;
-
-bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size);
-
 extern const struct intel_display_bo_interface i915_display_bo_interface;
 
 #endif /* __I915_BO_H__ */
diff --git a/drivers/gpu/drm/i915/i915_initial_plane.c b/drivers/gpu/drm/i915/i915_initial_plane.c
index 98858a78e46a3..d7792b65ec150 100644
--- a/drivers/gpu/drm/i915/i915_initial_plane.c
+++ b/drivers/gpu/drm/i915/i915_initial_plane.c
@@ -12,7 +12,6 @@
 #include "gem/i915_gem_lmem.h"
 #include "gem/i915_gem_region.h"
 
-#include "i915_bo.h"
 #include "i915_drv.h"
 #include "i915_initial_plane.h"
 
@@ -102,19 +101,6 @@ initial_plane_vma(struct drm_i915_private *i915,
 			mem->min_page_size);
 	size -= base;
 
-	/*
-	 * If the FB is too big, just don't use it since fbdev is not very
-	 * important and we should probably use that space with FBC or other
-	 * features.
-	 */
-	if (IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION) &&
-	    IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) &&
-	    mem == i915->mm.stolen_region &&
-	    !i915_bo_fbdev_prefer_stolen(i915, size)) {
-		drm_dbg_kms(&i915->drm, "Initial FB size exceeds half of stolen, discarding\n");
-		return NULL;
-	}
-
 	obj = i915_gem_object_create_region_at(mem, phys_base, size,
 					       I915_BO_ALLOC_USER |
 					       I915_BO_PREALLOC);
diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
index d78d893210c4f..43d05a58bcb47 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.c
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
@@ -9,6 +9,7 @@
 #include "intel_fb.h"
 #include "xe_bo.h"
 #include "xe_display_bo.h"
+#include "xe_migrate.h"
 #include "xe_pxp.h"
 #include "xe_ttm_stolen_mgr.h"
 #include "xe_wa.h"
@@ -120,7 +121,7 @@ static u32 xe_display_bo_fbdev_pitch_align(u32 stride)
 	return ALIGN(stride, XE_PAGE_SIZE);
 }
 
-bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
+static bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 {
 	struct ttm_resource_manager *stolen;
 
@@ -152,6 +153,64 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 	return stolen->size >= (size * 2) >> PAGE_SHIFT;
 }
 
+static struct drm_gem_object *xe_display_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
+{
+	struct xe_bo *orig_bo = gem_to_xe_bo(obj), *copy_bo;
+	struct xe_device *xe = xe_bo_device(orig_bo);
+	struct xe_validation_ctx ctx;
+	struct drm_exec exec;
+	int err;
+
+	if (IS_DGFX(xe) ||
+	    xe_display_bo_fbdev_prefer_stolen(xe, xe_bo_size(orig_bo)))
+		return obj;
+
+	copy_bo = xe_bo_create_pin_map_novm(xe, xe_device_get_root_tile(xe), xe_bo_size(orig_bo),
+					    ttm_bo_type_kernel,
+					    XE_BO_FLAG_FORCE_WC | XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT,
+					    false);
+	if (IS_ERR(copy_bo))
+		return ERR_CAST(copy_bo);
+
+	xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
+		struct dma_fence *fence;
+
+		err = drm_exec_lock_obj(&exec, &orig_bo->ttm.base);
+		drm_exec_retry_on_contention(&exec);
+		if (err)
+			break;
+
+		err = drm_exec_lock_obj(&exec, &copy_bo->ttm.base);
+		drm_exec_retry_on_contention(&exec);
+		if (err)
+			break;
+
+		err = dma_resv_reserve_fences(orig_bo->ttm.base.resv, 1);
+		if (err)
+			break;
+
+		err = dma_resv_reserve_fences(copy_bo->ttm.base.resv, 1);
+		if (err)
+			break;
+
+		fence = xe_migrate_copy(xe_device_get_root_tile(xe)->migrate, orig_bo, copy_bo,
+					orig_bo->ttm.resource, copy_bo->ttm.resource, false);
+		if (IS_ERR(fence)) {
+			err = PTR_ERR(fence);
+			break;
+		}
+
+		dma_resv_add_fence(copy_bo->ttm.base.resv, fence, DMA_RESV_USAGE_KERNEL);
+		dma_resv_add_fence(orig_bo->ttm.base.resv, fence, DMA_RESV_USAGE_BOOKKEEP);
+		dma_fence_put(fence);
+
+		return &copy_bo->ttm.base;
+	}
+
+	xe_bo_unpin_map_no_vm(copy_bo);
+	return ERR_PTR(err);
+}
+
 static struct drm_gem_object *xe_display_bo_fbdev_create(struct drm_device *drm, int size)
 {
 	struct xe_device *xe = to_xe_device(drm);
@@ -214,6 +273,7 @@ const struct intel_display_bo_interface xe_display_bo_interface = {
 	.framebuffer_fini = xe_display_bo_framebuffer_fini,
 	.framebuffer_lookup = xe_display_bo_framebuffer_lookup,
 #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
+	.fbdev_bios_fb_takeover = xe_display_bo_fbdev_bios_fb_takeover,
 	.fbdev_create = xe_display_bo_fbdev_create,
 	.fbdev_destroy = xe_display_bo_fbdev_destroy,
 	.fbdev_fill_info = xe_display_bo_fbdev_fill_info,
diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.h b/drivers/gpu/drm/xe/display/xe_display_bo.h
index c72056884ff41..6879c104b0b1f 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.h
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.h
@@ -4,12 +4,6 @@
 #ifndef __XE_DISPLAY_BO_H__
 #define __XE_DISPLAY_BO_H__
 
-#include <linux/types.h>
-
-struct xe_device;
-
-bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size);
-
 extern const struct intel_display_bo_interface xe_display_bo_interface;
 
 #endif
diff --git a/drivers/gpu/drm/xe/display/xe_initial_plane.c b/drivers/gpu/drm/xe/display/xe_initial_plane.c
index 0f86b73036d03..1c70ade960e86 100644
--- a/drivers/gpu/drm/xe/display/xe_initial_plane.c
+++ b/drivers/gpu/drm/xe/display/xe_initial_plane.c
@@ -14,7 +14,6 @@
 #include "intel_display_types.h"
 
 #include "xe_bo.h"
-#include "xe_display_bo.h"
 #include "xe_display_vma.h"
 #include "xe_fb_pin.h"
 #include "xe_ggtt.h"
@@ -100,15 +99,8 @@ initial_plane_bo(struct xe_device *xe,
 			return NULL;
 		}
 
-		phys_base = base;
+		phys_base = (pte - xe_ttm_stolen_gpu_offset(xe)) & PAGE_MASK;
 		flags |= XE_BO_FLAG_STOLEN;
-
-		if (IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) &&
-		    IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION) &&
-		    !xe_display_bo_fbdev_prefer_stolen(xe, plane_config->size)) {
-			drm_info(&xe->drm, "Initial FB size exceeds half of stolen, discarding\n");
-			return NULL;
-		}
 	}
 
 	bo = xe_bo_create_pin_map_at_novm(xe, tile0, size, phys_base,
diff --git a/include/drm/intel/display_parent_interface.h b/include/drm/intel/display_parent_interface.h
index 464fb588cb60f..fd799980c9419 100644
--- a/include/drm/intel/display_parent_interface.h
+++ b/include/drm/intel/display_parent_interface.h
@@ -58,6 +58,7 @@ struct intel_display_bo_interface {
 						     struct drm_file *filp,
 						     const struct drm_mode_fb_cmd2 *user_mode_cmd);
 #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
+	struct drm_gem_object *(*fbdev_bios_fb_takeover)(struct drm_gem_object *obj);
 	struct drm_gem_object *(*fbdev_create)(struct drm_device *drm, int size);
 	void (*fbdev_destroy)(struct drm_gem_object *obj);
 	int (*fbdev_fill_info)(struct drm_gem_object *obj, struct fb_info *info, struct i915_vma *vma);
-- 
2.55.0


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

* Re: [PATCH v5 4/5] HACK: Always fallback
  2026-11-16 13:13 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
@ 2026-11-16 13:25   ` sashiko-bot
  0 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-16 13:25 UTC (permalink / raw)
  To: Maarten Lankhorst, intel-xe; +Cc: intel-gfx

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/xe/display: debug return false in
  xe_display_bo_fbdev_prefer_stolen()
--

commit a1da7ff8add8fa250f010995ce2e3a96fd7d5b05
Author: Maarten Lankhorst <dev@lankhorst.se>

HACK: Always fallback

This commit adds an unconditional return false to
xe_display_bo_fbdev_prefer_stolen().

> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
> index 9385026a80b97..d78d893210c4f 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
> @@ -142,6 +142,8 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  	if (XE_DEVICE_WA(xe, 22019338487_display))
>  		return false;
>  
> +	return false;
> +
>  	/*
>  	 * If the FB is too big, just don't use it since fbdev is not very
>  	 * important and we should probably use that space with FBC or other

[Severity: Medium]
Was this temporary debug patch left in the series by mistake?

Returning false unconditionally makes the remaining stolen memory size
check unreachable and causes initial_plane_bo() to always discard the
BIOS framebuffer from stolen memory on integrated GPUs when
CONFIG_FRAMEBUFFER_CONSOLE and CONFIG_DRM_FBDEV_EMULATION are enabled,
while logging a misleading message:

drivers/gpu/drm/xe/display/xe_initial_plane.c:initial_plane_bo() {
    ...
		if (IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) &&
		    IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION) &&
		    !xe_display_bo_fbdev_prefer_stolen(xe, plane_config->size)) {
			drm_info(&xe->drm, "Initial FB size exceeds half of stolen, discarding\n");
			return NULL;
		}
    ...
}

After commit "drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()",
this also forces xe_display_bo_fbdev_bios_fb_takeover() to always
allocate a new system memory BO and copy the BIOS framebuffer instead of
keeping eligible framebuffers in stolen memory.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116131349.333818-7-dev@lankhorst.se?part=4

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

* Re: [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
  2026-11-16 13:13 ` [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() Maarten Lankhorst
@ 2026-11-16 13:26   ` Ville Syrjälä
  2026-11-16 13:59   ` sashiko-bot
  1 sibling, 0 replies; 14+ messages in thread
From: Ville Syrjälä @ 2026-11-16 13:26 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: intel-xe, intel-gfx, Uma Shankar

On Mon, Nov 16, 2026 at 02:13:55PM +0100, Maarten Lankhorst wrote:
> Pull the "do we want to use stolen for the BIOS FB?" checks into
> a new intel_bo_fbdev_bios_fb_takeover() helper, and defer that
> decision until we're ready to reallocate the fbdev FB. This way
> even if we don't want to ultimately use the BIOS FB we'll keep
> the plane enabled until the replacement FB is ready. Should
> hopefully result in fewer display blinks during boot.
> 
> Additionally, on some platforms this allows us to re-create the
> framebuffer when stolen memory is not suitable, using the blitter
> engine to copy the contents to system memory without causing
> any flickering by not preserving the stolen memory allocation.
> 
> This patch is a modification the original patch by Ville.
> Originally only the decision to drop stolen fb was deferred.
> 
> The modifications allow it to flip to a different fb that still
> contains the contents of the previous framebuffer to preserve
> the flicker free property of boot, even when the original stolen
> framebuffer is dropped. Additionally, bios_fb_ok() was renamed
> to bios_fb_takeover() with a different function signature.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Reviewed-by: Uma Shankar <uma.shankar@intel.com>
> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
> ---
>  drivers/gpu/drm/i915/display/intel_bo.c       |  7 ++
>  drivers/gpu/drm/i915/display/intel_bo.h       |  1 +
>  drivers/gpu/drm/i915/display/intel_fbdev.c    | 68 ++++++++++++++++---
>  drivers/gpu/drm/i915/i915_bo.c                | 14 +++-
>  drivers/gpu/drm/i915/i915_bo.h                |  6 --
>  drivers/gpu/drm/i915/i915_initial_plane.c     | 14 ----
>  drivers/gpu/drm/xe/display/xe_display_bo.c    | 62 ++++++++++++++++-
>  drivers/gpu/drm/xe/display/xe_display_bo.h    |  6 --
>  drivers/gpu/drm/xe/display/xe_initial_plane.c | 10 +--
>  include/drm/intel/display_parent_interface.h  |  1 +
>  10 files changed, 141 insertions(+), 48 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_bo.c b/drivers/gpu/drm/i915/display/intel_bo.c
> index 8ecdbb7e39f3d..878c62cb48b4f 100644
> --- a/drivers/gpu/drm/i915/display/intel_bo.c
> +++ b/drivers/gpu/drm/i915/display/intel_bo.c
> @@ -92,6 +92,13 @@ u32 intel_bo_fbdev_pitch_align(struct intel_display *display, u32 stride)
>  	return display->parent->bo->fbdev_pitch_align(stride);
>  }
>  
> +struct drm_gem_object *intel_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
> +{
> +	struct intel_display *display = to_intel_display(obj->dev);
> +
> +	return display->parent->bo->fbdev_bios_fb_takeover(obj);
> +}
> +
>  struct drm_gem_object *intel_bo_fbdev_create(struct intel_display *display, int size)
>  {
>  	return display->parent->bo->fbdev_create(display->drm, size);
> diff --git a/drivers/gpu/drm/i915/display/intel_bo.h b/drivers/gpu/drm/i915/display/intel_bo.h
> index 348f7fa669608..0410ee9c6d2e1 100644
> --- a/drivers/gpu/drm/i915/display/intel_bo.h
> +++ b/drivers/gpu/drm/i915/display/intel_bo.h
> @@ -34,6 +34,7 @@ struct drm_gem_object *intel_bo_framebuffer_lookup(struct intel_display *display
>  						   const struct drm_mode_fb_cmd2 *user_mode_cmd);
>  
>  u32 intel_bo_fbdev_pitch_align(struct intel_display *display, u32 stride);
> +struct drm_gem_object *intel_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj);
>  struct drm_gem_object *intel_bo_fbdev_create(struct intel_display *display, int size);
>  void intel_bo_fbdev_destroy(struct drm_gem_object *obj);
>  int intel_bo_fbdev_fill_info(struct drm_gem_object *obj, struct fb_info *info,
> diff --git a/drivers/gpu/drm/i915/display/intel_fbdev.c b/drivers/gpu/drm/i915/display/intel_fbdev.c
> index c09246a9865cd..8ef522df7f172 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbdev.c
> @@ -229,8 +229,8 @@ __intel_fbdev_fb_alloc(struct intel_display *display,
>  		       struct drm_fb_helper_surface_size *sizes)
>  {
>  	struct drm_mode_fb_cmd2 mode_cmd = {};
> -	struct drm_framebuffer *fb;
>  	struct drm_gem_object *obj;
> +	struct drm_framebuffer *fb;
>  	int size;
>  
>  	intel_fbdev_fill_mode_cmd(display, sizes, &mode_cmd);
> @@ -263,32 +263,68 @@ __intel_fbdev_fb_alloc(struct intel_display *display,
>  
>  }
>  
> -static bool bios_fb_ok(const struct intel_framebuffer *fb,
> -		       const struct drm_fb_helper_surface_size *sizes)

You seem to have ignored my previous comments completely.

> +static struct intel_framebuffer *
> +__intel_fbdev_fb_realloc(struct intel_display *display,
> +			 const struct drm_framebuffer *orig_fb,
> +			 struct drm_gem_object *obj)
> +{
> +	struct drm_framebuffer *new_fb;
> +	struct drm_mode_fb_cmd2 mode_cmd = {
> +		.flags = DRM_MODE_FB_MODIFIERS,
> +		.width = orig_fb->width,
> +		.height = orig_fb->height,
> +		.pitches[0] = orig_fb->pitches[0],
> +		.offsets[0] = orig_fb->offsets[0],
> +		.pixel_format = orig_fb->format->format,
> +		.modifier[0] = orig_fb->modifier,
> +	};
> +
> +	new_fb = intel_framebuffer_create(obj, orig_fb->format, &mode_cmd);
> +
> +	if (IS_ERR(new_fb)) {
> +		intel_bo_fbdev_destroy(obj);
> +		return ERR_CAST(new_fb);
> +	}
> +
> +	drm_gem_object_put(obj);
> +	return to_intel_framebuffer(new_fb);
> +}
> +
> +static struct intel_framebuffer *bios_fb_pick(struct intel_framebuffer *fb,
> +					      const struct drm_fb_helper_surface_size *sizes)
>  {
>  	struct intel_display *display = to_intel_display(fb->base.dev);
>  	int width = fb->base.width;
>  	int height = fb->base.height;
>  	int depth = fb->base.format->depth;
>  	int bpp = fb->base.format->cpp[0] * 8;
> +	struct drm_gem_object *new;
>  
>  	if (sizes->fb_width > width || sizes->fb_height > height) {
>  		drm_dbg_kms(display->drm,
>  			    "BIOS fb too small (%dx%d), we require (%dx%d), releasing it\n",
>  			    width, height, sizes->fb_width, sizes->fb_height);
> -		return false;
> +		return NULL;
>  	}
>  
>  	if (sizes->surface_depth != depth || sizes->surface_bpp != bpp) {
>  		drm_dbg_kms(display->drm,
>  			    "BIOS fb using wrong depth/bpp (%d/%d), we require (%d/%d), releasing it\n",
>  			    depth, bpp, sizes->surface_depth, sizes->surface_bpp);
> -		return false;
> +		return NULL;
>  	}
>  
> -	return true;
> +	new = intel_bo_fbdev_bios_fb_takeover(fb->base.obj[0]);
> +	if (IS_ERR(new))
> +		return ERR_CAST(new);
> +	if (fb->base.obj[0] == new)
> +		return fb;
> +
> +	/* Different object, re-create an intel_framebuffer around it */
> +	return __intel_fbdev_fb_realloc(display, &fb->base, new);
>  }
>  
> +
>  int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
>  				   struct drm_fb_helper_surface_size *sizes)
>  {
> @@ -306,13 +342,23 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
>  
>  	ifbdev->fb = NULL;
>  
> -	if (fb && !bios_fb_ok(fb, sizes)) {
> -		drm_framebuffer_put(&fb->base);
> -		fb = NULL;
> -	}
> -
>  	wakeref = intel_display_rpm_get(display);
>  
> +	if (fb) {
> +		struct intel_framebuffer *bios_fb =
> +			bios_fb_pick(fb, sizes);
> +
> +		if (IS_ERR(bios_fb)) {
> +			drm_dbg_kms(display->drm, "Re-using BIOS fb failed (%pe).", bios_fb);
> +			bios_fb = NULL;
> +		}
> +
> +		if (fb != bios_fb) {
> +			drm_framebuffer_put(&fb->base);
> +			fb = bios_fb;
> +		}
> +	}
> +
>  	if (!fb || drm_WARN_ON(display->drm, !intel_fb_bo(&fb->base))) {
>  		drm_dbg_kms(display->drm,
>  			    "no BIOS fb, allocating a new one\n");
> diff --git a/drivers/gpu/drm/i915/i915_bo.c b/drivers/gpu/drm/i915/i915_bo.c
> index 559341103ca7d..fe11c0be81013 100644
> --- a/drivers/gpu/drm/i915/i915_bo.c
> +++ b/drivers/gpu/drm/i915/i915_bo.c
> @@ -150,7 +150,7 @@ static u32 i915_bo_fbdev_pitch_align(u32 stride)
>  	return ALIGN(stride, 64);
>  }
>  
> -bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size)
> +static bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size)
>  {
>  	/* Skip stolen on MTL as Wa_22018444074 mitigation. */
>  	if (IS_METEORLAKE(i915))
> @@ -164,6 +164,17 @@ bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int siz
>  	return i915->dsm.usable_size >= size * 2;
>  }
>  
> +static struct drm_gem_object *i915_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
> +{
> +	struct drm_i915_private *i915 = to_i915(obj->dev);
> +
> +	if (HAS_LMEM(i915) ||
> +	    i915_bo_fbdev_prefer_stolen(i915, obj->size))
> +		return obj;
> +
> +	return ERR_PTR(-EIO);
> +}
> +
>  static struct drm_gem_object *i915_bo_fbdev_create(struct drm_device *drm, int size)
>  {
>  	struct drm_i915_private *i915 = to_i915(drm);
> @@ -262,6 +273,7 @@ const struct intel_display_bo_interface i915_display_bo_interface = {
>  	.framebuffer_fini = i915_bo_framebuffer_fini,
>  	.framebuffer_lookup = i915_bo_framebuffer_lookup,
>  #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
> +	.fbdev_bios_fb_takeover = i915_bo_fbdev_bios_fb_takeover,
>  	.fbdev_create = i915_bo_fbdev_create,
>  	.fbdev_destroy = i915_bo_fbdev_destroy,
>  	.fbdev_fill_info = i915_bo_fbdev_fill_info,
> diff --git a/drivers/gpu/drm/i915/i915_bo.h b/drivers/gpu/drm/i915/i915_bo.h
> index 39ba62696550e..57255d052dd9a 100644
> --- a/drivers/gpu/drm/i915/i915_bo.h
> +++ b/drivers/gpu/drm/i915/i915_bo.h
> @@ -4,12 +4,6 @@
>  #ifndef __I915_BO_H__
>  #define __I915_BO_H__
>  
> -#include <linux/types.h>
> -
> -struct drm_i915_private;
> -
> -bool i915_bo_fbdev_prefer_stolen(struct drm_i915_private *i915, unsigned int size);
> -
>  extern const struct intel_display_bo_interface i915_display_bo_interface;
>  
>  #endif /* __I915_BO_H__ */
> diff --git a/drivers/gpu/drm/i915/i915_initial_plane.c b/drivers/gpu/drm/i915/i915_initial_plane.c
> index 98858a78e46a3..d7792b65ec150 100644
> --- a/drivers/gpu/drm/i915/i915_initial_plane.c
> +++ b/drivers/gpu/drm/i915/i915_initial_plane.c
> @@ -12,7 +12,6 @@
>  #include "gem/i915_gem_lmem.h"
>  #include "gem/i915_gem_region.h"
>  
> -#include "i915_bo.h"
>  #include "i915_drv.h"
>  #include "i915_initial_plane.h"
>  
> @@ -102,19 +101,6 @@ initial_plane_vma(struct drm_i915_private *i915,
>  			mem->min_page_size);
>  	size -= base;
>  
> -	/*
> -	 * If the FB is too big, just don't use it since fbdev is not very
> -	 * important and we should probably use that space with FBC or other
> -	 * features.
> -	 */
> -	if (IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION) &&
> -	    IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) &&
> -	    mem == i915->mm.stolen_region &&
> -	    !i915_bo_fbdev_prefer_stolen(i915, size)) {
> -		drm_dbg_kms(&i915->drm, "Initial FB size exceeds half of stolen, discarding\n");
> -		return NULL;
> -	}
> -
>  	obj = i915_gem_object_create_region_at(mem, phys_base, size,
>  					       I915_BO_ALLOC_USER |
>  					       I915_BO_PREALLOC);
> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
> index d78d893210c4f..43d05a58bcb47 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
> @@ -9,6 +9,7 @@
>  #include "intel_fb.h"
>  #include "xe_bo.h"
>  #include "xe_display_bo.h"
> +#include "xe_migrate.h"
>  #include "xe_pxp.h"
>  #include "xe_ttm_stolen_mgr.h"
>  #include "xe_wa.h"
> @@ -120,7 +121,7 @@ static u32 xe_display_bo_fbdev_pitch_align(u32 stride)
>  	return ALIGN(stride, XE_PAGE_SIZE);
>  }
>  
> -bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
> +static bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  {
>  	struct ttm_resource_manager *stolen;
>  
> @@ -152,6 +153,64 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  	return stolen->size >= (size * 2) >> PAGE_SHIFT;
>  }
>  
> +static struct drm_gem_object *xe_display_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
> +{
> +	struct xe_bo *orig_bo = gem_to_xe_bo(obj), *copy_bo;
> +	struct xe_device *xe = xe_bo_device(orig_bo);
> +	struct xe_validation_ctx ctx;
> +	struct drm_exec exec;
> +	int err;
> +
> +	if (IS_DGFX(xe) ||
> +	    xe_display_bo_fbdev_prefer_stolen(xe, xe_bo_size(orig_bo)))
> +		return obj;
> +
> +	copy_bo = xe_bo_create_pin_map_novm(xe, xe_device_get_root_tile(xe), xe_bo_size(orig_bo),
> +					    ttm_bo_type_kernel,
> +					    XE_BO_FLAG_FORCE_WC | XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT,
> +					    false);
> +	if (IS_ERR(copy_bo))
> +		return ERR_CAST(copy_bo);
> +
> +	xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
> +		struct dma_fence *fence;
> +
> +		err = drm_exec_lock_obj(&exec, &orig_bo->ttm.base);
> +		drm_exec_retry_on_contention(&exec);
> +		if (err)
> +			break;
> +
> +		err = drm_exec_lock_obj(&exec, &copy_bo->ttm.base);
> +		drm_exec_retry_on_contention(&exec);
> +		if (err)
> +			break;
> +
> +		err = dma_resv_reserve_fences(orig_bo->ttm.base.resv, 1);
> +		if (err)
> +			break;
> +
> +		err = dma_resv_reserve_fences(copy_bo->ttm.base.resv, 1);
> +		if (err)
> +			break;
> +
> +		fence = xe_migrate_copy(xe_device_get_root_tile(xe)->migrate, orig_bo, copy_bo,
> +					orig_bo->ttm.resource, copy_bo->ttm.resource, false);
> +		if (IS_ERR(fence)) {
> +			err = PTR_ERR(fence);
> +			break;
> +		}
> +
> +		dma_resv_add_fence(copy_bo->ttm.base.resv, fence, DMA_RESV_USAGE_KERNEL);
> +		dma_resv_add_fence(orig_bo->ttm.base.resv, fence, DMA_RESV_USAGE_BOOKKEEP);
> +		dma_fence_put(fence);
> +
> +		return &copy_bo->ttm.base;
> +	}
> +
> +	xe_bo_unpin_map_no_vm(copy_bo);
> +	return ERR_PTR(err);
> +}
> +
>  static struct drm_gem_object *xe_display_bo_fbdev_create(struct drm_device *drm, int size)
>  {
>  	struct xe_device *xe = to_xe_device(drm);
> @@ -214,6 +273,7 @@ const struct intel_display_bo_interface xe_display_bo_interface = {
>  	.framebuffer_fini = xe_display_bo_framebuffer_fini,
>  	.framebuffer_lookup = xe_display_bo_framebuffer_lookup,
>  #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
> +	.fbdev_bios_fb_takeover = xe_display_bo_fbdev_bios_fb_takeover,
>  	.fbdev_create = xe_display_bo_fbdev_create,
>  	.fbdev_destroy = xe_display_bo_fbdev_destroy,
>  	.fbdev_fill_info = xe_display_bo_fbdev_fill_info,
> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.h b/drivers/gpu/drm/xe/display/xe_display_bo.h
> index c72056884ff41..6879c104b0b1f 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.h
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.h
> @@ -4,12 +4,6 @@
>  #ifndef __XE_DISPLAY_BO_H__
>  #define __XE_DISPLAY_BO_H__
>  
> -#include <linux/types.h>
> -
> -struct xe_device;
> -
> -bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size);
> -
>  extern const struct intel_display_bo_interface xe_display_bo_interface;
>  
>  #endif
> diff --git a/drivers/gpu/drm/xe/display/xe_initial_plane.c b/drivers/gpu/drm/xe/display/xe_initial_plane.c
> index 0f86b73036d03..1c70ade960e86 100644
> --- a/drivers/gpu/drm/xe/display/xe_initial_plane.c
> +++ b/drivers/gpu/drm/xe/display/xe_initial_plane.c
> @@ -14,7 +14,6 @@
>  #include "intel_display_types.h"
>  
>  #include "xe_bo.h"
> -#include "xe_display_bo.h"
>  #include "xe_display_vma.h"
>  #include "xe_fb_pin.h"
>  #include "xe_ggtt.h"
> @@ -100,15 +99,8 @@ initial_plane_bo(struct xe_device *xe,
>  			return NULL;
>  		}
>  
> -		phys_base = base;
> +		phys_base = (pte - xe_ttm_stolen_gpu_offset(xe)) & PAGE_MASK;
>  		flags |= XE_BO_FLAG_STOLEN;
> -
> -		if (IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) &&
> -		    IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION) &&
> -		    !xe_display_bo_fbdev_prefer_stolen(xe, plane_config->size)) {
> -			drm_info(&xe->drm, "Initial FB size exceeds half of stolen, discarding\n");
> -			return NULL;
> -		}
>  	}
>  
>  	bo = xe_bo_create_pin_map_at_novm(xe, tile0, size, phys_base,
> diff --git a/include/drm/intel/display_parent_interface.h b/include/drm/intel/display_parent_interface.h
> index 464fb588cb60f..fd799980c9419 100644
> --- a/include/drm/intel/display_parent_interface.h
> +++ b/include/drm/intel/display_parent_interface.h
> @@ -58,6 +58,7 @@ struct intel_display_bo_interface {
>  						     struct drm_file *filp,
>  						     const struct drm_mode_fb_cmd2 *user_mode_cmd);
>  #if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
> +	struct drm_gem_object *(*fbdev_bios_fb_takeover)(struct drm_gem_object *obj);
>  	struct drm_gem_object *(*fbdev_create)(struct drm_device *drm, int size);
>  	void (*fbdev_destroy)(struct drm_gem_object *obj);
>  	int (*fbdev_fill_info)(struct drm_gem_object *obj, struct fb_info *info, struct i915_vma *vma);
> -- 
> 2.55.0

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen
  2026-11-16 13:13 ` [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen Maarten Lankhorst
@ 2026-11-16 13:29   ` sashiko-bot
  0 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-16 13:29 UTC (permalink / raw)
  To: Maarten Lankhorst, intel-xe; +Cc: intel-gfx

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe/migrate: missing stolen base offset in emit_pte() on
  pre-1270 iGPUs
--

commit 73a1bb32ca907a5d90c3e0d2392791649e5d6ca0
Author: Maarten Lankhorst <dev@lankhorst.se>

drm/xe/migrate: Support copying between sysmem and stolen

This commit adds support for XE_PL_STOLEN buffer objects to
__xe_migrate_copy() and xe_migrate_clear(), disabling identity mapping for
stolen memory and treating stolen resources as device memory when GGTT CPU
access is not required.

> diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> index 19c37eb315893..2e194ac6fb4f0 100644
> --- a/drivers/gpu/drm/xe/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/xe_migrate.c
[ ... ]
> @@ -1206,6 +1211,24 @@ static u32 xe_migrate_ccs_copy(struct xe_migrate *m,
>  	return flush_flags;
>  }
>  
> +static bool is_devmem(struct xe_bo *bo, struct ttm_resource *res)
> +{
> +	if (mem_type_is_vram(res->mem_type))
> +		return true;
> +
> +	/*
> +	 * Stolen is only device memory on newer platforms.
> +	 *
> +	 * On older platforms where stolen is mapped to GGTT,
> +	 * it is mapped as system memory.
> +	 */
> +	if (res->mem_type != XE_PL_STOLEN ||
> +	    xe_ttm_stolen_cpu_access_needs_ggtt(xe_bo_device(bo)))
> +		return false;
> +
> +	return true;
> +}
> +
>  static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
>  					   struct xe_bo *src_bo,
>  					   struct xe_bo *dst_bo,
> @@ -1226,8 +1249,8 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
>  	int err;
>  	bool src_is_pltt = src->mem_type == XE_PL_TT;
>  	bool dst_is_pltt = dst->mem_type == XE_PL_TT;
> -	bool src_is_vram = mem_type_is_vram(src->mem_type);
> -	bool dst_is_vram = mem_type_is_vram(dst->mem_type);
> +	bool src_is_vram = is_devmem(src_bo, src);
> +	bool dst_is_vram = is_devmem(dst_bo, dst);
>  	bool type_device = src_bo->ttm.type == ttm_bo_type_device;
>  	bool needs_ccs_emit = type_device && xe_migrate_needs_ccs_emit(xe);
>  	bool copy_ccs = xe_device_has_flat_ccs(xe) &&
> @@ -1250,11 +1273,11 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
>  	if (src_bo != dst_bo && XE_WARN_ON(xe_bo_size(src_bo) != xe_bo_size(dst_bo)))
>  		return ERR_PTR(-EINVAL);
>  
> -	if (!src_is_vram)
> +	if (!src_is_vram && src->mem_type != XE_PL_STOLEN)
>  		xe_res_first_sg(xe_bo_sg(src_bo), 0, size, &src_it);
>  	else
>  		xe_res_first(src, 0, size, &src_it);
> -	if (!dst_is_vram)
> +	if (!dst_is_vram && dst->mem_type != XE_PL_STOLEN)
>  		xe_res_first_sg(xe_bo_sg(dst_bo), 0, size, &dst_it);
>  	else
>  		xe_res_first(dst, 0, size, &dst_it);

[Severity: High]
Does emit_pte() omit vram_region_gpu_offset(res) for XE_PL_STOLEN on
integrated platforms with GRAPHICS_VERx100(xe) < 1270?

On those platforms xe_ttm_stolen_cpu_access_needs_ggtt() is true, so
is_devmem() returns false for src_is_vram, dst_is_vram, and clear_vram
while xe_res_first() still initializes the cursor with a 0-based offset
into stolen memory.  In emit_pte(), vram_region_gpu_offset(res) is only
added when is_vram is true:

drivers/gpu/drm/xe/xe_migrate.c:emit_pte() {
	...
			addr = xe_res_dma(cur) & PAGE_MASK;
			if (is_vram) {
				...
				addr += vram_region_gpu_offset(res);
				devmem = true;
			}
	...
}

As a result, __xe_migrate_copy() and xe_migrate_clear() encode physical
addresses starting at 0x0 instead of mgr->stolen_base, causing GPU DMA to
read or overwrite low host system RAM (for example during fbdev BIOS
framebuffer takeover).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116131349.333818-7-dev@lankhorst.se?part=2

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

* Re: [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
  2026-11-16 13:13 ` [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() Maarten Lankhorst
  2026-11-16 13:26   ` Ville Syrjälä
@ 2026-11-16 13:59   ` sashiko-bot
  1 sibling, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-16 13:59 UTC (permalink / raw)
  To: Maarten Lankhorst, intel-xe; +Cc: intel-gfx

Thank you for your contribution! Sashiko AI review found 7 potential
issues to consider:
- [High] drm/xe: unmasked PTE PAT bits and stolen underflow in
  initial_plane_bo()
- [High] drm/xe: emit_pte() omits stolen base offset for pre-12.70
  stolen BOs
- [Medium] drm/xe: unconditional return false in
  xe_display_bo_fbdev_prefer_stolen()
- [Medium] drm/i915: deferred BIOS FB takeover in bios_fb_pick() breaks
  FBC and drm_panic
- [Medium] drm/i915/fbdev: double unpin on error in
  __intel_fbdev_fb_realloc()
- [Medium] drm/xe/display: missing fence wait in
  xe_display_bo_fbdev_bios_fb_takeover()
- [Low] drm/i915: commit message mismatch on bios_fb_pick() and
  initial_plane_bo()
--

commit 9503bd0192927fbc3fe3b1c40cd72de52b1ba89d
Author: Maarten Lankhorst <dev@lankhorst.se>

drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()

This commit defers the stolen-memory suitability check for the BIOS
framebuffer from initial plane readout to fbdev probing via a new
intel_bo_fbdev_bios_fb_takeover() callback, and copies the stolen BIOS
framebuffer to system memory on Xe when stolen memory is not preferred.

> Additionally, bios_fb_ok() was renamed
> to bios_fb_takeover() with a different function signature.

[Severity: Low]
This isn't a bug, but the patch renames bios_fb_ok() to bios_fb_pick()
(while introducing intel_bo_fbdev_bios_fb_takeover() as the BO helper),
and the changelog also does not mention the phys_base calculation change
in initial_plane_bo().

> diff --git a/drivers/gpu/drm/i915/display/intel_fbdev.c b/drivers/gpu/drm/i915/display/intel_fbdev.c
> index 219ee17de3f68..97d5e1279dbc1 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbdev.c

[ ... ]

> @@ -262,32 +262,68 @@ __intel_fbdev_fb_alloc(struct intel_display *display,
>  
>  }
>  
> -static bool bios_fb_ok(const struct intel_framebuffer *fb,
> -		       const struct drm_fb_helper_surface_size *sizes)
> +static struct intel_framebuffer *
> +__intel_fbdev_fb_realloc(struct intel_display *display,
> +			 const struct drm_framebuffer *orig_fb,
> +			 struct drm_gem_object *obj)
> +{
> +	struct drm_framebuffer *new_fb;
> +	struct drm_mode_fb_cmd2 mode_cmd = {
> +		.flags = DRM_MODE_FB_MODIFIERS,
> +		.width = orig_fb->width,
> +		.height = orig_fb->height,
> +		.pitches[0] = orig_fb->pitches[0],
> +		.offsets[0] = orig_fb->offsets[0],
> +		.pixel_format = orig_fb->format->format,
> +		.modifier[0] = orig_fb->modifier,
> +	};
> +
> +	new_fb = intel_framebuffer_create(obj, orig_fb->format, &mode_cmd);
> +
> +	if (IS_ERR(new_fb)) {
> +		intel_bo_fbdev_destroy(obj);
> +		return ERR_CAST(new_fb);
> +	}

[Severity: Medium]
Can intel_bo_fbdev_destroy(obj) double-unpin obj on Xe if
intel_framebuffer_create() fails after intel_bo_framebuffer_init()?

On Xe, xe_display_bo_fbdev_bios_fb_takeover() creates copy_bo with
XE_BO_FLAG_PINNED (pin_count == 1).  If intel_framebuffer_init() fails at
a later step such as drm_framebuffer_init(), its error unwind calls
intel_bo_framebuffer_fini() -> xe_display_bo_framebuffer_fini(), which
sees XE_BO_FLAG_PINNED and calls xe_bo_unpin(bo) even though
xe_display_bo_framebuffer_init() only took a reference:

drivers/gpu/drm/xe/display/xe_display_bo.c:xe_display_bo_framebuffer_fini() {
	struct xe_bo *bo = gem_to_xe_bo(obj);

	if (bo->flags & XE_BO_FLAG_PINNED) {
		/* Unpin our kernel fb first */
		xe_bo_lock(bo, false);
		xe_bo_unpin(bo);
		xe_bo_unlock(bo);
	}
	xe_bo_put(bo);
}

Calling intel_bo_fbdev_destroy(obj) -> xe_bo_unpin_map_no_vm(copy_bo)
then unpins copy_bo a second time when pin_count is already 0, triggering
xe_assert() and WARN_ON_ONCE(!bo->pin_count) in ttm_bo_unpin().

[ ... ]

> @@ -305,13 +341,23 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
>  
>  	ifbdev->fb = NULL;
>  
> -	if (fb && !bios_fb_ok(fb, sizes)) {
> -		drm_framebuffer_put(&fb->base);
> -		fb = NULL;
> -	}
> -
>  	wakeref = intel_display_rpm_get(display);
>  
> +	if (fb) {
> +		struct intel_framebuffer *bios_fb =
> +			bios_fb_pick(fb, sizes);
> +
> +		if (IS_ERR(bios_fb)) {
> +			drm_dbg_kms(display->drm, "Re-using BIOS fb failed (%pe).", bios_fb);
> +			bios_fb = NULL;
> +		}
> +
> +		if (fb != bios_fb) {
> +			drm_framebuffer_put(&fb->base);
> +			fb = bios_fb;
> +		}
> +	}

[Severity: Medium]
Does deferring the prefer_stolen check to intel_fbdev_driver_fbdev_probe()
break FBC allocation during initial commit and leave the stolen BIOS
framebuffer active on the hardware plane when fbcon takeover does not run
immediately?

First, removing the prefer_stolen check from initial_plane_vma() and
initial_plane_bo() keeps the BIOS framebuffer allocated in stolen memory
across intel_initial_commit(), which runs before intel_fbdev_setup().
When the BIOS framebuffer occupies more than half of stolen memory,
intel_fbc_alloc_cfb() -> find_compression_limit() during initial commit
either fails with -ENOSPC or permanently degrades the FBC compression
ratio (as intel_fbc_is_cfb_ok() does not reallocate a 1:1 CFB once the
initial FB is freed).

Second, when fb != bios_fb here, drm_framebuffer_put(&fb->base) only drops
ifbdev's reference while the primary plane's plane_state->hw.fb still
scans out the original stolen framebuffer until a modeset commit flips the
plane.  When CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y (during a
quiet boot) or CONFIG_FRAMEBUFFER_CONSOLE=n, register_framebuffer() does
not immediately call fb_set_par(), so the hardware plane continues
scanning out the stolen BO while ifbdev->fb points to the new system
memory FB.  Aside from keeping the stolen BO active despite workarounds
(such as Wa_22018444074 on MTL and Wa_22019338487_display on Xe), a panic
in that window causes intel_get_scanout_buffer() to see
plane_state->hw.fb != intel_fbdev_framebuffer() and call
intel_parent_panic_setup() on the stolen BIOS BO, which fails on both
i915 (-EOPNOTSUPP) and Xe (ttm_bo_kmap_try_from_panic() returns NULL for
stolen memory).

> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
> index d78d893210c4f..43d05a58bcb47 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
> @@ -120,7 +121,7 @@ static u32 xe_display_bo_fbdev_pitch_align(u32 stride)
>  	return ALIGN(stride, XE_PAGE_SIZE);
>  }
>  
> -bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
> +static bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  {
>  	struct ttm_resource_manager *stolen;
>  
> @@ -152,6 +153,64 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  	return stolen->size >= (size * 2) >> PAGE_SHIFT;
>  }

[Severity: Medium]
Does xe_display_bo_fbdev_prefer_stolen() still have an unconditional
"return false;" right above the size check (introduced in earlier series
commit "HACK: Always fallback")?  That makes the stolen->size check
unreachable and forces xe_display_bo_fbdev_bios_fb_takeover() to always
reject stolen memory and copy the BIOS framebuffer to system memory on
every integrated platform.

> +
> +static struct drm_gem_object *xe_display_bo_fbdev_bios_fb_takeover(struct drm_gem_object *obj)
> +{
> +	struct xe_bo *orig_bo = gem_to_xe_bo(obj), *copy_bo;
> +	struct xe_device *xe = xe_bo_device(orig_bo);
> +	struct xe_validation_ctx ctx;
> +	struct drm_exec exec;
> +	int err;
> +
> +	if (IS_DGFX(xe) ||
> +	    xe_display_bo_fbdev_prefer_stolen(xe, xe_bo_size(orig_bo)))
> +		return obj;
> +
> +	copy_bo = xe_bo_create_pin_map_novm(xe, xe_device_get_root_tile(xe), xe_bo_size(orig_bo),
> +					    ttm_bo_type_kernel,
> +					    XE_BO_FLAG_FORCE_WC | XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT,
> +					    false);
> +	if (IS_ERR(copy_bo))
> +		return ERR_CAST(copy_bo);
> +
> +	xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
> +		struct dma_fence *fence;
> +
> +		err = drm_exec_lock_obj(&exec, &orig_bo->ttm.base);
> +		drm_exec_retry_on_contention(&exec);
> +		if (err)
> +			break;
> +
> +		err = drm_exec_lock_obj(&exec, &copy_bo->ttm.base);
> +		drm_exec_retry_on_contention(&exec);
> +		if (err)
> +			break;
> +
> +		err = dma_resv_reserve_fences(orig_bo->ttm.base.resv, 1);
> +		if (err)
> +			break;
> +
> +		err = dma_resv_reserve_fences(copy_bo->ttm.base.resv, 1);
> +		if (err)
> +			break;
> +
> +		fence = xe_migrate_copy(xe_device_get_root_tile(xe)->migrate, orig_bo, copy_bo,
> +					orig_bo->ttm.resource, copy_bo->ttm.resource, false);

[Severity: High]
Does xe_migrate_copy() copy from physical address 0 instead of stolen
memory when orig_bo is in XE_PL_STOLEN on pre-12.70 integrated platforms
(such as TGL, ADL, or RPL)?

In __xe_migrate_copy(), src_is_vram is determined by is_devmem(), which
returns false for XE_PL_STOLEN when
xe_ttm_stolen_cpu_access_needs_ggtt(xe) is true (GRAPHICS_VERx100(xe) <
1270):

drivers/gpu/drm/xe/xe_migrate.c:is_devmem() {
	if (res->mem_type != XE_PL_STOLEN ||
	    xe_ttm_stolen_cpu_access_needs_ggtt(xe_bo_device(bo)))
		return false;
	return true;
}

When is_vram is false, emit_pte() uses xe_res_dma(cur) & PAGE_MASK
(which is the 0-based offset within stolen memory) and skips adding
vram_region_gpu_offset(res) (xe_ttm_stolen_gpu_offset(xe)):

drivers/gpu/drm/xe/xe_migrate.c:emit_pte() {
    ...
			addr = xe_res_dma(cur) & PAGE_MASK;
			if (is_vram) {
    ...
				addr += vram_region_gpu_offset(res);
				devmem = true;
			}
    ...
}

As a result, the migration PTEs map physical address 0x0 + offset instead
of stolen_base + offset, causing an IOMMU fault or copying low host RAM
into the fbdev framebuffer.

> +		if (IS_ERR(fence)) {
> +			err = PTR_ERR(fence);
> +			break;
> +		}
> +
> +		dma_resv_add_fence(copy_bo->ttm.base.resv, fence, DMA_RESV_USAGE_KERNEL);
> +		dma_resv_add_fence(orig_bo->ttm.base.resv, fence, DMA_RESV_USAGE_BOOKKEEP);
> +		dma_fence_put(fence);
> +
> +		return &copy_bo->ttm.base;

[Severity: Medium]
Can CPU accesses to info->screen_base race with the asynchronous
xe_migrate_copy() blit when &copy_bo->ttm.base is returned without waiting
for fence to signal?

In intel_fbdev_driver_fbdev_probe(), intel_bo_fbdev_fill_info() exposes
copy_bo->vmap.vaddr_iomem as info->screen_base without waiting on
copy_bo's reservation fences.  If fb_set_par()'s modeset commit does not
run before CPU access (for instance under deferred console takeover or
when a DRM master is active), CPU writes to info->screen_base can be
overwritten by the in-flight GPU copy from orig_bo.

> diff --git a/drivers/gpu/drm/xe/display/xe_initial_plane.c b/drivers/gpu/drm/xe/display/xe_initial_plane.c
> index 0f86b73036d03..1c70ade960e86 100644
> --- a/drivers/gpu/drm/xe/display/xe_initial_plane.c
> +++ b/drivers/gpu/drm/xe/display/xe_initial_plane.c
> @@ -100,15 +99,8 @@ initial_plane_bo(struct xe_device *xe,
>  			return NULL;
>  		}
>  
> -		phys_base = base;
> +		phys_base = (pte - xe_ttm_stolen_gpu_offset(xe)) & PAGE_MASK;
>  		flags |= XE_BO_FLAG_STOLEN;

[Severity: High]
Does masking with PAGE_MASK leave the upper GGTT PTE PAT bits (bits 52:53)
set in phys_base on Xe_LPG+ platforms?

On 64-bit kernels, PAGE_MASK is GENMASK_ULL(63, 12), whereas GGTT PTEs on
GRAPHICS_VERx100(xe) >= 1270 store XELPG_GGTT_PTE_PAT0 (BIT_ULL(52)) and
XELPG_GGTT_PTE_PAT1 (BIT_ULL(53)) above the physical address in
XE_PAGE_ADDR_MASK(PAGE_SHIFT) (GENMASK_ULL(51, 12)).  When the BIOS/GOP
sets a non-zero PAT index in the GGTT PTE, phys_base retains bits 52:53,
and passing it as start to xe_bo_create_pin_map_at_novm() ->
__xe_bo_create_locked() calls:

drivers/gpu/drm/xe/xe_bo.c:__xe_bo_create_locked() {
    ...
			if (flags & XE_BO_FLAG_FIXED_PLACEMENT) {
				err = xe_ggtt_insert_bo_at(t->mem.ggtt, bo,
							   start + xe_bo_size(bo), U64_MAX,
							   exec);
			}
    ...
}

Because start >= BIT_ULL(52) exceeds the GGTT size, xe_ggtt_insert_bo_at()
fails with -ENOSPC and breaks BIOS framebuffer takeover.  In addition,
pte is not checked against XE_PAGE_PRESENT or bounds-checked against
xe_ttm_stolen_gpu_offset(xe) before subtraction (which can underflow
phys_base on pre-12.70 platforms where need_pte_local(xe) is false), and
passing the stolen offset phys_base (often 0) as start to
__xe_bo_create_locked() no longer tells xe_ggtt_insert_bo_at() to avoid
the active BIOS GGTT range at plane_config->base.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116131349.333818-7-dev@lankhorst.se?part=5

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

* ✗ CI.checkpatch: warning for drm/xe/display: Transparant fallback from stolen to sysmem. (rev6)
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
                   ` (4 preceding siblings ...)
  2026-11-16 13:13 ` [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() Maarten Lankhorst
@ 2026-11-16 15:53 ` Patchwork
  2026-11-16 15:55 ` ✓ CI.KUnit: success " Patchwork
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-11-16 15:53 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: intel-xe

== Series Details ==

Series: drm/xe/display: Transparant fallback from stolen to sysmem. (rev6)
URL   : https://patchwork.freedesktop.org/series/170759/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 30b96fc3c61ce41538e432b0ce40cff2b061ca43
Author: Maarten Lankhorst <dev@lankhorst.se>
Date:   Mon Nov 16 14:13:55 2026 +0100

    drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
    
    Pull the "do we want to use stolen for the BIOS FB?" checks into
    a new intel_bo_fbdev_bios_fb_takeover() helper, and defer that
    decision until we're ready to reallocate the fbdev FB. This way
    even if we don't want to ultimately use the BIOS FB we'll keep
    the plane enabled until the replacement FB is ready. Should
    hopefully result in fewer display blinks during boot.
    
    Additionally, on some platforms this allows us to re-create the
    framebuffer when stolen memory is not suitable, using the blitter
    engine to copy the contents to system memory without causing
    any flickering by not preserving the stolen memory allocation.
    
    This patch is a modification the original patch by Ville.
    Originally only the decision to drop stolen fb was deferred.
    
    The modifications allow it to flip to a different fb that still
    contains the contents of the previous framebuffer to preserve
    the flicker free property of boot, even when the original stolen
    framebuffer is dropped. Additionally, bios_fb_ok() was renamed
    to bios_fb_takeover() with a different function signature.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Uma Shankar <uma.shankar@intel.com>
    Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
+ /mt/dim checkpatch 301355bfc109114743d4ce1d0512779923bbec0c drm-intel
d9b57fc75d9f drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists.
eb818d7c4c6d drm/xe/migrate: Support copying between sysmem and stolen
a35bdeabd000 drm/xe: Raise gt frequency slightly earlier.
bfcb26c7662b HACK: Always fallback
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
30b96fc3c61c drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
-:148: CHECK:LINE_SPACING: Please don't use multiple blank lines
#148: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:327:
 
+

-:308: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#308: FILE: drivers/gpu/drm/xe/display/xe_display_bo.c:170:
+					    XE_BO_FLAG_FORCE_WC | XE_BO_FLAG_SYSTEM | XE_BO_FLAG_GGTT,

total: 0 errors, 1 warnings, 1 checks, 328 lines checked



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

* ✓ CI.KUnit: success for drm/xe/display: Transparant fallback from stolen to sysmem. (rev6)
  2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
                   ` (5 preceding siblings ...)
  2026-11-16 15:53 ` ✗ CI.checkpatch: warning for drm/xe/display: Transparant fallback from stolen to sysmem. (rev6) Patchwork
@ 2026-11-16 15:55 ` Patchwork
  6 siblings, 0 replies; 14+ messages in thread
From: Patchwork @ 2026-11-16 15:55 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: intel-xe

== Series Details ==

Series: drm/xe/display: Transparant fallback from stolen to sysmem. (rev6)
URL   : https://patchwork.freedesktop.org/series/170759/
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
[15:53:42] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[15:53:47] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[15:54:07] Starting KUnit Kernel (1/1)...
[15:54:07] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[15:54:08] ================= gpu_buddy (15 subtests) ==================
[15:54:08] [PASSED] gpu_test_buddy_alloc_limit
[15:54:08] [PASSED] gpu_test_buddy_alloc_optimistic
[15:54:08] [PASSED] gpu_test_buddy_alloc_pessimistic
[15:54:08] [PASSED] gpu_test_buddy_alloc_pathological
[15:54:08] [PASSED] gpu_test_buddy_alloc_contiguous
[15:54:08] [PASSED] gpu_test_buddy_alloc_clear
[15:54:08] [PASSED] gpu_test_buddy_alloc_range
[15:54:08] [PASSED] gpu_test_buddy_alloc_range_bias
[15:54:08] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[15:54:09] [PASSED] gpu_test_buddy_fragmentation_performance
[15:54:09] [PASSED] gpu_test_buddy_dirty_tracker_performance
[15:54:09] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[15:54:09] [PASSED] gpu_test_buddy_offset_aligned_allocation
[15:54:09] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[15:54:09] [PASSED] gpu_test_buddy_addr_to_block
[15:54:09] ==================== [PASSED] gpu_buddy ====================
[15:54:09] ============================================================
[15:54:09] Testing complete. Ran 15 tests: passed: 15
[15:54:09] Elapsed time: 27.383s total, 5.089s configuring, 20.375s building, 1.879s 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
[15:54:10] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[15:54:12] 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
[15:54:50] Starting KUnit Kernel (1/1)...
[15:54:50] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[15:54:50] ================== guc_buf (11 subtests) ===================
[15:54:50] [PASSED] test_smallest
[15:54:50] [PASSED] test_largest
[15:54:50] [PASSED] test_granular
[15:54:50] [PASSED] test_unique
[15:54:50] [PASSED] test_overlap
[15:54:50] [PASSED] test_reusable
[15:54:50] [PASSED] test_too_big
[15:54:50] [PASSED] test_flush
[15:54:50] [PASSED] test_lookup
[15:54:50] [PASSED] test_data
[15:54:50] [PASSED] test_class
[15:54:50] ===================== [PASSED] guc_buf =====================
[15:54:50] =================== guc_dbm (7 subtests) ===================
[15:54:50] [PASSED] test_empty
[15:54:50] [PASSED] test_default
[15:54:50] ======================== test_size  ========================
[15:54:50] [PASSED] 4
[15:54:50] [PASSED] 8
[15:54:50] [PASSED] 32
[15:54:50] [PASSED] 256
[15:54:50] ==================== [PASSED] test_size ====================
[15:54:50] ======================= test_reuse  ========================
[15:54:50] [PASSED] 4
[15:54:50] [PASSED] 8
[15:54:50] [PASSED] 32
[15:54:50] [PASSED] 256
[15:54:50] =================== [PASSED] test_reuse ====================
[15:54:50] =================== test_range_overlap  ====================
[15:54:50] [PASSED] 4
[15:54:50] [PASSED] 8
[15:54:50] [PASSED] 32
[15:54:50] [PASSED] 256
[15:54:50] =============== [PASSED] test_range_overlap ================
[15:54:50] =================== test_range_compact  ====================
[15:54:50] [PASSED] 4
[15:54:50] [PASSED] 8
[15:54:50] [PASSED] 32
[15:54:50] [PASSED] 256
[15:54:50] =============== [PASSED] test_range_compact ================
[15:54:50] ==================== test_range_spare  =====================
[15:54:50] [PASSED] 4
[15:54:50] [PASSED] 8
[15:54:50] [PASSED] 32
[15:54:50] [PASSED] 256
[15:54:50] ================ [PASSED] test_range_spare =================
[15:54:50] ===================== [PASSED] guc_dbm =====================
[15:54:50] ================== guc_idm (22 subtests) ===================
[15:54:50] [PASSED] bad_init
[15:54:50] [PASSED] no_init
[15:54:50] [PASSED] init_fini
[15:54:50] [PASSED] check_init_small
[15:54:50] [PASSED] check_init_shared
[15:54:50] [PASSED] check_used
[15:54:50] [PASSED] check_quota
[15:54:50] [PASSED] check_all
[15:54:50] [PASSED] check_limits
[15:54:50] [PASSED] check_overlap
[15:54:50] [PASSED] check_overlap_alloc
[15:54:50] [PASSED] check_overlap_release
[15:54:50] [PASSED] check_overlap_partial_init
[15:54:50] [PASSED] check_overlap_partial_shared_range_blocking
[15:54:50] [PASSED] check_used_usable
[15:54:50] [PASSED] check_used_shareable
[15:54:50] [PASSED] check_used_mixed
[15:54:50] [PASSED] check_release_usable_range
[15:54:50] [PASSED] check_release_shareable_range
[15:54:50] [PASSED] check_split_boundaries
[15:54:50] [PASSED] check_shareable_spare
[15:54:50] [PASSED] check_shareable_spare_fragmented_tail
[15:54:50] ===================== [PASSED] guc_idm =====================
[15:54:50] ============== guc_klv_helpers (13 subtests) ===============
[15:54:50] [PASSED] test_count
[15:54:50] [PASSED] test_encode_u32
[15:54:50] [PASSED] test_encode_u64
[15:54:50] [PASSED] test_encode_string
[15:54:50] [PASSED] test_encode_object_raw
[15:54:50] [PASSED] test_encode_object_klv
[15:54:50] [PASSED] test_encode_object_nested
[15:54:50] [PASSED] test_encode_object_basic
[15:54:50] ===================== test_decode_u16  =====================
[15:54:50] [PASSED] empty
[15:54:50] [PASSED] valid
[15:54:50] [PASSED] max
[15:54:50] [PASSED] big
[15:54:50] [PASSED] long
[15:54:50] ================= [PASSED] test_decode_u16 =================
[15:54:50] ===================== test_decode_u32  =====================
[15:54:50] [PASSED] empty
[15:54:50] [PASSED] valid
[15:54:50] [PASSED] max
[15:54:50] [PASSED] long
[15:54:50] ================= [PASSED] test_decode_u32 =================
[15:54:50] ===================== test_decode_u64  =====================
[15:54:50] [PASSED] empty
[15:54:50] [PASSED] short
[15:54:50] [PASSED] valid
[15:54:50] [PASSED] max
[15:54:50] [PASSED] long
[15:54:50] ================= [PASSED] test_decode_u64 =================
[15:54:50] ===================== test_decode_str  =====================
[15:54:50] [PASSED] empty
[15:54:50] [PASSED] one
[15:54:50] [PASSED] one_trash
[15:54:50] [PASSED] two
[15:54:50] [PASSED] two_trash
[15:54:50] [PASSED] three
[15:54:50] [PASSED] dword
[15:54:50] [PASSED] four
[15:54:50] [PASSED] five
[15:54:50] [PASSED] six
[15:54:50] [PASSED] seven
[15:54:50] [PASSED] qword
[15:54:50] ================= [PASSED] test_decode_str =================
[15:54:50] [PASSED] test_print
[15:54:50] ================= [PASSED] guc_klv_helpers =================
[15:54:50] =================== xe_log (4 subtests) ====================
[15:54:50] [PASSED] demo_cper
[15:54:50] [PASSED] demo_dmesg
[15:54:50] ======================= test_dmesg  ========================
[15:54:50] [PASSED] test_fatal
[15:54:50] [PASSED] test_fatal_tile
[15:54:50] [PASSED] test_fatal_gt
[15:54:50] [PASSED] test_fatal_comp
[15:54:50] [PASSED] test_fatal_comp_tile
[15:54:50] [PASSED] test_fatal_comp_gt
[15:54:50] [PASSED] test_fatal_all
[15:54:50] [PASSED] test_recoverable
[15:54:50] [PASSED] test_recoverable_tile
[15:54:50] [PASSED] test_recoverable_gt
[15:54:50] [PASSED] test_recoverable_comp
[15:54:50] [PASSED] test_recoverable_comp_tile
[15:54:50] [PASSED] test_recoverable_comp_gt
[15:54:50] [PASSED] test_recoverable_all
[15:54:50] [PASSED] test_info
[15:54:50] [PASSED] test_info_tile
[15:54:50] [PASSED] test_info_gt
[15:54:50] [PASSED] test_info_err
[15:54:51] [PASSED] test_info_comp
[15:54:51] [PASSED] test_info_comp_tile
[15:54:51] [PASSED] test_info_comp_gt
[15:54:51] [PASSED] test_info_all
[15:54:51] [PASSED] test_hw_fatal
[15:54:51] [PASSED] test_hw_recoverable
[15:54:51] [PASSED] test_hw_corrected
[15:54:51] [PASSED] test_hw_informational
[15:54:51] =================== [PASSED] test_dmesg ====================
[15:54:51] ====================== test_invalid  =======================
[15:54:51] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[15:54:51] ================== [SKIPPED] test_invalid ==================
[15:54:51] ===================== [PASSED] xe_log ======================
[15:54:51] ================== no_relay (3 subtests) ===================
[15:54:51] [PASSED] xe_drops_guc2pf_if_not_ready
[15:54:51] [PASSED] xe_drops_guc2vf_if_not_ready
[15:54:51] [PASSED] xe_rejects_send_if_not_ready
[15:54:51] ==================== [PASSED] no_relay =====================
[15:54:51] ================== pf_relay (14 subtests) ==================
[15:54:51] [PASSED] pf_rejects_guc2pf_too_short
[15:54:51] [PASSED] pf_rejects_guc2pf_too_long
[15:54:51] [PASSED] pf_rejects_guc2pf_no_payload
[15:54:51] [PASSED] pf_fails_no_payload
[15:54:51] [PASSED] pf_fails_bad_origin
[15:54:51] [PASSED] pf_fails_bad_type
[15:54:51] [PASSED] pf_txn_reports_error
[15:54:51] [PASSED] pf_txn_sends_pf2guc
[15:54:51] [PASSED] pf_sends_pf2guc
[15:54:51] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[15:54:51] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[15:54:51] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[15:54:51] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[15:54:51] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[15:54:51] ==================== [PASSED] pf_relay =====================
[15:54:51] ================== vf_relay (3 subtests) ===================
[15:54:51] [PASSED] vf_rejects_guc2vf_too_short
[15:54:51] [PASSED] vf_rejects_guc2vf_too_long
[15:54:51] [PASSED] vf_rejects_guc2vf_no_payload
[15:54:51] ==================== [PASSED] vf_relay =====================
[15:54:51] ================ pf_gt_config (9 subtests) =================
[15:54:51] [PASSED] fair_contexts_1vf
[15:54:51] [PASSED] fair_doorbells_1vf
[15:54:51] [PASSED] fair_ggtt_1vf
[15:54:51] ====================== fair_vram_1vf  ======================
[15:54:51] [PASSED] 3.50 GiB
[15:54:51] [PASSED] 11.5 GiB
[15:54:51] [PASSED] 15.5 GiB
[15:54:51] [PASSED] 31.5 GiB
[15:54:51] [PASSED] 63.5 GiB
[15:54:51] [PASSED] 1.91 GiB
[15:54:51] ================== [PASSED] fair_vram_1vf ==================
[15:54:51] ================ fair_vram_1vf_admin_only  =================
[15:54:51] [PASSED] 3.50 GiB
[15:54:51] [PASSED] 11.5 GiB
[15:54:51] [PASSED] 15.5 GiB
[15:54:51] [PASSED] 31.5 GiB
[15:54:51] [PASSED] 63.5 GiB
[15:54:51] [PASSED] 1.91 GiB
[15:54:51] ============ [PASSED] fair_vram_1vf_admin_only =============
[15:54:51] ====================== fair_contexts  ======================
[15:54:51] [PASSED] 1 VF
[15:54:51] [PASSED] 2 VFs
[15:54:51] [PASSED] 3 VFs
[15:54:51] [PASSED] 4 VFs
[15:54:51] [PASSED] 5 VFs
[15:54:51] [PASSED] 6 VFs
[15:54:51] [PASSED] 7 VFs
[15:54:51] [PASSED] 8 VFs
[15:54:51] [PASSED] 9 VFs
[15:54:51] [PASSED] 10 VFs
[15:54:51] [PASSED] 11 VFs
[15:54:51] [PASSED] 12 VFs
[15:54:51] [PASSED] 13 VFs
[15:54:51] [PASSED] 14 VFs
[15:54:51] [PASSED] 15 VFs
[15:54:51] [PASSED] 16 VFs
[15:54:51] [PASSED] 17 VFs
[15:54:51] [PASSED] 18 VFs
[15:54:51] [PASSED] 19 VFs
[15:54:51] [PASSED] 20 VFs
[15:54:51] [PASSED] 21 VFs
[15:54:51] [PASSED] 22 VFs
[15:54:51] [PASSED] 23 VFs
[15:54:51] [PASSED] 24 VFs
[15:54:51] [PASSED] 25 VFs
[15:54:51] [PASSED] 26 VFs
[15:54:51] [PASSED] 27 VFs
[15:54:51] [PASSED] 28 VFs
[15:54:51] [PASSED] 29 VFs
[15:54:51] [PASSED] 30 VFs
[15:54:51] [PASSED] 31 VFs
[15:54:51] [PASSED] 32 VFs
[15:54:51] [PASSED] 33 VFs
[15:54:51] [PASSED] 34 VFs
[15:54:51] [PASSED] 35 VFs
[15:54:51] [PASSED] 36 VFs
[15:54:51] [PASSED] 37 VFs
[15:54:51] [PASSED] 38 VFs
[15:54:51] [PASSED] 39 VFs
[15:54:51] [PASSED] 40 VFs
[15:54:51] [PASSED] 41 VFs
[15:54:51] [PASSED] 42 VFs
[15:54:51] [PASSED] 43 VFs
[15:54:51] [PASSED] 44 VFs
[15:54:51] [PASSED] 45 VFs
[15:54:51] [PASSED] 46 VFs
[15:54:51] [PASSED] 47 VFs
[15:54:51] [PASSED] 48 VFs
[15:54:51] [PASSED] 49 VFs
[15:54:51] [PASSED] 50 VFs
[15:54:51] [PASSED] 51 VFs
[15:54:51] [PASSED] 52 VFs
[15:54:51] [PASSED] 53 VFs
[15:54:51] [PASSED] 54 VFs
[15:54:51] [PASSED] 55 VFs
[15:54:51] [PASSED] 56 VFs
[15:54:51] [PASSED] 57 VFs
[15:54:51] [PASSED] 58 VFs
[15:54:51] [PASSED] 59 VFs
[15:54:51] [PASSED] 60 VFs
[15:54:51] [PASSED] 61 VFs
[15:54:51] [PASSED] 62 VFs
[15:54:51] [PASSED] 63 VFs
[15:54:51] ================== [PASSED] fair_contexts ==================
[15:54:51] ===================== fair_doorbells  ======================
[15:54:51] [PASSED] 1 VF
[15:54:51] [PASSED] 2 VFs
[15:54:51] [PASSED] 3 VFs
[15:54:51] [PASSED] 4 VFs
[15:54:51] [PASSED] 5 VFs
[15:54:51] [PASSED] 6 VFs
[15:54:51] [PASSED] 7 VFs
[15:54:51] [PASSED] 8 VFs
[15:54:51] [PASSED] 9 VFs
[15:54:51] [PASSED] 10 VFs
[15:54:51] [PASSED] 11 VFs
[15:54:51] [PASSED] 12 VFs
[15:54:51] [PASSED] 13 VFs
[15:54:51] [PASSED] 14 VFs
[15:54:51] [PASSED] 15 VFs
[15:54:51] [PASSED] 16 VFs
[15:54:51] [PASSED] 17 VFs
[15:54:51] [PASSED] 18 VFs
[15:54:51] [PASSED] 19 VFs
[15:54:51] [PASSED] 20 VFs
[15:54:51] [PASSED] 21 VFs
[15:54:51] [PASSED] 22 VFs
[15:54:51] [PASSED] 23 VFs
[15:54:51] [PASSED] 24 VFs
[15:54:51] [PASSED] 25 VFs
[15:54:51] [PASSED] 26 VFs
[15:54:51] [PASSED] 27 VFs
[15:54:51] [PASSED] 28 VFs
[15:54:51] [PASSED] 29 VFs
[15:54:51] [PASSED] 30 VFs
[15:54:51] [PASSED] 31 VFs
[15:54:51] [PASSED] 32 VFs
[15:54:51] [PASSED] 33 VFs
[15:54:51] [PASSED] 34 VFs
[15:54:51] [PASSED] 35 VFs
[15:54:51] [PASSED] 36 VFs
[15:54:51] [PASSED] 37 VFs
[15:54:51] [PASSED] 38 VFs
[15:54:51] [PASSED] 39 VFs
[15:54:51] [PASSED] 40 VFs
[15:54:51] [PASSED] 41 VFs
[15:54:51] [PASSED] 42 VFs
[15:54:51] [PASSED] 43 VFs
[15:54:51] [PASSED] 44 VFs
[15:54:51] [PASSED] 45 VFs
[15:54:51] [PASSED] 46 VFs
[15:54:51] [PASSED] 47 VFs
[15:54:51] [PASSED] 48 VFs
[15:54:51] [PASSED] 49 VFs
[15:54:51] [PASSED] 50 VFs
[15:54:51] [PASSED] 51 VFs
[15:54:51] [PASSED] 52 VFs
[15:54:51] [PASSED] 53 VFs
[15:54:51] [PASSED] 54 VFs
[15:54:51] [PASSED] 55 VFs
[15:54:51] [PASSED] 56 VFs
[15:54:51] [PASSED] 57 VFs
[15:54:51] [PASSED] 58 VFs
[15:54:51] [PASSED] 59 VFs
[15:54:51] [PASSED] 60 VFs
[15:54:51] [PASSED] 61 VFs
[15:54:51] [PASSED] 62 VFs
[15:54:51] [PASSED] 63 VFs
[15:54:51] ================= [PASSED] fair_doorbells ==================
[15:54:51] ======================== fair_ggtt  ========================
[15:54:51] [PASSED] 1 VF
[15:54:51] [PASSED] 2 VFs
[15:54:51] [PASSED] 3 VFs
[15:54:51] [PASSED] 4 VFs
[15:54:51] [PASSED] 5 VFs
[15:54:51] [PASSED] 6 VFs
[15:54:51] [PASSED] 7 VFs
[15:54:51] [PASSED] 8 VFs
[15:54:51] [PASSED] 9 VFs
[15:54:51] [PASSED] 10 VFs
[15:54:51] [PASSED] 11 VFs
[15:54:51] [PASSED] 12 VFs
[15:54:51] [PASSED] 13 VFs
[15:54:51] [PASSED] 14 VFs
[15:54:51] [PASSED] 15 VFs
[15:54:51] [PASSED] 16 VFs
[15:54:51] [PASSED] 17 VFs
[15:54:51] [PASSED] 18 VFs
[15:54:51] [PASSED] 19 VFs
[15:54:51] [PASSED] 20 VFs
[15:54:51] [PASSED] 21 VFs
[15:54:51] [PASSED] 22 VFs
[15:54:51] [PASSED] 23 VFs
[15:54:51] [PASSED] 24 VFs
[15:54:51] [PASSED] 25 VFs
[15:54:51] [PASSED] 26 VFs
[15:54:51] [PASSED] 27 VFs
[15:54:51] [PASSED] 28 VFs
[15:54:51] [PASSED] 29 VFs
[15:54:51] [PASSED] 30 VFs
[15:54:51] [PASSED] 31 VFs
[15:54:51] [PASSED] 32 VFs
[15:54:51] [PASSED] 33 VFs
[15:54:51] [PASSED] 34 VFs
[15:54:51] [PASSED] 35 VFs
[15:54:51] [PASSED] 36 VFs
[15:54:51] [PASSED] 37 VFs
[15:54:51] [PASSED] 38 VFs
[15:54:51] [PASSED] 39 VFs
[15:54:51] [PASSED] 40 VFs
[15:54:51] [PASSED] 41 VFs
[15:54:51] [PASSED] 42 VFs
[15:54:51] [PASSED] 43 VFs
[15:54:51] [PASSED] 44 VFs
[15:54:51] [PASSED] 45 VFs
[15:54:51] [PASSED] 46 VFs
[15:54:51] [PASSED] 47 VFs
[15:54:51] [PASSED] 48 VFs
[15:54:51] [PASSED] 49 VFs
[15:54:51] [PASSED] 50 VFs
[15:54:51] [PASSED] 51 VFs
[15:54:51] [PASSED] 52 VFs
[15:54:51] [PASSED] 53 VFs
[15:54:51] [PASSED] 54 VFs
[15:54:51] [PASSED] 55 VFs
[15:54:51] [PASSED] 56 VFs
[15:54:51] [PASSED] 57 VFs
[15:54:51] [PASSED] 58 VFs
[15:54:51] [PASSED] 59 VFs
[15:54:51] [PASSED] 60 VFs
[15:54:51] [PASSED] 61 VFs
[15:54:51] [PASSED] 62 VFs
[15:54:51] [PASSED] 63 VFs
[15:54:51] ==================== [PASSED] fair_ggtt ====================
[15:54:51] ======================== fair_vram  ========================
[15:54:51] [PASSED] 1 VF
[15:54:51] [PASSED] 2 VFs
[15:54:51] [PASSED] 3 VFs
[15:54:51] [PASSED] 4 VFs
[15:54:51] [PASSED] 5 VFs
[15:54:51] [PASSED] 6 VFs
[15:54:51] [PASSED] 7 VFs
[15:54:51] [PASSED] 8 VFs
[15:54:51] [PASSED] 9 VFs
[15:54:51] [PASSED] 10 VFs
[15:54:51] [PASSED] 11 VFs
[15:54:51] [PASSED] 12 VFs
[15:54:51] [PASSED] 13 VFs
[15:54:51] [PASSED] 14 VFs
[15:54:51] [PASSED] 15 VFs
[15:54:51] [PASSED] 16 VFs
[15:54:51] [PASSED] 17 VFs
[15:54:51] [PASSED] 18 VFs
[15:54:51] [PASSED] 19 VFs
[15:54:51] [PASSED] 20 VFs
[15:54:51] [PASSED] 21 VFs
[15:54:51] [PASSED] 22 VFs
[15:54:51] [PASSED] 23 VFs
[15:54:51] [PASSED] 24 VFs
[15:54:51] [PASSED] 25 VFs
[15:54:51] [PASSED] 26 VFs
[15:54:51] [PASSED] 27 VFs
[15:54:51] [PASSED] 28 VFs
[15:54:51] [PASSED] 29 VFs
[15:54:51] [PASSED] 30 VFs
[15:54:51] [PASSED] 31 VFs
[15:54:51] [PASSED] 32 VFs
[15:54:51] [PASSED] 33 VFs
[15:54:51] [PASSED] 34 VFs
[15:54:51] [PASSED] 35 VFs
[15:54:51] [PASSED] 36 VFs
[15:54:51] [PASSED] 37 VFs
[15:54:51] [PASSED] 38 VFs
[15:54:51] [PASSED] 39 VFs
[15:54:51] [PASSED] 40 VFs
[15:54:51] [PASSED] 41 VFs
[15:54:51] [PASSED] 42 VFs
[15:54:51] [PASSED] 43 VFs
[15:54:51] [PASSED] 44 VFs
[15:54:51] [PASSED] 45 VFs
[15:54:51] [PASSED] 46 VFs
[15:54:51] [PASSED] 47 VFs
[15:54:51] [PASSED] 48 VFs
[15:54:51] [PASSED] 49 VFs
[15:54:51] [PASSED] 50 VFs
[15:54:51] [PASSED] 51 VFs
[15:54:51] [PASSED] 52 VFs
[15:54:51] [PASSED] 53 VFs
[15:54:51] [PASSED] 54 VFs
[15:54:51] [PASSED] 55 VFs
[15:54:51] [PASSED] 56 VFs
[15:54:51] [PASSED] 57 VFs
[15:54:51] [PASSED] 58 VFs
[15:54:51] [PASSED] 59 VFs
[15:54:51] [PASSED] 60 VFs
[15:54:51] [PASSED] 61 VFs
[15:54:51] [PASSED] 62 VFs
[15:54:51] [PASSED] 63 VFs
[15:54:51] ==================== [PASSED] fair_vram ====================
[15:54:51] ================== [PASSED] pf_gt_config ===================
[15:54:51] ===================== lmtt (1 subtest) =====================
[15:54:51] ======================== test_ops  =========================
[15:54:51] [PASSED] 2-level
[15:54:51] [PASSED] multi-level
[15:54:51] ==================== [PASSED] test_ops =====================
[15:54:51] ====================== [PASSED] lmtt =======================
[15:54:51] ================= sriov_packet (1 subtest) =================
[15:54:51] [PASSED] test_descriptor_init
[15:54:51] ================== [PASSED] sriov_packet ===================
[15:54:51] ================= pf_service (11 subtests) =================
[15:54:51] [PASSED] pf_negotiate_any
[15:54:51] [PASSED] pf_negotiate_base_match
[15:54:51] [PASSED] pf_negotiate_base_newer
[15:54:51] [PASSED] pf_negotiate_base_next
[15:54:51] [SKIPPED] pf_negotiate_base_older (no older minor)
[15:54:51] [PASSED] pf_negotiate_base_prev
[15:54:51] [PASSED] pf_negotiate_latest_match
[15:54:51] [PASSED] pf_negotiate_latest_newer
[15:54:51] [PASSED] pf_negotiate_latest_next
[15:54:51] [SKIPPED] pf_negotiate_latest_older (no older minor)
[15:54:51] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[15:54:51] =================== [PASSED] pf_service ====================
[15:54:51] ================= xe_guc_g2g (2 subtests) ==================
[15:54:51] ============== xe_live_guc_g2g_kunit_default  ==============
[15:54:51] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[15:54:51] ============== xe_live_guc_g2g_kunit_allmem  ===============
[15:54:51] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[15:54:51] =================== [SKIPPED] xe_guc_g2g ===================
[15:54:51] =================== xe_mocs (2 subtests) ===================
[15:54:51] ================ xe_live_mocs_kernel_kunit  ================
[15:54:51] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[15:54:51] ================ xe_live_mocs_reset_kunit  =================
[15:54:51] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[15:54:51] ==================== [SKIPPED] xe_mocs =====================
[15:54:51] ================= xe_migrate (3 subtests) ==================
[15:54:51] ================= xe_migrate_sanity_kunit  =================
[15:54:51] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[15:54:51] ================== xe_validate_ccs_kunit  ==================
[15:54:51] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[15:54:51] ============= xe_migrate_access_memory_kunit  ==============
[15:54:51] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[15:54:51] =================== [SKIPPED] xe_migrate ===================
[15:54:51] ================== xe_dma_buf (1 subtest) ==================
[15:54:51] ==================== xe_dma_buf_kunit  =====================
[15:54:51] ================ [SKIPPED] xe_dma_buf_kunit ================
[15:54:51] =================== [SKIPPED] xe_dma_buf ===================
[15:54:51] ================= xe_bo_shrink (1 subtest) =================
[15:54:51] =================== xe_bo_shrink_kunit  ====================
[15:54:51] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[15:54:51] ================== [SKIPPED] xe_bo_shrink ==================
[15:54:51] ==================== xe_bo (2 subtests) ====================
[15:54:51] ================== xe_ccs_migrate_kunit  ===================
[15:54:51] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[15:54:51] ==================== xe_bo_evict_kunit  ====================
[15:54:51] =============== [SKIPPED] xe_bo_evict_kunit ================
[15:54:51] ===================== [SKIPPED] xe_bo ======================
[15:54:51] =================== xe_any (9 subtests) ====================
[15:54:51] [PASSED] test_to_xe
[15:54:51] [PASSED] test_to_dev
[15:54:51] [PASSED] test_to_pdev
[15:54:51] [PASSED] test_to_drm
[15:54:51] [PASSED] test_if_pdev
[15:54:51] [PASSED] test_if_xe
[15:54:51] [PASSED] test_if_tile
[15:54:51] [PASSED] test_if_gt
[15:54:51] [PASSED] test_to_id
[15:54:51] ===================== [PASSED] xe_any ======================
[15:54:51] ==================== args (13 subtests) ====================
[15:54:51] [PASSED] count_args_test
[15:54:51] [PASSED] call_args_example
[15:54:51] [PASSED] call_args_test
[15:54:51] [PASSED] drop_first_arg_example
[15:54:51] [PASSED] drop_first_arg_test
[15:54:51] [PASSED] first_arg_example
[15:54:51] [PASSED] first_arg_test
[15:54:51] [PASSED] last_arg_example
[15:54:51] [PASSED] last_arg_test
[15:54:51] [PASSED] pick_arg_example
[15:54:51] [PASSED] if_args_example
[15:54:51] [PASSED] if_args_test
[15:54:51] [PASSED] sep_comma_example
[15:54:51] ====================== [PASSED] args =======================
[15:54:51] =================== xe_pci (3 subtests) ====================
[15:54:51] ==================== check_graphics_ip  ====================
[15:54:51] [PASSED] 12.00 Xe_LP
[15:54:51] [PASSED] 12.10 Xe_LP+
[15:54:51] [PASSED] 12.55 Xe_HPG
[15:54:51] [PASSED] 12.60 Xe_HPC
[15:54:51] [PASSED] 12.70 Xe_LPG
[15:54:51] [PASSED] 12.71 Xe_LPG
[15:54:51] [PASSED] 12.74 Xe_LPG+
[15:54:51] [PASSED] 20.01 Xe2_HPG
[15:54:51] [PASSED] 20.02 Xe2_HPG
[15:54:51] [PASSED] 20.04 Xe2_LPG
[15:54:51] [PASSED] 30.00 Xe3_LPG
[15:54:51] [PASSED] 30.01 Xe3_LPG
[15:54:51] [PASSED] 30.03 Xe3_LPG
[15:54:51] [PASSED] 30.04 Xe3_LPG
[15:54:51] [PASSED] 30.05 Xe3_LPG
[15:54:51] [PASSED] 35.10 Xe3p_LPG
[15:54:51] [PASSED] 35.11 Xe3p_XPC
[15:54:51] ================ [PASSED] check_graphics_ip ================
[15:54:51] ===================== check_media_ip  ======================
[15:54:51] [PASSED] 12.00 Xe_M
[15:54:51] [PASSED] 12.55 Xe_HPM
[15:54:51] [PASSED] 13.00 Xe_LPM+
[15:54:51] [PASSED] 13.01 Xe2_HPM
[15:54:51] [PASSED] 20.00 Xe2_LPM
[15:54:51] [PASSED] 30.00 Xe3_LPM
[15:54:51] [PASSED] 30.02 Xe3_LPM
[15:54:51] [PASSED] 35.00 Xe3p_LPM
[15:54:51] [PASSED] 35.03 Xe3p_HPM
[15:54:51] ================= [PASSED] check_media_ip ==================
[15:54:51] =================== check_platform_desc  ===================
[15:54:51] [PASSED] 0x9A60 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A68 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A70 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A40 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A49 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A59 (TIGERLAKE)
[15:54:51] [PASSED] 0x9A78 (TIGERLAKE)
[15:54:51] [PASSED] 0x9AC0 (TIGERLAKE)
[15:54:51] [PASSED] 0x9AC9 (TIGERLAKE)
[15:54:51] [PASSED] 0x9AD9 (TIGERLAKE)
[15:54:51] [PASSED] 0x9AF8 (TIGERLAKE)
[15:54:51] [PASSED] 0x4C80 (ROCKETLAKE)
[15:54:51] [PASSED] 0x4C8A (ROCKETLAKE)
[15:54:51] [PASSED] 0x4C8B (ROCKETLAKE)
[15:54:51] [PASSED] 0x4C8C (ROCKETLAKE)
[15:54:51] [PASSED] 0x4C90 (ROCKETLAKE)
[15:54:51] [PASSED] 0x4C9A (ROCKETLAKE)
[15:54:51] [PASSED] 0x4680 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4682 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4688 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x468A (ALDERLAKE_S)
[15:54:51] [PASSED] 0x468B (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4690 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4692 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4693 (ALDERLAKE_S)
[15:54:51] [PASSED] 0x46A0 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46A1 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46A2 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46A3 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46A6 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46A8 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46AA (ALDERLAKE_P)
[15:54:51] [PASSED] 0x462A (ALDERLAKE_P)
[15:54:51] [PASSED] 0x4626 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x4628 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46B0 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46B1 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46B2 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46B3 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46C0 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46C1 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46C2 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46C3 (ALDERLAKE_P)
[15:54:51] [PASSED] 0x46D0 (ALDERLAKE_N)
[15:54:51] [PASSED] 0x46D1 (ALDERLAKE_N)
[15:54:51] [PASSED] 0x46D2 (ALDERLAKE_N)
[15:54:51] [PASSED] 0x46D3 (ALDERLAKE_N)
[15:54:51] [PASSED] 0x46D4 (ALDERLAKE_N)
[15:54:51] [PASSED] 0xA721 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7A1 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7A9 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7AC (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7AD (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA720 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7A0 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7A8 (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7AA (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA7AB (ALDERLAKE_P)
[15:54:51] [PASSED] 0xA780 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA781 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA782 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA783 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA788 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA789 (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA78A (ALDERLAKE_S)
[15:54:51] [PASSED] 0xA78B (ALDERLAKE_S)
[15:54:51] [PASSED] 0x4905 (DG1)
[15:54:51] [PASSED] 0x4906 (DG1)
[15:54:51] [PASSED] 0x4907 (DG1)
[15:54:51] [PASSED] 0x4908 (DG1)
[15:54:51] [PASSED] 0x4909 (DG1)
[15:54:51] [PASSED] 0x56C0 (DG2)
[15:54:51] [PASSED] 0x56C2 (DG2)
[15:54:51] [PASSED] 0x56C1 (DG2)
[15:54:51] [PASSED] 0x7D51 (METEORLAKE)
[15:54:51] [PASSED] 0x7DD1 (METEORLAKE)
[15:54:51] [PASSED] 0x7D41 (METEORLAKE)
[15:54:51] [PASSED] 0x7D67 (METEORLAKE)
[15:54:51] [PASSED] 0xB640 (METEORLAKE)
[15:54:51] [PASSED] 0x56A0 (DG2)
[15:54:51] [PASSED] 0x56A1 (DG2)
[15:54:51] [PASSED] 0x56A2 (DG2)
[15:54:51] [PASSED] 0x56BE (DG2)
[15:54:51] [PASSED] 0x56BF (DG2)
[15:54:51] [PASSED] 0x5690 (DG2)
[15:54:51] [PASSED] 0x5691 (DG2)
[15:54:51] [PASSED] 0x5692 (DG2)
[15:54:51] [PASSED] 0x56A5 (DG2)
[15:54:51] [PASSED] 0x56A6 (DG2)
[15:54:51] [PASSED] 0x56B0 (DG2)
[15:54:51] [PASSED] 0x56B1 (DG2)
[15:54:51] [PASSED] 0x56BA (DG2)
[15:54:51] [PASSED] 0x56BB (DG2)
[15:54:51] [PASSED] 0x56BC (DG2)
[15:54:51] [PASSED] 0x56BD (DG2)
[15:54:51] [PASSED] 0x5693 (DG2)
[15:54:51] [PASSED] 0x5694 (DG2)
[15:54:51] [PASSED] 0x5695 (DG2)
[15:54:51] [PASSED] 0x56A3 (DG2)
[15:54:51] [PASSED] 0x56A4 (DG2)
[15:54:51] [PASSED] 0x56B2 (DG2)
[15:54:51] [PASSED] 0x56B3 (DG2)
[15:54:51] [PASSED] 0x5696 (DG2)
[15:54:51] [PASSED] 0x5697 (DG2)
[15:54:51] [PASSED] 0xB69 (PVC)
[15:54:51] [PASSED] 0xB6E (PVC)
[15:54:51] [PASSED] 0xBD4 (PVC)
[15:54:51] [PASSED] 0xBD5 (PVC)
[15:54:51] [PASSED] 0xBD6 (PVC)
[15:54:51] [PASSED] 0xBD7 (PVC)
[15:54:51] [PASSED] 0xBD8 (PVC)
[15:54:51] [PASSED] 0xBD9 (PVC)
[15:54:51] [PASSED] 0xBDA (PVC)
[15:54:51] [PASSED] 0xBDB (PVC)
[15:54:51] [PASSED] 0xBE0 (PVC)
[15:54:51] [PASSED] 0xBE1 (PVC)
[15:54:51] [PASSED] 0xBE5 (PVC)
[15:54:51] [PASSED] 0x7D40 (METEORLAKE)
[15:54:51] [PASSED] 0x7D45 (METEORLAKE)
[15:54:51] [PASSED] 0x7D55 (METEORLAKE)
[15:54:51] [PASSED] 0x7D60 (METEORLAKE)
[15:54:51] [PASSED] 0x7DD5 (METEORLAKE)
[15:54:51] [PASSED] 0x6420 (LUNARLAKE)
[15:54:51] [PASSED] 0x64A0 (LUNARLAKE)
[15:54:51] [PASSED] 0x64B0 (LUNARLAKE)
[15:54:51] [PASSED] 0xE202 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE209 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE20B (BATTLEMAGE)
[15:54:51] [PASSED] 0xE20C (BATTLEMAGE)
[15:54:51] [PASSED] 0xE20D (BATTLEMAGE)
[15:54:51] [PASSED] 0xE210 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE211 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE212 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE216 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE220 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE221 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE222 (BATTLEMAGE)
[15:54:51] [PASSED] 0xE223 (BATTLEMAGE)
[15:54:51] [PASSED] 0xB080 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB081 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB082 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB083 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB084 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB085 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB086 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB087 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB08F (PANTHERLAKE)
[15:54:51] [PASSED] 0xB090 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB0A0 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB0A1 (PANTHERLAKE)
[15:54:51] [PASSED] 0xB0B0 (PANTHERLAKE)
[15:54:51] [PASSED] 0xFD80 (PANTHERLAKE)
[15:54:51] [PASSED] 0xFD81 (PANTHERLAKE)
[15:54:51] [PASSED] 0xD740 (NOVALAKE_S)
[15:54:51] [PASSED] 0xD741 (NOVALAKE_S)
[15:54:51] [PASSED] 0xD742 (NOVALAKE_S)
[15:54:51] [PASSED] 0xD743 (NOVALAKE_S)
[15:54:51] [PASSED] 0xD745 (NOVALAKE_S)
[15:54:51] [PASSED] 0xD74A (NOVALAKE_S)
[15:54:51] [PASSED] 0xD74B (NOVALAKE_S)
[15:54:51] [PASSED] 0x674C (CRESCENTISLAND)
[15:54:51] [PASSED] 0x674D (CRESCENTISLAND)
[15:54:51] [PASSED] 0x674E (CRESCENTISLAND)
[15:54:51] [PASSED] 0x674F (CRESCENTISLAND)
[15:54:51] [PASSED] 0x6750 (CRESCENTISLAND)
[15:54:51] [PASSED] 0x6751 (CRESCENTISLAND)
[15:54:51] [PASSED] 0x6752 (CRESCENTISLAND)
[15:54:51] [PASSED] 0xD750 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD751 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD752 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD753 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD754 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD755 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD756 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD757 (NOVALAKE_P)
[15:54:51] [PASSED] 0xD75F (NOVALAKE_P)
[15:54:51] =============== [PASSED] check_platform_desc ===============
[15:54:51] ===================== [PASSED] xe_pci ======================
[15:54:51] ============= xe_rtp_tables_test (5 subtests) ==============
[15:54:51] ================== xe_rtp_table_gt_test  ===================
[15:54:51] [PASSED] gt_was/14011060649
[15:54:51] [PASSED] gt_was/14011059788
[15:54:51] [PASSED] gt_was/14015795083
[15:54:51] [PASSED] gt_was/16021867713
[15:54:51] [PASSED] gt_was/14019449301
[15:54:51] [PASSED] gt_was/16028005424
[15:54:51] [PASSED] gt_was/14026578760
[15:54:51] [PASSED] gt_was/1409420604
[15:54:51] [PASSED] gt_was/1408615072
[15:54:51] [PASSED] gt_was/22010523718
[15:54:51] [PASSED] gt_was/14011006942
[15:54:51] [PASSED] gt_was/14014830051
[15:54:51] [PASSED] gt_was/18018781329
[15:54:51] [PASSED] gt_was/1509235366
[15:54:51] [PASSED] gt_was/18018781329
[15:54:51] [PASSED] gt_was/16016694945
[15:54:51] [PASSED] gt_was/14018575942
[15:54:51] [PASSED] gt_was/22016670082
[15:54:51] [PASSED] gt_was/22016670082
[15:54:51] [PASSED] gt_was/14017421178
[15:54:51] [PASSED] gt_was/16025250150
[15:54:51] [PASSED] gt_was/14021871409
[15:54:51] [PASSED] gt_was/16021865536
[15:54:51] [PASSED] gt_was/14021486841
[15:54:51] [PASSED] gt_was/14025160223
[15:54:51] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[15:54:51] [PASSED] gt_was/14025635424
[15:54:51] [PASSED] gt_was/16028005424
[15:54:51] ============== [PASSED] xe_rtp_table_gt_test ===============
[15:54:51] ================== xe_rtp_table_gt_test  ===================
[15:54:51] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[15:54:51] [PASSED] gt_tunings/Tuning: 32B Access Enable
[15:54:51] [PASSED] gt_tunings/Tuning: L3 cache
[15:54:51] [PASSED] gt_tunings/Tuning: L3 cache - media
[15:54:51] [PASSED] gt_tunings/Tuning: Compression Overfetch
[15:54:51] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[15:54:51] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[15:54:51] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[15:54:51] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[15:54:51] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[15:54:51] [PASSED] gt_tunings/Tuning: Stateless compression control
[15:54:51] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[15:54:51] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[15:54:51] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[15:54:51] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[15:54:51] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[15:54:51] ============== [PASSED] xe_rtp_table_gt_test ===============
[15:54:51] ================== xe_rtp_table_oob_test  ==================
[15:54:51] [PASSED] oob_was/1607983814
[15:54:51] [PASSED] oob_was/16010904313
[15:54:51] [PASSED] oob_was/18022495364
[15:54:51] [PASSED] oob_was/22012773006
[15:54:51] [PASSED] oob_was/14014475959
[15:54:51] [PASSED] oob_was/22011391025
[15:54:51] [PASSED] oob_was/22012727170
[15:54:51] [PASSED] oob_was/22012727685
[15:54:51] [PASSED] oob_was/22016596838
[15:54:51] [PASSED] oob_was/18020744125
[15:54:51] [PASSED] oob_was/1409600907
[15:54:51] [PASSED] oob_was/22014953428
[15:54:51] [PASSED] oob_was/16017236439
[15:54:51] [PASSED] oob_was/14019821291
[15:54:51] [PASSED] oob_was/14015076503
[15:54:51] [PASSED] oob_was/22016122933
[15:54:51] [PASSED] oob_was/14018913170
[15:54:51] [PASSED] oob_was/14018094691
[15:54:51] [PASSED] oob_was/18024947630
[15:54:51] [PASSED] oob_was/16022287689
[15:54:51] [PASSED] oob_was/13011645652
[15:54:51] [PASSED] oob_was/14022293748
[15:54:51] [PASSED] oob_was/22019794406
[15:54:51] [PASSED] oob_was/22019338487
[15:54:51] [PASSED] oob_was/16023588340
[15:54:51] [PASSED] oob_was/14019789679
[15:54:51] [PASSED] oob_was/14022866841
[15:54:51] [PASSED] oob_was/16021333562
[15:54:51] [PASSED] oob_was/14016712196
[15:54:51] [PASSED] oob_was/14015568240
[15:54:51] [PASSED] oob_was/18013179988
[15:54:51] [PASSED] oob_was/1508761755
[15:54:51] [PASSED] oob_was/16023105232
[15:54:51] [PASSED] oob_was/16026508708
[15:54:51] [PASSED] oob_was/14020001231
[15:54:51] [PASSED] oob_was/16023683509
[15:54:51] [PASSED] oob_was/14025515070
[15:54:51] [PASSED] oob_was/15015404425_disable
[15:54:51] [PASSED] oob_was/16026007364
[15:54:51] [PASSED] oob_was/14020316580
[15:54:51] [PASSED] oob_was/14025883347
[15:54:51] [PASSED] oob_was/16029380221
[15:54:51] [PASSED] oob_was/22022079272
[15:54:51] [PASSED] oob_was/16029897822
[15:54:51] [PASSED] oob_was/14026539277
[15:54:51] [PASSED] oob_was/14027054324
[15:54:51] [PASSED] oob_was/14025941587
[15:54:51] [PASSED] oob_was/16030224309
[15:54:51] [PASSED] oob_was/14028709524
[15:54:51] [PASSED] oob_was/14028250015
[15:54:51] [PASSED] oob_was/16031259911
[15:54:51] ============== [PASSED] xe_rtp_table_oob_test ==============
[15:54:51] ================ xe_rtp_table_dev_oob_test  ================
[15:54:51] [PASSED] device_oob_was/22010954014
[15:54:51] [PASSED] device_oob_was/15015404425
[15:54:51] [PASSED] device_oob_was/22019338487_display
[15:54:51] [PASSED] device_oob_was/14022085890
[15:54:51] [PASSED] device_oob_was/14026633728
[15:54:51] [PASSED] device_oob_was/14026746987
[15:54:51] [PASSED] device_oob_was/14026779378
[15:54:51] [PASSED] device_oob_was/14028586678
[15:54:51] [PASSED] device_oob_was/14028434957
[15:54:51] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[15:54:51] ========== xe_rtp_table_missing_upper_bound_test  ==========
[15:54:51] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[15:54:51] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[15:54:51] [PASSED] register_whitelist/1806527549
[15:54:51] [PASSED] register_whitelist/allow_read_ctx_timestamp
[15:54:51] [PASSED] register_whitelist/allow_read_queue_timestamp
[15:54:51] [PASSED] register_whitelist/16014440446
[15:54:51] [PASSED] register_whitelist/16017236439
[15:54:51] [PASSED] register_whitelist/16020183090
[15:54:51] [PASSED] register_whitelist/14024997852
[15:54:51] [PASSED] register_whitelist/14024997852
[15:54:51] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[15:54:51] =============== [PASSED] xe_rtp_tables_test ================
[15:54:51] =================== xe_rtp (3 subtests) ====================
[15:54:51] =================== xe_rtp_rules_tests  ====================
[15:54:51] [PASSED] no
[15:54:51] [PASSED] yes
[15:54:51] [PASSED] no-and-no
[15:54:51] [PASSED] no-and-yes
[15:54:51] [PASSED] yes-and-no
[15:54:51] [PASSED] yes-and-yes
[15:54:51] [PASSED] no-or-no
[15:54:51] [PASSED] no-or-yes
[15:54:51] [PASSED] yes-or-no
[15:54:51] [PASSED] yes-or-yes
[15:54:51] [PASSED] no-yes-or-yes-no
[15:54:51] [PASSED] no-yes-or-yes-yes
[15:54:51] [PASSED] yes-yes-or-no-yes
[15:54:51] [PASSED] yes-yes-or-yes-yes
[15:54:51] [PASSED] no-no-or-yes-or-no
[15:54:51] [PASSED] or
[15:54:51] [PASSED] or-yes
[15:54:51] [PASSED] or-no
[15:54:51] [PASSED] yes-or
[15:54:51] [PASSED] no-or
[15:54:51] [PASSED] no-or-or-yes
[15:54:51] [PASSED] yes-or-or-no
[15:54:51] [PASSED] no-or-or-no
[15:54:51] [PASSED] missing-context-engine-class
[15:54:51] [PASSED] missing-context-engine-class-or-yes
[15:54:51] [PASSED] missing-context-engine-class-or-or-yes
[15:54:51] =============== [PASSED] xe_rtp_rules_tests ================
[15:54:51] =============== xe_rtp_process_to_sr_tests  ================
[15:54:51] [PASSED] coalesce-same-reg
[15:54:51] [PASSED] coalesce-same-reg-literal-and-func
[15:54:51] [PASSED] no-match-no-add
[15:54:51] [PASSED] two-regs-two-entries
[15:54:51] [PASSED] clr-one-set-other
[15:54:51] [PASSED] set-field
[15:54:51] [PASSED] conflict-duplicate
[15:54:51] [PASSED] conflict-not-disjoint
[15:54:51] [PASSED] conflict-not-disjoint-literal-and-func
[15:54:51] [PASSED] conflict-reg-type
[15:54:51] [PASSED] bad-mcr-reg-forced-to-regular
[15:54:51] [PASSED] bad-regular-reg-forced-to-mcr
[15:54:51] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[15:54:51] ================== xe_rtp_process_tests  ===================
[15:54:51] [PASSED] active1
[15:54:51] [PASSED] active2
[15:54:51] [PASSED] active-inactive
[15:54:51] [PASSED] inactive-active
[15:54:51] [PASSED] inactive-active-inactive
[15:54:51] [PASSED] inactive-inactive-inactive
[15:54:51] ============== [PASSED] xe_rtp_process_tests ===============
[15:54:51] ===================== [PASSED] xe_rtp ======================
[15:54:51] ==================== xe_wa (1 subtest) =====================
[15:54:51] ======================== xe_wa_gt  =========================
[15:54:51] [PASSED] TIGERLAKE B0
[15:54:51] [PASSED] DG1 A0
[15:54:51] [PASSED] DG1 B0
[15:54:51] [PASSED] ALDERLAKE_S A0
[15:54:51] [PASSED] ALDERLAKE_S B0
[15:54:51] [PASSED] ALDERLAKE_S C0
[15:54:51] [PASSED] ALDERLAKE_S D0
[15:54:51] [PASSED] ALDERLAKE_P A0
[15:54:51] [PASSED] ALDERLAKE_P B0
[15:54:51] [PASSED] ALDERLAKE_P C0
[15:54:51] [PASSED] ALDERLAKE_S RPLS D0
[15:54:51] [PASSED] ALDERLAKE_P RPLU E0
[15:54:51] [PASSED] DG2 G10 C0
[15:54:51] [PASSED] DG2 G11 B1
[15:54:51] [PASSED] DG2 G12 A1
[15:54:51] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[15:54:51] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[15:54:51] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[15:54:51] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[15:54:51] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[15:54:51] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[15:54:51] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[15:54:51] ==================== [PASSED] xe_wa_gt =====================
[15:54:51] ====================== [PASSED] xe_wa ======================
[15:54:51] ============================================================
[15:54:51] Testing complete. Ran 844 tests: passed: 815, skipped: 29
[15:54:51] Elapsed time: 41.389s total, 2.551s configuring, 38.121s 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
[15:54:51] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[15:54:54] 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
[15:55:19] Starting KUnit Kernel (1/1)...
[15:55:19] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[15:55:19] ============ drm_test_pick_cmdline (2 subtests) ============
[15:55:19] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[15:55:19] =============== drm_test_pick_cmdline_named  ===============
[15:55:19] [PASSED] NTSC
[15:55:19] [PASSED] NTSC-J
[15:55:19] [PASSED] PAL
[15:55:19] [PASSED] PAL-M
[15:55:19] =========== [PASSED] drm_test_pick_cmdline_named ===========
[15:55:19] ============== [PASSED] drm_test_pick_cmdline ==============
[15:55:19] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[15:55:19] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[15:55:19] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[15:55:19] =========== drm_validate_clone_mode (2 subtests) ===========
[15:55:19] ============== drm_test_check_in_clone_mode  ===============
[15:55:19] [PASSED] in_clone_mode
[15:55:19] [PASSED] not_in_clone_mode
[15:55:19] ========== [PASSED] drm_test_check_in_clone_mode ===========
[15:55:19] =============== drm_test_check_valid_clones  ===============
[15:55:19] [PASSED] not_in_clone_mode
[15:55:19] [PASSED] valid_clone
[15:55:19] [PASSED] invalid_clone
[15:55:19] =========== [PASSED] drm_test_check_valid_clones ===========
[15:55:19] ============= [PASSED] drm_validate_clone_mode =============
[15:55:19] ============= drm_validate_modeset (1 subtest) =============
[15:55:19] [PASSED] drm_test_check_connector_changed_modeset
[15:55:19] ============== [PASSED] drm_validate_modeset ===============
[15:55:19] ====== drm_test_bridge_get_current_state (1 subtest) =======
[15:55:19] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[15:55:19] ======== [PASSED] drm_test_bridge_get_current_state ========
[15:55:19] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[15:55:19] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[15:55:19] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[15:55:19] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[15:55:19] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[15:55:19] ============== drm_bridge_alloc (2 subtests) ===============
[15:55:19] [PASSED] drm_test_drm_bridge_alloc_basic
[15:55:19] [PASSED] drm_test_drm_bridge_alloc_get_put
[15:55:19] ================ [PASSED] drm_bridge_alloc =================
[15:55:19] ============= drm_bridge_bus_fmt (5 subtests) ==============
[15:55:19] [PASSED] drm_test_bridge_rgb_yuv_rgb
[15:55:19] [PASSED] drm_test_bridge_must_convert_to_yuv444
[15:55:19] [PASSED] drm_test_bridge_hdmi_auto_rgb
[15:55:19] [PASSED] drm_test_bridge_auto_first
[15:55:19] [PASSED] drm_test_bridge_rgb_yuv_no_path
[15:55:19] =============== [PASSED] drm_bridge_bus_fmt ================
[15:55:19] ============= drm_cmdline_parser (40 subtests) =============
[15:55:19] [PASSED] drm_test_cmdline_force_d_only
[15:55:19] [PASSED] drm_test_cmdline_force_D_only_dvi
[15:55:19] [PASSED] drm_test_cmdline_force_D_only_hdmi
[15:55:19] [PASSED] drm_test_cmdline_force_D_only_not_digital
[15:55:19] [PASSED] drm_test_cmdline_force_e_only
[15:55:19] [PASSED] drm_test_cmdline_res
[15:55:19] [PASSED] drm_test_cmdline_res_vesa
[15:55:19] [PASSED] drm_test_cmdline_res_vesa_rblank
[15:55:19] [PASSED] drm_test_cmdline_res_rblank
[15:55:19] [PASSED] drm_test_cmdline_res_bpp
[15:55:19] [PASSED] drm_test_cmdline_res_refresh
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[15:55:19] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[15:55:19] [PASSED] drm_test_cmdline_res_margins_force_on
[15:55:19] [PASSED] drm_test_cmdline_res_vesa_margins
[15:55:19] [PASSED] drm_test_cmdline_name
[15:55:19] [PASSED] drm_test_cmdline_name_bpp
[15:55:19] [PASSED] drm_test_cmdline_name_option
[15:55:19] [PASSED] drm_test_cmdline_name_bpp_option
[15:55:19] [PASSED] drm_test_cmdline_rotate_0
[15:55:19] [PASSED] drm_test_cmdline_rotate_90
[15:55:19] [PASSED] drm_test_cmdline_rotate_180
[15:55:19] [PASSED] drm_test_cmdline_rotate_270
[15:55:19] [PASSED] drm_test_cmdline_hmirror
[15:55:19] [PASSED] drm_test_cmdline_vmirror
[15:55:19] [PASSED] drm_test_cmdline_margin_options
[15:55:19] [PASSED] drm_test_cmdline_multiple_options
[15:55:19] [PASSED] drm_test_cmdline_bpp_extra_and_option
[15:55:19] [PASSED] drm_test_cmdline_extra_and_option
[15:55:19] [PASSED] drm_test_cmdline_freestanding_options
[15:55:19] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[15:55:19] [PASSED] drm_test_cmdline_panel_orientation
[15:55:19] ================ drm_test_cmdline_invalid  =================
[15:55:19] [PASSED] margin_only
[15:55:19] [PASSED] interlace_only
[15:55:19] [PASSED] res_missing_x
[15:55:19] [PASSED] res_missing_y
[15:55:19] [PASSED] res_bad_y
[15:55:19] [PASSED] res_missing_y_bpp
[15:55:19] [PASSED] res_bad_bpp
[15:55:19] [PASSED] res_bad_refresh
[15:55:19] [PASSED] res_bpp_refresh_force_on_off
[15:55:19] [PASSED] res_invalid_mode
[15:55:19] [PASSED] res_bpp_wrong_place_mode
[15:55:19] [PASSED] name_bpp_refresh
[15:55:19] [PASSED] name_refresh
[15:55:19] [PASSED] name_refresh_wrong_mode
[15:55:19] [PASSED] name_refresh_invalid_mode
[15:55:19] [PASSED] rotate_multiple
[15:55:19] [PASSED] rotate_invalid_val
[15:55:19] [PASSED] rotate_truncated
[15:55:19] [PASSED] invalid_option
[15:55:19] [PASSED] invalid_tv_option
[15:55:19] [PASSED] truncated_tv_option
[15:55:19] ============ [PASSED] drm_test_cmdline_invalid =============
[15:55:19] =============== drm_test_cmdline_tv_options  ===============
[15:55:19] [PASSED] NTSC
[15:55:19] [PASSED] NTSC_443
[15:55:19] [PASSED] NTSC_J
[15:55:19] [PASSED] PAL
[15:55:19] [PASSED] PAL_M
[15:55:19] [PASSED] PAL_N
[15:55:19] [PASSED] SECAM
[15:55:19] [PASSED] MONO_525
[15:55:19] [PASSED] MONO_625
[15:55:19] =========== [PASSED] drm_test_cmdline_tv_options ===========
[15:55:19] =============== [PASSED] drm_cmdline_parser ================
[15:55:19] ========== drmm_connector_hdmi_init (20 subtests) ==========
[15:55:19] [PASSED] drm_test_connector_hdmi_init_valid
[15:55:19] [PASSED] drm_test_connector_hdmi_init_bpc_8
[15:55:19] [PASSED] drm_test_connector_hdmi_init_bpc_10
[15:55:19] [PASSED] drm_test_connector_hdmi_init_bpc_12
[15:55:19] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[15:55:19] [PASSED] drm_test_connector_hdmi_init_bpc_null
[15:55:19] [PASSED] drm_test_connector_hdmi_init_formats_empty
[15:55:19] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[15:55:19] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[15:55:19] [PASSED] supported_formats=0x9 yuv420_allowed=1
[15:55:19] [PASSED] supported_formats=0x9 yuv420_allowed=0
[15:55:19] [PASSED] supported_formats=0x5 yuv420_allowed=1
[15:55:19] [PASSED] supported_formats=0x5 yuv420_allowed=0
[15:55:19] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[15:55:19] [PASSED] drm_test_connector_hdmi_init_null_ddc
[15:55:19] [PASSED] drm_test_connector_hdmi_init_null_product
[15:55:19] [PASSED] drm_test_connector_hdmi_init_null_vendor
[15:55:19] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[15:55:19] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[15:55:19] [PASSED] drm_test_connector_hdmi_init_product_valid
[15:55:19] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[15:55:19] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[15:55:19] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[15:55:19] ========= drm_test_connector_hdmi_init_type_valid  =========
[15:55:19] [PASSED] HDMI-A
[15:55:19] [PASSED] HDMI-B
[15:55:19] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[15:55:19] ======== drm_test_connector_hdmi_init_type_invalid  ========
[15:55:19] [PASSED] Unknown
[15:55:19] [PASSED] VGA
[15:55:19] [PASSED] DVI-I
[15:55:19] [PASSED] DVI-D
[15:55:19] [PASSED] DVI-A
[15:55:19] [PASSED] Composite
[15:55:19] [PASSED] SVIDEO
[15:55:19] [PASSED] LVDS
[15:55:19] [PASSED] Component
[15:55:19] [PASSED] DIN
[15:55:19] [PASSED] DP
[15:55:19] [PASSED] TV
[15:55:19] [PASSED] eDP
[15:55:19] [PASSED] Virtual
[15:55:19] [PASSED] DSI
[15:55:19] [PASSED] DPI
[15:55:19] [PASSED] Writeback
[15:55:19] [PASSED] SPI
[15:55:19] [PASSED] USB
[15:55:19] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[15:55:19] ============ [PASSED] drmm_connector_hdmi_init =============
[15:55:19] ============= drmm_connector_init (3 subtests) =============
[15:55:19] [PASSED] drm_test_drmm_connector_init
[15:55:19] [PASSED] drm_test_drmm_connector_init_null_ddc
[15:55:19] ========= drm_test_drmm_connector_init_type_valid  =========
[15:55:19] [PASSED] Unknown
[15:55:19] [PASSED] VGA
[15:55:19] [PASSED] DVI-I
[15:55:19] [PASSED] DVI-D
[15:55:19] [PASSED] DVI-A
[15:55:19] [PASSED] Composite
[15:55:19] [PASSED] SVIDEO
[15:55:19] [PASSED] LVDS
[15:55:19] [PASSED] Component
[15:55:19] [PASSED] DIN
[15:55:19] [PASSED] DP
[15:55:19] [PASSED] HDMI-A
[15:55:19] [PASSED] HDMI-B
[15:55:19] [PASSED] TV
[15:55:19] [PASSED] eDP
[15:55:19] [PASSED] Virtual
[15:55:19] [PASSED] DSI
[15:55:19] [PASSED] DPI
[15:55:19] [PASSED] Writeback
[15:55:19] [PASSED] SPI
[15:55:19] [PASSED] USB
[15:55:19] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[15:55:19] =============== [PASSED] drmm_connector_init ===============
[15:55:19] ========= drm_connector_dynamic_init (6 subtests) ==========
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_init
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_init_properties
[15:55:19] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[15:55:19] [PASSED] Unknown
[15:55:19] [PASSED] VGA
[15:55:19] [PASSED] DVI-I
[15:55:19] [PASSED] DVI-D
[15:55:19] [PASSED] DVI-A
[15:55:19] [PASSED] Composite
[15:55:19] [PASSED] SVIDEO
[15:55:19] [PASSED] LVDS
[15:55:19] [PASSED] Component
[15:55:19] [PASSED] DIN
[15:55:19] [PASSED] DP
[15:55:19] [PASSED] HDMI-A
[15:55:19] [PASSED] HDMI-B
[15:55:19] [PASSED] TV
[15:55:19] [PASSED] eDP
[15:55:19] [PASSED] Virtual
[15:55:19] [PASSED] DSI
[15:55:19] [PASSED] DPI
[15:55:19] [PASSED] Writeback
[15:55:19] [PASSED] SPI
[15:55:19] [PASSED] USB
[15:55:19] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[15:55:19] ======== drm_test_drm_connector_dynamic_init_name  =========
[15:55:19] [PASSED] Unknown
[15:55:19] [PASSED] VGA
[15:55:19] [PASSED] DVI-I
[15:55:19] [PASSED] DVI-D
[15:55:19] [PASSED] DVI-A
[15:55:19] [PASSED] Composite
[15:55:19] [PASSED] SVIDEO
[15:55:19] [PASSED] LVDS
[15:55:19] [PASSED] Component
[15:55:19] [PASSED] DIN
[15:55:19] [PASSED] DP
[15:55:19] [PASSED] HDMI-A
[15:55:19] [PASSED] HDMI-B
[15:55:19] [PASSED] TV
[15:55:19] [PASSED] eDP
[15:55:19] [PASSED] Virtual
[15:55:19] [PASSED] DSI
[15:55:19] [PASSED] DPI
[15:55:19] [PASSED] Writeback
[15:55:19] [PASSED] SPI
[15:55:19] [PASSED] USB
[15:55:19] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[15:55:19] =========== [PASSED] drm_connector_dynamic_init ============
[15:55:19] ==== drm_connector_dynamic_register_early (4 subtests) =====
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[15:55:19] ====== [PASSED] drm_connector_dynamic_register_early =======
[15:55:19] ======= drm_connector_dynamic_register (7 subtests) ========
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[15:55:19] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[15:55:19] ========= [PASSED] drm_connector_dynamic_register ==========
[15:55:19] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[15:55:19] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[15:55:19] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[15:55:19] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[15:55:19] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[15:55:19] ========== drm_test_get_tv_mode_from_name_valid  ===========
[15:55:19] [PASSED] NTSC
[15:55:19] [PASSED] NTSC-443
[15:55:19] [PASSED] NTSC-J
[15:55:19] [PASSED] PAL
[15:55:19] [PASSED] PAL-M
[15:55:19] [PASSED] PAL-N
[15:55:19] [PASSED] SECAM
[15:55:19] [PASSED] Mono
[15:55:19] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[15:55:19] [PASSED] drm_test_get_tv_mode_from_name_truncated
[15:55:19] ============ [PASSED] drm_get_tv_mode_from_name ============
[15:55:19] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[15:55:19] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[15:55:19] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[15:55:19] [PASSED] VIC 96
[15:55:19] [PASSED] VIC 97
[15:55:19] [PASSED] VIC 101
[15:55:19] [PASSED] VIC 102
[15:55:19] [PASSED] VIC 106
[15:55:19] [PASSED] VIC 107
[15:55:19] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[15:55:19] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[15:55:19] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[15:55:19] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[15:55:19] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[15:55:19] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[15:55:19] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[15:55:19] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[15:55:19] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[15:55:19] [PASSED] Automatic
[15:55:19] [PASSED] Full
[15:55:19] [PASSED] Limited 16:235
[15:55:19] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[15:55:19] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[15:55:19] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[15:55:19] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[15:55:19] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[15:55:19] [PASSED] RGB
[15:55:19] [PASSED] YUV 4:2:0
[15:55:19] [PASSED] YUV 4:2:2
[15:55:19] [PASSED] YUV 4:4:4
[15:55:19] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[15:55:19] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[15:55:19] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[15:55:19] ============= drm_damage_helper (21 subtests) ==============
[15:55:19] [PASSED] drm_test_damage_iter_no_damage
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_src_moved
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_not_visible
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[15:55:19] [PASSED] drm_test_damage_iter_no_damage_no_fb
[15:55:19] [PASSED] drm_test_damage_iter_simple_damage
[15:55:19] [PASSED] drm_test_damage_iter_single_damage
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_outside_src
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_src_moved
[15:55:19] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[15:55:19] [PASSED] drm_test_damage_iter_damage
[15:55:19] [PASSED] drm_test_damage_iter_damage_one_intersect
[15:55:19] [PASSED] drm_test_damage_iter_damage_one_outside
[15:55:19] [PASSED] drm_test_damage_iter_damage_src_moved
[15:55:19] [PASSED] drm_test_damage_iter_damage_not_visible
[15:55:19] ================ [PASSED] drm_damage_helper ================
[15:55:19] ============== drm_dp_mst_helper (3 subtests) ==============
[15:55:19] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[15:55:19] [PASSED] Clock 154000 BPP 30 DSC disabled
[15:55:19] [PASSED] Clock 234000 BPP 30 DSC disabled
[15:55:19] [PASSED] Clock 297000 BPP 24 DSC disabled
[15:55:19] [PASSED] Clock 332880 BPP 24 DSC enabled
[15:55:19] [PASSED] Clock 324540 BPP 24 DSC enabled
[15:55:19] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[15:55:19] ============== drm_test_dp_mst_calc_pbn_div  ===============
[15:55:19] [PASSED] Link rate 2000000 lane count 4
[15:55:19] [PASSED] Link rate 2000000 lane count 2
[15:55:19] [PASSED] Link rate 2000000 lane count 1
[15:55:19] [PASSED] Link rate 1350000 lane count 4
[15:55:19] [PASSED] Link rate 1350000 lane count 2
[15:55:19] [PASSED] Link rate 1350000 lane count 1
[15:55:19] [PASSED] Link rate 1000000 lane count 4
[15:55:19] [PASSED] Link rate 1000000 lane count 2
[15:55:19] [PASSED] Link rate 1000000 lane count 1
[15:55:19] [PASSED] Link rate 810000 lane count 4
[15:55:19] [PASSED] Link rate 810000 lane count 2
[15:55:19] [PASSED] Link rate 810000 lane count 1
[15:55:19] [PASSED] Link rate 540000 lane count 4
[15:55:19] [PASSED] Link rate 540000 lane count 2
[15:55:19] [PASSED] Link rate 540000 lane count 1
[15:55:19] [PASSED] Link rate 270000 lane count 4
[15:55:19] [PASSED] Link rate 270000 lane count 2
[15:55:19] [PASSED] Link rate 270000 lane count 1
[15:55:19] [PASSED] Link rate 162000 lane count 4
[15:55:19] [PASSED] Link rate 162000 lane count 2
[15:55:19] [PASSED] Link rate 162000 lane count 1
[15:55:19] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[15:55:19] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[15:55:19] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[15:55:19] [PASSED] DP_POWER_UP_PHY with port number
[15:55:19] [PASSED] DP_POWER_DOWN_PHY with port number
[15:55:19] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[15:55:19] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[15:55:19] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[15:55:19] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[15:55:19] [PASSED] DP_QUERY_PAYLOAD with port number
[15:55:19] [PASSED] DP_QUERY_PAYLOAD with VCPI
[15:55:19] [PASSED] DP_REMOTE_DPCD_READ with port number
[15:55:19] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[15:55:19] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[15:55:19] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[15:55:19] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[15:55:19] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[15:55:19] [PASSED] DP_REMOTE_I2C_READ with port number
[15:55:19] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[15:55:19] [PASSED] DP_REMOTE_I2C_READ with transactions array
[15:55:19] [PASSED] DP_REMOTE_I2C_WRITE with port number
[15:55:19] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[15:55:19] [PASSED] DP_REMOTE_I2C_WRITE with data array
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[15:55:19] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[15:55:19] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[15:55:19] ================ [PASSED] drm_dp_mst_helper ================
[15:55:19] ================== drm_exec (7 subtests) ===================
[15:55:19] [PASSED] sanitycheck
[15:55:19] [PASSED] test_lock
[15:55:19] [PASSED] test_lock_unlock
[15:55:19] [PASSED] test_duplicates
[15:55:19] [PASSED] test_prepare
[15:55:19] [PASSED] test_prepare_array
[15:55:19] [PASSED] test_multiple_loops
[15:55:19] ==================== [PASSED] drm_exec =====================
[15:55:19] =========== drm_format_helper_test (17 subtests) ===========
[15:55:19] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[15:55:19] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[15:55:19] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[15:55:19] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[15:55:19] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[15:55:19] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[15:55:19] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[15:55:19] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[15:55:19] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[15:55:19] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[15:55:19] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[15:55:19] ============== drm_test_fb_xrgb8888_to_mono  ===============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[15:55:19] ==================== drm_test_fb_swab  =====================
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ================ [PASSED] drm_test_fb_swab =================
[15:55:19] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[15:55:19] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[15:55:19] [PASSED] single_pixel_source_buffer
[15:55:19] [PASSED] single_pixel_clip_rectangle
[15:55:19] [PASSED] well_known_colors
[15:55:19] [PASSED] destination_pitch
[15:55:19] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[15:55:19] ================= drm_test_fb_clip_offset  =================
[15:55:19] [PASSED] pass through
[15:55:19] [PASSED] horizontal offset
[15:55:19] [PASSED] vertical offset
[15:55:19] [PASSED] horizontal and vertical offset
[15:55:19] [PASSED] horizontal offset (custom pitch)
[15:55:19] [PASSED] vertical offset (custom pitch)
[15:55:19] [PASSED] horizontal and vertical offset (custom pitch)
[15:55:19] ============= [PASSED] drm_test_fb_clip_offset =============
[15:55:19] =================== drm_test_fb_memcpy  ====================
[15:55:19] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[15:55:19] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[15:55:19] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[15:55:19] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[15:55:19] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[15:55:19] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[15:55:19] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[15:55:19] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[15:55:19] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[15:55:19] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[15:55:19] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[15:55:19] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[15:55:19] =============== [PASSED] drm_test_fb_memcpy ================
[15:55:19] ============= [PASSED] drm_format_helper_test ==============
[15:55:19] ================= drm_format (18 subtests) =================
[15:55:19] [PASSED] drm_test_format_block_width_invalid
[15:55:19] [PASSED] drm_test_format_block_width_one_plane
[15:55:19] [PASSED] drm_test_format_block_width_two_plane
[15:55:19] [PASSED] drm_test_format_block_width_three_plane
[15:55:19] [PASSED] drm_test_format_block_width_tiled
[15:55:19] [PASSED] drm_test_format_block_height_invalid
[15:55:19] [PASSED] drm_test_format_block_height_one_plane
[15:55:19] [PASSED] drm_test_format_block_height_two_plane
[15:55:19] [PASSED] drm_test_format_block_height_three_plane
[15:55:19] [PASSED] drm_test_format_block_height_tiled
[15:55:19] [PASSED] drm_test_format_min_pitch_invalid
[15:55:19] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[15:55:19] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[15:55:19] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[15:55:19] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[15:55:19] [PASSED] drm_test_format_min_pitch_two_plane
[15:55:19] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[15:55:19] [PASSED] drm_test_format_min_pitch_tiled
[15:55:19] =================== [PASSED] drm_format ====================
[15:55:19] ============== drm_framebuffer (10 subtests) ===============
[15:55:19] ========== drm_test_framebuffer_check_src_coords  ==========
[15:55:19] [PASSED] Success: source fits into fb
[15:55:19] [PASSED] Fail: overflowing fb with x-axis coordinate
[15:55:19] [PASSED] Fail: overflowing fb with y-axis coordinate
[15:55:19] [PASSED] Fail: overflowing fb with source width
[15:55:19] [PASSED] Fail: overflowing fb with source height
[15:55:19] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[15:55:19] [PASSED] drm_test_framebuffer_cleanup
[15:55:19] =============== drm_test_framebuffer_create  ===============
[15:55:19] [PASSED] ABGR8888 normal sizes
[15:55:19] [PASSED] ABGR8888 max sizes
[15:55:19] [PASSED] ABGR8888 pitch greater than min required
[15:55:19] [PASSED] ABGR8888 pitch less than min required
[15:55:19] [PASSED] ABGR8888 Invalid width
[15:55:19] [PASSED] ABGR8888 Invalid buffer handle
[15:55:19] [PASSED] No pixel format
[15:55:19] [PASSED] ABGR8888 Width 0
[15:55:19] [PASSED] ABGR8888 Height 0
[15:55:19] [PASSED] ABGR8888 Out of bound height * pitch combination
[15:55:19] [PASSED] ABGR8888 Large buffer offset
[15:55:19] [PASSED] ABGR8888 Buffer offset for inexistent plane
[15:55:19] [PASSED] ABGR8888 Invalid flag
[15:55:19] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[15:55:19] [PASSED] ABGR8888 Valid buffer modifier
[15:55:19] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[15:55:19] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] NV12 Normal sizes
[15:55:19] [PASSED] NV12 Max sizes
[15:55:19] [PASSED] NV12 Invalid pitch
[15:55:19] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[15:55:19] [PASSED] NV12 different  modifier per-plane
[15:55:19] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[15:55:19] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] NV12 Modifier for inexistent plane
[15:55:19] [PASSED] NV12 Handle for inexistent plane
[15:55:19] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[15:55:19] [PASSED] YVU420 Normal sizes
[15:55:19] [PASSED] YVU420 Max sizes
[15:55:19] [PASSED] YVU420 Invalid pitch
[15:55:19] [PASSED] YVU420 Different pitches
[15:55:19] [PASSED] YVU420 Different buffer offsets/pitches
[15:55:19] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[15:55:19] [PASSED] YVU420 Valid modifier
[15:55:19] [PASSED] YVU420 Different modifiers per plane
[15:55:19] [PASSED] YVU420 Modifier for inexistent plane
[15:55:19] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[15:55:19] [PASSED] X0L2 Normal sizes
[15:55:19] [PASSED] X0L2 Max sizes
[15:55:19] [PASSED] X0L2 Invalid pitch
[15:55:19] [PASSED] X0L2 Pitch greater than minimum required
[15:55:19] [PASSED] X0L2 Handle for inexistent plane
[15:55:19] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[15:55:19] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[15:55:19] [PASSED] X0L2 Valid modifier
[15:55:19] [PASSED] X0L2 Modifier for inexistent plane
[15:55:19] =========== [PASSED] drm_test_framebuffer_create ===========
[15:55:19] [PASSED] drm_test_framebuffer_free
[15:55:19] [PASSED] drm_test_framebuffer_init
[15:55:19] [PASSED] drm_test_framebuffer_init_bad_format
[15:55:19] [PASSED] drm_test_framebuffer_init_dev_mismatch
[15:55:19] [PASSED] drm_test_framebuffer_lookup
[15:55:19] [PASSED] drm_test_framebuffer_lookup_inexistent
[15:55:19] [PASSED] drm_test_framebuffer_modifiers_not_supported
[15:55:19] ================= [PASSED] drm_framebuffer =================
[15:55:19] ================ drm_gem_shmem (8 subtests) ================
[15:55:19] [PASSED] drm_gem_shmem_test_obj_create
[15:55:19] [PASSED] drm_gem_shmem_test_obj_create_private
[15:55:19] [PASSED] drm_gem_shmem_test_pin_pages
[15:55:19] [PASSED] drm_gem_shmem_test_vmap
[15:55:19] [PASSED] drm_gem_shmem_test_get_sg_table
[15:55:19] [PASSED] drm_gem_shmem_test_get_pages_sgt
[15:55:19] [PASSED] drm_gem_shmem_test_madvise
[15:55:19] [PASSED] drm_gem_shmem_test_purge
[15:55:19] ================== [PASSED] drm_gem_shmem ==================
[15:55:19] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[15:55:19] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[15:55:19] [PASSED] Automatic
[15:55:19] [PASSED] Full
[15:55:19] [PASSED] Limited 16:235
[15:55:19] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[15:55:19] [PASSED] drm_test_check_disable_connector
[15:55:19] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[15:55:19] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[15:55:19] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[15:55:19] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[15:55:19] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[15:55:19] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[15:55:19] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[15:55:19] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[15:55:19] [PASSED] drm_test_check_output_bpc_dvi
[15:55:19] [PASSED] drm_test_check_output_bpc_format_vic_1
[15:55:19] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[15:55:19] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[15:55:19] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[15:55:19] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[15:55:19] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[15:55:19] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[15:55:19] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[15:55:19] ============ drm_test_check_hdmi_color_format  =============
[15:55:19] [PASSED] AUTO -> RGB
[15:55:19] [PASSED] YCBCR422 -> YUV422
[15:55:19] [PASSED] YCBCR420 -> YUV420
[15:55:19] [PASSED] YCBCR444 -> YUV444
[15:55:19] [PASSED] RGB -> RGB
[15:55:19] ======== [PASSED] drm_test_check_hdmi_color_format =========
[15:55:19] ======== drm_test_check_hdmi_color_format_420_only  ========
[15:55:19] [PASSED] RGB should fail
[15:55:19] [PASSED] YUV444 should fail
[15:55:19] [PASSED] YUV422 should fail
[15:55:19] [PASSED] YUV420 should work
[15:55:19] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[15:55:19] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[15:55:19] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[15:55:19] [PASSED] drm_test_check_broadcast_rgb_value
[15:55:19] [PASSED] drm_test_check_bpc_8_value
[15:55:19] [PASSED] drm_test_check_bpc_10_value
[15:55:19] [PASSED] drm_test_check_bpc_12_value
[15:55:19] [PASSED] drm_test_check_format_value
[15:55:19] [PASSED] drm_test_check_tmds_char_value
[15:55:19] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[15:55:19] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[15:55:19] [PASSED] drm_test_check_mode_valid
[15:55:19] [PASSED] drm_test_check_mode_valid_reject
[15:55:19] [PASSED] drm_test_check_mode_valid_reject_rate
[15:55:19] [PASSED] drm_test_check_mode_valid_reject_max_clock
[15:55:19] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[15:55:19] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[15:55:19] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[15:55:19] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[15:55:19] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[15:55:19] [PASSED] drm_test_check_infoframes
[15:55:19] [PASSED] drm_test_check_reject_avi_infoframe
[15:55:19] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[15:55:19] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[15:55:19] [PASSED] drm_test_check_reject_audio_infoframe
[15:55:19] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[15:55:19] ================= drm_managed (2 subtests) =================
[15:55:19] [PASSED] drm_test_managed_release_action
[15:55:19] [PASSED] drm_test_managed_run_action
[15:55:19] =================== [PASSED] drm_managed ===================
[15:55:19] =================== drm_mm (6 subtests) ====================
[15:55:19] [PASSED] drm_test_mm_init
[15:55:19] [PASSED] drm_test_mm_debug
[15:55:19] [PASSED] drm_test_mm_align32
[15:55:19] [PASSED] drm_test_mm_align64
[15:55:19] [PASSED] drm_test_mm_lowest
[15:55:19] [PASSED] drm_test_mm_highest
[15:55:19] ===================== [PASSED] drm_mm ======================
[15:55:19] ============= drm_modes_analog_tv (5 subtests) =============
[15:55:19] [PASSED] drm_test_modes_analog_tv_mono_576i
[15:55:19] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[15:55:19] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[15:55:19] [PASSED] drm_test_modes_analog_tv_pal_576i
[15:55:19] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[15:55:19] =============== [PASSED] drm_modes_analog_tv ===============
[15:55:19] ============== drm_panic_helper (3 subtests) ===============
[15:55:19] ============= drm_test_panic_screen_user_map  ==============
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] ========= [PASSED] drm_test_panic_screen_user_map ==========
[15:55:19] ============= drm_test_panic_screen_user_page  =============
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] ========= [PASSED] drm_test_panic_screen_user_page =========
[15:55:19] ========== drm_test_panic_screen_user_set_pixel  ===========
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[15:55:19] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[15:55:19] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[15:55:19] ================ [PASSED] drm_panic_helper =================
[15:55:19] ============== drm_plane_helper (2 subtests) ===============
[15:55:19] =============== drm_test_check_plane_state  ================
[15:55:19] [PASSED] clipping_simple
[15:55:19] [PASSED] clipping_rotate_reflect
[15:55:19] [PASSED] positioning_simple
[15:55:19] [PASSED] upscaling
[15:55:19] [PASSED] downscaling
[15:55:19] [PASSED] rounding1
[15:55:19] [PASSED] rounding2
[15:55:19] [PASSED] rounding3
[15:55:19] [PASSED] rounding4
[15:55:19] =========== [PASSED] drm_test_check_plane_state ============
[15:55:19] =========== drm_test_check_invalid_plane_state  ============
[15:55:19] [PASSED] positioning_invalid
[15:55:19] [PASSED] upscaling_invalid
[15:55:19] [PASSED] downscaling_invalid
[15:55:19] ======= [PASSED] drm_test_check_invalid_plane_state ========
[15:55:19] ================ [PASSED] drm_plane_helper =================
[15:55:19] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[15:55:19] ====== drm_test_connector_helper_tv_get_modes_check  =======
[15:55:19] [PASSED] None
[15:55:19] [PASSED] PAL
[15:55:19] [PASSED] NTSC
[15:55:19] [PASSED] Both, NTSC Default
[15:55:19] [PASSED] Both, PAL Default
[15:55:19] [PASSED] Both, NTSC Default, with PAL on command-line
[15:55:19] [PASSED] Both, PAL Default, with NTSC on command-line
[15:55:19] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[15:55:19] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[15:55:19] ================== drm_rect (9 subtests) ===================
[15:55:19] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[15:55:19] [PASSED] drm_test_rect_clip_scaled_not_clipped
[15:55:19] [PASSED] drm_test_rect_clip_scaled_clipped
[15:55:19] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[15:55:19] ================= drm_test_rect_intersect  =================
[15:55:19] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[15:55:19] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[15:55:19] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[15:55:19] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[15:55:19] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[15:55:19] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[15:55:19] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[15:55:19] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[15:55:19] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[15:55:19] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[15:55:19] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[15:55:19] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[15:55:19] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[15:55:19] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[15:55:19] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[15:55:19] ============= [PASSED] drm_test_rect_intersect =============
[15:55:19] ================ drm_test_rect_calc_hscale  ================
[15:55:19] [PASSED] normal use
[15:55:19] [PASSED] out of max range
[15:55:19] [PASSED] out of min range
[15:55:19] [PASSED] zero dst
[15:55:19] [PASSED] negative src
[15:55:19] [PASSED] negative dst
[15:55:19] ============ [PASSED] drm_test_rect_calc_hscale ============
[15:55:19] ================ drm_test_rect_calc_vscale  ================
[15:55:19] [PASSED] normal use
[15:55:19] [PASSED] out of max range
[15:55:19] [PASSED] out of min range
[15:55:19] [PASSED] zero dst
[15:55:19] [PASSED] negative src
[15:55:19] [PASSED] negative dst
[15:55:19] ============ [PASSED] drm_test_rect_calc_vscale ============
[15:55:19] ================== drm_test_rect_rotate  ===================
[15:55:19] [PASSED] reflect-x
[15:55:19] [PASSED] reflect-y
[15:55:19] [PASSED] rotate-0
[15:55:19] [PASSED] rotate-90
[15:55:19] [PASSED] rotate-180
[15:55:19] [PASSED] rotate-270
[15:55:19] ============== [PASSED] drm_test_rect_rotate ===============
[15:55:19] ================ drm_test_rect_rotate_inv  =================
[15:55:19] [PASSED] reflect-x
[15:55:19] [PASSED] reflect-y
[15:55:19] [PASSED] rotate-0
[15:55:19] [PASSED] rotate-90
[15:55:19] [PASSED] rotate-180
[15:55:19] [PASSED] rotate-270
[15:55:19] ============ [PASSED] drm_test_rect_rotate_inv =============
[15:55:19] ==================== [PASSED] drm_rect =====================
[15:55:19] ============ drm_sysfb_modeset_test (1 subtest) ============
[15:55:19] ============ drm_test_sysfb_build_fourcc_list  =============
[15:55:19] [PASSED] no native formats
[15:55:19] [PASSED] XRGB8888 as native format
[15:55:19] [PASSED] remove duplicates
[15:55:19] [PASSED] convert alpha formats
[15:55:19] [PASSED] random formats
[15:55:19] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[15:55:19] ============= [PASSED] drm_sysfb_modeset_test ==============
[15:55:19] ================== drm_fixp (2 subtests) ===================
[15:55:19] [PASSED] drm_test_int2fixp
[15:55:19] [PASSED] drm_test_sm2fixp
[15:55:19] ==================== [PASSED] drm_fixp =====================
[15:55:19] ============================================================
[15:55:19] Testing complete. Ran 667 tests: passed: 667
[15:55:19] Elapsed time: 28.113s total, 2.505s configuring, 25.191s building, 0.407s 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
[15:55:19] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[15:55: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
[15:55:32] Starting KUnit Kernel (1/1)...
[15:55:32] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[15:55:32] ================= ttm_device (5 subtests) ==================
[15:55:32] [PASSED] ttm_device_init_basic
[15:55:32] [PASSED] ttm_device_init_multiple
[15:55:32] [PASSED] ttm_device_fini_basic
[15:55:32] [PASSED] ttm_device_init_no_vma_man
[15:55:32] ================== ttm_device_init_pools  ==================
[15:55:32] [PASSED] No DMA allocations, no DMA32 required
[15:55:32] [PASSED] DMA allocations, DMA32 required
[15:55:32] [PASSED] No DMA allocations, DMA32 required
[15:55:32] [PASSED] DMA allocations, no DMA32 required
[15:55:32] ============== [PASSED] ttm_device_init_pools ==============
[15:55:32] =================== [PASSED] ttm_device ====================
[15:55:32] ================== ttm_pool (8 subtests) ===================
[15:55:32] ================== ttm_pool_alloc_basic  ===================
[15:55:32] [PASSED] One page
[15:55:32] [PASSED] More than one page
[15:55:32] [PASSED] Above the allocation limit
[15:55:32] [PASSED] One page, with coherent DMA mappings enabled
[15:55:32] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[15:55:32] ============== [PASSED] ttm_pool_alloc_basic ===============
[15:55:32] ============== ttm_pool_alloc_basic_dma_addr  ==============
[15:55:32] [PASSED] One page
[15:55:32] [PASSED] More than one page
[15:55:32] [PASSED] Above the allocation limit
[15:55:32] [PASSED] One page, with coherent DMA mappings enabled
[15:55:32] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[15:55:32] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[15:55:32] [PASSED] ttm_pool_alloc_order_caching_match
[15:55:32] [PASSED] ttm_pool_alloc_caching_mismatch
[15:55:32] [PASSED] ttm_pool_alloc_order_mismatch
[15:55:32] [PASSED] ttm_pool_free_dma_alloc
[15:55:32] [PASSED] ttm_pool_free_no_dma_alloc
[15:55:32] [PASSED] ttm_pool_fini_basic
[15:55:32] ==================== [PASSED] ttm_pool =====================
[15:55:32] ================ ttm_resource (8 subtests) =================
[15:55:32] ================= ttm_resource_init_basic  =================
[15:55:32] [PASSED] Init resource in TTM_PL_SYSTEM
[15:55:32] [PASSED] Init resource in TTM_PL_VRAM
[15:55:32] [PASSED] Init resource in a private placement
[15:55:32] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[15:55:32] ============= [PASSED] ttm_resource_init_basic =============
[15:55:32] [PASSED] ttm_resource_init_pinned
[15:55:32] [PASSED] ttm_resource_fini_basic
[15:55:32] [PASSED] ttm_resource_manager_init_basic
[15:55:32] [PASSED] ttm_resource_manager_usage_basic
[15:55:32] [PASSED] ttm_resource_manager_set_used_basic
[15:55:32] [PASSED] ttm_sys_man_alloc_basic
[15:55:32] [PASSED] ttm_sys_man_free_basic
[15:55:32] ================== [PASSED] ttm_resource ===================
[15:55:32] =================== ttm_tt (15 subtests) ===================
[15:55:32] ==================== ttm_tt_init_basic  ====================
[15:55:32] [PASSED] Page-aligned size
[15:55:32] [PASSED] Extra pages requested
[15:55:32] ================ [PASSED] ttm_tt_init_basic ================
[15:55:32] [PASSED] ttm_tt_init_misaligned
[15:55:32] [PASSED] ttm_tt_fini_basic
[15:55:32] [PASSED] ttm_tt_fini_sg
[15:55:32] [PASSED] ttm_tt_fini_shmem
[15:55:32] [PASSED] ttm_tt_create_basic
[15:55:32] [PASSED] ttm_tt_create_invalid_bo_type
[15:55:32] [PASSED] ttm_tt_create_ttm_exists
[15:55:32] [PASSED] ttm_tt_create_failed
[15:55:32] [PASSED] ttm_tt_destroy_basic
[15:55:32] [PASSED] ttm_tt_populate_null_ttm
[15:55:32] [PASSED] ttm_tt_populate_populated_ttm
[15:55:32] [PASSED] ttm_tt_unpopulate_basic
[15:55:32] [PASSED] ttm_tt_unpopulate_empty_ttm
[15:55:32] [PASSED] ttm_tt_swapin_basic
[15:55:32] ===================== [PASSED] ttm_tt ======================
[15:55:32] =================== ttm_bo (14 subtests) ===================
[15:55:32] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[15:55:32] [PASSED] Cannot be interrupted and sleeps
[15:55:32] [PASSED] Cannot be interrupted, locks straight away
[15:55:32] [PASSED] Can be interrupted, sleeps
[15:55:32] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[15:55:32] [PASSED] ttm_bo_reserve_locked_no_sleep
[15:55:32] [PASSED] ttm_bo_reserve_no_wait_ticket
[15:55:32] [PASSED] ttm_bo_reserve_double_resv
[15:55:32] [PASSED] ttm_bo_reserve_interrupted
[15:55:32] [PASSED] ttm_bo_reserve_deadlock
[15:55:32] [PASSED] ttm_bo_unreserve_basic
[15:55:32] [PASSED] ttm_bo_unreserve_pinned
[15:55:32] [PASSED] ttm_bo_unreserve_bulk
[15:55:32] [PASSED] ttm_bo_fini_basic
[15:55:32] [PASSED] ttm_bo_fini_shared_resv
[15:55:32] [PASSED] ttm_bo_pin_basic
[15:55:32] [PASSED] ttm_bo_pin_unpin_resource
[15:55:32] [PASSED] ttm_bo_multiple_pin_one_unpin
[15:55:32] ===================== [PASSED] ttm_bo ======================
[15:55:32] ============== ttm_bo_validate (22 subtests) ===============
[15:55:32] ============== ttm_bo_init_reserved_sys_man  ===============
[15:55:32] [PASSED] Buffer object for userspace
[15:55:32] [PASSED] Kernel buffer object
[15:55:32] [PASSED] Shared buffer object
[15:55:32] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[15:55:32] ============== ttm_bo_init_reserved_mock_man  ==============
[15:55:32] [PASSED] Buffer object for userspace
[15:55:32] [PASSED] Kernel buffer object
[15:55:32] [PASSED] Shared buffer object
[15:55:32] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[15:55:32] [PASSED] ttm_bo_init_reserved_resv
[15:55:32] ================== ttm_bo_validate_basic  ==================
[15:55:32] [PASSED] Buffer object for userspace
[15:55:32] [PASSED] Kernel buffer object
[15:55:32] [PASSED] Shared buffer object
[15:55:32] ============== [PASSED] ttm_bo_validate_basic ==============
[15:55:32] [PASSED] ttm_bo_validate_invalid_placement
[15:55:32] ============= ttm_bo_validate_same_placement  ==============
[15:55:32] [PASSED] System manager
[15:55:32] [PASSED] VRAM manager
[15:55:32] ========= [PASSED] ttm_bo_validate_same_placement ==========
[15:55:32] [PASSED] ttm_bo_validate_failed_alloc
[15:55:32] [PASSED] ttm_bo_validate_pinned
[15:55:32] [PASSED] ttm_bo_validate_busy_placement
[15:55:32] ================ ttm_bo_validate_multihop  =================
[15:55:32] [PASSED] Buffer object for userspace
[15:55:32] [PASSED] Kernel buffer object
[15:55:32] [PASSED] Shared buffer object
[15:55:32] ============ [PASSED] ttm_bo_validate_multihop =============
[15:55:32] ========== ttm_bo_validate_no_placement_signaled  ==========
[15:55:32] [PASSED] Buffer object in system domain, no page vector
[15:55:32] [PASSED] Buffer object in system domain with an existing page vector
[15:55:32] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[15:55:32] ======== ttm_bo_validate_no_placement_not_signaled  ========
[15:55:32] [PASSED] Buffer object for userspace
[15:55:32] [PASSED] Kernel buffer object
[15:55:32] [PASSED] Shared buffer object
[15:55:32] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[15:55:32] [PASSED] ttm_bo_validate_move_fence_signaled
[15:55:32] ========= ttm_bo_validate_move_fence_not_signaled  =========
[15:55:32] [PASSED] Waits for GPU
[15:55:32] [PASSED] Tries to lock straight away
[15:55:32] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[15:55:32] [PASSED] ttm_bo_validate_swapout
[15:55:32] [PASSED] ttm_bo_validate_happy_evict
[15:55:32] [PASSED] ttm_bo_validate_all_pinned_evict
[15:55:32] [PASSED] ttm_bo_validate_allowed_only_evict
[15:55:32] [PASSED] ttm_bo_validate_deleted_evict
[15:55:32] [PASSED] ttm_bo_validate_busy_domain_evict
[15:55:32] [PASSED] ttm_bo_validate_evict_gutting
[15:55:32] [PASSED] ttm_bo_validate_recrusive_evict
[15:55:32] ================= [PASSED] ttm_bo_validate =================
[15:55:32] ============================================================
[15:55:32] Testing complete. Ran 102 tests: passed: 102
[15:55:32] Elapsed time: 12.896s total, 2.492s configuring, 10.190s building, 0.180s running

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

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



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

end of thread, other threads:[~2026-11-16 15:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 13:13 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
2026-11-16 13:13 ` [PATCH v5 1/5] drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists Maarten Lankhorst
2026-11-16 13:13 ` [PATCH v5 2/5] drm/xe/migrate: Support copying between sysmem and stolen Maarten Lankhorst
2026-11-16 13:29   ` sashiko-bot
2026-11-16 13:13 ` [PATCH v5 3/5] drm/xe: Raise gt frequency slightly earlier Maarten Lankhorst
2026-11-16 13:13 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
2026-11-16 13:25   ` sashiko-bot
2026-11-16 13:13 ` [PATCH v5 5/5] drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() Maarten Lankhorst
2026-11-16 13:26   ` Ville Syrjälä
2026-11-16 13:59   ` sashiko-bot
2026-11-16 15:53 ` ✗ CI.checkpatch: warning for drm/xe/display: Transparant fallback from stolen to sysmem. (rev6) Patchwork
2026-11-16 15:55 ` ✓ CI.KUnit: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-11-13 12:44 [PATCH v5 0/5] drm/xe/display: Transparant fallback from stolen to sysmem Maarten Lankhorst
2026-11-13 12:44 ` [PATCH v5 4/5] HACK: Always fallback Maarten Lankhorst
2026-11-13 12:50   ` sashiko-bot

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