public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager
@ 2026-04-21 16:50 Sanjay Yadav
  2026-04-21 17:37 ` ✗ CI.checkpatch: warning for drm/xe: Convert stolen memory over to ttm_range_manager (rev3) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Sanjay Yadav @ 2026-04-21 16:50 UTC (permalink / raw)
  To: intel-xe
  Cc: Maarten Lankhorst, Matthew Brost, Matthew Auld,
	Vinod Govindapillai

Stolen memory requires physically contiguous allocations for display
scanout and compressed framebuffers. The stolen memory manager was
sharing the gpu_buddy allocator backend with the VRAM manager, but
buddy manages non-contiguous power-of-two blocks making it a poor fit.
Stolen memory also has fundamentally different allocation patterns:

- Allocation sizes are not power-of-two. Since buddy rounds up to the
  next power-of-two block size, a ~17MB request can fail even with
  ~22MB free, because the free space is fragmented across non-fitting
  power-of-two blocks.
- Hardware restrictions prevent using the first 4K page of stolen for
  certain allocations (e.g., FBC). The display code sets fpfn=1 to
  enforce this, but when fpfn != 0, gpu_buddy enables
  GPU_BUDDY_RANGE_ALLOCATION mode which disables the try_harder
  coalescing path, further reducing allocation success.

This combination caused FBC compressed framebuffer (CFB) allocation
failures on platforms like NVL/PTL. In case of NVL where stolen memory
is ~56MB and the initial plane framebuffer consumes ~34MB at probe time,
leaving ~22MB for subsequent allocations.

Use ttm_range_man_init_nocheck() to set up a drm_mm-backed TTM resource
manager for stolen memory. This reuses the TTM core's ttm_range_manager
callbacks, avoiding duplicate implementations.

Tested on NVL with a 4K DP display: stolen_mm shows a single ~22MB
contiguous free hole after initial plane framebuffer allocation, and
FBC successfully allocates its CFB from that region. The corresponding
IGT was previously skipped and now passes.

v2:
- Clarify that stolen memory requires contiguous allocations (Matt B)
- Properly handle xe_ttm_resource_visible() for stolen instead of
  unconditionally returning true (Matt A)

v3:
- Rebase
- Fix xe_display_bo_fbdev_prefer_stolen() to compare in pages, since
  ttm_range_manager stores stolen->size in pages not bytes (Matt A)

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7631
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Assisted-by: GitHub Copilot:claude-sonnet-4.6
Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
---
 drivers/gpu/drm/xe/display/xe_display_bo.c |  2 +-
 drivers/gpu/drm/xe/xe_bo.c                 | 16 ++++--
 drivers/gpu/drm/xe/xe_device_types.h       |  3 +
 drivers/gpu/drm/xe/xe_res_cursor.h         | 14 ++++-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c     | 64 ++++++++--------------
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h     |  9 +++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 11 ++--
 7 files changed, 64 insertions(+), 55 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
index dc0d78ff2d79..7fbac223b097 100644
--- a/drivers/gpu/drm/xe/display/xe_display_bo.c
+++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
@@ -138,7 +138,7 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
 	 * important and we should probably use that space with FBC or other
 	 * features.
 	 */
-	return stolen->size >= size * 2;
+	return stolen->size >= (size * 2) >> PAGE_SHIFT;
 }
 
 static struct drm_gem_object *xe_display_bo_fbdev_create(struct drm_device *drm, int size)
diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index f685c3c2fbb3..295857cdeb4e 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -611,11 +611,17 @@ static void xe_ttm_tt_destroy(struct ttm_device *ttm_dev, struct ttm_tt *tt)
 	kfree(tt);
 }
 
-static bool xe_ttm_resource_visible(struct ttm_resource *mem)
+static bool xe_ttm_resource_visible(struct xe_device *xe, struct ttm_resource *mem)
 {
-	struct xe_ttm_vram_mgr_resource *vres =
-		to_xe_ttm_vram_mgr_resource(mem);
+	struct xe_ttm_vram_mgr_resource *vres;
 
+	if (mem->mem_type == XE_PL_STOLEN) {
+		struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
+
+		return mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe);
+	}
+
+	vres = to_xe_ttm_vram_mgr_resource(mem);
 	return vres->used_visible_size == mem->size;
 }
 
@@ -633,7 +639,7 @@ bool xe_bo_is_visible_vram(struct xe_bo *bo)
 	if (drm_WARN_ON(bo->ttm.base.dev, !xe_bo_is_vram(bo)))
 		return false;
 
-	return xe_ttm_resource_visible(bo->ttm.resource);
+	return xe_ttm_resource_visible(xe_bo_device(bo), bo->ttm.resource);
 }
 
 static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
@@ -649,7 +655,7 @@ static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
 	case XE_PL_VRAM1: {
 		struct xe_vram_region *vram = xe_map_resource_to_region(mem);
 
-		if (!xe_ttm_resource_visible(mem))
+		if (!xe_ttm_resource_visible(xe, mem))
 			return -EINVAL;
 
 		mem->bus.offset = mem->start << PAGE_SHIFT;
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index e9e11bb1c65f..315d2ed4d3e6 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -42,6 +42,7 @@ struct xe_ggtt;
 struct xe_i2c;
 struct xe_pat_ops;
 struct xe_pxp;
+struct xe_ttm_stolen_mgr;
 struct xe_vram_region;
 
 /**
@@ -276,6 +277,8 @@ struct xe_device {
 		struct ttm_resource_manager sys_mgr;
 		/** @mem.shrinker: system memory shrinker. */
 		struct xe_shrinker *shrinker;
+		/** @mem.stolen_mgr: stolen memory manager. */
+		struct xe_ttm_stolen_mgr *stolen_mgr;
 	} mem;
 
 	/** @sriov: device level virtualization data */
diff --git a/drivers/gpu/drm/xe/xe_res_cursor.h b/drivers/gpu/drm/xe/xe_res_cursor.h
index 5f4ab08c0686..0522caafd89d 100644
--- a/drivers/gpu/drm/xe/xe_res_cursor.h
+++ b/drivers/gpu/drm/xe/xe_res_cursor.h
@@ -101,7 +101,15 @@ static inline void xe_res_first(struct ttm_resource *res,
 	cur->mem_type = res->mem_type;
 
 	switch (cur->mem_type) {
-	case XE_PL_STOLEN:
+	case XE_PL_STOLEN: {
+		/* res->start is in pages (ttm_range_manager). */
+		cur->start = (res->start << PAGE_SHIFT) + start;
+		cur->size = size;
+		cur->remaining = size;
+		cur->node = NULL;
+		cur->mm = NULL;
+		break;
+	}
 	case XE_PL_VRAM0:
 	case XE_PL_VRAM1: {
 		struct gpu_buddy_block *block;
@@ -289,6 +297,10 @@ static inline void xe_res_next(struct xe_res_cursor *cur, u64 size)
 
 	switch (cur->mem_type) {
 	case XE_PL_STOLEN:
+		/* Just advance within the contiguous region. */
+		cur->start += size;
+		cur->size = cur->remaining;
+		break;
 	case XE_PL_VRAM0:
 	case XE_PL_VRAM1:
 		start = size - cur->size;
diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
index 27c9d72222cf..5e9070739e65 100644
--- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
@@ -19,30 +19,11 @@
 #include "xe_device.h"
 #include "xe_gt_printk.h"
 #include "xe_mmio.h"
-#include "xe_res_cursor.h"
 #include "xe_sriov.h"
 #include "xe_ttm_stolen_mgr.h"
-#include "xe_ttm_vram_mgr.h"
 #include "xe_vram.h"
 #include "xe_wa.h"
 
-struct xe_ttm_stolen_mgr {
-	struct xe_ttm_vram_mgr base;
-
-	/* PCI base offset */
-	resource_size_t io_base;
-	/* GPU base offset */
-	resource_size_t stolen_base;
-
-	void __iomem *mapping;
-};
-
-static inline struct xe_ttm_stolen_mgr *
-to_stolen_mgr(struct ttm_resource_manager *man)
-{
-	return container_of(man, struct xe_ttm_stolen_mgr, base.manager);
-}
-
 /**
  * xe_ttm_stolen_cpu_access_needs_ggtt() - If we can't directly CPU access
  * stolen, can we then fallback to mapping through the GGTT.
@@ -210,12 +191,19 @@ static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
 #endif
 }
 
+static void xe_ttm_stolen_mgr_fini(struct drm_device *dev, void *arg)
+{
+	struct xe_device *xe = to_xe_device(dev);
+
+	ttm_range_man_fini_nocheck(&xe->ttm, XE_PL_STOLEN);
+}
+
 int xe_ttm_stolen_mgr_init(struct xe_device *xe)
 {
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
 	struct xe_ttm_stolen_mgr *mgr;
 	u64 stolen_size, io_size;
-	int err;
+	int ret;
 
 	mgr = drmm_kzalloc(&xe->drm, sizeof(*mgr), GFP_KERNEL);
 	if (!mgr)
@@ -244,12 +232,12 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
 	if (mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe))
 		io_size = stolen_size;
 
-	err = __xe_ttm_vram_mgr_init(xe, &mgr->base, XE_PL_STOLEN, stolen_size,
-				     io_size, PAGE_SIZE);
-	if (err) {
-		drm_dbg_kms(&xe->drm, "Stolen mgr init failed: %i\n", err);
-		return err;
-	}
+	ret = ttm_range_man_init_nocheck(&xe->ttm, XE_PL_STOLEN, false,
+					 stolen_size >> PAGE_SHIFT);
+	if (ret)
+		return ret;
+
+	xe->mem.stolen_mgr = mgr;
 
 	drm_dbg_kms(&xe->drm, "Initialized stolen memory support with %llu bytes\n",
 		    stolen_size);
@@ -257,36 +245,32 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
 	if (io_size)
 		mgr->mapping = devm_ioremap_wc(&pdev->dev, mgr->io_base, io_size);
 
-	return 0;
+	return drmm_add_action_or_reset(&xe->drm, xe_ttm_stolen_mgr_fini, mgr);
 }
 
 u64 xe_ttm_stolen_io_offset(struct xe_bo *bo, u32 offset)
 {
 	struct xe_device *xe = xe_bo_device(bo);
-	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
-	struct xe_ttm_stolen_mgr *mgr = to_stolen_mgr(ttm_mgr);
-	struct xe_res_cursor cur;
+	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
 
 	XE_WARN_ON(!mgr->io_base);
 
 	if (xe_ttm_stolen_cpu_access_needs_ggtt(xe))
 		return mgr->io_base + xe_bo_ggtt_addr(bo) + offset;
 
-	xe_res_first(bo->ttm.resource, offset, 4096, &cur);
-	return mgr->io_base + cur.start;
+	/* Range allocator: res->start is in pages. */
+	return mgr->io_base + (bo->ttm.resource->start << PAGE_SHIFT) + offset;
 }
 
 static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe,
 					       struct xe_ttm_stolen_mgr *mgr,
 					       struct ttm_resource *mem)
 {
-	struct xe_res_cursor cur;
-
 	if (!mgr->io_base)
 		return -EIO;
 
-	xe_res_first(mem, 0, 4096, &cur);
-	mem->bus.offset = cur.start;
+	/* Range allocator always produces contiguous allocations. */
+	mem->bus.offset = mem->start << PAGE_SHIFT;
 
 	drm_WARN_ON(&xe->drm, !(mem->placement & TTM_PL_FLAG_CONTIGUOUS));
 
@@ -329,8 +313,7 @@ static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe,
 
 int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
 {
-	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
-	struct xe_ttm_stolen_mgr *mgr = ttm_mgr ? to_stolen_mgr(ttm_mgr) : NULL;
+	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
 
 	if (!mgr || !mgr->io_base)
 		return -EIO;
@@ -343,8 +326,5 @@ int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
 
 u64 xe_ttm_stolen_gpu_offset(struct xe_device *xe)
 {
-	struct xe_ttm_stolen_mgr *mgr =
-		to_stolen_mgr(ttm_manager_type(&xe->ttm, XE_PL_STOLEN));
-
-	return mgr->stolen_base;
+	return xe->mem.stolen_mgr->stolen_base;
 }
diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
index 8e877d1e839b..049e91e77326 100644
--- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
+++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
@@ -12,6 +12,15 @@ struct ttm_resource;
 struct xe_bo;
 struct xe_device;
 
+struct xe_ttm_stolen_mgr {
+	/* PCI base offset */
+	resource_size_t io_base;
+	/* GPU base offset */
+	resource_size_t stolen_base;
+
+	void __iomem *mapping;
+};
+
 int xe_ttm_stolen_mgr_init(struct xe_device *xe);
 int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
 bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe);
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
index 5fd0d5506a7e..79ef8e1b5e5c 100644
--- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
@@ -301,14 +301,13 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,
 			   u64 default_page_size)
 {
 	struct ttm_resource_manager *man = &mgr->manager;
+	const char *name;
 	int err;
 
-	if (mem_type != XE_PL_STOLEN) {
-		const char *name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
-		man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
-		if (IS_ERR(man->cg))
-			return PTR_ERR(man->cg);
-	}
+	name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
+	man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
+	if (IS_ERR(man->cg))
+		return PTR_ERR(man->cg);
 
 	man->func = &xe_ttm_vram_mgr_func;
 	mgr->mem_type = mem_type;
-- 
2.52.0


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

* ✗ CI.checkpatch: warning for drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
  2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
@ 2026-04-21 17:37 ` Patchwork
  2026-04-21 17:38 ` ✓ CI.KUnit: success " Patchwork
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-04-21 17:37 UTC (permalink / raw)
  To: Sanjay Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
URL   : https://patchwork.freedesktop.org/series/164694/
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
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 42f2d34035fe113dd5be96c0109288e45b8b6931
Author: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
Date:   Tue Apr 21 22:20:48 2026 +0530

    drm/xe: Convert stolen memory over to ttm_range_manager
    
    Stolen memory requires physically contiguous allocations for display
    scanout and compressed framebuffers. The stolen memory manager was
    sharing the gpu_buddy allocator backend with the VRAM manager, but
    buddy manages non-contiguous power-of-two blocks making it a poor fit.
    Stolen memory also has fundamentally different allocation patterns:
    
    - Allocation sizes are not power-of-two. Since buddy rounds up to the
      next power-of-two block size, a ~17MB request can fail even with
      ~22MB free, because the free space is fragmented across non-fitting
      power-of-two blocks.
    - Hardware restrictions prevent using the first 4K page of stolen for
      certain allocations (e.g., FBC). The display code sets fpfn=1 to
      enforce this, but when fpfn != 0, gpu_buddy enables
      GPU_BUDDY_RANGE_ALLOCATION mode which disables the try_harder
      coalescing path, further reducing allocation success.
    
    This combination caused FBC compressed framebuffer (CFB) allocation
    failures on platforms like NVL/PTL. In case of NVL where stolen memory
    is ~56MB and the initial plane framebuffer consumes ~34MB at probe time,
    leaving ~22MB for subsequent allocations.
    
    Use ttm_range_man_init_nocheck() to set up a drm_mm-backed TTM resource
    manager for stolen memory. This reuses the TTM core's ttm_range_manager
    callbacks, avoiding duplicate implementations.
    
    Tested on NVL with a 4K DP display: stolen_mm shows a single ~22MB
    contiguous free hole after initial plane framebuffer allocation, and
    FBC successfully allocates its CFB from that region. The corresponding
    IGT was previously skipped and now passes.
    
    v2:
    - Clarify that stolen memory requires contiguous allocations (Matt B)
    - Properly handle xe_ttm_resource_visible() for stolen instead of
      unconditionally returning true (Matt A)
    
    v3:
    - Rebase
    - Fix xe_display_bo_fbdev_prefer_stolen() to compare in pages, since
      ttm_range_manager stores stolen->size in pages not bytes (Matt A)
    
    Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7631
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Cc: Matthew Brost <matthew.brost@intel.com>
    Suggested-by: Matthew Auld <matthew.auld@intel.com>
    Assisted-by: GitHub Copilot:claude-sonnet-4.6
    Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
    Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Acked-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
+ /mt/dim checkpatch 33d3b65ec51f2bddafa26a80249e26c78435f169 drm-intel
42f2d34035fe drm/xe: Convert stolen memory over to ttm_range_manager
-:50: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#50: 
Assisted-by: GitHub Copilot:claude-sonnet-4.6

-:50: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'GitHub Copilot:claude-sonnet-4.6'
#50: 
Assisted-by: GitHub Copilot:claude-sonnet-4.6

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



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

* ✓ CI.KUnit: success for drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
  2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
  2026-04-21 17:37 ` ✗ CI.checkpatch: warning for drm/xe: Convert stolen memory over to ttm_range_manager (rev3) Patchwork
