Skip to contentSkip to conversation

Introduce purpose-specific VRAM pools

PATCH In review Piórkowski, Piotr 3 participants 19 messages Nov 16 – Nov 27

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v4 cover Introduce purpose-specific VRAM pools

From: Piotr Piórkowski <[email protected]>

This series separates VRAM regions, which own physical resources, from VRAM pools, which represent allocation domains within those regions. A region can then be split into hard partitions for different purposes without requiring each allocation path to manage the physical range directly.

Each pool is backed by its own buddy allocator. BO creation and migration resolve the pool for an allocation consistently, and pool placement narrows caller-provided ranges while rejecting fixed placements that do not intersect the pool. VRAM usage and CPU-visible memory accounting are tracked per partition, and the PF reports free memory from the pool backing VF LMEM.

The series introduces the partition and pool types, routes allocations through pools, adds region splitting, and includes KUnit coverage for manager partitioning, accounting, pool setup, splitting, and TTM placement.

Normal initialization still uses one pool spanning each region’s usable range, so the new abstraction does not yet change allocation policy. The series also makes the VRAM manager handle lpfn == 0 according to TTM’s unbounded-range semantics.

v3 -> v4:
- Guard the KUnit test includes with IS_BUILTIN() instead of IS_ENABLED(), so that the test suites are not built into xe.ko when the KUnit tests are built as a module (Sashiko).
- Rebase on current drm-tip
v2 -> v3:
- Place fixed placements in the pool covering their address instead of the pool serving their purpose, so that e.g. the BIOS framebuffer takeover keeps working once a kernel pool is carved out (Sashiko).
- Assert that a kernel BO with a fixed address does not land outside the kernel pool on a PF without LMTT, where VFs could reach it.
- Add xe_vram_region_addr_to_pool() and KUnit coverage for it.
- Rebase on current drm-tip
v1 -> v2:
- Fix NULL pointer dereferences of the tile VRAM pool on integrated GPUs in the page fault path, tile asserts and debugfs (Sashiko).

Cc Matthew Brost <[email protected]>

Piotr Piórkowski (7):
drm/xe: Define partitioned VRAM manager types drm/xe: Define VRAM regions and pools
drm/xe/vram: Make VRAM pools the allocation handle drm/xe/ttm: Back each VRAM pool with its own buddy allocator drm/xe/vram: Allow splitting a region into pools drm/xe/kunit: Test partitioned VRAM manager drm/xe/kunit: Test VRAM pool allocation

 drivers/gpu/drm/xe/display/xe_fb_pin.c        |   2 +-
 drivers/gpu/drm/xe/display/xe_initial_plane.c |   2 +-
 drivers/gpu/drm/xe/display/xe_panic.c         |   4 +-
 .../xe/tests/xe_gt_sriov_pf_config_kunit.c    |   8 +-
 drivers/gpu/drm/xe/tests/xe_ttm_vram_mgr.c    | 147 +++++++
 drivers/gpu/drm/xe/tests/xe_vram.c            | 177 ++++++++
 drivers/gpu/drm/xe/xe_assert.h                |   3 +-
 drivers/gpu/drm/xe/xe_bo.c                    | 102 +++--
 drivers/gpu/drm/xe/xe_bo.h                    |   2 +-
 drivers/gpu/drm/xe/xe_debugfs.c               |   3 +-
 drivers/gpu/drm/xe/xe_device.c                |   2 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   2 +-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    |   7 +-
 drivers/gpu/drm/xe/xe_migrate.c               |   2 +-
 drivers/gpu/drm/xe/xe_pagefault.c             |   3 +-
 drivers/gpu/drm/xe/xe_query.c                 |  27 +-
 drivers/gpu/drm/xe/xe_res_cursor.h            |  45 +-
 drivers/gpu/drm/xe/xe_svm.c                   |  18 +-
 drivers/gpu/drm/xe/xe_tile.c                  |  22 +-
 drivers/gpu/drm/xe/xe_tile.h                  |   6 +-
 drivers/gpu/drm/xe/xe_tile_debugfs.c          |   4 +-
 drivers/gpu/drm/xe/xe_tile_types.h            |   8 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c        |   2 +-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c          | 398 ++++++++++++++----
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h          |  54 ++-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h    |  48 ++-
 drivers/gpu/drm/xe/xe_vram.c                  | 296 ++++++++++++-
 drivers/gpu/drm/xe/xe_vram.h                  |  16 +-
 drivers/gpu/drm/xe/xe_vram_types.h            | 159 ++++++-
 29 files changed, 1338 insertions(+), 231 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_ttm_vram_mgr.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_vram.c
Signature · 1 line
2.34.1
#1 lore raw

PATCH v4 1/7 drm/xe: Define partitioned VRAM manager types

From: Piotr Piórkowski <[email protected]>

A VRAM region may need to be split into hard partitions, e.g. to keep kernel allocations in a dedicated low range of VRAM. Expressing such a split purely as a placement range would turn every VRAM allocation into a %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy algorithm for what is really a hard, statically known split.

Describe the types needed to manage each partition with a buddy allocator of its own instead. struct xe_ttm_vram_mgr_part ties a buddy allocator to the VRAM pool it backs, the manager holds up to XE_TTM_VRAM_MGR_MAX_PARTS of them, and resources and offlined pages record the partition their blocks were allocated from, as buddy offsets become partition relative.

Each partition also tracks the CPU visible memory allocated from it, so that usage can be reported per pool purpose, and the alignment a partition base must honour is defined next to the partition itself.

---
 drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h +46 -0
index 4a2cd27a5b617..1da3c82b28585 100644
@@ -7,8 +7,46 @@
 #define _XE_TTM_VRAM_MGR_TYPES_H_
 
 #include <linux/gpu_buddy.h>
+#include <linux/sizes.h>
 #include <drm/ttm/ttm_device.h>
 
+struct xe_vram_pool;
+
+/**
+ * struct xe_ttm_vram_mgr_part - Partition of a VRAM region
+ *
+ * A VRAM region may be split into disjoint partitions, each managed by its
+ * own buddy allocator. An allocation belongs to exactly one partition and
+ * cannot span partition boundaries. This lets the manager allocate directly
+ * from the requested partition without resorting to
+ * %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy allocation
+ * algorithm.
+ */
+struct xe_ttm_vram_mgr_part {
+	/**
+	 * @pool: VRAM pool backed by this partition
+	 *
+	 * Once the manager is initialized, pool->part points back here.
+	 */
+	struct xe_vram_pool *pool;
+	/** @mm: DRM buddy allocator which manages this partition */
+	struct gpu_buddy mm;
+	/** @used_visible: CPU visible bytes allocated from this partition */
+	u64 used_visible;
+};
+
+/** XE_TTM_VRAM_MGR_MAX_PARTS - Max partitions of a single VRAM region */
+#define XE_TTM_VRAM_MGR_MAX_PARTS	2
+
+/**
+ * XE_TTM_VRAM_MGR_PART_ALIGN - Required alignment of a partition base
+ *
+ * Buddy offsets are partition relative, so a partition base has to be
+ * aligned to the largest VRAM page size in regular use, otherwise an aligned
+ * buddy allocation is not aligned in the region.
+ */
+#define XE_TTM_VRAM_MGR_PART_ALIGN	SZ_2M
+
 /**
  * struct xe_ttm_vram_mgr - Xe TTM VRAM manager
  *
@@ -19,6 +57,10 @@ struct xe_ttm_vram_mgr {
 	struct ttm_resource_manager manager;
 	/** @mm: DRM buddy allocator which manages the VRAM */
 	struct gpu_buddy mm;
+	/** @parts: Partitions this VRAM region is split into */
+	struct xe_ttm_vram_mgr_part parts[XE_TTM_VRAM_MGR_MAX_PARTS];
+	/** @num_parts: Number of initialized entries in @parts */
+	unsigned int num_parts;
 	/** @offlined_pages: List of offlined pages */
 	struct list_head offlined_pages;
 	/** @n_offlined_pages: Number of offlined pages */
