Skip to contentSkip to conversation

Initial Xe test suite

PATCH Superseded Zbigniew Kempczyński 3 participants 18 messages Mar 2, 2023 – Mar 7, 2023

Subsystems (2)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v4 cover Initial Xe test suite

This is continuation of https://patchwork.freedesktop.org/series/112191/

Series doesn't contain KUnit changes as they are not upstream IGT ready yet. Functional changes (library, tests, etc.) were squashed to dedicated patch to make review easier.

v3: address review comments (Kamil, Mauro)
v4: address review comments (Michał)
- add documentation for most of public functions
- use function generator instead of RETV() macro
- fix gt usage on memory regioning (it might lead to same region)

Rodrigo Vivi (1):
lib/igt_pm: Add a helper to query the runtime_usage.

Zbigniew Kempczyński (7):
drm-uapi/xe_drm: Add Xe uAPI
lib/xe: Introduce Xe library
tests/xe: Add Xe IGT tests
tools/xe_reg: Add Xe register read/write tool intel-ci/xe-fast-feedback: Introduce xe-fast-feedback list docs/testplan: Introduce new way for documenting IGT runner/job_list: return error on crashes while running --list-subtests

 docs/meson.build                         |    1 +
 docs/testplan/meson.build                |   28 +
 docs/testplan/testplan.css               |    7 +
 include/drm-uapi/xe_drm.h                |  807 +++++++++++
 lib/drmtest.c                            |    3 +
 lib/drmtest.h                            |    1 +
 lib/igt_pm.c                             |   18 +
 lib/igt_pm.h                             |    1 +
 lib/meson.build                          |    4 +
 lib/xe/xe_compute.c                      |  406 ++++++
 lib/xe/xe_compute.h                      |   29 +
 lib/xe/xe_ioctl.c                        |  436 ++++++
 lib/xe/xe_ioctl.h                        |   87 ++
 lib/xe/xe_query.c                        |  471 +++++++
 lib/xe/xe_query.h                        |   94 ++
 lib/xe/xe_spin.c                         |  157 +++
 lib/xe/xe_spin.h                         |   48 +
 meson.build                              |    8 +
 meson_options.txt                        |    4 +
 runner/job_list.c                        |    1 +
 scripts/igt_doc.py                       |  490 ++++++-
 scripts/meson.build                      |    2 +
 tests/intel-ci/xe-fast-feedback.testlist |  140 ++
 tests/meson.build                        |    1 +
 tests/xe/meson.build                     |   33 +
 tests/xe/xe_compute.c                    |  148 ++
 tests/xe/xe_debugfs.c                    |  257 ++++
 tests/xe/xe_dma_buf_sync.c               |  262 ++++
 tests/xe/xe_evict.c                      |  623 +++++++++
 tests/xe/xe_exec_balancer.c              |  714 ++++++++++
 tests/xe/xe_exec_basic.c                 |  350 +++++
 tests/xe/xe_exec_compute_mode.c          |  364 +++++
 tests/xe/xe_exec_fault_mode.c            |  575 ++++++++
 tests/xe/xe_exec_reset.c                 |  817 +++++++++++
 tests/xe/xe_exec_threads.c               | 1159 ++++++++++++++++
 tests/xe/xe_guc_pc.c                     |  425 ++++++
 tests/xe/xe_huc_copy.c                   |  205 +++
 tests/xe/xe_mmap.c                       |   79 ++
 tests/xe/xe_mmio.c                       |   94 ++
 tests/xe/xe_pm.c                         |  385 ++++++
 tests/xe/xe_prime_self_import.c          |  489 +++++++
 tests/xe/xe_query.c                      |  475 +++++++
 tests/xe/xe_test_config.json             |  133 ++
 tests/xe/xe_vm.c                         | 1604 ++++++++++++++++++++++
 tests/xe/xe_waitfence.c                  |  103 ++
 tools/meson.build                        |    1 +
 tools/xe_reg.c                           |  366 +++++
 47 files changed, 12852 insertions(+), 53 deletions(-)
 create mode 100644 docs/testplan/meson.build
 create mode 100644 docs/testplan/testplan.css
 create mode 100644 include/drm-uapi/xe_drm.h
 create mode 100644 lib/xe/xe_compute.c
 create mode 100644 lib/xe/xe_compute.h
 create mode 100644 lib/xe/xe_ioctl.c
 create mode 100644 lib/xe/xe_ioctl.h
 create mode 100644 lib/xe/xe_query.c
 create mode 100644 lib/xe/xe_query.h
 create mode 100644 lib/xe/xe_spin.c
 create mode 100644 lib/xe/xe_spin.h
 create mode 100644 tests/intel-ci/xe-fast-feedback.testlist
 create mode 100644 tests/xe/meson.build
 create mode 100644 tests/xe/xe_compute.c
 create mode 100644 tests/xe/xe_debugfs.c
 create mode 100644 tests/xe/xe_dma_buf_sync.c
 create mode 100644 tests/xe/xe_evict.c
 create mode 100644 tests/xe/xe_exec_balancer.c
 create mode 100644 tests/xe/xe_exec_basic.c
 create mode 100644 tests/xe/xe_exec_compute_mode.c
 create mode 100644 tests/xe/xe_exec_fault_mode.c
 create mode 100644 tests/xe/xe_exec_reset.c
 create mode 100644 tests/xe/xe_exec_threads.c
 create mode 100644 tests/xe/xe_guc_pc.c
 create mode 100644 tests/xe/xe_huc_copy.c
 create mode 100644 tests/xe/xe_mmap.c
 create mode 100644 tests/xe/xe_mmio.c
 create mode 100644 tests/xe/xe_pm.c
 create mode 100644 tests/xe/xe_prime_self_import.c
 create mode 100644 tests/xe/xe_query.c
 create mode 100644 tests/xe/xe_test_config.json
 create mode 100644 tests/xe/xe_vm.c
 create mode 100644 tests/xe/xe_waitfence.c
 create mode 100644 tools/xe_reg.c
Signature · 1 line
2.34.1
#1 lore raw

PATCH v4 1/8 drm-uapi/xe_drm: Add Xe uAPI

Introduce uAPI contract for Xe IGT.

---
 include/drm-uapi/xe_drm.h | 807 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 807 insertions(+)
 create mode 100644 include/drm-uapi/xe_drm.h