@ 2026-04-21 17:38 ` Patchwork
  2026-04-21 18:59 ` ✓ Xe.CI.BAT: " Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-04-21 17:38 UTC (permalink / raw)
  To: Sanjay Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
URL   : https://patchwork.freedesktop.org/series/164694/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[17:37:07] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[17:37:11] 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
[17:37:42] Starting KUnit Kernel (1/1)...
[17:37:42] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[17:37:42] ================== guc_buf (11 subtests) ===================
[17:37:42] [PASSED] test_smallest
[17:37:42] [PASSED] test_largest
[17:37:42] [PASSED] test_granular
[17:37:42] [PASSED] test_unique
[17:37:42] [PASSED] test_overlap
[17:37:42] [PASSED] test_reusable
[17:37:42] [PASSED] test_too_big
[17:37:42] [PASSED] test_flush
[17:37:42] [PASSED] test_lookup
[17:37:42] [PASSED] test_data
[17:37:42] [PASSED] test_class
[17:37:42] ===================== [PASSED] guc_buf =====================
[17:37:42] =================== guc_dbm (7 subtests) ===================
[17:37:42] [PASSED] test_empty
[17:37:42] [PASSED] test_default
[17:37:42] ======================== test_size  ========================
[17:37:42] [PASSED] 4
[17:37:42] [PASSED] 8
[17:37:42] [PASSED] 32
[17:37:42] [PASSED] 256
[17:37:42] ==================== [PASSED] test_size ====================
[17:37:42] ======================= test_reuse  ========================
[17:37:42] [PASSED] 4
[17:37:42] [PASSED] 8
[17:37:42] [PASSED] 32
[17:37:42] [PASSED] 256
[17:37:42] =================== [PASSED] test_reuse ====================
[17:37:42] =================== test_range_overlap  ====================
[17:37:42] [PASSED] 4
[17:37:42] [PASSED] 8
[17:37:42] [PASSED] 32
[17:37:42] [PASSED] 256
[17:37:42] =============== [PASSED] test_range_overlap ================
[17:37:42] =================== test_range_compact  ====================
[17:37:42] [PASSED] 4
[17:37:42] [PASSED] 8
[17:37:42] [PASSED] 32
[17:37:42] [PASSED] 256
[17:37:42] =============== [PASSED] test_range_compact ================
[17:37:42] ==================== test_range_spare  =====================
[17:37:42] [PASSED] 4
[17:37:42] [PASSED] 8
[17:37:42] [PASSED] 32
[17:37:42] [PASSED] 256
[17:37:42] ================ [PASSED] test_range_spare =================
[17:37:42] ===================== [PASSED] guc_dbm =====================
[17:37:42] =================== guc_idm (6 subtests) ===================
[17:37:42] [PASSED] bad_init
[17:37:42] [PASSED] no_init
[17:37:42] [PASSED] init_fini
[17:37:42] [PASSED] check_used
[17:37:42] [PASSED] check_quota
[17:37:42] [PASSED] check_all
[17:37:42] ===================== [PASSED] guc_idm =====================
[17:37:42] ================== no_relay (3 subtests) ===================
[17:37:42] [PASSED] xe_drops_guc2pf_if_not_ready
[17:37:42] [PASSED] xe_drops_guc2vf_if_not_ready
[17:37:42] [PASSED] xe_rejects_send_if_not_ready
[17:37:42] ==================== [PASSED] no_relay =====================
[17:37:42] ================== pf_relay (14 subtests) ==================
[17:37:42] [PASSED] pf_rejects_guc2pf_too_short
[17:37:42] [PASSED] pf_rejects_guc2pf_too_long
[17:37:42] [PASSED] pf_rejects_guc2pf_no_payload
[17:37:42] [PASSED] pf_fails_no_payload
[17:37:42] [PASSED] pf_fails_bad_origin
[17:37:42] [PASSED] pf_fails_bad_type
[17:37:42] [PASSED] pf_txn_reports_error
[17:37:42] [PASSED] pf_txn_sends_pf2guc
[17:37:42] [PASSED] pf_sends_pf2guc
[17:37:42] [SKIPPED] pf_loopback_nop
[17:37:42] [SKIPPED] pf_loopback_echo
[17:37:42] [SKIPPED] pf_loopback_fail
[17:37:42] [SKIPPED] pf_loopback_busy
[17:37:42] [SKIPPED] pf_loopback_retry
[17:37:42] ==================== [PASSED] pf_relay =====================
[17:37:42] ================== vf_relay (3 subtests) ===================
[17:37:42] [PASSED] vf_rejects_guc2vf_too_short
[17:37:42] [PASSED] vf_rejects_guc2vf_too_long
[17:37:42] [PASSED] vf_rejects_guc2vf_no_payload
[17:37:42] ==================== [PASSED] vf_relay =====================
[17:37:42] ================ pf_gt_config (9 subtests) =================
[17:37:42] [PASSED] fair_contexts_1vf
[17:37:42] [PASSED] fair_doorbells_1vf
[17:37:42] [PASSED] fair_ggtt_1vf
[17:37:42] ====================== fair_vram_1vf  ======================
[17:37:42] [PASSED] 3.50 GiB
[17:37:42] [PASSED] 11.5 GiB
[17:37:42] [PASSED] 15.5 GiB
[17:37:42] [PASSED] 31.5 GiB
[17:37:42] [PASSED] 63.5 GiB
[17:37:42] [PASSED] 1.91 GiB
[17:37:42] ================== [PASSED] fair_vram_1vf ==================
[17:37:42] ================ fair_vram_1vf_admin_only  =================
[17:37:42] [PASSED] 3.50 GiB
[17:37:42] [PASSED] 11.5 GiB
[17:37:42] [PASSED] 15.5 GiB
[17:37:42] [PASSED] 31.5 GiB
[17:37:42] [PASSED] 63.5 GiB
[17:37:42] [PASSED] 1.91 GiB
[17:37:42] ============ [PASSED] fair_vram_1vf_admin_only =============
[17:37:42] ====================== fair_contexts  ======================
[17:37:42] [PASSED] 1 VF
[17:37:42] [PASSED] 2 VFs
[17:37:42] [PASSED] 3 VFs
[17:37:42] [PASSED] 4 VFs
[17:37:42] [PASSED] 5 VFs
[17:37:42] [PASSED] 6 VFs
[17:37:42] [PASSED] 7 VFs
[17:37:42] [PASSED] 8 VFs
[17:37:42] [PASSED] 9 VFs
[17:37:42] [PASSED] 10 VFs
[17:37:42] [PASSED] 11 VFs
[17:37:42] [PASSED] 12 VFs
[17:37:42] [PASSED] 13 VFs
[17:37:42] [PASSED] 14 VFs
[17:37:42] [PASSED] 15 VFs
[17:37:42] [PASSED] 16 VFs
[17:37:42] [PASSED] 17 VFs
[17:37:43] [PASSED] 18 VFs
[17:37:43] [PASSED] 19 VFs
[17:37:43] [PASSED] 20 VFs
[17:37:43] [PASSED] 21 VFs
[17:37:43] [PASSED] 22 VFs
[17:37:43] [PASSED] 23 VFs
[17:37:43] [PASSED] 24 VFs
[17:37:43] [PASSED] 25 VFs
[17:37:43] [PASSED] 26 VFs
[17:37:43] [PASSED] 27 VFs
[17:37:43] [PASSED] 28 VFs
[17:37:43] [PASSED] 29 VFs
[17:37:43] [PASSED] 30 VFs
[17:37:43] [PASSED] 31 VFs
[17:37:43] [PASSED] 32 VFs
[17:37:43] [PASSED] 33 VFs
[17:37:43] [PASSED] 34 VFs
[17:37:43] [PASSED] 35 VFs
[17:37:43] [PASSED] 36 VFs
[17:37:43] [PASSED] 37 VFs
[17:37:43] [PASSED] 38 VFs
[17:37:43] [PASSED] 39 VFs
[17:37:43] [PASSED] 40 VFs
[17:37:43] [PASSED] 41 VFs
[17:37:43] [PASSED] 42 VFs
[17:37:43] [PASSED] 43 VFs
[17:37:43] [PASSED] 44 VFs
[17:37:43] [PASSED] 45 VFs
[17:37:43] [PASSED] 46 VFs
[17:37:43] [PASSED] 47 VFs
[17:37:43] [PASSED] 48 VFs
[17:37:43] [PASSED] 49 VFs
[17:37:43] [PASSED] 50 VFs
[17:37:43] [PASSED] 51 VFs
[17:37:43] [PASSED] 52 VFs
[17:37:43] [PASSED] 53 VFs
[17:37:43] [PASSED] 54 VFs
[17:37:43] [PASSED] 55 VFs
[17:37:43] [PASSED] 56 VFs
[17:37:43] [PASSED] 57 VFs
[17:37:43] [PASSED] 58 VFs
[17:37:43] [PASSED] 59 VFs
[17:37:43] [PASSED] 60 VFs
[17:37:43] [PASSED] 61 VFs
[17:37:43] [PASSED] 62 VFs
[17:37:43] [PASSED] 63 VFs
[17:37:43] ================== [PASSED] fair_contexts ==================
[17:37:43] ===================== fair_doorbells  ======================
[17:37:43] [PASSED] 1 VF
[17:37:43] [PASSED] 2 VFs
[17:37:43] [PASSED] 3 VFs
[17:37:43] [PASSED] 4 VFs
[17:37:43] [PASSED] 5 VFs
[17:37:43] [PASSED] 6 VFs
[17:37:43] [PASSED] 7 VFs
[17:37:43] [PASSED] 8 VFs
[17:37:43] [PASSED] 9 VFs
[17:37:43] [PASSED] 10 VFs
[17:37:43] [PASSED] 11 VFs
[17:37:43] [PASSED] 12 VFs
[17:37:43] [PASSED] 13 VFs
[17:37:43] [PASSED] 14 VFs
[17:37:43] [PASSED] 15 VFs
[17:37:43] [PASSED] 16 VFs
[17:37:43] [PASSED] 17 VFs
[17:37:43] [PASSED] 18 VFs
[17:37:43] [PASSED] 19 VFs
[17:37:43] [PASSED] 20 VFs
[17:37:43] [PASSED] 21 VFs
[17:37:43] [PASSED] 22 VFs
[17:37:43] [PASSED] 23 VFs
[17:37:43] [PASSED] 24 VFs
[17:37:43] [PASSED] 25 VFs
[17:37:43] [PASSED] 26 VFs
[17:37:43] [PASSED] 27 VFs
[17:37:43] [PASSED] 28 VFs
[17:37:43] [PASSED] 29 VFs
[17:37:43] [PASSED] 30 VFs
[17:37:43] [PASSED] 31 VFs
[17:37:43] [PASSED] 32 VFs
[17:37:43] [PASSED] 33 VFs
[17:37:43] [PASSED] 34 VFs
[17:37:43] [PASSED] 35 VFs
[17:37:43] [PASSED] 36 VFs
[17:37:43] [PASSED] 37 VFs
[17:37:43] [PASSED] 38 VFs
[17:37:43] [PASSED] 39 VFs
[17:37:43] [PASSED] 40 VFs
[17:37:43] [PASSED] 41 VFs
[17:37:43] [PASSED] 42 VFs
[17:37:43] [PASSED] 43 VFs
[17:37:43] [PASSED] 44 VFs
[17:37:43] [PASSED] 45 VFs
[17:37:43] [PASSED] 46 VFs
[17:37:43] [PASSED] 47 VFs
[17:37:43] [PASSED] 48 VFs
[17:37:43] [PASSED] 49 VFs
[17:37:43] [PASSED] 50 VFs
[17:37:43] [PASSED] 51 VFs
[17:37:43] [PASSED] 52 VFs
[17:37:43] [PASSED] 53 VFs
[17:37:43] [PASSED] 54 VFs
[17:37:43] [PASSED] 55 VFs
[17:37:43] [PASSED] 56 VFs
[17:37:43] [PASSED] 57 VFs
[17:37:43] [PASSED] 58 VFs
[17:37:43] [PASSED] 59 VFs
[17:37:43] [PASSED] 60 VFs
[17:37:43] [PASSED] 61 VFs
[17:37:43] [PASSED] 62 VFs
[17:37:43] [PASSED] 63 VFs
[17:37:43] ================= [PASSED] fair_doorbells ==================
[17:37:43] ======================== fair_ggtt  ========================
[17:37:43] [PASSED] 1 VF
[17:37:43] [PASSED] 2 VFs
[17:37:43] [PASSED] 3 VFs
[17:37:43] [PASSED] 4 VFs
[17:37:43] [PASSED] 5 VFs
[17:37:43] [PASSED] 6 VFs
[17:37:43] [PASSED] 7 VFs
[17:37:43] [PASSED] 8 VFs
[17:37:43] [PASSED] 9 VFs
[17:37:43] [PASSED] 10 VFs
[17:37:43] [PASSED] 11 VFs
[17:37:43] [PASSED] 12 VFs
[17:37:43] [PASSED] 13 VFs
[17:37:43] [PASSED] 14 VFs
[17:37:43] [PASSED] 15 VFs
[17:37:43] [PASSED] 16 VFs
[17:37:43] [PASSED] 17 VFs
[17:37:43] [PASSED] 18 VFs
[17:37:43] [PASSED] 19 VFs
[17:37:43] [PASSED] 20 VFs
[17:37:43] [PASSED] 21 VFs
[17:37:43] [PASSED] 22 VFs
[17:37:43] [PASSED] 23 VFs
[17:37:43] [PASSED] 24 VFs
[17:37:43] [PASSED] 25 VFs
[17:37:43] [PASSED] 26 VFs
[17:37:43] [PASSED] 27 VFs
[17:37:43] [PASSED] 28 VFs
[17:37:43] [PASSED] 29 VFs
[17:37:43] [PASSED] 30 VFs
[17:37:43] [PASSED] 31 VFs
[17:37:43] [PASSED] 32 VFs
[17:37:43] [PASSED] 33 VFs
[17:37:43] [PASSED] 34 VFs
[17:37:43] [PASSED] 35 VFs
[17:37:43] [PASSED] 36 VFs
[17:37:43] [PASSED] 37 VFs
[17:37:43] [PASSED] 38 VFs
[17:37:43] [PASSED] 39 VFs
[17:37:43] [PASSED] 40 VFs
[17:37:43] [PASSED] 41 VFs
[17:37:43] [PASSED] 42 VFs
[17:37:43] [PASSED] 43 VFs
[17:37:43] [PASSED] 44 VFs
[17:37:43] [PASSED] 45 VFs
[17:37:43] [PASSED] 46 VFs
[17:37:43] [PASSED] 47 VFs
[17:37:43] [PASSED] 48 VFs
[17:37:43] [PASSED] 49 VFs
[17:37:43] [PASSED] 50 VFs
[17:37:43] [PASSED] 51 VFs
[17:37:43] [PASSED] 52 VFs
[17:37:43] [PASSED] 53 VFs
[17:37:43] [PASSED] 54 VFs
[17:37:43] [PASSED] 55 VFs
[17:37:43] [PASSED] 56 VFs
[17:37:43] [PASSED] 57 VFs
[17:37:43] [PASSED] 58 VFs
[17:37:43] [PASSED] 59 VFs
[17:37:43] [PASSED] 60 VFs
[17:37:43] [PASSED] 61 VFs
[17:37:43] [PASSED] 62 VFs
[17:37:43] [PASSED] 63 VFs
[17:37:43] ==================== [PASSED] fair_ggtt ====================
[17:37:43] ======================== fair_vram  ========================
[17:37:43] [PASSED] 1 VF
[17:37:43] [PASSED] 2 VFs
[17:37:43] [PASSED] 3 VFs
[17:37:43] [PASSED] 4 VFs
[17:37:43] [PASSED] 5 VFs
[17:37:43] [PASSED] 6 VFs
[17:37:43] [PASSED] 7 VFs
[17:37:43] [PASSED] 8 VFs
[17:37:43] [PASSED] 9 VFs
[17:37:43] [PASSED] 10 VFs
[17:37:43] [PASSED] 11 VFs
[17:37:43] [PASSED] 12 VFs
[17:37:43] [PASSED] 13 VFs
[17:37:43] [PASSED] 14 VFs
[17:37:43] [PASSED] 15 VFs
[17:37:43] [PASSED] 16 VFs
[17:37:43] [PASSED] 17 VFs
[17:37:43] [PASSED] 18 VFs
[17:37:43] [PASSED] 19 VFs
[17:37:43] [PASSED] 20 VFs
[17:37:43] [PASSED] 21 VFs
[17:37:43] [PASSED] 22 VFs
[17:37:43] [PASSED] 23 VFs
[17:37:43] [PASSED] 24 VFs
[17:37:43] [PASSED] 25 VFs
[17:37:43] [PASSED] 26 VFs
[17:37:43] [PASSED] 27 VFs
[17:37:43] [PASSED] 28 VFs
[17:37:43] [PASSED] 29 VFs
[17:37:43] [PASSED] 30 VFs
[17:37:43] [PASSED] 31 VFs
[17:37:43] [PASSED] 32 VFs
[17:37:43] [PASSED] 33 VFs
[17:37:43] [PASSED] 34 VFs
[17:37:43] [PASSED] 35 VFs
[17:37:43] [PASSED] 36 VFs
[17:37:43] [PASSED] 37 VFs
[17:37:43] [PASSED] 38 VFs
[17:37:43] [PASSED] 39 VFs
[17:37:43] [PASSED] 40 VFs
[17:37:43] [PASSED] 41 VFs
[17:37:43] [PASSED] 42 VFs
[17:37:43] [PASSED] 43 VFs
[17:37:43] [PASSED] 44 VFs
[17:37:43] [PASSED] 45 VFs
[17:37:43] [PASSED] 46 VFs
[17:37:43] [PASSED] 47 VFs
[17:37:43] [PASSED] 48 VFs
[17:37:43] [PASSED] 49 VFs
[17:37:43] [PASSED] 50 VFs
[17:37:43] [PASSED] 51 VFs
[17:37:43] [PASSED] 52 VFs
[17:37:43] [PASSED] 53 VFs
[17:37:43] [PASSED] 54 VFs
[17:37:43] [PASSED] 55 VFs
[17:37:43] [PASSED] 56 VFs
[17:37:43] [PASSED] 57 VFs
[17:37:43] [PASSED] 58 VFs
[17:37:43] [PASSED] 59 VFs
[17:37:43] [PASSED] 60 VFs
[17:37:43] [PASSED] 61 VFs
[17:37:43] [PASSED] 62 VFs
[17:37:43] [PASSED] 63 VFs
[17:37:43] ==================== [PASSED] fair_vram ====================
[17:37:43] ================== [PASSED] pf_gt_config ===================
[17:37:43] ===================== lmtt (1 subtest) =====================
[17:37:43] ======================== test_ops  =========================
[17:37:43] [PASSED] 2-level
[17:37:43] [PASSED] multi-level
[17:37:43] ==================== [PASSED] test_ops =====================
[17:37:43] ====================== [PASSED] lmtt =======================
[17:37:43] ================= pf_service (11 subtests) =================
[17:37:43] [PASSED] pf_negotiate_any
[17:37:43] [PASSED] pf_negotiate_base_match
[17:37:43] [PASSED] pf_negotiate_base_newer
[17:37:43] [PASSED] pf_negotiate_base_next
[17:37:43] [SKIPPED] pf_negotiate_base_older
[17:37:43] [PASSED] pf_negotiate_base_prev
[17:37:43] [PASSED] pf_negotiate_latest_match
[17:37:43] [PASSED] pf_negotiate_latest_newer
[17:37:43] [PASSED] pf_negotiate_latest_next
[17:37:43] [SKIPPED] pf_negotiate_latest_older
[17:37:43] [SKIPPED] pf_negotiate_latest_prev
[17:37:43] =================== [PASSED] pf_service ====================
[17:37:43] ================= xe_guc_g2g (2 subtests) ==================
[17:37:43] ============== xe_live_guc_g2g_kunit_default  ==============
[17:37:43] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[17:37:43] ============== xe_live_guc_g2g_kunit_allmem  ===============
[17:37:43] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[17:37:43] =================== [SKIPPED] xe_guc_g2g ===================
[17:37:43] =================== xe_mocs (2 subtests) ===================
[17:37:43] ================ xe_live_mocs_kernel_kunit  ================
[17:37:43] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[17:37:43] ================ xe_live_mocs_reset_kunit  =================
[17:37:43] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[17:37:43] ==================== [SKIPPED] xe_mocs =====================
[17:37:43] ================= xe_migrate (2 subtests) ==================
[17:37:43] ================= xe_migrate_sanity_kunit  =================
[17:37:43] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[17:37:43] ================== xe_validate_ccs_kunit  ==================
[17:37:43] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[17:37:43] =================== [SKIPPED] xe_migrate ===================
[17:37:43] ================== xe_dma_buf (1 subtest) ==================
[17:37:43] ==================== xe_dma_buf_kunit  =====================
[17:37:43] ================ [SKIPPED] xe_dma_buf_kunit ================
[17:37:43] =================== [SKIPPED] xe_dma_buf ===================
[17:37:43] ================= xe_bo_shrink (1 subtest) =================
[17:37:43] =================== xe_bo_shrink_kunit  ====================
[17:37:43] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[17:37:43] ================== [SKIPPED] xe_bo_shrink ==================
[17:37:43] ==================== xe_bo (2 subtests) ====================
[17:37:43] ================== xe_ccs_migrate_kunit  ===================
[17:37:43] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[17:37:43] ==================== xe_bo_evict_kunit  ====================
[17:37:43] =============== [SKIPPED] xe_bo_evict_kunit ================
[17:37:43] ===================== [SKIPPED] xe_bo ======================
[17:37:43] ==================== args (13 subtests) ====================
[17:37:43] [PASSED] count_args_test
[17:37:43] [PASSED] call_args_example
[17:37:43] [PASSED] call_args_test
[17:37:43] [PASSED] drop_first_arg_example
[17:37:43] [PASSED] drop_first_arg_test
[17:37:43] [PASSED] first_arg_example
[17:37:43] [PASSED] first_arg_test
[17:37:43] [PASSED] last_arg_example
[17:37:43] [PASSED] last_arg_test
[17:37:43] [PASSED] pick_arg_example
[17:37:43] [PASSED] if_args_example
[17:37:43] [PASSED] if_args_test
[17:37:43] [PASSED] sep_comma_example
[17:37:43] ====================== [PASSED] args =======================
[17:37:43] =================== xe_pci (3 subtests) ====================
[17:37:43] ==================== check_graphics_ip  ====================
[17:37:43] [PASSED] 12.00 Xe_LP
[17:37:43] [PASSED] 12.10 Xe_LP+
[17:37:43] [PASSED] 12.55 Xe_HPG
[17:37:43] [PASSED] 12.60 Xe_HPC
[17:37:43] [PASSED] 12.70 Xe_LPG
[17:37:43] [PASSED] 12.71 Xe_LPG
[17:37:43] [PASSED] 12.74 Xe_LPG+
[17:37:43] [PASSED] 20.01 Xe2_HPG
[17:37:43] [PASSED] 20.02 Xe2_HPG
[17:37:43] [PASSED] 20.04 Xe2_LPG
[17:37:43] [PASSED] 30.00 Xe3_LPG
[17:37:43] [PASSED] 30.01 Xe3_LPG
[17:37:43] [PASSED] 30.03 Xe3_LPG
[17:37:43] [PASSED] 30.04 Xe3_LPG
[17:37:43] [PASSED] 30.05 Xe3_LPG
[17:37:43] [PASSED] 35.10 Xe3p_LPG
[17:37:43] [PASSED] 35.11 Xe3p_XPC
[17:37:43] ================ [PASSED] check_graphics_ip ================
[17:37:43] ===================== check_media_ip  ======================
[17:37:43] [PASSED] 12.00 Xe_M
[17:37:43] [PASSED] 12.55 Xe_HPM
[17:37:43] [PASSED] 13.00 Xe_LPM+
[17:37:43] [PASSED] 13.01 Xe2_HPM
[17:37:43] [PASSED] 20.00 Xe2_LPM
[17:37:43] [PASSED] 30.00 Xe3_LPM
[17:37:43] [PASSED] 30.02 Xe3_LPM
[17:37:43] [PASSED] 35.00 Xe3p_LPM
[17:37:43] [PASSED] 35.03 Xe3p_HPM
[17:37:43] ================= [PASSED] check_media_ip ==================
[17:37:43] =================== check_platform_desc  ===================
[17:37:43] [PASSED] 0x9A60 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A68 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A70 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A40 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A49 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A59 (TIGERLAKE)
[17:37:43] [PASSED] 0x9A78 (TIGERLAKE)
[17:37:43] [PASSED] 0x9AC0 (TIGERLAKE)
[17:37:43] [PASSED] 0x9AC9 (TIGERLAKE)
[17:37:43] [PASSED] 0x9AD9 (TIGERLAKE)
[17:37:43] [PASSED] 0x9AF8 (TIGERLAKE)
[17:37:43] [PASSED] 0x4C80 (ROCKETLAKE)
[17:37:43] [PASSED] 0x4C8A (ROCKETLAKE)
[17:37:43] [PASSED] 0x4C8B (ROCKETLAKE)
[17:37:43] [PASSED] 0x4C8C (ROCKETLAKE)
[17:37:43] [PASSED] 0x4C90 (ROCKETLAKE)
[17:37:43] [PASSED] 0x4C9A (ROCKETLAKE)
[17:37:43] [PASSED] 0x4680 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4682 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4688 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x468A (ALDERLAKE_S)
[17:37:43] [PASSED] 0x468B (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4690 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4692 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4693 (ALDERLAKE_S)
[17:37:43] [PASSED] 0x46A0 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46A1 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46A2 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46A3 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46A6 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46A8 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46AA (ALDERLAKE_P)
[17:37:43] [PASSED] 0x462A (ALDERLAKE_P)
[17:37:43] [PASSED] 0x4626 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x4628 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46B0 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46B1 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46B2 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46B3 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46C0 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46C1 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46C2 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46C3 (ALDERLAKE_P)
[17:37:43] [PASSED] 0x46D0 (ALDERLAKE_N)
[17:37:43] [PASSED] 0x46D1 (ALDERLAKE_N)
[17:37:43] [PASSED] 0x46D2 (ALDERLAKE_N)
[17:37:43] [PASSED] 0x46D3 (ALDERLAKE_N)
[17:37:43] [PASSED] 0x46D4 (ALDERLAKE_N)
[17:37:43] [PASSED] 0xA721 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7A1 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7A9 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7AC (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7AD (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA720 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7A0 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7A8 (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7AA (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA7AB (ALDERLAKE_P)
[17:37:43] [PASSED] 0xA780 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA781 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA782 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA783 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA788 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA789 (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA78A (ALDERLAKE_S)
[17:37:43] [PASSED] 0xA78B (ALDERLAKE_S)
[17:37:43] [PASSED] 0x4905 (DG1)
[17:37:43] [PASSED] 0x4906 (DG1)
[17:37:43] [PASSED] 0x4907 (DG1)
[17:37:43] [PASSED] 0x4908 (DG1)
[17:37:43] [PASSED] 0x4909 (DG1)
[17:37:43] [PASSED] 0x56C0 (DG2)
[17:37:43] [PASSED] 0x56C2 (DG2)
[17:37:43] [PASSED] 0x56C1 (DG2)
[17:37:43] [PASSED] 0x7D51 (METEORLAKE)
[17:37:43] [PASSED] 0x7DD1 (METEORLAKE)
[17:37:43] [PASSED] 0x7D41 (METEORLAKE)
[17:37:43] [PASSED] 0x7D67 (METEORLAKE)
[17:37:43] [PASSED] 0xB640 (METEORLAKE)
[17:37:43] [PASSED] 0x56A0 (DG2)
[17:37:43] [PASSED] 0x56A1 (DG2)
[17:37:43] [PASSED] 0x56A2 (DG2)
[17:37:43] [PASSED] 0x56BE (DG2)
[17:37:43] [PASSED] 0x56BF (DG2)
[17:37:43] [PASSED] 0x5690 (DG2)
[17:37:43] [PASSED] 0x5691 (DG2)
[17:37:43] [PASSED] 0x5692 (DG2)
[17:37:43] [PASSED] 0x56A5 (DG2)
[17:37:43] [PASSED] 0x56A6 (DG2)
[17:37:43] [PASSED] 0x56B0 (DG2)
[17:37:43] [PASSED] 0x56B1 (DG2)
[17:37:43] [PASSED] 0x56BA (DG2)
[17:37:43] [PASSED] 0x56BB (DG2)
[17:37:43] [PASSED] 0x56BC (DG2)
[17:37:43] [PASSED] 0x56BD (DG2)
[17:37:43] [PASSED] 0x5693 (DG2)
[17:37:43] [PASSED] 0x5694 (DG2)
[17:37:43] [PASSED] 0x5695 (DG2)
[17:37:43] [PASSED] 0x56A3 (DG2)
[17:37:43] [PASSED] 0x56A4 (DG2)
[17:37:43] [PASSED] 0x56B2 (DG2)
[17:37:43] [PASSED] 0x56B3 (DG2)
[17:37:43] [PASSED] 0x5696 (DG2)
[17:37:43] [PASSED] 0x5697 (DG2)
[17:37:43] [PASSED] 0xB69 (PVC)
[17:37:43] [PASSED] 0xB6E (PVC)
[17:37:43] [PASSED] 0xBD4 (PVC)
[17:37:43] [PASSED] 0xBD5 (PVC)
[17:37:43] [PASSED] 0xBD6 (PVC)
[17:37:43] [PASSED] 0xBD7 (PVC)
[17:37:43] [PASSED] 0xBD8 (PVC)
[17:37:43] [PASSED] 0xBD9 (PVC)
[17:37:43] [PASSED] 0xBDA (PVC)
[17:37:43] [PASSED] 0xBDB (PVC)
[17:37:43] [PASSED] 0xBE0 (PVC)
[17:37:43] [PASSED] 0xBE1 (PVC)
[17:37:43] [PASSED] 0xBE5 (PVC)
[17:37:43] [PASSED] 0x7D40 (METEORLAKE)
[17:37:43] [PASSED] 0x7D45 (METEORLAKE)
[17:37:43] [PASSED] 0x7D55 (METEORLAKE)
[17:37:43] [PASSED] 0x7D60 (METEORLAKE)
[17:37:43] [PASSED] 0x7DD5 (METEORLAKE)
[17:37:43] [PASSED] 0x6420 (LUNARLAKE)
[17:37:43] [PASSED] 0x64A0 (LUNARLAKE)
[17:37:43] [PASSED] 0x64B0 (LUNARLAKE)
[17:37:43] [PASSED] 0xE202 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE209 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE20B (BATTLEMAGE)
[17:37:43] [PASSED] 0xE20C (BATTLEMAGE)
[17:37:43] [PASSED] 0xE20D (BATTLEMAGE)
[17:37:43] [PASSED] 0xE210 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE211 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE212 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE216 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE220 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE221 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE222 (BATTLEMAGE)
[17:37:43] [PASSED] 0xE223 (BATTLEMAGE)
[17:37:43] [PASSED] 0xB080 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB081 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB082 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB083 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB084 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB085 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB086 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB087 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB08F (PANTHERLAKE)
[17:37:43] [PASSED] 0xB090 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB0A0 (PANTHERLAKE)
[17:37:43] [PASSED] 0xB0B0 (PANTHERLAKE)
[17:37:43] [PASSED] 0xFD80 (PANTHERLAKE)
[17:37:43] [PASSED] 0xFD81 (PANTHERLAKE)
[17:37:43] [PASSED] 0xD740 (NOVALAKE_S)
[17:37:43] [PASSED] 0xD741 (NOVALAKE_S)
[17:37:43] [PASSED] 0xD742 (NOVALAKE_S)
[17:37:43] [PASSED] 0xD743 (NOVALAKE_S)
[17:37:43] [PASSED] 0xD744 (NOVALAKE_S)
[17:37:43] [PASSED] 0xD745 (NOVALAKE_S)
[17:37:43] [PASSED] 0x674C (CRESCENTISLAND)
[17:37:43] [PASSED] 0xD750 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD751 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD752 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD753 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD754 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD755 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD756 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD757 (NOVALAKE_P)
[17:37:43] [PASSED] 0xD75F (NOVALAKE_P)
[17:37:43] =============== [PASSED] check_platform_desc ===============
[17:37:43] ===================== [PASSED] xe_pci ======================
[17:37:43] =================== xe_rtp (2 subtests) ====================
[17:37:43] =============== xe_rtp_process_to_sr_tests  ================
[17:37:43] [PASSED] coalesce-same-reg
[17:37:43] [PASSED] no-match-no-add
[17:37:43] [PASSED] match-or
[17:37:43] [PASSED] match-or-xfail
[17:37:43] [PASSED] no-match-no-add-multiple-rules
[17:37:43] [PASSED] two-regs-two-entries
[17:37:43] [PASSED] clr-one-set-other
[17:37:43] [PASSED] set-field
[17:37:43] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[17:37:43] [PASSED] conflict-not-disjoint
[17:37:43] [PASSED] conflict-reg-type
[17:37:43] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[17:37:43] ================== xe_rtp_process_tests  ===================
[17:37:43] [PASSED] active1
[17:37:43] [PASSED] active2
[17:37:43] [PASSED] active-inactive
[17:37:43] [PASSED] inactive-active
[17:37:43] [PASSED] inactive-1st_or_active-inactive
[17:37:43] [PASSED] inactive-2nd_or_active-inactive
[17:37:43] [PASSED] inactive-last_or_active-inactive
[17:37:43] [PASSED] inactive-no_or_active-inactive
[17:37:43] ============== [PASSED] xe_rtp_process_tests ===============
[17:37:43] ===================== [PASSED] xe_rtp ======================
[17:37:43] ==================== xe_wa (1 subtest) =====================
[17:37:43] ======================== xe_wa_gt  =========================
[17:37:43] [PASSED] TIGERLAKE B0
[17:37:43] [PASSED] DG1 A0
[17:37:43] [PASSED] DG1 B0
[17:37:43] [PASSED] ALDERLAKE_S A0
[17:37:43] [PASSED] ALDERLAKE_S B0
[17:37:43] [PASSED] ALDERLAKE_S C0
[17:37:43] [PASSED] ALDERLAKE_S D0
[17:37:43] [PASSED] ALDERLAKE_P A0
[17:37:43] [PASSED] ALDERLAKE_P B0
[17:37:43] [PASSED] ALDERLAKE_P C0
[17:37:43] [PASSED] ALDERLAKE_S RPLS D0
[17:37:43] [PASSED] ALDERLAKE_P RPLU E0
[17:37:43] [PASSED] DG2 G10 C0
[17:37:43] [PASSED] DG2 G11 B1
[17:37:43] [PASSED] DG2 G12 A1
[17:37:43] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[17:37:43] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[17:37:43] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[17:37:43] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[17:37:43] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[17:37:43] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[17:37:43] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[17:37:43] ==================== [PASSED] xe_wa_gt =====================
[17:37:43] ====================== [PASSED] xe_wa ======================
[17:37:43] ============================================================
[17:37:43] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[17:37:43] Elapsed time: 35.608s total, 4.256s configuring, 30.734s building, 0.602s running

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
  2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
  2026-04-21 17:37 ` ✗ CI.checkpatch: warning for drm/xe: Convert stolen memory over to ttm_range_manager (rev3) Patchwork
  2026-04-21 17:38 ` ✓ CI.KUnit: success " Patchwork
@ 2026-04-21 18:59 ` Patchwork
  2026-04-21 22:33 ` ✗ Xe.CI.FULL: failure " Patchwork
  2026-04-22  3:38 ` [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Matthew Brost
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-04-21 18:59 UTC (permalink / raw)
  To: Sanjay Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
URL   : https://patchwork.freedesktop.org/series/164694/
State : success

== Summary ==

CI Bug Log - changes from xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469_BAT -> xe-pw-164694v3_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (12 -> 13)
------------------------------

  Additional (1): bat-ptl-vm 

Known issues
------------

  Here are the changes found in xe-pw-164694v3_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@xe_evict@evict-beng-small-cm:
    - bat-ptl-vm:         NOTRUN -> [SKIP][1] ([Intel XE#5764]) +10 other tests skip
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_evict@evict-beng-small-cm.html

  * igt@xe_exec_balancer@twice-parallel-basic:
    - bat-ptl-vm:         NOTRUN -> [SKIP][2] ([Intel XE#7482]) +17 other tests skip
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_exec_balancer@twice-parallel-basic.html

  * igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
    - bat-ptl-vm:         NOTRUN -> [SKIP][3] ([Intel XE#5775])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html

  * igt@xe_mmap@vram:
    - bat-ptl-vm:         NOTRUN -> [SKIP][4] ([Intel XE#5776])
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_mmap@vram.html

  * igt@xe_pat@pat-index-xehpc:
    - bat-ptl-vm:         NOTRUN -> [SKIP][5] ([Intel XE#5777] / [Intel XE#7590])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_pat@pat-index-xehpc.html

  * igt@xe_pat@pat-index-xelp:
    - bat-ptl-vm:         NOTRUN -> [SKIP][6] ([Intel XE#5771] / [Intel XE#7590])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_pat@pat-index-xelp.html

  * igt@xe_pat@pat-index-xelpg:
    - bat-ptl-vm:         NOTRUN -> [SKIP][7] ([Intel XE#5780] / [Intel XE#7590])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-ptl-vm/igt@xe_pat@pat-index-xelpg.html

  
#### Possible fixes ####

  * igt@kms_flip@basic-flip-vs-dpms:
    - bat-adlp-7:         [DMESG-WARN][8] ([Intel XE#7483]) -> [PASS][9] +12 other tests pass
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/bat-adlp-7/igt@kms_flip@basic-flip-vs-dpms.html
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/bat-adlp-7/igt@kms_flip@basic-flip-vs-dpms.html

  
  [Intel XE#5764]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5764
  [Intel XE#5771]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5771
  [Intel XE#5775]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5775
  [Intel XE#5776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5776
  [Intel XE#5777]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5777
  [Intel XE#5780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5780
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590


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

  * IGT: IGT_8863 -> IGT_8865
  * Linux: xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469 -> xe-pw-164694v3

  IGT_8863: 5b279a8b71dc1672099205a1a9e8135c7c7fadb5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8865: 1c23bc1bdf01bf0ded2344cb217d7fe88de3b726 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469: 898b5aa235c5b269d6c745fd84270b296aa75469
  xe-pw-164694v3: 164694v3

== Logs ==

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

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

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

* ✗ Xe.CI.FULL: failure for drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
  2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
                   ` (2 preceding siblings ...)
  2026-04-21 18:59 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-04-21 22:33 ` Patchwork
  2026-04-22  3:38 ` [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Matthew Brost
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2026-04-21 22:33 UTC (permalink / raw)
  To: Sanjay Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Convert stolen memory over to ttm_range_manager (rev3)
URL   : https://patchwork.freedesktop.org/series/164694/
State : failure

== Summary ==

CI Bug Log - changes from xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469_FULL -> xe-pw-164694v3_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-164694v3_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-164694v3_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Participating hosts (2 -> 2)
------------------------------

  No changes in participating hosts

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in xe-pw-164694v3_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@xe_page_reclaim@binds-null-vma:
    - shard-lnl:          NOTRUN -> [SKIP][1] +12 other tests skip
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-7/igt@xe_page_reclaim@binds-null-vma.html

  * igt@xe_page_reclaim@boundary-split:
    - shard-bmg:          NOTRUN -> [SKIP][2] +6 other tests skip
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@xe_page_reclaim@boundary-split.html

  
#### Warnings ####

  * igt@kms_pm_dc@dc3co-vpb-simulation:
    - shard-bmg:          [SKIP][3] ([Intel XE#2391] / [Intel XE#6927]) -> [SKIP][4]
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-5/igt@kms_pm_dc@dc3co-vpb-simulation.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_pm_dc@dc3co-vpb-simulation.html

  * igt@kms_pm_dc@dc6-psr:
    - shard-bmg:          [SKIP][5] ([Intel XE#2392] / [Intel XE#6927]) -> [SKIP][6] +1 other test skip
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-1/igt@kms_pm_dc@dc6-psr.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_pm_dc@dc6-psr.html

  
Known issues
------------

  Here are the changes found in xe-pw-164694v3_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@core_hotunplug@hotunplug-rescan:
    - shard-bmg:          NOTRUN -> [DMESG-WARN][7] ([Intel XE#7725])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@core_hotunplug@hotunplug-rescan.html

  * igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
    - shard-bmg:          NOTRUN -> [ABORT][8] ([Intel XE#5545]) +1 other test abort
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-2/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html

  * igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2370])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html

  * igt@kms_big_fb@4-tiled-32bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2327]) +2 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_big_fb@4-tiled-32bpp-rotate-90.html

  * igt@kms_big_fb@linear-32bpp-rotate-90:
    - shard-lnl:          NOTRUN -> [SKIP][11] ([Intel XE#1407])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-7/igt@kms_big_fb@linear-32bpp-rotate-90.html

  * igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#1124]) +4 other tests skip
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-2/igt@kms_big_fb@yf-tiled-16bpp-rotate-270.html

  * igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
    - shard-lnl:          NOTRUN -> [SKIP][13] ([Intel XE#1477] / [Intel XE#7361])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-8/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html

  * igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#7679]) +1 other test skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@kms_bw@connected-linear-tiling-3-displays-3840x2160p.html

  * igt@kms_bw@linear-tiling-3-displays-1920x1080p:
    - shard-lnl:          NOTRUN -> [SKIP][15] ([Intel XE#367] / [Intel XE#7354])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-5/igt@kms_bw@linear-tiling-3-displays-1920x1080p.html

  * igt@kms_bw@linear-tiling-4-displays-2160x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#367] / [Intel XE#7354]) +2 other tests skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@kms_bw@linear-tiling-4-displays-2160x1440p.html

  * igt@kms_ccs@bad-aux-stride-yf-tiled-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#2887]) +7 other tests skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_ccs@bad-aux-stride-yf-tiled-ccs.html

  * igt@kms_ccs@crc-primary-suspend-y-tiled-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#3432])
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_ccs@crc-primary-suspend-y-tiled-ccs.html

  * igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#2652]) +8 other tests skip
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2.html

  * igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs:
    - shard-lnl:          NOTRUN -> [SKIP][20] ([Intel XE#2887])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-6/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs.html

  * igt@kms_cdclk@plane-scaling:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#2724] / [Intel XE#7449])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@kms_cdclk@plane-scaling.html

  * igt@kms_chamelium_edid@dp-mode-timings:
    - shard-lnl:          NOTRUN -> [SKIP][22] ([Intel XE#373])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-7/igt@kms_chamelium_edid@dp-mode-timings.html

  * igt@kms_chamelium_hpd@dp-hpd-with-enabled-mode:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#2252]) +2 other tests skip
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@kms_chamelium_hpd@dp-hpd-with-enabled-mode.html

  * igt@kms_content_protection@atomic:
    - shard-bmg:          NOTRUN -> [FAIL][24] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_content_protection@atomic.html

  * igt@kms_content_protection@dp-mst-type-0-hdcp14:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#6974]) +1 other test skip
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@kms_content_protection@dp-mst-type-0-hdcp14.html

  * igt@kms_cursor_crc@cursor-random-64x21:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#2320])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_cursor_crc@cursor-random-64x21.html

  * igt@kms_cursor_crc@cursor-sliding-512x170:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@kms_cursor_crc@cursor-sliding-512x170.html

  * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#2286] / [Intel XE#6035])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

  * igt@kms_dsc@dsc-with-formats:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#2244]) +1 other test skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_dsc@dsc-with-formats.html

  * igt@kms_feature_discovery@chamelium:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#2372] / [Intel XE#7359])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_feature_discovery@chamelium.html

  * igt@kms_feature_discovery@psr1:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#2374] / [Intel XE#6127])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_feature_discovery@psr1.html

  * igt@kms_flip@2x-busy-flip:
    - shard-lnl:          NOTRUN -> [SKIP][32] ([Intel XE#1421])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-3/igt@kms_flip@2x-busy-flip.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
    - shard-lnl:          [PASS][33] -> [FAIL][34] ([Intel XE#301]) +3 other tests fail
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html

  * igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#7178] / [Intel XE#7349])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling:
    - shard-lnl:          NOTRUN -> [SKIP][36] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-4/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling@pipe-a-default-mode:
    - shard-lnl:          NOTRUN -> [SKIP][37] ([Intel XE#1397] / [Intel XE#7385])
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-4/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][38] ([Intel XE#7178] / [Intel XE#7351]) +5 other tests skip
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#7179])
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html

  * igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-spr-indfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][40] ([Intel XE#2311]) +18 other tests skip
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-spr-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][41] ([Intel XE#6312] / [Intel XE#651]) +1 other test skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-8/igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#4141]) +9 other tests skip
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-tiling-y:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#2352] / [Intel XE#7399]) +1 other test skip
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-tiling-y.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-shrfb-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][44] ([Intel XE#656])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][45] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-7/igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#7061] / [Intel XE#7356]) +4 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#2313]) +19 other tests skip
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-6/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html

  * igt@kms_hdr@invalid-hdr:
    - shard-bmg:          [PASS][48] -> [SKIP][49] ([Intel XE#1503])
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-1/igt@kms_hdr@invalid-hdr.html
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_hdr@invalid-hdr.html

  * igt@kms_joiner@basic-big-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#6901])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@kms_joiner@basic-big-joiner.html

  * igt@kms_joiner@invalid-modeset-ultra-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#6911] / [Intel XE#7378])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_joiner@invalid-modeset-ultra-joiner.html

  * igt@kms_pipe_stress@stress-xrgb8888-yftiled:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#6912] / [Intel XE#7375])
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_pipe_stress@stress-xrgb8888-yftiled.html

  * igt@kms_plane@pixel-format-x-tiled-modifier@pipe-b-plane-5:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#7130]) +1 other test skip
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-8/igt@kms_plane@pixel-format-x-tiled-modifier@pipe-b-plane-5.html

  * igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping:
    - shard-bmg:          NOTRUN -> [SKIP][54] ([Intel XE#7283]) +1 other test skip
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-8/igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier-source-clamping.html

  * igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier-source-clamping:
    - shard-lnl:          NOTRUN -> [SKIP][55] ([Intel XE#7283])
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-5/igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier-source-clamping.html

  * igt@kms_plane_multiple@tiling-y:
    - shard-bmg:          NOTRUN -> [SKIP][56] ([Intel XE#5020] / [Intel XE#7348])
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-8/igt@kms_plane_multiple@tiling-y.html

  * igt@kms_pm_backlight@fade-with-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][57] ([Intel XE#7376] / [Intel XE#870])
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_pm_backlight@fade-with-suspend.html

  * igt@kms_pm_lpsp@kms-lpsp:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#2499])
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_pm_lpsp@kms-lpsp.html

  * igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][59] ([Intel XE#1489]) +5 other tests skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area.html

  * igt@kms_psr@fbc-pr-primary-blt:
    - shard-bmg:          NOTRUN -> [SKIP][60] ([Intel XE#2234] / [Intel XE#2850]) +9 other tests skip
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_psr@fbc-pr-primary-blt.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
    - shard-bmg:          NOTRUN -> [SKIP][61] ([Intel XE#3904] / [Intel XE#7342])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@kms_rotation_crc@primary-y-tiled-reflect-x-270.html

  * igt@kms_sharpness_filter@invalid-filter-with-scaling-mode:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#6503]) +1 other test skip
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-2/igt@kms_sharpness_filter@invalid-filter-with-scaling-mode.html

  * igt@kms_vrr@cmrr:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#2168] / [Intel XE#7444])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@kms_vrr@cmrr.html

  * igt@kms_vrr@cmrr@pipe-a-edp-1:
    - shard-lnl:          [PASS][64] -> [FAIL][65] ([Intel XE#4459]) +1 other test fail
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-lnl-4/igt@kms_vrr@cmrr@pipe-a-edp-1.html
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-1/igt@kms_vrr@cmrr@pipe-a-edp-1.html

  * igt@kms_vrr@seamless-rr-switch-vrr:
    - shard-bmg:          NOTRUN -> [SKIP][66] ([Intel XE#1499])
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@kms_vrr@seamless-rr-switch-vrr.html

  * igt@xe_eudebug@basic-exec-queues-enable:
    - shard-bmg:          NOTRUN -> [SKIP][67] ([Intel XE#7636]) +11 other tests skip
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@xe_eudebug@basic-exec-queues-enable.html

  * igt@xe_evict@evict-beng-mixed-many-threads-small:
    - shard-bmg:          NOTRUN -> [INCOMPLETE][68] ([Intel XE#6321])
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@xe_evict@evict-beng-mixed-many-threads-small.html

  * igt@xe_evict@evict-small-external-multi-queue-cm:
    - shard-bmg:          NOTRUN -> [SKIP][69] ([Intel XE#7140])
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@xe_evict@evict-small-external-multi-queue-cm.html

  * igt@xe_exec_balancer@many-cm-virtual-userptr-rebind:
    - shard-lnl:          NOTRUN -> [SKIP][70] ([Intel XE#7482])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-1/igt@xe_exec_balancer@many-cm-virtual-userptr-rebind.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue:
    - shard-bmg:          NOTRUN -> [SKIP][71] ([Intel XE#2322] / [Intel XE#7372]) +6 other tests skip
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue.html

  * igt@xe_exec_fault_mode@twice-multi-queue-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][72] ([Intel XE#7136]) +8 other tests skip
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@xe_exec_fault_mode@twice-multi-queue-userptr.html

  * igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem:
    - shard-bmg:          NOTRUN -> [SKIP][73] ([Intel XE#6874]) +17 other tests skip
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem.html

  * igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-dyn-priority:
    - shard-lnl:          NOTRUN -> [SKIP][74] ([Intel XE#6874]) +2 other tests skip
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-1/igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-dyn-priority.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate:
    - shard-bmg:          NOTRUN -> [SKIP][75] ([Intel XE#7138]) +7 other tests skip
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-2/igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate.html

  * igt@xe_exec_threads@threads-multi-queue-userptr-invalidate-race:
    - shard-lnl:          NOTRUN -> [SKIP][76] ([Intel XE#7138])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-4/igt@xe_exec_threads@threads-multi-queue-userptr-invalidate-race.html

  * igt@xe_mmap@pci-membarrier-bad-pagesize:
    - shard-lnl:          NOTRUN -> [SKIP][77] ([Intel XE#5100] / [Intel XE#7322] / [Intel XE#7408])
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-3/igt@xe_mmap@pci-membarrier-bad-pagesize.html

  * igt@xe_non_msix@walker-interrupt-notification-non-msix:
    - shard-bmg:          NOTRUN -> [SKIP][78] ([Intel XE#7622])
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@xe_non_msix@walker-interrupt-notification-non-msix.html

  * igt@xe_pat@xa-app-transient-media-on:
    - shard-bmg:          NOTRUN -> [SKIP][79] ([Intel XE#7590])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-1/igt@xe_pat@xa-app-transient-media-on.html

  * igt@xe_pm@d3cold-i2c:
    - shard-bmg:          NOTRUN -> [SKIP][80] ([Intel XE#5694] / [Intel XE#7370])
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-9/igt@xe_pm@d3cold-i2c.html

  * igt@xe_pxp@display-pxp-fb:
    - shard-bmg:          NOTRUN -> [SKIP][81] ([Intel XE#4733] / [Intel XE#7417]) +2 other tests skip
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@xe_pxp@display-pxp-fb.html

  * igt@xe_query@multigpu-query-pxp-status:
    - shard-bmg:          NOTRUN -> [SKIP][82] ([Intel XE#944]) +1 other test skip
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-5/igt@xe_query@multigpu-query-pxp-status.html

  * igt@xe_sriov_flr@flr-each-isolation:
    - shard-lnl:          NOTRUN -> [SKIP][83] ([Intel XE#3342])
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-5/igt@xe_sriov_flr@flr-each-isolation.html

  
#### Possible fixes ####

  * igt@intel_hwmon@hwmon-write:
    - shard-bmg:          [FAIL][84] ([Intel XE#7445]) -> [PASS][85]
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-9/igt@intel_hwmon@hwmon-write.html
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@intel_hwmon@hwmon-write.html

  * igt@kms_vrr@flipline:
    - shard-lnl:          [FAIL][86] ([Intel XE#4227] / [Intel XE#7397]) -> [PASS][87] +1 other test pass
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-lnl-6/igt@kms_vrr@flipline.html
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-3/igt@kms_vrr@flipline.html

  * igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
    - shard-lnl:          [FAIL][88] ([Intel XE#2142]) -> [PASS][89] +1 other test pass
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-lnl-7/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-lnl-8/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html

  * igt@xe_evict@evict-mixed-many-threads-small:
    - shard-bmg:          [INCOMPLETE][90] ([Intel XE#6321]) -> [PASS][91]
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-3/igt@xe_evict@evict-mixed-many-threads-small.html
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html

  * igt@xe_pm_residency@gt-c6-freeze@gt1:
    - shard-bmg:          [DMESG-WARN][92] ([Intel XE#7725]) -> [PASS][93] +1 other test pass
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-6/igt@xe_pm_residency@gt-c6-freeze@gt1.html
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@xe_pm_residency@gt-c6-freeze@gt1.html

  * igt@xe_sriov_flr@flr-each-isolation:
    - shard-bmg:          [FAIL][94] ([Intel XE#6569]) -> [PASS][95]
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469/shard-bmg-2/igt@xe_sriov_flr@flr-each-isolation.html
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164694v3/shard-bmg-7/igt@xe_sriov_flr@flr-each-isolation.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
  [Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1477]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1477
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
  [Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
  [Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
  [Intel XE#2370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2370
  [Intel XE#2372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2372
  [Intel XE#2374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2374
  [Intel XE#2391]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2391
  [Intel XE#2392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2392
  [Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
  [Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
  [Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
  [Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
  [Intel XE#5100]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5100
  [Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
  [Intel XE#5694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5694
  [Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
  [Intel XE#6127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6127
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
  [Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
  [Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
  [Intel XE#6927]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6927
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7130
  [Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
  [Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
  [Intel XE#7140]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7140
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7322
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348
  [Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7354
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7359]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7359
  [Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
  [Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
  [Intel XE#7378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7378
  [Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
  [Intel XE#7397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7397
  [Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
  [Intel XE#7408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7408
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7444]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7444
  [Intel XE#7445]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7445
  [Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
  [Intel XE#7622]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7622
  [Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
  [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
  [Intel XE#7725]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7725
  [Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * IGT: IGT_8863 -> IGT_8865
  * Linux: xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469 -> xe-pw-164694v3

  IGT_8863: 5b279a8b71dc1672099205a1a9e8135c7c7fadb5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8865: 1c23bc1bdf01bf0ded2344cb217d7fe88de3b726 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4921-898b5aa235c5b269d6c745fd84270b296aa75469: 898b5aa235c5b269d6c745fd84270b296aa75469
  xe-pw-164694v3: 164694v3

== Logs ==

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

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

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

* Re: [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager
  2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
                   ` (3 preceding siblings ...)
  2026-04-21 22:33 ` ✗ Xe.CI.FULL: failure " Patchwork
@ 2026-04-22  3:38 ` Matthew Brost
  2026-04-22 12:00   ` Yadav, Sanjay Kumar
  4 siblings, 1 reply; 7+ messages in thread
From: Matthew Brost @ 2026-04-22  3:38 UTC (permalink / raw)
  To: Sanjay Yadav
  Cc: intel-xe, Maarten Lankhorst, Matthew Auld, Vinod Govindapillai

On Tue, Apr 21, 2026 at 10:20:48PM +0530, Sanjay Yadav wrote:
> Stolen memory requires physically contiguous allocations for display
> scanout and compressed framebuffers. The stolen memory manager was
> sharing the gpu_buddy allocator backend with the VRAM manager, but
> buddy manages non-contiguous power-of-two blocks making it a poor fit.
> Stolen memory also has fundamentally different allocation patterns:
> 
> - Allocation sizes are not power-of-two. Since buddy rounds up to the
>   next power-of-two block size, a ~17MB request can fail even with
>   ~22MB free, because the free space is fragmented across non-fitting
>   power-of-two blocks.
> - Hardware restrictions prevent using the first 4K page of stolen for
>   certain allocations (e.g., FBC). The display code sets fpfn=1 to
>   enforce this, but when fpfn != 0, gpu_buddy enables
>   GPU_BUDDY_RANGE_ALLOCATION mode which disables the try_harder
>   coalescing path, further reducing allocation success.
> 
> This combination caused FBC compressed framebuffer (CFB) allocation
> failures on platforms like NVL/PTL. In case of NVL where stolen memory
> is ~56MB and the initial plane framebuffer consumes ~34MB at probe time,
> leaving ~22MB for subsequent allocations.
> 
> Use ttm_range_man_init_nocheck() to set up a drm_mm-backed TTM resource
> manager for stolen memory. This reuses the TTM core's ttm_range_manager
> callbacks, avoiding duplicate implementations.
> 
> Tested on NVL with a 4K DP display: stolen_mm shows a single ~22MB
> contiguous free hole after initial plane framebuffer allocation, and
> FBC successfully allocates its CFB from that region. The corresponding
> IGT was previously skipped and now passes.
> 
> v2:
> - Clarify that stolen memory requires contiguous allocations (Matt B)
> - Properly handle xe_ttm_resource_visible() for stolen instead of
>   unconditionally returning true (Matt A)
> 
> v3:
> - Rebase
> - Fix xe_display_bo_fbdev_prefer_stolen() to compare in pages, since
>   ttm_range_manager stores stolen->size in pages not bytes (Matt A)
> 
> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7631
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Suggested-by: Matthew Auld <matthew.auld@intel.com>
> Assisted-by: GitHub Copilot:claude-sonnet-4.6
> Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Acked-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
> ---
>  drivers/gpu/drm/xe/display/xe_display_bo.c |  2 +-
>  drivers/gpu/drm/xe/xe_bo.c                 | 16 ++++--
>  drivers/gpu/drm/xe/xe_device_types.h       |  3 +
>  drivers/gpu/drm/xe/xe_res_cursor.h         | 14 ++++-
>  drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c     | 64 ++++++++--------------
>  drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h     |  9 +++
>  drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 11 ++--
>  7 files changed, 64 insertions(+), 55 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
> index dc0d78ff2d79..7fbac223b097 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
> @@ -138,7 +138,7 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>  	 * important and we should probably use that space with FBC or other
>  	 * features.
>  	 */
> -	return stolen->size >= size * 2;
> +	return stolen->size >= (size * 2) >> PAGE_SHIFT;
>  }
>  
>  static struct drm_gem_object *xe_display_bo_fbdev_create(struct drm_device *drm, int size)
> diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
> index f685c3c2fbb3..295857cdeb4e 100644
> --- a/drivers/gpu/drm/xe/xe_bo.c
> +++ b/drivers/gpu/drm/xe/xe_bo.c
> @@ -611,11 +611,17 @@ static void xe_ttm_tt_destroy(struct ttm_device *ttm_dev, struct ttm_tt *tt)
>  	kfree(tt);
>  }
>  
> -static bool xe_ttm_resource_visible(struct ttm_resource *mem)
> +static bool xe_ttm_resource_visible(struct xe_device *xe, struct ttm_resource *mem)
>  {
> -	struct xe_ttm_vram_mgr_resource *vres =
> -		to_xe_ttm_vram_mgr_resource(mem);
> +	struct xe_ttm_vram_mgr_resource *vres;
>  
> +	if (mem->mem_type == XE_PL_STOLEN) {
> +		struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
> +
> +		return mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe);
> +	}
> +
> +	vres = to_xe_ttm_vram_mgr_resource(mem);
>  	return vres->used_visible_size == mem->size;
>  }
>  
> @@ -633,7 +639,7 @@ bool xe_bo_is_visible_vram(struct xe_bo *bo)
>  	if (drm_WARN_ON(bo->ttm.base.dev, !xe_bo_is_vram(bo)))
>  		return false;
>  
> -	return xe_ttm_resource_visible(bo->ttm.resource);
> +	return xe_ttm_resource_visible(xe_bo_device(bo), bo->ttm.resource);
>  }
>  
>  static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
> @@ -649,7 +655,7 @@ static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
>  	case XE_PL_VRAM1: {
>  		struct xe_vram_region *vram = xe_map_resource_to_region(mem);
>  
> -		if (!xe_ttm_resource_visible(mem))
> +		if (!xe_ttm_resource_visible(xe, mem))
>  			return -EINVAL;
>  
>  		mem->bus.offset = mem->start << PAGE_SHIFT;
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index e9e11bb1c65f..315d2ed4d3e6 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -42,6 +42,7 @@ struct xe_ggtt;
>  struct xe_i2c;
>  struct xe_pat_ops;
>  struct xe_pxp;
> +struct xe_ttm_stolen_mgr;
>  struct xe_vram_region;
>  
>  /**
> @@ -276,6 +277,8 @@ struct xe_device {
>  		struct ttm_resource_manager sys_mgr;
>  		/** @mem.shrinker: system memory shrinker. */
>  		struct xe_shrinker *shrinker;
> +		/** @mem.stolen_mgr: stolen memory manager. */
> +		struct xe_ttm_stolen_mgr *stolen_mgr;
>  	} mem;
>  
>  	/** @sriov: device level virtualization data */
> diff --git a/drivers/gpu/drm/xe/xe_res_cursor.h b/drivers/gpu/drm/xe/xe_res_cursor.h
> index 5f4ab08c0686..0522caafd89d 100644
> --- a/drivers/gpu/drm/xe/xe_res_cursor.h
> +++ b/drivers/gpu/drm/xe/xe_res_cursor.h
> @@ -101,7 +101,15 @@ static inline void xe_res_first(struct ttm_resource *res,
>  	cur->mem_type = res->mem_type;
>  
>  	switch (cur->mem_type) {
> -	case XE_PL_STOLEN:
> +	case XE_PL_STOLEN: {
> +		/* res->start is in pages (ttm_range_manager). */
> +		cur->start = (res->start << PAGE_SHIFT) + start;
> +		cur->size = size;
> +		cur->remaining = size;
> +		cur->node = NULL;
> +		cur->mm = NULL;
> +		break;
> +	}
>  	case XE_PL_VRAM0:
>  	case XE_PL_VRAM1: {
>  		struct gpu_buddy_block *block;
> @@ -289,6 +297,10 @@ static inline void xe_res_next(struct xe_res_cursor *cur, u64 size)
>  
>  	switch (cur->mem_type) {
>  	case XE_PL_STOLEN:
> +		/* Just advance within the contiguous region. */
> +		cur->start += size;
> +		cur->size = cur->remaining;
> +		break;
>  	case XE_PL_VRAM0:
>  	case XE_PL_VRAM1:
>  		start = size - cur->size;
> diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> index 27c9d72222cf..5e9070739e65 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> +++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> @@ -19,30 +19,11 @@
>  #include "xe_device.h"
>  #include "xe_gt_printk.h"
>  #include "xe_mmio.h"
> -#include "xe_res_cursor.h"
>  #include "xe_sriov.h"
>  #include "xe_ttm_stolen_mgr.h"
> -#include "xe_ttm_vram_mgr.h"
>  #include "xe_vram.h"
>  #include "xe_wa.h"
>  
> -struct xe_ttm_stolen_mgr {
> -	struct xe_ttm_vram_mgr base;
> -
> -	/* PCI base offset */
> -	resource_size_t io_base;
> -	/* GPU base offset */
> -	resource_size_t stolen_base;
> -
> -	void __iomem *mapping;
> -};
> -
> -static inline struct xe_ttm_stolen_mgr *
> -to_stolen_mgr(struct ttm_resource_manager *man)
> -{
> -	return container_of(man, struct xe_ttm_stolen_mgr, base.manager);
> -}
> -
>  /**
>   * xe_ttm_stolen_cpu_access_needs_ggtt() - If we can't directly CPU access
>   * stolen, can we then fallback to mapping through the GGTT.
> @@ -210,12 +191,19 @@ static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
>  #endif
>  }
>  
> +static void xe_ttm_stolen_mgr_fini(struct drm_device *dev, void *arg)
> +{
> +	struct xe_device *xe = to_xe_device(dev);
> +
> +	ttm_range_man_fini_nocheck(&xe->ttm, XE_PL_STOLEN);
> +}
> +
>  int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>  {
>  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
>  	struct xe_ttm_stolen_mgr *mgr;
>  	u64 stolen_size, io_size;
> -	int err;
> +	int ret;
>  
>  	mgr = drmm_kzalloc(&xe->drm, sizeof(*mgr), GFP_KERNEL);
>  	if (!mgr)
> @@ -244,12 +232,12 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>  	if (mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe))
>  		io_size = stolen_size;
>  
> -	err = __xe_ttm_vram_mgr_init(xe, &mgr->base, XE_PL_STOLEN, stolen_size,
> -				     io_size, PAGE_SIZE);
> -	if (err) {
> -		drm_dbg_kms(&xe->drm, "Stolen mgr init failed: %i\n", err);
> -		return err;
> -	}
> +	ret = ttm_range_man_init_nocheck(&xe->ttm, XE_PL_STOLEN, false,
> +					 stolen_size >> PAGE_SHIFT);
> +	if (ret)
> +		return ret;
> +
> +	xe->mem.stolen_mgr = mgr;
>  
>  	drm_dbg_kms(&xe->drm, "Initialized stolen memory support with %llu bytes\n",
>  		    stolen_size);
> @@ -257,36 +245,32 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>  	if (io_size)
>  		mgr->mapping = devm_ioremap_wc(&pdev->dev, mgr->io_base, io_size);
>  
> -	return 0;
> +	return drmm_add_action_or_reset(&xe->drm, xe_ttm_stolen_mgr_fini, mgr);
>  }
>  
>  u64 xe_ttm_stolen_io_offset(struct xe_bo *bo, u32 offset)
>  {
>  	struct xe_device *xe = xe_bo_device(bo);
> -	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
> -	struct xe_ttm_stolen_mgr *mgr = to_stolen_mgr(ttm_mgr);
> -	struct xe_res_cursor cur;
> +	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
>  
>  	XE_WARN_ON(!mgr->io_base);
>  
>  	if (xe_ttm_stolen_cpu_access_needs_ggtt(xe))
>  		return mgr->io_base + xe_bo_ggtt_addr(bo) + offset;
>  
> -	xe_res_first(bo->ttm.resource, offset, 4096, &cur);
> -	return mgr->io_base + cur.start;
> +	/* Range allocator: res->start is in pages. */
> +	return mgr->io_base + (bo->ttm.resource->start << PAGE_SHIFT) + offset;
>  }
>  
>  static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe,
>  					       struct xe_ttm_stolen_mgr *mgr,
>  					       struct ttm_resource *mem)
>  {
> -	struct xe_res_cursor cur;
> -
>  	if (!mgr->io_base)
>  		return -EIO;
>  
> -	xe_res_first(mem, 0, 4096, &cur);
> -	mem->bus.offset = cur.start;
> +	/* Range allocator always produces contiguous allocations. */
> +	mem->bus.offset = mem->start << PAGE_SHIFT;
>  
>  	drm_WARN_ON(&xe->drm, !(mem->placement & TTM_PL_FLAG_CONTIGUOUS));
>  
> @@ -329,8 +313,7 @@ static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe,
>  
>  int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
>  {
> -	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
> -	struct xe_ttm_stolen_mgr *mgr = ttm_mgr ? to_stolen_mgr(ttm_mgr) : NULL;
> +	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
>  
>  	if (!mgr || !mgr->io_base)
>  		return -EIO;
> @@ -343,8 +326,5 @@ int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
>  
>  u64 xe_ttm_stolen_gpu_offset(struct xe_device *xe)
>  {
> -	struct xe_ttm_stolen_mgr *mgr =
> -		to_stolen_mgr(ttm_manager_type(&xe->ttm, XE_PL_STOLEN));
> -
> -	return mgr->stolen_base;
> +	return xe->mem.stolen_mgr->stolen_base;
>  }
> diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
> index 8e877d1e839b..049e91e77326 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
> +++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
> @@ -12,6 +12,15 @@ struct ttm_resource;
>  struct xe_bo;
>  struct xe_device;
>  
> +struct xe_ttm_stolen_mgr {
> +	/* PCI base offset */
> +	resource_size_t io_base;
> +	/* GPU base offset */
> +	resource_size_t stolen_base;
> +
> +	void __iomem *mapping;
> +};

Kernel doc. Everything else LGTM.

Matt

> +
>  int xe_ttm_stolen_mgr_init(struct xe_device *xe);
>  int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
>  bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe);
> diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> index 5fd0d5506a7e..79ef8e1b5e5c 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> @@ -301,14 +301,13 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,
>  			   u64 default_page_size)
>  {
>  	struct ttm_resource_manager *man = &mgr->manager;
> +	const char *name;
>  	int err;
>  
> -	if (mem_type != XE_PL_STOLEN) {
> -		const char *name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
> -		man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
> -		if (IS_ERR(man->cg))
> -			return PTR_ERR(man->cg);
> -	}
> +	name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
> +	man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
> +	if (IS_ERR(man->cg))
> +		return PTR_ERR(man->cg);
>  
>  	man->func = &xe_ttm_vram_mgr_func;
>  	mgr->mem_type = mem_type;
> -- 
> 2.52.0
> 

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

* Re: [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager
  2026-04-22  3:38 ` [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Matthew Brost
@ 2026-04-22 12:00   ` Yadav, Sanjay Kumar
  0 siblings, 0 replies; 7+ messages in thread
From: Yadav, Sanjay Kumar @ 2026-04-22 12:00 UTC (permalink / raw)
  To: Matthew Brost
  Cc: intel-xe, Maarten Lankhorst, Matthew Auld, Vinod Govindapillai


On 22-04-2026 09:08, Matthew Brost wrote:
> On Tue, Apr 21, 2026 at 10:20:48PM +0530, Sanjay Yadav wrote:
>> Stolen memory requires physically contiguous allocations for display
>> scanout and compressed framebuffers. The stolen memory manager was
>> sharing the gpu_buddy allocator backend with the VRAM manager, but
>> buddy manages non-contiguous power-of-two blocks making it a poor fit.
>> Stolen memory also has fundamentally different allocation patterns:
>>
>> - Allocation sizes are not power-of-two. Since buddy rounds up to the
>>    next power-of-two block size, a ~17MB request can fail even with
>>    ~22MB free, because the free space is fragmented across non-fitting
>>    power-of-two blocks.
>> - Hardware restrictions prevent using the first 4K page of stolen for
>>    certain allocations (e.g., FBC). The display code sets fpfn=1 to
>>    enforce this, but when fpfn != 0, gpu_buddy enables
>>    GPU_BUDDY_RANGE_ALLOCATION mode which disables the try_harder
>>    coalescing path, further reducing allocation success.
>>
>> This combination caused FBC compressed framebuffer (CFB) allocation
>> failures on platforms like NVL/PTL. In case of NVL where stolen memory
>> is ~56MB and the initial plane framebuffer consumes ~34MB at probe time,
>> leaving ~22MB for subsequent allocations.
>>
>> Use ttm_range_man_init_nocheck() to set up a drm_mm-backed TTM resource
>> manager for stolen memory. This reuses the TTM core's ttm_range_manager
>> callbacks, avoiding duplicate implementations.
>>
>> Tested on NVL with a 4K DP display: stolen_mm shows a single ~22MB
>> contiguous free hole after initial plane framebuffer allocation, and
>> FBC successfully allocates its CFB from that region. The corresponding
>> IGT was previously skipped and now passes.
>>
>> v2:
>> - Clarify that stolen memory requires contiguous allocations (Matt B)
>> - Properly handle xe_ttm_resource_visible() for stolen instead of
>>    unconditionally returning true (Matt A)
>>
>> v3:
>> - Rebase
>> - Fix xe_display_bo_fbdev_prefer_stolen() to compare in pages, since
>>    ttm_range_manager stores stolen->size in pages not bytes (Matt A)
>>
>> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7631
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Matthew Brost <matthew.brost@intel.com>
>> Suggested-by: Matthew Auld <matthew.auld@intel.com>
>> Assisted-by: GitHub Copilot:claude-sonnet-4.6
>> Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
>> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Acked-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
>> ---
>>   drivers/gpu/drm/xe/display/xe_display_bo.c |  2 +-
>>   drivers/gpu/drm/xe/xe_bo.c                 | 16 ++++--
>>   drivers/gpu/drm/xe/xe_device_types.h       |  3 +
>>   drivers/gpu/drm/xe/xe_res_cursor.h         | 14 ++++-
>>   drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c     | 64 ++++++++--------------
>>   drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h     |  9 +++
>>   drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 11 ++--
>>   7 files changed, 64 insertions(+), 55 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/display/xe_display_bo.c b/drivers/gpu/drm/xe/display/xe_display_bo.c
>> index dc0d78ff2d79..7fbac223b097 100644
>> --- a/drivers/gpu/drm/xe/display/xe_display_bo.c
>> +++ b/drivers/gpu/drm/xe/display/xe_display_bo.c
>> @@ -138,7 +138,7 @@ bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size)
>>   	 * important and we should probably use that space with FBC or other
>>   	 * features.
>>   	 */
>> -	return stolen->size >= size * 2;
>> +	return stolen->size >= (size * 2) >> PAGE_SHIFT;
>>   }
>>   
>>   static struct drm_gem_object *xe_display_bo_fbdev_create(struct drm_device *drm, int size)
>> diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
>> index f685c3c2fbb3..295857cdeb4e 100644
>> --- a/drivers/gpu/drm/xe/xe_bo.c
>> +++ b/drivers/gpu/drm/xe/xe_bo.c
>> @@ -611,11 +611,17 @@ static void xe_ttm_tt_destroy(struct ttm_device *ttm_dev, struct ttm_tt *tt)
>>   	kfree(tt);
>>   }
>>   
>> -static bool xe_ttm_resource_visible(struct ttm_resource *mem)
>> +static bool xe_ttm_resource_visible(struct xe_device *xe, struct ttm_resource *mem)
>>   {
>> -	struct xe_ttm_vram_mgr_resource *vres =
>> -		to_xe_ttm_vram_mgr_resource(mem);
>> +	struct xe_ttm_vram_mgr_resource *vres;
>>   
>> +	if (mem->mem_type == XE_PL_STOLEN) {
>> +		struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
>> +
>> +		return mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe);
>> +	}
>> +
>> +	vres = to_xe_ttm_vram_mgr_resource(mem);
>>   	return vres->used_visible_size == mem->size;
>>   }
>>   
>> @@ -633,7 +639,7 @@ bool xe_bo_is_visible_vram(struct xe_bo *bo)
>>   	if (drm_WARN_ON(bo->ttm.base.dev, !xe_bo_is_vram(bo)))
>>   		return false;
>>   
>> -	return xe_ttm_resource_visible(bo->ttm.resource);
>> +	return xe_ttm_resource_visible(xe_bo_device(bo), bo->ttm.resource);
>>   }
>>   
>>   static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
>> @@ -649,7 +655,7 @@ static int xe_ttm_io_mem_reserve(struct ttm_device *bdev,
>>   	case XE_PL_VRAM1: {
>>   		struct xe_vram_region *vram = xe_map_resource_to_region(mem);
>>   
>> -		if (!xe_ttm_resource_visible(mem))
>> +		if (!xe_ttm_resource_visible(xe, mem))
>>   			return -EINVAL;
>>   
>>   		mem->bus.offset = mem->start << PAGE_SHIFT;
>> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
>> index e9e11bb1c65f..315d2ed4d3e6 100644
>> --- a/drivers/gpu/drm/xe/xe_device_types.h
>> +++ b/drivers/gpu/drm/xe/xe_device_types.h
>> @@ -42,6 +42,7 @@ struct xe_ggtt;
>>   struct xe_i2c;
>>   struct xe_pat_ops;
>>   struct xe_pxp;
>> +struct xe_ttm_stolen_mgr;
>>   struct xe_vram_region;
>>   
>>   /**
>> @@ -276,6 +277,8 @@ struct xe_device {
>>   		struct ttm_resource_manager sys_mgr;
>>   		/** @mem.shrinker: system memory shrinker. */
>>   		struct xe_shrinker *shrinker;
>> +		/** @mem.stolen_mgr: stolen memory manager. */
>> +		struct xe_ttm_stolen_mgr *stolen_mgr;
>>   	} mem;
>>   
>>   	/** @sriov: device level virtualization data */
>> diff --git a/drivers/gpu/drm/xe/xe_res_cursor.h b/drivers/gpu/drm/xe/xe_res_cursor.h
>> index 5f4ab08c0686..0522caafd89d 100644
>> --- a/drivers/gpu/drm/xe/xe_res_cursor.h
>> +++ b/drivers/gpu/drm/xe/xe_res_cursor.h
>> @@ -101,7 +101,15 @@ static inline void xe_res_first(struct ttm_resource *res,
>>   	cur->mem_type = res->mem_type;
>>   
>>   	switch (cur->mem_type) {
>> -	case XE_PL_STOLEN:
>> +	case XE_PL_STOLEN: {
>> +		/* res->start is in pages (ttm_range_manager). */
>> +		cur->start = (res->start << PAGE_SHIFT) + start;
>> +		cur->size = size;
>> +		cur->remaining = size;
>> +		cur->node = NULL;
>> +		cur->mm = NULL;
>> +		break;
>> +	}
>>   	case XE_PL_VRAM0:
>>   	case XE_PL_VRAM1: {
>>   		struct gpu_buddy_block *block;
>> @@ -289,6 +297,10 @@ static inline void xe_res_next(struct xe_res_cursor *cur, u64 size)
>>   
>>   	switch (cur->mem_type) {
>>   	case XE_PL_STOLEN:
>> +		/* Just advance within the contiguous region. */
>> +		cur->start += size;
>> +		cur->size = cur->remaining;
>> +		break;
>>   	case XE_PL_VRAM0:
>>   	case XE_PL_VRAM1:
>>   		start = size - cur->size;
>> diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
>> index 27c9d72222cf..5e9070739e65 100644
>> --- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
>> +++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
>> @@ -19,30 +19,11 @@
>>   #include "xe_device.h"
>>   #include "xe_gt_printk.h"
>>   #include "xe_mmio.h"
>> -#include "xe_res_cursor.h"
>>   #include "xe_sriov.h"
>>   #include "xe_ttm_stolen_mgr.h"
>> -#include "xe_ttm_vram_mgr.h"
>>   #include "xe_vram.h"
>>   #include "xe_wa.h"
>>   
>> -struct xe_ttm_stolen_mgr {
>> -	struct xe_ttm_vram_mgr base;
>> -
>> -	/* PCI base offset */
>> -	resource_size_t io_base;
>> -	/* GPU base offset */
>> -	resource_size_t stolen_base;
>> -
>> -	void __iomem *mapping;
>> -};
>> -
>> -static inline struct xe_ttm_stolen_mgr *
>> -to_stolen_mgr(struct ttm_resource_manager *man)
>> -{
>> -	return container_of(man, struct xe_ttm_stolen_mgr, base.manager);
>> -}
>> -
>>   /**
>>    * xe_ttm_stolen_cpu_access_needs_ggtt() - If we can't directly CPU access
>>    * stolen, can we then fallback to mapping through the GGTT.
>> @@ -210,12 +191,19 @@ static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
>>   #endif
>>   }
>>   
>> +static void xe_ttm_stolen_mgr_fini(struct drm_device *dev, void *arg)
>> +{
>> +	struct xe_device *xe = to_xe_device(dev);
>> +
>> +	ttm_range_man_fini_nocheck(&xe->ttm, XE_PL_STOLEN);
>> +}
>> +
>>   int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>>   {
>>   	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
>>   	struct xe_ttm_stolen_mgr *mgr;
>>   	u64 stolen_size, io_size;
>> -	int err;
>> +	int ret;
>>   
>>   	mgr = drmm_kzalloc(&xe->drm, sizeof(*mgr), GFP_KERNEL);
>>   	if (!mgr)
>> @@ -244,12 +232,12 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>>   	if (mgr->io_base && !xe_ttm_stolen_cpu_access_needs_ggtt(xe))
>>   		io_size = stolen_size;
>>   
>> -	err = __xe_ttm_vram_mgr_init(xe, &mgr->base, XE_PL_STOLEN, stolen_size,
>> -				     io_size, PAGE_SIZE);
>> -	if (err) {
>> -		drm_dbg_kms(&xe->drm, "Stolen mgr init failed: %i\n", err);
>> -		return err;
>> -	}
>> +	ret = ttm_range_man_init_nocheck(&xe->ttm, XE_PL_STOLEN, false,
>> +					 stolen_size >> PAGE_SHIFT);
>> +	if (ret)
>> +		return ret;
>> +
>> +	xe->mem.stolen_mgr = mgr;
>>   
>>   	drm_dbg_kms(&xe->drm, "Initialized stolen memory support with %llu bytes\n",
>>   		    stolen_size);
>> @@ -257,36 +245,32 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
>>   	if (io_size)
>>   		mgr->mapping = devm_ioremap_wc(&pdev->dev, mgr->io_base, io_size);
>>   
>> -	return 0;
>> +	return drmm_add_action_or_reset(&xe->drm, xe_ttm_stolen_mgr_fini, mgr);
>>   }
>>   
>>   u64 xe_ttm_stolen_io_offset(struct xe_bo *bo, u32 offset)
>>   {
>>   	struct xe_device *xe = xe_bo_device(bo);
>> -	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
>> -	struct xe_ttm_stolen_mgr *mgr = to_stolen_mgr(ttm_mgr);
>> -	struct xe_res_cursor cur;
>> +	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
>>   
>>   	XE_WARN_ON(!mgr->io_base);
>>   
>>   	if (xe_ttm_stolen_cpu_access_needs_ggtt(xe))
>>   		return mgr->io_base + xe_bo_ggtt_addr(bo) + offset;
>>   
>> -	xe_res_first(bo->ttm.resource, offset, 4096, &cur);
>> -	return mgr->io_base + cur.start;
>> +	/* Range allocator: res->start is in pages. */
>> +	return mgr->io_base + (bo->ttm.resource->start << PAGE_SHIFT) + offset;
>>   }
>>   
>>   static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe,
>>   					       struct xe_ttm_stolen_mgr *mgr,
>>   					       struct ttm_resource *mem)
>>   {
>> -	struct xe_res_cursor cur;
>> -
>>   	if (!mgr->io_base)
>>   		return -EIO;
>>   
>> -	xe_res_first(mem, 0, 4096, &cur);
>> -	mem->bus.offset = cur.start;
>> +	/* Range allocator always produces contiguous allocations. */
>> +	mem->bus.offset = mem->start << PAGE_SHIFT;
>>   
>>   	drm_WARN_ON(&xe->drm, !(mem->placement & TTM_PL_FLAG_CONTIGUOUS));
>>   
>> @@ -329,8 +313,7 @@ static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe,
>>   
>>   int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
>>   {
>> -	struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
>> -	struct xe_ttm_stolen_mgr *mgr = ttm_mgr ? to_stolen_mgr(ttm_mgr) : NULL;
>> +	struct xe_ttm_stolen_mgr *mgr = xe->mem.stolen_mgr;
>>   
>>   	if (!mgr || !mgr->io_base)
>>   		return -EIO;
>> @@ -343,8 +326,5 @@ int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
>>   
>>   u64 xe_ttm_stolen_gpu_offset(struct xe_device *xe)
>>   {
>> -	struct xe_ttm_stolen_mgr *mgr =
>> -		to_stolen_mgr(ttm_manager_type(&xe->ttm, XE_PL_STOLEN));
>> -
>> -	return mgr->stolen_base;
>> +	return xe->mem.stolen_mgr->stolen_base;
>>   }
>> diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
>> index 8e877d1e839b..049e91e77326 100644
>> --- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
>> +++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
>> @@ -12,6 +12,15 @@ struct ttm_resource;
>>   struct xe_bo;
>>   struct xe_device;
>>   
>> +struct xe_ttm_stolen_mgr {
>> +	/* PCI base offset */
>> +	resource_size_t io_base;
>> +	/* GPU base offset */
>> +	resource_size_t stolen_base;
>> +
>> +	void __iomem *mapping;
>> +};
> Kernel doc. Everything else LGTM.
>
> Matt
Thanks for the review, Matt.
I will add kernel-doc in v4.
>
>> +
>>   int xe_ttm_stolen_mgr_init(struct xe_device *xe);
>>   int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
>>   bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe);
>> diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
>> index 5fd0d5506a7e..79ef8e1b5e5c 100644
>> --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
>> +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
>> @@ -301,14 +301,13 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,
>>   			   u64 default_page_size)
>>   {
>>   	struct ttm_resource_manager *man = &mgr->manager;
>> +	const char *name;
>>   	int err;
>>   
>> -	if (mem_type != XE_PL_STOLEN) {
>> -		const char *name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
>> -		man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
>> -		if (IS_ERR(man->cg))
>> -			return PTR_ERR(man->cg);
>> -	}
>> +	name = mem_type == XE_PL_VRAM0 ? "vram0" : "vram1";
>> +	man->cg = drmm_cgroup_register_region(&xe->drm, name, size);
>> +	if (IS_ERR(man->cg))
>> +		return PTR_ERR(man->cg);
>>   
>>   	man->func = &xe_ttm_vram_mgr_func;
>>   	mgr->mem_type = mem_type;
>> -- 
>> 2.52.0
>>

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

end of thread, other threads:[~2026-04-22 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 16:50 [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Sanjay Yadav
2026-04-21 17:37 ` ✗ CI.checkpatch: warning for drm/xe: Convert stolen memory over to ttm_range_manager (rev3) Patchwork
2026-04-21 17:38 ` ✓ CI.KUnit: success " Patchwork
2026-04-21 18:59 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-21 22:33 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-22  3:38 ` [PATCH v3] drm/xe: Convert stolen memory over to ttm_range_manager Matthew Brost
2026-04-22 12:00   ` Yadav, Sanjay Kumar

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