@@ -47,6 +89,8 @@ struct xe_ttm_vram_mgr_resource {
 	struct ttm_resource base;
 	/** @blocks: list of DRM buddy blocks */
 	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful allocation */
+	struct xe_ttm_vram_mgr_part *part;
 	/** @used_visible_size: How many CPU visible bytes this resource is using */
 	u64 used_visible_size;
 	/** @flags: flags associated with the resource */
@@ -73,6 +117,8 @@ struct xe_ttm_vram_offline_resource {
 	struct list_head queued_link;
 	/** @blocks: Buddy blocks reserved for this page */
 	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful reservation */
+	struct xe_ttm_vram_mgr_part *part;
 	/** @used_visible_size: CPU-visible bytes consumed */
 	u64 used_visible_size;
 	/** @addr: Faulty DPA reported by HW */
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH v4 1/7] drm/xe: Define partitioned VRAM manager types

Quoted 15 lines · Piotr

From: Piotr Piórkowski <[email protected]>

A VRAM region may need to be split into hard partitions, e.g. to keep kernel allocations in a dedicated low range of VRAM. Expressing such a split purely as a placement range would turn every VRAM allocation into a %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy algorithm for what is really a hard, statically known split.

Describe the types needed to manage each partition with a buddy allocator of its own instead. struct xe_ttm_vram_mgr_part ties a buddy allocator to the VRAM pool it backs, the manager holds up to XE_TTM_VRAM_MGR_MAX_PARTS of them, and resources and offlined pages record the partition their blocks were allocated from, as buddy offsets become partition relative.

Quoted 3 lines

Each partition also tracks the CPU visible memory allocated from it, so that usage can be reported per pool purpose, and the alignment a partition base must honour is defined next to the partition itself.

What about calling it "zone/zones" ? That feels more natural IMO and would then match what core kernel names this IIRC.

struct xe_ttm_vram_mgr_zone {

}

struct xe_ttm_vram_mgr_zone zones[XE_TTM_VRAM_MGR_MAX_ZONES];

I explored something very similar to this in the past for visible vs non-visible VRAM, where you model it by having an array of zones in the mgr. So zone-0 is the visible part and zone-1 is the non-visible. From allocator pov you then also don't need to mess with bias range stuff, and rather just have two separate allocators, but there are ofc other complications with that.

Quoted 87 lines
---
  drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h | 46 ++++++++++++++++++++++
  1 file changed, 46 insertions(+)
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h +46 -0
index 4a2cd27a5b617..1da3c82b28585 100644
@@ -7,8 +7,46 @@
  #define _XE_TTM_VRAM_MGR_TYPES_H_
 
  #include <linux/gpu_buddy.h>
+#include <linux/sizes.h>
  #include <drm/ttm/ttm_device.h>
 
+struct xe_vram_pool;
+
+/**
+ * struct xe_ttm_vram_mgr_part - Partition of a VRAM region
+ *
+ * A VRAM region may be split into disjoint partitions, each managed by its
+ * own buddy allocator. An allocation belongs to exactly one partition and
+ * cannot span partition boundaries. This lets the manager allocate directly
+ * from the requested partition without resorting to
+ * %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy allocation
+ * algorithm.
+ */
+struct xe_ttm_vram_mgr_part {
+	/**
+	 * @pool: VRAM pool backed by this partition
+	 *
+	 * Once the manager is initialized, pool->part points back here.
+	 */
+	struct xe_vram_pool *pool;
+	/** @mm: DRM buddy allocator which manages this partition */
+	struct gpu_buddy mm;
+	/** @used_visible: CPU visible bytes allocated from this partition */
+	u64 used_visible;
+};
+
+/** XE_TTM_VRAM_MGR_MAX_PARTS - Max partitions of a single VRAM region */
+#define XE_TTM_VRAM_MGR_MAX_PARTS	2
+
+/**
+ * XE_TTM_VRAM_MGR_PART_ALIGN - Required alignment of a partition base
+ *
+ * Buddy offsets are partition relative, so a partition base has to be
+ * aligned to the largest VRAM page size in regular use, otherwise an aligned
+ * buddy allocation is not aligned in the region.
+ */
+#define XE_TTM_VRAM_MGR_PART_ALIGN	SZ_2M
+
  /**
   * struct xe_ttm_vram_mgr - Xe TTM VRAM manager
   *
@@ -19,6 +57,10 @@ struct xe_ttm_vram_mgr {
  	struct ttm_resource_manager manager;
  	/** @mm: DRM buddy allocator which manages the VRAM */
  	struct gpu_buddy mm;
+	/** @parts: Partitions this VRAM region is split into */
+	struct xe_ttm_vram_mgr_part parts[XE_TTM_VRAM_MGR_MAX_PARTS];
+	/** @num_parts: Number of initialized entries in @parts */
+	unsigned int num_parts;
  	/** @offlined_pages: List of offlined pages */
  	struct list_head offlined_pages;
  	/** @n_offlined_pages: Number of offlined pages */
@@ -47,6 +89,8 @@ struct xe_ttm_vram_mgr_resource {
  	struct ttm_resource base;
  	/** @blocks: list of DRM buddy blocks */
  	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful allocation */
+	struct xe_ttm_vram_mgr_part *part;
  	/** @used_visible_size: How many CPU visible bytes this resource is using */
  	u64 used_visible_size;
  	/** @flags: flags associated with the resource */
@@ -73,6 +117,8 @@ struct xe_ttm_vram_offline_resource {
  	struct list_head queued_link;
  	/** @blocks: Buddy blocks reserved for this page */
  	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful reservation */
+	struct xe_ttm_vram_mgr_part *part;
  	/** @used_visible_size: CPU-visible bytes consumed */
  	u64 used_visible_size;
  	/** @addr: Faulty DPA reported by HW */
#3 lore raw

Re: [PATCH v4 1/7] drm/xe: Define partitioned VRAM manager types

Matthew Auld <[email protected]> wrote on śro [2026-lis-25 14:30:17 +0000]:

Quoted 27 lines · Piotr
Quoted 15 lines

From: Piotr Piórkowski <[email protected]>

A VRAM region may need to be split into hard partitions, e.g. to keep kernel allocations in a dedicated low range of VRAM. Expressing such a split purely as a placement range would turn every VRAM allocation into a %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy algorithm for what is really a hard, statically known split.

Describe the types needed to manage each partition with a buddy allocator of its own instead. struct xe_ttm_vram_mgr_part ties a buddy allocator to the VRAM pool it backs, the manager holds up to XE_TTM_VRAM_MGR_MAX_PARTS of them, and resources and offlined pages record the partition their blocks were allocated from, as buddy offsets become partition relative.

Quoted 3 lines

Each partition also tracks the CPU visible memory allocated from it, so that usage can be reported per pool purpose, and the alignment a partition base must honour is defined next to the partition itself.

What about calling it "zone/zones" ? That feels more natural IMO and would then match what core kernel names this IIRC.

struct xe_ttm_vram_mgr_zone {

}

Quoted 8 lines

struct xe_ttm_vram_mgr_zone zones[XE_TTM_VRAM_MGR_MAX_ZONES];

I explored something very similar to this in the past for visible vs non-visible VRAM, where you model it by having an array of zones in the mgr. So zone-0 is the visible part and zone-1 is the non-visible. From allocator pov you then also don't need to mess with bias range stuff, and rather just have two separate allocators, but there are ofc other complications with that.

Hi,

Agreed, "zone" reads much better. I'll rename it in v5:
struct xe_ttm_vram_mgr_zone, zones[XE_TTM_VRAM_MGR_MAX_ZONES], and the related fields and helpers.

Thanks,
Piotr

Quoted 87 lines
Quoted 86 lines
---
  drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h | 46 ++++++++++++++++++++++
  1 file changed, 46 insertions(+)
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h +46 -0
index 4a2cd27a5b617..1da3c82b28585 100644
@@ -7,8 +7,46 @@
  #define _XE_TTM_VRAM_MGR_TYPES_H_
  #include <linux/gpu_buddy.h>
+#include <linux/sizes.h>
  #include <drm/ttm/ttm_device.h>
+struct xe_vram_pool;
+
+/**
+ * struct xe_ttm_vram_mgr_part - Partition of a VRAM region
+ *
+ * A VRAM region may be split into disjoint partitions, each managed by its
+ * own buddy allocator. An allocation belongs to exactly one partition and
+ * cannot span partition boundaries. This lets the manager allocate directly
+ * from the requested partition without resorting to
+ * %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy allocation
+ * algorithm.
+ */
+struct xe_ttm_vram_mgr_part {
+	/**
+	 * @pool: VRAM pool backed by this partition
+	 *
+	 * Once the manager is initialized, pool->part points back here.
+	 */
+	struct xe_vram_pool *pool;
+	/** @mm: DRM buddy allocator which manages this partition */
+	struct gpu_buddy mm;
+	/** @used_visible: CPU visible bytes allocated from this partition */
+	u64 used_visible;
+};
+
+/** XE_TTM_VRAM_MGR_MAX_PARTS - Max partitions of a single VRAM region */
+#define XE_TTM_VRAM_MGR_MAX_PARTS	2
+
+/**
+ * XE_TTM_VRAM_MGR_PART_ALIGN - Required alignment of a partition base
+ *
+ * Buddy offsets are partition relative, so a partition base has to be
+ * aligned to the largest VRAM page size in regular use, otherwise an aligned
+ * buddy allocation is not aligned in the region.
+ */
+#define XE_TTM_VRAM_MGR_PART_ALIGN	SZ_2M
+
  /**
   * struct xe_ttm_vram_mgr - Xe TTM VRAM manager
   *
@@ -19,6 +57,10 @@ struct xe_ttm_vram_mgr {
  	struct ttm_resource_manager manager;
  	/** @mm: DRM buddy allocator which manages the VRAM */
  	struct gpu_buddy mm;
+	/** @parts: Partitions this VRAM region is split into */
+	struct xe_ttm_vram_mgr_part parts[XE_TTM_VRAM_MGR_MAX_PARTS];
+	/** @num_parts: Number of initialized entries in @parts */
+	unsigned int num_parts;
  	/** @offlined_pages: List of offlined pages */
  	struct list_head offlined_pages;
  	/** @n_offlined_pages: Number of offlined pages */
@@ -47,6 +89,8 @@ struct xe_ttm_vram_mgr_resource {
  	struct ttm_resource base;
  	/** @blocks: list of DRM buddy blocks */
  	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful allocation */
+	struct xe_ttm_vram_mgr_part *part;
  	/** @used_visible_size: How many CPU visible bytes this resource is using */
  	u64 used_visible_size;
  	/** @flags: flags associated with the resource */
@@ -73,6 +117,8 @@ struct xe_ttm_vram_offline_resource {
  	struct list_head queued_link;
  	/** @blocks: Buddy blocks reserved for this page */
  	struct list_head blocks;
+	/** @part: Partition owning @blocks, set on successful reservation */
+	struct xe_ttm_vram_mgr_part *part;
  	/** @used_visible_size: CPU-visible bytes consumed */
  	u64 used_visible_size;
  	/** @addr: Faulty DPA reported by HW */
#4 lore raw

PATCH v4 2/7 drm/xe: Define VRAM regions and pools

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region, whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources and embeds its pools as partitions, keeping pool pointers published during initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
 drivers/gpu/drm/xe/xe_vram_types.h | 159 ++++++++++++++++++++++++++++-
 1 file changed, 158 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_types.h +158 -1
index 646e3c12ae9f7..a3e421f2f32d4 100644
@@ -15,6 +15,142 @@
 struct xe_device;
 struct xe_migrate;
 
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default value of a zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */
+enum xe_vram_binding {
+	XE_VRAM_BINDING_NONE = 0,
+	XE_VRAM_BINDING_DEVICE,
+	XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available to userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */
+enum xe_vram_pool_purpose {
+	XE_VRAM_POOL_GENERAL = 0,
+	XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM region can be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */
+#define XE_VRAM_MAX_PARTITIONS	XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct xe_vram_pool. A pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[1]            |  partitions[0]              | |
+ *         | |  offset 0                 |  offset pool_size           | |
+ *         | |  size   pool_size         |  size   usable - pool_size  | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager)                   |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[0]                                          | |
+ *         | |  offset 0                                               | |
+ *         | |  size   whole usable range                              | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all tiles              |
+ *         `-------------------------------------------------------------'
+ */
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given allocation purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+	/** @region: region this pool belongs to */
+	struct xe_vram_region *region;
+	/**
+	 * @part: TTM partition backing this pool, or NULL until the manager
+	 * is initialized
+	 */
+	struct xe_ttm_vram_mgr_part *part;
+	/** @offset: byte offset of the pool from the start of @region */
+	u64 offset;
+	/** @size: size of the pool in bytes */
+	u64 size;
+	/** @purpose: allocation purpose served by this pool */
+	enum xe_vram_pool_purpose purpose;
+};
+
 /**
  * struct xe_vram_region - memory region structure
  * This is used to describe a memory region in xe
@@ -26,9 +162,11 @@ struct xe_vram_region {
 	/**
 	 * @id: VRAM region instance id
 	 *
-	 * The value should be unique for VRAM region.
+	 * The pair (@binding, @id) must uniquely identify a VRAM region.
 	 */
 	u8 id;
+	/** @binding: VRAM region instance binding */
+	enum xe_vram_binding binding;
 	/** @io_start: IO start address of this VRAM instance */
 	resource_size_t io_start;
 	/**
@@ -57,6 +195,25 @@ struct xe_vram_region {
 	 * (e.g stolen mem)
 	 */
 	resource_size_t actual_physical_size;
+	/**
+	 * @partitions: partitions this region is split into
+	 *
+	 * A non-aggregate region initially has @partitions[0] spanning its
+	 * whole usable range. It is the region's default, general-purpose
+	 * pool. An optional split may adjust its range and create another
+	 * partition before the TTM resource manager is initialized.
+	 *
+	 * A device aggregate region has no partitions. Allocation paths do
+	 * not take a region pointer, they take a &xe_vram_pool pointing into
+	 * this array, see the DOC above.
+	 */
+	struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS];
+	/**
+	 * @num_partitions: number of valid entries in @partitions
+	 *
+	 * Zero for a device aggregate region.
+	 */
+	unsigned int num_partitions;
 	/** @mapping: pointer to VRAM mappable space */
 	void __iomem *mapping;
 	/** @ttm: VRAM TTM manager */
Signature · 1 line
2.34.1
#5 lore raw

Re: [PATCH v4 2/7] drm/xe: Define VRAM regions and pools

Quoted 8 lines · Piotr

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

"other agents", what is meant by that?

Quoted 148 lines

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region, whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources and embeds its pools as partitions, keeping pool pointers published during initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
  drivers/gpu/drm/xe/xe_vram_types.h | 159 ++++++++++++++++++++++++++++-
  1 file changed, 158 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_types.h +125 -0
index 646e3c12ae9f7..a3e421f2f32d4 100644
@@ -15,6 +15,142 @@
  struct xe_device;
  struct xe_migrate;
 
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default value of a zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */
+enum xe_vram_binding {
+	XE_VRAM_BINDING_NONE = 0,
+	XE_VRAM_BINDING_DEVICE,
+	XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available to userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */
+enum xe_vram_pool_purpose {
+	XE_VRAM_POOL_GENERAL = 0,
+	XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM region can be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */
+#define XE_VRAM_MAX_PARTITIONS	XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct xe_vram_pool. A pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[1]            |  partitions[0]              | |
+ *         | |  offset 0                 |  offset pool_size           | |
+ *         | |  size   pool_size         |  size   usable - pool_size  | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager)                   |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[0]                                          | |
+ *         | |  offset 0                                               | |
+ *         | |  size   whole usable range                              | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all tiles              |
+ *         `-------------------------------------------------------------'
+ */
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given allocation purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+	/** @region: region this pool belongs to */
+	struct xe_vram_region *region;
+	/**
+	 * @part: TTM partition backing this pool, or NULL until the manager

drivers/gpu/drm/xe/xe_vram_types.h line 152

Quoted 10 lines
drivers/gpu/drm/xe/xe_vram_types.h +10 -0
+	 * is initialized
+	 */
+	struct xe_ttm_vram_mgr_part *part;
+	/** @offset: byte offset of the pool from the start of @region */
+	u64 offset;
+	/** @size: size of the pool in bytes */
+	u64 size;
+	/** @purpose: allocation purpose served by this pool */
+	enum xe_vram_pool_purpose purpose;
+};

Can this not somehow be merged with the zone? Or why does this need to be a separate layer on top?

Quoted 43 lines
drivers/gpu/drm/xe/xe_vram_types.h +23 -1
+
  /**
   * struct xe_vram_region - memory region structure
   * This is used to describe a memory region in xe
@@ -26,9 +162,11 @@ struct xe_vram_region {
  	/**
  	 * @id: VRAM region instance id
  	 *
-	 * The value should be unique for VRAM region.
+	 * The pair (@binding, @id) must uniquely identify a VRAM region.
  	 */
  	u8 id;
+	/** @binding: VRAM region instance binding */
+	enum xe_vram_binding binding;
  	/** @io_start: IO start address of this VRAM instance */
  	resource_size_t io_start;
  	/**
@@ -57,6 +195,25 @@ struct xe_vram_region {
  	 * (e.g stolen mem)
  	 */
  	resource_size_t actual_physical_size;
+	/**
+	 * @partitions: partitions this region is split into
+	 *
+	 * A non-aggregate region initially has @partitions[0] spanning its
+	 * whole usable range. It is the region's default, general-purpose
+	 * pool. An optional split may adjust its range and create another
+	 * partition before the TTM resource manager is initialized.
+	 *
+	 * A device aggregate region has no partitions. Allocation paths do
+	 * not take a region pointer, they take a &xe_vram_pool pointing into
+	 * this array, see the DOC above.
+	 */
+	struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS];
+	/**
+	 * @num_partitions: number of valid entries in @partitions
+	 *
+	 * Zero for a device aggregate region.
+	 */
+	unsigned int num_partitions;
  	/** @mapping: pointer to VRAM mappable space */
  	void __iomem *mapping;
  	/** @ttm: VRAM TTM manager */
#6 lore raw

Re: [PATCH v4 2/7] drm/xe: Define VRAM regions and pools

Matthew Auld <[email protected]> wrote on śro [2026-lis-25 17:38:07 +0000]:

Quoted 11 lines · Piotr
Quoted 8 lines

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

"other agents", what is meant by that?

Hi,

That wording is too vague, sorry. "Other agents" meant other users of the device's VRAM whose memory must be kept separate from the PF's allocations. One example is SR-IOV: we want to reserve a VRAM pool for the VFs, with a guarantee that this pool is used by the VFs only. Other sub-drivers that need a separate VRAM pool fall into the same category.

The pool is meant as a generic mechanism for that, not something specific to VFs.

Quoted 153 lines
Quoted 153 lines

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region, whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources and embeds its pools as partitions, keeping pool pointers published during initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
  drivers/gpu/drm/xe/xe_vram_types.h | 159 ++++++++++++++++++++++++++++-
  1 file changed, 158 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_types.h +130 -0
index 646e3c12ae9f7..a3e421f2f32d4 100644
@@ -15,6 +15,142 @@
  struct xe_device;
  struct xe_migrate;
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default value of a zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */
+enum xe_vram_binding {
+	XE_VRAM_BINDING_NONE = 0,
+	XE_VRAM_BINDING_DEVICE,
+	XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available to userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */
+enum xe_vram_pool_purpose {
+	XE_VRAM_POOL_GENERAL = 0,
+	XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM region can be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */
+#define XE_VRAM_MAX_PARTITIONS	XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct xe_vram_pool. A pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[1]            |  partitions[0]              | |
+ *         | |  offset 0                 |  offset pool_size           | |
+ *         | |  size   pool_size         |  size   usable - pool_size  | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager)                   |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[0]                                          | |
+ *         | |  offset 0                                               | |
+ *         | |  size   whole usable range                              | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all tiles              |
+ *         `-------------------------------------------------------------'
+ */
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given allocation purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+	/** @region: region this pool belongs to */
+	struct xe_vram_region *region;
+	/**
+	 * @part: TTM partition backing this pool, or NULL until the manager
+	 * is initialized
+	 */
+	struct xe_ttm_vram_mgr_part *part;
+	/** @offset: byte offset of the pool from the start of @region */
+	u64 offset;
Quoted 8 lines

drivers/gpu/drm/xe/xe_vram_types.h line 152

Quoted 5 lines
drivers/gpu/drm/xe/xe_vram_types.h +5 -0
+	/** @size: size of the pool in bytes */
+	u64 size;
+	/** @purpose: allocation purpose served by this pool */
+	enum xe_vram_pool_purpose purpose;
+};

Can this not somehow be merged with the zone? Or why does this need to be a separate layer on top?

I thought about it, but I would like to keep them separate.

The pool says what a VRAM range is used for: its purpose and its range. This is what users of the memory hold, like tile->mem.kernel_vram or the BO placement code. The zone is internal allocator state (the buddy and the CPU visible accounting). It is about how we allocate from that range.

They are also filled in by different parts of the driver. xe_vram sets up the pool during probe, and changes it only if the region is split, all before the TTM manager is initialized. The zone belongs to the manager and is set up only when the manager is initialized. With two types, it is clear which code is responsible for which fields.

Today there is one zone per pool, but this may change. Your visible/non-visible idea is a good example. That split is about the allocator, not about the purpose, so one general-purpose pool on a small BAR would be backed by two zones. With separate types, this is mostly a change in the manager. The tile and the BO code would not need to change. If pool and zone were the same thing, we would need to split them again.

Also, a pool does not have to be a slice of a region. It can also cover a whole VRAM region of its own, with its own placement, mapping and TTM manager. The user of the pool does not need to know which case it is.

I agree that right now it looks like duplication, with counters on both sides and pointers in both directions. I will try to reduce this in v5, for example the manager will not keep its own zone count next to the region's partition count. I will also explain in the commit message and in the DOC section how pools and zones relate.

Thanks,
Piotr

Quoted 45 lines
Quoted 44 lines
drivers/gpu/drm/xe/xe_vram_types.h +23 -1
+
  /**
   * struct xe_vram_region - memory region structure
   * This is used to describe a memory region in xe
@@ -26,9 +162,11 @@ struct xe_vram_region {
  	/**
  	 * @id: VRAM region instance id
  	 *
-	 * The value should be unique for VRAM region.
+	 * The pair (@binding, @id) must uniquely identify a VRAM region.
  	 */
  	u8 id;
+	/** @binding: VRAM region instance binding */
+	enum xe_vram_binding binding;
  	/** @io_start: IO start address of this VRAM instance */
  	resource_size_t io_start;
  	/**
@@ -57,6 +195,25 @@ struct xe_vram_region {
  	 * (e.g stolen mem)
  	 */
  	resource_size_t actual_physical_size;
+	/**
+	 * @partitions: partitions this region is split into
+	 *
+	 * A non-aggregate region initially has @partitions[0] spanning its
+	 * whole usable range. It is the region's default, general-purpose
+	 * pool. An optional split may adjust its range and create another
+	 * partition before the TTM resource manager is initialized.
+	 *
+	 * A device aggregate region has no partitions. Allocation paths do
+	 * not take a region pointer, they take a &xe_vram_pool pointing into
+	 * this array, see the DOC above.
+	 */
+	struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS];
+	/**
+	 * @num_partitions: number of valid entries in @partitions
+	 *
+	 * Zero for a device aggregate region.
+	 */
+	unsigned int num_partitions;
  	/** @mapping: pointer to VRAM mappable space */
  	void __iomem *mapping;
  	/** @ttm: VRAM TTM manager */
#7 lore raw

Re: [PATCH v4 2/7] drm/xe: Define VRAM regions and pools

Quoted 215 lines · Piotr Piórkowski

Matthew Auld <[email protected]> wrote on śro [2026-lis-25 17:38:07 +0000]:

Quoted 11 lines · Piotr
Quoted 8 lines

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

"other agents", what is meant by that?

Hi,

That wording is too vague, sorry. "Other agents" meant other users of the device's VRAM whose memory must be kept separate from the PF's allocations. One example is SR-IOV: we want to reserve a VRAM pool for the VFs, with a guarantee that this pool is used by the VFs only. Other sub-drivers that need a separate VRAM pool fall into the same category.

The pool is meant as a generic mechanism for that, not something specific to VFs.

Quoted 153 lines
Quoted 153 lines

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region, whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources and embeds its pools as partitions, keeping pool pointers published during initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
   drivers/gpu/drm/xe/xe_vram_types.h | 159 ++++++++++++++++++++++++++++-
   1 file changed, 158 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_types.h +130 -0
index 646e3c12ae9f7..a3e421f2f32d4 100644
@@ -15,6 +15,142 @@
   struct xe_device;
   struct xe_migrate;
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default value of a zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */
+enum xe_vram_binding {
+	XE_VRAM_BINDING_NONE = 0,
+	XE_VRAM_BINDING_DEVICE,
+	XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available to userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */
+enum xe_vram_pool_purpose {
+	XE_VRAM_POOL_GENERAL = 0,
+	XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM region can be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */
+#define XE_VRAM_MAX_PARTITIONS	XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct xe_vram_pool. A pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[1]            |  partitions[0]              | |
+ *         | |  offset 0                 |  offset pool_size           | |
+ *         | |  size   pool_size         |  size   usable - pool_size  | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager)                   |
+ *         | .---------------------------------------------------------. |
+ *         | |  partitions[0]                                          | |
+ *         | |  offset 0                                               | |
+ *         | |  size   whole usable range                              | |
+ *         | `---------------------------------------------------------' |
+ *         `-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE)
+ *         ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all tiles              |
+ *         `-------------------------------------------------------------'
+ */
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given allocation purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+	/** @region: region this pool belongs to */
+	struct xe_vram_region *region;
+	/**
+	 * @part: TTM partition backing this pool, or NULL until the manager
+	 * is initialized
+	 */
+	struct xe_ttm_vram_mgr_part *part;
+	/** @offset: byte offset of the pool from the start of @region */
+	u64 offset;
Quoted 8 lines

drivers/gpu/drm/xe/xe_vram_types.h line 152

Quoted 5 lines
drivers/gpu/drm/xe/xe_vram_types.h +5 -0
+	/** @size: size of the pool in bytes */
+	u64 size;
+	/** @purpose: allocation purpose served by this pool */
+	enum xe_vram_pool_purpose purpose;
+};

Can this not somehow be merged with the zone? Or why does this need to be a separate layer on top?

I thought about it, but I would like to keep them separate.

The pool says what a VRAM range is used for: its purpose and its range. This is what users of the memory hold, like tile->mem.kernel_vram or the BO placement code. The zone is internal allocator state (the buddy and the CPU visible accounting). It is about how we allocate from that range.

They are also filled in by different parts of the driver. xe_vram sets up the pool during probe, and changes it only if the region is split, all before the TTM manager is initialized. The zone belongs to the manager and is set up only when the manager is initialized. With two types, it is clear which code is responsible for which fields.

Today there is one zone per pool, but this may change. Your visible/non-visible idea is a good example. That split is about the allocator, not about the purpose, so one general-purpose pool on a small BAR would be backed by two zones. With separate types, this is mostly a change in the manager. The tile and the BO code would not need to change. If pool and zone were the same thing, we would need to split them again.

Also, a pool does not have to be a slice of a region. It can also cover a whole VRAM region of its own, with its own placement, mapping and TTM manager. The user of the pool does not need to know which case it is.

Quoted 5 lines

I agree that right now it looks like duplication, with counters on both sides and pointers in both directions. I will try to reduce this in v5, for example the manager will not keep its own zone count next to the region's partition count. I will also explain in the commit message and in the DOC section how pools and zones relate.

At a high level, if this is just the zone concept from core kernel, like you say its just an implementation detail in the allocator/mgr, whether that is implemented with bias range or separate allocators. But I would have thought upper layers just ask for a zone(s) type, and/or that is somehow inferred based on the usage, like kernel vs user etc. Still need to go through the rest of the series though.

Also, the kernel-doc and commit messages above and elsewhere are very hard to read. For example stuff like "physical carrier", "other agents" etc, is very strange terminology IMO.

Quoted 51 lines

Thanks,
Piotr

Quoted 45 lines
Quoted 44 lines
drivers/gpu/drm/xe/xe_vram_types.h +23 -1
+
   /**
    * struct xe_vram_region - memory region structure
    * This is used to describe a memory region in xe
@@ -26,9 +162,11 @@ struct xe_vram_region {
   	/**
   	 * @id: VRAM region instance id
   	 *
-	 * The value should be unique for VRAM region.
+	 * The pair (@binding, @id) must uniquely identify a VRAM region.
   	 */
   	u8 id;
+	/** @binding: VRAM region instance binding */
+	enum xe_vram_binding binding;
   	/** @io_start: IO start address of this VRAM instance */
   	resource_size_t io_start;
   	/**
@@ -57,6 +195,25 @@ struct xe_vram_region {
   	 * (e.g stolen mem)
   	 */
   	resource_size_t actual_physical_size;
+	/**
+	 * @partitions: partitions this region is split into
+	 *
+	 * A non-aggregate region initially has @partitions[0] spanning its
+	 * whole usable range. It is the region's default, general-purpose
+	 * pool. An optional split may adjust its range and create another
+	 * partition before the TTM resource manager is initialized.
+	 *
+	 * A device aggregate region has no partitions. Allocation paths do
+	 * not take a region pointer, they take a &xe_vram_pool pointing into
+	 * this array, see the DOC above.
+	 */
+	struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS];
+	/**
+	 * @num_partitions: number of valid entries in @partitions
+	 *
+	 * Zero for a device aggregate region.
+	 */
+	unsigned int num_partitions;
   	/** @mapping: pointer to VRAM mappable space */
   	void __iomem *mapping;
   	/** @ttm: VRAM TTM manager */
#8 lore raw

Re: [PATCH v4 2/7] drm/xe: Define VRAM regions and pools

Quoted 273 lines · Matthew Auld
Quoted 272 lines · Piotr Piórkowski

Matthew Auld <[email protected]> wrote on śro [2026-lis-25 17:38:07 +0000]:

Quoted 11 lines · Piotr
Quoted 8 lines

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

"other agents", what is meant by that?

Hi,

That wording is too vague, sorry. "Other agents" meant other users of the device's VRAM whose memory must be kept separate from the PF's allocations. One example is SR-IOV: we want to reserve a VRAM pool for the VFs, with a guarantee that this pool is used by the VFs only. Other sub-drivers that need a separate VRAM pool fall into the same category.

The pool is meant as a generic mechanism for that, not something specific to VFs.

Quoted 210 lines
Quoted 210 lines

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region, whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources and embeds its pools as partitions, keeping pool pointers published during initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
   drivers/gpu/drm/xe/xe_vram_types.h | 159 ++++++++++++++++++++++++
++++-

   1 file changed, 158 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_types.h +3 -0
index 646e3c12ae9f7..a3e421f2f32d4 100644
@@ -15,6 +15,142 @@
    struct xe_device;
    struct xe_migrate;
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default value of a 

zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */

drivers/gpu/drm/xe/xe_vram_types.h +9 -0
+enum xe_vram_binding {
+    XE_VRAM_BINDING_NONE = 0,
+    XE_VRAM_BINDING_DEVICE,
+    XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available to 

userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */

drivers/gpu/drm/xe/xe_vram_types.h +7 -0
+enum xe_vram_pool_purpose {
+    XE_VRAM_POOL_GENERAL = 0,
+    XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM region can 

be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */

drivers/gpu/drm/xe/xe_vram_types.h +6 -0
+#define XE_VRAM_MAX_PARTITIONS    XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct xe_vram_pool. A 

pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE) +
*         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ *

| .---------------------------------------------------------. |
+ *         | |  partitions[1]            |  
partitions[0]              | |
+ *         | |  offset 0                 |  offset 
pool_size           | |
+ *         | |  size   pool_size         |  size   usable - 
pool_size  | |
+ *         | 
`---------------------------------------------------------' |
+ *         

`-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE) +
*         ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one
manager)                   |
+ *

| .---------------------------------------------------------. |
+ *         | |  
partitions[0]                                          | |
+ *         | |  offset 
0                                               | |
+ *         | |  size   whole usable 
range                              | |
+ *         | 
`---------------------------------------------------------' |
+ *         

`-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE) +
*         ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all
tiles              |
+ * `-------------------------------------------------------------'
+ */

drivers/gpu/drm/xe/xe_vram_types.h +3 -0
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given allocation 

purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+    /** @region: region this pool belongs to */
+    struct xe_vram_region *region;
+    /**
+     * @part: TTM partition backing this pool, or NULL until the manager
+     * is initialized
+     */
+    struct xe_ttm_vram_mgr_part *part;
+    /** @offset: byte offset of the pool from the start of @region */ +    u64 offset;

Quoted 8 lines
Quoted 5 lines

+    /** @size: size of the pool in bytes */
+    u64 size;
+    /** @purpose: allocation purpose served by this pool */ +    enum xe_vram_pool_purpose purpose;
+};

Can this not somehow be merged with the zone? Or why does this need to be a separate layer on top?

I thought about it, but I would like to keep them separate.

The pool says what a VRAM range is used for: its purpose and its range. This is what users of the memory hold, like tile->mem.kernel_vram or the BO placement code. The zone is internal allocator state (the buddy and the CPU visible accounting). It is about how we allocate from that range.

They are also filled in by different parts of the driver. xe_vram sets up the pool during probe, and changes it only if the region is split, all before the TTM manager is initialized. The zone belongs to the manager and is set up only when the manager is initialized. With two types, it is clear which code is responsible for which fields.

Today there is one zone per pool, but this may change. Your visible/non-visible idea is a good example. That split is about the allocator, not about the purpose, so one general-purpose pool on a small BAR would be backed by two zones. With separate types, this is mostly a change in the manager. The tile and the BO code would not need to change. If pool and zone were the same thing, we would need to split them again.

Also, a pool does not have to be a slice of a region. It can also cover a whole VRAM region of its own, with its own placement, mapping and TTM manager. The user of the pool does not need to know which case it is.

Quoted 7 lines
Quoted 5 lines

I agree that right now it looks like duplication, with counters on both sides and pointers in both directions. I will try to reduce this in v5, for example the manager will not keep its own zone count next to the region's partition count. I will also explain in the commit message and in the DOC section how pools and zones relate.

At a high level, if this is just the zone concept from core kernel, like you say its just an implementation detail in the allocator/mgr, whether that is implemented with bias range or separate allocators. But I would have thought upper layers just ask for a zone(s) type, and/or that is somehow inferred based on the usage, like kernel vs user etc. Still need to go through the rest of the series though.

Just half baked thought, but what would it look like if we model the kernel region with a "zone" now? So ditch the separate VRAM region and move it to ZONE_KERNEL which is inside the normal VRAM mgr? If there is no ZONE_KERNEL, if just falls back to one of the other zones?

Quoted 58 lines

Also, the kernel-doc and commit messages above and elsewhere are very hard to read. For example stuff like "physical carrier", "other agents" etc, is very strange terminology IMO.

Quoted 54 lines

Thanks,
Piotr

Quoted 48 lines
Quoted 47 lines

+
   /**
    * struct xe_vram_region - memory region structure
    * This is used to describe a memory region in xe

drivers/gpu/drm/xe/xe_vram_types.h +7 -1
@@ -26,9 +162,11 @@ struct xe_vram_region {
        /**
         * @id: VRAM region instance id
         *
-     * The value should be unique for VRAM region.
+     * The pair (@binding, @id) must uniquely identify a VRAM region.
         */
        u8 id;
+    /** @binding: VRAM region instance binding */
+    enum xe_vram_binding binding;
        /** @io_start: IO start address of this VRAM instance */
        resource_size_t io_start;
        /**
@@ -57,6 +195,25 @@ struct xe_vram_region {
         * (e.g stolen mem)
         */
        resource_size_t actual_physical_size;
+    /**
+     * @partitions: partitions this region is split into
+     *
+     * A non-aggregate region initially has @partitions[0] spanning 

its
+     * whole usable range. It is the region's default, general-purpose +     * pool. An optional split may adjust its range and create another +     * partition before the TTM resource manager is initialized. +     *
+     * A device aggregate region has no partitions. Allocation paths do
+     * not take a region pointer, they take a &xe_vram_pool pointing into
+     * this array, see the DOC above.
+     */
+    struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS]; +    /**
+     * @num_partitions: number of valid entries in @partitions +     *
+     * Zero for a device aggregate region.
+     */
+    unsigned int num_partitions;
       /** @mapping: pointer to VRAM mappable space */
       void __iomem *mapping;
       /** @ttm: VRAM TTM manager */

#9 lore raw

Re: [PATCH v4 2/7] drm/xe: Define VRAM regions and pools

Matthew Auld <[email protected]> wrote on czw [2026-lis-26 11:36:13 +0000]:

Quoted 291 lines · Matthew Auld
Quoted 290 lines · Piotr Piórkowski
Quoted 288 lines

Matthew Auld <[email protected]> wrote on śro [2026-lis-25 17:38:07 +0000]:

Quoted 11 lines · Piotr
Quoted 8 lines

From: Piotr Piórkowski <[email protected]>

Allocation paths place memory through a struct xe_vram_region, which is both the physical carrier of a VRAM range (BAR mapping, DPA range, TTM manager) and the only handle for the purpose an allocation serves. That makes it impossible to dedicate part of a region to a given purpose, e.g. to keep kernel allocations such as LRCs and page tables in a range of their own, away from VRAM that may be reachable by other agents.

"other agents", what is meant by that?

Hi,

That wording is too vague, sorry. "Other agents" meant other users of the device's VRAM whose memory must be kept separate from the PF's allocations. One example is SR-IOV: we want to reserve a VRAM pool for the VFs, with a guarantee that this pool is used by the VFs only. Other sub-drivers that need a separate VRAM pool fall into the same category.

The pool is meant as a generic mechanism for that, not something specific to VFs.

Quoted 220 lines
Quoted 220 lines

Separate the two concepts. A struct xe_vram_pool represents an allocation
domain: it identifies the purpose served by a range within a VRAM region,
whether that range is available for general use or dedicated to a particular purpose. A struct xe_vram_region owns the physical resources
and embeds its pools as partitions, keeping pool pointers published during
initialization stable when the region is later split. The region also records its binding, distinguishing a device-wide aggregate from a tile region, since both may use ID 0 for the first tile.

---
   drivers/gpu/drm/xe/xe_vram_types.h | 159
++++++++++++++++++++++++ ++++-

   1 file changed, 158 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/gpu/drm/ xe/xe_vram_types.h
index 646e3c12ae9f7..a3e421f2f32d4 100644

drivers/gpu/drm/xe/xe_vram_types.h +3 -0
@@ -15,6 +15,142 @@
    struct xe_device;
    struct xe_migrate;
+/**
+ * enum xe_vram_binding - VRAM region binding types
+ * @XE_VRAM_BINDING_NONE: no binding assigned, default

value of a zeroed region
+ * @XE_VRAM_BINDING_DEVICE: device-level region aggregating all tile VRAM regions
+ * @XE_VRAM_BINDING_TILE: VRAM region bound to a tile
+ */

drivers/gpu/drm/xe/xe_vram_types.h +9 -0
+enum xe_vram_binding {
+    XE_VRAM_BINDING_NONE = 0,
+    XE_VRAM_BINDING_DEVICE,
+    XE_VRAM_BINDING_TILE,
+};
+
+/**
+ * enum xe_vram_pool_purpose - What a VRAM pool serves
+ * @XE_VRAM_POOL_GENERAL: general-purpose memory, available

to userspace
+ * @XE_VRAM_POOL_KERNEL: kernel-only memory, never exposed to userspace
+ */

drivers/gpu/drm/xe/xe_vram_types.h +7 -0
+enum xe_vram_pool_purpose {
+    XE_VRAM_POOL_GENERAL = 0,
+    XE_VRAM_POOL_KERNEL,
+};
+
+/**
+ * XE_VRAM_MAX_PARTITIONS - Max partitions a single VRAM

region can be split into
+ *
+ * A region currently holds its default pool and at most one pool dedicated
+ * to another purpose. The TTM manager mirrors the partitions of a region one
+ * by one, so a region cannot hold more of them than the manager can back.
+ */

drivers/gpu/drm/xe/xe_vram_types.h +6 -0
+#define XE_VRAM_MAX_PARTITIONS    XE_TTM_VRAM_MGR_MAX_PARTS
+
+/**
+ * DOC: VRAM pools, regions and partitions
+ *
+ * Allocation paths place memory through a struct

xe_vram_pool. A pool names
+ * a purpose (general-purpose, kernel-only ...) and resolves to a TTM
+ * placement plus the address range serving it, see xe_vram_pool_place().
+ * Whether that range is the whole region, or one of several partitions
+ * sharing a region, is a backend detail pool consumers do not need to know.
+ *
+ * A struct xe_vram_region is the physical carrier: it owns the BAR mapping,
+ * the DPA range and the TTM resource manager. A non-aggregate region
+ * initially contains one partition spanning its whole usable range. That
+ * partition is the region's default, general-purpose pool. It always
+ * occupies partitions[0].
+ *
+ * Each partition is described by a struct xe_vram_pool embedded in the
+ * region, so a pointer published during initialization remains valid if a
+ * later split changes the pool's offset and size. A split never changes a
+ * pool's purpose and may only happen before the region's TTM manager is
+ * initialized.
+ *
+ * The device aggregate described below is the only region type that has no
+ * manager and no partitions.
+ *
+ * The id shown below is the VRAM region instance id. For a tile region it
+ * is the id of the tile, which the uAPI relies on. The pair (binding, id)
+ * must uniquely identify a region.
+ *
+ * Partitioned region:
+ * A tile's VRAM region can be split so that a pool dedicated to some purpose,
+ * e.g. kernel-only, gets a range of its own and the default pool keeps the
+ * rest. The dedicated partition is carved out at the start of the region, at
+ * the lowest addresses, and takes the next free index. The default partition
+ * keeps index 0 and is moved above the dedicated range. A tile without such
+ * a reservation keeps one partition spanning the whole usable range::
+ *
+ *         xe_vram_region "tile0" (VRAM region id 0, binding TILE)
+ * ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one manager, shared)           |
+ * |
.---------------------------------------------------------.
|
+ *         | |  partitions[1]            |
partitions[0]              | |
+ *         | |  offset 0                 |  offset pool_size           | |
+ *         | |  size   pool_size         |  size   usable - pool_size  | |
+ *         | `---------------------------------------------------------' |
+ * `-------------------------------------------------------------'
+ *                  ^                               ^
+ *                  |                               |
+ *             dedicated pool                  general-purpose pool
+ *
+ *         xe_vram_region "tile1" (VRAM region id 1, binding TILE)
+ * ,-------------------------------------------------------------.
+ *         | ttm: struct xe_ttm_vram_mgr (one
manager)                   |
+ * |
.---------------------------------------------------------.
|
+ *         | |
partitions[0]                                          | |
+ *         | |  offset
0                                               | |
+ *         | |  size   whole usable
range                              | |
+ *         | `---------------------------------------------------------' |
+ * `-------------------------------------------------------------'
+ *                                     ^
+ *                                     |
+ *                            general-purpose pool
+ *
+ * Device aggregate:
+ * A device-level aggregate region is unrelated to the tile regions. It is
+ * never backed by a resource manager and has no partitions. It only
+ * aggregates the sizes and DPA ranges of every tile for reporting purposes.
+ * Nothing is ever allocated from it::
+ *
+ *         xe_vram_region "device" (VRAM region id 0, binding DEVICE)
+ * ,-------------------------------------------------------------.
+ *         | ttm:        unused, not backed by any resource manager      |
+ *         | partitions: none, this region is never allocated from       |
+ *         | size:       total VRAM summed across all
tiles              |
+ * `-------------------------------------------------------------'
+ */

drivers/gpu/drm/xe/xe_vram_types.h +3 -0
+
+/**
+ * struct xe_vram_pool - VRAM range used for a given

allocation purpose
+ *
+ * VRAM allocations are placed through this frontend. It identifies an
+ * allocation purpose and resolves it to a TTM placement and the address
+ * range serving it. Whether that range is a whole region of its own - and
+ * thus has its own placement, mapping and address range - or one of several
+ * partitions of a region is a backend detail the allocation paths do not
+ * need to know, see xe_vram_pool_place().
+ *
+ * A pool stays valid for the lifetime of its region and its purpose is fixed
+ * once published.
+ */
+struct xe_vram_pool {
+    /** @region: region this pool belongs to */
+    struct xe_vram_region *region;
+    /**
+     * @part: TTM partition backing this pool, or NULL until the manager
+     * is initialized
+     */
+    struct xe_ttm_vram_mgr_part *part;
+    /** @offset: byte offset of the pool from the start of @region */ +    u64 offset;
+    /** @size: size of the pool in bytes */

Quoted 8 lines
Quoted 4 lines

+    u64 size;
+    /** @purpose: allocation purpose served by this pool */ +    enum xe_vram_pool_purpose purpose;
+};

Can this not somehow be merged with the zone? Or why does this need to be a
separate layer on top?

I thought about it, but I would like to keep them separate.

The pool says what a VRAM range is used for: its purpose and its range. This is what users of the memory hold, like tile->mem.kernel_vram or the BO placement code. The zone is internal allocator state (the buddy and the CPU visible accounting). It is about how we allocate from that range.

They are also filled in by different parts of the driver. xe_vram sets up the pool during probe, and changes it only if the region is split, all before the TTM manager is initialized. The zone belongs to the manager and is set up only when the manager is initialized. With two types, it is clear which code is responsible for which fields.

Today there is one zone per pool, but this may change. Your visible/non-visible idea is a good example. That split is about the allocator, not about the purpose, so one general-purpose pool on a small BAR would be backed by two zones. With separate types, this is mostly a change in the manager. The tile and the BO code would not need to change. If pool and zone were the same thing, we would need to split them again.

Also, a pool does not have to be a slice of a region. It can also cover a whole VRAM region of its own, with its own placement, mapping and TTM manager. The user of the pool does not need to know which case it is.

I agree that right now it looks like duplication, with counters on both sides and pointers in both directions. I will try to reduce this in v5, for example the manager will not keep its own zone count next to the region's partition count. I will also explain in the commit message and in the DOC section how pools and zones relate.

Quoted 6 lines
Quoted 6 lines

At a high level, if this is just the zone concept from core kernel, like you say its just an implementation detail in the allocator/mgr, whether that is implemented with bias range or separate allocators. But I would have thought upper layers just ask for a zone(s) type, and/or that is somehow inferred based on the usage, like kernel vs user etc. Still need to go through the rest of the series though.

I agree that the callers should only say what the memory is for (kernel, user, VF LMEM, ...) and not care how it is allocated. That is what the pool is meant to be, but I see that v4 doesn't make it clear, and it also adds a lot of duplication between the pool and the zone/partition.

The reason I can't make it just a zone type inside one manager is that, depending on the platform, the same purpose can end up in quite different places:

1) Today: one VRAM region per tile. PF kernel, PF userspace and VF LMEM all come from the same buddy, and LMTT keeps VFs isolated.