include/drm-uapi/xe_drm.h new file +807 -0
new file mode 100644
index 0000000000..593b01ba59
@@ -0,0 +1,807 @@
+/*
+ * Copyright 2021 Intel Corporation. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sub license, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+ * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+
+#ifndef _UAPI_XE_DRM_H_
+#define _UAPI_XE_DRM_H_
+
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+/* Please note that modifications to all structs defined here are
+ * subject to backwards-compatibility constraints.
+ */
+
+/**
+ * struct i915_user_extension - Base class for defining a chain of extensions
+ *
+ * Many interfaces need to grow over time. In most cases we can simply
+ * extend the struct and have userspace pass in more data. Another option,
+ * as demonstrated by Vulkan's approach to providing extensions for forward
+ * and backward compatibility, is to use a list of optional structs to
+ * provide those extra details.
+ *
+ * The key advantage to using an extension chain is that it allows us to
+ * redefine the interface more easily than an ever growing struct of
+ * increasing complexity, and for large parts of that interface to be
+ * entirely optional. The downside is more pointer chasing; chasing across
+ * the __user boundary with pointers encapsulated inside u64.
+ *
+ * Example chaining:
+ *
+ * .. code-block:: C
+ *
+ *	struct i915_user_extension ext3 {
+ *		.next_extension = 0, // end
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext2 {
+ *		.next_extension = (uintptr_t)&ext3,
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext1 {
+ *		.next_extension = (uintptr_t)&ext2,
+ *		.name = ...,
+ *	};
+ *
+ * Typically the struct i915_user_extension would be embedded in some uAPI
+ * struct, and in this case we would feed it the head of the chain(i.e ext1),
+ * which would then apply all of the above extensions.
+ *
+ */
+struct xe_user_extension {
+	/**
+	 * @next_extension:
+	 *
+	 * Pointer to the next struct i915_user_extension, or zero if the end.
+	 */
+	__u64 next_extension;
+	/**
+	 * @name: Name of the extension.
+	 *
+	 * Note that the name here is just some integer.
+	 *
+	 * Also note that the name space for this is not global for the whole
+	 * driver, but rather its scope/meaning is limited to the specific piece
+	 * of uAPI which has embedded the struct i915_user_extension.
+	 */
+	__u32 name;
+	/**
+	 * @flags: MBZ
+	 *
+	 * All undefined bits must be zero.
+	 */
+	__u32 pad;
+};
+
+/*
+ * i915 specific ioctls.
+ *
+ * The device specific ioctl range is [DRM_COMMAND_BASE, DRM_COMMAND_END) ie
+ * [0x40, 0xa0) (a0 is excluded). The numbers below are defined as offset
+ * against DRM_COMMAND_BASE and should be between [0x0, 0x60).
+ */
+#define DRM_XE_DEVICE_QUERY		0x00
+#define DRM_XE_GEM_CREATE		0x01
+#define DRM_XE_GEM_MMAP_OFFSET		0x02
+#define DRM_XE_VM_CREATE		0x03
+#define DRM_XE_VM_DESTROY		0x04
+#define DRM_XE_VM_BIND			0x05
+#define DRM_XE_ENGINE_CREATE		0x06
+#define DRM_XE_ENGINE_DESTROY		0x07
+#define DRM_XE_EXEC			0x08
+#define DRM_XE_MMIO			0x09
+#define DRM_XE_ENGINE_SET_PROPERTY	0x0a
+#define DRM_XE_WAIT_USER_FENCE		0x0b
+#define DRM_XE_VM_MADVISE		0x0c
+#define DRM_XE_ENGINE_GET_PROPERTY	0x0d
+
+/* Must be kept compact -- no holes */
+#define DRM_IOCTL_XE_DEVICE_QUERY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)
+#define DRM_IOCTL_XE_GEM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_CREATE, struct drm_xe_gem_create)
+#define DRM_IOCTL_XE_GEM_MMAP_OFFSET		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_MMAP_OFFSET, struct drm_xe_gem_mmap_offset)
+#define DRM_IOCTL_XE_VM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_CREATE, struct drm_xe_vm_create)
+#define DRM_IOCTL_XE_VM_DESTROY			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_DESTROY, struct drm_xe_vm_destroy)
+#define DRM_IOCTL_XE_VM_BIND			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)
+#define DRM_IOCTL_XE_ENGINE_CREATE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_CREATE, struct drm_xe_engine_create)
+#define DRM_IOCTL_XE_ENGINE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_GET_PROPERTY, struct drm_xe_engine_get_property)
+#define DRM_IOCTL_XE_ENGINE_DESTROY		DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_DESTROY, struct drm_xe_engine_destroy)
+#define DRM_IOCTL_XE_EXEC			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
+#define DRM_IOCTL_XE_MMIO			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_MMIO, struct drm_xe_mmio)
+#define DRM_IOCTL_XE_ENGINE_SET_PROPERTY	DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_SET_PROPERTY, struct drm_xe_engine_set_property)
+#define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
+#define DRM_IOCTL_XE_VM_MADVISE			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_MADVISE, struct drm_xe_vm_madvise)
+
+struct drm_xe_engine_class_instance {
+	__u16 engine_class;
+
+#define DRM_XE_ENGINE_CLASS_RENDER		0
+#define DRM_XE_ENGINE_CLASS_COPY		1
+#define DRM_XE_ENGINE_CLASS_VIDEO_DECODE	2
+#define DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE	3
+#define DRM_XE_ENGINE_CLASS_COMPUTE		4
+	/*
+	 * Kernel only class (not actual hardware engine class). Used for
+	 * creating ordered queues of VM bind operations.
+	 */
+#define DRM_XE_ENGINE_CLASS_VM_BIND		5
+
+	__u16 engine_instance;
+	__u16 gt_id;
+};
+
+#define XE_MEM_REGION_CLASS_SYSMEM	0
+#define XE_MEM_REGION_CLASS_VRAM	1
+
+struct drm_xe_query_mem_usage {
+	__u32 num_regions;
+	__u32 pad;
+
+	struct drm_xe_query_mem_region {
+		__u16 mem_class;
+		__u16 instance;	/* unique ID even among different classes */
+		__u32 pad;
+		__u32 min_page_size;
+		__u32 max_page_size;
+		__u64 total_size;
+		__u64 used;
+		__u64 reserved[8];
+	} regions[];
+};
+
+struct drm_xe_query_config {
+	__u32 num_params;
+	__u32 pad;
+#define XE_QUERY_CONFIG_REV_AND_DEVICE_ID	0
+#define XE_QUERY_CONFIG_FLAGS			1
+	#define XE_QUERY_CONFIG_FLAGS_HAS_VRAM		(0x1 << 0)
+	#define XE_QUERY_CONFIG_FLAGS_USE_GUC		(0x1 << 1)
+#define XE_QUERY_CONFIG_MIN_ALIGNEMENT		2
+#define XE_QUERY_CONFIG_VA_BITS			3
+#define XE_QUERY_CONFIG_GT_COUNT		4
+#define XE_QUERY_CONFIG_MEM_REGION_COUNT	5
+#define XE_QUERY_CONFIG_NUM_PARAM		XE_QUERY_CONFIG_MEM_REGION_COUNT + 1
+	__u64 info[];
+};
+
+struct drm_xe_query_gts {
+	__u32 num_gt;
+	__u32 pad;
+
+	/*
+	 * TODO: Perhaps info about every mem region relative to this GT? e.g.
+	 * bandwidth between this GT and remote region?
+	 */
+
+	struct drm_xe_query_gt {
+#define XE_QUERY_GT_TYPE_MAIN		0
+#define XE_QUERY_GT_TYPE_REMOTE		1
+#define XE_QUERY_GT_TYPE_MEDIA		2
+		__u16 type;
+		__u16 instance;
+		__u32 clock_freq;
+		__u64 features;
+		__u64 native_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 slow_mem_regions;		/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 inaccessible_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 reserved[8];
+	} gts[];
+};
+
+struct drm_xe_query_topology_mask {
+	/** @gt_id: GT ID the mask is associated with */
+	__u16 gt_id;
+
+	/** @type: type of mask */
+	__u16 type;
+#define XE_TOPO_DSS_GEOMETRY	(1 << 0)
+#define XE_TOPO_DSS_COMPUTE	(1 << 1)
+#define XE_TOPO_EU_PER_DSS	(1 << 2)
+
+	/** @num_bytes: number of bytes in requested mask */
+	__u32 num_bytes;
+
+	/** @mask: little-endian mask of @num_bytes */
+	__u8 mask[];
+};
+
+struct drm_xe_device_query {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @query: The type of data to query */
+	__u32 query;
+
+#define DRM_XE_DEVICE_QUERY_ENGINES	0
+#define DRM_XE_DEVICE_QUERY_MEM_USAGE	1
+#define DRM_XE_DEVICE_QUERY_CONFIG	2
+#define DRM_XE_DEVICE_QUERY_GTS		3
+#define DRM_XE_DEVICE_QUERY_HWCONFIG	4
+#define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY	5
+
+	/** @size: Size of the queried data */
+	__u32 size;
+
+	/** @data: Queried data is placed here */
+	__u64 data;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/**
+	 * @size: Requested size for the object
+	 *
+	 * The (page-aligned) allocated size for the object will be returned.
+	 */
+	__u64 size;
+
+	/**
+	 * @flags: Flags, currently a mask of memory instances of where BO can
+	 * be placed
+	 */
+#define XE_GEM_CREATE_FLAG_DEFER_BACKING	(0x1 << 24)
+#define XE_GEM_CREATE_FLAG_SCANOUT		(0x1 << 25)
+	__u32 flags;
+
+	/**
+	 * @vm_id: Attached VM, if any
+	 *
+	 * If a VM is specified, this BO must:
+	 *
+	 *  1. Only ever be bound to that VM.
+	 *
+	 *  2. Cannot be exported as a PRIME fd.
+	 */
+	__u32 vm_id;
+
+	/**
+	 * @handle: Returned handle for the object.
+	 *
+	 * Object handles are nonzero.
+	 */
+	__u32 handle;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_mmap_offset {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @handle: Handle for the object being mapped. */
+	__u32 handle;
+
+	/** @flags: Must be zero */
+	__u32 flags;
+
+	/** @offset: The fake offset to use for subsequent mmap call */
+	__u64 offset;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_vm_bind_op_error_capture - format of VM bind op error capture
+ */
+struct drm_xe_vm_bind_op_error_capture {
+	/** @error: errno that occured */
+	__s32 error;
+	/** @op: operation that encounter an error */
+	__u32 op;
+	/** @addr: address of bind op */
+	__u64 addr;
+	/** @size: size of bind */
+	__u64 size;
+};
+
+/** struct drm_xe_ext_vm_set_property - VM set property extension */
+struct drm_xe_ext_vm_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+#define XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS		0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_VM_EXTENSION_SET_PROPERTY	0
+	__u64 extensions;
+
+	/** @flags: Flags */
+	__u32 flags;
+
+#define DRM_XE_VM_CREATE_SCRATCH_PAGE	(0x1 << 0)
+#define DRM_XE_VM_CREATE_COMPUTE_MODE	(0x1 << 1)
+#define DRM_XE_VM_CREATE_ASYNC_BIND_OPS	(0x1 << 2)
+#define DRM_XE_VM_CREATE_FAULT_MODE	(0x1 << 3)
+
+	/** @vm_id: Returned VM ID */
+	__u32 vm_id;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_destroy {
+	/** @vm_id: VM ID */
+	__u32 vm_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind_op {
+	/**
+	 * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP
+	 */
+	__u32 obj;
+
+	union {
+		/**
+		 * @obj_offset: Offset into the object, MBZ for CLEAR_RANGE,
+		 * ignored for unbind
+		 */
+		__u64 obj_offset;
+		/** @userptr: user pointer to bind on */
+		__u64 userptr;
+	};
+
+	/**
+	 * @range: Number of bytes from the object to bind to addr, MBZ for UNMAP_ALL
+	 */
+	__u64 range;
+
+	/** @addr: Address to operate on, MBZ for UNMAP_ALL */
+	__u64 addr;
+
+	/**
+	 * @gt_mask: Mask for which GTs to create binds for, 0 == All GTs,
+	 * only applies to creating new VMAs
+	 */
+	__u64 gt_mask;
+
+	/** @op: Operation to perform (lower 16 bits) and flags (upper 16 bits) */
+	__u32 op;
+
+	/** @mem_region: Memory region to prefetch VMA to, instance not a mask */
+	__u32 region;
+
+#define XE_VM_BIND_OP_MAP		0x0
+#define XE_VM_BIND_OP_UNMAP		0x1
+#define XE_VM_BIND_OP_MAP_USERPTR	0x2
+#define XE_VM_BIND_OP_RESTART		0x3
+#define XE_VM_BIND_OP_UNMAP_ALL		0x4
+#define XE_VM_BIND_OP_PREFETCH		0x5
+
+#define XE_VM_BIND_FLAG_READONLY	(0x1 << 16)
+	/*
+	 * A bind ops completions are always async, hence the support for out
+	 * sync. This flag indicates the allocation of the memory for new page
+	 * tables and the job to program the pages tables is asynchronous
+	 * relative to the IOCTL. That part of a bind operation can fail under
+	 * memory pressure, the job in practice can't fail unless the system is
+	 * totally shot.
+	 *
+	 * If this flag is clear and the IOCTL doesn't return an error, in
+	 * practice the bind op is good and will complete.
+	 *
+	 * If this flag is set and doesn't return return an error, the bind op
+	 * can still fail and recovery is needed. If configured, the bind op that
+	 * caused the error will be captured in drm_xe_vm_bind_op_error_capture.
+	 * Once the user sees the error (via a ufence +
+	 * XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS), it should free memory
+	 * via non-async unbinds, and then restart all queue'd async binds op via
+	 * XE_VM_BIND_OP_RESTART. Or alternatively the user should destroy the
+	 * VM.
+	 *
+	 * This flag is only allowed when DRM_XE_VM_CREATE_ASYNC_BIND_OPS is
+	 * configured in the VM and must be set if the VM is configured with
+	 * DRM_XE_VM_CREATE_ASYNC_BIND_OPS and not in an error state.
+	 */
+#define XE_VM_BIND_FLAG_ASYNC		(0x1 << 17)
+	/*
+	 * Valid on a faulting VM only, do the MAP operation immediately rather
+	 * than differing the MAP to the page fault handler.
+	 */
+#define XE_VM_BIND_FLAG_IMMEDIATE	(0x1 << 18)
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID of the VM to bind to */
+	__u32 vm_id;
+
+	/**
+	 * @engine_id: engine_id, must be of class DRM_XE_ENGINE_CLASS_VM_BIND
+	 * and engine must have same vm_id. If zero, the default VM bind engine
+	 * is used.
+	 */
+	__u32 engine_id;
+
+	/** @num_binds: number of binds in this IOCTL */
+	__u32 num_binds;
+
+	union {
+		/** @bind: used if num_binds == 1 */
+		struct drm_xe_vm_bind_op bind;
+		/**
+		 * @vector_of_binds: userptr to array of struct
+		 * drm_xe_vm_bind_op if num_binds > 1
+		 */
+		__u64 vector_of_binds;
+	};
+
+	/** @num_syncs: amount of syncs to wait on */
+	__u32 num_syncs;
+
+	/** @syncs: pointer to struct drm_xe_sync array */
+	__u64 syncs;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/** struct drm_xe_ext_engine_set_property - engine set property extension */
+struct drm_xe_ext_engine_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+};
+
+/**
+ * struct drm_xe_engine_set_property - engine set property
+ *
+ * Same namespace for extensions as drm_xe_engine_create
+ */
+struct drm_xe_engine_set_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to set */
+#define XE_ENGINE_SET_PROPERTY_PRIORITY			0
+#define XE_ENGINE_SET_PROPERTY_TIMESLICE		1
+#define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT	2
+	/*
+	 * Long running or ULLS engine mode. DMA fences not allowed in this
+	 * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves
+	 * as a sanity check the UMD knows what it is doing. Can only be set at
+	 * engine create time.
+	 */
+#define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE		3
+#define XE_ENGINE_SET_PROPERTY_PERSISTENCE		4
+#define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT		5
+#define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER		6
+#define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY		7
+#define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY		8
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_ENGINE_EXTENSION_SET_PROPERTY               0
+	__u64 extensions;
+
+	/** @width: submission width (number BB per exec) for this engine */
+	__u16 width;
+
+	/** @num_placements: number of valid placements for this engine */
+	__u16 num_placements;
+
+	/** @vm_id: VM to use for this engine */
+	__u32 vm_id;
+
+	/** @flags: MBZ */
+	__u32 flags;
+
+	/** @engine_id: Returned engine ID */
+	__u32 engine_id;
+
+	/**
+	 * @instances: user pointer to a 2-d array of struct
+	 * drm_xe_engine_class_instance
+	 *
+	 * length = width (i) * num_placements (j)
+	 * index = j + i * width
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_get_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to get */
+#define XE_ENGINE_GET_PROPERTY_BAN			0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_destroy {
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_sync {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 flags;
+
+#define DRM_XE_SYNC_SYNCOBJ		0x0
+#define DRM_XE_SYNC_TIMELINE_SYNCOBJ	0x1
+#define DRM_XE_SYNC_DMA_BUF		0x2
+#define DRM_XE_SYNC_USER_FENCE		0x3
+#define DRM_XE_SYNC_SIGNAL		0x10
+
+	union {
+		__u32 handle;
+		/**
+		 * @addr: Address of user fence. When sync passed in via exec
+		 * IOCTL this a GPU address in the VM. When sync passed in via
+		 * VM bind IOCTL this is a user pointer. In either case, it is
+		 * the users responsibility that this address is present and
+		 * mapped when the user fence is signalled. Must be qword
+		 * aligned.
+		 */
+		__u64 addr;
+	};
+
+	__u64 timeline_value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_exec {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: VM ID to run batch buffer in */
+	__u32 engine_id;
+
+	/** @num_syncs: Amount of struct drm_xe_sync in array. */
+	__u32 num_syncs;
+
+	/** @syncs: Pointer to struct drm_xe_sync array. */
+	__u64 syncs;
+
+	/**
+	  * @address: address of batch buffer if num_batch_buffer == 1 or an
+	  * array of batch buffer addresses
+	  */
+	__u64 address;
+
+	/**
+	 * @num_batch_buffer: number of batch buffer in this exec, must match
+	 * the width of the engine
+	 */
+	__u16 num_batch_buffer;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_mmio {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 addr;
+
+	__u32 flags;
+
+#define DRM_XE_MMIO_8BIT	0x0
+#define DRM_XE_MMIO_16BIT	0x1
+#define DRM_XE_MMIO_32BIT	0x2
+#define DRM_XE_MMIO_64BIT	0x3
+#define DRM_XE_MMIO_BITS_MASK	0x3
+#define DRM_XE_MMIO_READ	0x4
+#define DRM_XE_MMIO_WRITE	0x8
+
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_wait_user_fence - wait user fence
+ *
+ * Wait on user fence, XE will wakeup on every HW engine interrupt in the
+ * instances list and check if user fence is complete:
+ * (*addr & MASK) OP (VALUE & MASK)
+ *
+ * Returns to user on user fence completion or timeout.
+ */
+struct drm_xe_wait_user_fence {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+	union {
+		/**
+		 * @addr: user pointer address to wait on, must qword aligned
+		 */
+		__u64 addr;
+		/**
+		 * @vm_id: The ID of the VM which encounter an error used with
+		 * DRM_XE_UFENCE_WAIT_VM_ERROR. Upper 32 bits must be clear.
+		 */
+		__u64 vm_id;
+	};
+	/** @op: wait operation (type of comparison) */
+#define DRM_XE_UFENCE_WAIT_EQ	0
+#define DRM_XE_UFENCE_WAIT_NEQ	1
+#define DRM_XE_UFENCE_WAIT_GT	2
+#define DRM_XE_UFENCE_WAIT_GTE	3
+#define DRM_XE_UFENCE_WAIT_LT	4
+#define DRM_XE_UFENCE_WAIT_LTE	5
+	__u16 op;
+	/** @flags: wait flags */
+#define DRM_XE_UFENCE_WAIT_SOFT_OP	(1 << 0)	/* e.g. Wait on VM bind */
+#define DRM_XE_UFENCE_WAIT_ABSTIME	(1 << 1)
+#define DRM_XE_UFENCE_WAIT_VM_ERROR	(1 << 2)
+	__u16 flags;
+	/** @value: compare value */
+	__u64 value;
+	/** @mask: comparison mask */
+#define DRM_XE_UFENCE_WAIT_U8		0xffu
+#define DRM_XE_UFENCE_WAIT_U16		0xffffu
+#define DRM_XE_UFENCE_WAIT_U32		0xffffffffu
+#define DRM_XE_UFENCE_WAIT_U64		0xffffffffffffffffu
+	__u64 mask;
+	/** @timeout: how long to wait before bailing, value in jiffies */
+	__s64 timeout;
+	/**
+	 * @num_engines: number of engine instances to wait on, must be zero
+	 * when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 num_engines;
+	/**
+	 * @instances: user pointer to array of drm_xe_engine_class_instance to
+	 * wait on, must be NULL when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_madvise {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID VM in which the VMA exists */
+	__u32 vm_id;
+
+	/** @range: Number of bytes in the VMA */
+	__u64 range;
+
+	/** @addr: Address of the VMA to operation on */
+	__u64 addr;
+
+	/*
+	 * Setting the preferred location will trigger a migrate of the VMA
+	 * backing store to new location if the backing store is already
+	 * allocated.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS	0
+#define DRM_XE_VM_MADVISE_PREFERRED_GT		1
+	/*
+	 * In this case lower 32 bits are mem class, upper 32 are GT.
+	 * Combination provides a single IOCTL plus migrate VMA to preferred
+	 * location.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS_GT	2
+	/*
+	 * The CPU will do atomic memory operations to this VMA. Must be set on
+	 * some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_CPU_ATOMIC		3
+	/*
+	 * The device will do atomic memory operations to this VMA. Must be set
+	 * on some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_DEVICE_ATOMIC		4
+	/*
+	 * Priority WRT to eviction (moving from preferred memory location due
+	 * to memory pressure). The lower the priority, the more likely to be
+	 * evicted.
+	 */
+#define DRM_XE_VM_MADVISE_PRIORITY		5
+#define		DRM_XE_VMA_PRIORITY_LOW		0
+#define		DRM_XE_VMA_PRIORITY_NORMAL	1	/* Default */
+#define		DRM_XE_VMA_PRIORITY_HIGH	2	/* Must be elevated user */
+	/* Pin the VMA in memory, must be elevated user */
+#define DRM_XE_VM_MADVISE_PIN			6
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif /* _UAPI_XE_DRM_H_ */
Signature · 1 line
2.34.1
#2 lore raw

Re: [igt-dev] [PATCH i-g-t v4 1/8] drm-uapi/xe_drm: Add Xe uAPI

Quoted 7 lines · On Thu, 2 Mar 2023 12:09:40 +0100 Zbigniew Kempczyński…

Introduce uAPI contract for Xe IGT.

Quoted 818 lines
---
 include/drm-uapi/xe_drm.h | 807 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 807 insertions(+)
 create mode 100644 include/drm-uapi/xe_drm.h
include/drm-uapi/xe_drm.h new file +807 -0
new file mode 100644
index 0000000000..593b01ba59
@@ -0,0 +1,807 @@
+/*
+ * Copyright 2021 Intel Corporation. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sub license, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+ * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+
+#ifndef _UAPI_XE_DRM_H_
+#define _UAPI_XE_DRM_H_
+
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+/* Please note that modifications to all structs defined here are
+ * subject to backwards-compatibility constraints.
+ */
+
+/**
+ * struct i915_user_extension - Base class for defining a chain of extensions
+ *
+ * Many interfaces need to grow over time. In most cases we can simply
+ * extend the struct and have userspace pass in more data. Another option,
+ * as demonstrated by Vulkan's approach to providing extensions for forward
+ * and backward compatibility, is to use a list of optional structs to
+ * provide those extra details.
+ *
+ * The key advantage to using an extension chain is that it allows us to
+ * redefine the interface more easily than an ever growing struct of
+ * increasing complexity, and for large parts of that interface to be
+ * entirely optional. The downside is more pointer chasing; chasing across
+ * the __user boundary with pointers encapsulated inside u64.
+ *
+ * Example chaining:
+ *
+ * .. code-block:: C
+ *
+ *	struct i915_user_extension ext3 {
+ *		.next_extension = 0, // end
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext2 {
+ *		.next_extension = (uintptr_t)&ext3,
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext1 {
+ *		.next_extension = (uintptr_t)&ext2,
+ *		.name = ...,
+ *	};
+ *
+ * Typically the struct i915_user_extension would be embedded in some uAPI
+ * struct, and in this case we would feed it the head of the chain(i.e ext1),
+ * which would then apply all of the above extensions.
+ *
+ */
+struct xe_user_extension {
+	/**
+	 * @next_extension:
+	 *
+	 * Pointer to the next struct i915_user_extension, or zero if the end.
+	 */
+	__u64 next_extension;
+	/**
+	 * @name: Name of the extension.
+	 *
+	 * Note that the name here is just some integer.
+	 *
+	 * Also note that the name space for this is not global for the whole
+	 * driver, but rather its scope/meaning is limited to the specific piece
+	 * of uAPI which has embedded the struct i915_user_extension.
+	 */
+	__u32 name;
+	/**
+	 * @flags: MBZ
+	 *
+	 * All undefined bits must be zero.
+	 */
+	__u32 pad;
+};
+
+/*
+ * i915 specific ioctls.
+ *
+ * The device specific ioctl range is [DRM_COMMAND_BASE, DRM_COMMAND_END) ie
+ * [0x40, 0xa0) (a0 is excluded). The numbers below are defined as offset
+ * against DRM_COMMAND_BASE and should be between [0x0, 0x60).
+ */
+#define DRM_XE_DEVICE_QUERY		0x00
+#define DRM_XE_GEM_CREATE		0x01
+#define DRM_XE_GEM_MMAP_OFFSET		0x02
+#define DRM_XE_VM_CREATE		0x03
+#define DRM_XE_VM_DESTROY		0x04
+#define DRM_XE_VM_BIND			0x05
+#define DRM_XE_ENGINE_CREATE		0x06
+#define DRM_XE_ENGINE_DESTROY		0x07
+#define DRM_XE_EXEC			0x08
+#define DRM_XE_MMIO			0x09
+#define DRM_XE_ENGINE_SET_PROPERTY	0x0a
+#define DRM_XE_WAIT_USER_FENCE		0x0b
+#define DRM_XE_VM_MADVISE		0x0c
+#define DRM_XE_ENGINE_GET_PROPERTY	0x0d
+
+/* Must be kept compact -- no holes */
+#define DRM_IOCTL_XE_DEVICE_QUERY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)
+#define DRM_IOCTL_XE_GEM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_CREATE, struct drm_xe_gem_create)
+#define DRM_IOCTL_XE_GEM_MMAP_OFFSET		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_MMAP_OFFSET, struct drm_xe_gem_mmap_offset)
+#define DRM_IOCTL_XE_VM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_CREATE, struct drm_xe_vm_create)
+#define DRM_IOCTL_XE_VM_DESTROY			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_DESTROY, struct drm_xe_vm_destroy)
+#define DRM_IOCTL_XE_VM_BIND			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)
+#define DRM_IOCTL_XE_ENGINE_CREATE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_CREATE, struct drm_xe_engine_create)
+#define DRM_IOCTL_XE_ENGINE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_GET_PROPERTY, struct drm_xe_engine_get_property)
+#define DRM_IOCTL_XE_ENGINE_DESTROY		DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_DESTROY, struct drm_xe_engine_destroy)
+#define DRM_IOCTL_XE_EXEC			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
+#define DRM_IOCTL_XE_MMIO			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_MMIO, struct drm_xe_mmio)
+#define DRM_IOCTL_XE_ENGINE_SET_PROPERTY	DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_SET_PROPERTY, struct drm_xe_engine_set_property)
+#define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
+#define DRM_IOCTL_XE_VM_MADVISE			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_MADVISE, struct drm_xe_vm_madvise)
+
+struct drm_xe_engine_class_instance {
+	__u16 engine_class;
+
+#define DRM_XE_ENGINE_CLASS_RENDER		0
+#define DRM_XE_ENGINE_CLASS_COPY		1
+#define DRM_XE_ENGINE_CLASS_VIDEO_DECODE	2
+#define DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE	3
+#define DRM_XE_ENGINE_CLASS_COMPUTE		4
+	/*
+	 * Kernel only class (not actual hardware engine class). Used for
+	 * creating ordered queues of VM bind operations.
+	 */
+#define DRM_XE_ENGINE_CLASS_VM_BIND		5
+
+	__u16 engine_instance;
+	__u16 gt_id;
+};
+
+#define XE_MEM_REGION_CLASS_SYSMEM	0
+#define XE_MEM_REGION_CLASS_VRAM	1
+
+struct drm_xe_query_mem_usage {
+	__u32 num_regions;
+	__u32 pad;
+
+	struct drm_xe_query_mem_region {
+		__u16 mem_class;
+		__u16 instance;	/* unique ID even among different classes */
+		__u32 pad;
+		__u32 min_page_size;
+		__u32 max_page_size;
+		__u64 total_size;
+		__u64 used;
+		__u64 reserved[8];
+	} regions[];
+};
+
+struct drm_xe_query_config {
+	__u32 num_params;
+	__u32 pad;
+#define XE_QUERY_CONFIG_REV_AND_DEVICE_ID	0
+#define XE_QUERY_CONFIG_FLAGS			1
+	#define XE_QUERY_CONFIG_FLAGS_HAS_VRAM		(0x1 << 0)
+	#define XE_QUERY_CONFIG_FLAGS_USE_GUC		(0x1 << 1)
+#define XE_QUERY_CONFIG_MIN_ALIGNEMENT		2
+#define XE_QUERY_CONFIG_VA_BITS			3
+#define XE_QUERY_CONFIG_GT_COUNT		4
+#define XE_QUERY_CONFIG_MEM_REGION_COUNT	5
+#define XE_QUERY_CONFIG_NUM_PARAM		XE_QUERY_CONFIG_MEM_REGION_COUNT + 1
+	__u64 info[];
+};
+
+struct drm_xe_query_gts {
+	__u32 num_gt;
+	__u32 pad;
+
+	/*
+	 * TODO: Perhaps info about every mem region relative to this GT? e.g.
+	 * bandwidth between this GT and remote region?
+	 */
+
+	struct drm_xe_query_gt {
+#define XE_QUERY_GT_TYPE_MAIN		0
+#define XE_QUERY_GT_TYPE_REMOTE		1
+#define XE_QUERY_GT_TYPE_MEDIA		2
+		__u16 type;
+		__u16 instance;
+		__u32 clock_freq;
+		__u64 features;
+		__u64 native_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 slow_mem_regions;		/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 inaccessible_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 reserved[8];
+	} gts[];
+};
+
+struct drm_xe_query_topology_mask {
+	/** @gt_id: GT ID the mask is associated with */
+	__u16 gt_id;
+
+	/** @type: type of mask */
+	__u16 type;
+#define XE_TOPO_DSS_GEOMETRY	(1 << 0)
+#define XE_TOPO_DSS_COMPUTE	(1 << 1)
+#define XE_TOPO_EU_PER_DSS	(1 << 2)
+
+	/** @num_bytes: number of bytes in requested mask */
+	__u32 num_bytes;
+
+	/** @mask: little-endian mask of @num_bytes */
+	__u8 mask[];
+};
+
+struct drm_xe_device_query {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @query: The type of data to query */
+	__u32 query;
+
+#define DRM_XE_DEVICE_QUERY_ENGINES	0
+#define DRM_XE_DEVICE_QUERY_MEM_USAGE	1
+#define DRM_XE_DEVICE_QUERY_CONFIG	2
+#define DRM_XE_DEVICE_QUERY_GTS		3
+#define DRM_XE_DEVICE_QUERY_HWCONFIG	4
+#define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY	5
+
+	/** @size: Size of the queried data */
+	__u32 size;
+
+	/** @data: Queried data is placed here */
+	__u64 data;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/**
+	 * @size: Requested size for the object
+	 *
+	 * The (page-aligned) allocated size for the object will be returned.
+	 */
+	__u64 size;
+
+	/**
+	 * @flags: Flags, currently a mask of memory instances of where BO can
+	 * be placed
+	 */
+#define XE_GEM_CREATE_FLAG_DEFER_BACKING	(0x1 << 24)
+#define XE_GEM_CREATE_FLAG_SCANOUT		(0x1 << 25)
+	__u32 flags;
+
+	/**
+	 * @vm_id: Attached VM, if any
+	 *
+	 * If a VM is specified, this BO must:
+	 *
+	 *  1. Only ever be bound to that VM.
+	 *
+	 *  2. Cannot be exported as a PRIME fd.
+	 */
+	__u32 vm_id;
+
+	/**
+	 * @handle: Returned handle for the object.
+	 *
+	 * Object handles are nonzero.
+	 */
+	__u32 handle;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_mmap_offset {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @handle: Handle for the object being mapped. */
+	__u32 handle;
+
+	/** @flags: Must be zero */
+	__u32 flags;
+
+	/** @offset: The fake offset to use for subsequent mmap call */
+	__u64 offset;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_vm_bind_op_error_capture - format of VM bind op error capture
+ */
+struct drm_xe_vm_bind_op_error_capture {
+	/** @error: errno that occured */
+	__s32 error;
+	/** @op: operation that encounter an error */
+	__u32 op;
+	/** @addr: address of bind op */
+	__u64 addr;
+	/** @size: size of bind */
+	__u64 size;
+};
+
+/** struct drm_xe_ext_vm_set_property - VM set property extension */
+struct drm_xe_ext_vm_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+#define XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS		0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_VM_EXTENSION_SET_PROPERTY	0
+	__u64 extensions;
+
+	/** @flags: Flags */
+	__u32 flags;
+
+#define DRM_XE_VM_CREATE_SCRATCH_PAGE	(0x1 << 0)
+#define DRM_XE_VM_CREATE_COMPUTE_MODE	(0x1 << 1)
+#define DRM_XE_VM_CREATE_ASYNC_BIND_OPS	(0x1 << 2)
+#define DRM_XE_VM_CREATE_FAULT_MODE	(0x1 << 3)
+
+	/** @vm_id: Returned VM ID */
+	__u32 vm_id;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_destroy {
+	/** @vm_id: VM ID */
+	__u32 vm_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind_op {
+	/**
+	 * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP
+	 */
+	__u32 obj;
+
+	union {
+		/**
+		 * @obj_offset: Offset into the object, MBZ for CLEAR_RANGE,
+		 * ignored for unbind
+		 */
+		__u64 obj_offset;
+		/** @userptr: user pointer to bind on */
+		__u64 userptr;
+	};
+
+	/**
+	 * @range: Number of bytes from the object to bind to addr, MBZ for UNMAP_ALL
+	 */
+	__u64 range;
+
+	/** @addr: Address to operate on, MBZ for UNMAP_ALL */
+	__u64 addr;
+
+	/**
+	 * @gt_mask: Mask for which GTs to create binds for, 0 == All GTs,
+	 * only applies to creating new VMAs
+	 */
+	__u64 gt_mask;
+
+	/** @op: Operation to perform (lower 16 bits) and flags (upper 16 bits) */
+	__u32 op;
+
+	/** @mem_region: Memory region to prefetch VMA to, instance not a mask */
+	__u32 region;
+
+#define XE_VM_BIND_OP_MAP		0x0
+#define XE_VM_BIND_OP_UNMAP		0x1
+#define XE_VM_BIND_OP_MAP_USERPTR	0x2
+#define XE_VM_BIND_OP_RESTART		0x3
+#define XE_VM_BIND_OP_UNMAP_ALL		0x4
+#define XE_VM_BIND_OP_PREFETCH		0x5
+
+#define XE_VM_BIND_FLAG_READONLY	(0x1 << 16)
+	/*
+	 * A bind ops completions are always async, hence the support for out
+	 * sync. This flag indicates the allocation of the memory for new page
+	 * tables and the job to program the pages tables is asynchronous
+	 * relative to the IOCTL. That part of a bind operation can fail under
+	 * memory pressure, the job in practice can't fail unless the system is
+	 * totally shot.
+	 *
+	 * If this flag is clear and the IOCTL doesn't return an error, in
+	 * practice the bind op is good and will complete.
+	 *
+	 * If this flag is set and doesn't return return an error, the bind op
+	 * can still fail and recovery is needed. If configured, the bind op that
+	 * caused the error will be captured in drm_xe_vm_bind_op_error_capture.
+	 * Once the user sees the error (via a ufence +
+	 * XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS), it should free memory
+	 * via non-async unbinds, and then restart all queue'd async binds op via
+	 * XE_VM_BIND_OP_RESTART. Or alternatively the user should destroy the
+	 * VM.
+	 *
+	 * This flag is only allowed when DRM_XE_VM_CREATE_ASYNC_BIND_OPS is
+	 * configured in the VM and must be set if the VM is configured with
+	 * DRM_XE_VM_CREATE_ASYNC_BIND_OPS and not in an error state.
+	 */
+#define XE_VM_BIND_FLAG_ASYNC		(0x1 << 17)
+	/*
+	 * Valid on a faulting VM only, do the MAP operation immediately rather
+	 * than differing the MAP to the page fault handler.
+	 */
+#define XE_VM_BIND_FLAG_IMMEDIATE	(0x1 << 18)
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID of the VM to bind to */
+	__u32 vm_id;
+
+	/**
+	 * @engine_id: engine_id, must be of class DRM_XE_ENGINE_CLASS_VM_BIND
+	 * and engine must have same vm_id. If zero, the default VM bind engine
+	 * is used.
+	 */
+	__u32 engine_id;
+
+	/** @num_binds: number of binds in this IOCTL */
+	__u32 num_binds;
+
+	union {
+		/** @bind: used if num_binds == 1 */
+		struct drm_xe_vm_bind_op bind;
+		/**
+		 * @vector_of_binds: userptr to array of struct
+		 * drm_xe_vm_bind_op if num_binds > 1
+		 */
+		__u64 vector_of_binds;
+	};
+
+	/** @num_syncs: amount of syncs to wait on */
+	__u32 num_syncs;
+
+	/** @syncs: pointer to struct drm_xe_sync array */
+	__u64 syncs;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/** struct drm_xe_ext_engine_set_property - engine set property extension */
+struct drm_xe_ext_engine_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+};
+
+/**
+ * struct drm_xe_engine_set_property - engine set property
+ *
+ * Same namespace for extensions as drm_xe_engine_create
+ */
+struct drm_xe_engine_set_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to set */
+#define XE_ENGINE_SET_PROPERTY_PRIORITY			0
+#define XE_ENGINE_SET_PROPERTY_TIMESLICE		1
+#define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT	2
+	/*
+	 * Long running or ULLS engine mode. DMA fences not allowed in this
+	 * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves
+	 * as a sanity check the UMD knows what it is doing. Can only be set at
+	 * engine create time.
+	 */
+#define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE		3
+#define XE_ENGINE_SET_PROPERTY_PERSISTENCE		4
+#define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT		5
+#define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER		6
+#define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY		7
+#define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY		8
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_ENGINE_EXTENSION_SET_PROPERTY               0
+	__u64 extensions;
+
+	/** @width: submission width (number BB per exec) for this engine */
+	__u16 width;
+
+	/** @num_placements: number of valid placements for this engine */
+	__u16 num_placements;
+
+	/** @vm_id: VM to use for this engine */
+	__u32 vm_id;
+
+	/** @flags: MBZ */
+	__u32 flags;
+
+	/** @engine_id: Returned engine ID */
+	__u32 engine_id;
+
+	/**
+	 * @instances: user pointer to a 2-d array of struct
+	 * drm_xe_engine_class_instance
+	 *
+	 * length = width (i) * num_placements (j)
+	 * index = j + i * width
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_get_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to get */
+#define XE_ENGINE_GET_PROPERTY_BAN			0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_destroy {
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_sync {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 flags;
+
+#define DRM_XE_SYNC_SYNCOBJ		0x0
+#define DRM_XE_SYNC_TIMELINE_SYNCOBJ	0x1
+#define DRM_XE_SYNC_DMA_BUF		0x2
+#define DRM_XE_SYNC_USER_FENCE		0x3
+#define DRM_XE_SYNC_SIGNAL		0x10
+
+	union {
+		__u32 handle;
+		/**
+		 * @addr: Address of user fence. When sync passed in via exec
+		 * IOCTL this a GPU address in the VM. When sync passed in via
+		 * VM bind IOCTL this is a user pointer. In either case, it is
+		 * the users responsibility that this address is present and
+		 * mapped when the user fence is signalled. Must be qword
+		 * aligned.
+		 */
+		__u64 addr;
+	};
+
+	__u64 timeline_value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_exec {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: VM ID to run batch buffer in */
+	__u32 engine_id;
+
+	/** @num_syncs: Amount of struct drm_xe_sync in array. */
+	__u32 num_syncs;
+
+	/** @syncs: Pointer to struct drm_xe_sync array. */
+	__u64 syncs;
+
+	/**
+	  * @address: address of batch buffer if num_batch_buffer == 1 or an
+	  * array of batch buffer addresses
+	  */
+	__u64 address;
+
+	/**
+	 * @num_batch_buffer: number of batch buffer in this exec, must match
+	 * the width of the engine
+	 */
+	__u16 num_batch_buffer;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_mmio {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 addr;
+
+	__u32 flags;
+
+#define DRM_XE_MMIO_8BIT	0x0
+#define DRM_XE_MMIO_16BIT	0x1
+#define DRM_XE_MMIO_32BIT	0x2
+#define DRM_XE_MMIO_64BIT	0x3
+#define DRM_XE_MMIO_BITS_MASK	0x3
+#define DRM_XE_MMIO_READ	0x4
+#define DRM_XE_MMIO_WRITE	0x8
+
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_wait_user_fence - wait user fence
+ *
+ * Wait on user fence, XE will wakeup on every HW engine interrupt in the
+ * instances list and check if user fence is complete:
+ * (*addr & MASK) OP (VALUE & MASK)
+ *
+ * Returns to user on user fence completion or timeout.
+ */
+struct drm_xe_wait_user_fence {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+	union {
+		/**
+		 * @addr: user pointer address to wait on, must qword aligned
+		 */
+		__u64 addr;
+		/**
+		 * @vm_id: The ID of the VM which encounter an error used with
+		 * DRM_XE_UFENCE_WAIT_VM_ERROR. Upper 32 bits must be clear.
+		 */
+		__u64 vm_id;
+	};
+	/** @op: wait operation (type of comparison) */
+#define DRM_XE_UFENCE_WAIT_EQ	0
+#define DRM_XE_UFENCE_WAIT_NEQ	1
+#define DRM_XE_UFENCE_WAIT_GT	2
+#define DRM_XE_UFENCE_WAIT_GTE	3
+#define DRM_XE_UFENCE_WAIT_LT	4
+#define DRM_XE_UFENCE_WAIT_LTE	5
+	__u16 op;
+	/** @flags: wait flags */
+#define DRM_XE_UFENCE_WAIT_SOFT_OP	(1 << 0)	/* e.g. Wait on VM bind */
+#define DRM_XE_UFENCE_WAIT_ABSTIME	(1 << 1)
+#define DRM_XE_UFENCE_WAIT_VM_ERROR	(1 << 2)
+	__u16 flags;
+	/** @value: compare value */
+	__u64 value;
+	/** @mask: comparison mask */
+#define DRM_XE_UFENCE_WAIT_U8		0xffu
+#define DRM_XE_UFENCE_WAIT_U16		0xffffu
+#define DRM_XE_UFENCE_WAIT_U32		0xffffffffu
+#define DRM_XE_UFENCE_WAIT_U64		0xffffffffffffffffu
+	__u64 mask;
+	/** @timeout: how long to wait before bailing, value in jiffies */
+	__s64 timeout;
+	/**
+	 * @num_engines: number of engine instances to wait on, must be zero
+	 * when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 num_engines;
+	/**
+	 * @instances: user pointer to array of drm_xe_engine_class_instance to
+	 * wait on, must be NULL when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_madvise {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID VM in which the VMA exists */
+	__u32 vm_id;
+
+	/** @range: Number of bytes in the VMA */
+	__u64 range;
+
+	/** @addr: Address of the VMA to operation on */
+	__u64 addr;
+
+	/*
+	 * Setting the preferred location will trigger a migrate of the VMA
+	 * backing store to new location if the backing store is already
+	 * allocated.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS	0
+#define DRM_XE_VM_MADVISE_PREFERRED_GT		1
+	/*
+	 * In this case lower 32 bits are mem class, upper 32 are GT.
+	 * Combination provides a single IOCTL plus migrate VMA to preferred
+	 * location.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS_GT	2
+	/*
+	 * The CPU will do atomic memory operations to this VMA. Must be set on
+	 * some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_CPU_ATOMIC		3
+	/*
+	 * The device will do atomic memory operations to this VMA. Must be set
+	 * on some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_DEVICE_ATOMIC		4
+	/*
+	 * Priority WRT to eviction (moving from preferred memory location due
+	 * to memory pressure). The lower the priority, the more likely to be
+	 * evicted.
+	 */
+#define DRM_XE_VM_MADVISE_PRIORITY		5
+#define		DRM_XE_VMA_PRIORITY_LOW		0
+#define		DRM_XE_VMA_PRIORITY_NORMAL	1	/* Default */
+#define		DRM_XE_VMA_PRIORITY_HIGH	2	/* Must be elevated user */
+	/* Pin the VMA in memory, must be elevated user */
+#define DRM_XE_VM_MADVISE_PIN			6
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif /* _UAPI_XE_DRM_H_ */
#3 lore raw

Re: [igt-dev] [PATCH i-g-t v4 1/8] drm-uapi/xe_drm: Add Xe uAPI

Quoted 5 lines · On Tue, 7 Mar 2023 10:16:55 +0100 Mauro Carvalho Chehab…
Quoted 2 lines · On Thu, 2 Mar 2023 12:09:40 +0100 Zbigniew Kempczyński…

Introduce uAPI contract for Xe IGT.

Quoted 7 lines
Quoted 5 lines

Sorry for the typo:

Quoted 818 lines
Quoted 818 lines
---
 include/drm-uapi/xe_drm.h | 807 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 807 insertions(+)
 create mode 100644 include/drm-uapi/xe_drm.h
include/drm-uapi/xe_drm.h new file +807 -0
new file mode 100644
index 0000000000..593b01ba59
@@ -0,0 +1,807 @@
+/*
+ * Copyright 2021 Intel Corporation. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sub license, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+ * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+
+#ifndef _UAPI_XE_DRM_H_
+#define _UAPI_XE_DRM_H_
+
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+/* Please note that modifications to all structs defined here are
+ * subject to backwards-compatibility constraints.
+ */
+
+/**
+ * struct i915_user_extension - Base class for defining a chain of extensions
+ *
+ * Many interfaces need to grow over time. In most cases we can simply
+ * extend the struct and have userspace pass in more data. Another option,
+ * as demonstrated by Vulkan's approach to providing extensions for forward
+ * and backward compatibility, is to use a list of optional structs to
+ * provide those extra details.
+ *
+ * The key advantage to using an extension chain is that it allows us to
+ * redefine the interface more easily than an ever growing struct of
+ * increasing complexity, and for large parts of that interface to be
+ * entirely optional. The downside is more pointer chasing; chasing across
+ * the __user boundary with pointers encapsulated inside u64.
+ *
+ * Example chaining:
+ *
+ * .. code-block:: C
+ *
+ *	struct i915_user_extension ext3 {
+ *		.next_extension = 0, // end
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext2 {
+ *		.next_extension = (uintptr_t)&ext3,
+ *		.name = ...,
+ *	};
+ *	struct i915_user_extension ext1 {
+ *		.next_extension = (uintptr_t)&ext2,
+ *		.name = ...,
+ *	};
+ *
+ * Typically the struct i915_user_extension would be embedded in some uAPI
+ * struct, and in this case we would feed it the head of the chain(i.e ext1),
+ * which would then apply all of the above extensions.
+ *
+ */
+struct xe_user_extension {
+	/**
+	 * @next_extension:
+	 *
+	 * Pointer to the next struct i915_user_extension, or zero if the end.
+	 */
+	__u64 next_extension;
+	/**
+	 * @name: Name of the extension.
+	 *
+	 * Note that the name here is just some integer.
+	 *
+	 * Also note that the name space for this is not global for the whole
+	 * driver, but rather its scope/meaning is limited to the specific piece
+	 * of uAPI which has embedded the struct i915_user_extension.
+	 */
+	__u32 name;
+	/**
+	 * @flags: MBZ
+	 *
+	 * All undefined bits must be zero.
+	 */
+	__u32 pad;
+};
+
+/*
+ * i915 specific ioctls.
+ *
+ * The device specific ioctl range is [DRM_COMMAND_BASE, DRM_COMMAND_END) ie
+ * [0x40, 0xa0) (a0 is excluded). The numbers below are defined as offset
+ * against DRM_COMMAND_BASE and should be between [0x0, 0x60).
+ */
+#define DRM_XE_DEVICE_QUERY		0x00
+#define DRM_XE_GEM_CREATE		0x01
+#define DRM_XE_GEM_MMAP_OFFSET		0x02
+#define DRM_XE_VM_CREATE		0x03
+#define DRM_XE_VM_DESTROY		0x04
+#define DRM_XE_VM_BIND			0x05
+#define DRM_XE_ENGINE_CREATE		0x06
+#define DRM_XE_ENGINE_DESTROY		0x07
+#define DRM_XE_EXEC			0x08
+#define DRM_XE_MMIO			0x09
+#define DRM_XE_ENGINE_SET_PROPERTY	0x0a
+#define DRM_XE_WAIT_USER_FENCE		0x0b
+#define DRM_XE_VM_MADVISE		0x0c
+#define DRM_XE_ENGINE_GET_PROPERTY	0x0d
+
+/* Must be kept compact -- no holes */
+#define DRM_IOCTL_XE_DEVICE_QUERY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)
+#define DRM_IOCTL_XE_GEM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_CREATE, struct drm_xe_gem_create)
+#define DRM_IOCTL_XE_GEM_MMAP_OFFSET		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_MMAP_OFFSET, struct drm_xe_gem_mmap_offset)
+#define DRM_IOCTL_XE_VM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_CREATE, struct drm_xe_vm_create)
+#define DRM_IOCTL_XE_VM_DESTROY			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_DESTROY, struct drm_xe_vm_destroy)
+#define DRM_IOCTL_XE_VM_BIND			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)
+#define DRM_IOCTL_XE_ENGINE_CREATE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_CREATE, struct drm_xe_engine_create)
+#define DRM_IOCTL_XE_ENGINE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_GET_PROPERTY, struct drm_xe_engine_get_property)
+#define DRM_IOCTL_XE_ENGINE_DESTROY		DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_DESTROY, struct drm_xe_engine_destroy)
+#define DRM_IOCTL_XE_EXEC			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
+#define DRM_IOCTL_XE_MMIO			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_MMIO, struct drm_xe_mmio)
+#define DRM_IOCTL_XE_ENGINE_SET_PROPERTY	DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_SET_PROPERTY, struct drm_xe_engine_set_property)
+#define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
+#define DRM_IOCTL_XE_VM_MADVISE			DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_MADVISE, struct drm_xe_vm_madvise)
+
+struct drm_xe_engine_class_instance {
+	__u16 engine_class;
+
+#define DRM_XE_ENGINE_CLASS_RENDER		0
+#define DRM_XE_ENGINE_CLASS_COPY		1
+#define DRM_XE_ENGINE_CLASS_VIDEO_DECODE	2
+#define DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE	3
+#define DRM_XE_ENGINE_CLASS_COMPUTE		4
+	/*
+	 * Kernel only class (not actual hardware engine class). Used for
+	 * creating ordered queues of VM bind operations.
+	 */
+#define DRM_XE_ENGINE_CLASS_VM_BIND		5
+
+	__u16 engine_instance;
+	__u16 gt_id;
+};
+
+#define XE_MEM_REGION_CLASS_SYSMEM	0
+#define XE_MEM_REGION_CLASS_VRAM	1
+
+struct drm_xe_query_mem_usage {
+	__u32 num_regions;
+	__u32 pad;
+
+	struct drm_xe_query_mem_region {
+		__u16 mem_class;
+		__u16 instance;	/* unique ID even among different classes */
+		__u32 pad;
+		__u32 min_page_size;
+		__u32 max_page_size;
+		__u64 total_size;
+		__u64 used;
+		__u64 reserved[8];
+	} regions[];
+};
+
+struct drm_xe_query_config {
+	__u32 num_params;
+	__u32 pad;
+#define XE_QUERY_CONFIG_REV_AND_DEVICE_ID	0
+#define XE_QUERY_CONFIG_FLAGS			1
+	#define XE_QUERY_CONFIG_FLAGS_HAS_VRAM		(0x1 << 0)
+	#define XE_QUERY_CONFIG_FLAGS_USE_GUC		(0x1 << 1)
+#define XE_QUERY_CONFIG_MIN_ALIGNEMENT		2
+#define XE_QUERY_CONFIG_VA_BITS			3
+#define XE_QUERY_CONFIG_GT_COUNT		4
+#define XE_QUERY_CONFIG_MEM_REGION_COUNT	5
+#define XE_QUERY_CONFIG_NUM_PARAM		XE_QUERY_CONFIG_MEM_REGION_COUNT + 1
+	__u64 info[];
+};
+
+struct drm_xe_query_gts {
+	__u32 num_gt;
+	__u32 pad;
+
+	/*
+	 * TODO: Perhaps info about every mem region relative to this GT? e.g.
+	 * bandwidth between this GT and remote region?
+	 */
+
+	struct drm_xe_query_gt {
+#define XE_QUERY_GT_TYPE_MAIN		0
+#define XE_QUERY_GT_TYPE_REMOTE		1
+#define XE_QUERY_GT_TYPE_MEDIA		2
+		__u16 type;
+		__u16 instance;
+		__u32 clock_freq;
+		__u64 features;
+		__u64 native_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 slow_mem_regions;		/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 inaccessible_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */
+		__u64 reserved[8];
+	} gts[];
+};
+
+struct drm_xe_query_topology_mask {
+	/** @gt_id: GT ID the mask is associated with */
+	__u16 gt_id;
+
+	/** @type: type of mask */
+	__u16 type;
+#define XE_TOPO_DSS_GEOMETRY	(1 << 0)
+#define XE_TOPO_DSS_COMPUTE	(1 << 1)
+#define XE_TOPO_EU_PER_DSS	(1 << 2)
+
+	/** @num_bytes: number of bytes in requested mask */
+	__u32 num_bytes;
+
+	/** @mask: little-endian mask of @num_bytes */
+	__u8 mask[];
+};
+
+struct drm_xe_device_query {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @query: The type of data to query */
+	__u32 query;
+
+#define DRM_XE_DEVICE_QUERY_ENGINES	0
+#define DRM_XE_DEVICE_QUERY_MEM_USAGE	1
+#define DRM_XE_DEVICE_QUERY_CONFIG	2
+#define DRM_XE_DEVICE_QUERY_GTS		3
+#define DRM_XE_DEVICE_QUERY_HWCONFIG	4
+#define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY	5
+
+	/** @size: Size of the queried data */
+	__u32 size;
+
+	/** @data: Queried data is placed here */
+	__u64 data;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/**
+	 * @size: Requested size for the object
+	 *
+	 * The (page-aligned) allocated size for the object will be returned.
+	 */
+	__u64 size;
+
+	/**
+	 * @flags: Flags, currently a mask of memory instances of where BO can
+	 * be placed
+	 */
+#define XE_GEM_CREATE_FLAG_DEFER_BACKING	(0x1 << 24)
+#define XE_GEM_CREATE_FLAG_SCANOUT		(0x1 << 25)
+	__u32 flags;
+
+	/**
+	 * @vm_id: Attached VM, if any
+	 *
+	 * If a VM is specified, this BO must:
+	 *
+	 *  1. Only ever be bound to that VM.
+	 *
+	 *  2. Cannot be exported as a PRIME fd.
+	 */
+	__u32 vm_id;
+
+	/**
+	 * @handle: Returned handle for the object.
+	 *
+	 * Object handles are nonzero.
+	 */
+	__u32 handle;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_gem_mmap_offset {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @handle: Handle for the object being mapped. */
+	__u32 handle;
+
+	/** @flags: Must be zero */
+	__u32 flags;
+
+	/** @offset: The fake offset to use for subsequent mmap call */
+	__u64 offset;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_vm_bind_op_error_capture - format of VM bind op error capture
+ */
+struct drm_xe_vm_bind_op_error_capture {
+	/** @error: errno that occured */
+	__s32 error;
+	/** @op: operation that encounter an error */
+	__u32 op;
+	/** @addr: address of bind op */
+	__u64 addr;
+	/** @size: size of bind */
+	__u64 size;
+};
+
+/** struct drm_xe_ext_vm_set_property - VM set property extension */
+struct drm_xe_ext_vm_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+#define XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS		0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_VM_EXTENSION_SET_PROPERTY	0
+	__u64 extensions;
+
+	/** @flags: Flags */
+	__u32 flags;
+
+#define DRM_XE_VM_CREATE_SCRATCH_PAGE	(0x1 << 0)
+#define DRM_XE_VM_CREATE_COMPUTE_MODE	(0x1 << 1)
+#define DRM_XE_VM_CREATE_ASYNC_BIND_OPS	(0x1 << 2)
+#define DRM_XE_VM_CREATE_FAULT_MODE	(0x1 << 3)
+
+	/** @vm_id: Returned VM ID */
+	__u32 vm_id;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_destroy {
+	/** @vm_id: VM ID */
+	__u32 vm_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind_op {
+	/**
+	 * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP
+	 */
+	__u32 obj;
+
+	union {
+		/**
+		 * @obj_offset: Offset into the object, MBZ for CLEAR_RANGE,
+		 * ignored for unbind
+		 */
+		__u64 obj_offset;
+		/** @userptr: user pointer to bind on */
+		__u64 userptr;
+	};
+
+	/**
+	 * @range: Number of bytes from the object to bind to addr, MBZ for UNMAP_ALL
+	 */
+	__u64 range;
+
+	/** @addr: Address to operate on, MBZ for UNMAP_ALL */
+	__u64 addr;
+
+	/**
+	 * @gt_mask: Mask for which GTs to create binds for, 0 == All GTs,
+	 * only applies to creating new VMAs
+	 */
+	__u64 gt_mask;
+
+	/** @op: Operation to perform (lower 16 bits) and flags (upper 16 bits) */
+	__u32 op;
+
+	/** @mem_region: Memory region to prefetch VMA to, instance not a mask */
+	__u32 region;
+
+#define XE_VM_BIND_OP_MAP		0x0
+#define XE_VM_BIND_OP_UNMAP		0x1
+#define XE_VM_BIND_OP_MAP_USERPTR	0x2
+#define XE_VM_BIND_OP_RESTART		0x3
+#define XE_VM_BIND_OP_UNMAP_ALL		0x4
+#define XE_VM_BIND_OP_PREFETCH		0x5
+
+#define XE_VM_BIND_FLAG_READONLY	(0x1 << 16)
+	/*
+	 * A bind ops completions are always async, hence the support for out
+	 * sync. This flag indicates the allocation of the memory for new page
+	 * tables and the job to program the pages tables is asynchronous
+	 * relative to the IOCTL. That part of a bind operation can fail under
+	 * memory pressure, the job in practice can't fail unless the system is
+	 * totally shot.
+	 *
+	 * If this flag is clear and the IOCTL doesn't return an error, in
+	 * practice the bind op is good and will complete.
+	 *
+	 * If this flag is set and doesn't return return an error, the bind op
+	 * can still fail and recovery is needed. If configured, the bind op that
+	 * caused the error will be captured in drm_xe_vm_bind_op_error_capture.
+	 * Once the user sees the error (via a ufence +
+	 * XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS), it should free memory
+	 * via non-async unbinds, and then restart all queue'd async binds op via
+	 * XE_VM_BIND_OP_RESTART. Or alternatively the user should destroy the
+	 * VM.
+	 *
+	 * This flag is only allowed when DRM_XE_VM_CREATE_ASYNC_BIND_OPS is
+	 * configured in the VM and must be set if the VM is configured with
+	 * DRM_XE_VM_CREATE_ASYNC_BIND_OPS and not in an error state.
+	 */
+#define XE_VM_BIND_FLAG_ASYNC		(0x1 << 17)
+	/*
+	 * Valid on a faulting VM only, do the MAP operation immediately rather
+	 * than differing the MAP to the page fault handler.
+	 */
+#define XE_VM_BIND_FLAG_IMMEDIATE	(0x1 << 18)
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_bind {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID of the VM to bind to */
+	__u32 vm_id;
+
+	/**
+	 * @engine_id: engine_id, must be of class DRM_XE_ENGINE_CLASS_VM_BIND
+	 * and engine must have same vm_id. If zero, the default VM bind engine
+	 * is used.
+	 */
+	__u32 engine_id;
+
+	/** @num_binds: number of binds in this IOCTL */
+	__u32 num_binds;
+
+	union {
+		/** @bind: used if num_binds == 1 */
+		struct drm_xe_vm_bind_op bind;
+		/**
+		 * @vector_of_binds: userptr to array of struct
+		 * drm_xe_vm_bind_op if num_binds > 1
+		 */
+		__u64 vector_of_binds;
+	};
+
+	/** @num_syncs: amount of syncs to wait on */
+	__u32 num_syncs;
+
+	/** @syncs: pointer to struct drm_xe_sync array */
+	__u64 syncs;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/** struct drm_xe_ext_engine_set_property - engine set property extension */
+struct drm_xe_ext_engine_set_property {
+	/** @base: base user extension */
+	struct xe_user_extension base;
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+};
+
+/**
+ * struct drm_xe_engine_set_property - engine set property
+ *
+ * Same namespace for extensions as drm_xe_engine_create
+ */
+struct drm_xe_engine_set_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to set */
+#define XE_ENGINE_SET_PROPERTY_PRIORITY			0
+#define XE_ENGINE_SET_PROPERTY_TIMESLICE		1
+#define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT	2
+	/*
+	 * Long running or ULLS engine mode. DMA fences not allowed in this
+	 * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves
+	 * as a sanity check the UMD knows what it is doing. Can only be set at
+	 * engine create time.
+	 */
+#define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE		3
+#define XE_ENGINE_SET_PROPERTY_PERSISTENCE		4
+#define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT		5
+#define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER		6
+#define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY		7
+#define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY		8
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_create {
+	/** @extensions: Pointer to the first extension struct, if any */
+#define XE_ENGINE_EXTENSION_SET_PROPERTY               0
+	__u64 extensions;
+
+	/** @width: submission width (number BB per exec) for this engine */
+	__u16 width;
+
+	/** @num_placements: number of valid placements for this engine */
+	__u16 num_placements;
+
+	/** @vm_id: VM to use for this engine */
+	__u32 vm_id;
+
+	/** @flags: MBZ */
+	__u32 flags;
+
+	/** @engine_id: Returned engine ID */
+	__u32 engine_id;
+
+	/**
+	 * @instances: user pointer to a 2-d array of struct
+	 * drm_xe_engine_class_instance
+	 *
+	 * length = width (i) * num_placements (j)
+	 * index = j + i * width
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_get_property {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @property: property to get */
+#define XE_ENGINE_GET_PROPERTY_BAN			0
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_engine_destroy {
+	/** @engine_id: Engine ID */
+	__u32 engine_id;
+
+	/** @pad: MBZ */
+	__u32 pad;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_sync {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 flags;
+
+#define DRM_XE_SYNC_SYNCOBJ		0x0
+#define DRM_XE_SYNC_TIMELINE_SYNCOBJ	0x1
+#define DRM_XE_SYNC_DMA_BUF		0x2
+#define DRM_XE_SYNC_USER_FENCE		0x3
+#define DRM_XE_SYNC_SIGNAL		0x10
+
+	union {
+		__u32 handle;
+		/**
+		 * @addr: Address of user fence. When sync passed in via exec
+		 * IOCTL this a GPU address in the VM. When sync passed in via
+		 * VM bind IOCTL this is a user pointer. In either case, it is
+		 * the users responsibility that this address is present and
+		 * mapped when the user fence is signalled. Must be qword
+		 * aligned.
+		 */
+		__u64 addr;
+	};
+
+	__u64 timeline_value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_exec {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: VM ID to run batch buffer in */
+	__u32 engine_id;
+
+	/** @num_syncs: Amount of struct drm_xe_sync in array. */
+	__u32 num_syncs;
+
+	/** @syncs: Pointer to struct drm_xe_sync array. */
+	__u64 syncs;
+
+	/**
+	  * @address: address of batch buffer if num_batch_buffer == 1 or an
+	  * array of batch buffer addresses
+	  */
+	__u64 address;
+
+	/**
+	 * @num_batch_buffer: number of batch buffer in this exec, must match
+	 * the width of the engine
+	 */
+	__u16 num_batch_buffer;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_mmio {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	__u32 addr;
+
+	__u32 flags;
+
+#define DRM_XE_MMIO_8BIT	0x0
+#define DRM_XE_MMIO_16BIT	0x1
+#define DRM_XE_MMIO_32BIT	0x2
+#define DRM_XE_MMIO_64BIT	0x3
+#define DRM_XE_MMIO_BITS_MASK	0x3
+#define DRM_XE_MMIO_READ	0x4
+#define DRM_XE_MMIO_WRITE	0x8
+
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+/**
+ * struct drm_xe_wait_user_fence - wait user fence
+ *
+ * Wait on user fence, XE will wakeup on every HW engine interrupt in the
+ * instances list and check if user fence is complete:
+ * (*addr & MASK) OP (VALUE & MASK)
+ *
+ * Returns to user on user fence completion or timeout.
+ */
+struct drm_xe_wait_user_fence {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+	union {
+		/**
+		 * @addr: user pointer address to wait on, must qword aligned
+		 */
+		__u64 addr;
+		/**
+		 * @vm_id: The ID of the VM which encounter an error used with
+		 * DRM_XE_UFENCE_WAIT_VM_ERROR. Upper 32 bits must be clear.
+		 */
+		__u64 vm_id;
+	};
+	/** @op: wait operation (type of comparison) */
+#define DRM_XE_UFENCE_WAIT_EQ	0
+#define DRM_XE_UFENCE_WAIT_NEQ	1
+#define DRM_XE_UFENCE_WAIT_GT	2
+#define DRM_XE_UFENCE_WAIT_GTE	3
+#define DRM_XE_UFENCE_WAIT_LT	4
+#define DRM_XE_UFENCE_WAIT_LTE	5
+	__u16 op;
+	/** @flags: wait flags */
+#define DRM_XE_UFENCE_WAIT_SOFT_OP	(1 << 0)	/* e.g. Wait on VM bind */
+#define DRM_XE_UFENCE_WAIT_ABSTIME	(1 << 1)
+#define DRM_XE_UFENCE_WAIT_VM_ERROR	(1 << 2)
+	__u16 flags;
+	/** @value: compare value */
+	__u64 value;
+	/** @mask: comparison mask */
+#define DRM_XE_UFENCE_WAIT_U8		0xffu
+#define DRM_XE_UFENCE_WAIT_U16		0xffffu
+#define DRM_XE_UFENCE_WAIT_U32		0xffffffffu
+#define DRM_XE_UFENCE_WAIT_U64		0xffffffffffffffffu
+	__u64 mask;
+	/** @timeout: how long to wait before bailing, value in jiffies */
+	__s64 timeout;
+	/**
+	 * @num_engines: number of engine instances to wait on, must be zero
+	 * when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 num_engines;
+	/**
+	 * @instances: user pointer to array of drm_xe_engine_class_instance to
+	 * wait on, must be NULL when DRM_XE_UFENCE_WAIT_SOFT_OP set
+	 */
+	__u64 instances;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+struct drm_xe_vm_madvise {
+	/** @extensions: Pointer to the first extension struct, if any */
+	__u64 extensions;
+
+	/** @vm_id: The ID VM in which the VMA exists */
+	__u32 vm_id;
+
+	/** @range: Number of bytes in the VMA */
+	__u64 range;
+
+	/** @addr: Address of the VMA to operation on */
+	__u64 addr;
+
+	/*
+	 * Setting the preferred location will trigger a migrate of the VMA
+	 * backing store to new location if the backing store is already
+	 * allocated.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS	0
+#define DRM_XE_VM_MADVISE_PREFERRED_GT		1
+	/*
+	 * In this case lower 32 bits are mem class, upper 32 are GT.
+	 * Combination provides a single IOCTL plus migrate VMA to preferred
+	 * location.
+	 */
+#define DRM_XE_VM_MADVISE_PREFERRED_MEM_CLASS_GT	2
+	/*
+	 * The CPU will do atomic memory operations to this VMA. Must be set on
+	 * some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_CPU_ATOMIC		3
+	/*
+	 * The device will do atomic memory operations to this VMA. Must be set
+	 * on some devices for atomics to behave correctly.
+	 */
+#define DRM_XE_VM_MADVISE_DEVICE_ATOMIC		4
+	/*
+	 * Priority WRT to eviction (moving from preferred memory location due
+	 * to memory pressure). The lower the priority, the more likely to be
+	 * evicted.
+	 */
+#define DRM_XE_VM_MADVISE_PRIORITY		5
+#define		DRM_XE_VMA_PRIORITY_LOW		0
+#define		DRM_XE_VMA_PRIORITY_NORMAL	1	/* Default */
+#define		DRM_XE_VMA_PRIORITY_HIGH	2	/* Must be elevated user */
+	/* Pin the VMA in memory, must be elevated user */
+#define DRM_XE_VM_MADVISE_PIN			6
+
+	/** @property: property to set */
+	__u32 property;
+
+	/** @value: property value */
+	__u64 value;
+
+	/** @reserved: Reserved */
+	__u64 reserved[2];
+};
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif /* _UAPI_XE_DRM_H_ */  
#4 lore raw

PATCH v4 2/8 lib/xe: Introduce Xe library

In reply to Zbigniew Kempczyński

Xe, is a new driver for Intel GPUs that supports both integrated and discrete platforms starting with Tiger Lake (first Intel Xe Architecture).

Series was split to allow easier review. Library, drm uapi, tests, tools and other were squashed according to code subject.

This patch introduces library used for Xe tests. As there's not too trivial to calculate credits for squashed subjects full series credits are:

Co-developed-by Matthew Brost
[commits: 90 / lines changed: 12574]
Co-developed-by Mauro Carvalho Chehab
[commits: 28 / lines changed: 1873]
Co-developed-by Rodrigo Vivi
[commits: 15 / lines changed: 1317]
Co-developed-by Jason Ekstrand
[commits: 14 / lines changed: 1418]
Co-developed-by Francois Dugast
[commits: 8 / lines changed: 1082]
Co-developed-by Philippe Lecluse
[commits: 6 / lines changed: 560]
Co-developed-by Zbigniew Kempczyński
[commits: 4 / lines changed: 1091]
Co-developed-by Matthew Auld
[commits: 3 / lines changed: 35]
Co-developed-by Niranjana Vishwanathapura
[commits: 2 / lines changed: 66]
Co-developed-by Maarten Lankhorst
[commits: 2 / lines changed: 774]
Co-developed-by Ryszard Knop
[commits: 1 / lines changed: 12]
Co-developed-by Thomas Hellström
[commits: 1 / lines changed: 12]
---
 lib/drmtest.c       |   3 +
 lib/drmtest.h       |   1 +
 lib/meson.build     |   4 +
 lib/xe/xe_compute.c | 406 ++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_compute.h |  29 +++
 lib/xe/xe_ioctl.c   | 436 ++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_ioctl.h   |  87 ++++++++
 lib/xe/xe_query.c   | 471 ++++++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_query.h   |  94 +++++++++
 lib/xe/xe_spin.c    | 157 +++++++++++++++
 lib/xe/xe_spin.h    |  48 +++++
 meson.build         |   8 +
 12 files changed, 1744 insertions(+)
 create mode 100644 lib/xe/xe_compute.c
 create mode 100644 lib/xe/xe_compute.h
 create mode 100644 lib/xe/xe_ioctl.c
 create mode 100644 lib/xe/xe_ioctl.h
 create mode 100644 lib/xe/xe_query.c
 create mode 100644 lib/xe/xe_query.h
 create mode 100644 lib/xe/xe_spin.c
 create mode 100644 lib/xe/xe_spin.h
lib/drmtest.c +3 -0
index 8e2d1ac50b..0ceab10389 100644
@@ -189,6 +189,7 @@ static const struct module {
 	{ DRIVER_V3D, "v3d" },
 	{ DRIVER_VC4, "vc4" },
 	{ DRIVER_VGEM, "vgem" },
+	{ DRIVER_XE, "xe" },
 	{}
 };
 
@@ -547,6 +548,8 @@ static const char *chipset_to_str(int chipset)
 		return "panfrost";
 	case DRIVER_MSM:
 		return "msm";
+	case DRIVER_XE:
+		return "xe";
 	case DRIVER_ANY:
 		return "any";
 	default:
lib/drmtest.h +1 -0
index b5debd44b3..448ac03b49 100644
@@ -51,6 +51,7 @@
 #define DRIVER_V3D	(1 << 4)
 #define DRIVER_PANFROST	(1 << 5)
 #define DRIVER_MSM	(1 << 6)
+#define DRIVER_XE	(1 << 7)
 
 /*
  * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system
lib/meson.build +4 -0
index c5131d9aff..768ce90b54 100644
@@ -98,6 +98,10 @@ lib_sources = [
 	'veboxcopy_gen12.c',
 	'igt_msm.c',
 	'igt_dsc.c',
+	'xe/xe_compute.c',
+	'xe/xe_ioctl.c',
+	'xe/xe_query.c',
+	'xe/xe_spin.c'
 ]
 
 lib_deps = [
lib/xe/xe_compute.c new file +406 -0

406 lines not on this page · raw message

lib/xe/xe_compute.h new file +29 -0
new file mode 100644
index 0000000000..de763101da
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Francois Dugast <[email protected]>
+ */
+
+#ifndef XE_COMPUTE_H
+#define XE_COMPUTE_H
+
+#include <stdint.h>
+
+void tgllp_create_indirect_data(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output);
+void tgllp_create_surface_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output);
+void tgllp_create_dynamic_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t offset_kernel);
+void tgllp_create_batch_compute(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_surface_state_base,
+				uint64_t addr_dynamic_state_base,
+				uint64_t addr_indirect_object_base,
+				uint64_t offset_indirect_data_start);
+
+extern unsigned char tgllp_kernel_square_bin[];
+extern unsigned int tgllp_kernel_square_length;
+
+#endif	/* XE_COMPUTE_H */
lib/xe/xe_ioctl.c new file +436 -0

436 lines not on this page · raw message

lib/xe/xe_ioctl.h new file +87 -0

87 lines not on this page · raw message

lib/xe/xe_query.c new file +471 -0

471 lines not on this page · raw message

lib/xe/xe_query.h new file +94 -0

94 lines not on this page · raw message

lib/xe/xe_spin.c new file +157 -0

157 lines not on this page · raw message

lib/xe/xe_spin.h new file +48 -0

48 lines not on this page · raw message

meson.build +8 -0
index e7a68503d7..2a7f6078c4 100644
@@ -261,6 +261,7 @@ libexecdir = join_paths(get_option('libexecdir'), 'igt-gpu-tools')
 amdgpudir = join_paths(libexecdir, 'amdgpu')
 v3ddir = join_paths(libexecdir, 'v3d')
 vc4dir = join_paths(libexecdir, 'vc4')
+xedir = join_paths(libexecdir, 'xe')
 mandir = get_option('mandir')
 pkgconfigdir = join_paths(libdir, 'pkgconfig')
 python3 = find_program('python3', required : true)
@@ -308,12 +309,19 @@ if get_option('use_rpath')
 		vc4_rpathdir = join_paths(vc4_rpathdir, '..')
 	endforeach
 	vc4_rpathdir = join_paths(vc4_rpathdir, libdir)
+
+	xedir_rpathdir = '$ORIGIN'
+	foreach p : xedir.split('/')
+		xedir_rpathdir = join_paths(xedir_rpathdir, '..')
+	endforeach
+	xedir_rpathdir = join_paths(xedir_rpathdir, libdir)
 else
 	bindir_rpathdir = ''
 	libexecdir_rpathdir = ''
 	amdgpudir_rpathdir = ''
 	v3d_rpathdir = ''
 	vc4_rpathdir = ''
+	xedir_rpathdir = ''
 endif
 
 subdir('lib')
Signature · 1 line
2.34.1
Acked-by on v4 2/8
#5 lore raw

Re: [igt-dev] [PATCH i-g-t v4 2/8] lib/xe: Introduce Xe library

Quoted 29 lines · On Thu, 2 Mar 2023 12:09:41 +0100 Zbigniew Kempczyński…

Xe, is a new driver for Intel GPUs that supports both integrated and discrete platforms starting with Tiger Lake (first Intel Xe Architecture).

Series was split to allow easier review. Library, drm uapi, tests, tools and other were squashed according to code subject.

This patch introduces library used for Xe tests. As there's not too trivial to calculate credits for squashed subjects full series credits are:

Co-developed-by Matthew Brost
[commits: 90 / lines changed: 12574]
Co-developed-by Mauro Carvalho Chehab
[commits: 28 / lines changed: 1873]
Co-developed-by Rodrigo Vivi
[commits: 15 / lines changed: 1317]
Co-developed-by Jason Ekstrand
[commits: 14 / lines changed: 1418]
Co-developed-by Francois Dugast
[commits: 8 / lines changed: 1082]
Co-developed-by Philippe Lecluse
[commits: 6 / lines changed: 560]
Co-developed-by Zbigniew Kempczyński
[commits: 4 / lines changed: 1091]
Co-developed-by Matthew Auld
[commits: 3 / lines changed: 35]
Co-developed-by Niranjana Vishwanathapura
[commits: 2 / lines changed: 66]
Quoted 8 lines
Co-developed-by Maarten Lankhorst
[commits: 2 / lines changed: 774]
Co-developed-by Ryszard Knop
[commits: 1 / lines changed: 12]
Co-developed-by Thomas Hellström
[commits: 1 / lines changed: 12]
Quoted 1,879 lines
---
 lib/drmtest.c       |   3 +
 lib/drmtest.h       |   1 +
 lib/meson.build     |   4 +
 lib/xe/xe_compute.c | 406 ++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_compute.h |  29 +++
 lib/xe/xe_ioctl.c   | 436 ++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_ioctl.h   |  87 ++++++++
 lib/xe/xe_query.c   | 471 ++++++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_query.h   |  94 +++++++++
 lib/xe/xe_spin.c    | 157 +++++++++++++++
 lib/xe/xe_spin.h    |  48 +++++
 meson.build         |   8 +
 12 files changed, 1744 insertions(+)
 create mode 100644 lib/xe/xe_compute.c
 create mode 100644 lib/xe/xe_compute.h
 create mode 100644 lib/xe/xe_ioctl.c
 create mode 100644 lib/xe/xe_ioctl.h
 create mode 100644 lib/xe/xe_query.c
 create mode 100644 lib/xe/xe_query.h
 create mode 100644 lib/xe/xe_spin.c
 create mode 100644 lib/xe/xe_spin.h
lib/drmtest.c +3 -0
index 8e2d1ac50b..0ceab10389 100644
@@ -189,6 +189,7 @@ static const struct module {
 	{ DRIVER_V3D, "v3d" },
 	{ DRIVER_VC4, "vc4" },
 	{ DRIVER_VGEM, "vgem" },
+	{ DRIVER_XE, "xe" },
 	{}
 };
 
@@ -547,6 +548,8 @@ static const char *chipset_to_str(int chipset)
 		return "panfrost";
 	case DRIVER_MSM:
 		return "msm";
+	case DRIVER_XE:
+		return "xe";
 	case DRIVER_ANY:
 		return "any";
 	default:
lib/drmtest.h +1 -0
index b5debd44b3..448ac03b49 100644
@@ -51,6 +51,7 @@
 #define DRIVER_V3D	(1 << 4)
 #define DRIVER_PANFROST	(1 << 5)
 #define DRIVER_MSM	(1 << 6)
+#define DRIVER_XE	(1 << 7)
 
 /*
  * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system
lib/meson.build +4 -0
index c5131d9aff..768ce90b54 100644
@@ -98,6 +98,10 @@ lib_sources = [
 	'veboxcopy_gen12.c',
 	'igt_msm.c',
 	'igt_dsc.c',
+	'xe/xe_compute.c',
+	'xe/xe_ioctl.c',
+	'xe/xe_query.c',
+	'xe/xe_spin.c'
 ]
 
 lib_deps = [
lib/xe/xe_compute.c new file +406 -0
new file mode 100644
index 0000000000..8c0f8c87d5
@@ -0,0 +1,406 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Francois Dugast <[email protected]>
+ */
+
+#include "xe_compute.h"
+
+#define PIPE_CONTROL			0x7a000004
+#define MI_LOAD_REGISTER_IMM		0x11000001
+#define PIPELINE_SELECT			0x69040302
+#define MEDIA_VFE_STATE			0x70000007
+#define STATE_BASE_ADDRESS		0x61010014
+#define MEDIA_STATE_FLUSH		0x0
+#define MEDIA_INTERFACE_DESCRIPTOR_LOAD	0x70020002
+#define GPGPU_WALKER			0x7105000d
+#define MI_BATCH_BUFFER_END		(0xA << 23)
+
+// generated with: ocloc -file kernel.cl -device tgllp && xxd -i kernel_Gen12LPlp.gen
+unsigned char tgllp_kernel_square_bin[] = {
+	0x61, 0x00, 0x03, 0x80, 0x20, 0x02, 0x05, 0x03, 0x04, 0x00, 0x10, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x66, 0x01, 0x00, 0x80, 0x20, 0x82, 0x01, 0x80,
+	0x00, 0x80, 0x00, 0x01, 0xc0, 0x04, 0xc0, 0x04, 0x41, 0x01, 0x20, 0x22,
+	0x16, 0x09, 0x11, 0x03, 0x49, 0x00, 0x04, 0xa2, 0x12, 0x09, 0x11, 0x03,
+	0x40, 0x01, 0x04, 0x00, 0x60, 0x06, 0x05, 0x05, 0x04, 0x04, 0x00, 0x01,
+	0x05, 0x01, 0x58, 0x00, 0x40, 0x00, 0x24, 0x00, 0x60, 0x06, 0x05, 0x0a,
+	0x04, 0x04, 0x00, 0x01, 0x05, 0x02, 0x58, 0x00, 0x40, 0x02, 0x0c, 0xa0,
+	0x02, 0x05, 0x10, 0x07, 0x40, 0x02, 0x0e, 0xa6, 0x02, 0x0a, 0x10, 0x07,
+	0x70, 0x02, 0x04, 0x00, 0x60, 0x02, 0x01, 0x00, 0x05, 0x0c, 0x46, 0x52,
+	0x84, 0x08, 0x00, 0x00, 0x70, 0x02, 0x24, 0x00, 0x60, 0x02, 0x01, 0x00,
+	0x05, 0x0e, 0x46, 0x52, 0x84, 0x08, 0x00, 0x00, 0x72, 0x00, 0x02, 0x80,
+	0x50, 0x0d, 0x04, 0x00, 0x05, 0x00, 0x05, 0x1d, 0x05, 0x00, 0x05, 0x00,
+	0x22, 0x00, 0x05, 0x01, 0x00, 0xc0, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
+	0x90, 0x00, 0x00, 0x00, 0x69, 0x00, 0x10, 0x60, 0x02, 0x0c, 0x20, 0x00,
+	0x69, 0x00, 0x12, 0x66, 0x02, 0x0e, 0x20, 0x00, 0x40, 0x02, 0x14, 0xa0,
+	0x32, 0x10, 0x10, 0x08, 0x40, 0x02, 0x16, 0xa6, 0x32, 0x12, 0x10, 0x08,
+	0x31, 0xa0, 0x04, 0x00, 0x00, 0x00, 0x14, 0x18, 0x14, 0x14, 0x00, 0xcc,
+	0x00, 0x00, 0x16, 0x00, 0x31, 0x91, 0x24, 0x00, 0x00, 0x00, 0x14, 0x1a,
+	0x14, 0x16, 0x00, 0xcc, 0x00, 0x00, 0x16, 0x00, 0x40, 0x00, 0x10, 0xa0,
+	0x4a, 0x10, 0x10, 0x08, 0x40, 0x00, 0x12, 0xa6, 0x4a, 0x12, 0x10, 0x08,
+	0x41, 0x20, 0x18, 0x20, 0x00, 0x18, 0x00, 0x18, 0x41, 0x21, 0x1a, 0x26,
+	0x00, 0x1a, 0x00, 0x1a, 0x31, 0xa2, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x14, 0x10, 0x02, 0xcc, 0x14, 0x18, 0x96, 0x00, 0x31, 0x93, 0x24, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x14, 0x12, 0x02, 0xcc, 0x14, 0x1a, 0x96, 0x00,
+	0x25, 0x00, 0x05, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x10, 0x00, 0x00, 0x00, 0x61, 0x00, 0x7f, 0x64, 0x00, 0x03, 0x10, 0x00,
+	0x31, 0x44, 0x03, 0x80, 0x00, 0x00, 0x0c, 0x1c, 0x0c, 0x03, 0x00, 0xa0,
+	0x00, 0x00, 0x78, 0x02, 0x61, 0x24, 0x03, 0x80, 0x20, 0x02, 0x01, 0x00,
+	0x05, 0x1c, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x04, 0x80,
+	0xa0, 0x4a, 0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x31, 0x01, 0x03, 0x80, 0x04, 0x00, 0x00, 0x00, 0x0c, 0x7f, 0x20, 0x70,
+	0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+};
+unsigned int tgllp_kernel_square_length = sizeof(tgllp_kernel_square_bin);
+
+/**
+ * tgllp_create_indirect_data:
+ * @addr_bo_buffer_batch: pointer to batch buffer
+ * @addr_input: input buffer gpu offset
+ * @addr_output: output buffer gpu offset
+ *
+ * Prepares indirect data for compute pipeline.
+ */
+void tgllp_create_indirect_data(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output)
+{
+	int b = 0;
+
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000200;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = addr_input & 0xffffffff;
+	addr_bo_buffer_batch[b++] = addr_input >> 32;
+	addr_bo_buffer_batch[b++] = addr_output & 0xffffffff;
+	addr_bo_buffer_batch[b++] = addr_output >> 32;
+	addr_bo_buffer_batch[b++] = 0x00000400;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000200;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00010000;
+	addr_bo_buffer_batch[b++] = 0x00030002;
+	addr_bo_buffer_batch[b++] = 0x00050004;
+	addr_bo_buffer_batch[b++] = 0x00070006;
+	addr_bo_buffer_batch[b++] = 0x00090008;
+	addr_bo_buffer_batch[b++] = 0x000B000A;
+	addr_bo_buffer_batch[b++] = 0x000D000C;
+	addr_bo_buffer_batch[b++] = 0x000F000E;
+	addr_bo_buffer_batch[b++] = 0x00110010;
+	addr_bo_buffer_batch[b++] = 0x00130012;
+	addr_bo_buffer_batch[b++] = 0x00150014;
+	addr_bo_buffer_batch[b++] = 0x00170016;
+	addr_bo_buffer_batch[b++] = 0x00190018;
+	addr_bo_buffer_batch[b++] = 0x001B001A;
+	addr_bo_buffer_batch[b++] = 0x001D001C;
+	addr_bo_buffer_batch[b++] = 0x001F001E;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00210020;
+	addr_bo_buffer_batch[b++] = 0x00230022;
+	addr_bo_buffer_batch[b++] = 0x00250024;
+	addr_bo_buffer_batch[b++] = 0x00270026;
+	addr_bo_buffer_batch[b++] = 0x00290028;
+	addr_bo_buffer_batch[b++] = 0x002B002A;
+	addr_bo_buffer_batch[b++] = 0x002D002C;
+	addr_bo_buffer_batch[b++] = 0x002F002E;
+	addr_bo_buffer_batch[b++] = 0x00310030;
+	addr_bo_buffer_batch[b++] = 0x00330032;
+	addr_bo_buffer_batch[b++] = 0x00350034;
+	addr_bo_buffer_batch[b++] = 0x00370036;
+	addr_bo_buffer_batch[b++] = 0x00390038;
+	addr_bo_buffer_batch[b++] = 0x003B003A;
+	addr_bo_buffer_batch[b++] = 0x003D003C;
+	addr_bo_buffer_batch[b++] = 0x003F003E;
+}
+
+/**
+ * tgllp_create_surface_state:
+ * @addr_bo_buffer_batch: pointer to batch buffer
+ * @addr_input: input buffer gpu offset
+ * @addr_output: output buffer gpu offset
+ *
+ * Prepares surface state for compute pipeline.
+ */
+void tgllp_create_surface_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output)
+{
+	int b = 0;
+
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x87FD4000;
+	addr_bo_buffer_batch[b++] = 0x04000000;
+	addr_bo_buffer_batch[b++] = 0x001F007F;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00004000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = addr_input & 0xffffffff;
+	addr_bo_buffer_batch[b++] = addr_input >> 32;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x87FD4000;
+	addr_bo_buffer_batch[b++] = 0x04000000;
+	addr_bo_buffer_batch[b++] = 0x001F007F;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00004000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = addr_output & 0xffffffff;
+	addr_bo_buffer_batch[b++] = addr_output >> 32;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000040;
+	addr_bo_buffer_batch[b++] = 0x00000080;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+}
+
+/**
+ * tgllp_create_dynamic_state:
+ * @addr_bo_buffer_batch: pointer to batch buffer
+ * @offset_kernel: gpu offset of the shader
+ *
+ * Prepares dynamic state for compute pipeline.
+ */
+void tgllp_create_dynamic_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t offset_kernel)
+{
+	int b = 0;
+
+	addr_bo_buffer_batch[b++] = offset_kernel;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00180000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x000000C0;
+	addr_bo_buffer_batch[b++] = 0x00060000;
+	addr_bo_buffer_batch[b++] = 0x00000010;
+	addr_bo_buffer_batch[b++] = 0x00000003;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+}
+
+/**
+ * tgllp_create_batch_compute:
+ * @addr_bo_buffer_batch: pointer to batch buffer
+ * @addr_surface_state_base: gpu offset of surface state data
+ * @addr_dynamic_state_base: gpu offset of dynamic state data
+ * @addr_indirect_object_base: gpu offset of indirect object data
+ * @offset_indirect_data_start: gpu offset of indirect data start
+ *
+ * Prepares compute pipeline.
+ */
+void tgllp_create_batch_compute(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_surface_state_base,
+				uint64_t addr_dynamic_state_base,
+				uint64_t addr_indirect_object_base,
+				uint64_t offset_indirect_data_start)
+{
+	int b = 0;
+
+	addr_bo_buffer_batch[b++] = MI_LOAD_REGISTER_IMM;
+	addr_bo_buffer_batch[b++] = 0x00002580;
+	addr_bo_buffer_batch[b++] = 0x00060002;
+	addr_bo_buffer_batch[b++] = PIPELINE_SELECT;
+	addr_bo_buffer_batch[b++] = MI_LOAD_REGISTER_IMM;
+	addr_bo_buffer_batch[b++] = 0x00007034;
+	addr_bo_buffer_batch[b++] = 0x60000321;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = MI_LOAD_REGISTER_IMM;
+	addr_bo_buffer_batch[b++] = 0x0000E404;
+	addr_bo_buffer_batch[b++] = 0x00000100;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00101021;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = MEDIA_VFE_STATE;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00A70100;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x07820000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100420;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = STATE_BASE_ADDRESS;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00040000;
+	addr_bo_buffer_batch[b++] = (addr_surface_state_base & 0xffffffff) | 0x1;
+	addr_bo_buffer_batch[b++] = addr_surface_state_base >> 32;
+	addr_bo_buffer_batch[b++] = (addr_dynamic_state_base & 0xffffffff) | 0x1;
+	addr_bo_buffer_batch[b++] = addr_dynamic_state_base >> 32;
+	addr_bo_buffer_batch[b++] = (addr_indirect_object_base & 0xffffffff) | 0x1;
+	addr_bo_buffer_batch[b++] = (addr_indirect_object_base >> 32) | 0xffff0000;
+	addr_bo_buffer_batch[b++] = (addr_indirect_object_base & 0xffffffff) | 0x41;
+	addr_bo_buffer_batch[b++] = addr_indirect_object_base >> 32;
+	addr_bo_buffer_batch[b++] = 0xFFFFF001;
+	addr_bo_buffer_batch[b++] = 0x00010001;
+	addr_bo_buffer_batch[b++] = 0xFFFFF001;
+	addr_bo_buffer_batch[b++] = 0xFFFFF001;
+	addr_bo_buffer_batch[b++] = (addr_surface_state_base & 0xffffffff) | 0x1;
+	addr_bo_buffer_batch[b++] = addr_surface_state_base >> 32;
+	addr_bo_buffer_batch[b++] = 0x003BF000;
+	addr_bo_buffer_batch[b++] = 0x00000041;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = MEDIA_STATE_FLUSH;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = MEDIA_INTERFACE_DESCRIPTOR_LOAD;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000020;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = GPGPU_WALKER;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000c80;
+	addr_bo_buffer_batch[b++] = offset_indirect_data_start;
+	addr_bo_buffer_batch[b++] = 0x8000000f;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000002;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000001;
+	addr_bo_buffer_batch[b++] = 0xffffffff;
+	addr_bo_buffer_batch[b++] = 0xffffffff;
+	addr_bo_buffer_batch[b++] = MEDIA_STATE_FLUSH;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = PIPE_CONTROL;
+	addr_bo_buffer_batch[b++] = 0x00100120;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = 0x00000000;
+	addr_bo_buffer_batch[b++] = MI_BATCH_BUFFER_END;
+}
lib/xe/xe_compute.h new file +29 -0
new file mode 100644
index 0000000000..de763101da
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Francois Dugast <[email protected]>
+ */
+
+#ifndef XE_COMPUTE_H
+#define XE_COMPUTE_H
+
+#include <stdint.h>
+
+void tgllp_create_indirect_data(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output);
+void tgllp_create_surface_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_input, uint64_t addr_output);
+void tgllp_create_dynamic_state(uint32_t *addr_bo_buffer_batch,
+				uint64_t offset_kernel);
+void tgllp_create_batch_compute(uint32_t *addr_bo_buffer_batch,
+				uint64_t addr_surface_state_base,
+				uint64_t addr_dynamic_state_base,
+				uint64_t addr_indirect_object_base,
+				uint64_t offset_indirect_data_start);
+
+extern unsigned char tgllp_kernel_square_bin[];
+extern unsigned int tgllp_kernel_square_length;
+
+#endif	/* XE_COMPUTE_H */
lib/xe/xe_ioctl.c new file +436 -0
new file mode 100644
index 0000000000..9d5793dff7
@@ -0,0 +1,436 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Jason Ekstrand <[email protected]>
+ *    Maarten Lankhorst <[email protected]>
+ *    Matthew Brost <[email protected]>
+ */
+
+#ifdef HAVE_LIBGEN_H
+#include <libgen.h>
+#endif
+
+#include <errno.h>
+#include <fcntl.h>
+#include <getopt.h>
+#include <pciaccess.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <termios.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/syscall.h>
+#include <sys/types.h>
+#include <sys/utsname.h>
+#include <sys/wait.h>
+
+#ifdef __linux__
+#include <sys/sysmacros.h>
+#else
+#define major(__v__) (((__v__) >> 8) & 0xff)
+#define minor(__v__) ((__v__) & 0xff)
+#endif
+
+#include "config.h"
+#include "drmtest.h"
+#include "igt_syncobj.h"
+#include "ioctl_wrappers.h"
+#include "xe_ioctl.h"
+#include "xe_query.h"
+
+uint32_t xe_cs_prefetch_size(int fd)
+{
+	return 512;
+}
+
+uint32_t xe_vm_create(int fd, uint32_t flags, uint64_t ext)
+{
+	struct drm_xe_vm_create create = {
+		.extensions = ext,
+		.flags = flags,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_VM_CREATE, &create), 0);
+
+	return create.vm_id;
+}
+
+void xe_vm_unbind_all_async(int fd, uint32_t vm, uint32_t engine,
+			    uint32_t bo, struct drm_xe_sync *sync,
+			    uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, engine, bo, 0, 0, 0,
+			    XE_VM_BIND_OP_UNMAP_ALL | XE_VM_BIND_FLAG_ASYNC,
+			    sync, num_syncs, 0, 0);
+}
+
+void xe_vm_bind_array(int fd, uint32_t vm, uint32_t engine,
+		      struct drm_xe_vm_bind_op *bind_ops,
+		      uint32_t num_bind, struct drm_xe_sync *sync,
+		      uint32_t num_syncs)
+{
+	struct drm_xe_vm_bind bind = {
+		.vm_id = vm,
+		.num_binds = num_bind,
+		.vector_of_binds = (uintptr_t)bind_ops,
+		.num_syncs = num_syncs,
+		.syncs = (uintptr_t)sync,
+		.engine_id = engine,
+	};
+
+	igt_assert(num_bind > 1);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_VM_BIND, &bind), 0);
+}
+
+int  __xe_vm_bind(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+		  uint64_t offset, uint64_t addr, uint64_t size, uint32_t op,
+		  struct drm_xe_sync *sync, uint32_t num_syncs, uint32_t region,
+		  uint64_t ext)
+{
+	struct drm_xe_vm_bind bind = {
+		.extensions = ext,
+		.vm_id = vm,
+		.num_binds = 1,
+		.bind.obj = bo,
+		.bind.obj_offset = offset,
+		.bind.range = size,
+		.bind.addr = addr,
+		.bind.op = op,
+		.bind.region = region,
+		.num_syncs = num_syncs,
+		.syncs = (uintptr_t)sync,
+		.engine_id = engine,
+	};
+
+	if (igt_ioctl(fd, DRM_IOCTL_XE_VM_BIND, &bind))
+		return -errno;
+
+	return 0;
+}
+
+void  __xe_vm_bind_assert(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+			  uint64_t offset, uint64_t addr, uint64_t size,
+			  uint32_t op, struct drm_xe_sync *sync,
+			  uint32_t num_syncs, uint32_t region, uint64_t ext)
+{
+	igt_assert_eq(__xe_vm_bind(fd, vm, engine, bo, offset, addr, size,
+				   op, sync, num_syncs, region, ext), 0);
+}
+
+void xe_vm_bind(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
+		uint64_t addr, uint64_t size,
+		struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, 0, bo, offset, addr, size,
+			    XE_VM_BIND_OP_MAP, sync, num_syncs, 0, 0);
+}
+
+void xe_vm_unbind(int fd, uint32_t vm, uint64_t offset,
+		  uint64_t addr, uint64_t size,
+		  struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, 0, 0, offset, addr, size,
+			    XE_VM_BIND_OP_UNMAP, sync, num_syncs, 0, 0);
+}
+
+void xe_vm_prefetch_async(int fd, uint32_t vm, uint32_t engine, uint64_t offset,
+			  uint64_t addr, uint64_t size,
+			  struct drm_xe_sync *sync, uint32_t num_syncs,
+			  uint32_t region)
+{
+	__xe_vm_bind_assert(fd, vm, engine, 0, offset, addr, size,
+			    XE_VM_BIND_OP_PREFETCH | XE_VM_BIND_FLAG_ASYNC,
+			    sync, num_syncs, region, 0);
+}
+
+void xe_vm_bind_async(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+		      uint64_t offset, uint64_t addr, uint64_t size,
+		      struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, engine, bo, offset, addr, size,
+			    XE_VM_BIND_OP_MAP | XE_VM_BIND_FLAG_ASYNC, sync,
+			    num_syncs, 0, 0);
+}
+
+void xe_vm_bind_async_flags(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+			    uint64_t offset, uint64_t addr, uint64_t size,
+			    struct drm_xe_sync *sync, uint32_t num_syncs,
+			    uint32_t flags)
+{
+	__xe_vm_bind_assert(fd, vm, engine, bo, offset, addr, size,
+			    XE_VM_BIND_OP_MAP | XE_VM_BIND_FLAG_ASYNC | flags,
+			    sync, num_syncs, 0, 0);
+}
+
+void xe_vm_bind_userptr_async(int fd, uint32_t vm, uint32_t engine,
+			      uint64_t userptr, uint64_t addr, uint64_t size,
+			      struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, engine, 0, userptr, addr, size,
+			    XE_VM_BIND_OP_MAP_USERPTR | XE_VM_BIND_FLAG_ASYNC,
+			    sync, num_syncs, 0, 0);
+}
+
+void xe_vm_bind_userptr_async_flags(int fd, uint32_t vm, uint32_t engine,
+				    uint64_t userptr, uint64_t addr,
+				    uint64_t size, struct drm_xe_sync *sync,
+				    uint32_t num_syncs, uint32_t flags)
+{
+	__xe_vm_bind_assert(fd, vm, engine, 0, userptr, addr, size,
+			    XE_VM_BIND_OP_MAP_USERPTR | XE_VM_BIND_FLAG_ASYNC |
+			    flags, sync, num_syncs, 0, 0);
+}
+
+void xe_vm_unbind_async(int fd, uint32_t vm, uint32_t engine,
+			uint64_t offset, uint64_t addr, uint64_t size,
+			struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	__xe_vm_bind_assert(fd, vm, engine, 0, offset, addr, size,
+			    XE_VM_BIND_OP_UNMAP | XE_VM_BIND_FLAG_ASYNC, sync,
+			    num_syncs, 0, 0);
+}
+
+static void __xe_vm_bind_sync(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
+			      uint64_t addr, uint64_t size, uint32_t op)
+{
+	struct drm_xe_sync sync = {
+		.flags = DRM_XE_SYNC_SYNCOBJ | DRM_XE_SYNC_SIGNAL,
+		.handle = syncobj_create(fd, 0),
+	};
+
+	__xe_vm_bind_assert(fd, vm, 0, bo, offset, addr, size, op, &sync, 1, 0,
+			    0);
+
+	igt_assert(syncobj_wait(fd, &sync.handle, 1, INT64_MAX, 0, NULL));
+	syncobj_destroy(fd, sync.handle);
+}
+
+void xe_vm_bind_sync(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
+		     uint64_t addr, uint64_t size)
+{
+	__xe_vm_bind_sync(fd, vm, bo, offset, addr, size, XE_VM_BIND_OP_MAP);
+}
+
+void xe_vm_unbind_sync(int fd, uint32_t vm, uint64_t offset,
+		       uint64_t addr, uint64_t size)
+{
+	__xe_vm_bind_sync(fd, vm, 0, offset, addr, size, XE_VM_BIND_OP_UNMAP);
+}
+
+void xe_vm_destroy(int fd, uint32_t vm)
+{
+	struct drm_xe_vm_destroy destroy = {
+		.vm_id = vm,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_VM_DESTROY, &destroy), 0);
+}
+
+uint32_t xe_bo_create_flags(int fd, uint32_t vm, uint64_t size, uint32_t flags)
+{
+	struct drm_xe_gem_create create = {
+		.vm_id = vm,
+		.size = size,
+		.flags = flags,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_GEM_CREATE, &create), 0);
+
+	return create.handle;
+}
+
+uint32_t xe_bo_create(int fd, int gt, uint32_t vm, uint64_t size)
+{
+	struct drm_xe_gem_create create = {
+		.vm_id = vm,
+		.size = size,
+		.flags = vram_if_possible(fd, gt),
+	};
+	int err;
+
+	err = igt_ioctl(fd, DRM_IOCTL_XE_GEM_CREATE, &create);
+	igt_assert_eq(err, 0);
+
+	return create.handle;
+}
+
+uint32_t xe_bind_engine_create(int fd, uint32_t vm, uint64_t ext)
+{
+	struct drm_xe_engine_class_instance instance = {
+		.engine_class = DRM_XE_ENGINE_CLASS_VM_BIND,
+	};
+	struct drm_xe_engine_create create = {
+		.extensions = ext,
+		.vm_id = vm,
+		.width = 1,
+		.num_placements = 1,
+		.instances = to_user_pointer(&instance),
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_ENGINE_CREATE, &create), 0);
+
+	return create.engine_id;
+}
+
+uint32_t xe_engine_create(int fd, uint32_t vm,
+			  struct drm_xe_engine_class_instance *instance,
+			  uint64_t ext)
+{
+	struct drm_xe_engine_create create = {
+		.extensions = ext,
+		.vm_id = vm,
+		.width = 1,
+		.num_placements = 1,
+		.instances = to_user_pointer(instance),
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_ENGINE_CREATE, &create), 0);
+
+	return create.engine_id;
+}
+
+uint32_t xe_engine_create_class(int fd, uint32_t vm, uint16_t class)
+{
+	struct drm_xe_engine_class_instance instance = {
+		.engine_class = class,
+		.engine_instance = 0,
+		.gt_id = 0,
+	};
+	struct drm_xe_engine_create create = {
+		.vm_id = vm,
+		.width = 1,
+		.num_placements = 1,
+		.instances = to_user_pointer(&instance),
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_ENGINE_CREATE, &create), 0);
+
+	return create.engine_id;
+}
+
+void xe_engine_destroy(int fd, uint32_t engine)
+{
+	struct drm_xe_engine_destroy destroy = {
+		.engine_id = engine,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_ENGINE_DESTROY, &destroy), 0);
+}
+
+uint64_t xe_bo_mmap_offset(int fd, uint32_t bo)
+{
+	struct drm_xe_gem_mmap_offset mmo = {
+		.handle = bo,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_GEM_MMAP_OFFSET, &mmo), 0);
+
+	return mmo.offset;
+}
+
+void *xe_bo_map(int fd, uint32_t bo, size_t size)
+{
+	uint64_t mmo;
+	void *map;
+
+	mmo = xe_bo_mmap_offset(fd, bo);
+	map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, mmo);
+	igt_assert(map != MAP_FAILED);
+
+	return map;
+}
+
+static int __xe_exec(int fd, struct drm_xe_exec *exec)
+{
+	int err = 0;
+
+	if (igt_ioctl(fd, DRM_IOCTL_XE_EXEC, exec)) {
+		err = -errno;
+		igt_assume(err != 0);
+	}
+	errno = 0;
+	return err;
+}
+
+void xe_exec(int fd, struct drm_xe_exec *exec)
+{
+	igt_assert_eq(__xe_exec(fd, exec), 0);
+}
+
+void xe_exec_sync(int fd, uint32_t engine, uint64_t addr,
+		  struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+	struct drm_xe_exec exec = {
+		.engine_id = engine,
+		.syncs = (uintptr_t)sync,
+		.num_syncs = num_syncs,
+		.address = addr,
+		.num_batch_buffer = 1,
+	};
+
+	igt_assert_eq(__xe_exec(fd, &exec), 0);
+}
+
+void xe_exec_wait(int fd, uint32_t engine, uint64_t addr)
+{
+	struct drm_xe_sync sync = {
+		.flags = DRM_XE_SYNC_SYNCOBJ | DRM_XE_SYNC_SIGNAL,
+		.handle = syncobj_create(fd, 0),
+	};
+
+	xe_exec_sync(fd, engine, addr, &sync, 1);
+
+	igt_assert(syncobj_wait(fd, &sync.handle, 1, INT64_MAX, 0, NULL));
+	syncobj_destroy(fd, sync.handle);
+}
+
+void xe_wait_ufence(int fd, uint64_t *addr, uint64_t value,
+		    struct drm_xe_engine_class_instance *eci,
+		    int64_t timeout)
+{
+	struct drm_xe_wait_user_fence wait = {
+		.addr = to_user_pointer(addr),
+		.op = DRM_XE_UFENCE_WAIT_EQ,
+		.flags = !eci ? DRM_XE_UFENCE_WAIT_SOFT_OP : 0,
+		.value = value,
+		.mask = DRM_XE_UFENCE_WAIT_U64,
+		.timeout = timeout,
+		.num_engines = eci ? 1 :0,
+		.instances = eci ? to_user_pointer(eci) : 0,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_WAIT_USER_FENCE, &wait), 0);
+}
+
+void xe_force_gt_reset(int fd, int gt)
+{
+	char reset_string[128];
+	struct stat st;
+
+	igt_assert_eq(fstat(fd, &st), 0);
+
+	snprintf(reset_string, sizeof(reset_string),
+		 "cat /sys/kernel/debug/dri/%d/gt%d/force_reset",
+		 minor(st.st_rdev), gt);
+	system(reset_string);
+}
+
+void xe_vm_madvise(int fd, uint32_t vm, uint64_t addr, uint64_t size,
+		   uint32_t property, uint32_t value)
+{
+	struct drm_xe_vm_madvise madvise = {
+		.vm_id = vm,
+		.range = size,
+		.addr = addr,
+		.property = property,
+		.value = value,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_VM_MADVISE, &madvise), 0);
+}
lib/xe/xe_ioctl.h new file +87 -0
new file mode 100644
index 0000000000..5c7e773faa
@@ -0,0 +1,87 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Jason Ekstrand <[email protected]>
+ *    Maarten Lankhorst <[email protected]>
+ *    Matthew Brost <[email protected]>
+ */
+
+#ifndef XE_IOCTL_H
+#define XE_IOCTL_H
+
+#include <stdint.h>
+#include <xe_drm.h>
+
+uint32_t xe_cs_prefetch_size(int fd);
+uint32_t xe_vm_create(int fd, uint32_t flags, uint64_t ext);
+int  __xe_vm_bind(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+		  uint64_t offset, uint64_t addr, uint64_t size, uint32_t op,
+		  struct drm_xe_sync *sync, uint32_t num_syncs, uint32_t region,
+		  uint64_t ext);
+void  __xe_vm_bind_assert(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+			  uint64_t offset, uint64_t addr, uint64_t size,
+			  uint32_t op, struct drm_xe_sync *sync,
+			  uint32_t num_syncs, uint32_t region, uint64_t ext);
+void xe_vm_bind(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
+		uint64_t addr, uint64_t size,
+		struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_vm_unbind(int fd, uint32_t vm, uint64_t offset,
+		  uint64_t addr, uint64_t size,
+		  struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_vm_prefetch_async(int fd, uint32_t vm, uint32_t engine,
+			  uint64_t offset, uint64_t addr, uint64_t size,
+			  struct drm_xe_sync *sync, uint32_t num_syncs,
+			  uint32_t region);
+void xe_vm_bind_async(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+		      uint64_t offset, uint64_t addr, uint64_t size,
+		      struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_vm_bind_userptr_async(int fd, uint32_t vm, uint32_t engine,
+			      uint64_t userptr, uint64_t addr, uint64_t size,
+			      struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_vm_bind_async_flags(int fd, uint32_t vm, uint32_t engine, uint32_t bo,
+			    uint64_t offset, uint64_t addr, uint64_t size,
+			    struct drm_xe_sync *sync, uint32_t num_syncs,
+			    uint32_t flags);
+void xe_vm_bind_userptr_async_flags(int fd, uint32_t vm, uint32_t engine,
+				    uint64_t userptr, uint64_t addr,
+				    uint64_t size, struct drm_xe_sync *sync,
+				    uint32_t num_syncs, uint32_t flags);
+void xe_vm_unbind_async(int fd, uint32_t vm, uint32_t engine,
+			uint64_t offset, uint64_t addr, uint64_t size,
+			struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_vm_bind_sync(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
+		     uint64_t addr, uint64_t size);
+void xe_vm_unbind_sync(int fd, uint32_t vm, uint64_t offset,
+		       uint64_t addr, uint64_t size);
+void xe_vm_bind_array(int fd, uint32_t vm, uint32_t engine,
+		      struct drm_xe_vm_bind_op *bind_ops,
+		      uint32_t num_bind, struct drm_xe_sync *sync,
+		      uint32_t num_syncs);
+void xe_vm_unbind_all_async(int fd, uint32_t vm, uint32_t engine,
+			    uint32_t bo, struct drm_xe_sync *sync,
+			    uint32_t num_syncs);
+void xe_vm_destroy(int fd, uint32_t vm);
+uint32_t xe_bo_create_flags(int fd, uint32_t vm, uint64_t size, uint32_t flags);
+uint32_t xe_bo_create(int fd, int gt, uint32_t vm, uint64_t size);
+uint32_t xe_engine_create(int fd, uint32_t vm,
+			  struct drm_xe_engine_class_instance *instance,
+			  uint64_t ext);
+uint32_t xe_bind_engine_create(int fd, uint32_t vm, uint64_t ext);
+uint32_t xe_engine_create_class(int fd, uint32_t vm, uint16_t class);
+void xe_engine_destroy(int fd, uint32_t engine);
+uint64_t xe_bo_mmap_offset(int fd, uint32_t bo);
+void *xe_bo_map(int fd, uint32_t bo, size_t size);
+void xe_exec(int fd, struct drm_xe_exec *exec);
+void xe_exec_sync(int fd, uint32_t engine, uint64_t addr,
+		  struct drm_xe_sync *sync, uint32_t num_syncs);
+void xe_exec_wait(int fd, uint32_t engine, uint64_t addr);
+void xe_wait_ufence(int fd, uint64_t *addr, uint64_t value,
+		    struct drm_xe_engine_class_instance *eci,
+		    int64_t timeout);
+void xe_force_gt_reset(int fd, int gt);
+void xe_vm_madvise(int fd, uint32_t vm, uint64_t addr, uint64_t size,
+		   uint32_t property, uint32_t value);
+
+#endif /* XE_IOCTL_H */
lib/xe/xe_query.c new file +471 -0
new file mode 100644
index 0000000000..a6926057f0
@@ -0,0 +1,471 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Matthew Brost <[email protected]>
+ */
+
+#include <stdlib.h>
+#include <pthread.h>
+
+#include "drmtest.h"
+#include "ioctl_wrappers.h"
+#include "igt_map.h"
+
+#include "xe_query.h"
+#include "xe_ioctl.h"
+
+static struct drm_xe_query_config *xe_query_config_new(int fd)
+{
+	struct drm_xe_query_config *config;
+	struct drm_xe_device_query query = {
+		.extensions = 0,
+		.query = DRM_XE_DEVICE_QUERY_CONFIG,
+		.size = 0,
+		.data = 0,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	config = malloc(query.size);
+	igt_assert(config);
+
+	query.data = to_user_pointer(config);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	igt_assert(config->num_params > 0);
+
+	return config;
+}
+
+static struct drm_xe_query_gts *xe_query_gts_new(int fd)
+{
+	struct drm_xe_query_gts *gts;
+	struct drm_xe_device_query query = {
+		.extensions = 0,
+		.query = DRM_XE_DEVICE_QUERY_GTS,
+		.size = 0,
+		.data = 0,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	gts = malloc(query.size);
+	igt_assert(gts);
+
+	query.data = to_user_pointer(gts);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	return gts;
+}
+
+static uint64_t __memory_regions(const struct drm_xe_query_gts *gts)
+{
+	uint64_t regions = 0;
+	int i;
+
+	for (i = 0; i < gts->num_gt; i++)
+		regions |= gts->gts[i].native_mem_regions |
+			   gts->gts[i].slow_mem_regions;
+
+	return regions;
+}
+
+static struct drm_xe_engine_class_instance *
+xe_query_engines_new(int fd, unsigned int *num_engines)
+{
+	struct drm_xe_engine_class_instance *hw_engines;
+	struct drm_xe_device_query query = {
+		.extensions = 0,
+		.query = DRM_XE_DEVICE_QUERY_ENGINES,
+		.size = 0,
+		.data = 0,
+	};
+
+	igt_assert(num_engines);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	hw_engines = malloc(query.size);
+	igt_assert(hw_engines);
+
+	query.data = to_user_pointer(hw_engines);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	*num_engines = query.size / sizeof(*hw_engines);
+
+	return hw_engines;
+}
+
+static struct drm_xe_query_mem_usage *xe_query_mem_usage_new(int fd)
+{
+	struct drm_xe_query_mem_usage *mem_usage;
+	struct drm_xe_device_query query = {
+		.extensions = 0,
+		.query = DRM_XE_DEVICE_QUERY_MEM_USAGE,
+		.size = 0,
+		.data = 0,
+	};
+
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	mem_usage = malloc(query.size);
+	igt_assert(mem_usage);
+
+	query.data = to_user_pointer(mem_usage);
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_DEVICE_QUERY, &query), 0);
+
+	return mem_usage;
+}
+
+static uint64_t native_region_for_gt(const struct drm_xe_query_gts *gts, int gt)
+{
+	uint64_t region;
+
+	igt_assert(gts->num_gt > gt);
+	region = gts->gts[gt].native_mem_regions;
+	igt_assert(region);
+
+	return region;
+}
+
+static uint64_t gt_vram_size(const struct drm_xe_query_mem_usage *mem_usage,
+			     const struct drm_xe_query_gts *gts, int gt)
+{
+	int region_idx = ffs(native_region_for_gt(gts, gt)) - 1;
+
+	if (XE_IS_CLASS_VRAM(&mem_usage->regions[region_idx]))
+		return mem_usage->regions[region_idx].total_size;
+
+	return 0;
+}
+
+static bool __mem_has_vram(struct drm_xe_query_mem_usage *mem_usage)
+{
+	for (int i = 0; i < mem_usage->num_regions; i++)
+		if (XE_IS_CLASS_VRAM(&mem_usage->regions[i]))
+			return true;
+
+	return false;
+}
+
+static uint32_t __mem_default_alignment(struct drm_xe_query_mem_usage *mem_usage)
+{
+	uint32_t alignment = XE_DEFAULT_ALIGNMENT;
+
+	for (int i = 0; i < mem_usage->num_regions; i++)
+		if (alignment < mem_usage->regions[i].min_page_size)
+			alignment = mem_usage->regions[i].min_page_size;
+
+	return alignment;
+}
+
+static bool xe_check_supports_faults(int fd)
+{
+	bool supports_faults;
+
+	struct drm_xe_vm_create create = {
+		.flags = DRM_XE_VM_CREATE_ASYNC_BIND_OPS |
+			 DRM_XE_VM_CREATE_FAULT_MODE,
+	};
+
+	supports_faults = !igt_ioctl(fd, DRM_IOCTL_XE_VM_CREATE, &create);
+
+	if (supports_faults)
+		xe_vm_destroy(fd, create.vm_id);
+
+	return supports_faults;
+}
+
+/**
+ * xe_engine_class_string:
+ * @engine_class: engine class
+ *
+ * Returns engine class name or 'unknown class engine' otherwise.
+ */
+const char *xe_engine_class_string(uint32_t engine_class)
+{
+	switch (engine_class) {
+		case DRM_XE_ENGINE_CLASS_RENDER:
+			return "DRM_XE_ENGINE_CLASS_RENDER";
+		case DRM_XE_ENGINE_CLASS_COPY:
+			return "DRM_XE_ENGINE_CLASS_COPY";
+		case DRM_XE_ENGINE_CLASS_VIDEO_DECODE:
+			return "DRM_XE_ENGINE_CLASS_VIDEO_DECODE";
+		case DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE:
+			return "DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE";
+		case DRM_XE_ENGINE_CLASS_COMPUTE:
+			return "DRM_XE_ENGINE_CLASS_COMPUTE";
+		default:
+			igt_warn("Engine class 0x%x unknown\n", engine_class);
+			return "unknown engine class";
+	}
+}
+
+static struct xe_device_cache {
+	pthread_mutex_t cache_mutex;
+	struct igt_map *map;
+} cache;
+
+static struct xe_device *find_in_cache_unlocked(int fd)
+{
+	return igt_map_search(cache.map, &fd);
+}
+
+static struct xe_device *find_in_cache(int fd)
+{
+	struct xe_device *xe_dev;
+
+	pthread_mutex_lock(&cache.cache_mutex);
+	xe_dev = find_in_cache_unlocked(fd);
+	pthread_mutex_unlock(&cache.cache_mutex);
+
+	return xe_dev;
+}
+
+/**
+ * xe_device_get:
+ * @fd: xe device fd
+ *
+ * Function creates and caches xe_device struct which contains configuration
+ * data returned in few queries. Subsequent calls returns previously
+ * created xe_device. To remove this from cache xe_device_put() must be
+ * called.
+ */
+struct xe_device *xe_device_get(int fd)
+{
+	struct xe_device *xe_dev;
+
+	xe_dev = find_in_cache(fd);
+	if (xe_dev)
+		return xe_dev;
+
+	xe_dev = calloc(1, sizeof(*xe_dev));
+	igt_assert(xe_dev);
+
+	xe_dev->fd = fd;
+	xe_dev->config = xe_query_config_new(fd);
+	xe_dev->number_gt = xe_dev->config->info[XE_QUERY_CONFIG_GT_COUNT];
+	xe_dev->va_bits = xe_dev->config->info[XE_QUERY_CONFIG_VA_BITS];
+	xe_dev->gts = xe_query_gts_new(fd);
+	xe_dev->memory_regions = __memory_regions(xe_dev->gts);
+	xe_dev->hw_engines = xe_query_engines_new(fd, &xe_dev->number_hw_engines);
+	xe_dev->mem_usage = xe_query_mem_usage_new(fd);
+	xe_dev->vram_size = calloc(xe_dev->number_gt, sizeof(*xe_dev->vram_size));
+	for (int gt = 0; gt < xe_dev->number_gt; gt++)
+		xe_dev->vram_size[gt] = gt_vram_size(xe_dev->mem_usage,
+						     xe_dev->gts, gt);
+	xe_dev->default_alignment = __mem_default_alignment(xe_dev->mem_usage);
+	xe_dev->has_vram = __mem_has_vram(xe_dev->mem_usage);
+	xe_dev->supports_faults = xe_check_supports_faults(fd);
+
+	igt_map_insert(cache.map, &xe_dev->fd, xe_dev);
+
+	return xe_dev;
+}
+
+static void xe_device_free(struct xe_device *xe_dev)
+{
+	free(xe_dev->config);
+	free(xe_dev->gts);
+	free(xe_dev->hw_engines);
+	free(xe_dev->mem_usage);
+	free(xe_dev->vram_size);
+	free(xe_dev);
+}
+
+static void delete_in_cache(struct igt_map_entry *entry)
+{
+	xe_device_free((struct xe_device *)entry->data);
+}
+
+/**
+ * xe_device_put:
+ * @fd: xe device fd
+ *
+ * Remove previously allocated and cached xe_device (if any).
+ */
+void xe_device_put(int fd)
+{
+	pthread_mutex_lock(&cache.cache_mutex);
+	if (find_in_cache_unlocked(fd))
+		igt_map_remove(cache.map, &fd, delete_in_cache);
+	pthread_mutex_unlock(&cache.cache_mutex);
+}
+
+static void xe_device_destroy_cache(void)
+{
+	pthread_mutex_lock(&cache.cache_mutex);
+	igt_map_destroy(cache.map, delete_in_cache);
+	pthread_mutex_unlock(&cache.cache_mutex);
+}
+
+static void xe_device_cache_init(void)
+{
+	pthread_mutex_init(&cache.cache_mutex, NULL);
+	xe_device_destroy_cache();
+	cache.map = igt_map_create(igt_map_hash_32, igt_map_equal_32);
+}
+
+#define xe_dev_FN(_NAME, _FIELD, _TYPE) \
+_TYPE _NAME(int fd)			\
+{					\
+	struct xe_device *xe_dev;	\
+					\
+	xe_dev = find_in_cache(fd);	\
+	igt_assert(xe_dev);		\
+	return xe_dev->_FIELD;		\
+}
+
+/**
+ * xe_number_gt:
+ * @fd: xe device fd
+ *
+ * Return number of gts for xe device fd.
+ */
+xe_dev_FN(xe_number_gt, number_gt, unsigned int);
+
+/**
+ * all_memory_regions:
+ * @fd: xe device fd
+ *
+ * Returns memory regions bitmask for xe device @fd.
+ */
+xe_dev_FN(all_memory_regions, memory_regions, uint64_t);
+
+/**
+ * system_memory:
+ * @fd: xe device fd
+ *
+ * Returns system memory bitmask for xe device @fd.
+ */
+uint64_t system_memory(int fd)
+{
+	uint64_t regions = all_memory_regions(fd);
+
+	return regions & 0x1;
+}
+
+/**
+ * vram_memory:
+ * @fd: xe device fd
+ * @gt: gt id
+ *
+ * Returns vram memory bitmask for xe device @fd and @gt id.
+ */
+uint64_t vram_memory(int fd, int gt)
+{
+	struct xe_device *xe_dev;
+
+	xe_dev = find_in_cache(fd);
+	igt_assert(xe_dev);
+	igt_assert(gt >= 0 && gt < xe_dev->number_gt);
+
+	return native_region_for_gt(xe_dev->gts, gt);
+}
+
+/**
+ * vram_if_possible:
+ * @fd: xe device fd
+ * @gt: gt id
+ *
+ * Returns vram memory bitmask for xe device @fd and @gt id or system memory
+ * if there's no vram memory available for @gt.
+ */
+uint64_t vram_if_possible(int fd, int gt)
+{
+	uint64_t regions = all_memory_regions(fd);
+	uint64_t system_memory = regions & 0x1;
+	uint64_t vram = regions & (~0x1);
+
+	return vram ? vram : system_memory;
+}
+
+/**
+ * xe_hw_engines:
+ * @fd: xe device fd
+ *
+ * Returns engines array of xe device @fd.
+ */
+xe_dev_FN(xe_hw_engines, hw_engines, struct drm_xe_engine_class_instance *);
+
+/**
+ * xe_hw_engine:
+ * @fd: xe device fd
+ * @idx: engine index
+ *
+ * Returns engine instance of xe device @fd and @idx.
+ */
+struct drm_xe_engine_class_instance *xe_hw_engine(int fd, int idx)
+{
+	struct xe_device *xe_dev;
+
+	xe_dev = find_in_cache(fd);
+	igt_assert(xe_dev);
+	igt_assert(idx >= 0 && idx < xe_dev->number_hw_engines);
+
+	return &xe_dev->hw_engines[idx];
+}
+
+/**
+ * xe_number_hw_engine:
+ * @fd: xe device fd
+ *
+ * Returns number of hw engines of xe device @fd.
+ */
+xe_dev_FN(xe_number_hw_engines, number_hw_engines, unsigned int);
+
+/**
+ * xe_has_vram:
+ * @fd: xe device fd
+ *
+ * Returns true if xe device @fd has vram otherwise false.
+ */
+xe_dev_FN(xe_has_vram, has_vram, bool);
+
+/**
+ * xe_vram_size:
+ * @fd: xe device fd
+ * @gt: gt
+ *
+ * Returns size of vram of xe device @fd.
+ */
+uint64_t xe_vram_size(int fd, int gt)
+{
+	struct xe_device *xe_dev;
+
+	xe_dev = find_in_cache(fd);
+	igt_assert(xe_dev);
+
+	return xe_dev->vram_size[gt];
+}
+
+/**
+ * xe_get_default_alignment:
+ * @fd: xe device fd
+ *
+ * Returns default alignment of objects for xe device @fd.
+ */
+xe_dev_FN(xe_get_default_alignment, default_alignment, uint32_t);
+
+/**
+ * xe_supports_faults:
+ * @fd: xe device fd
+ *
+ * Returns true if xe device @fd allows creating vm in fault mode otherwise
+ * false.
+ */
+xe_dev_FN(xe_supports_faults, supports_faults, bool);
+
+/**
+ * xe_va_bits:
+ * @fd: xe device fd
+ *
+ * Returns number of virtual address bits used in xe device @fd.
+ */
+xe_dev_FN(xe_va_bits, va_bits, uint32_t);
+
+igt_constructor
+{
+	xe_device_cache_init();
+}
lib/xe/xe_query.h new file +94 -0
new file mode 100644
index 0000000000..fe1343f616
@@ -0,0 +1,94 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Matthew Brost <[email protected]>
+ */
+
+#ifndef XE_QUERY_H
+#define XE_QUERY_H
+
+#include <stdint.h>
+#include <xe_drm.h>
+#include "igt_list.h"
+
+#define SZ_4K	0x1000
+#define SZ_64K	0x10000
+
+#define XE_DEFAULT_ALIGNMENT           SZ_4K
+#define XE_DEFAULT_ALIGNMENT_64K       SZ_64K
+
+struct xe_device {
+	/** @fd: xe fd */
+	int fd;
+
+	/** @config: xe configuration */
+	struct drm_xe_query_config *config;
+
+	/** @gts: gt info */
+	struct drm_xe_query_gts *gts;
+
+	/** @number_gt: number of gt */
+	unsigned int number_gt;
+
+	/** @gts: bitmask of all memory regions */
+	uint64_t memory_regions;
+
+	/** @hw_engines: array of hardware engines */
+	struct drm_xe_engine_class_instance *hw_engines;
+
+	/** @number_hw_engines: length of hardware engines array */
+	unsigned int number_hw_engines;
+
+	/** @mem_usage: regions memory information and usage */
+	struct drm_xe_query_mem_usage *mem_usage;
+
+	/** @vram_size: array of vram sizes for all gts */
+	uint64_t *vram_size;
+
+	/** @default_alignment: safe alignment regardless region location */
+	uint32_t default_alignment;
+
+	/** @has_vram: true if gpu has vram, false if system memory only */
+	bool has_vram;
+
+	/** @supports_faults: true if gpu supports faults, otherwise false */
+	bool supports_faults;
+
+	/** @va_bits: va length in bits */
+	uint32_t va_bits;
+};
+
+#define for_each_hw_engine(__fd, __hwe) \
+	for (int __i = 0; __i < xe_number_hw_engines(__fd) && \
+	     (__hwe = xe_hw_engine(__fd, __i)); ++__i)
+#define for_each_hw_engine_class(__class) \
+	for (__class = 0; __class < DRM_XE_ENGINE_CLASS_COMPUTE + 1; \
+	     ++__class)
+#define for_each_gt(__fd, __gt) \
+	for (__gt = 0; __gt < xe_number_gt(__fd); ++__gt)
+
+#define XE_IS_CLASS_SYSMEM(__region) ((__region)->mem_class == XE_MEM_REGION_CLASS_SYSMEM)
+#define XE_IS_CLASS_VRAM(__region) ((__region)->mem_class == XE_MEM_REGION_CLASS_VRAM)
+
+unsigned int xe_number_gt(int fd);
+uint64_t all_memory_regions(int fd);
+uint64_t system_memory(int fd);
+uint64_t vram_memory(int fd, int gt);
+uint64_t vram_if_possible(int fd, int gt);
+struct drm_xe_engine_class_instance *xe_hw_engines(int fd);
+struct drm_xe_engine_class_instance *xe_hw_engine(int fd, int idx);
+unsigned int xe_number_hw_engines(int fd);
+bool xe_has_vram(int fd);
+//uint64_t xe_vram_size(int fd);
+uint64_t xe_vram_size(int fd, int gt);
+uint32_t xe_get_default_alignment(int fd);
+uint32_t xe_va_bits(int fd);
+bool xe_supports_faults(int fd);
+const char *xe_engine_class_string(uint32_t engine_class);
+
+struct xe_device *xe_device_get(int fd);
+void xe_device_put(int fd);
+
+#endif	/* XE_QUERY_H */
lib/xe/xe_spin.c new file +157 -0
new file mode 100644
index 0000000000..6dc705aea6
@@ -0,0 +1,157 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Matthew Brost <[email protected]>
+ */
+
+#include <string.h>
+
+#include "drmtest.h"
+#include "igt.h"
+#include "igt_core.h"
+#include "igt_syncobj.h"
+#include "intel_reg.h"
+#include "xe_ioctl.h"
+#include "xe_spin.h"
+
+/**
+ * xe_spin_init:
+ * @spin: pointer to mapped bo in which spinner code will be written
+ * @addr: offset of spinner within vm
+ * @preempt: allow spinner to be preempted or not
+ */
+void xe_spin_init(struct xe_spin *spin, uint64_t addr, bool preempt)
+{
+	uint64_t batch_offset = (char *)&spin->batch - (char *)spin;
+	uint64_t batch_addr = addr + batch_offset;
+	uint64_t start_offset = (char *)&spin->start - (char *)spin;
+	uint64_t start_addr = addr + start_offset;
+	uint64_t end_offset = (char *)&spin->end - (char *)spin;
+	uint64_t end_addr = addr + end_offset;
+	int b = 0;
+
+	spin->start = 0;
+	spin->end = 0xffffffff;
+
+	spin->batch[b++] = MI_STORE_DWORD_IMM;
+	spin->batch[b++] = start_addr;
+	spin->batch[b++] = start_addr >> 32;
+	spin->batch[b++] = 0xc0ffee;
+
+	if (preempt)
+		spin->batch[b++] = (0x5 << 23);
+
+	spin->batch[b++] = MI_COND_BATCH_BUFFER_END | MI_DO_COMPARE | 2;
+	spin->batch[b++] = 0;
+	spin->batch[b++] = end_addr;
+	spin->batch[b++] = end_addr >> 32;
+
+	spin->batch[b++] = MI_BATCH_BUFFER_START | 1 << 8 | 1;
+	spin->batch[b++] = batch_addr;
+	spin->batch[b++] = batch_addr >> 32;
+
+	igt_assert(b <= ARRAY_SIZE(spin->batch));
+}
+
+/**
+ * xe_spin_started:
+ * @spin: pointer to spinner mapped bo
+ *
+ * Returns: true if spinner is running, othwerwise false.
+ */
+bool xe_spin_started(struct xe_spin *spin)
+{
+	return spin->start != 0;
+}
+
+/**
+ * xe_spin_wait_started:
+ * @spin: pointer to spinner mapped bo
+ *
+ * Wait in userspace code until spinner won't start.
+ */
+void xe_spin_wait_started(struct xe_spin *spin)
+{
+	while(!xe_spin_started(spin));
+}
+
+void xe_spin_end(struct xe_spin *spin)
+{
+	spin->end = 0;
+}
+
+void xe_cork_init(int fd, struct drm_xe_engine_class_instance *hwe,
+		  struct xe_cork *cork)
+{
+	uint64_t addr = xe_get_default_alignment(fd);
+	size_t bo_size = xe_get_default_alignment(fd);
+	uint32_t vm, bo, engine, syncobj;
+	struct xe_spin *spin;
+	struct drm_xe_sync sync = {
+		.flags = DRM_XE_SYNC_SYNCOBJ | DRM_XE_SYNC_SIGNAL,
+	};
+	struct drm_xe_exec exec = {
+		.num_batch_buffer = 1,
+		.num_syncs = 1,
+		.syncs = to_user_pointer(&sync),
+	};
+
+	vm = xe_vm_create(fd, 0, 0);
+
+	bo = xe_bo_create(fd, hwe->gt_id, vm, bo_size);
+	spin = xe_bo_map(fd, bo, 0x1000);
+
+	xe_vm_bind_sync(fd, vm, bo, 0, addr, bo_size);
+
+	engine = xe_engine_create(fd, vm, hwe, 0);
+	syncobj = syncobj_create(fd, 0);
+
+	xe_spin_init(spin, addr, true);
+	exec.engine_id = engine;
+	exec.address = addr;
+	sync.handle = syncobj;
+	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_EXEC, &exec), 0);
+
+	cork->spin = spin;
+	cork->fd = fd;
+	cork->vm = vm;
+	cork->bo = bo;
+	cork->engine = engine;
+	cork->syncobj = syncobj;
+}
+
+bool xe_cork_started(struct xe_cork *cork)
+{
+	return xe_spin_started(cork->spin);
+}
+
+void xe_cork_wait_started(struct xe_cork *cork)
+{
+	xe_spin_wait_started(cork->spin);
+}
+
+void xe_cork_end(struct xe_cork *cork)
+{
+	xe_spin_end(cork->spin);
+}
+
+void xe_cork_wait_done(struct xe_cork *cork)
+{
+	igt_assert(syncobj_wait(cork->fd, &cork->syncobj, 1, INT64_MAX, 0,
+				NULL));
+}
+
+void xe_cork_fini(struct xe_cork *cork)
+{
+	syncobj_destroy(cork->fd, cork->syncobj);
+	xe_engine_destroy(cork->fd, cork->engine);
+	xe_vm_destroy(cork->fd, cork->vm);
+	gem_close(cork->fd, cork->bo);
+}
+
+uint32_t xe_cork_sync_handle(struct xe_cork *cork)
+{
+	return cork->syncobj;
+}
lib/xe/xe_spin.h new file +48 -0
new file mode 100644
index 0000000000..73f9a026f7
@@ -0,0 +1,48 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ *
+ * Authors:
+ *    Matthew Brost <[email protected]>
+ */
+
+#ifndef XE_SPIN_H
+#define XE_SPIN_H
+
+#include <stdint.h>
+#include <stdbool.h>
+
+#include "xe_query.h"
+
+/* Mapped GPU object */
+struct xe_spin {
+	uint32_t batch[16];
+	uint64_t pad;
+	uint32_t start;
+	uint32_t end;
+};
+
+void xe_spin_init(struct xe_spin *spin, uint64_t addr, bool preempt);
+bool xe_spin_started(struct xe_spin *spin);
+void xe_spin_wait_started(struct xe_spin *spin);
+void xe_spin_end(struct xe_spin *spin);
+
+struct xe_cork {
+	struct xe_spin *spin;
+	int fd;
+	uint32_t vm;
+	uint32_t bo;
+	uint32_t engine;
+	uint32_t syncobj;
+};
+
+void xe_cork_init(int fd, struct drm_xe_engine_class_instance *hwe,
+		  struct xe_cork *cork);
+bool xe_cork_started(struct xe_cork *cork);
+void xe_cork_wait_started(struct xe_cork *cork);
+void xe_cork_end(struct xe_cork *cork);
+void xe_cork_wait_done(struct xe_cork *cork);
+void xe_cork_fini(struct xe_cork *cork);
+uint32_t xe_cork_sync_handle(struct xe_cork *cork);
+
+#endif	/* XE_SPIN_H */
meson.build +8 -0
index e7a68503d7..2a7f6078c4 100644
@@ -261,6 +261,7 @@ libexecdir = join_paths(get_option('libexecdir'), 'igt-gpu-tools')
 amdgpudir = join_paths(libexecdir, 'amdgpu')
 v3ddir = join_paths(libexecdir, 'v3d')
 vc4dir = join_paths(libexecdir, 'vc4')
+xedir = join_paths(libexecdir, 'xe')
 mandir = get_option('mandir')
 pkgconfigdir = join_paths(libdir, 'pkgconfig')
 python3 = find_program('python3', required : true)
@@ -308,12 +309,19 @@ if get_option('use_rpath')
 		vc4_rpathdir = join_paths(vc4_rpathdir, '..')
 	endforeach
 	vc4_rpathdir = join_paths(vc4_rpathdir, libdir)
+
+	xedir_rpathdir = '$ORIGIN'
+	foreach p : xedir.split('/')
+		xedir_rpathdir = join_paths(xedir_rpathdir, '..')
+	endforeach
+	xedir_rpathdir = join_paths(xedir_rpathdir, libdir)
 else
 	bindir_rpathdir = ''
 	libexecdir_rpathdir = ''
 	amdgpudir_rpathdir = ''
 	v3d_rpathdir = ''
 	vc4_rpathdir = ''
+	xedir_rpathdir = ''
 endif
 
 subdir('lib')
#6 lore raw

PATCH v4 3/8 lib/igt_pm: Add a helper to query the runtime_usage.

In reply to Zbigniew Kempczyński

From: Rodrigo Vivi <[email protected]>

It will be useful so the tests can assert the expected usage counter movement depending on the operation.

---
 lib/igt_pm.c | 18 ++++++++++++++++++
 lib/igt_pm.h |  1 +
 2 files changed, 19 insertions(+)
lib/igt_pm.c +18 -0
index 6c84e94f63..704acf7d14 100644
@@ -1363,3 +1363,21 @@ int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev)
 
 	return -1;
 }
+
+/**
+ * igt_pm_get_runtime_usage:
+ * @pci_dev: pci device
+ *
+ * Reports the runtime PM usage count of a device.
+ */
+int igt_pm_get_runtime_usage(struct pci_device *pci_dev)
+{
+	char usage_str[64];
+	int usage, fd;
+
+	fd = igt_pm_get_power_attr_fd_rdonly(pci_dev, "runtime_usage");
+	if (igt_pm_read_power_attr(fd, usage_str, 64, true))
+		igt_assert(sscanf(usage_str, "%d", &usage) > 0);
+
+	return usage;
+}
lib/igt_pm.h +1 -0
index f65b960c38..d0d6d673e8 100644
@@ -86,5 +86,6 @@ void igt_pm_restore_pci_card_runtime_pm(void);
 void igt_pm_print_pci_card_runtime_status(void);
 bool i915_is_slpc_enabled(int fd);
 int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev);
+int igt_pm_get_runtime_usage(struct pci_device *pci_dev);
 
 #endif /* IGT_PM_H */
Signature · 1 line
2.34.1
Acked-by on v4 3/8
#7 lore raw

Re: [igt-dev] [PATCH i-g-t v4 3/8] lib/igt_pm: Add a helper to query the runtime_usage.

Quoted 7 lines · On Thu, 2 Mar 2023 12:09:42 +0100 Zbigniew Kempczyński…

From: Rodrigo Vivi <[email protected]>

It will be useful so the tests can assert the expected usage counter movement depending on the operation.

Quoted 42 lines
---
 lib/igt_pm.c | 18 ++++++++++++++++++
 lib/igt_pm.h |  1 +
 2 files changed, 19 insertions(+)
lib/igt_pm.c +18 -0
index 6c84e94f63..704acf7d14 100644
@@ -1363,3 +1363,21 @@ int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev)
 
 	return -1;
 }
+
+/**
+ * igt_pm_get_runtime_usage:
+ * @pci_dev: pci device
+ *
+ * Reports the runtime PM usage count of a device.
+ */
+int igt_pm_get_runtime_usage(struct pci_device *pci_dev)
+{
+	char usage_str[64];
+	int usage, fd;
+
+	fd = igt_pm_get_power_attr_fd_rdonly(pci_dev, "runtime_usage");
+	if (igt_pm_read_power_attr(fd, usage_str, 64, true))
+		igt_assert(sscanf(usage_str, "%d", &usage) > 0);
+
+	return usage;
+}
lib/igt_pm.h +1 -0
index f65b960c38..d0d6d673e8 100644
@@ -86,5 +86,6 @@ void igt_pm_restore_pci_card_runtime_pm(void);
 void igt_pm_print_pci_card_runtime_status(void);
 bool i915_is_slpc_enabled(int fd);
 int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev);
+int igt_pm_get_runtime_usage(struct pci_device *pci_dev);
 
 #endif /* IGT_PM_H */
#8 lore raw

PATCH v4 4/8 tests/xe: Add Xe IGT tests

In reply to Zbigniew Kempczyński

Collaborative change of IGT Xe tests.

---
 tests/meson.build               |    1 +
 tests/xe/meson.build            |   33 +
 tests/xe/xe_compute.c           |  148 +++
 tests/xe/xe_debugfs.c           |  257 +++++
 tests/xe/xe_dma_buf_sync.c      |  262 +++++
 tests/xe/xe_evict.c             |  623 ++++++++++++
 tests/xe/xe_exec_balancer.c     |  714 ++++++++++++++
 tests/xe/xe_exec_basic.c        |  350 +++++++
 tests/xe/xe_exec_compute_mode.c |  364 +++++++
 tests/xe/xe_exec_fault_mode.c   |  575 +++++++++++
 tests/xe/xe_exec_reset.c        |  817 ++++++++++++++++
 tests/xe/xe_exec_threads.c      | 1159 ++++++++++++++++++++++
 tests/xe/xe_guc_pc.c            |  425 ++++++++
 tests/xe/xe_huc_copy.c          |  205 ++++
 tests/xe/xe_mmap.c              |   79 ++
 tests/xe/xe_mmio.c              |   94 ++
 tests/xe/xe_pm.c                |  385 ++++++++
 tests/xe/xe_prime_self_import.c |  489 ++++++++++
 tests/xe/xe_query.c             |  475 +++++++++
 tests/xe/xe_test_config.json    |  133 +++
 tests/xe/xe_vm.c                | 1604 +++++++++++++++++++++++++++++++
 tests/xe/xe_waitfence.c         |  103 ++
 22 files changed, 9295 insertions(+)
 create mode 100644 tests/xe/meson.build
 create mode 100644 tests/xe/xe_compute.c
 create mode 100644 tests/xe/xe_debugfs.c
 create mode 100644 tests/xe/xe_dma_buf_sync.c
 create mode 100644 tests/xe/xe_evict.c
 create mode 100644 tests/xe/xe_exec_balancer.c
 create mode 100644 tests/xe/xe_exec_basic.c
 create mode 100644 tests/xe/xe_exec_compute_mode.c
 create mode 100644 tests/xe/xe_exec_fault_mode.c
 create mode 100644 tests/xe/xe_exec_reset.c
 create mode 100644 tests/xe/xe_exec_threads.c
 create mode 100644 tests/xe/xe_guc_pc.c
 create mode 100644 tests/xe/xe_huc_copy.c
 create mode 100644 tests/xe/xe_mmap.c
 create mode 100644 tests/xe/xe_mmio.c
 create mode 100644 tests/xe/xe_pm.c
 create mode 100644 tests/xe/xe_prime_self_import.c
 create mode 100644 tests/xe/xe_query.c
 create mode 100644 tests/xe/xe_test_config.json
 create mode 100644 tests/xe/xe_vm.c
 create mode 100644 tests/xe/xe_waitfence.c