2) One contiguous region shared with another sub-driver that needs its own allocator. This fits your zone idea well: separate buddies for separate ranges of the same region.

3) VF LMEM is a separate VRAM range that is not contiguous with the PF range, and the PF must not use it for its own objects. This one doesn't fit well as a zone of the PF manager: it has its own DPA range and BAR window, it must not be counted in the VRAM size and usage we report to userspace, and it shouldn't take part in eviction of PF objects. So it needs to be a VRAM region of its own, with its own manager.

So for v5 I'm thinking about the following:

- the manager zones are the only place where the split of a region is described (offset, size, buddy, visible accounting),
- the pool becomes a small handle: purpose plus the region and zone that serve it, with no copies of offset/size and no counters,
- drop the partitions[] array from xe_vram_region and the pointers in both directions.

Quoted 4 lines

Just half baked thought, but what would it look like if we model the kernel region with a "zone" now? So ditch the separate VRAM region and move it to ZONE_KERNEL which is inside the normal VRAM mgr? If there is no ZONE_KERNEL, if just falls back to one of the other zones?

With LMTT, yes, I think zones are the right tool. For example, in PF admin-only mode we could have one zone for the PF kernel and another one reserved for VF LMEM. LMTT keeps the VFs isolated, so the zones are only there to reserve space, so that the PF kernel can't eat memory meant for VFs, and the other way around.