tests/meson.build +1 -0
index cd20549338..4a1722b3d4 100644
@@ -470,6 +470,7 @@ test_executables += executable('sw_sync', 'sw_sync.c',
 test_list += 'sw_sync'
 
 subdir('amdgpu')
+subdir('xe')
 
 subdir('v3d')
 
tests/xe/meson.build new file +33 -0
new file mode 100644
index 0000000000..bcc2f58ba8
@@ -0,0 +1,33 @@
+xe_progs = [
+	'xe_compute',
+	'xe_dma_buf_sync',
+	'xe_debugfs',
+	'xe_evict',
+	'xe_exec_balancer',
+	'xe_exec_basic',
+	'xe_exec_compute_mode',
+	'xe_exec_fault_mode',
+	'xe_exec_reset',
+	'xe_exec_threads',
+	'xe_guc_pc',
+	'xe_huc_copy',
+	'xe_mmap',
+	'xe_mmio',
+	'xe_pm',
+	'xe_prime_self_import',
+	'xe_query',
+	'xe_vm',
+	'xe_waitfence',
+]
+xe_deps = test_deps
+
+xe_test_config = meson.current_source_dir() + '/xe_test_config.json'
+
+foreach prog : xe_progs
+	test_executables += executable(prog, prog + '.c',
+				       dependencies : xe_deps,
+				       install_dir : xedir,
+				       install_rpath : xedir_rpathdir,
+				       install : true)
+	test_list += join_paths('xe', prog)
+endforeach
tests/xe/xe_compute.c new file +148 -0

148 lines not on this page · raw message

tests/xe/xe_debugfs.c new file +257 -0

257 lines not on this page · raw message

tests/xe/xe_dma_buf_sync.c new file +262 -0

262 lines not on this page · raw message

tests/xe/xe_evict.c new file +623 -0

623 lines not on this page · raw message

tests/xe/xe_exec_balancer.c new file +714 -0

714 lines not on this page · raw message

tests/xe/xe_exec_basic.c new file +350 -0

350 lines not on this page · raw message

tests/xe/xe_exec_compute_mode.c new file +364 -0

364 lines not on this page · raw message

tests/xe/xe_exec_fault_mode.c new file +575 -0

242 lines not on this page · raw message

tests/xe/xe_exec_reset.c new file +817 -0

817 lines not on this page · raw message

tests/xe/xe_exec_threads.c new file +1159 -0

1,159 lines not on this page · raw message

tests/xe/xe_guc_pc.c new file +425 -0

425 lines not on this page · raw message

tests/xe/xe_huc_copy.c new file +205 -0

205 lines not on this page · raw message

tests/xe/xe_mmap.c new file +79 -0

79 lines not on this page · raw message

tests/xe/xe_mmio.c new file +94 -0

94 lines not on this page · raw message

tests/xe/xe_pm.c new file +385 -0

385 lines not on this page · raw message

tests/xe/xe_prime_self_import.c new file +489 -0

489 lines not on this page · raw message

tests/xe/xe_query.c new file +475 -0

475 lines not on this page · raw message

tests/xe/xe_test_config.json new file +133 -0

133 lines not on this page · raw message

tests/xe/xe_vm.c new file +1604 -0

1,604 lines not on this page · raw message

tests/xe/xe_waitfence.c new file +103 -0

103 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.

#9 lore raw

PATCH v4 5/8 tools/xe_reg: Add Xe register read/write tool

In reply to Zbigniew Kempczyński

Add xe_reg tool which allows to manipulate Xe registers.

Sample use:

./xe_reg read --ring rcs0 --all
./xe_reg read --ring rcs0 EXECLIST_STATUS

At this moment rings rcs0 and bcs0 are supported.

---
 tools/meson.build |   1 +
 tools/xe_reg.c    | 366 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 367 insertions(+)
 create mode 100644 tools/xe_reg.c
tools/meson.build +1 -0
index d2defec870..4c45f16b91 100644
@@ -42,6 +42,7 @@ tools_progs = [
 	'intel_gvtg_test',
 	'dpcd_reg',
 	'lsgpu',
+	'xe_reg',
 ]
 tool_deps = igt_deps
 tool_deps += zlib
tools/xe_reg.c new file +366 -0

366 lines not on this page · raw message

Signature · 1 line
2.34.1
#10 lore raw

PATCH v4 6/8 intel-ci/xe-fast-feedback: Introduce xe-fast-feedback list

In reply to Zbigniew Kempczyński

Let's start with something simple that runs very quickly and is currently passing reliably.

---
 tests/intel-ci/xe-fast-feedback.testlist | 140 +++++++++++++++++++++++
 1 file changed, 140 insertions(+)
 create mode 100644 tests/intel-ci/xe-fast-feedback.testlist
tests/intel-ci/xe-fast-feedback.testlist new file +140 -0
new file mode 100644
index 0000000000..74d0f0335b
@@ -0,0 +1,140 @@
+igt@xe/xe_compute@compute
+igt@xe/xe_debugfs@base
+igt@xe/xe_debugfs@gt0
+igt@xe/xe_debugfs@gt1
+igt@xe/xe_debugfs@forcewake
+igt@xe/xe_dma_buf_sync@export-dma-buf-once
+igt@xe/xe_dma_buf_sync@export-dma-buf-once-read-sync
+igt@xe/xe_exec_balancer@twice-virtual-basic
+igt@xe/xe_exec_balancer@no-exec-virtual-basic
+igt@xe/xe_exec_balancer@twice-cm-virtual-basic
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-basic
+igt@xe/xe_exec_balancer@twice-virtual-userptr
+igt@xe/xe_exec_balancer@no-exec-virtual-userptr
+igt@xe/xe_exec_balancer@twice-cm-virtual-userptr
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr
+igt@xe/xe_exec_balancer@twice-virtual-rebind
+igt@xe/xe_exec_balancer@no-exec-virtual-rebind
+igt@xe/xe_exec_balancer@twice-cm-virtual-rebind
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-rebind
+igt@xe/xe_exec_balancer@twice-virtual-userptr-rebind
+igt@xe/xe_exec_balancer@no-exec-virtual-userptr-rebind
+igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-rebind
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-rebind
+igt@xe/xe_exec_balancer@twice-virtual-userptr-invalidate
+igt@xe/xe_exec_balancer@no-exec-virtual-userptr-invalidate
+igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-invalidate
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-invalidate
+igt@xe/xe_exec_balancer@twice-virtual-userptr-invalidate-race
+igt@xe/xe_exec_balancer@no-exec-virtual-userptr-invalidate-race
+igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-invalidate-race
+igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-invalidate-race
+igt@xe/xe_exec_balancer@twice-parallel-basic
+igt@xe/xe_exec_balancer@no-exec-parallel-basic
+igt@xe/xe_exec_balancer@twice-parallel-userptr
+igt@xe/xe_exec_balancer@no-exec-parallel-userptr
+igt@xe/xe_exec_balancer@twice-parallel-rebind
+igt@xe/xe_exec_balancer@no-exec-parallel-rebind
+igt@xe/xe_exec_balancer@twice-parallel-userptr-rebind
+igt@xe/xe_exec_balancer@no-exec-parallel-userptr-rebind
+igt@xe/xe_exec_balancer@twice-parallel-userptr-invalidate
+igt@xe/xe_exec_balancer@no-exec-parallel-userptr-invalidate
+igt@xe/xe_exec_balancer@twice-parallel-userptr-invalidate-race
+igt@xe/xe_exec_balancer@no-exec-parallel-userptr-invalidate-race
+igt@xe/xe_exec_basic@twice-basic
+igt@xe/xe_exec_basic@no-exec-basic
+igt@xe/xe_exec_basic@twice-basic-defer-mmap
+igt@xe/xe_exec_basic@no-exec-basic-defer-mmap
+igt@xe/xe_exec_basic@twice-basic-defer-bind
+igt@xe/xe_exec_basic@no-exec-basic-defer-bind
+igt@xe/xe_exec_basic@twice-userptr
+igt@xe/xe_exec_basic@no-exec-userptr
+igt@xe/xe_exec_basic@twice-rebind
+igt@xe/xe_exec_basic@no-exec-rebind
+igt@xe/xe_exec_basic@twice-userptr-rebind
+igt@xe/xe_exec_basic@no-exec-userptr-rebind
+igt@xe/xe_exec_basic@twice-userptr-invalidate
+igt@xe/xe_exec_basic@no-exec-userptr-invalidate
+igt@xe/xe_exec_basic@twice-userptr-invalidate-race
+igt@xe/xe_exec_basic@no-exec-userptr-invalidate-race
+igt@xe/xe_exec_basic@twice-bindengine
+igt@xe/xe_exec_basic@no-exec-bindengine
+igt@xe/xe_exec_basic@twice-bindengine-userptr
+igt@xe/xe_exec_basic@no-exec-bindengine-userptr
+igt@xe/xe_exec_basic@twice-bindengine-rebind
+igt@xe/xe_exec_basic@no-exec-bindengine-rebind
+igt@xe/xe_exec_basic@twice-bindengine-userptr-rebind
+igt@xe/xe_exec_basic@no-exec-bindengine-userptr-rebind
+igt@xe/xe_exec_basic@twice-bindengine-userptr-invalidate
+igt@xe/xe_exec_basic@no-exec-bindengine-userptr-invalidate
+igt@xe/xe_exec_basic@twice-bindengine-userptr-invalidate-race
+igt@xe/xe_exec_basic@no-exec-bindengine-userptr-invalidate-race
+igt@xe/xe_exec_compute_mode@twice-basic
+igt@xe/xe_exec_compute_mode@twice-preempt-fence-early
+igt@xe/xe_exec_compute_mode@twice-userptr
+igt@xe/xe_exec_compute_mode@twice-rebind
+igt@xe/xe_exec_compute_mode@twice-userptr-rebind
+igt@xe/xe_exec_compute_mode@twice-userptr-invalidate
+igt@xe/xe_exec_compute_mode@twice-userptr-invalidate-race
+igt@xe/xe_exec_compute_mode@twice-bindengine
+igt@xe/xe_exec_compute_mode@twice-bindengine-userptr
+igt@xe/xe_exec_compute_mode@twice-bindengine-rebind
+igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-rebind
+igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-invalidate
+igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-invalidate-race
+igt@xe/xe_exec_reset@close-fd-no-exec
+igt@xe/xe_exec_reset@cm-close-fd-no-exec
+igt@xe/xe_exec_reset@virtual-close-fd-no-exec
+#igt@xe/xe_exec_threads@threads-basic
+igt@xe/xe_exec_threads@threads-shared-vm-basic
+igt@xe/xe_exec_threads@threads-fd-basic
+#igt@xe/xe_exec_threads@threads-hang-basic
+igt@xe/xe_exec_threads@threads-bal-basic
+igt@xe/xe_exec_threads@threads-cm-basic
+igt@xe/xe_exec_threads@threads-cm-fd-basic
+igt@xe/xe_exec_threads@threads-mixed-basic
+igt@xe/xe_exec_threads@threads-mixed-shared-vm-basic
+igt@xe/xe_exec_threads@threads-mixed-fd-basic
+igt@xe/xe_exec_threads@threads-bal-mixed-basic
+igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-basic
+igt@xe/xe_exec_threads@threads-bal-mixed-fd-basic
+igt@xe/xe_guc_pc@freq_basic_api
+igt@xe/xe_guc_pc@freq_fixed_idle
+igt@xe/xe_guc_pc@freq_range_idle
+igt@xe/xe_guc_pc@rc6_on_idle
+igt@xe/xe_guc_pc@rc0_on_exec
+igt@xe/xe_huc_copy@huc_copy
+igt@xe/xe_mmap@system
+igt@xe/xe_mmap@vram
+igt@xe/xe_mmap@vram-system
+igt@xe/xe_mmio@mmio-timestamp
+igt@xe/xe_mmio@mmio-invalid
+igt@xe/xe_prime_self_import@basic-with_one_bo
+igt@xe/xe_prime_self_import@basic-with_fd_dup
+igt@xe/xe_prime_self_import@export-vs-gem_close-race
+igt@xe/xe_prime_self_import@reimport-vs-gem_close-race
+#igt@xe/xe_prime_self_import@basic-llseek-size
+igt@xe/xe_query@query-engines
+igt@xe/xe_query@query-mem-usage
+igt@xe/xe_query@query-gts
+igt@xe/xe_query@query-config
+igt@xe/xe_query@query-hwconfig
+igt@xe/xe_query@query-topology
+igt@xe/xe_query@query-invalid-query
+igt@xe/xe_query@query-invalid-size
+#igt@xe/xe_vm@bind-once
+#igt@xe/xe_vm@scratch
+igt@xe/xe_vm@shared-pte-page
+igt@xe/xe_vm@shared-pde-page
+igt@xe/xe_vm@shared-pde2-page
+igt@xe/xe_vm@shared-pde3-page
+igt@xe/xe_vm@bind-engines-independent
+igt@xe/xe_vm@munmap-style-unbind-one-partial
+igt@xe/xe_vm@munmap-style-unbind-end
+igt@xe/xe_vm@munmap-style-unbind-front
+igt@xe/xe_vm@munmap-style-unbind-userptr-one-partial
+igt@xe/xe_vm@munmap-style-unbind-userptr-end
+igt@xe/xe_vm@munmap-style-unbind-userptr-front
+igt@xe/xe_vm@munmap-style-unbind-userptr-inval-end
+igt@xe/xe_vm@munmap-style-unbind-userptr-inval-front
+igt@xe/xe_waitfence@test
Signature · 1 line
2.34.1
#11 lore raw

PATCH v4 7/8 docs/testplan: Introduce new way for documenting IGT

In reply to Zbigniew Kempczyński

Add custom targets to allow building the testplan documentation for the Xe driver.

---
 docs/meson.build           |   1 +
 docs/testplan/meson.build  |  28 +++
 docs/testplan/testplan.css |   7 +
 meson_options.txt          |   4 +
 scripts/igt_doc.py         | 490 +++++++++++++++++++++++++++++++++----
 scripts/meson.build        |   2 +
 6 files changed, 479 insertions(+), 53 deletions(-)
 create mode 100644 docs/testplan/meson.build
 create mode 100644 docs/testplan/testplan.css
docs/meson.build +1 -0
index ead14c4015..01edf64f04 100644
@@ -1 +1,2 @@
 subdir('reference')
+subdir('testplan')
docs/testplan/meson.build new file +28 -0
new file mode 100644
index 0000000000..4b55ca6ae5
@@ -0,0 +1,28 @@
+build_testplan = get_option('testplan')
+
+rst2html = find_program('rst2html-3', 'rst2html', required : build_testplan)
+
+stylesheet = meson.current_source_dir() + '/testplan.css'
+
+if igt_doc_script.found()
+    # Xe test documentation
+    testplan = 'xe_tests'
+
+    rst = custom_target(testplan + '.rst',
+                        build_by_default : true,
+                        command : [ igt_doc_script, '--config', '@INPUT@', '--rest', '@OUTPUT@' ],
+                        input : xe_test_config,
+                        output : testplan + '.rst'
+                        )
+    if rst2html.found()
+        custom_target(testplan + '.html',
+                      build_by_default : true,
+                      command : [ rst2html, '--stylesheet=' + stylesheet, '--field-name-limit=0', '@INPUT@', '@OUTPUT@' ],
+                      input : rst,
+                      output : testplan + '.html'
+                      )
+    endif
+endif
+
+build_info += 'Build ReST test documentation: @0@'.format(igt_doc_script.found())
+build_info += 'Build html testplan documentation: @0@'.format(rst2html.found())
docs/testplan/testplan.css new file +7 -0
new file mode 100644
index 0000000000..8aa7b7105c
@@ -0,0 +1,7 @@
+@import url(html4css1.css);
+
+.literal {
+	background: lightgrey;
+        color: darkblue;
+        font-size: 14px;
+}
meson_options.txt +4 -0
index d978813b4f..fb48ba780d 100644
@@ -20,6 +20,10 @@ option('man',
        type : 'feature',
        description : 'Build man pages')
 
+option('testplan',
+       type : 'feature',
+       description : 'Build testplan documentation pages in ReST and html')
+
 option('docs',
        type : 'feature',
        description : 'Build documentation')
scripts/igt_doc.py +437 -53

630 lines not on this page · raw message

scripts/meson.build +2 -0
index 342972e660..9ab3376e84 100644
@@ -11,3 +11,5 @@ if build_tests
 		install_data(prog, install_dir : bindir, install_mode : 'r-xr-xr-x')
 	endforeach
 endif
+
+igt_doc_script = find_program('igt_doc.py')
Signature · 1 line
2.34.1
Reviewed-by on v4 7/8
#12 lore raw

Re: [igt-dev] [PATCH i-g-t v4 7/8] docs/testplan: Introduce new way for documenting IGT

Quoted 5 lines · On Thu, 2 Mar 2023 12:09:46 +0100 Zbigniew Kempczyński…

Add custom targets to allow building the testplan documentation for the Xe driver.

Well, I wrote this one, so obviously:

Quoted 742 lines
---
 docs/meson.build           |   1 +
 docs/testplan/meson.build  |  28 +++
 docs/testplan/testplan.css |   7 +
 meson_options.txt          |   4 +
 scripts/igt_doc.py         | 490 +++++++++++++++++++++++++++++++++----
 scripts/meson.build        |   2 +
 6 files changed, 479 insertions(+), 53 deletions(-)
 create mode 100644 docs/testplan/meson.build
 create mode 100644 docs/testplan/testplan.css
docs/meson.build +1 -0
index ead14c4015..01edf64f04 100644
@@ -1 +1,2 @@
 subdir('reference')
+subdir('testplan')
docs/testplan/meson.build new file +28 -0
new file mode 100644
index 0000000000..4b55ca6ae5
@@ -0,0 +1,28 @@
+build_testplan = get_option('testplan')
+
+rst2html = find_program('rst2html-3', 'rst2html', required : build_testplan)
+
+stylesheet = meson.current_source_dir() + '/testplan.css'
+
+if igt_doc_script.found()
+    # Xe test documentation
+    testplan = 'xe_tests'
+
+    rst = custom_target(testplan + '.rst',
+                        build_by_default : true,
+                        command : [ igt_doc_script, '--config', '@INPUT@', '--rest', '@OUTPUT@' ],
+                        input : xe_test_config,
+                        output : testplan + '.rst'
+                        )
+    if rst2html.found()
+        custom_target(testplan + '.html',
+                      build_by_default : true,
+                      command : [ rst2html, '--stylesheet=' + stylesheet, '--field-name-limit=0', '@INPUT@', '@OUTPUT@' ],
+                      input : rst,
+                      output : testplan + '.html'
+                      )
+    endif
+endif
+
+build_info += 'Build ReST test documentation: @0@'.format(igt_doc_script.found())
+build_info += 'Build html testplan documentation: @0@'.format(rst2html.found())
docs/testplan/testplan.css new file +7 -0
new file mode 100644
index 0000000000..8aa7b7105c
@@ -0,0 +1,7 @@
+@import url(html4css1.css);
+
+.literal {
+	background: lightgrey;
+        color: darkblue;
+        font-size: 14px;
+}
meson_options.txt +4 -0
index d978813b4f..fb48ba780d 100644
@@ -20,6 +20,10 @@ option('man',
        type : 'feature',
        description : 'Build man pages')
 
+option('testplan',
+       type : 'feature',
+       description : 'Build testplan documentation pages in ReST and html')
+
 option('docs',
        type : 'feature',
        description : 'Build documentation')
scripts/igt_doc.py +437 -53
index b7e3129d3f..f2227a9720 100755
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
-# pylint: disable=C0301,R0914,R0912,R0915
+# pylint: disable=C0301,R0902,R0914,R0912,R0915,R1702
 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
 
 ## Copyright (C) 2023    Intel Corporation                 ##
@@ -11,26 +11,87 @@
 """Maintain test plan and test implementation documentation on IGT."""
 
 import argparse
+import glob
+import json
+import os
 import re
 import subprocess
 import sys
 
-IGT_BUILD_PATH = 'build/'
+IGT_BUILD_PATH = 'build'
 IGT_RUNNER = 'runner/igt_runner'
 
-# Fields that mat be inside TEST and SUBTEST macros
-fields = [
-    'Category',       # Hardware building block / Software building block / ...
-    'Sub-category',   # waitfence / dmabuf/ sysfs / debugfs / ...
-    'Functionality',  # basic test / ...
-    'Test category',  # functionality test / pereformance / stress
-    'Run type',       # BAT / workarouds / stress / developer-specific / ...
-    'Issue',          # Bug tracker issue(s)
-    'GPU excluded platforms',     # none / DG1 / DG2 / TGL / MTL / PVC / ATS-M / ...
-    'GPU requirements',  # Any other specific platform requirements
-    'Depends on',     # some other IGT test, like igt@test@subtes
-    'Test requirements',  # other non-platform requirements
-    'Description']    # Description of the test
+#
+# ancillary functions to sort dictionary hierarchy
+#
+def _sort_per_level(item):
+    if "level" not in item[1]["_properties_"]:
+        return item[0]
+
+    return "%05d_%05d_%s" % (item[1]["_properties_"]["level"], item[1]["_properties_"]["sublevel"], item[0])   # pylint: disable=C0209
+
+def _sort_using_array(item, array):
+    ret_str = ''
+    for field in array:
+        if field in item[1]:
+            ret_str += '_' + field + '_' + item[1][field]
+
+    if ret_str == '':
+        ret_str="________"
+
+    return ret_str
+
+#
+# Ancillary logic to allow plurals on fields
+#
+# As suggested at https://stackoverflow.com/questions/18902608/generating-the-plural-form-of-a-noun/19018986
+#
+
+def plural(field):
+
+    """
+    Poor man's conversion to plural.
+
+    It should cover usual English plural rules, although it is not meant
+    to cover exceptions (except for a few ones that could be useful on actual
+    fields).
+
+"""
+
+    if (match := re.match(r"(.*)\b(\S+)", field)):
+        ret_str = match.group(1)
+        word = match.group(2)
+
+        if word.isupper():
+            ret_str += word
+        elif word == "of" or word == "off" or word == "on" or word =="description" or word == "todo":
+            ret_str += word
+        elif word.endswith('ed'):
+            ret_str += word
+        elif word[-1:] in ['s', 'x', 'z']:
+            ret_str += word + 'es'
+        elif word[-2:] in ['sh', 'ch']:
+            ret_str += word + 'es'
+        elif word.endswith('fe'):
+            ret_str += word[:-2] + 'ves'
+        elif word.endswith('f'):
+            ret_str += word[:-1] + 'ves'
+        elif word.endswith('y'):
+            ret_str += word[:-1] + 'ies'
+        elif word.endswith('o'):
+            ret_str += word + 'es'
+        elif word.endswith('us'):
+            ret_str += word[:-2] + 'i'
+        elif word.endswith('on'):
+            ret_str += word[:-2] + 'a'
+        elif word.endswith('an'):
+            ret_str += word[:-2] + 'en'
+        else:
+            ret_str += word + 's'
+
+        return ret_str
+    else:
+        return field
 
 #
 # TestList class definition
@@ -107,19 +168,160 @@ class TestList:
     The wildcard arguments there need to be expanded. This is done by
     defining arg[1] to arg[n] at the same code comment that contains the
     SUBTEST as those variables are locally processed on each comment line.
-    """
 
+    This script needs a configuration file, in JSON format, describing the
+    fields which will be parsed for TEST and/or SUBTEST tags.
+
+    An exemple of such file is:
+
+    {
+        "files": [ "tests/driver/*.c" ],
+        "fields": {
+            "Category": {
+                "_properties_": {
+                    "is_field": true,
+                    "description": "Contains the major group for the tested functionality"
+                },
+                "Hardware": {
+                    "Sub-category": {
+                        "_properties_": {
+                            "is_field": true,
+                            "description": "Contains the minor group of the functionality"
+                        }
+                    }
+                },
+                "Software building block": {
+                    "Type": {
+                        "_properties_": {
+                            "is_field": true,
+                            "description": "Contains the minor group of the functionality"
+                        }
+                    }
+                }
+            },
+            "Description" : {
+                "_properties_": {
+                    "is_field": true,
+                    "description": "Provides a description for the test/subtest."
+                }
+            }
+        }
+    }
+
+    On such structure, entries having ["_properties_"]["is_field"] == true
+    are fields. When this is not found (or it is False), it indicates a
+    possible value.
+
+    So, the above JSON config file expects tags like those:
+
+    TEST: foo
+    Description: foo
+
+    SUBTEST: bar
+    Category: Hardware
+    Sub-category: EU
+    Description: test bar on EU
+
+    SUBTEST: foobar
+    Category: Software
+    Type: ioctl
+    Description: test ioctls
+    """
 
-    def __init__(self):
+    def __init__(self, config_fname, file_list):
         self.doc = {}
         self.test_number = 0
         self.min_test_prefix = ''
+        self.config = None
+        self.filenames = file_list
+        self.props = {}
+        self.config_fname = config_fname
+        self.level_count = 0
+        self.field_list = {}
+
+        with open(config_fname, 'r', encoding='utf8') as handle:
+            self.config = json.load(handle)
+
+            self.__add_field(None, 0, 0, self.config["fields"])
+
+            sublevel_count = [ 0 ] * self.level_count
+
+            for field, item in self.props.items():
+                if "is_field" not in item["_properties_"]:
+                    continue
+                if "sublevel" in item["_properties_"]:
+                    level = item["_properties_"]["level"]
+                    sublevel_count[level - 1] += 1
+                if item["_properties_"]["is_field"]:
+                    lc = field.lower()
+                    self.field_list[lc] = field
+                    pl = plural(lc)
+                    if lc != pl:
+                        self.field_list[pl] = field
+
+            # Remove non-multilevel items, as we're only interested on
+            # hierarchical item levels here
+            for field, item in self.props.items():
+                if "sublevel" in item["_properties_"]:
+                    level = item["_properties_"]["level"]
+                    if sublevel_count[level - 1] == 1:
+                        del item["_properties_"]["level"]
+                        del item["_properties_"]["sublevel"]
+            del self.props["_properties_"]
+
+            if not self.filenames:
+                self.filenames = []
+                files = self.config["files"]
+                for f in files:
+                    f = os.path.realpath(os.path.dirname(config_fname)) + "/" + f
+                    for fname in glob.glob(f):
+                        self.filenames.append(fname)
+
+        if not self.filenames:
+            sys.exit("Need file names to be processed")
+
+        # Parse files, expanding wildcards
+        field_re = re.compile(r"(" + '|'.join(self.field_list.keys()) + r'):\s*(.*)', re.I)
+
+        for fname in self.filenames:
+            self.__add_file_documentation(fname, field_re)
 
     #
     # ancillary methods
     #
 
-    def expand_subtest(self, fname, test_name, test):
+    def __add_field(self, name, sublevel, hierarchy_level, field):
+
+        """ Flatten config fields into a non-hierarchical dictionary """
+
+        for key in field:
+            if key not in self.props:
+                self.props[key] = {}
+                self.props[key]["_properties_"] = {}
+
+            if name:
+                if key == "_properties_":
+                    if key not in self.props:
+                        self.props[key] = {}
+                    self.props[name][key].update(field[key])
+
+                    if "is_field" in self.props[name][key]:
+                        if self.props[name][key]["is_field"]:
+                            sublevel += 1
+                            hierarchy_level += 1
+                            if "sublevel" in self.props[name][key]:
+                                if self.props[name][key]["sublevel"] != sublevel:
+                                    sys.exit(f"Error: config defined {name} as sublevel {self.props[key]['sublevel']}, but wants to redefine as sublevel {sublevel}")
+
+                            self.props[name][key]["level"] = self.level_count
+                            self.props[name][key]["sublevel"] = sublevel
+                    continue
+            else:
+                self.level_count += 1
+
+            self.__add_field(key, sublevel, hierarchy_level, field[key])
+
+    def expand_subtest(self, fname, test_name, test, allow_inherit):
 
         """Expand subtest wildcards providing an array with subtests"""
 
@@ -145,11 +347,13 @@ class TestList:
                     if k == 'arg':
                         continue
 
-                    if self.doc[test]["subtest"][subtest][k] == self.doc[test][k]:
-                        continue
+                    if not allow_inherit:
+                        if k in self.doc[test] and self.doc[test]["subtest"][subtest][k] == self.doc[test][k]:
+                            continue
 
                     subtest_dict[k] = self.doc[test]["subtest"][subtest][k]
-                    subtest_array.append(subtest_dict)
+
+                subtest_array.append(subtest_dict)
 
                 continue
 
@@ -210,8 +414,11 @@ class TestList:
 
                     sub_field = self.doc[test]["subtest"][subtest][field]
                     sub_field = re.sub(r"%?\barg\[(\d+)\]", lambda m: arg_map[int(m.group(1)) - 1], sub_field) # pylint: disable=W0640
-                    if sub_field == self.doc[test][field]:
-                        continue
+
+                    if not allow_inherit:
+                        if field in self.doc[test]:
+                            if sub_field in self.doc[test][field] and sub_field == self.doc[test][field]:
+                                continue
 
                     subtest_dict[field] = sub_field
 
@@ -232,14 +439,63 @@ class TestList:
 
         return subtest_array
 
+    def expand_dictionary(self, subtest_only):
+
+        """ prepares a dictionary with subtest arguments expanded """
+
+        test_dict = {}
+
+        for test in self.doc:                   # pylint: disable=C0206
+            fname = self.doc[test]["File"]
+
+            name = re.sub(r'.*tests/', '', fname)
+            name = re.sub(r'\.[ch]', '', name)
+            name = "igt@" + name
+
+            if not subtest_only:
+                test_dict[name] = {}
+
+                for field in self.doc[test]:
+                    if field == "subtest":
+                        continue
+                    if field == "arg":
+                        continue
+
+                    test_dict[name][field] = self.doc[test][field]
+                dic = test_dict[name]
+            else:
+                dic = test_dict
+
+            subtest_array = self.expand_subtest(fname, name, test, subtest_only)
+            for subtest in subtest_array:
+                summary = subtest["Summary"]
+
+                dic[summary] = {}
+                for field in sorted(subtest.keys()):
+                    if field == 'Summary':
+                        continue
+                    if field == 'arg':
+                        continue
+                    dic[summary][field] = subtest[field]
+
+        return test_dict
+
     #
     # Output methods
     #
 
-    def print_test(self):
+    def print_rest_flat(self, filename):
 
         """Print tests and subtests ordered by tests"""
 
+        original_stdout = sys.stdout
+        f = None
+
+        if filename:
+            f = open(filename, "w", encoding='utf8')
+
+            sys.stdout = f
+
         for test in sorted(self.doc.keys()):
             fname = self.doc[test]["File"]
 
@@ -260,7 +516,7 @@ class TestList:
 
                 print(f":{field}: {self.doc[test][field]}")
 
-            subtest_array = self.expand_subtest(fname, name, test)
+            subtest_array = self.expand_subtest(fname, name, test, False)
 
             for subtest in subtest_array:
                 print()
@@ -281,6 +537,107 @@ class TestList:
             print()
             print()
 
+        if f:
+            f.close()
+        sys.stdout = original_stdout
+
+    def print_nested_rest(self, filename):
+
+        """Print tests and subtests ordered by tests"""
+
+        original_stdout = sys.stdout
+        f = None
+
+        if filename:
+            f = open(filename, "w", encoding='utf8')
+
+            sys.stdout = f
+
+        """Print tests and subtests using fields hierarchy"""
+
+        # Identify the sort order for the fields
+        fields_order = []
+        fields = sorted(self.props.items(), key = _sort_per_level)
+        for item in fields:
+            fields_order.append(item[0])
+
+        # Receives a flat subtest dictionary, with wildcards expanded
+        subtest_dict = self.expand_dictionary(True)
+
+        subtests = sorted(subtest_dict.items(),
+                          key = lambda x: _sort_using_array(x, fields_order))
+
+        # Use the level markers below
+        level_markers='=-^_~:.`"*+#'
+
+        # Print the data
+        old_fields = [ '' ] * len(fields_order)
+
+        for subtest, fields in subtests:
+            # Check what level has different message
+            for cur_level in range(0, len(fields_order)):  # pylint: disable=C0200
+                field = fields_order[cur_level]
+                if not "level" in self.props[field]["_properties_"]:
+                    continue
+                if field in fields:
+                    if old_fields[cur_level] != fields[field]:
+                        break
+
+            # print hierarchy
+            for i in range(cur_level, len(fields_order)):
+                if not "level" in self.props[fields_order[i]]["_properties_"]:
+                    continue
+                if not fields_order[i] in fields:
+                    continue
+                marker = self.props[fields_order[i]]["_properties_"]["sublevel"]
+
+                title_str = fields_order[i] + ": " + fields[fields_order[i]]
+
+                if marker >= len(level_markers):
+                    sys.exit(f"Too many levels: {marker}, maximum limit is {len(level_markers):}")
+
+                print(title_str)
+                print(level_markers[marker] * len(title_str))
+                print()
+
+            print()
+            print("``" + subtest + "``")
+            print()
+
+            # print non-hierarchy fields
+            for field in fields_order:
+                if "level" in self.props[field]["_properties_"]:
+                    continue
+
+                if field in fields:
+                    print(f":{field}: {fields[field]}")
+
+            # Store current values
+            for i in range(cur_level, len(fields_order)):
+                field = fields_order[i]
+                if not "level" in self.props[field]["_properties_"]:
+                    continue
+                if field in fields:
+                    old_fields[i] = fields[field]
+                else:
+                    old_fields[i] = ''
+
+            print()
+
+        if f:
+            f.close()
+        sys.stdout = original_stdout
+
+    def print_json(self, out_fname):
+
+        """Adds the contents of test/subtest documentation form a file"""
+
+        # Receives a dictionary with tests->subtests with expanded subtests
+        test_dict = self.expand_dictionary(False)
+
+        with open(out_fname, "w", encoding='utf8') as write_file:
+            json.dump(test_dict, write_file, indent = 4)
+
     #
     # Subtest list methods
     #
@@ -298,7 +655,7 @@ class TestList:
             test_name = re.sub(r'\.[ch]', '', test_name)
             test_name = "igt@" + test_name
 
-            subtest_array = self.expand_subtest(fname, test_name, test)
+            subtest_array = self.expand_subtest(fname, test_name, test, False)
 
             for subtest in subtest_array:
                 subtests.append(subtest["Summary"])
@@ -318,14 +675,15 @@ class TestList:
             doc_subtests[i] = re.sub(r'\<[^\>]+\>', r'\\d+', doc_subtests[i])
 
         # Get a list of tests from
-        result = subprocess.run([ f"{IGT_BUILD_PATH}/{IGT_RUNNER}",  # pylint: disable=W1510
-                                "-L", "-t",  self.min_test_prefix,
-                                f"{IGT_BUILD_PATH}/tests"],
-                                capture_output = True, text = True)
-        if result.returncode:
-            print( result.stdout)
-            print("Error:", result.stderr)
-            sys.exit(result.returncode)
+        try:
+            result = subprocess.run([ f"{IGT_BUILD_PATH}/{IGT_RUNNER}",
+                                    "-L", "-t",  self.min_test_prefix,
+                                    f"{IGT_BUILD_PATH}/tests"], check = True,
+                                    capture_output = True, text = True)
+        except subprocess.CalledProcessError as sub_err:
+            print(sub_err.stderr)
+            print("Error:", sub_err)
+            sys.exit(1)
 
         run_subtests = sorted(result.stdout.splitlines())
 
@@ -368,7 +726,7 @@ class TestList:
     # File handling methods
     #
 
-    def add_file_documentation(self, fname, field_re):
+    def __add_file_documentation(self, fname, field_re):
 
         """Adds the contents of test/subtest documentation form a file"""
 
@@ -443,7 +801,22 @@ class TestList:
                     current_field = ''
                     handle_section = 'subtest'
 
+                    # subtests inherit properties from the tests
                     self.doc[current_test]["subtest"][current_subtest] = {}
+                    for field in self.doc[current_test].keys():
+                        if field == "arg":
+                            continue
+                        if field == "summary":
+                            continue
+                        if field == "File":
+                            continue
+                        if field == "subtest":
+                            continue
+                        if field == "_properties_":
+                            continue
+                        if field == "Description":
+                            continue
+                        self.doc[current_test]["subtest"][current_subtest][field] = self.doc[current_test][field]
 
                     self.doc[current_test]["subtest"][current_subtest]["Summary"] = match.group(1)
                     self.doc[current_test]["subtest"][current_subtest]["Description"] = ''
@@ -459,7 +832,7 @@ class TestList:
 
                 # It is a known section. Parse its contents
                 if (match := re.match(field_re, file_line)):
-                    current_field = match.group(1).lower().capitalize()
+                    current_field = self.field_list[match.group(1).lower()]
                     match_val = match.group(2)
 
                     if handle_section == 'test':
@@ -506,17 +879,19 @@ class TestList:
 
                 if (match := re.match(r'^(.*):', file_line)):
                     sys.exit(f"{fname}:{file_ln + 1}: Error: unrecognized field '%s'. Need to add at %s" %
-                            (match.group(1), fname))
+                            (match.group(1), self.config_fname))
 
                 # Handle multi-line field contents
                 if current_field:
                     if (match := re.match(r'\s*(.*)', file_line)):
                         if handle_section == 'test':
-                            self.doc[current_test][current_field] += " " + \
-                                match.group(1)
+                            dic = self.doc[current_test]
                         else:
-                            self.doc[current_test]["subtest"][current_subtest][current_field] += " " + \
-                                match.group(1)
+                            dic = self.doc[current_test]["subtest"][current_subtest]
+
+                        if dic[current_field] != '':
+                            dic[current_field] += " "
+                        dic[current_field] += match.group(1)
 
                     continue
 
@@ -529,8 +904,9 @@ class TestList:
                         if match:
                             self.doc[current_test]["arg"][arg_ref][cur_arg][cur_arg_element] = match.group(1) + ' ' + match_val + ">"
                         else:
-                            self.doc[current_test]["arg"][arg_ref][cur_arg][cur_arg_element] += ' ' + match_val
-
+                            if self.doc[current_test]["arg"][arg_ref][cur_arg][cur_arg_element] != '':
+                                self.doc[current_test]["arg"][arg_ref][cur_arg][cur_arg_element] += ' '
+                            self.doc[current_test]["arg"][arg_ref][cur_arg][cur_arg_element] += match_val
                     continue
 
 #
@@ -540,8 +916,14 @@ class TestList:
 parser = argparse.ArgumentParser(description = "Print formatted kernel documentation to stdout.",
                                  formatter_class = argparse.ArgumentDefaultsHelpFormatter,
                                  epilog = 'If no action specified, assume --rest.')