Without LMTT it's different. There is no translation, so the VF part has to be a separate VRAM range that the PF doesn't use at all. That is case 3 above, and there I think we need separate regions, not zones in one manager.

About the fallback: within a region, it should only happen when the platform has no separate zone for that purpose, which is the default case today. It must not happen when a zone is full, otherwise the reservation doesn't mean anything. Between regions there should be no fallback at all.

Quoted 6 lines
Quoted 6 lines

Also, the kernel-doc and commit messages above and elsewhere are very hard to read. For example stuff like "physical carrier", "other agents" etc, is very strange terminology IMO.

Fair point, sorry about that. I'll rewrite the kernel-doc and the commit messages in plainer language for v5, and add a short DOC section with the cases above, explaining how pools and zones relate.

I'll wait for your comments on the rest of the series before reworking it.

Thanks,
Piotr

Quoted 56 lines
Quoted 55 lines
Quoted 54 lines

Thanks,
Piotr

Quoted 48 lines
Quoted 47 lines

+
   /**
    * struct xe_vram_region - memory region structure
    * This is used to describe a memory region in xe

drivers/gpu/drm/xe/xe_vram_types.h +7 -1
@@ -26,9 +162,11 @@ struct xe_vram_region {
        /**
         * @id: VRAM region instance id
         *
-     * The value should be unique for VRAM region.
+     * The pair (@binding, @id) must uniquely identify a VRAM region.
         */
        u8 id;
+    /** @binding: VRAM region instance binding */
+    enum xe_vram_binding binding;
        /** @io_start: IO start address of this VRAM instance */
        resource_size_t io_start;
        /**
@@ -57,6 +195,25 @@ struct xe_vram_region {
         * (e.g stolen mem)
         */
        resource_size_t actual_physical_size;
+    /**
+     * @partitions: partitions this region is split into
+     *
+     * A non-aggregate region initially has @partitions[0]

spanning its
+     * whole usable range. It is the region's default, general-purpose +     * pool. An optional split may adjust its range and create another +     * partition before the TTM resource manager is initialized. +     *
+     * A device aggregate region has no partitions. Allocation paths do
+     * not take a region pointer, they take a &xe_vram_pool pointing into
+     * this array, see the DOC above.
+     */
+    struct xe_vram_pool partitions[XE_VRAM_MAX_PARTITIONS]; +    /**
+     * @num_partitions: number of valid entries in @partitions +     *
+     * Zero for a device aggregate region.
+     */
+    unsigned int num_partitions;
       /** @mapping: pointer to VRAM mappable space */
       void __iomem *mapping;
       /** @ttm: VRAM TTM manager */

#10 lore raw

PATCH v4 3/7 drm/xe/vram: Make VRAM pools the allocation handle

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Allocation paths take a struct xe_vram_pool instead of a struct xe_vram_region, so that a region can later be split into several pools without touching every consumer again.

A pool resolves to a TTM placement through xe_vram_pool_place(), which only ever narrows the page range of the placement, so that it composes with a caller supplied range such as the CPU visible window of a small BAR. A fixed placement has its address dictated by whoever owns that memory, e.g. the BIOS framebuffer, rather than by the purpose of the BO, so it resolves the pool covering that address through xe_vram_region_addr_to_pool() and fails if no pool covers it.

BO creation and BO migration both resolve the pool serving the purpose of an allocation through the pools the tile publishes, so they cannot disagree on where an allocation of a given purpose goes. The PF queries the free VRAM of the pool backing VF LMEM.

Every region still has exactly one pool spanning its whole usable range, and the kernel pool of a tile is its general-purpose pool, so there is no functional change.

v2: Handle tiles without a VRAM pool on integrated GPUs (Sashiko)
v3: Place fixed placements in the pool covering their address, not
in the pool serving their purpose (Sashiko)
Assert that such a kernel BO does not land outside the kernel pool on a PF without LMTT, where VFs could reach it

---
 drivers/gpu/drm/xe/display/xe_fb_pin.c        |   2 +-
 drivers/gpu/drm/xe/display/xe_initial_plane.c |   2 +-
 drivers/gpu/drm/xe/display/xe_panic.c         |   4 +-
 .../xe/tests/xe_gt_sriov_pf_config_kunit.c    |   8 +-
 drivers/gpu/drm/xe/xe_assert.h                |   3 +-
 drivers/gpu/drm/xe/xe_bo.c                    | 102 ++++++---
 drivers/gpu/drm/xe/xe_bo.h                    |   2 +-
 drivers/gpu/drm/xe/xe_debugfs.c               |   3 +-
 drivers/gpu/drm/xe/xe_device.c                |   2 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   2 +-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    |   7 +-
 drivers/gpu/drm/xe/xe_migrate.c               |   2 +-
 drivers/gpu/drm/xe/xe_pagefault.c             |   3 +-
 drivers/gpu/drm/xe/xe_query.c                 |   6 +-
 drivers/gpu/drm/xe/xe_svm.c                   |   2 +-
 drivers/gpu/drm/xe/xe_tile.c                  |  22 +-
 drivers/gpu/drm/xe/xe_tile.h                  |   6 +-
 drivers/gpu/drm/xe/xe_tile_debugfs.c          |   4 +-
 drivers/gpu/drm/xe/xe_tile_types.h            |   8 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c        |   2 +-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c          |  32 ++-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h          |   3 +-
 drivers/gpu/drm/xe/xe_vram.c                  | 210 ++++++++++++++++--
 drivers/gpu/drm/xe/xe_vram.h                  |  14 +-
 24 files changed, 350 insertions(+), 101 deletions(-)