-parser.add_argument("--rest", action="store_true",
-                    help="Generate documentation from the source files, in ReST file format.")
+parser.add_argument("--config", required = True,
+                    help="JSON file describing the test plan template")
+parser.add_argument("--rest",
+                    help="Output documentation from the source files in REST file.")
+parser.add_argument("--per-test", action="store_true",
+                    help="Modifies ReST output to print subtests per test.")
+parser.add_argument("--to-json",
+                    help="Output test documentation in JSON format as TO_JSON file")
 parser.add_argument("--show-subtests", action="store_true",
                     help="Shows the name of the documented subtests in alphabetical order.")
 parser.add_argument("--check-testlist", action="store_true",
@@ -549,17 +931,12 @@ parser.add_argument("--check-testlist", action="store_true",
 parser.add_argument("--igt-build-path",
                     help="Path where the IGT runner is sitting. Used by --check-testlist.",
                     default=IGT_BUILD_PATH)
-parser.add_argument('--files', nargs='+', required=True,
+parser.add_argument('--files', nargs='+',
                     help="File name(s) to be processed")
 
 parse_args = parser.parse_args()
 
-field_regex = re.compile(r"(" + '|'.join(fields) + r'):\s*(.*)', re.I)
-
-tests = TestList()
-
-for filename in parse_args.files:
-    tests.add_file_documentation(filename, field_regex)
+tests = TestList(parse_args.config, parse_args.files)
 
 RUN = 0
 if parse_args.show_subtests:
@@ -571,5 +948,12 @@ if parse_args.check_testlist:
     RUN = 1
     tests.check_tests()
 
+if parse_args.to_json:
+    RUN = 1
+    tests.print_json(parse_args.to_json)
+
 if not RUN or parse_args.rest:
-    tests.print_test()
+    if parse_args.per_test:
+        tests.print_rest_flat(parse_args.rest)
+    else:
+        tests.print_nested_rest(parse_args.rest)
scripts/meson.build +2 -0
index 342972e660..9ab3376e84 100644
@@ -11,3 +11,5 @@ if build_tests
 		install_data(prog, install_dir : bindir, install_mode : 'r-xr-xr-x')
 	endforeach
 endif
+
+igt_doc_script = find_program('igt_doc.py')
#13 lore raw

PATCH v4 8/8 runner/job_list: return error on crashes while running --list-subtests

In reply to Zbigniew Kempczyński

Changes on tests may break --list-subtests, if they, for instance, someone adds a code outside igt_subtests that depends on igt_fixture to run, causing:

        Received signal SIGABRT.
        Stack trace:
         #0 [fatal_sig_handler+0x17b]
         #1 [__sigaction+0x50]
         #2 [__pthread_kill_implementation+0x10c]
         #3 [gsignal+0x16]
         #4 [abort+0xd7]
         #5 [__assert_fail_base.cold+0xf]
         #6 [__assert_fail+0x46]
         #7 [internal_assert+0xe5]
         #8 [igt_fail+0xea]
         #9 [__igt_fail_assert+0x10e]
         #10 [xe_number_hw_engines+0x6b]
         #11 [__igt_unique____real_main1528+0x1ac0]
         #12 [main+0x23]
         #13 [__libc_start_call_main+0x80]
         #14 [__libc_start_main+0x89]
         #15 [_start+0x25]
        Aborted (core dumped)

IGT runner currently prints the message, but don't ignore the error. That prevents scripts to rely on the IGT testlist output, as the list will miss subtests.

So, instead, return an error.

---
 runner/job_list.c | 1 +
 1 file changed, 1 insertion(+)
runner/job_list.c +1 -0
index a259b9531a..e6ea836310 100644
@@ -130,6 +130,7 @@ static void add_subtests(struct job_list *job_list, struct settings *settings,
 		}
 	} else {
 		fprintf(stderr, "Test binary %s died unexpectedly\n", binary);
+		exit(1);
 	}
 }
 
Signature · 1 line
2.34.1
Reviewed-by on v4 8/8
#14 lore raw

Re: [igt-dev] [PATCH i-g-t v4 8/8] runner/job_list: return error on crashes while running --list-subtests

Quoted 24 lines · On Thu, 2 Mar 2023 12:09:47 +0100 Zbigniew Kempczyński…

Changes on tests may break --list-subtests, if they, for instance, someone adds a code outside igt_subtests that depends on igt_fixture to run, causing:

        Received signal SIGABRT.
        Stack trace:
         #0 [fatal_sig_handler+0x17b]
         #1 [__sigaction+0x50]
         #2 [__pthread_kill_implementation+0x10c]
         #3 [gsignal+0x16]
         #4 [abort+0xd7]
         #5 [__assert_fail_base.cold+0xf]
         #6 [__assert_fail+0x46]
         #7 [internal_assert+0xe5]
         #8 [igt_fail+0xea]
         #9 [__igt_fail_assert+0x10e]
         #10 [xe_number_hw_engines+0x6b]
         #11 [__igt_unique____real_main1528+0x1ac0]
         #12 [main+0x23]
         #13 [__libc_start_call_main+0x80]
         #14 [__libc_start_main+0x89]
         #15 [_start+0x25]
        Aborted (core dumped)
Quoted 8 lines

IGT runner currently prints the message, but don't ignore the error. That prevents scripts to rely on the IGT testlist output, as the list will miss subtests.

So, instead, return an error.

Quoted 16 lines
---
 runner/job_list.c | 1 +
 1 file changed, 1 insertion(+)
runner/job_list.c +1 -0
index a259b9531a..e6ea836310 100644
@@ -130,6 +130,7 @@ static void add_subtests(struct job_list *job_list, struct settings *settings,
 		}
 	} else {
 		fprintf(stderr, "Test binary %s died unexpectedly\n", binary);
+		exit(1);
 	}
 }
 
#15 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for Initial Xe test suite (rev4)

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: Initial Xe test suite (rev4)
URL : https://patchwork.freedesktop.org/series/112191/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/820097 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323714):
[3/289] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/289] Linking target tests/gem_barrier_race.
[5/289] Linking target tests/perf.
[6/289] Linking target tests/core_hotunplug.
[7/289] Linking target tests/xe/xe_pm.
[8/289] Linking target tests/xe/xe_prime_self_import.
[9/289] Compiling C object 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o'.
FAILED: tests/xe/2e9594b@@xe_query@exe/xe_query.c.o
cc -Itests/xe/2e9594b@@xe_query@exe -Itests/xe -I../tests/xe -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -MF 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o.d' -o 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -c ../tests/xe/xe_query.c ../tests/xe/xe_query.c:53:82: error: expected ‘,’ before ‘)’ token

   static_assert(INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES+1 == __INTEL_HWCONFIG_KEY_LIMIT);
                                                                                    ^
                                                                                    ,

ninja: build stopped: subcommand failed. section_end:1677756036:step_script section_start:1677756036:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756037:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323717):
[2/250] Linking target lib/libi915_perf.so.1.5.
[3/250] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/250] Linking target tests/gem_barrier_race.
[5/250] Linking target tests/perf.
[6/250] Linking target tests/core_hotunplug.
[7/250] Linking target tests/xe/xe_exec_threads.
[8/250] Compiling C object 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o'.
FAILED: tests/xe/2e9594b@@xe_query@exe/xe_query.c.o
/usr/bin/aarch64-linux-gnu-gcc -Itests/xe/2e9594b@@xe_query@exe -Itests/xe -I../tests/xe -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -MF 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o.d' -o 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -c ../tests/xe/xe_query.c ../tests/xe/xe_query.c:53:82: error: expected ‘,’ before ‘)’ token

   static_assert(INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES+1 == __INTEL_HWCONFIG_KEY_LIMIT);
                                                                                    ^
                                                                                    ,