drivers/gpu/drm/xe/display/xe_fb_pin.c +1 -1
index 1bb484254d6e9..91c7501eeb543 100644
@@ -322,7 +322,7 @@ static struct i915_vma *__xe_pin_fb_vma(struct drm_gem_object *obj, bool is_dpt,
 	if (IS_DGFX(to_xe_device(bo->ttm.base.dev)) &&
 	    pin_params->needs_cpu_lmem_access &&
 	    !(bo->flags & XE_BO_FLAG_NEEDS_CPU_ACCESS)) {
-		struct xe_vram_region *vram = xe_device_get_root_tile(xe)->mem.vram;
+		struct xe_vram_region *vram = xe_device_get_root_tile(xe)->mem.vram->region;
 
 		/*
 		 * If we need to able to access the clear-color value stored in
drivers/gpu/drm/xe/display/xe_initial_plane.c +1 -1
index 0f86b73036d03..971d9c78dd089 100644
@@ -73,7 +73,7 @@ initial_plane_bo(struct xe_device *xe,
 		 * We don't currently expect this to ever be placed in the
 		 * stolen portion.
 		 */
-		if (phys_base >= xe_vram_region_usable_size(tile0->mem.vram)) {
+		if (phys_base >= xe_vram_region_usable_size(tile0->mem.vram->region)) {
 			drm_err(&xe->drm,
 				"Initial plane programming using invalid range, phys_base=%pa\n",
 				&phys_base);
drivers/gpu/drm/xe/display/xe_panic.c +2 -2
index 1a6cee25e9d76..b223ae8fc0209 100644
@@ -52,7 +52,7 @@ static void xe_panic_page_set_pixel(struct drm_scanout_buffer *sb, unsigned int
 	if (new_page != panic->page) {
 		if (xe_bo_is_vram(bo)) {
 			/* Display is always mapped on root tile */
-			struct xe_vram_region *vram =
+			struct xe_vram_pool *vram =
 				xe_device_get_root_tile(xe_bo_device(bo))->mem.vram;
 
 			if (panic->page < 0 || new_page < panic->page) {
@@ -62,7 +62,7 @@ static void xe_panic_page_set_pixel(struct drm_scanout_buffer *sb, unsigned int
 				xe_res_next(&panic->res, PAGE_SIZE * (new_page - panic->page));
 			}
 			iosys_map_set_vaddr_iomem(&panic->vmap,
-						  vram->mapping + panic->res.start);
+						  vram->region->mapping + panic->res.start);
 		} else {
 			xe_panic_kunmap(panic);
 			iosys_map_set_vaddr(&panic->vmap,
drivers/gpu/drm/xe/tests/xe_gt_sriov_pf_config_kunit.c +5 -3
index 4d72411cd570c..98891e64565a2 100644
@@ -44,8 +44,8 @@ static void pf_set_usable_vram(struct xe_device *xe, u64 usable)
 
 	KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tile);
 	xe->mem.vram->usable_size = usable;
-	tile->mem.vram->usable_size = usable;
-	KUNIT_ASSERT_EQ(test, usable, xe_vram_region_usable_size(tile->mem.vram));
+	tile->mem.vram->size = usable;
+	KUNIT_ASSERT_EQ(test, usable, xe_vram_pool_usable_size(tile->mem.vram));
 }
 
 static const void *num_vfs_gen_param(struct kunit *test, const void *prev, char *desc)
@@ -87,8 +87,10 @@ static int pf_gt_config_test_init(struct kunit *test)
 	vram = kunit_kzalloc(test, sizeof(*vram), GFP_KERNEL);
 	KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vram);
 	vram->usable_size = TEST_VRAM;
+	vram->partitions[0] = (struct xe_vram_pool) { .region = vram, .size = TEST_VRAM };
+	vram->num_partitions = 1;
 	xe->mem.vram = vram;
-	xe->tiles[0].mem.vram = vram;
+	xe->tiles[0].mem.vram = &vram->partitions[0];
 
 	/* pretend we have a valid LMTT */
 	KUNIT_ASSERT_TRUE(test, xe_device_has_lmtt(xe));
drivers/gpu/drm/xe/xe_assert.h +2 -1
index a818eaa05b7dc..1475200751a6b 100644
@@ -147,7 +147,8 @@
 	char __buf[10] __maybe_unused;								\
 	xe_assert_msg(tile_to_xe(__tile), condition, "tile: %u VRAM %s\n" msg,			\
 		      __tile->id, ({ string_get_size(						\
-				     xe_vram_region_actual_physical_size(__tile->mem.vram), 1,	\
+				     xe_vram_region_actual_physical_size(__tile->mem.vram ?	\
+					__tile->mem.vram->region : NULL), 1,			\
 				     STRING_UNITS_2, __buf, sizeof(__buf)); __buf; }), ## arg);	\
 })
 
drivers/gpu/drm/xe/xe_bo.c +75 -27

147 lines not on this page · raw message

drivers/gpu/drm/xe/xe_bo.h +1 -1
index 77b3a02e9b8eb..91804bbfbe0a4 100644
@@ -31,7 +31,7 @@
 #define XE_BO_FLAG_STOLEN		BIT(4)
 #define XE_BO_FLAG_VRAM(vram)		(XE_BO_FLAG_VRAM0 << ((vram)->id))
 #define XE_BO_FLAG_VRAM_IF_DGFX(tile)	(IS_DGFX(tile_to_xe(tile)) ? \
-					 XE_BO_FLAG_VRAM((tile)->mem.vram) : \
+					 XE_BO_FLAG_VRAM((tile)->mem.vram->region) : \
 					 XE_BO_FLAG_SYSTEM)
 #define XE_BO_FLAG_GGTT			BIT(5)
 #define XE_BO_FLAG_IGNORE_MIN_PAGE_SIZE BIT(6)
drivers/gpu/drm/xe/xe_debugfs.c +2 -1
index e59d4964d811d..d654a5cec6114 100644
@@ -31,6 +31,7 @@
 #include "xe_sriov_vf.h"
 #include "xe_step.h"
 #include "xe_sysctrl_debugfs.h"
+#include "xe_tile.h"
 #include "xe_tile_debugfs.h"
 #include "xe_ttm_vram_mgr.h"
 #include "xe_vsec.h"
@@ -100,7 +101,7 @@ static ssize_t inject_mempage_offline_trigger(struct file *f,
 {
 	struct xe_device *xe = file_inode(f)->i_private;
 	struct xe_tile *tile = xe_device_get_root_tile(xe);
-	struct xe_vram_region *vr = tile->mem.vram;
+	struct xe_vram_region *vr = xe_tile_to_vr(tile);
 	u64 pfn;
 	int ret;
 
drivers/gpu/drm/xe/xe_device.c +1 -1
index 6911c2ac39f82..ab8e5cc923d43 100644
@@ -691,7 +691,7 @@ static int xe_device_vram_alloc(struct xe_device *xe)
 	if (!IS_DGFX(xe))
 		return 0;
 
-	vram = drmm_kzalloc(&xe->drm, sizeof(*vram), GFP_KERNEL);
+	vram = xe_vram_region_alloc_device(xe);
 	if (!vram)
 		return -ENOMEM;
 
drivers/gpu/drm/xe/xe_device_types.h +1 -1
index 8f2a319490737..9f707cad0872d 100644
@@ -296,7 +296,7 @@ struct xe_device {
 
 	/** @mem: memory info for device */
 	struct {
-		/** @mem.vram: VRAM info for device */
+		/** @mem.vram: device level VRAM region aggregating all tiles */
 		struct xe_vram_region *vram;
 		/** @mem.sys_mgr: system TTM manager */
 		struct ttm_resource_manager sys_mgr;
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +4 -3
index cca2f837e90b5..d27e143dba07e 100644
@@ -1725,7 +1725,7 @@ static int pf_provision_vf_lmem(struct xe_gt *gt, unsigned int vfid, u64 size)
 	bo = xe_bo_create_pin_range_novm(xe, tile,
 					 ALIGN(size, PAGE_SIZE), 0, ~0ull,
 					 ttm_bo_type_kernel,
-					 XE_BO_FLAG_VRAM(tile->mem.vram) |
+					 XE_BO_FLAG_VRAM(tile->mem.vram->region) |
 					 (alignment == SZ_2M ? XE_BO_FLAG_NEEDS_2M : 0) |
 					 XE_BO_FLAG_PINNED |
 					 XE_BO_FLAG_PINNED_LATE_RESTORE |
@@ -1936,7 +1936,8 @@ static u64 pf_query_free_lmem(struct xe_gt *gt)
 {
 	struct xe_tile *tile = gt->tile;
 
-	return xe_ttm_vram_get_avail(&tile->mem.vram->ttm.manager);
+	/* Only the general-purpose pool can back VF LMEM, see pf_provision_vf_lmem() */
+	return xe_ttm_vram_get_pool_avail(tile->mem.vram);
 }
 
 static u64 pf_query_max_lmem(struct xe_gt *gt)
@@ -1977,7 +1978,7 @@ static u64 pf_profile_fair_lmem(struct xe_gt *gt, unsigned int num_vfs)
 {
 	struct xe_tile *tile = gt_to_tile(gt);
 	bool admin_only_pf = xe_sriov_pf_admin_only(tile->xe);
-	u64 usable = xe_vram_region_usable_size(tile->mem.vram);
+	u64 usable = xe_vram_pool_usable_size(tile->mem.vram);
 	u64 spare = pf_get_min_spare_lmem(gt);
 	u64 available = usable > spare ? usable - spare : 0;
 	u64 shareable = ALIGN_DOWN(available, SZ_1G);
drivers/gpu/drm/xe/xe_migrate.c +1 -1
index 102c96d6cea9a..b4fc5371359d7 100644
@@ -2774,7 +2774,7 @@ int xe_migrate_debug_ccs_overlap(struct xe_migrate *m,
 	if (!xe_device_has_flat_ccs(xe))
 		return -EINVAL;
 
-	first_page_dpa = xe_vram_region_dpa_base(m->tile->mem.vram);
+	first_page_dpa = xe_vram_region_dpa_base(m->tile->mem.vram->region);
 	clear_L0_ofs = xe_migrate_vram_ofs(xe, first_page_dpa, true);
 
 	scratch_dpa = xe_bo_addr(scratch_bo, 0, XE_PAGE_SIZE);
drivers/gpu/drm/xe/xe_pagefault.c +2 -1
index 98cce0f12b123..f7d57627eb0d4 100644
@@ -19,6 +19,7 @@
 #include "xe_pagefault_types.h"
 #include "xe_pm.h"
 #include "xe_svm.h"
+#include "xe_tile.h"
 #include "xe_trace_bo.h"
 #include "xe_vm.h"
 
@@ -201,7 +202,7 @@ static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma,
 		xe_validation_ctx_init(&ctx, &vm->xe->val, &exec,
 				       (struct xe_val_flags) {});
 		drm_exec_until_all_locked(&exec) {
-			err = xe_pagefault_begin(&exec, vma, tile->mem.vram,
+			err = xe_pagefault_begin(&exec, vma, xe_tile_to_vr(tile),
 						 needs_vram == 1);
 			drm_exec_retry_on_contention(&exec);
 			xe_validation_retry_on_oom(&ctx, &err);
drivers/gpu/drm/xe/xe_query.c +5 -1
index 9cc35fc83954f..850510443dc77 100644
@@ -414,12 +414,16 @@ static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query
 		 * However the uAPI is generic and it's userspace's
 		 * responsibility to check the mem_class, without any
 		 * assumption.
+		 *
+		 * Only the general-purpose VRAM region of a tile is ever
+		 * exposed, and there is exactly one of them per tile, so its
+		 * region id doubles as the tile index here.
 		 */
 		if (!IS_DGFX(xe))
 			gt_list->gt_list[iter].near_mem_regions = 0x1;
 		else
 			gt_list->gt_list[iter].near_mem_regions =
-				BIT(gt_to_tile(gt)->mem.vram->id) << 1;
+				BIT(gt_to_tile(gt)->mem.vram->region->id) << 1;
 		gt_list->gt_list[iter].far_mem_regions = xe->info.mem_region_mask ^
 			gt_list->gt_list[iter].near_mem_regions;
 
drivers/gpu/drm/xe/xe_svm.c +1 -1
index bc6902b5bf57b..1f6159e97d910 100644
@@ -2113,7 +2113,7 @@ int xe_pagemap_cache_create(struct xe_tile *tile)
 		if (IS_ERR(cache))
 			return PTR_ERR(cache);
 
-		tile->mem.vram->dpagemap_cache = cache;
+		tile->mem.vram->region->dpagemap_cache = cache;
 	}
 
 	return 0;
drivers/gpu/drm/xe/xe_tile.c +8 -14
index 810dfd98d8300..205058e67fdeb 100644
@@ -119,20 +119,12 @@ int xe_tile_alloc_vram(struct xe_tile *tile)
 	if (!IS_DGFX(xe))
 		return 0;
 
-	vram = xe_vram_region_alloc(xe, tile->id, XE_PL_VRAM0 + tile->id);
+	vram = xe_vram_region_alloc_tile(xe, tile->id);
 	if (!vram)
 		return -ENOMEM;
-	tile->mem.vram = vram;
+	tile->mem.vram = xe_vram_region_default_pool(vram);
 
-	/*
-	 * If the kernel_vram is not already allocated,
-	 * it means that tile has common VRAM region for
-	 * kernel and user space.
-	 */
-	if (!tile->mem.kernel_vram)
-		tile->mem.kernel_vram = tile->mem.vram;
-
-	return 0;
+	return xe_vram_tile_alloc_kernel(tile);
 }
 
 /**
@@ -190,12 +182,14 @@ int xe_tile_init_noalloc(struct xe_tile *tile)
 	if (err)
 		return err;
 
-	if (IS_DGFX(xe) && !ttm_resource_manager_used(&tile->mem.vram->ttm.manager)) {
-		err = xe_ttm_vram_mgr_init(xe, tile->mem.vram);
+	if (IS_DGFX(xe) && !ttm_resource_manager_used(&tile->mem.vram->region->ttm.manager)) {
+		err = xe_ttm_vram_mgr_init(xe, tile->mem.vram->region);
 		if (err)
 			return err;
 
-		xe->info.mem_region_mask |= BIT(tile->mem.vram->id) << 1;
+		/* The uAPI indexes the general-purpose region of a tile by tile id */
+		xe_assert(xe, tile->mem.vram->region->id == tile->id);
+		xe->info.mem_region_mask |= BIT(tile->mem.vram->region->id) << 1;
 	}
 
 	return xe_tile_sysfs_init(tile);
drivers/gpu/drm/xe/xe_tile.h +4 -2
index a2a2c0e936b8e..ed34447c7d4f6 100644
@@ -7,6 +7,7 @@
 #define _XE_TILE_H_
 
 #include "xe_tile_types.h"
+#include "xe_vram_types.h"
 
 struct xe_device;
 struct xe_pagemap;
@@ -29,11 +30,12 @@ static inline bool xe_tile_is_root(struct xe_tile *tile)
  * struct xe_tile pointer
  * @tile: Pointer to the struct xe_tile.
  *
- * Return: Pointer to the struct xe_vram_region embedded in *@tile.
+ * Return: Pointer to the struct xe_vram_region backing *@tile's general
+ * purpose VRAM pool, or NULL if *@tile has no VRAM.
  */
 static inline struct xe_vram_region *xe_tile_to_vr(struct xe_tile *tile)
 {
-	return tile->mem.vram;
+	return tile->mem.vram ? tile->mem.vram->region : NULL;
 }
 
 #if IS_ENABLED(CONFIG_DRM_XE_PAGEMAP)
drivers/gpu/drm/xe/xe_tile_debugfs.c +2 -2
index 5df2f461b7b7a..b69f4521eed35 100644
@@ -109,8 +109,8 @@ static const struct drm_info_list vf_safe_debugfs_list[] = {
 static void tile_debugfs_create_vram_mm(struct xe_tile *tile)
 {
 	if (tile->mem.vram)
-		ttm_resource_manager_create_debugfs(&tile->mem.vram->ttm.manager, tile->debugfs,
-						    "vram_mm");
+		ttm_resource_manager_create_debugfs(&tile->mem.vram->region->ttm.manager,
+						    tile->debugfs, "vram_mm");
 }
 
 /**
drivers/gpu/drm/xe/xe_tile_types.h +4 -4
index 3dc011f111a42..4c5696956fff1 100644
@@ -66,20 +66,20 @@ struct xe_tile {
 	/** @mem: memory management info for tile */
 	struct {
 		/**
-		 * @mem.kernel_vram: kernel-dedicated VRAM info for tile.
+		 * @mem.kernel_vram: kernel-dedicated VRAM pool for tile.
 		 *
 		 * Although VRAM is associated with a specific tile, it can
 		 * still be accessed by all tiles' GTs.
 		 */
-		struct xe_vram_region *kernel_vram;
+		struct xe_vram_pool *kernel_vram;
 
 		/**
-		 * @mem.vram: general purpose VRAM info for tile.
+		 * @mem.vram: general purpose VRAM pool for tile.
 		 *
 		 * Although VRAM is associated with a specific tile, it can
 		 * still be accessed by all tiles' GTs.
 		 */
-		struct xe_vram_region *vram;
+		struct xe_vram_pool *vram;
 
 		/** @mem.ggtt: Global graphics translation table */
 		struct xe_ggtt *ggtt;
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +1 -1
index 60f39efb02d05..38a20307f49d6 100644
@@ -63,7 +63,7 @@ static u32 get_wopcm_size(struct xe_device *xe)
 
 static u64 detect_lmembar_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
 {
-	struct xe_vram_region *tile_vram = xe_device_get_root_tile(xe)->mem.vram;
+	struct xe_vram_region *tile_vram = xe_device_get_root_tile(xe)->mem.vram->region;
 	resource_size_t tile_io_start = xe_vram_region_io_start(tile_vram);
 	struct xe_mmio *mmio = xe_root_tile_mmio(xe);
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +22 -10
index 36d47de8b11ba..226f732ee97be 100644
@@ -28,6 +28,7 @@
 #include "xe_res_cursor.h"
 #include "xe_ttm_stolen_mgr.h"
 #include "xe_ttm_vram_mgr.h"
+#include "xe_vram.h"
 #include "xe_vram_types.h"
 
 static inline struct gpu_buddy_block *
@@ -508,7 +509,7 @@ int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,
 			      enum dma_data_direction dir,
 			      struct sg_table **sgt)
 {
-	struct xe_tile *tile = &xe->tiles[res->mem_type - XE_PL_VRAM0];
+	struct xe_vram_region *vram = xe_map_resource_to_region(res);
 	struct xe_ttm_vram_mgr_resource *vres = to_xe_ttm_vram_mgr_resource(res);
 	struct xe_res_cursor cursor;
 	struct scatterlist *sg;
@@ -546,7 +547,7 @@ int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,
 	 */
 	xe_res_first(res, offset, length, &cursor);
 	for_each_sgtable_sg((*sgt), sg, i) {
-		phys_addr_t phys = cursor.start + xe_vram_region_io_start(tile->mem.vram);
+		phys_addr_t phys = cursor.start + xe_vram_region_io_start(vram);
 		size_t size = min_t(u64, cursor.size, SZ_2G);
 		dma_addr_t addr;
 
@@ -613,13 +614,20 @@ void xe_ttm_vram_get_used(struct ttm_resource_manager *man,
 	mutex_unlock(&mgr->lock);
 }
 
-u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man)
+/**
+ * xe_ttm_vram_get_pool_avail - Free memory of a VRAM pool
+ * @pool: The VRAM pool, its region's TTM manager must be initialized
+ *
+ * Return: the number of bytes still available for allocation from @pool.
+ */
+u64 xe_ttm_vram_get_pool_avail(struct xe_vram_pool *pool)
 {
-	struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man);
+	struct xe_ttm_vram_mgr *mgr = &pool->region->ttm;
 	u64 avail;
 
+	/* A pool still spans the whole region of its manager */
 	mutex_lock(&mgr->lock);
-	avail =  mgr->mm.avail;
+	avail = mgr->mm.avail;
 	mutex_unlock(&mgr->lock);
 
 	return avail;
@@ -885,11 +893,13 @@ static struct xe_vram_region *xe_ttm_vram_addr_to_region(struct xe_device *xe, u
 	u8 id;
 
 	for_each_tile(tile, xe, id) {
-		struct xe_vram_region *vr = tile->mem.vram;
+		struct xe_vram_region *vr;
 
-		if (!vr)
+		if (!tile->mem.vram)
 			continue;
 
+		vr = tile->mem.vram->region;
+
 		if (addr >= vr->dpa_base && addr < (vr->dpa_base + vr->usable_size))
 			return vr;
 
@@ -984,7 +994,7 @@ EXPORT_SYMBOL(xe_ttm_vram_handle_addr_fault);
 int xe_ttm_vram_inject_fault(struct xe_device *xe)
 {
 	struct xe_tile *tile = xe_device_get_root_tile(xe);
-	struct xe_vram_region *vr = tile->mem.vram;
+	struct xe_vram_region *vr = tile->mem.vram->region;
 	struct xe_ttm_vram_mgr *vram_mgr = &vr->ttm;
 	struct gpu_buddy *mm = &vram_mgr->mm;
 	u64 addr;
@@ -1036,11 +1046,13 @@ static int vram_bad_pages_show(struct seq_file *m, void *unused)
 	seq_printf(m, "max_pages: %u\n", xe_ras_get_max_pages(xe));
 
 	for_each_tile(tile, xe, id) {
-		struct xe_vram_region *vr = tile->mem.vram;
+		struct xe_vram_region *vr;
 
 		man = ttm_manager_type(&xe->ttm, XE_PL_VRAM0 + id);
-		if (!man || !vr)
+		if (!man || !tile->mem.vram)
 			continue;
+
+		vr = tile->mem.vram->region;
 		mgr = to_xe_ttm_vram_mgr(man);
 
 		mutex_lock(&mgr->lock);
drivers/gpu/drm/xe/xe_ttm_vram_mgr.h +2 -1
index d77f067d197b2..6cf8217ec46b5 100644
@@ -7,6 +7,7 @@
 #define _XE_TTM_VRAM_MGR_H_
 
 #include "xe_ttm_vram_mgr_types.h"
+#include "xe_vram_types.h"
 
 enum dma_data_direction;
 struct xe_device;
@@ -27,7 +28,7 @@ int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,
 void xe_ttm_vram_mgr_free_sgt(struct device *dev, enum dma_data_direction dir,
 			      struct sg_table *sgt);
 
-u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man);
+u64 xe_ttm_vram_get_pool_avail(struct xe_vram_pool *pool);
 u64 xe_ttm_vram_get_cpu_visible_size(struct ttm_resource_manager *man);
 void xe_ttm_vram_get_used(struct ttm_resource_manager *man,
 			  u64 *used, u64 *used_visible);
drivers/gpu/drm/xe/xe_vram.c +191 -19

296 lines not on this page · raw message

drivers/gpu/drm/xe/xe_vram.h +12 -2
index 38425d81f777f..1f15ca456f191 100644
@@ -8,14 +8,24 @@
 
 #include <linux/types.h>
 
+#include "xe_vram_types.h"
+
 struct xe_device;
-struct xe_vram_region;
+struct xe_tile;
 struct ttm_resource;
+struct ttm_place;
 
 struct xe_vram_region *xe_map_resource_to_region(struct ttm_resource *res);
 int xe_vram_probe(struct xe_device *xe);
 
-struct xe_vram_region *xe_vram_region_alloc(struct xe_device *xe, u8 id, u32 placement);
+struct xe_vram_region *xe_vram_region_alloc_device(struct xe_device *xe);
+struct xe_vram_region *xe_vram_region_alloc_tile(struct xe_device *xe, u8 id);
+struct xe_vram_pool *xe_vram_region_default_pool(struct xe_vram_region *vram);
+int xe_vram_tile_alloc_kernel(struct xe_tile *tile);
+
+void xe_vram_pool_place(const struct xe_vram_pool *pool, struct ttm_place *place);
+struct xe_vram_pool *xe_vram_region_addr_to_pool(struct xe_vram_region *vram, u64 addr);
+resource_size_t xe_vram_pool_usable_size(const struct xe_vram_pool *pool);
 
 resource_size_t xe_vram_region_io_start(const struct xe_vram_region *vram);
 resource_size_t xe_vram_region_io_size(const struct xe_vram_region *vram);
Signature · 1 line
2.34.1
#11 lore raw

PATCH v4 4/7 drm/xe/ttm: Back each VRAM pool with its own buddy allocator

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Give every pool of a VRAM region a buddy allocator of its own, so that an allocation can be confined to a pool without resorting to %GPU_BUDDY_RANGE_ALLOCATION, which constrains the buddy algorithm.

Buddy offsets become partition relative, so resources and the resource cursor now carry the partition their blocks were allocated from.

A placement range narrowed down to a pool may end up empty, e.g. a small BAR CPU visible window not reaching the pool, so such a range is rejected up front instead of underflowing the size check and the partition relative offsets.

Usage reporting follows the pools: the memory region query reports the size, usage and CPU visible usage of the general-purpose pools only, with CPU visible usage now tracked per partition, and the free VRAM of a pool is that of its own partition.

While at it, make xe_ttm_vram_mgr_intersects() and xe_ttm_vram_mgr_compatible() treat a zero lpfn as no upper limit, as TTM defines it, rather than as an empty range when fpfn is non-zero.

Regions still have a single pool spanning their whole usable range, so apart from the above lpfn handling there is no functional change.

---
 drivers/gpu/drm/xe/xe_query.c              |  21 +-
 drivers/gpu/drm/xe/xe_res_cursor.h         |  45 +--
 drivers/gpu/drm/xe/xe_svm.c                |  16 +-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 366 ++++++++++++++++-----
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h       |  51 ++-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h |   2 -
 6 files changed, 370 insertions(+), 131 deletions(-)
drivers/gpu/drm/xe/xe_query.c +13 -8
index 850510443dc77..6ec02fe4af0b2 100644
@@ -284,6 +284,14 @@ static int query_mem_regions(struct xe_device *xe,
 	for (i = XE_PL_VRAM0; i <= XE_PL_VRAM1; ++i) {
 		man = ttm_manager_type(&xe->ttm, i);
 		if (man) {
+			u64 total_size;
+			u64 visible_size;
+			u64 used_visible;
+			u64 used;
+
+			xe_ttm_vram_get_general_pool_sizes(man, &total_size, &visible_size);
+			xe_ttm_vram_get_general_pool_used(man, &used, &used_visible);
+
 			mem_regions->mem_regions[mem_regions->num_mem_regions].mem_class =
 				DRM_XE_MEM_REGION_CLASS_VRAM;
 			mem_regions->mem_regions[mem_regions->num_mem_regions].instance =
@@ -292,16 +300,13 @@ static int query_mem_regions(struct xe_device *xe,
 				xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ?
 				SZ_64K : PAGE_SIZE;
 			mem_regions->mem_regions[mem_regions->num_mem_regions].total_size =
-				man->size;
-
-			xe_ttm_vram_get_used(man,
-					     &mem_regions->mem_regions
-					     [mem_regions->num_mem_regions].used,
-					     &mem_regions->mem_regions
-					     [mem_regions->num_mem_regions].cpu_visible_used);
+				total_size;
 
+			mem_regions->mem_regions[mem_regions->num_mem_regions].used = used;
+			mem_regions->mem_regions[mem_regions->num_mem_regions].cpu_visible_used =
+				used_visible;
 			mem_regions->mem_regions[mem_regions->num_mem_regions].cpu_visible_size =
-				xe_ttm_vram_get_cpu_visible_size(man);
+				visible_size;
 			mem_regions->num_mem_regions++;
 		}
 	}
drivers/gpu/drm/xe/xe_res_cursor.h +23 -22

99 lines not on this page · raw message

drivers/gpu/drm/xe/xe_svm.c +5 -11
index 1f6159e97d910..250466615bb5b 100644
@@ -804,28 +804,22 @@ static u64 block_offset_to_pfn(struct drm_pagemap *dpagemap, u64 offset)
 	return PHYS_PFN(offset + xpagemap->hpa_base);
 }
 
-static struct gpu_buddy *vram_to_buddy(struct xe_vram_region *vram)
-{
-	return &vram->ttm.mm;
-}
-
 static int xe_svm_populate_devmem_pfn(struct drm_pagemap_devmem *devmem_allocation,
 				      unsigned long npages, unsigned long *pfn)
 {
 	struct xe_bo *bo = to_xe_bo(devmem_allocation);
 	struct ttm_resource *res = bo->ttm.resource;
-	struct list_head *blocks = &to_xe_ttm_vram_mgr_resource(res)->blocks;
-	struct xe_vram_region *vr = xe_map_resource_to_region(res);
-	struct gpu_buddy *buddy = vram_to_buddy(vr);
+	struct xe_ttm_vram_mgr_resource *vres = to_xe_ttm_vram_mgr_resource(res);
 	struct gpu_buddy_block *block;
 	int j = 0;
 
-	list_for_each_entry(block, blocks, link) {
+	list_for_each_entry(block, &vres->blocks, link) {
+		u64 offset = xe_ttm_vram_mgr_block_offset(vres->part, block);
 		u64 block_pfn = block_offset_to_pfn(devmem_allocation->dpagemap,
-						    gpu_buddy_block_offset(block));
+						    offset);
 		int i;
 
-		for (i = 0; i < gpu_buddy_block_size(buddy, block) >> PAGE_SHIFT; ++i)
+		for (i = 0; i < xe_ttm_vram_mgr_block_size(vres->part, block) >> PAGE_SHIFT; ++i)
 			pfn[j++] = block_pfn + i;
 	}
 
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +284 -82

674 lines not on this page · raw message

drivers/gpu/drm/xe/xe_ttm_vram_mgr.h +45 -6

67 lines not on this page · raw message

drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h +0 -2
index 1da3c82b28585..a287acafb4ebb 100644
@@ -55,8 +55,6 @@ struct xe_ttm_vram_mgr_part {
 struct xe_ttm_vram_mgr {
 	/** @manager: Base TTM resource manager */
 	struct ttm_resource_manager manager;
-	/** @mm: DRM buddy allocator which manages the VRAM */
-	struct gpu_buddy mm;
 	/** @parts: Partitions this VRAM region is split into */
 	struct xe_ttm_vram_mgr_part parts[XE_TTM_VRAM_MGR_MAX_PARTS];
 	/** @num_parts: Number of initialized entries in @parts */
Signature · 1 line
2.34.1
#12 lore raw

PATCH v4 5/7 drm/xe/vram: Allow splitting a region into pools

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Add xe_vram_pool_create(), which carves a pool with a dedicated purpose out of the low addresses of a region and shrinks the default pool accordingly. This is the building block for reserving a range of a tile's VRAM exclusively for a given purpose, e.g. the lowest chunk for kernel allocations. Placement of such a pool is narrowed to the page range it covers, and the VRAM manager backs it with a buddy allocator of its own.

BO placement resolves pools through the tile, so creating a pool does not by itself redirect any allocation, the caller has to publish the new pool in the tile.

Nothing creates a second pool yet, so there is still no functional change.

---
 drivers/gpu/drm/xe/xe_vram.c | 88 ++++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_vram.h |  2 +
 2 files changed, 87 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_vram.c +85 -3
index 583906f93bc43..6e0f5c4660e4e 100644
@@ -42,6 +42,18 @@ static const char *stringify_vram_binding(enum xe_vram_binding binding)
 	return "Unknown";
 }
 
+static const char *stringify_vram_pool_purpose(enum xe_vram_pool_purpose purpose)
+{
+	switch (purpose) {
+	case XE_VRAM_POOL_GENERAL:
+		return "General";
+	case XE_VRAM_POOL_KERNEL:
+		return "Kernel";
+	}
+
+	return "Unknown";
+}
+
 static bool resource_is_valid(struct pci_dev *pdev, int bar)
 {
 	if (!pci_resource_flags(pdev, bar))
@@ -299,7 +311,8 @@ struct xe_vram_pool *xe_vram_region_default_pool(struct xe_vram_region *vram)
  * xe_vram_tile_alloc_kernel - Initialize the kernel VRAM pool of a tile
  * @tile: the &xe_tile, with its general purpose VRAM pool already allocated
  *
- * Kernel allocations use the general-purpose pool by default.
+ * Kernel allocations use the general-purpose pool by default. A separate
+ * kernel-only pool can be created explicitly with xe_vram_pool_create().
  *
  * Return: 0 on success, negative error code on failure.
  */
@@ -364,19 +377,88 @@ static int vram_region_init(struct xe_device *xe, struct xe_vram_region *vram,
 	vram->dpa_base = lmem_bar->dpa_base + offset;
 	vram->usable_size = usable_size;
 
+	print_vram_region_info(xe, vram);
+
 	/* The device aggregate only reports sizes, nothing is allocated from it */
 	if (vram->binding != XE_VRAM_BINDING_DEVICE) {
 		/* Until split, partitions[0] spans the whole usable range */
 		vram->partitions[0].offset = 0;
 		vram->partitions[0].size = usable_size;
 		vram->num_partitions = 1;
+		drm_info(&xe->drm,
+			 "Created %s[%u] VRAM pool[%u]: purpose=%s offset=0x%llx size=0x%llx\n",
+			 stringify_vram_binding(vram->binding), vram->id, 0,
+			 stringify_vram_pool_purpose(vram->partitions[0].purpose),
+			 vram->partitions[0].offset, vram->partitions[0].size);
 	}
 
-	print_vram_region_info(xe, vram);
-
 	return 0;
 }
 
+/**
+ * xe_vram_pool_create - Add a pool to a VRAM region
+ * @vram: the VRAM region
+ * @purpose: the purpose served by the new pool
+ * @size: the size of the new pool
+ *
+ * Add a pool at the bottom of @vram and shrink the default pool accordingly.
+ * Existing non-default pools stay at the bottom in creation order. All pools
+ * share the region, the TTM manager and the placement, while the VRAM manager
+ * backs each of them with a buddy allocator of its own.
+ *
+ * The bottom of a region is also where its CPU visible window starts, so on
+ * a small BAR device the new pool takes CPU visible memory away from the
+ * default pool.
+ *
+ * Creating a pool does not make allocations use it. BO placement resolves
+ * pools through the tile, so the caller has to publish the new pool there,
+ * e.g. in &xe_tile.mem.kernel_vram for a kernel-only pool.
+ *
+ * Return: the new pool, or NULL if the pool cannot be created, in particular
+ * once the TTM manager of @vram is initialized.
+ */
+struct xe_vram_pool *xe_vram_pool_create(struct xe_vram_region *vram,
+					 enum xe_vram_pool_purpose purpose, u64 size)
+{
+	struct xe_device *xe = vram->xe;
+	struct xe_vram_pool *pool;
+	u64 offset;
+
+	/* Splitting is only safe while no memory has been handed out yet */
+	if (ttm_resource_manager_used(&vram->ttm.manager))
+		return NULL;
+
+	/* A region without partitions, e.g. the device aggregate, cannot split */
+	if (!vram->num_partitions ||
+	    vram->num_partitions >= XE_VRAM_MAX_PARTITIONS)
+		return NULL;
+
+	if (!size || !IS_ALIGNED(size, XE_TTM_VRAM_MGR_PART_ALIGN))
+		return NULL;
+
+	if (size >= vram->partitions[0].size)
+		return NULL;
+
+	offset = vram->partitions[0].offset;
+	pool = &vram->partitions[vram->num_partitions];
+	*pool = (struct xe_vram_pool) {
+		.region = vram,
+		.offset = offset,
+		.size = size,
+		.purpose = purpose,
+	};
+	vram->partitions[0].offset += size;
+	vram->partitions[0].size -= size;
+	vram->num_partitions++;
+	drm_info(&xe->drm,
+		 "Created %s[%u] VRAM pool[%u]: purpose=%s offset=0x%llx size=0x%llx\n",
+		 stringify_vram_binding(vram->binding), vram->id,
+		 vram->num_partitions - 1,
+		 stringify_vram_pool_purpose(pool->purpose), pool->offset, pool->size);
+
+	return pool;
+}
+
 /**
  * xe_vram_pool_place - Fill in the TTM placement of a pool
  * @pool: the VRAM pool to place in
drivers/gpu/drm/xe/xe_vram.h +2 -0
index 1f15ca456f191..23283cfe5fed7 100644
@@ -21,6 +21,8 @@ int xe_vram_probe(struct xe_device *xe);
 struct xe_vram_region *xe_vram_region_alloc_device(struct xe_device *xe);
 struct xe_vram_region *xe_vram_region_alloc_tile(struct xe_device *xe, u8 id);
 struct xe_vram_pool *xe_vram_region_default_pool(struct xe_vram_region *vram);
+struct xe_vram_pool *xe_vram_pool_create(struct xe_vram_region *vram,
+					 enum xe_vram_pool_purpose purpose, u64 size);
 int xe_vram_tile_alloc_kernel(struct xe_tile *tile);
 
 void xe_vram_pool_place(const struct xe_vram_pool *pool, struct ttm_place *place);
Signature · 1 line
2.34.1
#13 lore raw

PATCH v4 6/7 drm/xe/kunit: Test partitioned VRAM manager

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Exercise partition selection and address lookup, plus pool usage and CPU-visible memory accounting across partitions.

v2:
- Guard the test include with IS_BUILTIN() instead of IS_ENABLED(), so that the suite is not built into xe.ko when the KUnit tests are modular (Sashiko).

---
 drivers/gpu/drm/xe/tests/xe_ttm_vram_mgr.c | 147 +++++++++++++++++++++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       |   4 +
 2 files changed, 151 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_ttm_vram_mgr.c
drivers/gpu/drm/xe/tests/xe_ttm_vram_mgr.c new file +147 -0
new file mode 100644
index 0000000000000..1ad3186e6d5be
@@ -0,0 +1,147 @@
+// SPDX-License-Identifier: GPL-2.0 AND MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <kunit/test.h>
+
+#include "xe_vram_types.h"
+
+/* The layout xe_ttm_vram_mgr_init() derives from the pools of a region */
+static struct xe_ttm_vram_mgr *split_mgr(struct kunit *test, u64 kernel_size, u64 size)
+{
+	struct xe_ttm_vram_mgr *mgr;
+	struct xe_vram_pool *pools;
+
+	mgr = kunit_kzalloc(test, sizeof(*mgr), GFP_KERNEL);
+	KUNIT_ASSERT_NOT_NULL(test, mgr);
+	pools = kunit_kcalloc(test, 2, sizeof(*pools), GFP_KERNEL);
+	KUNIT_ASSERT_NOT_NULL(test, pools);
+
+	pools[0].offset = 0;
+	pools[0].size = kernel_size;
+	pools[0].purpose = XE_VRAM_POOL_KERNEL;
+	pools[1].offset = kernel_size;
+	pools[1].size = size - kernel_size;
+	pools[1].purpose = XE_VRAM_POOL_GENERAL;
+	mgr->parts[0].pool = &pools[0];
+	mgr->parts[1].pool = &pools[1];
+	mgr->num_parts = 2;
+
+	return mgr;
+}
+
+static void select_part(struct kunit *test)
+{
+	struct xe_ttm_vram_mgr *mgr = split_mgr(test, SZ_128M, SZ_1G);
+	struct xe_ttm_vram_mgr_part *part;
+	bool exact = false;
+
+	/* The ranges a pool resolves to cover a whole partition */
+	part = xe_ttm_vram_mgr_select_part(mgr, 0, SZ_128M, &exact);
+	KUNIT_EXPECT_PTR_EQ(test, part, &mgr->parts[0]);
+	KUNIT_EXPECT_TRUE(test, exact);
+
+	part = xe_ttm_vram_mgr_select_part(mgr, SZ_128M, SZ_1G, &exact);
+	KUNIT_EXPECT_PTR_EQ(test, part, &mgr->parts[1]);
+	KUNIT_EXPECT_TRUE(test, exact);
+
+	/* A narrower range still resolves, but needs a range allocation */
+	part = xe_ttm_vram_mgr_select_part(mgr, SZ_256M, SZ_512M, &exact);
+	KUNIT_EXPECT_PTR_EQ(test, part, &mgr->parts[1]);
+	KUNIT_EXPECT_FALSE(test, exact);
+
+	/* Partitions are a hard split */
+	part = xe_ttm_vram_mgr_select_part(mgr, 0, SZ_256M, &exact);
+	KUNIT_EXPECT_NULL(test, part);
+	part = xe_ttm_vram_mgr_select_part(mgr, 0, SZ_2G, &exact);
+	KUNIT_EXPECT_NULL(test, part);
+}
+
+static void addr_to_part(struct kunit *test)
+{
+	struct xe_ttm_vram_mgr *mgr = split_mgr(test, SZ_128M, SZ_1G);
+
+	KUNIT_EXPECT_PTR_EQ(test, xe_ttm_vram_mgr_addr_to_part(mgr, 0), &mgr->parts[0]);
+	KUNIT_EXPECT_PTR_EQ(test, xe_ttm_vram_mgr_addr_to_part(mgr, SZ_128M - PAGE_SIZE),
+			    &mgr->parts[0]);
+	KUNIT_EXPECT_PTR_EQ(test, xe_ttm_vram_mgr_addr_to_part(mgr, SZ_128M), &mgr->parts[1]);
+	KUNIT_EXPECT_PTR_EQ(test, xe_ttm_vram_mgr_addr_to_part(mgr, SZ_1G - PAGE_SIZE),
+			    &mgr->parts[1]);
+	KUNIT_EXPECT_NULL(test, xe_ttm_vram_mgr_addr_to_part(mgr, SZ_1G));
+}
+
+static void general_pool_usage(struct kunit *test)
+{
+	struct xe_ttm_vram_mgr *mgr = split_mgr(test, SZ_128M, SZ_1G);
+	LIST_HEAD(kernel_blocks);
+	LIST_HEAD(general_blocks);
+	u64 kernel_visible = 0;
+	u64 general_visible = 0;
+	u64 used, used_visible;
+	unsigned int i;
+	int err;
+
+	mutex_init(&mgr->lock);
+	/* Only the bottom 256M are CPU visible */
+	mgr->visible_size = SZ_256M;
+	mgr->visible_avail = SZ_256M;
+	for (i = 0; i < mgr->num_parts; ++i) {
+		KUNIT_ASSERT_EQ(test, gpu_buddy_init(&mgr->parts[i].mm,
+						     mgr->parts[i].pool->size,
+						     PAGE_SIZE), 0);
+		gpu_buddy_driver_set_lock(&mgr->parts[i].mm, &mgr->lock);
+	}
+
+	mutex_lock(&mgr->lock);
+	err = xe_ttm_vram_buddy_alloc(mgr, &mgr->parts[0], 0, SZ_128M, SZ_8M,
+				      PAGE_SIZE, &kernel_blocks,
+				      GPU_BUDDY_RANGE_ALLOCATION, NULL,
+				      &kernel_visible);
+	KUNIT_EXPECT_EQ(test, err, 0);
+	/* Straddles the end of the CPU visible window */
+	err = xe_ttm_vram_buddy_alloc(mgr, &mgr->parts[1], SZ_256M - SZ_4M,
+				      SZ_256M + SZ_4M, SZ_8M, PAGE_SIZE,
+				      &general_blocks,
+				      GPU_BUDDY_RANGE_ALLOCATION, NULL,
+				      &general_visible);
+	KUNIT_EXPECT_EQ(test, err, 0);
+	mutex_unlock(&mgr->lock);
+
+	KUNIT_EXPECT_EQ(test, kernel_visible, (u64)SZ_8M);
+	KUNIT_EXPECT_EQ(test, general_visible, (u64)SZ_4M);
+	KUNIT_EXPECT_EQ(test, mgr->visible_avail, (u64)(SZ_256M - SZ_8M - SZ_4M));
+
+	/* Memory taken from the kernel-only pool is not reported */
+	xe_ttm_vram_get_general_pool_used(&mgr->manager, &used, &used_visible);
+	KUNIT_EXPECT_EQ(test, used, (u64)SZ_8M);
+	KUNIT_EXPECT_EQ(test, used_visible, (u64)SZ_4M);
+
+	mutex_lock(&mgr->lock);
+	xe_ttm_vram_buddy_free(mgr, &mgr->parts[0], &kernel_blocks, kernel_visible);
+	xe_ttm_vram_buddy_free(mgr, &mgr->parts[1], &general_blocks, general_visible);
+	mutex_unlock(&mgr->lock);
+
+	xe_ttm_vram_get_general_pool_used(&mgr->manager, &used, &used_visible);
+	KUNIT_EXPECT_EQ(test, used, 0ull);
+	KUNIT_EXPECT_EQ(test, used_visible, 0ull);
+	KUNIT_EXPECT_EQ(test, mgr->visible_avail, (u64)SZ_256M);
+
+	for (i = 0; i < mgr->num_parts; ++i)
+		gpu_buddy_fini(&mgr->parts[i].mm);
+	mutex_destroy(&mgr->lock);
+}
+
+static struct kunit_case xe_ttm_vram_mgr_tests[] = {
+	KUNIT_CASE(select_part),
+	KUNIT_CASE(addr_to_part),
+	KUNIT_CASE(general_pool_usage),
+	{}
+};
+
+static struct kunit_suite xe_ttm_vram_mgr_test_suite = {
+	.name = "xe_ttm_vram_mgr",
+	.test_cases = xe_ttm_vram_mgr_tests,
+};
+
+kunit_test_suite(xe_ttm_vram_mgr_test_suite);
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +4 -0
index 83baeec2ef9b1..886b2712ff848 100644
@@ -1303,3 +1303,7 @@ void xe_ttm_vram_debugfs_init(struct xe_device *xe, struct dentry *root)
 		return;
 	debugfs_create_file("vram_bad_pages", 0444, root, xe, &vram_bad_pages_fops);
 }
+
+#if IS_BUILTIN(CONFIG_DRM_XE_KUNIT_TEST)
+#include "tests/xe_ttm_vram_mgr.c"
+#endif
Signature · 1 line
2.34.1
#14 lore raw

PATCH v4 7/7 drm/xe/kunit: Test VRAM pool allocation

In reply to Piórkowski, Piotr

From: Piotr Piórkowski <[email protected]>

Exercise default pool setup, pool splitting and partition limits, and TTM placement range narrowing.

v2:
- Guard the test include with IS_BUILTIN() instead of IS_ENABLED(), so that the suite is not built into xe.ko when the KUnit tests are modular, as reported by Sashiko for the partitioned VRAM manager test.

---
 drivers/gpu/drm/xe/tests/xe_vram.c | 177 +++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_vram.c       |   4 +
 2 files changed, 181 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_vram.c
drivers/gpu/drm/xe/tests/xe_vram.c new file +177 -0
new file mode 100644
index 0000000000000..de4cc3bff0f03
@@ -0,0 +1,177 @@
+// SPDX-License-Identifier: GPL-2.0 AND MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <kunit/test.h>
+
+#include "xe_kunit_helpers.h"
+#include "xe_pci_test.h"
+
+static int xe_vram_test_init(struct kunit *test)
+{
+	struct xe_pci_fake_data fake = {
+		.platform = XE_BATTLEMAGE,
+		.graphics_verx100 = 2001,
+	};
+
+	test->priv = &fake;
+	xe_kunit_helper_xe_device_test_init(test);
+
+	return 0;
+}
+
+static struct xe_vram_pool *tile_pool(struct kunit *test, struct xe_device *xe)
+{
+	struct xe_vram_region *vram = xe_vram_region_alloc_tile(xe, 0);
+	struct xe_vram_pool *pool;
+
+	KUNIT_ASSERT_NOT_NULL(test, vram);
+	vram->usable_size = SZ_64M;
+	vram->io_size = SZ_64M;
+	pool = xe_vram_region_default_pool(vram);
+	pool->size = SZ_64M;
+	pool->purpose = XE_VRAM_POOL_GENERAL;
+	vram->num_partitions = 1;
+
+	return pool;
+}
+
+static void kernel_pool_defaults_to_general(struct kunit *test)
+{
+	struct xe_device *xe = test->priv;
+	struct xe_vram_pool *general = tile_pool(test, xe);
+	struct xe_tile *tile = &xe->tiles[0];
+
+	tile->mem.vram = general;
+	tile->mem.kernel_vram = NULL;
+
+	KUNIT_ASSERT_EQ(test, xe_vram_tile_alloc_kernel(tile), 0);
+	KUNIT_EXPECT_PTR_EQ(test, tile->mem.kernel_vram, tile->mem.vram);
+}
+
+static void partition_carve(struct kunit *test)
+{
+	struct xe_device *xe = test->priv;
+	struct xe_vram_pool *general = tile_pool(test, xe);
+	struct xe_vram_region *vram = general->region;
+	struct xe_vram_pool *kernel0 = &vram->partitions[1];
+
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, 0), NULL);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_1M), NULL);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_64M), NULL);
+	KUNIT_EXPECT_EQ(test, vram->num_partitions, 1u);
+
+	KUNIT_ASSERT_NOT_NULL(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_8M));
+	KUNIT_ASSERT_EQ(test, vram->num_partitions, 2u);
+	KUNIT_EXPECT_EQ(test, kernel0->purpose, XE_VRAM_POOL_KERNEL);
+	KUNIT_EXPECT_EQ(test, kernel0->offset, 0ull);
+	KUNIT_EXPECT_EQ(test, kernel0->size, (u64)SZ_8M);
+	KUNIT_EXPECT_EQ(test, general->purpose, XE_VRAM_POOL_GENERAL);
+	KUNIT_EXPECT_EQ(test, general->offset, (u64)SZ_8M);
+	KUNIT_EXPECT_EQ(test, general->size, (u64)(SZ_64M - SZ_8M));
+
+	/* Both partitions keep sharing the region, its manager and its placement */
+	KUNIT_EXPECT_PTR_EQ(test, kernel0->region, vram);
+	KUNIT_EXPECT_PTR_EQ(test, general->region, vram);
+	KUNIT_EXPECT_EQ(test, vram->placement, (u32)XE_PL_VRAM0);
+
+	KUNIT_EXPECT_EQ(test, xe_vram_pool_usable_size(kernel0), (resource_size_t)SZ_8M);
+	KUNIT_EXPECT_EQ(test, xe_vram_pool_usable_size(general),
+			(resource_size_t)(SZ_64M - SZ_8M));
+}
+
+static void partition_limit(struct kunit *test)
+{
+	struct xe_device *xe = test->priv;
+	struct xe_vram_pool *general = tile_pool(test, xe);
+	struct xe_vram_region *vram = general->region;
+	struct xe_vram_pool *pool;
+	unsigned int i;
+
+	for (i = 1; i < XE_VRAM_MAX_PARTITIONS; i++) {
+		pool = xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_2M);
+		KUNIT_ASSERT_NOT_NULL(test, pool);
+	}
+
+	KUNIT_EXPECT_EQ(test, vram->num_partitions, XE_VRAM_MAX_PARTITIONS);
+	KUNIT_EXPECT_PTR_EQ(test,
+			    xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_2M),
+			    NULL);
+}
+
+static void pool_place(struct kunit *test)
+{
+	struct xe_device *xe = test->priv;
+	struct xe_vram_pool *general = tile_pool(test, xe);
+	struct xe_vram_region *vram = general->region;
+	struct xe_vram_pool *kernel = &vram->partitions[1];
+	struct ttm_place place = {};
+
+	/* A pool spanning the region only resolves to its placement */
+	xe_vram_pool_place(general, &place);
+	KUNIT_EXPECT_EQ(test, place.mem_type, (u32)XE_PL_VRAM0);
+	KUNIT_EXPECT_EQ(test, place.fpfn, 0u);
+	KUNIT_EXPECT_EQ(test, place.lpfn, 0u);
+
+	KUNIT_ASSERT_NOT_NULL(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_8M));
+
+	place = (struct ttm_place) {};
+	xe_vram_pool_place(kernel, &place);
+	KUNIT_EXPECT_EQ(test, place.fpfn, 0u);
+	KUNIT_EXPECT_EQ(test, place.lpfn, SZ_8M >> PAGE_SHIFT);
+
+	place = (struct ttm_place) {};
+	xe_vram_pool_place(general, &place);
+	KUNIT_EXPECT_EQ(test, place.fpfn, SZ_8M >> PAGE_SHIFT);
+	KUNIT_EXPECT_EQ(test, place.lpfn, SZ_64M >> PAGE_SHIFT);
+
+	/* A caller supplied range, e.g. the CPU visible one, is only narrowed */
+	place = (struct ttm_place) { .lpfn = SZ_4M >> PAGE_SHIFT };
+	xe_vram_pool_place(kernel, &place);
+	KUNIT_EXPECT_EQ(test, place.fpfn, 0u);
+	KUNIT_EXPECT_EQ(test, place.lpfn, SZ_4M >> PAGE_SHIFT);
+
+	place = (struct ttm_place) { .lpfn = SZ_32M >> PAGE_SHIFT };
+	xe_vram_pool_place(general, &place);
+	KUNIT_EXPECT_EQ(test, place.fpfn, SZ_8M >> PAGE_SHIFT);
+	KUNIT_EXPECT_EQ(test, place.lpfn, SZ_32M >> PAGE_SHIFT);
+}
+
+static void pool_by_addr(struct kunit *test)
+{
+	struct xe_device *xe = test->priv;
+	struct xe_vram_pool *general = tile_pool(test, xe);
+	struct xe_vram_region *vram = general->region;
+	struct xe_vram_pool *kernel = &vram->partitions[1];
+
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, 0), general);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_64M - SZ_4K), general);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_64M), NULL);
+
+	KUNIT_ASSERT_NOT_NULL(test, xe_vram_pool_create(vram, XE_VRAM_POOL_KERNEL, SZ_8M));
+
+	/* An address resolves to the pool covering it, whatever its purpose */
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, 0), kernel);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_8M - SZ_4K), kernel);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_8M), general);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_64M - SZ_4K), general);
+	KUNIT_EXPECT_PTR_EQ(test, xe_vram_region_addr_to_pool(vram, SZ_64M), NULL);
+}
+
+static struct kunit_case xe_vram_tests[] = {
+	KUNIT_CASE(kernel_pool_defaults_to_general),
+	KUNIT_CASE(partition_carve),
+	KUNIT_CASE(partition_limit),
+	KUNIT_CASE(pool_place),
+	KUNIT_CASE(pool_by_addr),
+	{}
+};
+
+static struct kunit_suite xe_vram_test_suite = {
+	.name = "xe_vram",
+	.test_cases = xe_vram_tests,
+	.init = xe_vram_test_init,
+};
+
+kunit_test_suite(xe_vram_test_suite);
drivers/gpu/drm/xe/xe_vram.c +4 -0
index 6e0f5c4660e4e..c9d8c26e88fea 100644
@@ -672,6 +672,10 @@ resource_size_t xe_vram_region_actual_physical_size(const struct xe_vram_region
 }
 EXPORT_SYMBOL_IF_KUNIT(xe_vram_region_actual_physical_size);
 