ninja: build stopped: subcommand failed. section_end:1677756055:step_script section_start:1677756055:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756056:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323716):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/838] Generating version.h with a custom command.
[2/758] Linking target tests/kms_plane_lowres.
[3/758] Linking target lib/libi915_perf.so.1.5.
[4/758] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[5/758] Compiling C object 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o'.
FAILED: tests/xe/2e9594b@@xe_query@exe/xe_query.c.o
/usr/bin/arm-linux-gnueabihf-gcc -Itests/xe/2e9594b@@xe_query@exe -Itests/xe -I../tests/xe -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -MF 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o.d' -o 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -c ../tests/xe/xe_query.c ../tests/xe/xe_query.c:53:82: error: expected ‘,’ before ‘)’ token

   static_assert(INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES+1 == __INTEL_HWCONFIG_KEY_LIMIT);
                                                                                    ^
                                                                                    ,

ninja: build stopped: subcommand failed. section_end:1677756161:step_script section_start:1677756161:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756161:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323718):
[521/1278] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_acmgt3.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/838] Generating version.h with a custom command.
[2/759] Linking target lib/libi915_perf.so.1.5.
[3/759] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/759] Compiling C object 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o'.
FAILED: tests/xe/2e9594b@@xe_query@exe/xe_query.c.o
/usr/bin/mips-linux-gnu-gcc -Itests/xe/2e9594b@@xe_query@exe -Itests/xe -I../tests/xe -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/mips-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -MF 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o.d' -o 'tests/xe/2e9594b@@xe_query@exe/xe_query.c.o' -c ../tests/xe/xe_query.c ../tests/xe/xe_query.c:53:82: error: expected ‘,’ before ‘)’ token

   static_assert(INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES+1 == __INTEL_HWCONFIG_KEY_LIMIT);
                                                                                    ^
                                                                                    ,

ninja: build stopped: subcommand failed. section_end:1677756294:step_script section_start:1677756294:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756295:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323709):
[5/12] Linking target tests/perf.
[6/12] Linking target tests/core_hotunplug.
[7/12] Linking target tools/i915-perf/i915-perf-configs.
[8/12] Linking target tools/i915-perf/i915-perf-recorder.
[9/12] Linking target tools/i915-perf/i915-perf-reader.
[10/12] Linking target runner/runner_test.
[11/12] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/xe/xe_test_config.json --rest docs/testplan/xe_tests.rst

    File "/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py", line 61
      if (match := re.match(r"(.*)\b(\S+)", field)):
                ^

SyntaxError: invalid syntax
ninja: build stopped: subcommand failed. section_end:1677756017:step_script section_start:1677756017:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756019:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323713):
[4/11] Linking target tests/gem_barrier_race.
[5/11] Linking target tests/perf.
[6/11] Linking target tests/core_hotunplug.
[7/11] Linking target tools/i915-perf/i915-perf-configs.
[8/11] Linking target tools/i915-perf/i915-perf-recorder.
[9/11] Linking target tools/i915-perf/i915-perf-reader.
[10/11] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/xe/xe_test_config.json --rest docs/testplan/xe_tests.rst

    File "/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py", line 61
      if (match := re.match(r"(.*)\b(\S+)", field)):
                ^

SyntaxError: invalid syntax
ninja: build stopped: subcommand failed. section_end:1677756109:step_script section_start:1677756109:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756110:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323712):
[5/12] Linking target tests/perf.
[6/12] Linking target tests/core_hotunplug.
[7/12] Linking target tools/i915-perf/i915-perf-configs.
[8/12] Linking target tools/i915-perf/i915-perf-recorder.
[9/12] Linking target tools/i915-perf/i915-perf-reader.
[10/12] Linking target runner/runner_test.
[11/12] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/xe/xe_test_config.json --rest docs/testplan/xe_tests.rst

    File "/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py", line 61
      if (match := re.match(r"(.*)\b(\S+)", field)):
                ^

SyntaxError: invalid syntax
ninja: build stopped: subcommand failed. section_end:1677756035:step_script section_start:1677756035:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756036:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323710):
[6/13] Linking target tests/core_hotunplug.
[7/13] Linking target tools/i915-perf/i915-perf-configs.
[8/13] Linking target tools/i915-perf/i915-perf-recorder.
[9/13] Linking target tools/i915-perf/i915-perf-reader.
[10/13] Linking target runner/runner_test.
[11/13] Linking target assembler/intel-gen4asm.
[12/13] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/xe/xe_test_config.json --rest docs/testplan/xe_tests.rst

    File "/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py", line 61
      if (match := re.match(r"(.*)\b(\S+)", field)):
                ^

SyntaxError: invalid syntax
ninja: build stopped: subcommand failed. section_end:1677756037:step_script section_start:1677756037:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756039:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/37323711):
[5/12] Linking target tests/gem_barrier_race.
[6/12] Linking target tests/core_hotunplug.
[7/12] Linking target tools/i915-perf/i915-perf-configs.
[8/12] Linking target tools/i915-perf/i915-perf-recorder.
[9/12] Linking target tools/i915-perf/i915-perf-reader.
[10/12] Linking target runner/runner_test.
[11/12] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/xe/xe_test_config.json --rest docs/testplan/xe_tests.rst

    File "/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py", line 61
      if (match := re.match(r"(.*)\b(\S+)", field)):
                ^

SyntaxError: invalid syntax
ninja: build stopped: subcommand failed. section_end:1677756018:step_script section_start:1677756018:cleanup_file_variables Cleaning up project directory and file based variables section_end:1677756018:cleanup_file_variables
ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/820097

#16 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for Initial Xe test suite (rev4)

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: Initial Xe test suite (rev4)
URL : https://patchwork.freedesktop.org/series/112191/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12801 -> IGTPW_8553
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/index.html

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

Missing (1): fi-snb-2520m

Changes
-------

No changes found

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

* CI: CI-20190529 -> None
* IGT: IGT_7178 -> IGTPW_8553

CI-20190529: 20190529
CI_DRM_12801: 6695d34a4e09a2371e6ad8a2ea8644bfa901744e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8553: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/index.html
IGT_7178: ffe3f6670b91ab975f90799ab3fd0941b6eae019 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+++ 787 lines
--- 1 lines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/index.html

#17 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for Initial Xe test suite (rev4)

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: Initial Xe test suite (rev4)
URL : https://patchwork.freedesktop.org/series/112191/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12801_full -> IGTPW_8553_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_8553_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_8553_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/index.html

Participating hosts (20 -> 19)
------------------------------

Missing (1): shard-dg2-11

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

Here are the unknown changes that may have been introduced in IGTPW_8553_full:

### IGT changes ###

#### Possible regressions ####

* igt@i915_pm_rps@reset:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-snb5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-snb4/igt@[email protected]

* igt@syncobj_wait@invalid-multi-wait-all-unsubmitted-submitted:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] +6 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-apl6/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl2/igt@[email protected]

* {igt@xe/xe_evict@evict-beng-large} (NEW):
- {shard-dg2-3}: NOTRUN -> [SKIP][5] +98 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-3/igt@xe/[email protected]

* {igt@xe/xe_exec_balancer@twice-virtual-basic} (NEW):
- {shard-dg2-7}: NOTRUN -> [SKIP][6] +62 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-7/igt@xe/[email protected]

* {igt@xe/xe_exec_basic@many-bindengine} (NEW):
- {shard-dg2-6}: NOTRUN -> [SKIP][7] +70 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-6/igt@xe/[email protected]

* {igt@xe/xe_exec_fault_mode@many-userptr-invalidate-race-prefetch} (NEW):
- {shard-dg2-5}: NOTRUN -> [SKIP][8] +94 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-5/igt@xe/[email protected]

* {igt@xe/xe_exec_reset@gt-reset} (NEW):
- {shard-dg2-8}: NOTRUN -> [SKIP][9] +124 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-8/igt@xe/[email protected]

* {igt@xe/xe_exec_threads@threads-shared-vm-userptr-invalidate} (NEW):
- {shard-dg2-12}: NOTRUN -> [SKIP][10] +58 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-12/igt@xe/[email protected]

* {igt@xe/xe_guc_pc@freq_basic_api} (NEW):
- {shard-dg2-10}: NOTRUN -> [SKIP][11] +93 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-10/igt@xe/xe_guc_pc@freq_basic_api.html

* {igt@xe/xe_vm@large-binds-134217728} (NEW):
- {shard-dg1}: NOTRUN -> [SKIP][12] +124 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg1-12/igt@xe/[email protected]

* {igt@xe/xe_vm@mixed-binds-1611661312} (NEW):
- {shard-dg2-1}: NOTRUN -> [SKIP][13] +39 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-1/igt@xe/[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@gem_create@create-ext-cpu-access-big:
- {shard-dg2-6}: NOTRUN -> [ABORT][14]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- {shard-dg2-6}: NOTRUN -> [FAIL][15]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-dg2-6/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_12801_full and IGTPW_8553_full:

### New IGT tests (787) ###

* igt@xe/xe_compute@compute:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_debugfs@base:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_debugfs@forcewake:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_debugfs@gt0:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_debugfs@gt1:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_dma_buf_sync@export-dma-buf-many:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_dma_buf_sync@export-dma-buf-many-read-sync:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_dma_buf_sync@export-dma-buf-once:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_dma_buf_sync@export-dma-buf-once-read-sync:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-cm-threads-large:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-cm-threads-large-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-cm-threads-small:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-cm-threads-small-multi-vm:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large-external:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large-external-cm:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large-multi-vm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-large-multi-vm-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-many-threads-large:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-many-threads-small:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-threads-large:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-threads-large-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-threads-small:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-mixed-threads-small-multi-vm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small-cm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small-external:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small-external-cm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small-multi-vm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-small-multi-vm-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-threads-large:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-threads-large-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-threads-small:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-beng-threads-small-multi-vm:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-cm-threads-large:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-cm-threads-large-multi-vm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-cm-threads-small:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-cm-threads-small-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large-cm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large-external:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large-external-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-large-multi-vm-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-many-threads-large:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-many-threads-small:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-threads-large:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-threads-large-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-threads-small:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-mixed-threads-small-multi-vm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small-cm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small-external:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small-external-cm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small-multi-vm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-small-multi-vm-cm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-threads-large:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-threads-large-multi-vm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-threads-small:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_evict@evict-threads-small-multi-vm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-cm-virtual-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-cm-virtual-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-parallel-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-basic:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-engines-virtual-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-rebind:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-parallel-userptr-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@many-virtual-userptr-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-invalidate-race:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-cm-virtual-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-parallel-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@no-exec-virtual-userptr-rebind:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-userptr-invalidate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-cm-virtual-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-parallel-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@once-virtual-userptr-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-cm-virtual-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-userptr:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-parallel-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@twice-virtual-userptr-rebind:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_balancer@virtual-all-active:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-basic-defer-bind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-basic-defer-mmap:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-basic-defer-bind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-basic-defer-mmap:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-basic-defer-bind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-basic-defer-mmap:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-many-vm-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-userptr-invalidate:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-userptr-invalidate-race:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-engines-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@many-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-basic-defer-bind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-basic-defer-mmap:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-bindengine-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-rebind:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@no-exec-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-basic-defer-bind:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-basic-defer-mmap:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@once-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-basic-defer-bind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-basic-defer-mmap:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-bindengine-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-userptr-invalidate-race:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_basic@twice-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-bindengine-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-bindengine-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-bindengine-userptr-rebind:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-preempt-fence-early:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-userptr-invalidate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-engines-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-preempt-fence-early:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@many-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-preempt-fence-early:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@once-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine-userptr:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-invalidate-race:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-preempt-fence-early:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-userptr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_compute_mode@twice-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@atomic-many:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@atomic-many-wait:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@atomic-once:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@atomic-once-wait:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-basic-imm:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-basic-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-imm:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-rebind-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-rebind-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate-race-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-invalidate-race-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-rebind-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-bindengine-userptr-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-basic-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-basic-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-prefetch:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-rebind-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-rebind-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate-race-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-invalidate-race-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-rebind-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-bindengine-userptr-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-invalid-fault:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-invalid-userptr-fault:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-rebind-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-imm:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate-race-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-invalidate-race-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-engines-userptr-rebind-prefetch:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-invalid-fault:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-invalid-userptr-fault:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate-race-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-invalidate-race-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-prefetch:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-rebind-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@many-userptr-rebind-prefetch:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-basic-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-basic-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-imm:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-prefetch:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-rebind-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate-race-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-invalidate-race-prefetch:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-bindengine-userptr-rebind-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-invalid-fault:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-invalid-userptr-fault:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-rebind-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate-race-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-invalidate-race-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-rebind-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@once-userptr-rebind-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-basic-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-basic-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-rebind-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-rebind-prefetch:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate-imm:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate-race-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-invalidate-race-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-bindengine-userptr-rebind-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-invalid-fault:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-invalid-userptr-fault:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-rebind-prefetch:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate-prefetch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate-race-imm:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-invalidate-race-prefetch:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-prefetch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-rebind-imm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_fault_mode@twice-userptr-rebind-prefetch:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cancel:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cat-error:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@close-engines-close-fd:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@close-fd-no-exec:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-cat-error:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-close-engines-close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-close-fd-no-exec:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-engine-reset:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@cm-gt-reset:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@engine-reset:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@gt-reset:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@gt-reset-stress:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-cancel:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-cat-error:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-close-engines-close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-close-fd:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-close-fd-no-exec:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-engine-reset:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@parallel-gt-reset:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@spin:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-cancel:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-cat-error:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-close-engines-close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-close-fd:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-close-fd-no-exec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-engine-reset:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_reset@virtual-gt-reset:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-fd-userptr-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-fd-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-userptr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-shared-vm-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-userptr-invalidate-race:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-mixed-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-rebind:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-userptr-invalidate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-shared-vm-userptr-rebind:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-bal-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-fd-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-shared-vm-userptr-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-userptr:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-cm-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-basic:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-userptr-invalidate:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-fd-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-basic:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-rebind:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-userptr-invalidate:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-fd-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-rebind:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-rebind:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-rebind-err:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-userptr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-shared-vm-userptr-rebind-err:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-userptr-invalidate-race:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-hang-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-basic:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-userptr:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-userptr-invalidate:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-userptr-invalidate-race:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-fd-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-basic:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-shared-vm-userptr-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-userptr-invalidate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-mixed-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-rebind:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-rebind-bindengine:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-rebind:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-rebind-bindengine:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-rebind-err:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-userptr-invalidate:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-shared-vm-userptr-rebind-err:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-userptr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-userptr-invalidate:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-userptr-invalidate-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_exec_threads@threads-userptr-rebind:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_basic_api:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_fixed_exec:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_fixed_idle:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_low_max:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_range_exec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_range_idle:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_reset:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_reset_multiple:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@freq_suspend:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@rc0_on_exec:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_guc_pc@rc6_on_idle:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_huc_copy@huc_copy:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_mmap@system:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_mmap@vram:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_mmap@vram-system:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_mmio@mmio-invalid:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_mmio@mmio-timestamp:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3cold-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3cold-basic-exec:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3cold-multiple-execs:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3hot-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3hot-basic-exec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@d3hot-multiple-execs:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-basic:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-basic-exec:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-d3cold-basic-exec:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-d3hot-basic-exec:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-exec-after:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s2idle-multiple-execs:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-basic:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-basic-exec:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-d3cold-basic-exec:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-d3hot-basic-exec:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-exec-after:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s3-multiple-execs:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-basic:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-basic-exec:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-d3cold-basic-exec:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-d3hot-basic-exec:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-exec-after:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_pm@s4-multiple-execs:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-llseek-bad:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-llseek-size:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-with_fd_dup:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-with_one_bo:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-with_one_bo_two_files:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@basic-with_two_bos:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@export-vs-gem_close-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_prime_self_import@reimport-vs-gem_close-race:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-config:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-engines:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-gts:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-hwconfig:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-invalid-query:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-invalid-size:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-mem-usage:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_query@query-topology:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-array-engine-many:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-array-engine-twice:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-array-many:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-array-twice:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-engines-independent:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-once:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-one-bo-many-times:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@bind-one-bo-many-times-many-vm:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-1073741824:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-134217728:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-16777216:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-2097152:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-2147483648:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-268435456:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-33554432:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-4194304:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-536870912:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-67108864:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-binds-8388608:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-1073741824:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-134217728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-16777216:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-2097152:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-2147483648:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-268435456:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-33554432:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-4194304:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-536870912:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-67108864:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-misaligned-binds-8388608:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-1073741824:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-134217728:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-16777216:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-2097152:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-2147483648:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-268435456:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-33554432:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-4194304:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-536870912:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-67108864:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-binds-8388608:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-1073741824:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-134217728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-16777216:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-2097152:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-2147483648:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-268435456:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-33554432:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-4194304:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-536870912:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-67108864:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-split-misaligned-binds-8388608:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-1073741824:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-134217728:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-16777216:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-2097152:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-2147483648:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-268435456:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-33554432:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-4194304:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-536870912:
- Statuses : 2 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-67108864:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-binds-8388608:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-1073741824:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-134217728:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-16777216:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-2097152:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-2147483648:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-268435456:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-33554432:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-4194304:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-536870912:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-67108864:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-misaligned-binds-8388608:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-1073741824:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-134217728:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-16777216:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-2097152:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-2147483648:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-268435456:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-33554432:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-4194304:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-536870912:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-67108864:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-binds-8388608:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-1073741824:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-134217728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-16777216:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-2097152:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-2147483648:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-268435456:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-33554432:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-4194304:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-536870912:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-67108864:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@large-userptr-split-misaligned-binds-8388608:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-binds-1611661312:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-binds-3145728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-misaligned-binds-1611661312:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-misaligned-binds-3145728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-userptr-binds-1611661312:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-userptr-binds-3145728:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-userptr-misaligned-binds-1611661312:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@mixed-userptr-misaligned-binds-3145728:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-all:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-either-side-full:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-either-side-partial:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-either-side-partial-hammer:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-end:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-front:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-all:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-either-side-full:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-either-side-partial:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-either-side-partial-hammer:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-end:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-many-front:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-one-partial:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-all:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-either-side-full:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-either-side-partial:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-end:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-front:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-either-side-full:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-end:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-front:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-many-all:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-many-either-side-full:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-many-either-side-partial:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-many-end:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-inval-many-front:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-many-all:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-many-either-side-full:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-many-end:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-many-front:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@munmap-style-unbind-userptr-one-partial:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@scratch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@shared-pde-page:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@shared-pde2-page:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@shared-pde3-page:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@shared-pte-page:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@unbind-all-2-vmas:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@unbind-all-8-vmas:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@vm-async-ops-err:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_vm@vm-async-ops-err-destroy:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@xe/xe_waitfence@test:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

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

Here are the changes found in IGTPW_8553_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@fbdev@read:
- shard-tglu-9: NOTRUN -> [SKIP][16] ([i915#2582])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gem_ccs@block-multicopy-compressed:
- shard-tglu-10: NOTRUN -> [SKIP][17] ([i915#5325])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gem_ctx_persistence@legacy-engines-persistence:
- shard-snb: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#1099]) +4 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-snb1/igt@[email protected]

* igt@gem_ctx_sseu@engines:
- shard-tglu-9: NOTRUN -> [SKIP][19] ([i915#280])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gem_ctx_sseu@invalid-args:
- shard-tglu-10: NOTRUN -> [SKIP][20] ([i915#280])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][21] -> [FAIL][22] ([i915#2842]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-apl7/igt@gem_exec_fair@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@bcs0:
- shard-tglu-10: NOTRUN -> [FAIL][23] ([i915#2842]) +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@rcs0:
- shard-glk: [PASS][24] -> [FAIL][25] ([i915#2842]) +2 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-glk1/igt@gem_exec_fair@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-glk4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_flush@basic-batch-kernel-default-cmd:
- shard-tglu-10: NOTRUN -> [SKIP][26] ([fdo#109313])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gem_exec_reloc@basic-scanout@vcs1:
- shard-tglu-9: NOTRUN -> [SKIP][27] ([i915#3639]) +4 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@gem_exec_reloc@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglu-9: NOTRUN -> [SKIP][28] ([i915#2190])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gem_lmem_swapping@random-engines:
- shard-tglu-10: NOTRUN -> [SKIP][29] ([i915#4613]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gem_mmap_gtt@coherency:
- shard-tglu-9: NOTRUN -> [SKIP][30] ([fdo#111656])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-snb: NOTRUN -> [WARN][31] ([i915#2658])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-snb6/igt@[email protected]

* igt@gem_pwrite@basic-exhaustion:
- shard-tglu-9: NOTRUN -> [WARN][32] ([i915#2658])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gem_pxp@display-protected-crc:
- shard-tglu-10: NOTRUN -> [SKIP][33] ([i915#4270]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-snb: NOTRUN -> [FAIL][34] ([i915#2724])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-snb5/igt@[email protected]

* igt@gen7_exec_parse@load-register-reg:
- shard-tglu-9: NOTRUN -> [SKIP][35] ([fdo#109289]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@gen9_exec_parse@batch-zero-length:
- shard-tglu-10: NOTRUN -> [SKIP][36] ([i915#2527] / [i915#2856]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@gen9_exec_parse@secure-batches:
- shard-tglu-9: NOTRUN -> [SKIP][37] ([i915#2527] / [i915#2856])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@i915_module_load@resize-bar:
- shard-tglu-10: NOTRUN -> [SKIP][38] ([i915#6412])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@i915_pm_freq_mult@media-freq@gt0:
- shard-tglu-10: NOTRUN -> [SKIP][39] ([i915#6590])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@i915_pm_freq_mult@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- shard-tglu-9: NOTRUN -> [SKIP][40] ([fdo#111644] / [i915#1397])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@i915_pm_rps@engine-order:
- shard-apl: [PASS][41] -> [FAIL][42] ([i915#6537])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-apl3/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl1/igt@[email protected]

* igt@i915_selftest@live@dmabuf:
- shard-apl: [PASS][43] -> [DMESG-FAIL][44] ([i915#7562])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-apl4/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl2/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- shard-tglu-10: NOTRUN -> [INCOMPLETE][45] ([i915#7443])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-tglu-10: NOTRUN -> [SKIP][46] ([i915#5286]) +4 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-270:
- shard-tglu-10: NOTRUN -> [SKIP][47] ([fdo#111614]) +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-tglu-10: NOTRUN -> [SKIP][48] ([fdo#111615]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#3886])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl4/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-crc-primary-basic-4_tiled_dg2_rc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][50] ([i915#3689] / [i915#6095]) +2 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_ccs@pipe-a-crc-primary-basic-4_tiled_dg2_rc_ccs.html

* igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][51] ([i915#3689] / [i915#3886]) +4 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][52] ([i915#3689]) +6 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_ccs.html

* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-yf_tiled_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][53] ([fdo#111615] / [i915#3689])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-yf_tiled_ccs.html

* igt@kms_ccs@pipe-d-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc:
- shard-tglu-10: NOTRUN -> [SKIP][54] ([i915#6095]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_ccs@pipe-d-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc.html

* igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs:
- shard-tglu-9: NOTRUN -> [SKIP][55] ([fdo#111615] / [i915#1845] / [i915#7651]) +3 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs.html

* igt@kms_chamelium_color@ctm-max:
- shard-tglu-9: NOTRUN -> [SKIP][56] ([fdo#111827])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@kms_chamelium_color@degamma:
- shard-tglu-10: NOTRUN -> [SKIP][57] ([fdo#111827])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd:
- shard-tglu-10: NOTRUN -> [SKIP][58] ([i915#7828]) +4 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-without-ddc:
- shard-tglu-9: NOTRUN -> [SKIP][59] ([i915#7828])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-9/igt@[email protected]

* igt@kms_color@ctm-0-75@pipe-a-hdmi-a-1:
- shard-tglu-10: NOTRUN -> [FAIL][60] ([i915#315] / [i915#6946]) +7 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@kms_color@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglu-10: NOTRUN -> [SKIP][61] ([i915#3116] / [i915#3299])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-512x512:
- shard-tglu-10: NOTRUN -> [SKIP][62] ([i915#3359])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
- shard-tglu-10: NOTRUN -> [SKIP][63] ([fdo#109274]) +4 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][64] -> [FAIL][65] ([i915#2346])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12801/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/shard-apl6/igt@kms_c

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8553/index.html