+#if IS_BUILTIN(CONFIG_DRM_XE_KUNIT_TEST)
+#include "tests/xe_vram.c"
+#endif
+
 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG_MEM)
 static void memtest_bo_cleanup(void *arg)
 {
Signature · 1 line
2.34.1
#15 lore raw

✗ CI.checkpatch: warning for Introduce purpose-specific VRAM pools (rev4)

In reply to Piórkowski, Piotr
== Series Details ==

== Series Details ==

Series: Introduce purpose-specific VRAM pools (rev4)
URL : https://patchwork.freedesktop.org/series/175411/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2b008ab8e7620d2d7219f84f2830ec94ce0a7276

Author: Piotr Piórkowski <[email protected]>
Date:   Mon Nov 16 10:45:23 2026 +0100

drm/xe/kunit: Test VRAM pool allocation

Exercise default pool setup, pool splitting and partition limits, and TTM placement range narrowing.

v2:
- Guard the test include with IS_BUILTIN() instead of IS_ENABLED(), so that the suite is not built into xe.ko when the KUnit tests are modular, as reported by Sashiko for the partitioned VRAM manager test.

+ /mt/dim checkpatch 69ace29b145bdfb810085668b0dd90817665577c drm-intel ca74fd548d7a drm/xe: Define partitioned VRAM manager types
0de0678a937d drm/xe: Define VRAM regions and pools
f2c2a439b0fa drm/xe/vram: Make VRAM pools the allocation handle
1fe96dfddabf drm/xe/ttm: Back each VRAM pool with its own buddy allocator 38ba53de2321 drm/xe/vram: Allow splitting a region into pools
7c9027857041 drm/xe/kunit: Test partitioned VRAM manager
-:20: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #20:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 154 lines checked
2b008ab8e762 drm/xe/kunit: Test VRAM pool allocation
-:20: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #20:
new file mode 100644

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

#16 lore raw

✓ CI.KUnit: success for Introduce purpose-specific VRAM pools (rev4)

In reply to Piórkowski, Piotr
== Series Details ==

== Series Details ==

Series: Introduce purpose-specific VRAM pools (rev4)
URL : https://patchwork.freedesktop.org/series/175411/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[11:17:52] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[11:17:57] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[11:18:17] Starting KUnit Kernel (1/1)...
[11:18:17] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:18:17] ================= gpu_buddy (15 subtests) ==================
[11:18:17] [PASSED] gpu_test_buddy_alloc_limit
[11:18:17] [PASSED] gpu_test_buddy_alloc_optimistic
[11:18:17] [PASSED] gpu_test_buddy_alloc_pessimistic
[11:18:17] [PASSED] gpu_test_buddy_alloc_pathological
[11:18:17] [PASSED] gpu_test_buddy_alloc_contiguous
[11:18:17] [PASSED] gpu_test_buddy_alloc_clear
[11:18:17] [PASSED] gpu_test_buddy_alloc_range
[11:18:17] [PASSED] gpu_test_buddy_alloc_range_bias
[11:18:18] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[11:18:19] [PASSED] gpu_test_buddy_fragmentation_performance
[11:18:19] [PASSED] gpu_test_buddy_dirty_tracker_performance
[11:18:19] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[11:18:19] [PASSED] gpu_test_buddy_offset_aligned_allocation
[11:18:19] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[11:18:19] [PASSED] gpu_test_buddy_addr_to_block
[11:18:19] ==================== [PASSED] gpu_buddy ====================
[11:18:19] ============================================================
[11:18:19] Testing complete. Ran 15 tests: passed: 15
[11:18:19] Elapsed time: 27.178s total, 5.098s configuring, 20.162s building, 1.879s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [11:18:19] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [11:19:01] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [11:19:29] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [11:19:43] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[11:19: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
[11:19:54] Starting KUnit Kernel (1/1)...
[11:19:54] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[11:19:54] =============== dma-buf-fence (12 subtests) ================
[11:19:54] [PASSED] test_sanitycheck
[11:19:54] [PASSED] test_signaling
[11:19:54] [PASSED] test_add_callback
[11:19:54] [PASSED] test_late_add_callback
[11:19:54] [PASSED] test_rm_callback
[11:19:54] [PASSED] test_late_rm_callback
[11:19:54] [PASSED] test_status
[11:19:54] [PASSED] test_error
[11:19:54] [PASSED] test_wait
[11:19:54] [PASSED] test_wait_timeout
[11:19:54] [PASSED] test_stub
[11:19:54] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[11:19:54] ================== [PASSED] dma-buf-fence ==================
[11:19:54] ============ dma-buf-fence-chain (11 subtests) =============
[11:19:54] [PASSED] test_sanitycheck
[11:19:54] [PASSED] test_find_seqno
[11:19:54] [PASSED] test_find_signaled
[11:19:54] [PASSED] test_find_out_of_order
[11:19:59] [PASSED] test_find_gap
[11:19:59] [PASSED] test_find_race
[11:19:59] [PASSED] test_signal_forward
[11:19:59] [PASSED] test_signal_backward
[11:19:59] [PASSED] test_wait_forward
[11:19:59] [PASSED] test_wait_backward
[11:19:59] [PASSED] test_wait_random
[11:19:59] =============== [PASSED] dma-buf-fence-chain ===============
[11:19:59] ============ dma-buf-fence-unwrap (11 subtests) ============
[11:19:59] [PASSED] test_sanitycheck
[11:19:59] [PASSED] test_unwrap_array
[11:19:59] [PASSED] test_unwrap_chain
[11:19:59] [PASSED] test_unwrap_chain_array
[11:19:59] [PASSED] test_unwrap_merge
[11:19:59] [PASSED] test_unwrap_merge_duplicate
[11:19:59] [PASSED] test_unwrap_merge_seqno
[11:19:59] [PASSED] test_unwrap_merge_order
[11:19:59] [PASSED] test_unwrap_merge_complex
[11:19:59] [PASSED] test_unwrap_merge_complex_seqno
[11:19:59] [PASSED] test_dedup_empty
[11:19:59] ============== [PASSED] dma-buf-fence-unwrap ===============
[11:19:59] ================ dma-buf-resv (5 subtests) =================
[11:19:59] [PASSED] test_sanitycheck
[11:19:59] ===================== test_signaling  ======================
[11:19:59] [PASSED] kernel
[11:19:59] [PASSED] write
[11:19:59] [PASSED] read
[11:19:59] [PASSED] bookkeep
[11:19:59] ================= [PASSED] test_signaling ==================
[11:19:59] ====================== test_for_each  ======================
[11:19:59] [PASSED] kernel
[11:19:59] [PASSED] write
[11:19:59] [PASSED] read
[11:19:59] [PASSED] bookkeep
[11:19:59] ================== [PASSED] test_for_each ==================
[11:19:59] ================= test_for_each_unlocked  ==================
[11:19:59] [PASSED] kernel
[11:19:59] [PASSED] write
[11:19:59] [PASSED] read
[11:19:59] [PASSED] bookkeep
[11:19:59] ============= [PASSED] test_for_each_unlocked ==============
[11:19:59] ===================== test_get_fences  =====================
[11:19:59] [PASSED] kernel
[11:19:59] [PASSED] write
[11:19:59] [PASSED] read
[11:19:59] [PASSED] bookkeep
[11:19:59] ================= [PASSED] test_get_fences =================
[11:19:59] ================== [PASSED] dma-buf-resv ===================
[11:19:59] ============================================================
[11:19:59] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[11:19:59] Elapsed time: 16.655s total, 2.561s configuring, 8.772s building, 5.282s running

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

#17 lore raw

✓ Xe.CI.BAT: success for Introduce purpose-specific VRAM pools (rev4)

In reply to Piórkowski, Piotr
== Series Details ==

== Series Details ==

Series: Introduce purpose-specific VRAM pools (rev4)
URL : https://patchwork.freedesktop.org/series/175411/
State : success

== Summary ==

CI Bug Log - changes from xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0_BAT -> xe-pw-175411v4_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Missing (2): bat-bmg-vm bat-ptl-vm

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

Here are the changes found in xe-pw-175411v4_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- bat-bmg-1: [PASS][1] -> [ABORT][2] ([Intel XE#9463])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/bat-bmg-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/bat-bmg-1/igt@[email protected]

#### Possible fixes ####

* igt@core_hotunplug@unbind-rebind:
- bat-bmg-2: [ABORT][3] ([Intel XE#9463]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/bat-bmg-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/bat-bmg-2/igt@[email protected]

[Intel XE#9463]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9463

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

* Linux: xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0 -> xe-pw-175411v4

IGT_9192: 9192
xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0: 5bb208452f267a62584fc2c559a6b6feb18356f0
xe-pw-175411v4: 175411v4

== Logs ==

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

#18 lore raw

✓ Xe.CI.FULL: success for Introduce purpose-specific VRAM pools (rev4)

In reply to Piórkowski, Piotr
== Series Details ==

== Series Details ==

Series: Introduce purpose-specific VRAM pools (rev4)
URL : https://patchwork.freedesktop.org/series/175411/
State : success

== Summary ==

CI Bug Log - changes from xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0_FULL -> xe-pw-175411v4_FULL
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (3 -> 3)
------------------------------

No changes in participating hosts

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

Here are the changes found in xe-pw-175411v4_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_async_flips@alternate-sync-async-flip:
- shard-bmg: NOTRUN -> [FAIL][1] ([Intel XE#3718] / [Intel XE#6078])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [FAIL][2] ([Intel XE#6078])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@kms_async_flips@[email protected]

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

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +6 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-4-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#7679])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_bw@linear-tiling-1-displays-target-2160x1440p:
- shard-bmg: [PASS][6] -> [SKIP][7] ([Intel XE#367])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-7/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@kms_bw@linear-tiling-2-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#367]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#3432])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2887]) +9 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2652]) +12 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_ccs@[email protected]

* igt@kms_chamelium_color_pipeline@plane-fixed-matrix-yuv-rgb-bt601-lut1d:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#7358]) +1 other test skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_chamelium_color_pipeline@plane-fixed-matrix-yuv-rgb-bt601-lut1d.html

* igt@kms_chamelium_hpd@dp-hpd-storm-disable:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2252]) +4 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_color_pipeline@plane-lut1d-post-ctm3x4@pipe-b-plane-4:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#6969]) +7 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@kms_color_pipeline@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-0-hdcp14:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#6974]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_content_protection@legacy@pipe-a-dp-1:
- shard-bmg: NOTRUN -> [FAIL][16] ([Intel XE#3304]) +1 other test fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-7/igt@kms_content_protection@[email protected]

* igt@kms_content_protection@suspend-resume:
- shard-bmg: NOTRUN -> [FAIL][17] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +2 other tests fail
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-32x32:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2320]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [PASS][19] -> [FAIL][20] ([Intel XE#7809])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-8/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-10/igt@[email protected]

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

* igt@kms_dp_link_training@uhbr-mst:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#9533])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#8265]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_feature_discovery@chamelium:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2372] / [Intel XE#7359])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][25] -> [FAIL][26] ([Intel XE#301])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-lnl-5/igt@kms_flip@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-lnl-8/igt@kms_flip@[email protected]

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

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7178] / [Intel XE#7351])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling.html

* igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#7179]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x.html

* igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-rte:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#4141]) +6 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2311]) +29 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-spr-indfb-move:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2313]) +34 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#7061])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@kms_hdr@invalid-hdr:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#1503])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#6911] / [Intel XE#7466])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-bmg-ccs-modifier@pipe-a-plane-5:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#8303]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@kms_plane@[email protected]

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#7283]) +1 other test skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping.html

* igt@kms_plane@planar-pixel-format-settings@nv12-tile4-src-y:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#8076])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_plane@[email protected]

* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#5020] / [Intel XE#7348])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@kms_plane_scaling@plane-upscale-max-crc-rotation-180-y-tiled:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#9779])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@kms_plane_scaling@plane-upscale-max-crc-rotation-180-y-tiled.html

* igt@kms_pm_rpm@modeset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383] / [Intel XE#836])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-7/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#1489]) +3 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_psr@fbc-psr-suspend:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#2234] / [Intel XE#2850]) +5 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@kms_sharpness_filter@filter-scaler-downscale:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#6503])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#2322] / [Intel XE#7372]) +6 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap.html

* igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate-imm:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#8374]) +7 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-invalidate-imm.html

* igt@xe_exec_multi_queue@max-queues-basic:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#8364]) +15 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#8378]) +3 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr-invalidate.html

* igt@xe_mmap@small-bar:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#586] / [Intel XE#7323] / [Intel XE#7384])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-latency-copy-basic:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#6964]) +1 other test skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@xe_oa@oa-tlb-invalidate:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#2248] / [Intel XE#7325] / [Intel XE#7393])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@xe_page_reclaim@prl-max-entries:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#7793]) +1 other test skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@xe_pm@s4-basic:
- shard-ptl: [PASS][55] -> [DMESG-WARN][56] ([Intel XE#7727])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-ptl-3/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-ptl-7/igt@[email protected]

* igt@xe_pm_residency@gt-c6-freeze@gt0:
- shard-bmg: [PASS][57] -> [FAIL][58] ([Intel XE#9254])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-9/igt@xe_pm_residency@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-10/igt@xe_pm_residency@[email protected]

* igt@xe_prefetch_fault@l2-prefetch-fault:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#8815])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@xe_pxp@pxp-termination-key-update-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-1/igt@[email protected]

* igt@xe_query@multigpu-query-invalid-size:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#944]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

#### Possible fixes ####

* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][62] ([Intel XE#7084] / [Intel XE#8150]) -> [PASS][63] +1 other test pass
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-1/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [FAIL][64] ([Intel XE#301]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-lnl-5/igt@kms_flip@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-lnl-8/igt@kms_flip@[email protected]

* igt@xe_configfs@gt-types-allowed:
- shard-bmg: [ABORT][66] ([Intel XE#9463]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-4/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-5/igt@[email protected]

* igt@xe_pm_residency@gt-c6-freeze@gt1:
- shard-bmg: [FAIL][68] ([Intel XE#9254]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-9/igt@xe_pm_residency@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-10/igt@xe_pm_residency@[email protected]

#### Warnings ####

* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][70] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][71] ([Intel XE#2426] / [Intel XE#5848])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-4/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-9/igt@[email protected]

* igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
- shard-bmg: [SKIP][72] ([Intel XE#6281] / [Intel XE#7426]) -> [ABORT][73] ([Intel XE#9463])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0/shard-bmg-5/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-175411v4/shard-bmg-2/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.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#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2248
[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#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2372
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[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#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#586]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/586
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6969]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6969
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#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#7323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7323
[Intel XE#7325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7325
[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#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7359]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7359
[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#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
[Intel XE#7384]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7384
[Intel XE#7393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7393
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7727
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7809]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7809
[Intel XE#8076]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8076
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8303]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8303
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8815]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8815
[Intel XE#9254]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9254
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[Intel XE#9463]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9463
[Intel XE#9533]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9533
[Intel XE#9779]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9779

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

* Linux: xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0 -> xe-pw-175411v4

IGT_9192: 9192
xe-6149-5bb208452f267a62584fc2c559a6b6feb18356f0: 5bb208452f267a62584fc2c559a6b6feb18356f0
xe-pw-175411v4: 175411v4

== Logs ==

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