Intel Xe GPU Debug Support (eudebug) v8
Subsystems (4)
cover Intel Xe GPU Debug Support (eudebug) v8
Hi,
This is the v8 patch series for Intel Xe GPU debug support (eudebug).
This series continues from the following previous submissions:
- v1: https://lists.freedesktop.org/archives/intel-xe/2024-July/043605.html
- v2: https://lists.freedesktop.org/archives/intel-xe/2024-October/052260.html
- v3: https://lists.freedesktop.org/archives/intel-xe/2024-December/061476.html
- v4: https://lists.freedesktop.org/archives/intel-xe/2025-August/091645.html
- v5: https://lists.freedesktop.org/archives/intel-xe/2025-October/097859.html
- v6: https://lists.freedesktop.org/archives/intel-xe/2025-December/106405.html
- v7: https://lists.freedesktop.org/archives/intel-xe/2026-February/115750.html
# Major Changes from v7
Rework of eudebug pagefault handling to better align with xe core pagefaults (Maciej Patelczyk).
Refactored eu control to streamline common parts. Refactored resource handle bookkeepping.
# Major Changes from v6
Added documentation. Two new documentation patches introduce .rst documentation under Documentation/gpu/xe/ and kernel-doc for the eudebug interface. The eudebug source now includes DOC sections covering connection establishment, security model, file descriptor acquisition methods, and the event interface.
UAPI header documentation in xe_drm_eudebug.h has been significantly expanded with kernel-doc comments for interface structures and ioctls.
Eliminated the separate xe_eudebug_resources struct, removing a level of indirection. The resources lock has been consolidated with the target lock, which is now a mutex instead of a spinlock.
Improved input validation: seqno fields are now checked to be zero on EU control and read_event entry. The read_event ioctl validation was simplified to only check for DRM_XE_EUDEBUG_EVENT_READ type.
Replaced drm_file->authenticated check with xe_file and device validation, allowing render node access for debug targets.
# Major Changes from v5
With v5, when relaying vm bind with the associated ops, the transient bind relay state was held in struct xe_vm. As debug metadata add and remove ops simplifies the way binds are handled wrt v3, this gave us opportunity to use vm_ops for relaying instead of using eudebug baked bind ops state. This change removes ~200 lines.
Debuggable GuC context support was reworked. Now GuC version is required to be 70.49.4 or higher for eudebug support.
Eudebug pagefaults were reworked on top of producer/consumer pagefaults, introduced in core xe side. We reduced the footprint eudebug pagefaults have in xe pagefault handler side.
# Major Changes from v4
v4 omitted page fault support, it is reworked from v3 and included in this series.
### Major Changes from v3
#### 1. Elimination of ptrace_may_access() and pid
In previous series, the connection attempt was made using the process ID (PID) as the target. Access was checked using the ptrace_may_access() helper to achieve security parity with CPU-side debugging.
In v4, this has been changed to connect to a DRM client, using a file descriptor as the target. This approach eliminates the need for the ptrace_may_access() symbol export, as access control is now managed through the debugger process's access to the file descriptor. For example, accessing a remote DRM client requires the debugger process to successfully call pidfd_getfd() to obtain a duplicate of the target file descriptor. The 1:1 mapping between DRM clients and their debuggers eliminates the need for EVENT_OPEN and simplifies overall connection tracking.
#### 2. ELF binaries not held in kernel memory
In v4, debug data is delivered as a VM bind 'OP_ADD_DEBUG_DATA' extension. The ELF binaries are no longer stored within the Xe KMD but are instead kept in a file. The file path is passed as part of an extension in the newly introduced 'OP_ADD_DEBUG_DATA' VM bind operation. Alternatively pseudo-paths can be used to annotate special address ranges similar to /proc/<pid>/maps.
#### 3. Debug metadata not carried in VMA struct
Instead of attaching debug data to vma created by 'OP_MAP', we introduce separate ops for managing the metadata. Debug data is no longer held in the VMA struct. xe_vm contains a list of all associated debug data.
#### 4. Reading debug data via debugfs
This revision introduces the possibility to access debug data using per client debugfs entries. The intent was to achieve similar interface to '/proc/<pid>/maps'
### Supported Hardware
- Lunarlake (LNL)
- Battlemage (BMG)
- Pantherlake (PTL)
The code for this submission can be found at:
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-v8
Tests:
https://gitlab.freedesktop.org/DominikPiatkowski-Intel/igt-gpu-tools/-/tree/eudebug-dev-next
Christoph Manszewski (5):
drm/xe: Introduce ADD_DEBUG_DATA and REMOVE_DEBUG_DATA vm bind ops drm/xe/eudebug: Introduce vm bind and vm bind debug data events drm/xe/eudebug_test: Introduce xe_eudebug wa kunit test drm/xe: Implement SR-IOV and eudebug exclusivity drm/xe: Add xe_client_debugfs and introduce debug_data file
Dominik Grzegorzek (5):
drm/xe/eudebug: Introduce exec_queue events drm/xe: Add EUDEBUG_ENABLE exec queue property drm/xe/eudebug: hw enablement for eudebug drm/xe/eudebug: Introduce EU control interface drm/xe/eudebug: Introduce per device attention scan worker
Gwan-gyeong Mun (4):
drm/xe/eudebug: Add read/count/compare helper for eu attention drm/xe/vm: Support for adding null page VMA to VM on request drm/xe/eudebug: Introduce EU pagefault handling interface drm/xe/eudebug: Enable EU pagefault handling
Maciej Patelczyk (2):
drm/xe/eudebug: Allow getting eudebug instance during discovery drm/xe/eudebug: Disable SVM in Xe for Eudebug
Mika Kuoppala (8):
drm/xe/eudebug: Introduce eudebug interface drm/xe/eudebug: Add documentation drm/xe/eudebug: Add connection establishment documentation drm/xe/eudebug: Introduce discovery for resources drm/xe/eudebug: Mark guc contexts as debuggable drm/xe/eudebug: Add ufence events with acks drm/xe/eudebug: vm open/pread/pwrite drm/xe/eudebug: userptr vm pread/pwrite
Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_eudebug.rst | 83 + drivers/gpu/drm/xe/Kconfig | 16 +- drivers/gpu/drm/xe/Makefile | 7 +- drivers/gpu/drm/xe/abi/guc_actions_abi.h | 5 + drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 1 + drivers/gpu/drm/xe/regs/xe_engine_regs.h | 5 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 43 + drivers/gpu/drm/xe/tests/xe_eudebug.c | 193 ++ drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 5 + drivers/gpu/drm/xe/xe_client_debugfs.c | 118 + drivers/gpu/drm/xe/xe_client_debugfs.h | 19 + drivers/gpu/drm/xe/xe_debug_data.c | 314 +++ drivers/gpu/drm/xe/xe_debug_data.h | 22 + drivers/gpu/drm/xe/xe_debug_data_types.h | 25 + drivers/gpu/drm/xe/xe_device.c | 30 +- drivers/gpu/drm/xe/xe_device.h | 42 + drivers/gpu/drm/xe/xe_device_types.h | 49 + drivers/gpu/drm/xe/xe_eudebug.c | 2360 +++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 112 + drivers/gpu/drm/xe/xe_eudebug_hw.c | 725 ++++++ drivers/gpu/drm/xe/xe_eudebug_hw.h | 32 + drivers/gpu/drm/xe/xe_eudebug_pagefault.c | 417 ++++ drivers/gpu/drm/xe/xe_eudebug_pagefault.h | 77 + drivers/gpu/drm/xe/xe_eudebug_types.h | 228 ++ drivers/gpu/drm/xe/xe_eudebug_vm.c | 436 ++++ drivers/gpu/drm/xe/xe_eudebug_vm.h | 8 + drivers/gpu/drm/xe/xe_exec_queue.c | 56 +- drivers/gpu/drm/xe/xe_exec_queue.h | 2 + drivers/gpu/drm/xe/xe_exec_queue_types.h | 7 + drivers/gpu/drm/xe/xe_gt_debug.c | 242 ++ drivers/gpu/drm/xe/xe_gt_debug.h | 39 + drivers/gpu/drm/xe/xe_gt_debug_types.h | 22 + drivers/gpu/drm/xe/xe_guc.c | 17 + drivers/gpu/drm/xe/xe_guc.h | 3 + drivers/gpu/drm/xe/xe_guc_ads.c | 17 + drivers/gpu/drm/xe/xe_guc_pagefault.c | 10 +- drivers/gpu/drm/xe/xe_guc_submit.c | 34 + drivers/gpu/drm/xe/xe_guc_submit.h | 1 + drivers/gpu/drm/xe/xe_hw_engine.h | 14 + drivers/gpu/drm/xe/xe_lrc.c | 10 + drivers/gpu/drm/xe/xe_pagefault.c | 77 +- drivers/gpu/drm/xe/xe_pagefault_types.h | 10 + drivers/gpu/drm/xe/xe_reg_sr.c | 21 +- drivers/gpu/drm/xe/xe_reg_sr.h | 4 +- drivers/gpu/drm/xe/xe_reg_whitelist.c | 2 +- drivers/gpu/drm/xe/xe_rtp.c | 2 +- drivers/gpu/drm/xe/xe_sync.c | 43 +- drivers/gpu/drm/xe/xe_sync.h | 7 +- drivers/gpu/drm/xe/xe_sync_types.h | 28 +- drivers/gpu/drm/xe/xe_userptr.c | 4 + drivers/gpu/drm/xe/xe_userptr.h | 32 + drivers/gpu/drm/xe/xe_vm.c | 201 +- drivers/gpu/drm/xe/xe_vm.h | 3 + drivers/gpu/drm/xe/xe_vm_types.h | 19 + drivers/gpu/drm/xe/xe_wa_oob.rules | 5 +- include/uapi/drm/xe_drm.h | 95 + include/uapi/drm/xe_drm_eudebug.h | 377 +++ 58 files changed, 6722 insertions(+), 55 deletions(-) create mode 100644 Documentation/gpu/xe/xe_eudebug.rst create mode 100644 drivers/gpu/drm/xe/tests/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_client_debugfs.c create mode 100644 drivers/gpu/drm/xe/xe_client_debugfs.h create mode 100644 drivers/gpu/drm/xe/xe_debug_data.c create mode 100644 drivers/gpu/drm/xe/xe_debug_data.h create mode 100644 drivers/gpu/drm/xe/xe_debug_data_types.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_hw.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_hw.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_pagefault.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_pagefault.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_vm.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_vm.h create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.c create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.h create mode 100644 drivers/gpu/drm/xe/xe_gt_debug_types.h create mode 100644 include/uapi/drm/xe_drm_eudebug.h
Signature · 1 line
2.43.0
PATCH 1/24 drm/xe/eudebug: Introduce eudebug interface
This patch adds the eudebug interface to the Xe driver, enabling user-space debuggers (e.g., GDB) to track and interact with GPU resources of a DRM client. Debuggers can inspect or modify these resources, for example, to locate ISA/ELF sections and install breakpoints in a shader's instruction stream.
A debugger opens a connection to the Xe driver via a DRM ioctl, specifying the target DRM client's file descriptor. This returns an anonymous file descriptor for the connection, which can be used to listen for resource creation/destruction events. The same file descriptor can also be used to receive hardware state change events and control execution flow by interrupting EU threads on the GPU (in follow-up patches).
This patch introduces the eudebug connection and event queuing, adding client create/destroy and VM create/destroy events as a baseline. Additional events and hardware control for full debugger operation are needed and will be introduced in follow-up patches.
The resource tracking components are inspired by Maciej Patelczyk's work on resource handling for i915. Chris Wilson suggested a two-way mapping approach, which simplifies using the resource map as definitive bookkeeping forresources relayed to the debugger during the discovery phase (in a follow-up patch).
v2: - Kconfig support (Matthew)
- ptraced access control (Lucas)
- pass expected event length to user (Zbigniew)
- only track long running VMs
- checkpatch (Tilak)
- include order (Andrzej)
- 32bit fixes (Andrzej)
- cleaner get_task_struct
- remove xa_array and use clients.list for tracking (Mika)
v3: - adapt to removal of clients.lock (Mika)
- create_event cleanup (Christoph)
v4: - add proper header guards (Christoph)
- better read_event fault handling (Christoph, Mika)
- simplify attach (Mika)
- connect using target file descriptors
- avoid event->seqno after queue as it is can UAF (Mika)
- use drmm for eudebug_fini (Maciej)
- squash dynamic enable
v6: - drm->authenticated is overzealous for render (Mika)
v7: - struct member documentation (Mika)
- enforce seqno mbz (Mika)
v8 - head->seqno fix (Mika)
- resource alloc and removal cleanup (Mika)
- s/wait_interruptible_timeout/wait_timeout (Mika)
- use fd_install in connect (Mika)
fix
dont use NOTCON on resource add remove
--- drivers/gpu/drm/xe/Kconfig | 10 + drivers/gpu/drm/xe/Makefile | 3 + drivers/gpu/drm/xe/xe_device.c | 14 + drivers/gpu/drm/xe/xe_device_types.h | 32 + drivers/gpu/drm/xe/xe_eudebug.c | 1040 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 65 ++ drivers/gpu/drm/xe/xe_eudebug_types.h | 121 +++ drivers/gpu/drm/xe/xe_vm.c | 7 +- include/uapi/drm/xe_drm.h | 29 + include/uapi/drm/xe_drm_eudebug.h | 80 ++ 10 files changed, 1400 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 include/uapi/drm/xe_drm_eudebug.h
drivers/gpu/drm/xe/Kconfig +10 -0
@@ -129,6 +129,16 @@ config DRM_XE_FORCE_PROBE Use "!*" to block the probe of the driver for all known devices. +config DRM_XE_EUDEBUG + bool "Enable gdb debugger support (eudebug)" + depends on DRM_XE + default y + help + Choose this option if you want to add support for debugger (gdb) to + attach into process using Xe and debug the gpu/gpgpu programs. + With debugger support, Xe will provide interface for a debugger to + process to track, inspect and modify resources. + menu "drm/Xe Debugging" depends on DRM_XE depends on EXPERT
drivers/gpu/drm/xe/Makefile +3 -0
@@ -156,6 +156,9 @@ xe-$(CONFIG_I2C) += xe_i2c.o xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o +# debugging shaders with gdb (eudebug) support +xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o + # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.o
drivers/gpu/drm/xe/xe_device.c +14 -0
@@ -34,6 +34,7 @@#include "xe_dma_buf.h" #include "xe_drm_client.h" #include "xe_drv.h" +#include "xe_eudebug.h" #include "xe_exec.h" #include "xe_exec_queue.h" #include "xe_force_wake.h"
@@ -110,6 +111,11 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)mutex_init (&xef->exec_queue.lock);xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 ); +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +mutex_init (&xef->eudebug.lock); +INIT_LIST_HEAD (&xef->eudebug.target_link); +#endif + file->driver_priv = xef;kref_init (&xef->refcount);
@@ -132,6 +138,9 @@ static void xe_file_destroy(struct kref *ref)xa_destroy (&xef->vm.xa);mutex_destroy (&xef->vm.lock); +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +mutex_destroy (&xef->eudebug.lock); +#endif xe_drm_client_put (xef->client);kfree (xef->process_name);kfree (xef);
@@ -173,6 +182,8 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)guard (xe_pm_runtime)(xe); +xe_eudebug_file_close (xef); +/* * No need for exec_queue.lock here as there is no contention for it * when FD is closing as IOCTLs presumably can't be modifying the
@@ -216,6 +227,7 @@ static const struct drm_ioctl_desc xe_ioctls[] = { DRM_RENDER_ALLOW),DRM_IOCTL_DEF_DRV (XE_VM_GET_PROPERTY , xe_vm_get_property_ioctl,DRM_RENDER_ALLOW ), + DRM_IOCTL_DEF_DRV(XE_EUDEBUG_CONNECT, xe_eudebug_connect_ioctl, DRM_RENDER_ALLOW), };static long xe_drm_ioctl (struct file *file,unsigned int cmd,unsigned long arg)
@@ -1071,6 +1083,8 @@ int xe_device_probe(struct xe_device *xe)if (err) goto err_unregister_display; +xe_eudebug_init (xe); +detect_preproduction_hw (xe); err =drmm_add_action_or_reset (&xe->drm, xe_device_wedged_fini, xe);
drivers/gpu/drm/xe/xe_device_types.h +32 -0
@@ -14,6 +14,7 @@#include "xe_devcoredump_types.h" #include "xe_drm_ras_types.h" +#include "xe_eudebug_types.h" #include "xe_heci_gsc.h" #include "xe_late_bind_fw_types.h" #include "xe_oa_types.h"
@@ -568,6 +569,23 @@ struct xe_device { spinlock_t lock; } uncore;#endif + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +/** @debugger connection list and globals for device */ +struct { +/** @eudebug.session_count: session counter to track connections */ +u64 session_count; + +/** @eudebug.available: is the debugging functionality available */ +enum xe_eudebug_state state; + +/** @eudebug.targets: this is list for xe_files for each target */ +struct list_head targets; + +/** @eudebug.lock: protects state and targets */ +struct mutex lock; + } eudebug; +#endif };/**
@@ -629,6 +647,20 @@ struct xe_file {/** @refcount: ref count of this xe file */ struct kref refcount; + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +/** @eudebug: struct to hold eudebug connection specifics */ +struct { +/** @eudebug.debugger: the debugger connection into this xe_file */ +struct xe_eudebug *debugger; + +/** @eudebug.lock: protecting debugger */ +struct mutex lock; + +/** @target_link: link into xe_device.eudebug.targets */ +struct list_head target_link; + } eudebug; +#endif };#endif
drivers/gpu/drm/xe/xe_eudebug.c new file +1040 -0
1,040 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h new file +65 -0
65 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h new file +121 -0
121 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +6 -1
@@ -26,6 +26,7 @@#include "xe_bo.h" #include "xe_device.h" #include "xe_drm_client.h" +#include "xe_eudebug.h" #include "xe_exec_queue.h" #include "xe_gt.h" #include "xe_migrate.h"
@@ -2104,6 +2105,8 @@ int xe_vm_create_ioctl(struct drm_device *dev, void *data, args->vm_id = id; +xe_eudebug_vm_create (xef, vm); +return 0 ; err_close_and_put:
@@ -2135,8 +2138,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev, void *data,xa_erase (&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_eudebug_vm_destroy (xef, vm);xe_vm_close_and_put (vm); + }return err; }
include/uapi/drm/xe_drm.h +29 -0
@@ -110,6 +110,7 @@ extern "C" {#define DRM_XE_VM_QUERY_MEM_RANGE_ATTRS 0x0d#define DRM_XE_EXEC_QUEUE_SET_PROPERTY 0x0e#define DRM_XE_VM_GET_PROPERTY 0x0f +#define DRM_XE_EUDEBUG_CONNECT 0x10/* Must be kept compact -- no holes */
@@ -129,6 +130,7 @@ extern "C" {#define DRM_IOCTL_XE_VM_QUERY_MEM_RANGE_ATTRS DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_QUERY_MEM_RANGE_ATTRS, struct drm_xe_vm_query_mem_range_attr)#define DRM_IOCTL_XE_EXEC_QUEUE_SET_PROPERTY DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_SET_PROPERTY, struct drm_xe_exec_queue_set_property)#define DRM_IOCTL_XE_VM_GET_PROPERTY DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_GET_PROPERTY, struct drm_xe_vm_get_property) +#define DRM_IOCTL_XE_EUDEBUG_CONNECT DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EUDEBUG_CONNECT, struct drm_xe_eudebug_connect)/** * DOC: Xe IOCTL Extensions
@@ -2609,6 +2611,33 @@ enum drm_xe_ras_error_component { [DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal" \ } +/* +* struct drm_xe_eudebug_connect - Input of &DRM_IOCTL_XE_EUDEBUG_CONNECT +* +* This structure is used to connect to an eudebug interface of target drm file. +*/ +struct drm_xe_eudebug_connect { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +/** @fd: Debug target DRM client fd */ +__u64 fd; + +/** @flags: Flags (MBZ) */ +__u32 flags; + +/** +* @version: Current ABI (ioctl / events) version. +* +* If zero, current version supported in return. +* If non zero, the version requested. +*/ +__u32 version; +#define DRM_XE_EUDEBUG_VERSION 1 +}; + +#include "xe_drm_eudebug.h" +#if defined(__cplusplus) }#endif
include/uapi/drm/xe_drm_eudebug.h new file +80 -0
80 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 2/24 drm/xe/eudebug: Add documentation
In reply to Mika KuoppalaAdd a core documentation for connection setup and events. Followup patches can then incrementally add their workings.
--- Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_eudebug.rst | 45 +++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 41 ++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 Documentation/gpu/xe/xe_eudebug.rst
Documentation/gpu/xe/index.rst +1 -0
@@ -30,3 +30,4 @@ DG2, etc is provided to prototype the driver. xe-drm-usage-stats.rst xe_configfs xe_gt_stats + xe_eudebug
Documentation/gpu/xe/xe_eudebug.rst new file +45 -0
45 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.c +41 -0
59 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 3/24 drm/xe/eudebug: Add connection establishment documentation
In reply to Mika KuoppalaAdd documentation for connecting to a target DRM Xe client for debugging.
--- Documentation/gpu/xe/xe_eudebug.rst | 11 +++++ drivers/gpu/drm/xe/xe_eudebug.c | 70 +++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+)
Documentation/gpu/xe/xe_eudebug.rst +11 -0
@@ -21,6 +21,17 @@ Connection Establishment .. kernel-doc:: drivers/gpu/drm/xe/xe_eudebug.c :doc: Connection Establishment +File Descriptor Acquisition Methods +----------------------------------- + +.. kernel-doc:: drivers/gpu/drm/xe/xe_eudebug.c + :doc: File Descriptor Acquisition Methods + +Security Model +-------------- +.. kernel-doc:: drivers/gpu/drm/xe/xe_eudebug.c + :doc: Security Model + Events ======
drivers/gpu/drm/xe/xe_eudebug.c +70 -0
76 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 4/24 drm/xe/eudebug: Introduce discovery for resources
In reply to Mika KuoppalaA debugger connection can occur after a client has created and destroyed an arbitrary number of resources. To support this, we need to relay all currently existing resources to the debugger. The client is held on selected ioctls until this discovery process, executed by a workqueue, is complete.
This patch is based on discovery work by Maciej Patelczyk for the i915 driver.
v2: - use rw_semaphore to block DRM ioctls during discovery (Matthew)
- only lock according to ioctl at play (Dominik)
v4: - s/discovery_lock/ioctl_lock
- change lock to be per xe_file as is connections
--- drivers/gpu/drm/xe/xe_device.c | 13 +++- drivers/gpu/drm/xe/xe_device.h | 42 +++++++++++ drivers/gpu/drm/xe/xe_device_types.h | 6 ++ drivers/gpu/drm/xe/xe_eudebug.c | 104 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug_types.h | 7 ++ 5 files changed, 166 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_device.c +11 -2
@@ -114,6 +114,7 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )mutex_init (&xef->eudebug.lock);INIT_LIST_HEAD (&xef->eudebug.target_link); +init_rwsem (&xef->eudebug.ioctl_lock);#endif file->driver_priv = xef;
@@ -241,8 +242,12 @@ static long xe_drm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)ACQUIRE (xe_pm_runtime_ioctl, pm)(xe); ret =ACQUIRE_ERR (xe_pm_runtime_ioctl, &pm); -if (ret >=0 ) +if (ret >=0 ) { +bool lock =xe_eudebug_discovery_lock (file, cmd); ret =drm_ioctl (file, cmd, arg); +if (lock) +xe_eudebug_discovery_unlock (file, cmd); + }return ret; }
@@ -259,8 +264,12 @@ static long xe_drm_compat_ioctl(struct file *file, unsigned int cmd, unsigned loACQUIRE (xe_pm_runtime_ioctl, pm)(xe); ret =ACQUIRE_ERR (xe_pm_runtime_ioctl, &pm); -if (ret >=0 ) +if (ret >=0 ) { +bool lock =xe_eudebug_discovery_lock (file, cmd); ret =drm_compat_ioctl (file, cmd, arg); +if (lock) +xe_eudebug_discovery_unlock (file, cmd); + }return ret; }
drivers/gpu/drm/xe/xe_device.h +42 -0
52 lines not on this page · raw message
drivers/gpu/drm/xe/xe_device_types.h +6 -0
@@ -584,6 +584,9 @@ struct xe_device {/** @eudebug.lock: protects state and targets */ struct mutex lock; + +/** @wq: used for client discovery */ + struct workqueue_struct *wq; } eudebug;#endif };
@@ -659,6 +662,9 @@ struct xe_file {/** @target_link: link into xe_device.eudebug.targets */ struct list_head target_link; + +/** @eudebug.ioctl_lock syncing ioctl access */ + struct rw_semaphore ioctl_lock; } eudebug;#endif };
drivers/gpu/drm/xe/xe_eudebug.c +100 -4
187 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h +7 -0
@@ -17,6 +17,7 @@struct xe_device ;struct task_struct ; +struct workqueue_struct ;/** * enum xe_eudebug_state - eudebug capability state
@@ -96,6 +97,12 @@ struct xe_eudebug {/** @session: session number for this connection (for logs) */ u64 session; +/** @discovery: completion to wait for discovery */ +struct completion discovery; + +/** @discovery_work: worker to discover resources for target_task */ +struct work_struct discovery_work; +/** @events: kfifo queue of to-be-delivered events */ struct {/** @lock: guards access to fifo */
Signature · 1 line
2.43.0
PATCH 5/24 drm/xe/eudebug: Introduce exec_queue events
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Add events to inform the debugger about the creation and destruction of exec_queues. Use user engine class types instead of the internal xe_engine_class enum in exec_queue events. During discovery, only advertise exec_queues with render or compute class,excluding others.
v2: - Only track long running queues
- Checkpatch (Tilak)
v3: __counted_by added
v4: - use helpers for filtering engines (Mika)
v5: - fix lrc handles memcpy size bug (Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 3 + drivers/gpu/drm/xe/xe_eudebug.c | 216 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug.h | 7 + drivers/gpu/drm/xe/xe_eudebug_types.h | 7 +- drivers/gpu/drm/xe/xe_exec_queue.c | 5 + drivers/gpu/drm/xe/xe_hw_engine.h | 14 ++ include/uapi/drm/xe_drm_eudebug.h | 26 ++++ 7 files changed, 273 insertions(+), 5 deletions(-)
Documentation/gpu/xe/xe_eudebug.rst +3 -0
@@ -54,3 +54,6 @@ Resource Event Types .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_event_vm + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_event_exec_queue
drivers/gpu/drm/xe/xe_eudebug.c +213 -3
254 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +7 -0
@@ -13,6 +13,7 @@ struct drm_file;struct xe_device ;struct xe_file ;struct xe_vm ; +struct xe_exec_queue ;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )
@@ -46,6 +47,9 @@ void xe_eudebug_vm_create(struct xe_file *xef, struct xe_vm *vm);void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm);int xe_eudebug_enable (struct xe_device *xe,bool enable); +void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q); +void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,
@@ -60,6 +64,9 @@ static inline void xe_eudebug_file_close(struct xe_file *xef) { }static inline void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm) { }static inline void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm) { } +static inline void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q) { } +static inline void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q) { } +#endif /* CONFIG_DRM_XE_EUDEBUG */ #endif /* _XE_EUDEBUG_H_ */
drivers/gpu/drm/xe/xe_eudebug_types.h +5 -2
@@ -33,7 +33,7 @@ enum xe_eudebug_state { };#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 64 -#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_VM +#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE/** * struct xe_eudebug_handle - eudebug resource handle
@@ -61,7 +61,9 @@ struct xe_eudebug_resource { };#define XE_EUDEBUG_RES_TYPE_VM 0 -#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_VM + 1) +#define XE_EUDEBUG_RES_TYPE_EXEC_QUEUE 1 +#define XE_EUDEBUG_RES_TYPE_LRC 2 +#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_LRC + 1)/** * struct xe_eudebug - Top level struct for eudebug: the connection
@@ -126,3 +128,4 @@ struct xe_eudebug { };#endif /* _XE_EUDEBUG_TYPES_H_ */ +
drivers/gpu/drm/xe/xe_exec_queue.c +5 -0
@@ -29,6 +29,7 @@#include "xe_trace.h" #include "xe_vm.h" #include "xe_pxp.h" +#include "xe_eudebug.h" /** * DOC: Execution Queue
@@ -1420,6 +1421,8 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data, args->exec_queue_id = id; +xe_eudebug_exec_queue_create (xef, q); +return 0 ; del_hw_engine_group:
@@ -1617,6 +1620,8 @@ int xe_exec_queue_destroy_ioctl(struct drm_device *dev, void *data,if (q->vm && q->hwe->hw_engine_group)xe_hw_engine_group_del_exec_queue (q->hwe->hw_engine_group, q); +xe_eudebug_exec_queue_destroy (xef, q); +xe_exec_queue_kill (q);trace_xe_exec_queue_close (q);
drivers/gpu/drm/xe/xe_hw_engine.h +14 -0
@@ -78,4 +78,18 @@ enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);u32 xe_hw_engine_mmio_read32 (struct xe_hw_engine *hwe,struct xe_reg reg); +static inline bool xe_engine_supports_eudebug (const enum xe_engine_class ec) +{ +if (ec ==XE_ENGINE_CLASS_COMPUTE || + ec ==XE_ENGINE_CLASS_RENDER ) +return true; + +return false; +} + +static inline bool xe_hw_engine_has_eudebug (const struct xe_hw_engine *hwe) +{ +return xe_engine_supports_eudebug (hwe->class); +} +#endif
include/uapi/drm/xe_drm_eudebug.h +26 -0
@@ -45,6 +45,7 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_NONE 0#define DRM_XE_EUDEBUG_EVENT_READ 1#define DRM_XE_EUDEBUG_EVENT_VM 2 +#define DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE 3/** @flags: Flags */ __u16 flags;
@@ -73,6 +74,31 @@ struct drm_xe_eudebug_event_vm {__u64 vm_handle; }; +/** +* struct drm_xe_eudebug_event_exec_queue - Exec Queue resource event +* +* Resource creation/destruction event for an Exec Queue +*/ +struct drm_xe_eudebug_event_exec_queue { +/** @base: base event */ +struct drm_xe_eudebug_event base; + +/** @vm_handle: the vm handle this exec queue belongs to */ +__u64 vm_handle; + +/** @exec_queue_handle: unique handle for this exec queue */ +__u64 exec_queue_handle; + +/** @engine_class: engine class for the exec queue */ +__u32 engine_class; + +/** @width: width of exec queue, how many lrcs (handles) it has */ +__u32 width; + +/** @lrc_handle: array of lrc handles */ +__u64 lrc_handle[]; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.43.0
PATCH 6/24 drm/xe: Add EUDEBUG_ENABLE exec queue property
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
This patch introduces an immutable eudebug property for exec_queues, using a flags value to enable eudebug-specific features. For now, the engine LRC uses this flag to enable the runalone hardware feature. Runalone ensures that only one hardware engine in a group [rcs0, ccs0-3] is active on a tile.
v2: - check CONFIG_DRM_XE_EUDEBUG and LR mode (Matthew)
- disable preempt (Dominik)
- lrc_create remove from engine init
--- drivers/gpu/drm/xe/xe_eudebug.c | 4 +-- drivers/gpu/drm/xe/xe_exec_queue.c | 46 +++++++++++++++++++++++- drivers/gpu/drm/xe/xe_exec_queue.h | 2 ++ drivers/gpu/drm/xe/xe_exec_queue_types.h | 7 ++++ drivers/gpu/drm/xe/xe_lrc.c | 10 ++++++ include/uapi/drm/xe_drm.h | 2 ++ 6 files changed, 68 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_eudebug.c +2 -2
@@ -795,7 +795,7 @@ static int exec_queue_create_event(struct xe_eudebug *d,int i;int ret; -if (!xe_exec_queue_is_lr (q)) +if (!xe_exec_queue_is_debuggable (q))return 0 ; h_vm =find_handle (d,XE_EUDEBUG_RES_TYPE_VM , q->vm);
@@ -849,7 +849,7 @@ static int exec_queue_destroy_event(struct xe_eudebug *d,int i;int ret, err =0 ; -if (!xe_exec_queue_is_lr (q)) +if (!xe_exec_queue_is_debuggable (q))return 0 ; h_vm =find_handle (d,XE_EUDEBUG_RES_TYPE_VM , q->vm);
drivers/gpu/drm/xe/xe_exec_queue.c +45 -1
70 lines not on this page · raw message
drivers/gpu/drm/xe/xe_exec_queue.h +2 -0
@@ -179,4 +179,6 @@ static inline bool xe_exec_queue_idle_skip_suspend(struct xe_exec_queue *q) return !xe_exec_queue_is_parallel(q) && xe_exec_queue_is_idle(q); } +int xe_exec_queue_is_debuggable (struct xe_exec_queue *q); +#endif
drivers/gpu/drm/xe/xe_exec_queue_types.h +7 -0
@@ -143,6 +143,13 @@ struct xe_exec_queue {*/ unsigned long flags; +/** +* @eudebug_flags: immutable eudebug flags for this exec queue. +* Set up with DRM_XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG. +*/ +#define EXEC_QUEUE_EUDEBUG_FLAG_ENABLE BIT(0) +unsigned long eudebug_flags; +union {/** @multi_gt_list: list head for VM bind engines if multi-GT */ struct list_head multi_gt_list;
drivers/gpu/drm/xe/xe_lrc.c +10 -0
@@ -1636,6 +1636,16 @@ static int xe_lrc_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_vif (vm && vm->xef)xe_drm_client_add_bo (vm->xef->client, lrc->bo); +if (init_flags &XE_LRC_CREATE_RUNALONE ) { +u32 ctx_control =xe_lrc_read_ctx_reg (lrc,CTX_CONTEXT_CONTROL ); + +drm_dbg (&xe->drm,"read CTX_CONTEXT_CONTROL: 0x%x\n" , ctx_control); + ctx_control |=REG_MASKED_FIELD_ENABLE (CTX_CTRL_RUN_ALONE ); +drm_dbg (&xe->drm,"written CTX_CONTEXT_CONTROL: 0x%x\n" , ctx_control); + +xe_lrc_write_ctx_reg (lrc,CTX_CONTEXT_CONTROL , ctx_control); + } +return 0 ; err_lrc_finish:
include/uapi/drm/xe_drm.h +2 -0
@@ -1442,6 +1442,8 @@ struct drm_xe_exec_queue_create {#define DRM_XE_MULTI_GROUP_CREATE (1ull << 63)#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_QUEUE_PRIORITY 5#define DRM_XE_EXEC_QUEUE_SET_DISABLE_STATE_CACHE_PERF_FIX 6 +#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG 7 +#define DRM_XE_EXEC_QUEUE_EUDEBUG_FLAG_ENABLE (1 << 0)/** @extensions: Pointer to the first extension struct, if any */ __u64 extensions;
Signature · 1 line
2.43.0
PATCH 7/24 drm/xe/eudebug: Mark guc contexts as debuggable
In reply to Mika KuoppalaWe need to inform to guc which contexts are debuggable as their handling is different from ordinary contexts.
v2: void return, use xe_gt_dbg, no need for lrc (Matt)
v3: add the workaround enabling (Daniele)
v4: version needed to 70.49.4
v5: bail out early before registering eq (Daniele)
v6: export the guc action for future (Mika)
--- drivers/gpu/drm/xe/abi/guc_actions_abi.h | 5 ++++ drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 1 + drivers/gpu/drm/xe/xe_exec_queue.c | 5 ++++ drivers/gpu/drm/xe/xe_guc.c | 17 ++++++++++++ drivers/gpu/drm/xe/xe_guc.h | 3 +++ drivers/gpu/drm/xe/xe_guc_ads.c | 17 ++++++++++++ drivers/gpu/drm/xe/xe_guc_submit.c | 34 ++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_guc_submit.h | 1 + drivers/gpu/drm/xe/xe_wa_oob.rules | 3 ++- 9 files changed, 85 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/abi/guc_actions_abi.h +5 -0
@@ -161,6 +161,7 @@ enum xe_guc_action {XE_GUC_ACTION_NOTIFY_FLUSH_LOG_BUFFER_TO_FILE =0x8003 ,XE_GUC_ACTION_NOTIFY_CRASH_DUMP_POSTED =0x8004 ,XE_GUC_ACTION_NOTIFY_EXCEPTION =0x8005 , +XE_GUC_ACTION_EU_KERNEL_DEBUG =0x8006 ,XE_GUC_ACTION_TEST_G2G_SEND =0xF001 ,XE_GUC_ACTION_TEST_G2G_RECV =0xF002 ,XE_GUC_ACTION_LIMIT
@@ -284,4 +285,8 @@ enum xe_guc_g2g_type {/* invalid type for XE_GUC_ACTION_NOTIFY_MEMORY_CAT_ERROR */ #define XE_GUC_CAT_ERR_TYPE_INVALID 0xdeadbeef +enum xe_guc_eu_kernel_debug_request_type { +XE_GUC_EU_KERNEL_DEBUG_ENABLE =0x3 , +}; +#endif
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +1 -0
@@ -504,6 +504,7 @@ enum xe_guc_klv_ids {GUC_WA_KLV_RESET_BB_STACK_PTR_ON_VF_SWITCH =0x900b ,GUC_WA_KLV_RESTORE_UNSAVED_MEDIA_CONTROL_REG =0x900c ,GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG =0x900e , + GUC_WA_KLV_RESET_DEP_ENGINES_ON_DEBUG_CTX_SWITCH = 0x900d, };#endif
drivers/gpu/drm/xe/xe_exec_queue.c +5 -0
@@ -19,6 +19,7 @@#include "xe_gt.h" #include "xe_gt_sriov_pf.h" #include "xe_gt_sriov_vf.h" +#include "xe_guc.h" #include "xe_hw_engine_class_sysfs.h" #include "xe_hw_engine_group.h" #include "xe_irq.h"
@@ -1000,6 +1001,7 @@ static int exec_queue_set_eudebug(struct xe_device *xe, struct xe_exec_queue *q, u64 value) {const u64 known_flags =DRM_XE_EXEC_QUEUE_EUDEBUG_FLAG_ENABLE ; +struct xe_guc *guc = &q->gt->uc.guc;if (XE_IOCTL_DBG (xe, (q->class !=XE_ENGINE_CLASS_RENDER && q->class !=XE_ENGINE_CLASS_COMPUTE )))
@@ -1011,6 +1013,9 @@ static int exec_queue_set_eudebug(struct xe_device *xe, struct xe_exec_queue *q,if (XE_IOCTL_DBG (xe, !IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )))return -EOPNOTSUPP ; +if (XE_IOCTL_DBG (xe, !xe_guc_has_debug_contexts (guc))) +return -EOPNOTSUPP ; +if (XE_IOCTL_DBG (xe, !xe_exec_queue_is_lr (q)))return -EINVAL ;/*
drivers/gpu/drm/xe/xe_guc.c +17 -0
@@ -1846,6 +1846,23 @@ bool xe_guc_using_main_gamctrl_queues(struct xe_guc *guc)return GT_VER (gt) >=35 ; } +bool xe_guc_has_debug_contexts (struct xe_guc *guc) +{ +const struct xe_uc_fw_version required =XE_UC_FW_VERSION_DEBUG_CONTEXTS ; +struct xe_uc_fw_version *version = &guc->fw.versions.found[XE_UC_FW_VER_RELEASE ]; +struct xe_gt *gt =guc_to_gt (guc); + +if (MAKE_GUC_VER_STRUCT (*version) <MAKE_GUC_VER_STRUCT (required)) { +xe_gt_info (gt, +"debug context unsupported in GuC interface v%u.%u.%u, need v%u.%u.%u or higher\n" , + version->major, version->minor, version->patch, required.major, + required.minor, required.patch); +return false; + } + +return true; +} +#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST )#include "tests/xe_guc_g2g_test.c" #endif
drivers/gpu/drm/xe/xe_guc.h +3 -0
@@ -29,6 +29,8 @@ #define GUC_FIRMWARE_VER_AT_LEAST(guc, ver...) \ xe_guc_fw_version_at_least((guc), MAKE_GUC_VER_ARGS(ver)) +#define XE_UC_FW_VERSION_DEBUG_CONTEXTS { .major = 70, .minor = 49, .patch = 4 } +struct drm_printer ;void xe_guc_comm_init_early (struct xe_guc *guc);
@@ -62,6 +64,7 @@ void xe_guc_stop(struct xe_guc *guc);int xe_guc_start (struct xe_guc *guc);void xe_guc_declare_wedged (struct xe_guc *guc);bool xe_guc_using_main_gamctrl_queues (struct xe_guc *guc); +bool xe_guc_has_debug_contexts (struct xe_guc *guc);#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST )int xe_guc_g2g_test_notification (struct xe_guc *guc,u32 *payload,u32 len);
drivers/gpu/drm/xe/xe_guc_ads.c +17 -0
@@ -364,6 +364,23 @@ static void guc_waklv_init(struct xe_guc_ads *ads)guc_waklv_enable (ads,NULL ,0 , &offset, &remain,GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG ); +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +if (XE_GT_WA (gt,14022766366 )) { +if (xe_guc_has_debug_contexts (>->uc.guc)) { +guc_waklv_enable (ads,NULL ,0 , &offset, &remain, +GUC_WA_KLV_RESET_DEP_ENGINES_ON_DEBUG_CTX_SWITCH ); + }else { +const struct xe_uc_fw_version required = +XE_UC_FW_VERSION_DEBUG_CONTEXTS ; + +xe_gt_info (gt,"eudebug needs GuC version %u.%u.%u or greater\n" , + required.major, + required.minor, + required.patch); + } + } +#endif + size =guc_ads_waklv_size (ads) - remain;if (!size)return ;
drivers/gpu/drm/xe/xe_guc_submit.c +34 -0
@@ -979,6 +979,37 @@ static void __register_exec_queue(struct xe_guc *guc,xe_guc_ct_send (&guc->ct, action,ARRAY_SIZE (action),0 ,0 ); } +int xe_guc_action_eu_kernel_debug (struct xe_guc *guc,u32 id,u32 cmd) +{ +const u32 action[] = { +XE_GUC_ACTION_EU_KERNEL_DEBUG , + id, + cmd, +0 ,/* reserved */ + }; + +return xe_guc_ct_send (&guc->ct, action, +ARRAY_SIZE (action),0 ,0 ); +} + +static void set_eu_kernel_debug (struct xe_exec_queue *q) +{ +struct xe_guc *guc =exec_queue_to_guc (q); +struct xe_gt *gt =guc_to_gt (guc); +int ret; + + ret =xe_guc_action_eu_kernel_debug (guc, q->guc->id, +XE_GUC_EU_KERNEL_DEBUG_ENABLE ); + +if (ret) +xe_gt_warn (gt, +"GuC ctx=%u debug enabling failed with %d" , + q->guc->id, ret); +else +xe_gt_dbg (gt, +"GuC ctx=%u enabled for debug" , q->guc->id); +} +static void register_exec_queue (struct xe_exec_queue *q,int ctx_type) {struct xe_guc *guc =exec_queue_to_guc (q);
@@ -1039,6 +1070,9 @@ static void register_exec_queue(struct xe_exec_queue *q, int ctx_type)if (xe_exec_queue_is_multi_queue_secondary (q))xe_guc_exec_queue_group_add (guc, q); + +if (xe_exec_queue_is_debuggable (q)) +set_eu_kernel_debug (q); }static u32 wq_space_until_wrap (struct xe_exec_queue *q)
drivers/gpu/drm/xe/xe_guc_submit.h +1 -0
@@ -55,5 +55,6 @@ void xe_guc_register_vf_exec_queue(struct xe_exec_queue *q, int ctx_type);bool xe_guc_has_registered_mlrc_queues (struct xe_guc *guc);int xe_guc_contexts_hwsp_rebase (struct xe_guc *guc,void *scratch); +int xe_guc_action_eu_kernel_debug (struct xe_guc *guc,u32 id,u32 cmd);#endif
drivers/gpu/drm/xe/xe_wa_oob.rules +2 -1
@@ -62,6 +62,7 @@ 15015404425_disable PLATFORM(PANTHERLAKE), MEDIA_STEP(B0, FOREVER) 16026007364 MEDIA_VERSION(3000) 14020316580 MEDIA_VERSION(1301) - 14025883347 MEDIA_VERSION_RANGE(1301, 3503) GRAPHICS_VERSION_RANGE(2004, 3005) +14022766366 GRAPHICS_VERSION_RANGE(2001, 2004) + GRAPHICS_VERSION_RANGE(3000, 3005)
Signature · 1 line
2.43.0
PATCH 8/24 drm/xe: Introduce ADD_DEBUG_DATA and REMOVE_DEBUG_DATA vm bind ops
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
Make it possible to add and remove per vm debug data, which can be used to annotate vm ranges (using pseudopaths) or to associate them with a file which can carry arbitrary debug data (e.g. binary instruction to code line mapping). The debug data is kept separe from the vmas. Each address can be associated with only one debug data entry i.e. debug data entries cannot overlap. Each entry is atomic so to remove it the creation address and range has to be passed for removal.
For debug data manipulation only the 'op' and 'extensions' field from 'struct drm_xe_vm_bind_op' is used. All required parameters are passed through 'struct drm_xe_vm_bind_op_ext_debug_data' and a valid instance should be present in the extension chain pointed by the 'extensions' field.
Debug data will be accessible through the eudebug event interface, introduced in the following patch. An alternative way to access debug data using debugfs, without relying on eudebug, will be proposed as a follow-up to the eudebug series.
v2: enforce empty path on unmap (Joonas, Mika)
--- drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_debug_data.c | 314 +++++++++++++++++++++++ drivers/gpu/drm/xe/xe_debug_data.h | 22 ++ drivers/gpu/drm/xe/xe_debug_data_types.h | 25 ++ drivers/gpu/drm/xe/xe_vm.c | 157 +++++++++++- drivers/gpu/drm/xe/xe_vm_types.h | 19 ++ include/uapi/drm/xe_drm.h | 64 +++++ 7 files changed, 596 insertions(+), 6 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_debug_data.c create mode 100644 drivers/gpu/drm/xe/xe_debug_data.h create mode 100644 drivers/gpu/drm/xe/xe_debug_data_types.h
drivers/gpu/drm/xe/Makefile +1 -0
@@ -35,6 +35,7 @@ $(obj)/generated/%_device_wa_oob.c $(obj)/generated/%_device_wa_oob.h: $(obj)/xe xe-y += xe_bb.o \ xe_bo.o \ xe_bo_evict.o \ + xe_debug_data.o \ xe_dep_scheduler.o \ xe_devcoredump.o \ xe_device.o \
drivers/gpu/drm/xe/xe_debug_data.c new file +314 -0
314 lines not on this page · raw message
drivers/gpu/drm/xe/xe_debug_data.h new file +22 -0
@@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef _XE_DEBUG_DATA_H_ +#define _XE_DEBUG_DATA_H_ + +#include <linux/types.h> + +struct drm_gpuva_ops ; +struct xe_vm ; +struct xe_vma_op ; + +const char *xe_debug_data_pseudo_path_to_string (u64 pseudopath); +int xe_debug_data_check_extension (struct xe_vm *vm,u32 operation,u64 extension); +int xe_debug_data_process_extension (struct xe_vm *vm,struct drm_gpuva_ops *ops,u32 operation, +u64 extension); +int xe_debug_data_op_unwind (struct xe_vm *vm,struct xe_vma_op *vma_op); +int xe_debug_data_destroy (struct xe_vm *vm); + +#endif /* _XE_DEBUG_DATA_H_ */
drivers/gpu/drm/xe/xe_debug_data_types.h new file +25 -0
@@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef _XE_DEBUG_DATA_TYPES_H_ +#define _XE_DEBUG_DATA_TYPES_H_ + +#include <linux/limits.h> +#include <linux/list.h> +#include <linux/types.h> + +struct xe_debug_data { +struct list_head link; +u64 addr; +u64 range; +u64 flags; +u32 offset; +union { +u64 pseudopath; +char pathname[PATH_MAX ]; + }; +}; + +#endif /* _XE_DEBUG_DATA_TYPES_H_ */
drivers/gpu/drm/xe/xe_vm.c +151 -6
279 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm_types.h +19 -0
@@ -15,6 +15,7 @@#include <linux/mmu_notifier.h> #include <linux/scatterlist.h> +#include "xe_debug_data_types.h" #include "xe_device_types.h" #include "xe_pt_types.h" #include "xe_range_fence.h"
@@ -406,6 +407,12 @@ struct xe_vm {bool batch_invalidate_tlb;/** @xef: Xe file handle for tracking this VM's drm client */ struct xe_file *xef; + +/** @debug_data: track debug_data mapped to vm */ +struct { +struct list_head list; +struct mutex lock; + } debug_data; };/** struct xe_vma_op_map - VMA map operation */
@@ -479,6 +486,12 @@ struct xe_vma_op_prefetch_range {struct drm_pagemap *dpagemap; }; +/** struct xe_vma_op_debug_data - debug data altering operation */ +struct xe_vma_op_modify_debug_data { +/** @debug_data: debug data associated with that operation */ +struct xe_debug_data debug_data; +}; +/** enum xe_vma_op_flags - flags for VMA operation */ enum xe_vma_op_flags {/** @XE_VMA_OP_COMMITTED: VMA operation committed */
@@ -495,6 +508,10 @@ enum xe_vma_subop {XE_VMA_SUBOP_MAP_RANGE ,/** @XE_VMA_SUBOP_UNMAP_RANGE: Unmap range */ XE_VMA_SUBOP_UNMAP_RANGE , +/** @XE_VMA_SUBOP_ADD_DEBUG_DATA: Add debug data to vm */ +XE_VMA_SUBOP_ADD_DEBUG_DATA , +/** @XE_VMA_SUBOP_REMOVE_DEBUG_DATA: Remove debug data from vm */ + XE_VMA_SUBOP_REMOVE_DEBUG_DATA, };/** struct xe_vma_op - VMA operation */
@@ -523,6 +540,8 @@ struct xe_vma_op {struct xe_vma_op_unmap_range unmap_range;/** @prefetch_range: VMA prefetch range operation specific data */ struct xe_vma_op_prefetch_range prefetch_range; +/** @debug_data: debug_data operation specific data */ +struct xe_vma_op_modify_debug_data modify_debug_data; }; };
include/uapi/drm/xe_drm.h +64 -0
94 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 9/24 drm/xe/eudebug: Introduce vm bind and vm bind debug data events
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
This patch adds events to track the bind ioctl and associated debug data add and remove operations. As a single bind can involve multiple operations and may fail mid-process.
Add bind event to signal to debugger when bind operation is executed. Further add debug data add and remove operations so debugger can keep track of regions where they reside. The bind event is important as we will want to include ufence event further in the series and tie it to this bind.
Only deliver bind+operations to the debugger if the vm bind op execution chain succeeds.
v2: - avoid sending bind if there is no operations (Mika)
- documentation (Christoph, Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 6 + drivers/gpu/drm/xe/xe_eudebug.c | 226 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug.h | 7 + drivers/gpu/drm/xe/xe_eudebug_types.h | 2 +- drivers/gpu/drm/xe/xe_vm.c | 4 + include/uapi/drm/xe_drm_eudebug.h | 85 ++++++++++ 6 files changed, 325 insertions(+), 5 deletions(-)
Documentation/gpu/xe/xe_eudebug.rst +6 -0
@@ -57,3 +57,9 @@ Resource Event Types .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_event_exec_queue + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_event_vm_bind + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_event_vm_bind_op_debug_data
drivers/gpu/drm/xe/xe_eudebug.c +222 -4
274 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +7 -0
@@ -10,10 +10,14 @@struct drm_device ;struct drm_file ; +struct xe_debug_data ;struct xe_device ;struct xe_file ;struct xe_vm ; +struct xe_vma ; +struct xe_vma_ops ;struct xe_exec_queue ; +struct xe_user_fence ;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )
@@ -50,6 +54,8 @@ int xe_eudebug_enable(struct xe_device *xe, bool enable);void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q);void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q); +void xe_eudebug_vm_bind_execute (struct xe_vm *vm,struct xe_vma_ops *ops); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,
@@ -67,6 +73,7 @@ static inline void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm)static inline void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q) { }static inline void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q) { } +static inline void xe_eudebug_vm_bind_execute (struct xe_vm *vm,struct xe_vma_ops *ops) { }#endif /* CONFIG_DRM_XE_EUDEBUG */ #endif /* _XE_EUDEBUG_H_ */
drivers/gpu/drm/xe/xe_eudebug_types.h +1 -1
@@ -33,7 +33,7 @@ enum xe_eudebug_state { };#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 64 -#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE +#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_DEBUG_DATA/** * struct xe_eudebug_handle - eudebug resource handle
drivers/gpu/drm/xe/xe_vm.c +4 -0
@@ -3588,6 +3588,10 @@ static struct dma_fence *vm_bind_ioctl_ops_execute(struct xe_vm *vm,xe_vm_set_validation_exec (vm, &exec); fence =ops_execute (vm, vops);xe_vm_set_validation_exec (vm,NULL ); + +if (!IS_ERR (fence) ||PTR_ERR (fence) == -ENODATA ) +xe_eudebug_vm_bind_execute (vm, vops); +if (IS_ERR (fence)) {if (PTR_ERR (fence) == -ENODATA )vm_bind_ioctl_ops_fini (vm, vops,NULL );
include/uapi/drm/xe_drm_eudebug.h +85 -0
97 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 10/24 drm/xe/eudebug: Add ufence events with acks
In reply to Mika KuoppalaWhen vma is in place, debugger needs to intercept before userspace proceeds with the workload. For example to install a breakpoint in an eu shader.
If ufence is part of bind sequence,aAttach debugger in xe_user_fence. When ufence signal is about to be delivered, check if this ufence needs to be tracked by debugger. If so, stall the delivery of the ufence signal up until debugger has acked the ufence (event), with the ack ioctl.
v2: - return err instead of 0 to guarantee signalling (Dominik)
- checkpatch (Tilak)
- Kconfig (Mika, Andrzej)
- use lock instead of cmpxchg (Mika)
v4: - improve ref handling and no ufences nodebug binds
v5: - remove overzealous warn_on on bind_ref_seqno (Christoph)
- remove superfluous signalled (Mika)
- fix double free on bind sequence (Mika)
- Dont fill op fields if no debugger (Maciej)
v6: - rework to align with xe_eudebug_bind_execute()
v7: - fix setting signalled before debugger acks (Jan)
v8: - explicit debugger set and clears (Mika)
- take reference for for tracking check (Mika)
- fix leak of ref in handle_ack (Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 3 + drivers/gpu/drm/xe/xe_eudebug.c | 314 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug.h | 9 + drivers/gpu/drm/xe/xe_eudebug_types.h | 10 +- drivers/gpu/drm/xe/xe_sync.c | 43 ++-- drivers/gpu/drm/xe/xe_sync.h | 7 +- drivers/gpu/drm/xe/xe_sync_types.h | 28 ++- include/uapi/drm/xe_drm_eudebug.h | 58 +++++ 8 files changed, 444 insertions(+), 28 deletions(-)
Documentation/gpu/xe/xe_eudebug.rst +3 -0
@@ -63,3 +63,6 @@ Resource Event Types .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_event_vm_bind_op_debug_data + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_event_vm_bind_ufence
drivers/gpu/drm/xe/xe_eudebug.c +312 -2
379 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +9 -0
@@ -56,6 +56,10 @@ void xe_eudebug_exec_queue_destroy(struct xe_file *xef, struct xe_exec_queue *q)void xe_eudebug_vm_bind_execute (struct xe_vm *vm,struct xe_vma_ops *ops); +void xe_eudebug_ufence_init (struct xe_user_fence *ufence); +void xe_eudebug_ufence_fini (struct xe_user_fence *ufence); +bool xe_eudebug_ufence_track (struct xe_user_fence *ufence); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,
@@ -74,6 +78,11 @@ static inline void xe_eudebug_exec_queue_create(struct xe_file *xef, struct xe_estatic inline void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q) { }static inline void xe_eudebug_vm_bind_execute (struct xe_vm *vm,struct xe_vma_ops *ops) { } + +static inline void xe_eudebug_ufence_init (struct xe_user_fence *ufence) { } +static inline void xe_eudebug_ufence_fini (struct xe_user_fence *ufence) { } +static inline bool xe_eudebug_ufence_track (struct xe_user_fence *ufence) {return false; } +#endif /* CONFIG_DRM_XE_EUDEBUG */ #endif /* _XE_EUDEBUG_H_ */
drivers/gpu/drm/xe/xe_eudebug_types.h +9 -1
@@ -33,7 +33,7 @@ enum xe_eudebug_state { };#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 64 -#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_DEBUG_DATA +#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE/** * struct xe_eudebug_handle - eudebug resource handle
@@ -125,6 +125,14 @@ struct xe_eudebug { atomic_long_t seqno; } events; +/** @acks: user fence acks tracked by this debugger */ +struct { +/** @lock: guards access to tree */ +spinlock_t lock; + +/** @tree: pending acks by seqnos */ +struct rb_root tree; + } acks; };#endif /* _XE_EUDEBUG_TYPES_H_ */
drivers/gpu/drm/xe/xe_sync.c +24 -19
83 lines not on this page · raw message
drivers/gpu/drm/xe/xe_sync.h +6 -1
@@ -10,8 +10,12 @@struct drm_syncobj ;struct xe_device ; -struct xe_exec_queue ;struct xe_file ; +struct xe_exec_queue ; +struct drm_syncobj ; +struct dma_fence ; +struct dma_fence_chain ; +struct drm_xe_sync ;struct xe_sched_job ;struct xe_vm ;
@@ -45,5 +49,6 @@ struct xe_user_fence *__xe_sync_ufence_get(struct xe_user_fence *ufence);struct xe_user_fence *xe_sync_ufence_get (struct xe_sync_entry *sync);void xe_sync_ufence_put (struct xe_user_fence *ufence);int xe_sync_ufence_get_status (struct xe_user_fence *ufence); +void xe_sync_ufence_signal (struct xe_user_fence *ufence);#endif
drivers/gpu/drm/xe/xe_sync_types.h +23 -5
@@ -6,13 +6,31 @@ #ifndef _XE_SYNC_TYPES_H_ #define _XE_SYNC_TYPES_H_ +#include <linux/dma-fence-array.h> +#include <linux/kref.h> +#include <linux/spinlock.h> #include <linux/types.h> -struct drm_syncobj; -struct dma_fence; -struct dma_fence_chain; -struct drm_xe_sync; -struct user_fence; +struct xe_user_fence { + struct xe_device *xe; + struct kref refcount; + struct dma_fence_cb cb; + struct work_struct worker; + struct mm_struct *mm; + u64 __user *addr; + u64 value; + int signalled; + +#if IS_ENABLED(CONFIG_DRM_XE_EUDEBUG) + struct { + spinlock_t lock; + struct xe_eudebug *debugger; + u64 bind_ref_seqno; + u64 signalled_seqno; + struct work_struct worker; + } eudebug; +#endif +}; struct xe_sync_entry { struct drm_syncobj *syncobj;
include/uapi/drm/xe_drm_eudebug.h +58 -0
88 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 11/24 drm/xe/eudebug: vm open/pread/pwrite
In reply to Mika KuoppalaDebugger needs access to the client's vm to read and write. For example inspecting ISA/ELF and setting up breakpoints.
Add ioctl to open target vm with debugger client and vm_handle and hook up pread/pwrite possibility.
Open will take timeout argument so that standard fsync can be used for explicit flushing between cpu/gpu for the target vm.
Implement this for bo backed storage. userptr will be done in following patch.
v2: - checkpatch (Maciej)
- 32bit fixes (Andrzej)
- bo_vmap (Mika)
- fix vm leak if can't allocate k_buffer (Mika)
- assert vm write held for vma (Matthew)
v3: - fw ref, ttm_bo_access
- timeout boundary check (Dominik)
- dont try to copy to user on zero bytes (Mika)
v4: - offset as unsigned long (Thomas)
- check XE_VMA_DESTROYED
v5: - drm_dev_put before releasing debugger (Mika)
v6: - stop flushing on first error (Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 6 + drivers/gpu/drm/xe/Makefile | 2 +- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 24 ++ drivers/gpu/drm/xe/xe_eudebug.c | 40 ++- drivers/gpu/drm/xe/xe_eudebug.h | 12 + drivers/gpu/drm/xe/xe_eudebug_types.h | 6 + drivers/gpu/drm/xe/xe_eudebug_vm.c | 420 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug_vm.h | 8 + include/uapi/drm/xe_drm_eudebug.h | 29 ++ 9 files changed, 543 insertions(+), 4 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug_vm.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_vm.h
Documentation/gpu/xe/xe_eudebug.rst +6 -0
@@ -66,3 +66,9 @@ Resource Event Types .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_event_vm_bind_ufence + +VM Access +========= + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_vm_open
drivers/gpu/drm/xe/Makefile +1 -1
@@ -158,7 +158,7 @@ xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o # debugging shaders with gdb (eudebug) support -xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o +xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.o
drivers/gpu/drm/xe/regs/xe_gt_regs.h +24 -0
@@ -614,6 +614,30 @@#define CCS_MODE_CSLICE (cslice, ccs) \ ((ccs) << ((cslice) * CCS_MODE_CSLICE_WIDTH)) +#define RCU_ASYNC_FLUSH XE_REG(0x149fc) +#define RCU_ASYNC_FLUSH_IN_PROGRESS REG_BIT(31) +#define RCU_ASYNC_FLUSH_ENGINE_ID_SHIFT 28 +#define RCU_ASYNC_FLUSH_ENGINE_ID_DECODE1 REG_BIT(26) +#define RCU_ASYNC_FLUSH_AMFS REG_BIT(8) +#define RCU_ASYNC_FLUSH_PREFETCH REG_BIT(7) +#define RCU_ASYNC_FLUSH_DATA_PORT REG_BIT(6) +#define RCU_ASYNC_FLUSH_DATA_CACHE REG_BIT(5) +#define RCU_ASYNC_FLUSH_HDC_PIPELINE REG_BIT(4) +#define RCU_ASYNC_INVALIDATE_HDC_PIPELINE REG_BIT(3) +#define RCU_ASYNC_INVALIDATE_CONSTANT_CACHE REG_BIT(2) +#define RCU_ASYNC_INVALIDATE_TEXTURE_CACHE REG_BIT(1) +#define RCU_ASYNC_INVALIDATE_INSTRUCTION_CACHE REG_BIT(0) +#define RCU_ASYNC_FLUSH_AND_INVALIDATE_ALL ( \ + RCU_ASYNC_FLUSH_AMFS | \ + RCU_ASYNC_FLUSH_PREFETCH | \ + RCU_ASYNC_FLUSH_DATA_PORT | \ + RCU_ASYNC_FLUSH_DATA_CACHE | \ + RCU_ASYNC_FLUSH_HDC_PIPELINE | \ + RCU_ASYNC_INVALIDATE_HDC_PIPELINE | \ + RCU_ASYNC_INVALIDATE_CONSTANT_CACHE | \ + RCU_ASYNC_INVALIDATE_TEXTURE_CACHE | \ + RCU_ASYNC_INVALIDATE_INSTRUCTION_CACHE) +#define FORCEWAKE_ACK_GT XE_REG(0x130044)/* Applicable for all FORCEWAKE_DOMAIN and FORCEWAKE_ACK_DOMAIN regs */
drivers/gpu/drm/xe/xe_eudebug.c +37 -3
@@ -16,6 +16,7 @@#include "xe_device.h" #include "xe_eudebug.h" #include "xe_eudebug_types.h" +#include "xe_eudebug_vm.h" #include "xe_exec_queue.h" #include "xe_hw_engine.h" #include "xe_macros.h"
@@ -145,8 +146,7 @@ event_fifo_num_events_peek(const struct xe_eudebug * const d)return kfifo_len (&d->events.fifo); } -static bool -xe_eudebug_detached (struct xe_eudebug *d) +bool xe_eudebug_detached (struct xe_eudebug *d) {return READ_ONCE (d->target.xef) ==NULL ; }
@@ -265,7 +265,7 @@ static void xe_eudebug_free(struct kref *ref)kfree (d); } -static void xe_eudebug_put (struct xe_eudebug *d) +void xe_eudebug_put (struct xe_eudebug *d) {kref_put (&d->ref, xe_eudebug_free); }
@@ -743,6 +743,34 @@ static int xe_eudebug_remove_handle(struct xe_eudebug *d, int type, void *p,return ret; } +static void *find_resource__unlocked (struct xe_eudebug *d, +int type, +u32 id) +{ + +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; + + r =resource_from_type (d, type); + h =xa_load (&r->xa, id); + +return h ? (void *)(uintptr_t )h->key :NULL ; +} + +struct xe_vm *xe_eudebug_vm_get (struct xe_eudebug *d,u32 id) +{ +struct xe_vm *vm; + +mutex_lock (&d->target.lock); + vm =find_resource__unlocked (d,XE_EUDEBUG_RES_TYPE_VM , id); +if (vm) +xe_vm_get (vm); +mutex_unlock (&d->target.lock); + +return vm; +} + +static struct drm_xe_eudebug_event *xe_eudebug_create_event (struct xe_eudebug *d,u16 type,u64 seqno,u16 flags,u32 len)
@@ -1744,6 +1772,10 @@ static long xe_eudebug_ioctl(struct file *file, ret =xe_eudebug_ack_event_ioctl (d, cmd, arg);eu_dbg (d,"ioctl cmd=EVENT_ACK ret=%ld\n" , ret);break ; +case DRM_XE_EUDEBUG_IOCTL_VM_OPEN : + ret =xe_eudebug_vm_open_ioctl (d, arg); +eu_dbg (d,"ioctl cmd=VM_OPEN ret=%ld\n" , ret); +break ;default : ret = -EINVAL ; }
@@ -1809,6 +1841,8 @@ xe_eudebug_connect(struct xe_device *xe,spin_lock_init (&d->acks.lock); d->acks.tree =RB_ROOT ; +mutex_init (&d->hw.lock); + err =xe_eudebug_resources_init (d);if (XE_IOCTL_DBG (xe, err)) goto err_free;
drivers/gpu/drm/xe/xe_eudebug.h +12 -0
@@ -18,6 +18,7 @@ struct xe_vma;struct xe_vma_ops ;struct xe_exec_queue ;struct xe_user_fence ; +struct xe_eudebug ;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )
@@ -38,6 +39,10 @@ struct xe_user_fence;#define xe_eudebug_assert (d, ...) xe_assert((d)->xe, ##__VA_ARGS__) +#define xe_eudebug_for_each_hw_engine (__hwe, __gt, __id) \ + for_each_hw_engine(__hwe, __gt, __id) \ + if (xe_hw_engine_has_eudebug(__hwe)) +int xe_eudebug_connect_ioctl (struct drm_device *dev,void *data,struct drm_file *file);
@@ -47,10 +52,15 @@ bool xe_eudebug_is_enabled(struct xe_device *xe);void xe_eudebug_file_close (struct xe_file *xef); +bool xe_eudebug_detached (struct xe_eudebug *d); +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm);void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm); +int xe_eudebug_enable (struct xe_device *xe,bool enable); +struct xe_vm *xe_eudebug_vm_get (struct xe_eudebug *d,u32 vm_id); +void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q);void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q);
@@ -60,6 +70,8 @@ void xe_eudebug_ufence_init(struct xe_user_fence *ufence);void xe_eudebug_ufence_fini (struct xe_user_fence *ufence);bool xe_eudebug_ufence_track (struct xe_user_fence *ufence); +void xe_eudebug_put (struct xe_eudebug *d); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,
drivers/gpu/drm/xe/xe_eudebug_types.h +6 -0
@@ -133,6 +133,12 @@ struct xe_eudebug {/** @tree: pending acks by seqnos */ struct rb_root tree; } acks; + +/** @hw: hw access */ +struct { +/** @lock: guards access to hw state */ +struct mutex lock; + } hw; };#endif /* _XE_EUDEBUG_TYPES_H_ */
drivers/gpu/drm/xe/xe_eudebug_vm.c new file +420 -0
420 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_vm.h new file +8 -0
@@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023-2025 Intel Corporation +*/ + +struct xe_eudebug ; + +long xe_eudebug_vm_open_ioctl (struct xe_eudebug *d,unsigned long arg);
include/uapi/drm/xe_drm_eudebug.h +29 -0
@@ -12,6 +12,7 @@ extern "C" {#define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0)#define DRM_XE_EUDEBUG_IOCTL_ACK_EVENT _IOW('j', 0x1, struct drm_xe_eudebug_ack) +#define DRM_XE_EUDEBUG_IOCTL_VM_OPEN _IOW('j', 0x2, struct drm_xe_eudebug_vm_open)/** * struct drm_xe_eudebug_event - Base type of event delivered by xe_eudebug.
@@ -242,6 +243,34 @@ struct drm_xe_eudebug_ack {__u64 seqno; }; +/** +* struct drm_xe_eudebug_vm_open - Open a target vm +* +* Open target VM for reading and writing with DRM_XE_EUDEBUG_IOCTL_VM_OPEN. +* +* File descriptor is returned which can be used with pread and pwrite +* to inspect and modify the target VM. +* +* Multiple operations can be synced with calling fsync(fd). If +* timeout_ns was specified, the fsync will timeout if the +* VM can't be guaranteed to be in sync. Caller should re-read the +* state with pread again. +* +*/ +struct drm_xe_eudebug_vm_open { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +/** @vm_handle: handle of vm to be accessed */ +__u64 vm_handle; + +/** @flags: flags, must be zero */ +__u64 flags; + +/** @timeout_ns: Timeout value in nanoseconds */ +__u64 timeout_ns; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.43.0
PATCH 12/24 drm/xe/eudebug: userptr vm pread/pwrite
In reply to Mika KuoppalaImplement debugger vm access for userptrs.
When bind is done, take ref to current task so that we know from which vm the address was bound. Then during debugger pread/pwrite we use this target task as parameter to access the debuggee vm with access_process_vm().
This is based on suggestions from Simona, Thomas and Joonas.
v2: need to add offset into vma (Dominik)
v3: move code into xe_userptr.c (Mika)
--- drivers/gpu/drm/xe/xe_eudebug_vm.c | 16 +++++++++++++++ drivers/gpu/drm/xe/xe_userptr.c | 4 ++++ drivers/gpu/drm/xe/xe_userptr.h | 32 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+)
drivers/gpu/drm/xe/xe_eudebug_vm.c +16 -0
@@ -51,6 +51,22 @@ static int xe_eudebug_vma_access(struct xe_vma *vma,xe_bo_put (bo);return ret; + }else if (xe_vma_is_userptr (vma)) { +struct xe_userptr *userptr = &to_userptr_vma (vma)->userptr; + +if (XE_WARN_ON (!userptr->eudebug.task)) +return -EINVAL ; + +/* +* access_remote_vm() would fit as userptr notifier has +* mm ref so we would not need to carry task ref at all. +* But access_remote_vm is not exported. access_process_vm() +* is exported so use it instead. +*/ +return access_process_vm (userptr->eudebug.task, +xe_vma_userptr (vma) + offset_in_vma, + buf, bytes, + write ?FOLL_WRITE :0 ); }return -EINVAL ;
drivers/gpu/drm/xe/xe_userptr.c +4 -0
@@ -403,6 +403,8 @@ int xe_userptr_setup(struct xe_userptr_vma *uvma, unsigned long start, userptr->pages.notifier_seq =LONG_MAX ; +xe_eudebug_track_userptr_task (userptr); +return 0 ; }
@@ -411,6 +413,8 @@ void xe_userptr_remove(struct xe_userptr_vma *uvma)struct xe_vm *vm =xe_vma_vm (&uvma->vma);struct xe_userptr *userptr = &uvma->userptr; +xe_eudebug_untrack_userptr_task (userptr); +drm_gpusvm_free_pages (&vm->svm.gpusvm, &uvma->userptr.pages,xe_vma_size (&uvma->vma) >>PAGE_SHIFT );
drivers/gpu/drm/xe/xe_userptr.h +32 -0
@@ -95,6 +95,12 @@ struct xe_userptr {#if IS_ENABLED (CONFIG_DRM_XE_USERPTR_INVAL_INJECT )u32 divisor;#endif + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +struct { +struct task_struct *task; + } eudebug; +#endif };#if IS_ENABLED (CONFIG_DRM_GPUSVM )
@@ -133,4 +139,30 @@ static inline void xe_vma_userptr_force_invalidate(struct xe_userptr_vma *uvma) { }#endif + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +static inline void xe_eudebug_track_userptr_task (struct xe_userptr *userptr) +{ +/* +* We could use the mm which is on notifier. But +* the access_remote_vm() is not exported. Thus +* we get reference to task for access_process_vm() +*/ + userptr->eudebug.task =get_task_struct (current); +} + +static inline void xe_eudebug_untrack_userptr_task (struct xe_userptr *userptr) +{ +put_task_struct (userptr->eudebug.task); +} +#else +static inline void xe_eudebug_track_userptr_task (struct xe_userptr *userptr) +{ +} + +static inline void xe_eudebug_untrack_userptr_task (struct xe_userptr *userptr) +{ +} +#endif /* CONFIG_DRM_XE_EUDEBUG */ +#endif
Signature · 1 line
2.43.0
PATCH 13/24 drm/xe/eudebug: hw enablement for eudebug
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints), TD_CTL and some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.
v2: Move workarounds to xe_wa_oob. Use reg_sr directly instead of xe_rtp as it suits better for dynamic manipulation of those register we do later in the series.
v3: get rid of undefining XE_MCR_REG (Mika)
--- drivers/gpu/drm/xe/Makefile | 2 +- drivers/gpu/drm/xe/regs/xe_engine_regs.h | 4 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 19 +++ drivers/gpu/drm/xe/xe_eudebug.c | 5 +- drivers/gpu/drm/xe/xe_eudebug_hw.c | 72 +++++++++ drivers/gpu/drm/xe/xe_eudebug_hw.h | 25 ++++ drivers/gpu/drm/xe/xe_gt_debug.c | 179 +++++++++++++++++++++++ drivers/gpu/drm/xe/xe_gt_debug.h | 32 ++++ drivers/gpu/drm/xe/xe_reg_sr.c | 21 ++- drivers/gpu/drm/xe/xe_reg_sr.h | 4 +- drivers/gpu/drm/xe/xe_reg_whitelist.c | 2 +- drivers/gpu/drm/xe/xe_rtp.c | 2 +- drivers/gpu/drm/xe/xe_wa_oob.rules | 2 + 13 files changed, 357 insertions(+), 12 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug_hw.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_hw.h create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.c create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.h
drivers/gpu/drm/xe/Makefile +1 -1
@@ -158,7 +158,7 @@ xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o # debugging shaders with gdb (eudebug) support -xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o +xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o xe_eudebug_hw.o xe_gt_debug.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.o
drivers/gpu/drm/xe/regs/xe_engine_regs.h +4 -0
@@ -129,6 +129,10 @@#define INDIRECT_RING_STATE (base) XE_REG((base) + 0x108) +#define CS_DEBUG_MODE2 (base) XE_REG((base) + 0xd8, XE_REG_OPTION_MASKED) +#define INST_STATE_CACHE_INVALIDATE REG_BIT(6) +#define GLOBAL_DEBUG_ENABLE REG_BIT(5) +#define RING_BBADDR (base) XE_REG((base) + 0x140)#define RING_BBADDR_UDW (base) XE_REG((base) + 0x168)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +19 -0
@@ -513,10 +513,20 @@#define DG2_DISABLE_ROUND_ENABLE_ALLOW_FOR_SSLA REG_BIT(15)#define CLEAR_OPTIMIZATION_DISABLE REG_BIT(6) +#define TD_CTL XE_REG_MCR(0xe400) +#define TD_CTL_FEH_AND_FEE_ENABLE REG_BIT(7)/* forced halt and exception */ +#define TD_CTL_FORCE_EXTERNAL_HALT REG_BIT(6) +#define TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE REG_BIT(4) +#define TD_CTL_FORCE_EXCEPTION REG_BIT(3) +#define TD_CTL_BREAKPOINT_ENABLE REG_BIT(2) +#define TD_CTL_GLOBAL_DEBUG_ENABLE REG_BIT(0)/* XeHP */ +#define CACHE_MODE_SS XE_REG_MCR(0xe420, XE_REG_OPTION_MASKED)#define DISABLE_ECC REG_BIT(5)#define ENABLE_PREFETCH_INTO_IC REG_BIT(3) +#define EU_ATT (reg, row) XE_REG_MCR((reg ? 0xe478 : 0xe470) + (row) * 4) +#define ROW_CHICKEN4 XE_REG_MCR(0xe48c, XE_REG_OPTION_MASKED)#define DISABLE_GRF_CLEAR REG_BIT(13)#define XEHP_DIS_BBL_SYSPIPE REG_BIT(11)
@@ -526,6 +536,8 @@#define THREAD_EX_ARB_MODE REG_GENMASK(3, 2)#define THREAD_EX_ARB_MODE_RR_AFTER_DEP REG_FIELD_PREP(THREAD_EX_ARB_MODE, 0x2) +#define EU_ATT_CLR (reg, row) XE_REG_MCR((reg ? 0xe698 : 0xe490) + (row) * 4) +#define ROW_CHICKEN3 XE_REG_MCR(0xe49c, XE_REG_OPTION_MASKED)#define XE2_EUPEND_CHK_FLUSH_DIS REG_BIT(14)#define DIS_EU_GRF_POISON_TO_LSC REG_BIT(13)
@@ -544,11 +556,13 @@#define MDQ_ARBITRATION_MODE REG_BIT(12)#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define EARLY_EOT_DIS REG_BIT(1) +#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define ROW_CHICKEN2 XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)#define DISABLE_READ_SUPPRESSION REG_BIT(15)#define DISABLE_EARLY_READ REG_BIT(14)#define ENABLE_LARGE_GRF_MODE REG_BIT(12) +#define XEHPC_DISABLE_BTB REG_BIT(11)#define PUSH_CONST_DEREF_HOLD_DIS REG_BIT(8)#define DISABLE_TDL_SVHS_GATING REG_BIT(1)#define DISABLE_DOP_GATING REG_BIT(0)
@@ -614,6 +628,11 @@#define CCS_MODE_CSLICE (cslice, ccs) \ ((ccs) << ((cslice) * CCS_MODE_CSLICE_WIDTH)) +#define RCU_DEBUG_1 XE_REG(0x14a00) +#define RCU_DEBUG_1_ENGINE_STATUS REG_GENMASK(2, 0) +#define RCU_DEBUG_1_RUNALONE_ACTIVE REG_BIT(2) +#define RCU_DEBUG_1_CONTEXT_ACTIVE REG_BIT(0) +#define RCU_ASYNC_FLUSH XE_REG(0x149fc)#define RCU_ASYNC_FLUSH_IN_PROGRESS REG_BIT(31)#define RCU_ASYNC_FLUSH_ENGINE_ID_SHIFT 28
drivers/gpu/drm/xe/xe_eudebug.c +3 -2
@@ -257,6 +257,7 @@ static void xe_eudebug_free(struct kref *ref)kfree (event);xe_eudebug_resources_destroy (d); +mutex_destroy (&d->hw.lock);mutex_destroy (&d->target.lock);XE_WARN_ON (d->target.xef);
@@ -1830,6 +1831,7 @@ xe_eudebug_connect(struct xe_device *xe,kref_init (&d->ref);mutex_init (&d->target.lock); +mutex_init (&d->hw.lock);init_waitqueue_head (&d->events.write_done);init_waitqueue_head (&d->events.read_done);init_completion (&d->discovery);
@@ -1841,8 +1843,6 @@ xe_eudebug_connect(struct xe_device *xe,spin_lock_init (&d->acks.lock); d->acks.tree =RB_ROOT ; -mutex_init (&d->hw.lock); - err =xe_eudebug_resources_init (d);if (XE_IOCTL_DBG (xe, err)) goto err_free;
@@ -1879,6 +1879,7 @@ xe_eudebug_connect(struct xe_device *xe, err_free_res:xe_eudebug_resources_destroy (d); err_free: +mutex_destroy (&d->hw.lock);mutex_destroy (&d->target.lock);kfree (d);
drivers/gpu/drm/xe/xe_eudebug_hw.c new file +72 -0
72 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_hw.h new file +25 -0
@@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023-2025 Intel Corporation +*/ + +#include <linux/types.h> + +#ifndef _XE_EUDEBUG_HW_H_ +#define _XE_EUDEBUG_HW_H_ + +#include <linux/types.h> + +struct xe_eudebug ; +struct xe_hw_engine ; +struct xe_gt ; + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) + +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe,bool enable); + +#else /* CONFIG_DRM_XE_EUDEBUG */ + +#endif /* CONFIG_DRM_XE_EUDEBUG */ + +#endif /* _XE_EUDEBUG_HW_H_ */
drivers/gpu/drm/xe/xe_gt_debug.c new file +179 -0
179 lines not on this page · raw message
drivers/gpu/drm/xe/xe_gt_debug.h new file +32 -0
@@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef __XE_GT_DEBUG_ +#define __XE_GT_DEBUG_ + +#include <linux/bits.h> +#include <linux/math.h> + +struct xe_gt ; + +#define XE_GT_ATTENTION_TIMEOUT_MS 100 +#define XE_GT_EU_ATT_ROWS 2u + +unsigned int xe_gt_eu_att_regs (struct xe_gt *gt); + +int xe_gt_eu_threads_needing_attention (struct xe_gt *gt); +int xe_gt_foreach_dss_group_instance (struct xe_gt *gt, +int (*fn)(struct xe_gt *gt, +void *data, +u16 group, +u16 instance, +bool present), +void *data); + +int xe_gt_eu_attention_bitmap_size (struct xe_gt *gt); +int xe_gt_eu_attention_bitmap (struct xe_gt *gt,u8 *bits, +unsigned int bitmap_size); + +#endif
drivers/gpu/drm/xe/xe_reg_sr.c +15 -6
@@ -72,22 +72,31 @@ static void reg_sr_inc_error(struct xe_reg_sr *sr)int xe_reg_sr_add (struct xe_reg_sr *sr,const struct xe_reg_sr_entry *e, -struct xe_gt *gt) +struct xe_gt *gt, +bool overwrite) {unsigned long idx = e->reg.addr;struct xe_reg_sr_entry *pentry =xa_load (&sr->xa, idx);int ret;if (pentry) { -if (!compatible_entries (pentry, e)) { +if (overwrite && e->set_bits) { + pentry->clr_bits |= e->clr_bits; + pentry->set_bits |= e->set_bits; + pentry->read_mask |= e->read_mask; + }else if (overwrite && !e->set_bits) { + pentry->clr_bits |= e->clr_bits; + pentry->set_bits &= ~e->clr_bits; + pentry->read_mask |= e->read_mask; + }else if (!compatible_entries (pentry, e)) { ret = -EINVAL ; goto fail; + }else { + pentry->clr_bits |= e->clr_bits; + pentry->set_bits |= e->set_bits; + pentry->read_mask |= e->read_mask; } - pentry->clr_bits |= e->clr_bits; - pentry->set_bits |= e->set_bits; - pentry->read_mask |= e->read_mask; -return 0 ; }
drivers/gpu/drm/xe/xe_reg_sr.h +3 -1
@@ -6,6 +6,8 @@#ifndef _XE_REG_SR_H_#define _XE_REG_SR_H_ +#include <linux/types.h> +/* * Reg save/restore bookkeeping */
@@ -28,7 +30,7 @@ void xe_reg_sr_lrc_check(struct xe_reg_sr *sr, struct drm_printer *p);int xe_reg_sr_add (struct xe_reg_sr *sr,const struct xe_reg_sr_entry *e, -struct xe_gt *gt); +struct xe_gt *gt,bool overwrite);void xe_reg_sr_apply_mmio (struct xe_reg_sr *sr,struct xe_gt *gt);void xe_reg_sr_apply_whitelist (struct xe_hw_engine *hwe);
drivers/gpu/drm/xe/xe_reg_whitelist.c +1 -1
@@ -170,7 +170,7 @@ static void whitelist_apply_to_hwe(struct xe_hw_engine *hwe) }xe_reg_whitelist_print_entry (&p,0 , reg, entry); -xe_reg_sr_add (&hwe->reg_sr, &hwe_entry, hwe->gt); +xe_reg_sr_add (&hwe->reg_sr, &hwe_entry, hwe->gt, false); slot++; }
drivers/gpu/drm/xe/xe_rtp.c +1 -1
@@ -185,7 +185,7 @@ static void rtp_add_sr_entry(const struct xe_rtp_action *action, }; sr_entry.reg.addr += mmio_base; -xe_reg_sr_add (sr, &sr_entry, gt); +xe_reg_sr_add (sr, &sr_entry, gt, false); } static bool rtp_process_one_sr(const struct xe_rtp_entry_sr *entry,
drivers/gpu/drm/xe/xe_wa_oob.rules +2 -0
@@ -66,3 +66,5 @@ GRAPHICS_VERSION_RANGE(2004, 3005) 14022766366 GRAPHICS_VERSION_RANGE(2001, 2004) GRAPHICS_VERSION_RANGE(3000, 3005) +18022722726 GRAPHICS_VERSION_RANGE(1250, 1274) +14015474168 PLATFORM(PVC)
Signature · 1 line
2.43.0
PATCH 14/24 drm/xe/eudebug: Introduce EU control interface
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Introduce EU control functionality, which allows EU debugger to interrupt, resume, and inform about the current state of EU threads during execution. Provide an abstraction layer, so in the future guc will only need to provide appropriate callbacks.
Based on implementation created by authors and other folks within i915 driver.
v2: - checkpatch (Maciej)
- lrc index off by one fix (Mika)
- checkpatch (Tilak)
- 32bit fixes (Andrzej, Mika)
- find_resource_get for client (Mika)
v3: - fw ref (Mika)
- attention register naming
v4: - fused off handling (Dominik)
- squash xe3 parts and ptl attentions (Mika)
v5: - s/ioctl_lock/exec_queue.lock to avoid wrong lock order (Mika)
v6: - require seqno MBZ (Mika)
v7: - error return consistency (Mika)
v8: - consolidate boilerplate and lrc sanity check (Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 6 + drivers/gpu/drm/xe/regs/xe_engine_regs.h | 1 + drivers/gpu/drm/xe/xe_eudebug.c | 52 ++ drivers/gpu/drm/xe/xe_eudebug.h | 2 + drivers/gpu/drm/xe/xe_eudebug_hw.c | 640 +++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug_hw.h | 7 + drivers/gpu/drm/xe/xe_eudebug_types.h | 25 + include/uapi/drm/xe_drm_eudebug.h | 58 ++ 8 files changed, 791 insertions(+)
Documentation/gpu/xe/xe_eudebug.rst +6 -0
@@ -72,3 +72,9 @@ VM Access .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_vm_open + +EU/HW Control +============= + +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_eu_control
drivers/gpu/drm/xe/regs/xe_engine_regs.h +1 -0
@@ -160,6 +160,7 @@#define IDLE_DELAY REG_GENMASK(20, 0)#define RING_CURRENT_LRCA (base) XE_REG((base) + 0x240) +#define CURRENT_LRCA_VALID REG_BIT(0)#define RING_CONTEXT_CONTROL (base) XE_REG((base) + 0x244, XE_REG_OPTION_MASKED)#define CTX_CTRL_PXP_ENABLE REG_BIT(10)
drivers/gpu/drm/xe/xe_eudebug.c +52 -0
93 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +2 -0
@@ -63,6 +63,8 @@ struct xe_vm *xe_eudebug_vm_get(struct xe_eudebug *d, u32 vm_id);void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q);void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q); +struct xe_exec_queue *xe_eudebug_exec_queue_get (struct xe_eudebug *d,u32 id); +struct xe_lrc *xe_eudebug_find_lrc (struct xe_eudebug *d,u32 id);void xe_eudebug_vm_bind_execute (struct xe_vm *vm,struct xe_vma_ops *ops);
drivers/gpu/drm/xe/xe_eudebug_hw.c +640 -0
643 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_hw.h +7 -0
@@ -16,10 +16,17 @@ struct xe_gt;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +void xe_eudebug_hw_init (struct xe_eudebug *d);void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe,bool enable); +long xe_eudebug_eu_control (struct xe_eudebug *d,const u64 arg); + +struct xe_exec_queue *xe_gt_runalone_active_queue_get (struct xe_gt *gt,int *lrc_idx); +#else /* CONFIG_DRM_XE_EUDEBUG */ +static inline void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe,bool enable) { } +#endif /* CONFIG_DRM_XE_EUDEBUG */ #endif /* _XE_EUDEBUG_HW_H_ */
drivers/gpu/drm/xe/xe_eudebug_types.h +25 -0
@@ -17,7 +17,11 @@struct xe_device ;struct task_struct ; +struct xe_eudebug ; +struct xe_hw_engine ;struct workqueue_struct ; +struct xe_exec_queue ; +struct xe_lrc ;/** * enum xe_eudebug_state - eudebug capability state
@@ -65,6 +69,24 @@ struct xe_eudebug_resource {#define XE_EUDEBUG_RES_TYPE_LRC 2#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_LRC + 1) +/** +* struct xe_eudebug_eu_control_ops - interface for eu thread +* state control backend +*/ +struct xe_eudebug_eu_control_ops { +/** @interrupt_all: interrupts workload active on given hwe */ +int (*interrupt_all)(struct xe_eudebug *e,struct xe_exec_queue *q, +struct xe_lrc *lrc); + +/** @resume: resumes threads reflected by bitmask active on given hwe */ +int (*resume)(struct xe_eudebug *e,struct xe_exec_queue *q, +struct xe_lrc *lrc,u8 *bitmap,unsigned int bitmap_size); + +/** @stopped: returns bitmap reflecting threads which signal attention */ +int (*stopped)(struct xe_eudebug *e,struct xe_exec_queue *q, +struct xe_lrc *lrc,u8 *bitmap,unsigned int bitmap_size); +}; +/** * struct xe_eudebug - Top level struct for eudebug: the connection */
@@ -139,6 +161,9 @@ struct xe_eudebug {/** @lock: guards access to hw state */ struct mutex lock; } hw; + +/** @ops: operations for eu_control */ +struct xe_eudebug_eu_control_ops *ops; };#endif /* _XE_EUDEBUG_TYPES_H_ */
include/uapi/drm/xe_drm_eudebug.h +58 -0
70 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 15/24 drm/xe/eudebug: Introduce per device attention scan worker
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Scan for EU debugging attention bits periodically to detect if some EU thread has entered the system routine (SIP) due to EU thread exception.
Make the scanning interval 10 times slower when there is no debugger connection open. Send attention event whenever we see attention with debugger presence. If there is no debugger connection active - reset.
Based on work by authors and other folks who were part of attentions in i915.
v2: - use xa_array for files
- null ptr deref fix for non-debugged context (Dominik)
- checkpatch (Tilak)
- use discovery_lock during list traversal
v3: - engine status per gen improvements, force_wake ref
- __counted_by (Mika)
v4: - attention register naming (Dominik)
v5: - free event on error (Mika)
v6: - annotata data race on extending the poll interval (Mika)
--- Documentation/gpu/xe/xe_eudebug.rst | 3 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_eudebug.c | 172 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug_types.h | 3 +- include/uapi/drm/xe_drm_eudebug.h | 29 +++++ 5 files changed, 208 insertions(+), 2 deletions(-)
Documentation/gpu/xe/xe_eudebug.rst +3 -0
@@ -67,6 +67,9 @@ Resource Event Types .. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h :identifiers: drm_xe_eudebug_event_vm_bind_ufence +.. kernel-doc:: include/uapi/drm/xe_drm_eudebug.h + :identifiers: drm_xe_eudebug_event_eu_attention + VM Access =========
drivers/gpu/drm/xe/xe_device_types.h +3 -0
@@ -587,6 +587,9 @@ struct xe_device {/** @wq: used for client discovery */ struct workqueue_struct *wq; + +/** @attention_poll: attention poll work */ + struct delayed_work attention_dwork; } eudebug;#endif };
drivers/gpu/drm/xe/xe_eudebug.c +172 -0
214 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h +1 -2
@@ -37,7 +37,7 @@ enum xe_eudebug_state { };#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 64 -#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE +#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_EU_ATTENTION/** * struct xe_eudebug_handle - eudebug resource handle
@@ -167,4 +167,3 @@ struct xe_eudebug { };#endif /* _XE_EUDEBUG_TYPES_H_ */ -
include/uapi/drm/xe_drm_eudebug.h +29 -0
@@ -52,6 +52,7 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_VM_BIND 4#define DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_DEBUG_DATA 5#define DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE 6 +#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 7/** @flags: Flags */ __u16 flags;
@@ -329,6 +330,34 @@ struct drm_xe_eudebug_eu_control {__u64 bitmask_ptr; }; +/** +* struct drm_xe_eudebug_event_eu_attention - EU Attention Event +* +* Whenever there is any thread in halted/attentions state, this +* event will be delivered. The event will be delivered periodically +* until there are no attentions detected. +* +*/ +struct drm_xe_eudebug_event_eu_attention { +/** @base: base event */ +struct drm_xe_eudebug_event base; + +/** @exec_queue_handle: Exec queue handle for the attentions */ +__u64 exec_queue_handle; + +/** @lrc_handle: LRC handle for the attentions */ +__u64 lrc_handle; + +/** @flags: Flags */ +__u32 flags; + +/** @bitmask_size: Bitmask size in bytes for bitmask[] */ +__u32 bitmask_size; + +/** @bitmask: Attention bits, one per thread */ +__u8 bitmask[]; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.43.0
PATCH 16/24 drm/xe/eudebug_test: Introduce xe_eudebug wa kunit test
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
Introduce kunit test for eudebug. For now it checks the dynamic application of WAs.
v2: adapt to removal of call_for_each_device (Mika)
v3: s/FW_RENDER/FORCEWAKE_ALL (Mika)
--- drivers/gpu/drm/xe/tests/xe_eudebug.c | 183 ++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 5 + drivers/gpu/drm/xe/xe_eudebug.c | 4 + 3 files changed, 192 insertions(+) create mode 100644 drivers/gpu/drm/xe/tests/xe_eudebug.c
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +183 -0
@@ -0,0 +1,183 @@ +// SPDX-License-Identifier: GPL-2.0 AND MIT +/* +* Copyright © 2024 Intel Corporation +*/ + +#include <kunit/visibility.h> + +#include "regs/xe_gt_regs.h" +#include "regs/xe_engine_regs.h" + +#include "xe_force_wake.h" +#include "xe_gt_mcr.h" +#include "xe_mmio.h" + +#include "tests/xe_kunit_helpers.h" +#include "tests/xe_pci_test.h" +#include "tests/xe_test.h" + +#undef XE_REG_MCR +#define XE_REG_MCR (r_, ...) ((const struct xe_reg_mcr){ \ + .__reg = XE_REG_INITIALIZER(r_, ##__VA_ARGS__, .mcr = 1) \ + }) + +static const char *reg_to_str (struct xe_reg reg) +{ +if (reg.raw ==TD_CTL .__reg.raw) +return "TD_CTL" ; +else if (reg.raw ==CS_DEBUG_MODE2 (RENDER_RING_BASE ).raw) +return "CS_DEBUG_MODE2" ; +else if (reg.raw ==ROW_CHICKEN .__reg.raw) +return "ROW_CHICKEN" ; +else if (reg.raw ==ROW_CHICKEN2 .__reg.raw) +return "ROW_CHICKEN2" ; +else if (reg.raw ==ROW_CHICKEN3 .__reg.raw) +return "ROW_CHICKEN3" ; +else +return "UNKNOWN REG" ; +} + +static u32 get_reg_mask (struct xe_device *xe,struct xe_reg reg) +{ +struct kunit *test =kunit_get_current_test (); +u32 val =0 ; + +if (reg.raw ==TD_CTL .__reg.raw) { + val =TD_CTL_BREAKPOINT_ENABLE | +TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE | +TD_CTL_FEH_AND_FEE_ENABLE ; + +if (GRAPHICS_VERx100 (xe) >=1250 ) + val |=TD_CTL_GLOBAL_DEBUG_ENABLE ; + + }else if (reg.raw ==CS_DEBUG_MODE2 (RENDER_RING_BASE ).raw) { + val =GLOBAL_DEBUG_ENABLE ; + }else if (reg.raw ==ROW_CHICKEN .__reg.raw) { + val =STALL_DOP_GATING_DISABLE ; + }else if (reg.raw ==ROW_CHICKEN2 .__reg.raw) { + val =XEHPC_DISABLE_BTB ; + }else if (reg.raw ==ROW_CHICKEN3 .__reg.raw) { + val =XE2_EUPEND_CHK_FLUSH_DIS ; + }else { +kunit_warn (test,"Invalid register selection: %u\n" , reg.raw); + } + +return val; +} + +static u32 get_reg_expected (struct xe_device *xe,struct xe_reg reg,bool enable_eudebug) +{ +u32 reg_mask =get_reg_mask (xe, reg); +u32 reg_bits =0 ; + +if (enable_eudebug || reg.raw ==ROW_CHICKEN3 .__reg.raw) + reg_bits = reg_mask; +else + reg_bits =0 ; + +return reg_bits; +} + +static void check_reg (struct xe_gt *gt,bool enable_eudebug,struct xe_reg reg) +{ +struct kunit *test =kunit_get_current_test (); +struct xe_device *xe =gt_to_xe (gt); +u32 reg_bits_expected =get_reg_expected (xe, reg, enable_eudebug); +u32 reg_mask =get_reg_mask (xe, reg); +u32 reg_bits =0 ; + +if (reg.mcr) + reg_bits =xe_gt_mcr_unicast_read_any (gt, (struct xe_reg_mcr ){.__reg = reg}); +else + reg_bits =xe_mmio_read32 (>->mmio, reg); + + reg_bits &= reg_mask; + +kunit_printk (KERN_DEBUG , test,"%s bits: expected == 0x%x; actual == 0x%x\n" , +reg_to_str (reg), reg_bits_expected, reg_bits); +KUNIT_EXPECT_EQ_MSG (test, reg_bits_expected, reg_bits, +"Invalid bits set for %s\n" ,reg_to_str (reg)); +} + +static void __check_regs (struct xe_gt *gt,bool enable_eudebug) +{ +struct xe_device *xe =gt_to_xe (gt); + +if (GRAPHICS_VERx100 (xe) >=1200 ) +check_reg (gt, enable_eudebug,TD_CTL .__reg); + +if (GRAPHICS_VERx100 (xe) >=1250 &&GRAPHICS_VERx100 (xe) <=1274 ) +check_reg (gt, enable_eudebug,ROW_CHICKEN .__reg); + +if (xe->info.platform ==XE_PVC ) +check_reg (gt, enable_eudebug,ROW_CHICKEN2 .__reg); + +if (GRAPHICS_VERx100 (xe) >=2000 &&GRAPHICS_VERx100 (xe) <=2004 ) +check_reg (gt, enable_eudebug,ROW_CHICKEN3 .__reg); +} + +static void check_regs (struct xe_device *xe,bool enable_eudebug) +{ +struct kunit *test =kunit_get_current_test (); +struct xe_gt *gt; +unsigned int fw_ref; +u8 id; + +kunit_printk (KERN_DEBUG , test,"Check regs for eudebug %s\n" , + enable_eudebug ?"enabled" :"disabled" ); + +xe_pm_runtime_get (xe); +for_each_gt (gt, xe, id) { +if (xe_gt_is_media_type (gt)) +continue ; + +/* XXX: Figure out per platform proper domain */ + fw_ref =xe_force_wake_get (gt_to_fw (gt),XE_FORCEWAKE_ALL ); +KUNIT_ASSERT_TRUE_MSG (test, fw_ref,"Forcewake failed.\n" ); + +__check_regs (gt, enable_eudebug); + +xe_force_wake_put (gt_to_fw (gt), fw_ref); + } +xe_pm_runtime_put (xe); +} + +static int toggle_reg_value (struct xe_device *xe) +{ +struct kunit *test =kunit_get_current_test (); +bool enable_eudebug =xe_eudebug_is_enabled (xe); + +kunit_printk (KERN_DEBUG , test,"Test eudebug WAs for graphics version: %u\n" , +GRAPHICS_VERx100 (xe)); + +check_regs (xe, enable_eudebug); + +xe_eudebug_enable (xe, !enable_eudebug); +check_regs (xe, !enable_eudebug); + +xe_eudebug_enable (xe, enable_eudebug); +check_regs (xe, enable_eudebug); + +return 0 ; +} + +static void xe_eudebug_toggle_reg_kunit (struct kunit *test) +{ +struct xe_device *xe = test->priv; + +toggle_reg_value (xe); +} + +static struct kunit_case xe_eudebug_tests[] = { +KUNIT_CASE_PARAM (xe_eudebug_toggle_reg_kunit, + xe_pci_live_device_gen_param), + {} +}; + +VISIBLE_IF_KUNIT +struct kunit_suite xe_eudebug_test_suite = { + .name ="xe_eudebug" , + .test_cases = xe_eudebug_tests, + .init = xe_kunit_helper_xe_device_live_test_init, +}; +EXPORT_SYMBOL_IF_KUNIT (xe_eudebug_test_suite);
drivers/gpu/drm/xe/tests/xe_live_test_mod.c +5 -0
@@ -19,6 +19,11 @@ kunit_test_suite(xe_migrate_test_suite);kunit_test_suite (xe_mocs_test_suite);kunit_test_suite (xe_guc_g2g_test_suite); +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +extern struct kunit_suite xe_eudebug_test_suite; +kunit_test_suite (xe_eudebug_test_suite); +#endif +MODULE_AUTHOR ("Intel Corporation" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("xe live kunit tests" );
drivers/gpu/drm/xe/xe_eudebug.c +4 -0
@@ -2242,3 +2242,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,return xe_eudebug_connect (xe, file, param); } + +#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST ) +#include "tests/xe_eudebug.c" +#endif
Signature · 1 line
2.43.0
Re: [PATCH 16/24] drm/xe/eudebug_test: Introduce xe_eudebug wa kunit test
Hi Mika,
few nits below...
nit: maybe title should be:
drm/xe/tests: Introduce eudebug live tests
Quoted 5 lines · Mika Kuoppala
From: Christoph Manszewski <[email protected]>
Introduce kunit test for eudebug. For now it checks the dynamic application of WAs.
Quoted 7 lines
v2: adapt to removal of
call_for_each_device(Mika)
v3: s/FW_RENDER/FORCEWAKE_ALL (Mika)Signed-off-by Christoph Manszewski <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/xe/tests/xe_eudebug.c | 183 ++++++++++++++++++++
nit: while we are still inconsistent in file naming, maybe we should follow some rules and
- use _kunit file suffix for pure KUnit tests
- use _test file suffix for our live tests (not strictly kunit)
see https://docs.kernel.org/dev-tools/kunit/style.html#test-file-and-module-names
Quoted 11 lines
drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 5 + drivers/gpu/drm/xe/xe_eudebug.c | 4 + 3 files changed, 192 insertions(+) create mode 100644 drivers/gpu/drm/xe/tests/xe_eudebug.cdrivers/gpu/drm/xe/tests/xe_eudebug.c new file +0
-0
drivers/gpu/drm/xe/tests/xe_eudebug.c line 3
Quoted 3 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +3
-0@@ -0,0 +1,183 @@ +// SPDX-License-Identifier: GPL-2.0 AND MIT +/* +* Copyright © 2024 Intel Corporation
nit: 2026
Quoted 49 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +49
-0+*/ + +#include <kunit/visibility.h> + +#include "regs/xe_gt_regs.h" +#include "regs/xe_engine_regs.h" + +#include "xe_force_wake.h" +#include "xe_gt_mcr.h" +#include "xe_mmio.h" + +#include "tests/xe_kunit_helpers.h" +#include "tests/xe_pci_test.h" +#include "tests/xe_test.h" + +#undef XE_REG_MCR +#define XE_REG_MCR (r_, ...) ((const struct xe_reg_mcr){ \ + .__reg = XE_REG_INITIALIZER(r_, ##__VA_ARGS__, .mcr = 1) \ + }) + +static const char *reg_to_str (struct xe_reg reg) +{ +if (reg.raw ==TD_CTL .__reg.raw) +return "TD_CTL" ; +else if (reg.raw ==CS_DEBUG_MODE2 (RENDER_RING_BASE ).raw) +return "CS_DEBUG_MODE2" ; +else if (reg.raw ==ROW_CHICKEN .__reg.raw) +return "ROW_CHICKEN" ; +else if (reg.raw ==ROW_CHICKEN2 .__reg.raw) +return "ROW_CHICKEN2" ; +else if (reg.raw ==ROW_CHICKEN3 .__reg.raw) +return "ROW_CHICKEN3" ; +else +return "UNKNOWN REG" ; +} + +static u32 get_reg_mask (struct xe_device *xe,struct xe_reg reg) +{ +struct kunit *test =kunit_get_current_test (); +u32 val =0 ; + +if (reg.raw ==TD_CTL .__reg.raw) { + val =TD_CTL_BREAKPOINT_ENABLE | +TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE | +TD_CTL_FEH_AND_FEE_ENABLE ; + +if (GRAPHICS_VERx100 (xe) >=1250 ) + val |=TD_CTL_GLOBAL_DEBUG_ENABLE ; +
drivers/gpu/drm/xe/tests/xe_eudebug.c line 62
Quoted 10 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +10
-0+ }else if (reg.raw ==CS_DEBUG_MODE2 (RENDER_RING_BASE ).raw) { + val =GLOBAL_DEBUG_ENABLE ; + }else if (reg.raw ==ROW_CHICKEN .__reg.raw) { + val =STALL_DOP_GATING_DISABLE ; + }else if (reg.raw ==ROW_CHICKEN2 .__reg.raw) { + val =XEHPC_DISABLE_BTB ; + }else if (reg.raw ==ROW_CHICKEN3 .__reg.raw) { + val =XE2_EUPEND_CHK_FLUSH_DIS ; + }else { +kunit_warn (test,"Invalid register selection: %u\n" , reg.raw);
nit: use KUNIT_FAIL(kunit_get_current_test(), "...");
Quoted 11 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +11
-0+ } + +return val; +} + +static u32 get_reg_expected (struct xe_device *xe,struct xe_reg reg,bool enable_eudebug) +{ +u32 reg_mask =get_reg_mask (xe, reg); +u32 reg_bits =0 ; + +if (enable_eudebug || reg.raw ==ROW_CHICKEN3 .__reg.raw)
drivers/gpu/drm/xe/tests/xe_eudebug.c line 83
Quoted 10 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +10
-0+ reg_bits = reg_mask; + else + reg_bits =0 ; + +return reg_bits; +} + +static void check_reg (struct xe_gt *gt,bool enable_eudebug,struct xe_reg reg) +{ +struct kunit *test =kunit_get_current_test ();
nit: as this testcase function, why not pass test as a param?
Quoted 4 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +4
-0+struct xe_device *xe =gt_to_xe (gt); +u32 reg_bits_expected =get_reg_expected (xe, reg, enable_eudebug); +u32 reg_mask =get_reg_mask (xe, reg); +u32 reg_bits =0 ;
drivers/gpu/drm/xe/tests/xe_eudebug.c line 97
Quoted 10 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +10
-0+ +if (reg.mcr) + reg_bits =xe_gt_mcr_unicast_read_any (gt, (struct xe_reg_mcr ){.__reg = reg}); +else + reg_bits =xe_mmio_read32 (>->mmio, reg); + + reg_bits &= reg_mask; + +kunit_printk (KERN_DEBUG , test,"%s bits: expected == 0x%x; actual == 0x%x\n" , +reg_to_str (reg), reg_bits_expected, reg_bits);
nit: is this message really useful?
if bits are different then below EXPECT macro will print them anyway
drivers/gpu/drm/xe/tests/xe_eudebug.c line 102
Quoted 5 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +5
-0+KUNIT_EXPECT_EQ_MSG (test, reg_bits_expected, reg_bits, +"Invalid bits set for %s\n" ,reg_to_str (reg)); +} + +static void __check_regs (struct xe_gt *gt,bool enable_eudebug)
nit: maybe this function should be split into two:
- first that returns register
- second that runs tests on it?
Quoted 19 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +17
-0+{ +struct xe_device *xe =gt_to_xe (gt); + +if (GRAPHICS_VERx100 (xe) >=1200 ) +check_reg (gt, enable_eudebug,TD_CTL .__reg); + +if (GRAPHICS_VERx100 (xe) >=1250 &&GRAPHICS_VERx100 (xe) <=1274 ) +check_reg (gt, enable_eudebug,ROW_CHICKEN .__reg); + +if (xe->info.platform ==XE_PVC ) +check_reg (gt, enable_eudebug,ROW_CHICKEN2 .__reg); + +if (GRAPHICS_VERx100 (xe) >=2000 &&GRAPHICS_VERx100 (xe) <=2004 ) +check_reg (gt, enable_eudebug,ROW_CHICKEN3 .__reg); +} + +static void check_regs (struct xe_device *xe,bool enable_eudebug)
drivers/gpu/drm/xe/tests/xe_eudebug.c line 129
Quoted 10 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +10
-0+{ +struct kunit *test =kunit_get_current_test (); +struct xe_gt *gt; +unsigned int fw_ref; +u8 id; + +kunit_printk (KERN_DEBUG , test,"Check regs for eudebug %s\n" , + enable_eudebug ?"enabled" :"disabled" ); + +xe_pm_runtime_get (xe);
nit: no need to take extra rpm, our live test helper takes care of it
Quoted 12 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +12
-0+for_each_gt (gt, xe, id) { +if (xe_gt_is_media_type (gt)) +continue ; + +/* XXX: Figure out per platform proper domain */ + fw_ref =xe_force_wake_get (gt_to_fw (gt),XE_FORCEWAKE_ALL ); +KUNIT_ASSERT_TRUE_MSG (test, fw_ref,"Forcewake failed.\n" ); + +__check_regs (gt, enable_eudebug); + +xe_force_wake_put (gt_to_fw (gt), fw_ref); + }
drivers/gpu/drm/xe/tests/xe_eudebug.c line 151
Quoted 10 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +10
-0+xe_pm_runtime_put (xe); +} + +static int toggle_reg_value (struct xe_device *xe) +{ +struct kunit *test =kunit_get_current_test (); +bool enable_eudebug =xe_eudebug_is_enabled (xe); + +kunit_printk (KERN_DEBUG , test,"Test eudebug WAs for graphics version: %u\n" , +GRAPHICS_VERx100 (xe));
nit: if GFX version is so important for EUDEBUG then maybe this message should be part of the custom test_init()?
static int xe_eudebug_test_init(test)
{
struct xe_device *xe;
xe_kunit_helper_xe_device_live_test_init(test);
xe = test->priv;
kunit_info(test, "running on graphics version: %u", GRAPHICS_VERx100(xe));
return 0;
}drivers/gpu/drm/xe/tests/xe_eudebug.c line 164
Quoted 13 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +13
-0+ +check_regs (xe, enable_eudebug); + +xe_eudebug_enable (xe, !enable_eudebug); +check_regs (xe, !enable_eudebug); + +xe_eudebug_enable (xe, enable_eudebug); +check_regs (xe, enable_eudebug); + +return 0 ; +} + +static void xe_eudebug_toggle_reg_kunit (struct kunit *test)
nit: no need to add 'xe_eudebug' prefix as this test case is already in 'xe_eudebug' suite
nit: this '_kunit' suffix seems unnecessary
see https://docs.kernel.org/dev-tools/kunit/style.html#test-cases
Quoted 47 lines
drivers/gpu/drm/xe/tests/xe_eudebug.c new file +19
-0+{ +struct xe_device *xe = test->priv; + +toggle_reg_value (xe); +} + +static struct kunit_case xe_eudebug_tests[] = { +KUNIT_CASE_PARAM (xe_eudebug_toggle_reg_kunit, + xe_pci_live_device_gen_param), + {} +}; + +VISIBLE_IF_KUNIT +struct kunit_suite xe_eudebug_test_suite = { + .name ="xe_eudebug" , + .test_cases = xe_eudebug_tests, + .init = xe_kunit_helper_xe_device_live_test_init, +}; +EXPORT_SYMBOL_IF_KUNIT (xe_eudebug_test_suite);drivers/gpu/drm/xe/tests/xe_live_test_mod.c +5
-0@@ -19,6 +19,11 @@ kunit_test_suite(xe_migrate_test_suite);kunit_test_suite (xe_mocs_test_suite);kunit_test_suite (xe_guc_g2g_test_suite); +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +extern struct kunit_suite xe_eudebug_test_suite; +kunit_test_suite (xe_eudebug_test_suite); +#endif +MODULE_AUTHOR ("Intel Corporation" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("xe live kunit tests" );drivers/gpu/drm/xe/xe_eudebug.c +4
-0@@ -2242,3 +2242,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,return xe_eudebug_connect (xe, file, param); } + +#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST ) +#include "tests/xe_eudebug.c" +#endif
PATCH 17/24 drm/xe: Implement SR-IOV and eudebug exclusivity
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
EU debug functionality relies on access to specific mmio registers. Since VFs don't have access to those registers and in order to avoid interference with VFs, make SR-IOV and eudebug functionality exclusive. I.e. don't allow to enable eudebug in VF mode and don't allow to enable eudebug when any VFs are provisioned. Likewise, don't allow to provision VFs when eudebug is enabled.
--- drivers/gpu/drm/xe/tests/xe_eudebug.c | 10 ++++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 23 +++++++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/tests/xe_eudebug.c +10 -0
@@ -8,9 +8,13 @@#include "regs/xe_gt_regs.h" #include "regs/xe_engine_regs.h" +#include "xe_device.h" +#include "xe_eudebug.h" #include "xe_force_wake.h" +#include "xe_gt.h" #include "xe_gt_mcr.h" #include "xe_mmio.h" +#include "xe_pm.h" #include "tests/xe_kunit_helpers.h" #include "tests/xe_pci_test.h"
@@ -147,6 +151,12 @@ static int toggle_reg_value(struct xe_device *xe)struct kunit *test =kunit_get_current_test ();bool enable_eudebug =xe_eudebug_is_enabled (xe); +if (IS_SRIOV_VF (xe)) +kunit_skip (test,"eudebug not available in SR-IOV VF mode\n" ); + +if (xe->eudebug.state ==XE_EUDEBUG_NOT_SUPPORTED ) +kunit_skip (test,"eudebug not supported\n" ); +kunit_printk (KERN_DEBUG , test,"Test eudebug WAs for graphics version: %u\n" ,GRAPHICS_VERx100 (xe));
drivers/gpu/drm/xe/xe_eudebug.c +21 -2
@@ -24,6 +24,7 @@#include "xe_hw_engine.h" #include "xe_macros.h" #include "xe_pm.h" +#include "xe_sriov_pf.h" #include "xe_sync.h" #include "xe_vm.h"
@@ -2084,6 +2085,7 @@ bool xe_eudebug_is_enabled(struct xe_device *xe)int xe_eudebug_enable (struct xe_device *xe,bool enable) {struct xe_gt *gt; +int ret;int i;u8 id;
@@ -2104,6 +2106,14 @@ int xe_eudebug_enable(struct xe_device *xe, bool enable)return 0 ; } +if (enable &&IS_SRIOV_PF (xe)) { + ret =xe_sriov_pf_lockdown (xe); +if (ret) { +mutex_unlock (&xe->eudebug.lock); +return ret; + } + } +xe_pm_runtime_get (xe);for_each_gt (gt, xe, id) {
@@ -2124,11 +2134,15 @@ int xe_eudebug_enable(struct xe_device *xe, bool enable) XE_EUDEBUG_ENABLED :XE_EUDEBUG_DISABLED ;mutex_unlock (&xe->eudebug.lock); -if (enable) +if (enable) {attention_poll_start (xe); -else + }else {attention_poll_stop (xe); +if (IS_SRIOV_PF (xe)) +xe_sriov_pf_end_lockdown (xe); + } +return 0 ; }
@@ -2190,6 +2204,11 @@ void xe_eudebug_init(struct xe_device *xe) xe->eudebug.state =XE_EUDEBUG_NOT_SUPPORTED ; +if (IS_SRIOV_VF (xe)) { +drm_info (&xe->drm,"eudebug not available in SR-IOV VF mode\n" ); +return ; + } + err =drmm_mutex_init (dev, &xe->eudebug.lock);if (err) goto out_err;
Signature · 1 line
2.43.0
PATCH 18/24 drm/xe: Add xe_client_debugfs and introduce debug_data file
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
Create a debug_data file for each xe file/client which is supposed to list all mapped debug data and attempts to mimic '/proc/pid/maps'. Each line represents a single mapping and has the following format:
<vm id> <begin>-<end> <flags> <offset> <pathname>
--- drivers/gpu/drm/xe/Makefile | 3 +- drivers/gpu/drm/xe/xe_client_debugfs.c | 118 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_client_debugfs.h | 19 ++++ drivers/gpu/drm/xe/xe_device.c | 3 + 4 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/xe/xe_client_debugfs.c create mode 100644 drivers/gpu/drm/xe/xe_client_debugfs.h
drivers/gpu/drm/xe/Makefile +2 -1
@@ -354,7 +354,8 @@ ifeq ($(CONFIG_DRM_FBDEV_EMULATION),y) endif ifeq ($(CONFIG_DEBUG_FS),y) - xe-y += xe_debugfs.o \ + xe-y += xe_client_debugfs.o \ + xe_debugfs.o \ xe_gt_debugfs.o \ xe_gt_sriov_vf_debugfs.o \ xe_gt_stats.o \
drivers/gpu/drm/xe/xe_client_debugfs.c new file +118 -0
118 lines not on this page · raw message
drivers/gpu/drm/xe/xe_client_debugfs.h new file +19 -0
@@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef _XE_CLIENT_DEBUGFS_H_ +#define _XE_CLIENT_DEBUGFS_H_ + +#include <linux/debugfs.h> + +struct xe_file ; + +#ifdef CONFIG_DEBUG_FS +void xe_client_debugfs_register (struct xe_file *xef); +#else +static inline void xe_client_debugfs_register (struct xe_file *xef) { } +#endif + +#endif // _XE_CLIENT_DEBUGFS_H_
drivers/gpu/drm/xe/xe_device.c +3 -0
@@ -26,6 +26,7 @@#include "regs/xe_regs.h" #include "xe_bo.h" #include "xe_bo_evict.h" +#include "xe_client_debugfs.h" #include "xe_configfs.h" #include "xe_debugfs.h" #include "xe_defaults.h"
@@ -127,6 +128,8 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)put_task_struct (task); } +xe_client_debugfs_register (xef); +return 0 ; }
Signature · 1 line
2.43.0
PATCH 19/24 drm/xe/eudebug: Allow getting eudebug instance during discovery
In reply to Mika KuoppalaFrom: Maciej Patelczyk <[email protected]>
Allow to get eudebug instance even if discovery has not yet finished.
This is needed for internal queuing pagefault events if discovery is running.
--- drivers/gpu/drm/xe/xe_eudebug.c | 35 +++++++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_eudebug.h | 2 ++ 2 files changed, 33 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_eudebug.c +31 -4
@@ -467,7 +467,7 @@ static int _xe_eudebug_disconnect(struct xe_eudebug *d, })static struct xe_eudebug * -xe_eudebug_get_nolock (struct xe_file *xef) +__xe_eudebug_get (struct xe_file *xef) {struct xe_eudebug *d;
@@ -480,8 +480,22 @@ xe_eudebug_get_nolock(struct xe_file *xef)if (!d)return NULL ; -if (xe_eudebug_detached (d) || - !completion_done (&d->discovery)) { +if (xe_eudebug_detached (d)) { +xe_eudebug_put (d); +return NULL ; + } + +return d; +} + +static struct xe_eudebug * +_xe_eudebug_get (struct xe_file *xef) +{ +struct xe_eudebug *d; + + d =__xe_eudebug_get (xef); + +if (d && !completion_done (&d->discovery)) {xe_eudebug_put (d);return NULL ; }
@@ -494,7 +508,20 @@ xe_eudebug_get(struct xe_file *xef) {lockdep_assert_held (&xef->eudebug.ioctl_lock); -return xe_eudebug_get_nolock (xef); +return _xe_eudebug_get (xef); +} + +struct xe_eudebug * +xe_eudebug_get_nolock (struct xe_file *xef) +{ +return _xe_eudebug_get (xef); +} + +/* Returns eudebug instance even if discovery is running */ +struct xe_eudebug * +xe_eudebug_get_nolock_with_discovery (struct xe_file *xef) +{ +return __xe_eudebug_get (xef); } static int xe_eudebug_queue_event(struct xe_eudebug *d,
drivers/gpu/drm/xe/xe_eudebug.h +2 -0
@@ -72,6 +72,8 @@ void xe_eudebug_ufence_init(struct xe_user_fence *ufence);void xe_eudebug_ufence_fini (struct xe_user_fence *ufence);bool xe_eudebug_ufence_track (struct xe_user_fence *ufence); +struct xe_eudebug *xe_eudebug_get_nolock (struct xe_file *xef); +struct xe_eudebug *xe_eudebug_get_nolock_with_discovery (struct xe_file *xef);void xe_eudebug_put (struct xe_eudebug *d);#else
Signature · 1 line
2.43.0
PATCH 20/24 drm/xe/eudebug: Add read/count/compare helper for eu attention
In reply to Mika KuoppalaFrom: Gwan-gyeong Mun <[email protected]>
Add xe_eu_attentions structure to capture and store eu attention bits. Add a function to count the number of eu threads that have turned on from eu attentions, and add a function to count the number of eu threads that have changed on a state between eu attentions.
v2: fix array size calculation (Christoph)
v3: remote timestamp (Maciej)
--- drivers/gpu/drm/xe/xe_gt_debug.c | 63 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_gt_debug.h | 9 +++- drivers/gpu/drm/xe/xe_gt_debug_types.h | 22 +++++++++ 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/xe/xe_gt_debug_types.h
drivers/gpu/drm/xe/xe_gt_debug.c +63 -0
@@ -3,12 +3,14 @@* Copyright © 2023 Intel Corporation */ +#include <linux/delay.h> #include "regs/xe_gt_regs.h" #include "xe_device.h" #include "xe_force_wake.h" #include "xe_gt.h" #include "xe_gt_topology.h" #include "xe_gt_debug.h" +#include "xe_gt_debug_types.h" #include "xe_gt_mcr.h" #include "xe_pm.h" #include "xe_macros.h"
@@ -177,3 +179,64 @@ int xe_gt_eu_threads_needing_attention(struct xe_gt *gt)return err <0 ?0 : err; } + +static inline unsigned int +xe_eu_attentions_count (const struct xe_eu_attentions *a) +{ +return bitmap_weight ((void *)a->att, a->size *BITS_PER_BYTE ); +} + +void xe_gt_eu_attentions_read (struct xe_gt *gt, +struct xe_eu_attentions *a, +const unsigned int settle_time_ms) +{ +unsigned int attn, prev =0 ; +ktime_t end, now; + + now =ktime_get_raw (); +/* Initially wait longer for attentions to appear */ + end =ktime_add_ms (now, settle_time_ms *10 ); + + a->size =min_t (int, +xe_gt_eu_attention_bitmap_size (gt), +sizeof (a->att)); + +do { +if (xe_gt_eu_attention_bitmap (gt, a->att, a->size) <0 ) +return ; + + attn =xe_eu_attentions_count (a); + + now =ktime_get_raw (); + +if (attn > prev) { + prev = attn; + end =ktime_add_ms (now, settle_time_ms); + } + +if (settle_time_ms) +udelay (5 ); + +/* +* XXX We are gathering data for production SIP to find +* the upper limit of settle time. For now, we wait full +* timeout value regardless. +*/ + }while ((attn < a->size *8 ) &&ktime_before (now, end)); +} + +unsigned int xe_eu_attentions_xor_count (const struct xe_eu_attentions *a, +const struct xe_eu_attentions *b) +{ +unsigned int count =0 ; +unsigned int i; + +if (XE_WARN_ON (a->size != b->size)) +return -EINVAL ; + +for (i =0 ; i < a->size; i++) +if (a->att[i] ^ b->att[i]) + count++; + +return count; +}
drivers/gpu/drm/xe/xe_gt_debug.h +8 -1
@@ -9,9 +9,10 @@#include <linux/bits.h> #include <linux/math.h> +struct xe_eu_attentions ;struct xe_gt ; -#define XE_GT_ATTENTION_TIMEOUT_MS 100 +#define XE_GT_ATTENTION_TIMEOUT_MS 150#define XE_GT_EU_ATT_ROWS 2uunsigned int xe_gt_eu_att_regs (struct xe_gt *gt);
@@ -29,4 +30,10 @@ int xe_gt_eu_attention_bitmap_size(struct xe_gt *gt);int xe_gt_eu_attention_bitmap (struct xe_gt *gt,u8 *bits,unsigned int bitmap_size); +void xe_gt_eu_attentions_read (struct xe_gt *gt, +struct xe_eu_attentions *a, +const unsigned int settle_time_ms); + +unsigned int xe_eu_attentions_xor_count (const struct xe_eu_attentions *a, +const struct xe_eu_attentions *b);#endif
drivers/gpu/drm/xe/xe_gt_debug_types.h new file +22 -0
@@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef __XE_GT_DEBUG_TYPES_ +#define __XE_GT_DEBUG_TYPES_ + +#include <linux/types.h> + +#define XE_GT_EU_ATT_ROWS 2u +#define XE_GT_EU_ATT_MAX_THREADS 16 +#define XE_GT_EU_MAX_NUM 1024 + +struct xe_eu_attentions { +u8 att[XE_GT_EU_MAX_NUM * +XE_GT_EU_ATT_ROWS * +XE_GT_EU_ATT_MAX_THREADS /8 ]; +unsigned int size; +}; + +#endif
Signature · 1 line
2.43.0
PATCH 21/24 drm/xe/vm: Support for adding null page VMA to VM on request
In reply to Mika KuoppalaFrom: Gwan-gyeong Mun <[email protected]>
The XE2 (and PVC) HW has a limitation that the pagefault due to invalid access will halt the corresponding EUs. So, in order to activate the debugger, kmd needs to install the temporal page to unhalt the EUs. Plan to be used for pagefault handling when the EU debugger is running. The idea is to install a null page vma if the pagefault is from an invalid access. After installing null page pte, the user debugger can continue to run/inspect without causing a fatal failure or reset and stop. Based on Bruce's implementation [1].
[1] https://lore.kernel.org/intel-xe/[email protected]/
v2: s/NULL_VMA/DRM_GPUVA_SPARSE (Mika)
v3: use ERR_CAST as we dont return null (Mika)
--- drivers/gpu/drm/xe/xe_vm.c | 33 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_vm.h | 3 +++ 2 files changed, 36 insertions(+)
drivers/gpu/drm/xe/xe_vm.c +33 -0
@@ -5083,3 +5083,36 @@ void xe_vm_remove_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q) }up_write (&vm->exec_queues.lock); } + +struct xe_vma *xe_vm_create_null_vma (struct xe_vm *vm,u64 addr) +{ +struct xe_vma_mem_attr default_attr = { + .preferred_loc = { + .devmem_fd =DRM_XE_PREFERRED_LOC_DEFAULT_DEVICE , + .migration_policy =DRM_XE_MIGRATE_ALL_PAGES , + }, + .atomic_access =DRM_XE_ATOMIC_UNDEFINED , + .default_pat_index = vm->xe->pat.idx[XE_CACHE_NONE ], + .pat_index = vm->xe->pat.idx[XE_CACHE_NONE ], + }; +struct xe_vma *vma; +u32 page_size; +int err; + +if (xe_vm_is_closed_or_banned (vm)) +return ERR_PTR (-ENOENT ); + + page_size = vm->flags &XE_VM_FLAG_64K ?SZ_64K :SZ_4K ; + vma =xe_vma_create (vm,NULL ,0 , addr, addr + page_size -1 , + &default_attr,DRM_GPUVA_SPARSE ); +if (IS_ERR (vma)) +return ERR_CAST (vma); + + err =xe_vm_insert_vma (vm, vma); +if (err) { +xe_vma_destroy_late (vma); +return ERR_PTR (err); + } + +return vma; +}
drivers/gpu/drm/xe/xe_vm.h +3 -0
@@ -436,4 +436,7 @@ static inline struct drm_exec *xe_vm_validation_exec(struct xe_vm *vm) ((READ_ONCE(tile_present) & ~READ_ONCE(tile_invalidated)) & BIT((tile)->id))void xe_vma_mem_attr_copy (struct xe_vma_mem_attr *to,struct xe_vma_mem_attr *from); + +struct xe_vma *xe_vm_create_null_vma (struct xe_vm *vm,u64 addr); +#endif
Signature · 1 line
2.43.0
PATCH 22/24 drm/xe/eudebug: Introduce EU pagefault handling interface
In reply to Mika KuoppalaFrom: Gwan-gyeong Mun <[email protected]>
The XE2 (and PVC) HW has a limitation that the pagefault due to invalid access will halt the corresponding EUs. To solve this problem, introduce EU pagefault handling functionality, which allows to unhalt pagefaulted eu threads and to EU debugger to get inform about the eu attentions state of EU threads during execution.
If a pagefault occurs, send the DRM_XE_EUDEBUG_EVENT_PAGEFAULT event after handling the pagefault. The pagefault eudebug event follows the newly added drm_xe_eudebug_event_pagefault type.
When a pagefault occurs, it prevents to send the DRM_XE_EUDEBUG_EVENT_EU_ATTENTION event to the client during pagefault handling.
The page fault event delivery follows the below policy.
(1) If EU Debugger discovery has completed and pagefaulted eu threads turn on attention bit then pagefault handler delivers pagefault event directly.
(2) If a pagefault occurs during eu debugger discovery process, pagefault handler queues a pagefault event and sends the queued event when discovery has completed and pagefaulted eu threads turn on attention bit.
(3) If the pagefaulted eu thread struggles to turn on the attention bit within the specified time, the attention scan worker sends a pagefault event when it detects that the attention bit is turned on.
If multiple eu threads are running and a pagefault occurs due to accessing the same invalid address, send a single pagefault event (DRM_XE_EUDEBUG_EVENT_PAGEFAULT type) to the user debugger instead of a pagefault event for each of the multiple eu threads.
If eu threads (other than the one that caused the page fault before) access the new invalid addresses, send a new pagefault event.
As the attention scan worker send the eu attention event whenever the attention bit is turned on, user debugger receives attenion event immediately after pagefault event.
In this case, the page-fault event always precedes the attention event.
When the user debugger receives an attention event after a pagefault event, it can detect whether additional breakpoints or interrupts occur in addition to the existing pagefault by comparing the eu threads where the pagefault occurred with the eu threads where the attention bit is newly enabled.
v2: use only force exception (Joonas, Mika)
v3: rebased on v4 (Mika)
v4: streamline uapi, cleanups (Mika)
v5: struct member documentation (Mika)
v6: fault to fault_type (Mika)
v7: pagefault rework (Maciej)
--- drivers/gpu/drm/xe/Makefile | 2 +- drivers/gpu/drm/xe/xe_eudebug.c | 104 +++++- drivers/gpu/drm/xe/xe_eudebug.h | 8 + drivers/gpu/drm/xe/xe_eudebug_hw.c | 15 +- drivers/gpu/drm/xe/xe_eudebug_pagefault.c | 412 ++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug_pagefault.h | 63 ++++ drivers/gpu/drm/xe/xe_eudebug_types.h | 61 +++- drivers/gpu/drm/xe/xe_guc_pagefault.c | 3 +- drivers/gpu/drm/xe/xe_pagefault_types.h | 1 + include/uapi/drm/xe_drm_eudebug.h | 12 + 10 files changed, 658 insertions(+), 23 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug_pagefault.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug_pagefault.h
drivers/gpu/drm/xe/Makefile +1 -1
@@ -158,7 +158,7 @@ xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o # debugging shaders with gdb (eudebug) support -xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o xe_eudebug_hw.o xe_gt_debug.o +xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o xe_eudebug_hw.o xe_eudebug_pagefault.o xe_gt_debug.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.o
drivers/gpu/drm/xe/xe_eudebug.c +85 -19
196 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +8 -0
@@ -13,12 +13,14 @@ struct drm_file;struct xe_debug_data ;struct xe_device ;struct xe_file ; +struct xe_gt ;struct xe_vm ;struct xe_vma ;struct xe_vma_ops ;struct xe_exec_queue ;struct xe_user_fence ;struct xe_eudebug ; +struct xe_eudebug_pagefault ;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )
@@ -76,6 +78,12 @@ struct xe_eudebug *xe_eudebug_get_nolock(struct xe_file *xef);struct xe_eudebug *xe_eudebug_get_nolock_with_discovery (struct xe_file *xef);void xe_eudebug_put (struct xe_eudebug *d); +int xe_eudebug_send_pagefault_event (struct xe_eudebug *d, +struct xe_eudebug_pagefault *pf); + +void xe_eudebug_attention_poll_stop (struct xe_device *xe); +void xe_eudebug_attention_poll_start (struct xe_device *xe); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,
drivers/gpu/drm/xe/xe_eudebug_hw.c +14 -1
@@ -340,6 +340,7 @@ static int do_eu_control(struct xe_eudebug *d,void __user *const bitmask_ptr =u64_to_user_ptr (arg->bitmask_ptr);struct xe_device *xe = d->xe;struct xe_exec_queue *q, *active; +struct dma_fence *pf_fence;struct xe_lrc *lrc;unsigned int hw_attn_size, attn_size;u8 *bits =NULL ;
@@ -411,8 +412,20 @@ static int do_eu_control(struct xe_eudebug *d, goto out_free; } - ret = -EINVAL ;mutex_lock (&d->hw.lock); +do { + pf_fence =dma_fence_get (d->pf_fence); +if (pf_fence) { +mutex_unlock (&d->hw.lock); + ret =dma_fence_wait (pf_fence, true); +dma_fence_put (pf_fence); +if (ret) + goto out_free; +mutex_lock (&d->hw.lock); + } + }while (pf_fence); + + ret = -EINVAL ;switch (arg->cmd) {case DRM_XE_EUDEBUG_EU_CONTROL_CMD_INTERRUPT_ALL :
drivers/gpu/drm/xe/xe_eudebug_pagefault.c new file +412 -0
412 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_pagefault.h new file +63 -0
63 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h +60 -1
79 lines not on this page · raw message
drivers/gpu/drm/xe/xe_guc_pagefault.c +2 -1
@@ -4,6 +4,7 @@*/ #include "abi/guc_actions_abi.h" +#include "xe_eudebug_pagefault.h" #include "xe_guc.h" #include "xe_guc_ct.h" #include "xe_guc_pagefault.h"
@@ -35,7 +36,7 @@ static void guc_ack_fault(struct xe_pagefault *pf, int err)FIELD_PREP (PFR_ENG_CLASS , engine_class) | FIELD_PREP(PFR_PDATA, pdata), }; -struct xe_guc *guc = pf->producer.private; +struct xe_guc *guc =xe_eudebug_pagefault_get_private (pf->producer.private);xe_guc_ct_send (&guc->ct, action,ARRAY_SIZE (action),0 ,0 ); }
drivers/gpu/drm/xe/xe_pagefault_types.h +1 -0
@@ -10,6 +10,7 @@struct xe_gt ;struct xe_pagefault ; +struct xe_eudebug_pagefault ;/** enum xe_pagefault_access_type - Xe page fault access type */ enum xe_pagefault_access_type {
include/uapi/drm/xe_drm_eudebug.h +12 -0
@@ -53,6 +53,7 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_DEBUG_DATA 5#define DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE 6#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 7 +#define DRM_XE_EUDEBUG_EVENT_PAGEFAULT 8/** @flags: Flags */ __u16 flags;
@@ -358,6 +359,17 @@ struct drm_xe_eudebug_event_eu_attention {__u8 bitmask[]; }; +struct drm_xe_eudebug_event_pagefault { +struct drm_xe_eudebug_event base; + +__u64 exec_queue_handle; +__u64 lrc_handle; +__u32 flags; +__u32 bitmask_size; +__u64 pagefault_address; +__u8 bitmask[]; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.43.0
Re: [PATCH 22/24] drm/xe/eudebug: Introduce EU pagefault handling interface
Quoted 816 lines · Mika Kuoppala
From: Gwan-gyeong Mun <[email protected]>
The XE2 (and PVC) HW has a limitation that the pagefault due to invalid access will halt the corresponding EUs. To solve this problem, introduce EU pagefault handling functionality, which allows to unhalt pagefaulted eu threads and to EU debugger to get inform about the eu attentions state of EU threads during execution.
If a pagefault occurs, send the
DRM_XE_EUDEBUG_EVENT_PAGEFAULTevent after handling the pagefault. The pagefault eudebug event follows the newly addeddrm_xe_eudebug_event_pagefaulttype.
When a pagefault occurs, it prevents to send theDRM_XE_EUDEBUG_EVENT_EU_ATTENTIONevent to the client during pagefault handling.The page fault event delivery follows the below policy.
(1) If EU Debugger discovery has completed and pagefaulted eu threads turn on attention bit then pagefault handler delivers pagefault event directly.
(2) If a pagefault occurs during eu debugger discovery process, pagefault handler queues a pagefault event and sends the queued event when discovery has completed and pagefaulted eu threads turn on attention bit.
(3) If the pagefaulted eu thread struggles to turn on the attention bit within the specified time, the attention scan worker sends a pagefault event when it detects that the attention bit is turned on.If multiple eu threads are running and a pagefault occurs due to accessing the same invalid address, send a single pagefault event (
DRM_XE_EUDEBUG_EVENT_PAGEFAULTtype) to the user debugger instead of a pagefault event for each of the multiple eu threads.
If eu threads (other than the one that caused the page fault before) access the new invalid addresses, send a new pagefault event.As the attention scan worker send the eu attention event whenever the attention bit is turned on, user debugger receives attenion event immediately after pagefault event.
In this case, the page-fault event always precedes the attention event.When the user debugger receives an attention event after a pagefault event, it can detect whether additional breakpoints or interrupts occur in addition to the existing pagefault by comparing the eu threads where the pagefault occurred with the eu threads where the attention bit is newly enabled.
v2: use only force exception (Joonas, Mika)
v3: rebased on v4 (Mika)
v4: streamline uapi, cleanups (Mika)
v5: struct member documentation (Mika)
v6: fault tofault_type(Mika)
v7: pagefault rework (Maciej)Cc Matthew Brost <[email protected]>Cc Gustavo Sousa <[email protected]>Signed-off-by Gwan-gyeong Mun <[email protected]>Signed-off-by Jan Maślak <[email protected]>Signed-off-by Maciej Patelczyk <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/xe/Makefile | 2 +- drivers/gpu/drm/xe/xe_eudebug.c | 104 +++++- drivers/gpu/drm/xe/xe_eudebug.h | 8 + drivers/gpu/drm/xe/xe_eudebug_hw.c | 15 +- drivers/gpu/drm/xe/xe_eudebug_pagefault.c | 412 ++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug_pagefault.h | 63 ++++ drivers/gpu/drm/xe/xe_eudebug_types.h | 61 +++- drivers/gpu/drm/xe/xe_guc_pagefault.c | 3 +- drivers/gpu/drm/xe/xe_pagefault_types.h | 1 + include/uapi/drm/xe_drm_eudebug.h | 12 + 10 files changed, 658 insertions(+), 23 deletions(-)create mode 100644
drivers/gpu/drm/xe/xe_eudebug_pagefault.ccreate mode 100644drivers/gpu/drm/xe/xe_eudebug_pagefault.hdrivers/gpu/drm/xe/Makefile +1
-1@@ -158,7 +158,7 @@ xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o # debugging shaders with gdb (eudebug) support -xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o xe_eudebug_hw.o xe_gt_debug.o +xe-$(CONFIG_DRM_XE_EUDEBUG) += xe_eudebug.o xe_eudebug_vm.o xe_eudebug_hw.o xe_eudebug_pagefault.o xe_gt_debug.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.odrivers/gpu/drm/xe/xe_eudebug.c +85
-19@@ -17,11 +17,15 @@#include "xe_eudebug.h" #include "xe_eudebug_hw.h" #include "xe_eudebug_types.h" +#include "xe_eudebug_pagefault.h" #include "xe_eudebug_vm.h" #include "xe_exec_queue.h" +#include "xe_force_wake.h" #include "xe_gt.h" #include "xe_gt_debug.h" +#include "xe_gt_mcr.h" #include "xe_hw_engine.h" +#include "regs/xe_gt_regs.h" #include "xe_macros.h" #include "xe_pm.h" #include "xe_sriov_pf.h" @@ -261,9 +265,12 @@ static void xe_eudebug_free(struct kref *ref)while (kfifo_get (&d->events.fifo, &event))kfree (event); +xe_eudebug_pagefault_fini (d);xe_eudebug_resources_destroy (d); +mutex_destroy (&d->pf_lock);mutex_destroy (&d->hw.lock);mutex_destroy (&d->target.lock); +XE_WARN_ON (d->target.xef);xe_eudebug_assert (d, !kfifo_len (&d->events.fifo));@@ -440,7 +447,7 @@ static bool xe_eudebug_detach(struct xe_device *xe,eu_dbg (d,"session %lld detached with %d" , d->session, err);release_acks (d); - +xe_eudebug_pagefault_signal (target);remove_debugger (target);xe_file_put (target);@@ -1939,10 +1946,6 @@ static int xe_eudebug_handle_gt_attention(struct xe_gt *gt) {int ret; - ret =xe_gt_eu_threads_needing_attention (gt); -if (ret <=0 ) -return ret; - ret =xe_send_gt_attention (gt);/* Discovery in progress, fake it */ @@ -1952,6 +1955,65 @@ static int xe_eudebug_handle_gt_attention(struct xe_gt *gt)return ret; } +int xe_eudebug_send_pagefault_event (struct xe_eudebug *d, +struct xe_eudebug_pagefault *pf) +{ +struct drm_xe_eudebug_event_pagefault *ep; +struct drm_xe_eudebug_event *event; +int h_queue, h_lrc; +u32 size =xe_gt_eu_attention_bitmap_size (pf->q->gt) *3 ; +u32 sz =struct_size (ep, bitmask, size); +int ret; + +XE_WARN_ON (pf->lrc_idx <0 || pf->lrc_idx >= pf->q->width); + +XE_WARN_ON (!xe_exec_queue_is_debuggable (pf->q)); + + h_queue =find_handle (d,XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , pf->q); +if (h_queue <0 ) +return h_queue; + + h_lrc =find_handle (d,XE_EUDEBUG_RES_TYPE_LRC , pf->q->lrc[pf->lrc_idx]); +if (h_lrc <0 ) +return h_lrc; + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_PAGEFAULT ,0 , +DRM_XE_EUDEBUG_EVENT_STATE_CHANGE , sz); + +if (!event) +return -ENOSPC ; + + ep =cast_event (ep, event); + ep->exec_queue_handle = h_queue; + ep->lrc_handle = h_lrc; + ep->bitmask_size = size; + ep->pagefault_address = pf->fault.addr; + +memcpy (ep->bitmask, pf->attentions.before.att, pf->attentions.before.size); +memcpy (ep->bitmask + pf->attentions.before.size, + pf->attentions.after.att, pf->attentions.after.size); +memcpy (ep->bitmask + pf->attentions.before.size + pf->attentions.after.size, + pf->attentions.resolved.att, pf->attentions.resolved.size); + + event->seqno =atomic_long_inc_return (&d->events.seqno); + + ret =xe_eudebug_queue_event (d, event); +if (ret) +xe_eudebug_disconnect (d, ret); + +return ret; +} + +static void handle_attention_fail (struct xe_gt *gt,int gt_id,int ret) +{ +/* TODO: error capture */ +drm_info (>_to_xe (gt)->drm, +"gt:%d unable to handle eu attention ret = %d\n" , + gt_id, ret); + +xe_gt_reset_async (gt); +} +static void attention_poll_work (struct work_struct *work) { struct xe_device *xe = container_of(work, typeof(*xe),@@ -1975,15 +2037,15 @@ static void attention_poll_work(struct work_struct *work)if (gt->info.type !=XE_GT_TYPE_MAIN )continue ; - ret =xe_eudebug_handle_gt_attention (gt); -if (ret) { -/* TODO: error capture */ -drm_info (>_to_xe (gt)->drm, -"gt:%d unable to handle eu attention ret=%d\n" , - gt_id, ret); +if (!xe_gt_eu_threads_needing_attention (gt)) +continue ; + + ret =xe_eudebug_handle_pagefaults (gt); +if (!ret) + ret =xe_eudebug_handle_gt_attention (gt); -xe_gt_reset_async (gt); - } +if (ret) +handle_attention_fail (gt, gt_id, ret); }xe_pm_runtime_put (xe);@@ -1992,12 +2054,12 @@ static void attention_poll_work(struct work_struct *work)schedule_delayed_work (&xe->eudebug.attention_dwork, delay); } -static void attention_poll_stop (struct xe_device *xe) +void xe_eudebug_attention_poll_stop (struct xe_device *xe) {cancel_delayed_work_sync (&xe->eudebug.attention_dwork); } -static void attention_poll_start (struct xe_device *xe) +void xe_eudebug_attention_poll_start (struct xe_device *xe) {mod_delayed_work (system_wq, &xe->eudebug.attention_dwork,0 ); }@@ -2042,6 +2104,8 @@ xe_eudebug_connect(struct xe_device *xe,kref_init (&d->ref);mutex_init (&d->target.lock);mutex_init (&d->hw.lock); +mutex_init (&d->pf_lock); +INIT_LIST_HEAD (&d->pagefaults);init_waitqueue_head (&d->events.write_done);init_waitqueue_head (&d->events.read_done);init_completion (&d->discovery);@@ -2079,7 +2143,7 @@ xe_eudebug_connect(struct xe_device *xe,kref_get (&d->ref);/* for discovery */ queue_work (xe->eudebug.wq, &d->discovery_work); -attention_poll_start (xe); +xe_eudebug_attention_poll_start (xe);eu_dbg (d,"connected session %lld" , d->session);@@ -2092,6 +2156,7 @@ xe_eudebug_connect(struct xe_device *xe, err_free_res:xe_eudebug_resources_destroy (d); err_free: +mutex_destroy (&d->pf_lock);mutex_destroy (&d->hw.lock);mutex_destroy (&d->target.lock);kfree (d);@@ -2101,6 +2166,7 @@ xe_eudebug_connect(struct xe_device *xe,void xe_eudebug_file_close (struct xe_file *xef) { +xe_eudebug_pagefault_signal (xef);remove_debugger (xef); }@@ -2162,9 +2228,9 @@ int xe_eudebug_enable(struct xe_device *xe, bool enable)mutex_unlock (&xe->eudebug.lock);if (enable) { -attention_poll_start (xe); +xe_eudebug_attention_poll_start (xe); }else { -attention_poll_stop (xe); +xe_eudebug_attention_poll_stop (xe);if (IS_SRIOV_PF (xe))xe_sriov_pf_end_lockdown (xe);@@ -2217,7 +2283,7 @@ static void xe_eudebug_fini(struct drm_device *dev, void *__unused)xe_assert (xe,list_empty (&xe->eudebug.targets)); -attention_poll_stop (xe); +xe_eudebug_attention_poll_stop (xe); }void xe_eudebug_init (struct xe_device *xe)drivers/gpu/drm/xe/xe_eudebug.h +8
-0@@ -13,12 +13,14 @@ struct drm_file;struct xe_debug_data ;struct xe_device ;struct xe_file ; +struct xe_gt ;struct xe_vm ;struct xe_vma ;struct xe_vma_ops ;struct xe_exec_queue ;struct xe_user_fence ;struct xe_eudebug ; +struct xe_eudebug_pagefault ;#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG )@@ -76,6 +78,12 @@ struct xe_eudebug *xe_eudebug_get_nolock(struct xe_file *xef);struct xe_eudebug *xe_eudebug_get_nolock_with_discovery (struct xe_file *xef);void xe_eudebug_put (struct xe_eudebug *d); +int xe_eudebug_send_pagefault_event (struct xe_eudebug *d, +struct xe_eudebug_pagefault *pf); + +void xe_eudebug_attention_poll_stop (struct xe_device *xe); +void xe_eudebug_attention_poll_start (struct xe_device *xe); +#else static inline int xe_eudebug_connect_ioctl(struct drm_device *dev,drivers/gpu/drm/xe/xe_eudebug_hw.c +14
-1@@ -340,6 +340,7 @@ static int do_eu_control(struct xe_eudebug *d,void __user *const bitmask_ptr =u64_to_user_ptr (arg->bitmask_ptr);struct xe_device *xe = d->xe;struct xe_exec_queue *q, *active; +struct dma_fence *pf_fence;struct xe_lrc *lrc;unsigned int hw_attn_size, attn_size;u8 *bits =NULL ;@@ -411,8 +412,20 @@ static int do_eu_control(struct xe_eudebug *d, goto out_free; } - ret = -EINVAL ;mutex_lock (&d->hw.lock); +do { + pf_fence =dma_fence_get (d->pf_fence); +if (pf_fence) { +mutex_unlock (&d->hw.lock); + ret =dma_fence_wait (pf_fence, true); +dma_fence_put (pf_fence); +if (ret) + goto out_free; +mutex_lock (&d->hw.lock); + } + }while (pf_fence); + + ret = -EINVAL ;switch (arg->cmd) {case DRM_XE_EUDEBUG_EU_CONTROL_CMD_INTERRUPT_ALL :drivers/gpu/drm/xe/xe_eudebug_pagefault.c new file +412
-0@@ -0,0 +1,412 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023-2025 Intel Corporation +*/ + +#include "xe_eudebug_pagefault.h" + +#include <linux/delay.h> + +#include "xe_exec_queue.h" +#include "xe_eudebug.h" +#include "xe_eudebug_hw.h" +#include "xe_force_wake.h" +#include "xe_gt_debug.h" +#include "xe_gt_mcr.h" +#include "regs/xe_gt_regs.h" +#include "xe_vm.h" + +static struct xe_gt * +epf_to_gt (struct xe_eudebug_pagefault *epf) +{ +return epf->q->gt; +} + +static void destroy_pagefault (struct xe_eudebug_pagefault *epf) +{ +xe_exec_queue_put (epf->q); +kfree (epf); +} + +static void queue_pagefault (struct xe_eudebug *d, +struct xe_eudebug_pagefault *epf) +{ +mutex_lock (&d->pf_lock); +list_add_tail (&epf->link, &d->pagefaults); +mutex_unlock (&d->pf_lock); +} + +static const char * +pagefault_get_driver_name (struct dma_fence *dma_fence) +{ +return "xe" ; +} + +static const char * +pagefault_fence_get_timeline_name (struct dma_fence *dma_fence) +{ +return "eudebug_pagefault_fence" ; +} + +static const struct dma_fence_ops pagefault_fence_ops = { + .get_driver_name = pagefault_get_driver_name, + .get_timeline_name = pagefault_fence_get_timeline_name, +}; + +struct pagefault_fence { +struct dma_fence base; +spinlock_t lock; +}; + +static struct pagefault_fence *pagefault_fence_create (void ) +{ +struct pagefault_fence *fence; + + fence =kzalloc_obj (*fence,GFP_KERNEL ); +if (fence ==NULL ) +return NULL ; + +spin_lock_init (&fence->lock); +dma_fence_init (&fence->base, &pagefault_fence_ops, &fence->lock, +dma_fence_context_alloc (1 ),1 ); + +return fence; +} + +static void xe_eudebug_pagefault_set_private (struct xe_pagefault *pf, +struct xe_eudebug_pagefault *epf) +{ +u64 private = (u64 )pf->producer.private; + +XE_WARN_ON (private &XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ); + + epf->private = pf->producer.private; + private = (u64 )epf |XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ; + pf->producer.private = (void *)private; +} + +void *xe_eudebug_pagefault_get_private (void *private) +{ +if ((u64 )private &XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ) { +struct xe_eudebug_pagefault *epf = (void *)((u64 )private & + ~XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ); +return epf->private; + } +return private; +} + +int +xe_eudebug_pagefault_create (struct xe_vm *vm,struct xe_pagefault *pf) +{ +struct pagefault_fence *pf_fence; +struct xe_eudebug_pagefault *epf; +struct xe_gt *gt = pf->gt; +struct xe_exec_queue *q; +struct dma_fence *fence; +struct xe_eudebug *d; +unsigned int fw_ref; +int lrc_idx; +u32 td_ctl; + + d =xe_eudebug_get_nolock_with_discovery (vm->xef); +if (!d) +return -ENOENT ; + + q =xe_gt_runalone_active_queue_get (gt, &lrc_idx); +if (IS_ERR (q)) + goto err_put_eudebug; + +if (XE_WARN_ON (q->vm != vm)) + goto err_put_exec_queue; + +if (!xe_exec_queue_is_debuggable (q)) + goto err_put_exec_queue; + + fw_ref =xe_force_wake_get (gt_to_fw (gt), q->hwe->domain); +if (!fw_ref) + goto err_put_exec_queue; + +/* +* If there is no debug functionality (TD_CTL_GLOBAL_DEBUG_ENABLE, etc.), +* don't proceed pagefault routine for eu debugger. +*/ + td_ctl =xe_gt_mcr_unicast_read_any (gt,TD_CTL ); +if (!td_ctl) + goto err_put_fw; + + epf =kzalloc_obj (*epf,GFP_KERNEL ); +if (!epf) + goto err_put_fw; + +xe_eudebug_attention_poll_stop (gt_to_xe (gt)); + +mutex_lock (&d->hw.lock); + fence =dma_fence_get (d->pf_fence); + +if (fence) { +/* +* Unless there are parallel PF routines this should +* not happen. +*/ +dma_fence_put (fence); + goto err_unlock_hw_lock; + } + + pf_fence =pagefault_fence_create (); +if (!pf_fence) + goto err_unlock_hw_lock; + + d->pf_fence = &pf_fence->base; + +INIT_LIST_HEAD (&epf->link); + +xe_gt_eu_attentions_read (gt, &epf->attentions.before,0 ); + +if (td_ctl &TD_CTL_FORCE_EXCEPTION ) +eu_warn (d,"force exception already set!" ); + +/* Halt regardless of thread dependencies */ +while (!(td_ctl &TD_CTL_FORCE_EXCEPTION )) { +xe_gt_mcr_multicast_write (gt,TD_CTL , + td_ctl |TD_CTL_FORCE_EXCEPTION ); +udelay (200 ); + td_ctl =xe_gt_mcr_unicast_read_any (gt,TD_CTL ); + } + +xe_gt_eu_attentions_read (gt, &epf->attentions.after, +XE_GT_ATTENTION_TIMEOUT_MS ); + +mutex_unlock (&d->hw.lock); + +/* +* xe_exec_queue_put() will be called from destroy_pagefault() +* or handle_pagefault() +*/ + epf->q = q; + epf->lrc_idx = lrc_idx; + epf->fault.addr = pf->consumer.page_addr; + epf->fault.type_level = pf->consumer.fault_type_level; + epf->fault.access_type = pf->consumer.access_type; + +xe_force_wake_put (gt_to_fw (gt), fw_ref); +xe_eudebug_put (d); + +xe_eudebug_pagefault_set_private (pf, epf); + +return 0 ; + +err_unlock_hw_lock: +mutex_unlock (&d->hw.lock); +xe_eudebug_attention_poll_start (gt_to_xe (gt)); +kfree (epf); +err_put_fw: +xe_force_wake_put (gt_to_fw (gt), fw_ref); +err_put_exec_queue: +xe_exec_queue_put (q); +err_put_eudebug: +xe_eudebug_put (d); + +return -EINVAL ; +} + +static struct xe_eudebug_pagefault *xe_debubug_get_epf (struct xe_pagefault *pf) +{ +u64 private = (u64 )pf->producer.private; + +if (private &XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ) +return (void *)(private & ~XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ); + +return NULL ; +} + +struct xe_vma *xe_eudebug_create_vma (struct xe_vm *vm,struct xe_pagefault *pf) +{ +struct xe_vma *vma =NULL ; +struct xe_eudebug_pagefault *epf =xe_debubug_get_epf (pf); + +if (!epf) +return NULL ; + + vma =xe_vm_create_null_vma (vm, pf->consumer.page_addr); +if (IS_ERR (vma)) +return vma; + +return vma; +} + +static void +xe_eudebug_pagefault_process (struct xe_eudebug_pagefault *epf) +{ +struct xe_gt *gt =epf_to_gt (epf); + +xe_gt_eu_attentions_read (gt, &epf->attentions.resolved, +XE_GT_ATTENTION_TIMEOUT_MS ); +} + +static int send_queued_pagefaults_locked (struct xe_eudebug *d) +{ +struct xe_eudebug_pagefault *epf, *epf_temp; +int ret =0 ; + +list_for_each_entry_safe (epf, epf_temp, &d->pagefaults, link) { + ret =xe_eudebug_send_pagefault_event (d, epf); + +list_del (&epf->link); + +destroy_pagefault (epf); + +if (ret) +break ; + } +return ret; +} + +static int send_queued_pagefaults (struct xe_eudebug *d) +{ +int ret =0 ; + +mutex_lock (&d->pf_lock); + ret =send_queued_pagefaults_locked (d); +mutex_unlock (&d->pf_lock); + +return ret; +} + +static void +_xe_eudebug_pagefault_destroy (struct xe_eudebug_pagefault *epf,int err) +{ +struct xe_gt *gt =epf_to_gt (epf); +struct xe_vm *vm = epf->q->vm; +struct xe_eudebug *d; +struct dma_fence *f; +unsigned int fw_ref; +bool queued = false; +u32 td_ctl, ret =0 ; + + fw_ref =xe_force_wake_get (gt_to_fw (gt), epf->q->hwe->domain); +if (!fw_ref) { +struct xe_device *xe =gt_to_xe (gt); + +drm_warn (&xe->drm,"Forcewake fail: Can not recover TD_CTL" ); + }else { + td_ctl =xe_gt_mcr_unicast_read_any (gt,TD_CTL ); +xe_gt_mcr_multicast_write (gt,TD_CTL , td_ctl & + ~(TD_CTL_FORCE_EXCEPTION )); +xe_force_wake_put (gt_to_fw (gt), fw_ref); + } + + d =xe_eudebug_get_nolock_with_discovery (vm->xef); +if (!d) + goto epf_free; + +if (!err) { +if (completion_done (&d->discovery)) { +/* Just in case there was a discovery */ + ret =send_queued_pagefaults_locked (d); +if (!ret) + ret =xe_eudebug_send_pagefault_event (d, epf); + }else { +queue_pagefault (d, epf); + queued = true; + } + } + +mutex_lock (&d->hw.lock); + f = d->pf_fence; + d->pf_fence =NULL ; +mutex_unlock (&d->hw.lock); + +if (f) { +dma_fence_signal (f); +dma_fence_put (f); + } + +xe_eudebug_put (d); + + epf_free: +if (!queued || ret) +destroy_pagefault (epf); + +xe_eudebug_attention_poll_start (gt_to_xe (gt)); +} + +int xe_eudebug_handle_pagefaults (struct xe_gt *gt) +{ +struct xe_exec_queue *q; +struct xe_eudebug *d; +int ret, lrc_idx; + + q =xe_gt_runalone_active_queue_get (gt, &lrc_idx); +if (IS_ERR (q)) +return PTR_ERR (q); + +if (!xe_exec_queue_is_debuggable (q)) { + ret = -EPERM ; + goto out_exec_queue_put; + } + + d =xe_eudebug_get_nolock (q->vm->xef); +if (!d) { + ret = -ENOTCONN ; + goto out_exec_queue_put; + } + + ret =send_queued_pagefaults (d); + +xe_eudebug_put (d); + +out_exec_queue_put: +xe_exec_queue_put (q); + +return ret; +} + +void xe_eudebug_pagefault_service (struct xe_pagefault *pf,int err) +{ +struct xe_eudebug_pagefault *epf =xe_debubug_get_epf (pf); + +if (!epf) +return ; + +if (!err) +xe_eudebug_pagefault_process (epf); + +_xe_eudebug_pagefault_destroy (epf, err); +} + +void xe_eudebug_pagefault_fini (struct xe_eudebug *d) +{ +struct xe_eudebug_pagefault *epf, *epf_temp; + +/* Since it's the last reference no race here */ + +list_for_each_entry_safe (epf, epf_temp, &d->pagefaults, link) { +list_del (&epf->link); +destroy_pagefault (epf); + } + +XE_WARN_ON (d->pf_fence); +} + +void xe_eudebug_pagefault_signal (struct xe_file *xef) +{ +struct xe_eudebug *d; +struct dma_fence *f; + +mutex_lock (&xef->eudebug.lock); + d = xef->eudebug.debugger; +mutex_unlock (&xef->eudebug.lock); + +if (!d) +return ; + +mutex_lock (&d->hw.lock); + f = d->pf_fence; + d->pf_fence =NULL ; +mutex_unlock (&d->hw.lock); + +if (f) { +dma_fence_signal (f); +dma_fence_put (f); + } +}drivers/gpu/drm/xe/xe_eudebug_pagefault.h new file +27
-0@@ -0,0 +1,63 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023-2025 Intel Corporation +*/ + +#ifndef _XE_EUDEBUG_PAGEFAULT_H_ +#define _XE_EUDEBUG_PAGEFAULT_H_ + +#include <linux/types.h> + +struct xe_eudebug ; +struct xe_gt ; +struct xe_pagefault ; +struct xe_eudebug_pagefault ; +struct xe_vm ; +struct xe_file ; + +void xe_eudebug_pagefault_fini (struct xe_eudebug *d); +int xe_eudebug_handle_pagefaults (struct xe_gt *gt); + +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +int xe_eudebug_pagefault_create (struct xe_vm *vm,struct xe_pagefault *pf); +struct xe_vma *xe_eudebug_create_vma (struct xe_vm *vm,struct xe_pagefault *pf); +void xe_eudebug_pagefault_service (struct xe_pagefault *pf,int err); +/* +* The (struct xe_pagefault *)->producer.private is a pointer which, for now, +* stores the pointer guc.
drivers/gpu/drm/xe/xe_eudebug_pagefault.h line 37
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug_pagefault.h new file +10
-0+* EU Debug intercepts this pointer to store struct xe_eudebug_pagefault. +* Original pointer can be obtained via eudebug function below called with +* mentioned producer's private field. +*/ +#define XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG 0x1 +void *xe_eudebug_pagefault_get_private (void *private); + +void xe_eudebug_pagefault_signal (struct xe_file *xef); +#else +
in order to use EOPNOTSUPP, it should include #include <linux/errno.h>. this version missed it.
G.G.> +static inline int
Quoted 174 lines
drivers/gpu/drm/xe/xe_eudebug_pagefault.h new file +25
-0+xe_eudebug_pagefault_create(struct xe_vm *vm, struct xe_pagefault *pf) +{ + return -EOPNOTSUPP; +} + +static inline struct xe_vma *xe_eudebug_create_vma (struct xe_vm *vm,struct xe_pagefault *pf) +{ +return NULL ; +} + +static inline void xe_eudebug_pagefault_service (struct xe_pagefault *pf,int err) +{ +} + +static inline void *xe_eudebug_pagefault_get_private (void *private) +{ +return private; +} + +static inline void xe_eudebug_pagefault_signal (struct xe_file *xef) +{ +} +#endif + +#endif /* _XE_EUDEBUG_PAGEFAULT_H_ */ drivers/gpu/drm/xe/xe_eudebug_types.h +60
-1@@ -15,6 +15,8 @@#include <linux/wait.h> #include <linux/xarray.h> +#include "xe_gt_debug_types.h" +struct xe_device ;struct task_struct ;struct xe_eudebug ;@@ -37,7 +39,7 @@ enum xe_eudebug_state { };#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 64 -#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_EU_ATTENTION +#define XE_EUDEBUG_MAX_EVENT_TYPE DRM_XE_EUDEBUG_EVENT_PAGEFAULT/** * struct xe_eudebug_handle - eudebug resource handle @@ -164,6 +166,63 @@ struct xe_eudebug {/** @ops: operations for eu_control */ struct xe_eudebug_eu_control_ops *ops; + +/** @pf_lock: guards access to pagefaults list*/ +struct mutex pf_lock; +/** @pagefaults: xe_eudebug_pagefault list for pagefault event queuing */ +struct list_head pagefaults; +/** +* @pf_fence: fence on operations of eus (eu thread control and attention) +* when page faults are being handled, protected by @eu_lock. +*/ + struct dma_fence *pf_fence; +}; + +/** +* struct xe_eudebug_pagefault - eudebug structure for queuing pagefault +*/ +struct xe_eudebug_pagefault { +/** @link: link into the xe_eudebug.pagefaults */ +struct list_head link; +/** @q: exec_queue which raised pagefault */ +struct xe_exec_queue *q; +/** @lrc_idx: lrc index of the workload which raised pagefault */ +int lrc_idx; + +/** @fault: pagefault raw partial data passed from guc */ +struct { +/** @addr: ppgtt address where the pagefault occurred */ +u64 addr; +u8 type_level; +u8 access_type; + } fault; + +/** @attentions: attention states in different phases of fault */ +struct { +/** @before: state of attention bits before page fault WA processing*/ +struct xe_eu_attentions before; +/** +* @after: status of attention bits during page fault WA processing. +* It includes eu threads where attention bits are turned on for +* reasons other than page fault WA (breakpoint, interrupt, etc.). +*/ +struct xe_eu_attentions after; +/** +* @resolved: state of the attention bits after page fault WA. +* It includes the eu thread that caused the page fault. +* To determine the eu thread that caused the page fault, +* do XOR attentions.after and attentions.resolved. +*/ +struct xe_eu_attentions resolved; + } attentions; + +/** +* @private: copied the (struct xe_pagefault *)->producer.private filed. +* EU Debugger masks private field in the struct xe_pagefault. +* The xe_eudebug_pagefault_get_private() function to extracts original +* private field regardless if it was shadowed or not. +*/ +void *private; };#endif /* _XE_EUDEBUG_TYPES_H_ */ drivers/gpu/drm/xe/xe_guc_pagefault.c +2
-1@@ -4,6 +4,7 @@*/ #include "abi/guc_actions_abi.h" +#include "xe_eudebug_pagefault.h" #include "xe_guc.h" #include "xe_guc_ct.h" #include "xe_guc_pagefault.h" @@ -35,7 +36,7 @@ static void guc_ack_fault(struct xe_pagefault *pf, int err)FIELD_PREP (PFR_ENG_CLASS , engine_class) | FIELD_PREP(PFR_PDATA, pdata), }; -struct xe_guc *guc = pf->producer.private; +struct xe_guc *guc =xe_eudebug_pagefault_get_private (pf->producer.private);xe_guc_ct_send (&guc->ct, action,ARRAY_SIZE (action),0 ,0 ); }drivers/gpu/drm/xe/xe_pagefault_types.h +1
-0@@ -10,6 +10,7 @@struct xe_gt ;struct xe_pagefault ; +struct xe_eudebug_pagefault ;/** enum xe_pagefault_access_type - Xe page fault access type */ enum xe_pagefault_access_type {include/uapi/drm/xe_drm_eudebug.h +12
-0@@ -53,6 +53,7 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_DEBUG_DATA 5#define DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE 6#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 7 +#define DRM_XE_EUDEBUG_EVENT_PAGEFAULT 8/** @flags: Flags */ __u16 flags;@@ -358,6 +359,17 @@ struct drm_xe_eudebug_event_eu_attention {__u8 bitmask[]; }; +struct drm_xe_eudebug_event_pagefault { +struct drm_xe_eudebug_event base; + +__u64 exec_queue_handle; +__u64 lrc_handle; +__u32 flags; +__u32 bitmask_size; +__u64 pagefault_address; +__u8 bitmask[]; +}; +#if defined(__cplusplus) }#endif
PATCH 23/24 drm/xe/eudebug: Enable EU pagefault handling
In reply to Mika KuoppalaFrom: Gwan-gyeong Mun <[email protected]>
The XE2 (and PVC) HW has a limitation that the pagefault due to invalid access will halt the corresponding EUs. To solve this problem, enable EU pagefault handling functionality, which allows to unhalt pagefaulted eu threads and to EU debugger to get inform about the eu attentions state of EU threads during execution.
If a pagefault occurs, send the DRM_XE_EUDEBUG_EVENT_PAGEFAULT event after handling the pagefault.
The pagefault handling is a mechanism that allows a stalled EU thread to enter SIP mode by installing a temporal null page to the page table entry where the pagefault happened.
A brief description of the page fault handling mechanism flow between KMD and the eu thread is as follows
(1) eu thread accesses unallocated address
(2) pagefault happens and eu thread stalls
(3) XE kmd set an force eu thread exception to allow the running eu thread to enter SIP mode (kmd set ForceException / ForceExternalHalt bit of TD_CTL register)
Not stalled (none-pagefaulted) eu threads enter SIP mode
(4) XE kmd installs temporal null page to the pagetable entry of the address where pagefault happened.
(5) XE kmd replies pagefault successful message to GUC
(6) stalled eu thread resumes as per pagefault condition has resolved
(7) resumed eu thread enters SIP mode due to force exception set by (3)
(8) adapted to consumer/produced pagefaults
As designed this feature to only work when eudbug is enabled, it should have no impact to regular recoverable pagefault code path.
v2: - pf->q holds the vm ref so drop it (Mika)
- streamline uapi (Mika)
- cleanup the pagefault through producer if (Mika)
v3: - pagefault rework (Maciej)
--- drivers/gpu/drm/xe/xe_device_types.h | 8 +++ drivers/gpu/drm/xe/xe_eudebug_pagefault.c | 5 ++ drivers/gpu/drm/xe/xe_eudebug_pagefault.h | 14 +++++ drivers/gpu/drm/xe/xe_guc_pagefault.c | 7 +++ drivers/gpu/drm/xe/xe_pagefault.c | 77 ++++++++++++++++++++--- drivers/gpu/drm/xe/xe_pagefault_types.h | 9 +++ 6 files changed, 113 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_device_types.h +8 -0
@@ -305,12 +305,20 @@ struct xe_device {struct rw_semaphore lock;/** @usm.pf_wq: page fault work queue, unbound, high priority */ struct workqueue_struct *pf_wq; +#if IS_ENABLED (CONFIG_DRM_XE_EUDEBUG ) +/* +* For EU Debug Pagefault workaround we need single queue +* to properly handle/ack incoming pagefaults. +*/ +#define XE_PAGEFAULT_QUEUE_COUNT 1 +#else /* * We pick 4 here because, in the current implementation, it * yields the best bandwidth utilization of the kernel paging * engine. */ #define XE_PAGEFAULT_QUEUE_COUNT 4 +#endif /** @usm.pf_queue: Page fault queues */ struct xe_pagefault_queue pf_queue[XE_PAGEFAULT_QUEUE_COUNT ];#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )
drivers/gpu/drm/xe/xe_eudebug_pagefault.c +5 -0
@@ -95,6 +95,11 @@ void *xe_eudebug_pagefault_get_private(void *private)return private; } +bool xe_eudebug_pagefault_owned (struct xe_pagefault *pf) +{ +return !!((u64 )pf->producer.private &XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG ); +} +int xe_eudebug_pagefault_create (struct xe_vm *vm,struct xe_pagefault *pf) {
drivers/gpu/drm/xe/xe_eudebug_pagefault.h +14 -0
@@ -32,7 +32,12 @@ void xe_eudebug_pagefault_service(struct xe_pagefault *pf, int err);#define XE_EUDEBUG_PAGEFAULT_PRIVATE_EUDEBUG 0x1void *xe_eudebug_pagefault_get_private (void *private); +bool xe_eudebug_pagefault_owned (struct xe_pagefault *pf); +void xe_eudebug_pagefault_signal (struct xe_file *xef); + +#define xe_eudebug_pagefault_vm_lock (vm) down_write(&(vm)->lock) +#define xe_eudebug_pagefault_vm_unlock (vm) up_write(&(vm)->lock)#else static inline int
@@ -41,6 +46,11 @@ xe_eudebug_pagefault_create(struct xe_vm *vm, struct xe_pagefault *pf)return -EOPNOTSUPP ; } +static inline bool xe_eudebug_pagefault_owned (struct xe_pagefault *pf) +{ +return false; +} +static inline struct xe_vma *xe_eudebug_create_vma (struct xe_vm *vm,struct xe_pagefault *pf) {return NULL ;
@@ -58,6 +68,10 @@ static inline void *xe_eudebug_pagefault_get_private(void *private)static inline void xe_eudebug_pagefault_signal (struct xe_file *xef) { } + +#define xe_eudebug_pagefault_vm_lock (vm) down_read(&(vm)->lock) +#define xe_eudebug_pagefault_vm_unlock (vm) up_read(&(vm)->lock) +#endif #endif /* _XE_EUDEBUG_PAGEFAULT_H_ */
drivers/gpu/drm/xe/xe_guc_pagefault.c +7 -0
@@ -10,6 +10,7 @@#include "xe_guc_pagefault.h" #include "xe_pagefault.h" #include "xe_pagefault_types.h" +#include "xe_eudebug_pagefault.h" static void guc_ack_fault (struct xe_pagefault *pf,int err) {
@@ -41,8 +42,14 @@ static void guc_ack_fault(struct xe_pagefault *pf, int err)xe_guc_ct_send (&guc->ct, action,ARRAY_SIZE (action),0 ,0 ); } +static void guc_cleanup_fault (struct xe_pagefault *pf,int err) +{ +xe_eudebug_pagefault_service (pf, err); +} +static const struct xe_pagefault_ops guc_pagefault_ops = { .ack_fault = guc_ack_fault, + .cleanup_fault = guc_cleanup_fault, };/**
drivers/gpu/drm/xe/xe_pagefault.c +70 -7
119 lines not on this page · raw message
drivers/gpu/drm/xe/xe_pagefault_types.h +9 -0
@@ -43,6 +43,15 @@ struct xe_pagefault_ops {* sends the result to the HW/FW interface. */ void (*ack_fault)(struct xe_pagefault *pf,int err); + +/** +* @cleanup_fault: Cleanup for producer, if any +* @pf: Page fault +* @err: Error state of fault +* +* Page fault producer received cleanup request from consumer +*/ +void (*cleanup_fault)(struct xe_pagefault *pf,int err); };/**
Signature · 1 line
2.43.0
PATCH 24/24 drm/xe/eudebug: Disable SVM in Xe for Eudebug
In reply to Mika KuoppalaFrom: Maciej Patelczyk <[email protected]>
Missing SVM pagefault intergration. Temporary exclude SVM in Xe until there is SVM support in EU Debugger.
--- drivers/gpu/drm/xe/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/Kconfig +5 -1
@@ -81,7 +81,7 @@ config DRM_XE_GPUSVM depends on DRM_XE depends on !UML depends on ZONE_DEVICE - default y + default n select DEVICE_PRIVATE select DRM_GPUSVM help
@@ -132,6 +132,7 @@ config DRM_XE_FORCE_PROBE config DRM_XE_EUDEBUG bool "Enable gdb debugger support (eudebug)" depends on DRM_XE + depends on !DRM_XE_GPUSVM default y help Choose this option if you want to add support for debugger (gdb) to
@@ -139,6 +140,9 @@ config DRM_XE_EUDEBUG With debugger support, Xe will provide interface for a debugger to process to track, inspect and modify resources. +comment "Gdb debugger support (eudebug) disabled for CPU to GPU address mirroring" + depends on DRM_XE_GPUSVM + menu "drm/Xe Debugging" depends on DRM_XE depends on EXPERT
Signature · 1 line
2.43.0
Matthew Brost
maintainerRe: [PATCH 24/24] drm/xe/eudebug: Disable SVM in Xe for Eudebug
Quoted 18 lines · Mika Kuoppala
From: Maciej Patelczyk <[email protected]>
Missing SVM pagefault intergration. Temporary exclude SVM in Xe until there is SVM support in EU Debugger.
Cc Matthew Brost <[email protected]>Cc Gustavo Sousa <[email protected]>Signed-off-by Maciej Patelczyk <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/xe/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/Kconfig +0
-0
drivers/gpu/drm/xe/Kconfig config DRM_XE_GPUSVM · line 84
Quoted 5 lines
drivers/gpu/drm/xe/Kconfig +1
-1@@ -81,7 +81,7 @@ config DRM_XE_GPUSVM depends on DRM_XE depends on !UML depends on ZONE_DEVICE - default y + default n
If EU debugger and SVM are mutual exclusive, you will need to do the inverse of this - default DRM_XE_EUDEBUG to false. I don't think a new feature can turn off an existing one.
Perhaps this will be non-issue by the time of merging though as the SVM interaction will be fixed.
Matt
Quoted 24 lines
drivers/gpu/drm/xe/Kconfig +4
-0select DEVICE_PRIVATE select DRM_GPUSVM help@@ -132,6 +132,7 @@ config DRM_XE_FORCE_PROBE config DRM_XE_EUDEBUG bool "Enable gdb debugger support (eudebug)" depends on DRM_XE + depends on !DRM_XE_GPUSVM default y help Choose this option if you want to add support for debugger (gdb) to@@ -139,6 +140,9 @@ config DRM_XE_EUDEBUG With debugger support, Xe will provide interface for a debugger to process to track, inspect and modify resources. +comment "Gdb debugger support (eudebug) disabled for CPU to GPU address mirroring" + depends on DRM_XE_GPUSVM + menu "drm/Xe Debugging" depends on DRM_XE depends on EXPERTSignature · 1 line
2.43.0
Patchwork
CI✗ CI.checkpatch: warning for Intel Xe GPU Debug Support (eudebug) v8
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: Intel Xe GPU Debug Support (eudebug) v8
URL : https://patchwork.freedesktop.org/series/165777/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master c8c12e558adaef7a4d125d83b6e1f8824bc13b82
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9e920ee42bc0dcf88381b7e41fb18d758a03835a
Author: Maciej Patelczyk <[email protected]> Date: Thu Apr 30 13:51:20 2026 +0300
drm/xe/eudebug: Disable SVM in Xe for Eudebug
Missing SVM pagefault intergration. Temporary exclude SVM in Xe until there is SVM support in EU Debugger.
+ /mt/dim checkpatch 3ac514cf64f272cc4d5143f4cc28fb18a8aba76d drm-intel ecfd14ef7c80 drm/xe/eudebug: Introduce eudebug interface
-:235: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #235:
new file mode 100644
-:293: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!READ_ONCE" #293: FILE: drivers/gpu/drm/xe/xe_eudebug.c:54:
+ return READ_ONCE(d->target.xef) == NULL;
-:475: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_d' - possible side-effects? #475: FILE: drivers/gpu/drm/xe/xe_eudebug.c:236:
+#define xe_eudebug_disconnect(_d, _err) ({ \
+ if (_xe_eudebug_disconnect((_d), (_err))) { \
+ if ((_err) == 0 || (_err) == -ETIMEDOUT) \
+ eu_dbg((_d), "Session closed (%d)", (_err)); \
+ else \
+ eu_err((_d), "Session disconnected, err = %d (%s:%d)", \
+ (_err), __func__, __LINE__); \
+ } \
+})
-:475: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_err' - possible side-effects? #475: FILE: drivers/gpu/drm/xe/xe_eudebug.c:236:
+#define xe_eudebug_disconnect(_d, _err) ({ \
+ if (_xe_eudebug_disconnect((_d), (_err))) { \
+ if ((_err) == 0 || (_err) == -ETIMEDOUT) \
+ eu_dbg((_d), "Session closed (%d)", (_err)); \
+ else \
+ eu_err((_d), "Session disconnected, err = %d (%s:%d)", \
+ (_err), __func__, __LINE__); \
+ } \
+})
-:825: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_d' - possible side-effects? #825: FILE: drivers/gpu/drm/xe/xe_eudebug.c:586:
+#define xe_eudebug_event_put(_d, _err) ({ \
+ if ((_err)) \
+ xe_eudebug_disconnect((_d), (_err)); \
+ xe_eudebug_put((_d)); \
+ })
-:825: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_err' - possible side-effects? #825: FILE: drivers/gpu/drm/xe/xe_eudebug.c:586:
+#define xe_eudebug_event_put(_d, _err) ({ \
+ if ((_err)) \
+ xe_eudebug_disconnect((_d), (_err)); \
+ xe_eudebug_put((_d)); \
+ })
-:1305: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1305: FILE: drivers/gpu/drm/xe/xe_eudebug.h:20:
+#define XE_EUDEBUG_DBG_ARGS(d) (d)->session, \
+ atomic_long_read(&(d)->events.seqno), \
+ !READ_ONCE(d->target.xef) ? "disconnected" : "", \
+ current->pid, \
+ task_tgid_nr(current), \
+ READ_ONCE(d->target.xef) ? d->target.xef->pid : -1
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:1305: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #1305: FILE: drivers/gpu/drm/xe/xe_eudebug.h:20:
+#define XE_EUDEBUG_DBG_ARGS(d) (d)->session, \
+ atomic_long_read(&(d)->events.seqno), \
+ !READ_ONCE(d->target.xef) ? "disconnected" : "", \
+ current->pid, \
+ task_tgid_nr(current), \
+ READ_ONCE(d->target.xef) ? d->target.xef->pid : -1
-:1312: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #1312: FILE: drivers/gpu/drm/xe/xe_eudebug.h:27:
+#define eu_err(d, fmt, ...) drm_err(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:1314: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #1314: FILE: drivers/gpu/drm/xe/xe_eudebug.h:29:
+#define eu_warn(d, fmt, ...) drm_warn(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:1316: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #1316: FILE: drivers/gpu/drm/xe/xe_eudebug.h:31:
+#define eu_dbg(d, fmt, ...) drm_dbg(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:1527: WARNING:LONG_LINE: line length of 130 exceeds 100 columns #1527: FILE: include/uapi/drm/xe_drm.h:133:
+#define DRM_IOCTL_XE_EUDEBUG_CONNECT DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EUDEBUG_CONNECT, struct drm_xe_eudebug_connect)
total: 1 errors, 2 warnings, 9 checks, 1504 lines checked20d2e2ea5f54 drm/xe/eudebug: Add documentation
-:21: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #21:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 108 lines checked230ca6426623 drm/xe/eudebug: Add connection establishment documentation cab635633925 drm/xe/eudebug: Introduce discovery for resourcesea14318160fc drm/xe/eudebug: Introduce exec_queue events1cf709641970 drm/xe: Add EUDEBUG_ENABLE exec queue property0aa3d7adea74 drm/xe/eudebug: Mark guc contexts as debuggablec24e8c5b4140 drm/xe: Introduce ADD_DEBUG_DATA and REMOVE_DEBUG_DATA vm bind ops -:44: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #44:
new file mode 100644
-:617: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #617: FILE: drivers/gpu/drm/xe/xe_vm.c:3660:
+ if (XE_IOCTL_DBG(xe, operation != DRM_XE_VM_BIND_OP_ADD_DEBUG_DATA &&
+ operation != DRM_XE_VM_BIND_OP_REMOVE_DEBUG_DATA &&
-:620: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #620: FILE: drivers/gpu/drm/xe/xe_vm.c:3663:
+ XE_IOCTL_DBG(xe, ext.name == XE_VM_BIND_OP_EXTENSIONS_DEBUG_DATA &&
+ ++debug_data_count > 1))
-:744: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment #744: FILE: drivers/gpu/drm/xe/xe_vm_types.h:414:
+ struct mutex lock;
total: 0 errors, 1 warnings, 3 checks, 790 lines checkedbf304b06145b drm/xe/eudebug: Introduce vm bind and vm bind debug data events
-:7: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #7:
This patch adds events to track the bind ioctl and associated debug data add
-:414: WARNING:LONG_LINE_COMMENT: line length of 102 exceeds 100 columns #414: FILE: include/uapi/drm/xe_drm_eudebug.h:112:
+ * │ EVENT_VM_BIND ├──────────────────┬─┬┄┐
-:415: WARNING:LONG_LINE_COMMENT: line length of 108 exceeds 100 columns #415: FILE: include/uapi/drm/xe_drm_eudebug.h:113:
+ * └───────────────────────┘ │ │ ┊
-:416: WARNING:LONG_LINE_COMMENT: line length of 130 exceeds 100 columns #416: FILE: include/uapi/drm/xe_drm_eudebug.h:114:
+ * ┌──────────────────────────────────┐ │ │ ┊
-:418: WARNING:LONG_LINE_COMMENT: line length of 128 exceeds 100 columns #418: FILE: include/uapi/drm/xe_drm_eudebug.h:116:
+ * └──────────────────────────────────┘ │ ┊
-:420: WARNING:LONG_LINE_COMMENT: line length of 128 exceeds 100 columns #420: FILE: include/uapi/drm/xe_drm_eudebug.h:118:
+ * ┌──────────────────────────────────┐ │ ┊
-:422: WARNING:LONG_LINE_COMMENT: line length of 126 exceeds 100 columns #422: FILE: include/uapi/drm/xe_drm_eudebug.h:120:
+ * └──────────────────────────────────┘ ┊
-:424: WARNING:LONG_LINE_COMMENT: line length of 126 exceeds 100 columns #424: FILE: include/uapi/drm/xe_drm_eudebug.h:122:
+ * ┌┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┐ ┊
-:426: WARNING:LONG_LINE_COMMENT: line length of 116 exceeds 100 columns #426: FILE: include/uapi/drm/xe_drm_eudebug.h:124:
+ * └┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘
total: 0 errors, 9 warnings, 0 checks, 427 lines checked ec17ff396a7b drm/xe/eudebug: Add ufence events with acks -:28: WARNING:REPEATED_WORD: Possible repeated word: 'for' #28:
- take reference for for tracking check (Mika)
-:337: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!ufence" #337: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1291:
+ xe_assert(vm->xe, ufence == NULL);
-:638: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment #638: FILE: drivers/gpu/drm/xe/xe_sync_types.h:26:
+ spinlock_t lock;
total: 0 errors, 1 warnings, 2 checks, 654 lines checked 29637a08d924 drm/xe/eudebug: vm open/pread/pwrite
-:139: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #139: FILE: drivers/gpu/drm/xe/xe_eudebug.c:750:
+{
+
-:162: CHECK:LINE_SPACING: Please don't use multiple blank lines #162: FILE: drivers/gpu/drm/xe/xe_eudebug.c:773:
+
+
-:202: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #202: FILE: drivers/gpu/drm/xe/xe_eudebug.h:42:
+#define xe_eudebug_for_each_hw_engine(__hwe, __gt, __id) \
+ for_each_hw_engine(__hwe, __gt, __id) \
+ if (xe_hw_engine_has_eudebug(__hwe))
BUT SEE:
do {} while (0) advice is over-stated in a few situations:
The more obvious case is macros, like MODULE_PARM_DESC, invoked at file-scope, where C disallows code (it must be in functions). See $exceptions if you have one to add by name.
More troublesome is declarative macros used at top of new scope, like DECLARE_PER_CPU. These might just compile with a do-while-0 wrapper, but would be incorrect. Most of these are handled by detecting struct,union,etc declaration primitives in $exceptions.
Theres also macros called inside an if (block), which "return" an expression. These cannot do-while, and need a ({}) wrapper.
Enjoy this qualification while we work to improve our heuristics.
-:202: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__hwe' - possible side-effects? #202: FILE: drivers/gpu/drm/xe/xe_eudebug.h:42:
+#define xe_eudebug_for_each_hw_engine(__hwe, __gt, __id) \
+ for_each_hw_engine(__hwe, __gt, __id) \
+ if (xe_hw_engine_has_eudebug(__hwe))
-:252: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #252:
new file mode 100644
total: 1 errors, 1 warnings, 3 checks, 644 lines checked2dc1635f8b5b drm/xe/eudebug: userptr vm pread/pwritef20439c2fa6b drm/xe/eudebug: hw enablement for eudebug
-:144: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #144:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 481 lines checked dba3233dca8a drm/xe/eudebug: Introduce EU control interface -:295: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #295: FILE: drivers/gpu/drm/xe/xe_eudebug_hw.c:183:
+static bool engine_has_runalone_set(const struct xe_hw_engine * const hwe,
+ u32 rcu_debug1)
-:301: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #301: FILE: drivers/gpu/drm/xe/xe_eudebug_hw.c:189:
+static bool engine_has_context_set(const struct xe_hw_engine * const hwe,
+ u32 rcu_debug1)
total: 0 errors, 0 warnings, 2 checks, 891 lines checkedd29bbbc620bc drm/xe/eudebug: Introduce per device attention scan worker 5bd603e4f848 drm/xe/eudebug_test: Introduce xe_eudebug wa kunit test
-:16: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #16:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 201 lines checkedf7030e98051e drm/xe: Implement SR-IOV and eudebug exclusivity0eef827a8570 drm/xe: Add xe_client_debugfs and introduce debug_data file
-:31: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #31:
new file mode 100644
-:85: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #85: FILE: drivers/gpu/drm/xe/xe_client_debugfs.c:50:
+ len = snprintf(kbuf, MAX_LINE_LEN, "%lu 0x%llx-0x%llx 0x%llx 0x%x\t%s\n",
+ vm_index,
total: 0 errors, 1 warnings, 1 checks, 161 lines checkedaa4b22466196 drm/xe/eudebug: Allow getting eudebug instance during discovery c365fcd48a10 drm/xe/eudebug: Add read/count/compare helper for eu attention
-:131: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #131:
new file mode 100644
-:153: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV) #153: FILE: drivers/gpu/drm/xe/xe_gt_debug_types.h:18:
+ XE_GT_EU_ATT_MAX_THREADS/8];
^
total: 0 errors, 1 warnings, 1 checks, 121 lines checked855e12416e46 drm/xe/vm: Support for adding null page VMA to VM on request
-:15: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #15:
[1] https://lore.kernel.org/intel-xe/[email protected]/
total: 0 errors, 1 warnings, 0 checks, 43 lines checked394b3b021487 drm/xe/eudebug: Introduce EU pagefault handling interface
-:359: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #359:
new file mode 100644
-:421: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment #421: FILE: drivers/gpu/drm/xe/xe_eudebug_pagefault.c:58:
+ spinlock_t lock;
-:429: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!fence" #429: FILE: drivers/gpu/drm/xe/xe_eudebug_pagefault.c:66:
+ if (fence == NULL)
-:535: CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see function description of usleep_range() and udelay(). #535: FILE: drivers/gpu/drm/xe/xe_eudebug_pagefault.c:172:
+ udelay(200);
total: 0 errors, 1 warnings, 3 checks, 858 lines checked d789723aad4e drm/xe/eudebug: Enable EU pagefault handling 9e920ee42bc0 drm/xe/eudebug: Disable SVM in Xe for Eudebug
Patchwork
CI✓ CI.KUnit: success for Intel Xe GPU Debug Support (eudebug) v8
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: Intel Xe GPU Debug Support (eudebug) v8
URL : https://patchwork.freedesktop.org/series/165777/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [11:09:36] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:09:41] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [11:10:12] Starting KUnit Kernel (1/1)... [11:10:12] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:10:12] ================== guc_buf (11 subtests) =================== [11:10:12] [PASSED] test_smallest [11:10:12] [PASSED] test_largest [11:10:12] [PASSED] test_granular [11:10:12] [PASSED] test_unique [11:10:12] [PASSED] test_overlap [11:10:12] [PASSED] test_reusable [11:10:12] [PASSED] test_too_big [11:10:12] [PASSED] test_flush [11:10:12] [PASSED] test_lookup [11:10:12] [PASSED] test_data [11:10:12] [PASSED] test_class [11:10:12] ===================== [PASSED] guc_buf ===================== [11:10:12] =================== guc_dbm (7 subtests) =================== [11:10:12] [PASSED] test_empty [11:10:12] [PASSED] test_default [11:10:12] ======================== test_size ======================== [11:10:12] [PASSED] 4 [11:10:12] [PASSED] 8 [11:10:12] [PASSED] 32 [11:10:12] [PASSED] 256 [11:10:12] ==================== [PASSED] test_size ==================== [11:10:12] ======================= test_reuse ======================== [11:10:12] [PASSED] 4 [11:10:12] [PASSED] 8 [11:10:12] [PASSED] 32 [11:10:12] [PASSED] 256 [11:10:12] =================== [PASSED] test_reuse ==================== [11:10:12] =================== test_range_overlap ==================== [11:10:12] [PASSED] 4 [11:10:12] [PASSED] 8 [11:10:12] [PASSED] 32 [11:10:12] [PASSED] 256 [11:10:12] =============== [PASSED] test_range_overlap ================ [11:10:12] =================== test_range_compact ==================== [11:10:12] [PASSED] 4 [11:10:12] [PASSED] 8 [11:10:12] [PASSED] 32 [11:10:12] [PASSED] 256 [11:10:12] =============== [PASSED] test_range_compact ================ [11:10:12] ==================== test_range_spare ===================== [11:10:12] [PASSED] 4 [11:10:12] [PASSED] 8 [11:10:12] [PASSED] 32 [11:10:12] [PASSED] 256 [11:10:12] ================ [PASSED] test_range_spare ================= [11:10:12] ===================== [PASSED] guc_dbm ===================== [11:10:12] =================== guc_idm (6 subtests) =================== [11:10:12] [PASSED] bad_init [11:10:12] [PASSED] no_init [11:10:12] [PASSED] init_fini [11:10:12] [PASSED] check_used [11:10:12] [PASSED] check_quota [11:10:12] [PASSED] check_all [11:10:12] ===================== [PASSED] guc_idm ===================== [11:10:12] ================== no_relay (3 subtests) =================== [11:10:12] [PASSED] xe_drops_guc2pf_if_not_ready [11:10:12] [PASSED] xe_drops_guc2vf_if_not_ready [11:10:12] [PASSED] xe_rejects_send_if_not_ready [11:10:12] ==================== [PASSED] no_relay ===================== [11:10:12] ================== pf_relay (14 subtests) ================== [11:10:12] [PASSED] pf_rejects_guc2pf_too_short [11:10:12] [PASSED] pf_rejects_guc2pf_too_long [11:10:12] [PASSED] pf_rejects_guc2pf_no_payload [11:10:12] [PASSED] pf_fails_no_payload [11:10:12] [PASSED] pf_fails_bad_origin [11:10:12] [PASSED] pf_fails_bad_type [11:10:12] [PASSED] pf_txn_reports_error [11:10:12] [PASSED] pf_txn_sends_pf2guc [11:10:12] [PASSED] pf_sends_pf2guc [11:10:12] [SKIPPED] pf_loopback_nop [11:10:12] [SKIPPED] pf_loopback_echo [11:10:12] [SKIPPED] pf_loopback_fail [11:10:12] [SKIPPED] pf_loopback_busy [11:10:12] [SKIPPED] pf_loopback_retry [11:10:12] ==================== [PASSED] pf_relay ===================== [11:10:12] ================== vf_relay (3 subtests) =================== [11:10:12] [PASSED] vf_rejects_guc2vf_too_short [11:10:12] [PASSED] vf_rejects_guc2vf_too_long [11:10:12] [PASSED] vf_rejects_guc2vf_no_payload [11:10:12] ==================== [PASSED] vf_relay ===================== [11:10:12] ================ pf_gt_config (9 subtests) ================= [11:10:13] [PASSED] fair_contexts_1vf [11:10:13] [PASSED] fair_doorbells_1vf [11:10:13] [PASSED] fair_ggtt_1vf [11:10:13] ====================== fair_vram_1vf ====================== [11:10:13] [PASSED] 3.50 GiB [11:10:13] [PASSED] 11.5 GiB [11:10:13] [PASSED] 15.5 GiB [11:10:13] [PASSED] 31.5 GiB [11:10:13] [PASSED] 63.5 GiB [11:10:13] [PASSED] 1.91 GiB [11:10:13] ================== [PASSED] fair_vram_1vf ================== [11:10:13] ================ fair_vram_1vf_admin_only ================= [11:10:13] [PASSED] 3.50 GiB [11:10:13] [PASSED] 11.5 GiB [11:10:13] [PASSED] 15.5 GiB [11:10:13] [PASSED] 31.5 GiB [11:10:13] [PASSED] 63.5 GiB [11:10:13] [PASSED] 1.91 GiB [11:10:13] ============ [PASSED] fair_vram_1vf_admin_only ============= [11:10:13] ====================== fair_contexts ====================== [11:10:13] [PASSED] 1 VF [11:10:13] [PASSED] 2 VFs [11:10:13] [PASSED] 3 VFs [11:10:13] [PASSED] 4 VFs [11:10:13] [PASSED] 5 VFs [11:10:13] [PASSED] 6 VFs [11:10:13] [PASSED] 7 VFs [11:10:13] [PASSED] 8 VFs [11:10:13] [PASSED] 9 VFs [11:10:13] [PASSED] 10 VFs [11:10:13] [PASSED] 11 VFs [11:10:13] [PASSED] 12 VFs [11:10:13] [PASSED] 13 VFs [11:10:13] [PASSED] 14 VFs [11:10:13] [PASSED] 15 VFs [11:10:13] [PASSED] 16 VFs [11:10:13] [PASSED] 17 VFs [11:10:13] [PASSED] 18 VFs [11:10:13] [PASSED] 19 VFs [11:10:13] [PASSED] 20 VFs [11:10:13] [PASSED] 21 VFs [11:10:13] [PASSED] 22 VFs [11:10:13] [PASSED] 23 VFs [11:10:13] [PASSED] 24 VFs [11:10:13] [PASSED] 25 VFs [11:10:13] [PASSED] 26 VFs [11:10:13] [PASSED] 27 VFs [11:10:13] [PASSED] 28 VFs [11:10:13] [PASSED] 29 VFs [11:10:13] [PASSED] 30 VFs [11:10:13] [PASSED] 31 VFs [11:10:13] [PASSED] 32 VFs [11:10:13] [PASSED] 33 VFs [11:10:13] [PASSED] 34 VFs [11:10:13] [PASSED] 35 VFs [11:10:13] [PASSED] 36 VFs [11:10:13] [PASSED] 37 VFs [11:10:13] [PASSED] 38 VFs [11:10:13] [PASSED] 39 VFs [11:10:13] [PASSED] 40 VFs [11:10:13] [PASSED] 41 VFs [11:10:13] [PASSED] 42 VFs [11:10:13] [PASSED] 43 VFs [11:10:13] [PASSED] 44 VFs [11:10:13] [PASSED] 45 VFs [11:10:13] [PASSED] 46 VFs [11:10:13] [PASSED] 47 VFs [11:10:13] [PASSED] 48 VFs [11:10:13] [PASSED] 49 VFs [11:10:13] [PASSED] 50 VFs [11:10:13] [PASSED] 51 VFs [11:10:13] [PASSED] 52 VFs [11:10:13] [PASSED] 53 VFs [11:10:13] [PASSED] 54 VFs [11:10:13] [PASSED] 55 VFs [11:10:13] [PASSED] 56 VFs [11:10:13] [PASSED] 57 VFs [11:10:13] [PASSED] 58 VFs [11:10:13] [PASSED] 59 VFs [11:10:13] [PASSED] 60 VFs [11:10:13] [PASSED] 61 VFs [11:10:13] [PASSED] 62 VFs [11:10:13] [PASSED] 63 VFs [11:10:13] ================== [PASSED] fair_contexts ================== [11:10:13] ===================== fair_doorbells ====================== [11:10:13] [PASSED] 1 VF [11:10:13] [PASSED] 2 VFs [11:10:13] [PASSED] 3 VFs [11:10:13] [PASSED] 4 VFs [11:10:13] [PASSED] 5 VFs [11:10:13] [PASSED] 6 VFs [11:10:13] [PASSED] 7 VFs [11:10:13] [PASSED] 8 VFs [11:10:13] [PASSED] 9 VFs [11:10:13] [PASSED] 10 VFs [11:10:13] [PASSED] 11 VFs [11:10:13] [PASSED] 12 VFs [11:10:13] [PASSED] 13 VFs [11:10:13] [PASSED] 14 VFs [11:10:13] [PASSED] 15 VFs [11:10:13] [PASSED] 16 VFs [11:10:13] [PASSED] 17 VFs [11:10:13] [PASSED] 18 VFs [11:10:13] [PASSED] 19 VFs [11:10:13] [PASSED] 20 VFs [11:10:13] [PASSED] 21 VFs [11:10:13] [PASSED] 22 VFs [11:10:13] [PASSED] 23 VFs [11:10:13] [PASSED] 24 VFs [11:10:13] [PASSED] 25 VFs [11:10:13] [PASSED] 26 VFs [11:10:13] [PASSED] 27 VFs [11:10:13] [PASSED] 28 VFs [11:10:13] [PASSED] 29 VFs [11:10:13] [PASSED] 30 VFs [11:10:13] [PASSED] 31 VFs [11:10:13] [PASSED] 32 VFs [11:10:13] [PASSED] 33 VFs [11:10:13] [PASSED] 34 VFs [11:10:13] [PASSED] 35 VFs [11:10:13] [PASSED] 36 VFs [11:10:13] [PASSED] 37 VFs [11:10:13] [PASSED] 38 VFs [11:10:13] [PASSED] 39 VFs [11:10:13] [PASSED] 40 VFs [11:10:13] [PASSED] 41 VFs [11:10:13] [PASSED] 42 VFs [11:10:13] [PASSED] 43 VFs [11:10:13] [PASSED] 44 VFs [11:10:13] [PASSED] 45 VFs [11:10:13] [PASSED] 46 VFs [11:10:13] [PASSED] 47 VFs [11:10:13] [PASSED] 48 VFs [11:10:13] [PASSED] 49 VFs [11:10:13] [PASSED] 50 VFs [11:10:13] [PASSED] 51 VFs [11:10:13] [PASSED] 52 VFs [11:10:13] [PASSED] 53 VFs [11:10:13] [PASSED] 54 VFs [11:10:13] [PASSED] 55 VFs [11:10:13] [PASSED] 56 VFs [11:10:13] [PASSED] 57 VFs [11:10:13] [PASSED] 58 VFs [11:10:13] [PASSED] 59 VFs [11:10:13] [PASSED] 60 VFs [11:10:13] [PASSED] 61 VFs [11:10:13] [PASSED] 62 VFs [11:10:13] [PASSED] 63 VFs [11:10:13] ================= [PASSED] fair_doorbells ================== [11:10:13] ======================== fair_ggtt ======================== [11:10:13] [PASSED] 1 VF [11:10:13] [PASSED] 2 VFs [11:10:13] [PASSED] 3 VFs [11:10:13] [PASSED] 4 VFs [11:10:13] [PASSED] 5 VFs [11:10:13] [PASSED] 6 VFs [11:10:13] [PASSED] 7 VFs [11:10:13] [PASSED] 8 VFs [11:10:13] [PASSED] 9 VFs [11:10:13] [PASSED] 10 VFs [11:10:13] [PASSED] 11 VFs [11:10:13] [PASSED] 12 VFs [11:10:13] [PASSED] 13 VFs [11:10:13] [PASSED] 14 VFs [11:10:13] [PASSED] 15 VFs [11:10:13] [PASSED] 16 VFs [11:10:13] [PASSED] 17 VFs [11:10:13] [PASSED] 18 VFs [11:10:13] [PASSED] 19 VFs [11:10:13] [PASSED] 20 VFs [11:10:13] [PASSED] 21 VFs [11:10:13] [PASSED] 22 VFs [11:10:13] [PASSED] 23 VFs [11:10:13] [PASSED] 24 VFs [11:10:13] [PASSED] 25 VFs [11:10:13] [PASSED] 26 VFs [11:10:13] [PASSED] 27 VFs [11:10:13] [PASSED] 28 VFs [11:10:13] [PASSED] 29 VFs [11:10:13] [PASSED] 30 VFs [11:10:13] [PASSED] 31 VFs [11:10:13] [PASSED] 32 VFs [11:10:13] [PASSED] 33 VFs [11:10:13] [PASSED] 34 VFs [11:10:13] [PASSED] 35 VFs [11:10:13] [PASSED] 36 VFs [11:10:13] [PASSED] 37 VFs [11:10:13] [PASSED] 38 VFs [11:10:13] [PASSED] 39 VFs [11:10:13] [PASSED] 40 VFs [11:10:13] [PASSED] 41 VFs [11:10:13] [PASSED] 42 VFs [11:10:13] [PASSED] 43 VFs [11:10:13] [PASSED] 44 VFs [11:10:13] [PASSED] 45 VFs [11:10:13] [PASSED] 46 VFs [11:10:13] [PASSED] 47 VFs [11:10:13] [PASSED] 48 VFs [11:10:13] [PASSED] 49 VFs [11:10:13] [PASSED] 50 VFs [11:10:13] [PASSED] 51 VFs [11:10:13] [PASSED] 52 VFs [11:10:13] [PASSED] 53 VFs [11:10:13] [PASSED] 54 VFs [11:10:13] [PASSED] 55 VFs [11:10:13] [PASSED] 56 VFs [11:10:13] [PASSED] 57 VFs [11:10:13] [PASSED] 58 VFs [11:10:13] [PASSED] 59 VFs [11:10:13] [PASSED] 60 VFs [11:10:13] [PASSED] 61 VFs [11:10:13] [PASSED] 62 VFs [11:10:13] [PASSED] 63 VFs [11:10:13] ==================== [PASSED] fair_ggtt ==================== [11:10:13] ======================== fair_vram ======================== [11:10:13] [PASSED] 1 VF [11:10:13] [PASSED] 2 VFs [11:10:13] [PASSED] 3 VFs [11:10:13] [PASSED] 4 VFs [11:10:13] [PASSED] 5 VFs [11:10:13] [PASSED] 6 VFs [11:10:13] [PASSED] 7 VFs [11:10:13] [PASSED] 8 VFs [11:10:13] [PASSED] 9 VFs [11:10:13] [PASSED] 10 VFs [11:10:13] [PASSED] 11 VFs [11:10:13] [PASSED] 12 VFs [11:10:13] [PASSED] 13 VFs [11:10:13] [PASSED] 14 VFs [11:10:13] [PASSED] 15 VFs [11:10:13] [PASSED] 16 VFs [11:10:13] [PASSED] 17 VFs [11:10:13] [PASSED] 18 VFs [11:10:13] [PASSED] 19 VFs [11:10:13] [PASSED] 20 VFs [11:10:13] [PASSED] 21 VFs [11:10:13] [PASSED] 22 VFs [11:10:13] [PASSED] 23 VFs [11:10:13] [PASSED] 24 VFs [11:10:13] [PASSED] 25 VFs [11:10:13] [PASSED] 26 VFs [11:10:13] [PASSED] 27 VFs [11:10:13] [PASSED] 28 VFs [11:10:13] [PASSED] 29 VFs [11:10:13] [PASSED] 30 VFs [11:10:13] [PASSED] 31 VFs [11:10:13] [PASSED] 32 VFs [11:10:13] [PASSED] 33 VFs [11:10:13] [PASSED] 34 VFs [11:10:13] [PASSED] 35 VFs [11:10:13] [PASSED] 36 VFs [11:10:13] [PASSED] 37 VFs [11:10:13] [PASSED] 38 VFs [11:10:13] [PASSED] 39 VFs [11:10:13] [PASSED] 40 VFs [11:10:13] [PASSED] 41 VFs [11:10:13] [PASSED] 42 VFs [11:10:13] [PASSED] 43 VFs [11:10:13] [PASSED] 44 VFs [11:10:13] [PASSED] 45 VFs [11:10:13] [PASSED] 46 VFs [11:10:13] [PASSED] 47 VFs [11:10:13] [PASSED] 48 VFs [11:10:13] [PASSED] 49 VFs [11:10:13] [PASSED] 50 VFs [11:10:13] [PASSED] 51 VFs [11:10:13] [PASSED] 52 VFs [11:10:13] [PASSED] 53 VFs [11:10:13] [PASSED] 54 VFs [11:10:13] [PASSED] 55 VFs [11:10:13] [PASSED] 56 VFs [11:10:13] [PASSED] 57 VFs [11:10:13] [PASSED] 58 VFs [11:10:13] [PASSED] 59 VFs [11:10:13] [PASSED] 60 VFs [11:10:13] [PASSED] 61 VFs [11:10:13] [PASSED] 62 VFs [11:10:13] [PASSED] 63 VFs [11:10:13] ==================== [PASSED] fair_vram ==================== [11:10:13] ================== [PASSED] pf_gt_config =================== [11:10:13] ===================== lmtt (1 subtest) ===================== [11:10:13] ======================== test_ops ========================= [11:10:13] [PASSED] 2-level [11:10:13] [PASSED] multi-level [11:10:13] ==================== [PASSED] test_ops ===================== [11:10:13] ====================== [PASSED] lmtt ======================= [11:10:13] ================= pf_service (11 subtests) ================= [11:10:13] [PASSED] pf_negotiate_any [11:10:13] [PASSED] pf_negotiate_base_match [11:10:13] [PASSED] pf_negotiate_base_newer [11:10:13] [PASSED] pf_negotiate_base_next [11:10:13] [SKIPPED] pf_negotiate_base_older [11:10:13] [PASSED] pf_negotiate_base_prev [11:10:13] [PASSED] pf_negotiate_latest_match [11:10:13] [PASSED] pf_negotiate_latest_newer [11:10:13] [PASSED] pf_negotiate_latest_next [11:10:13] [SKIPPED] pf_negotiate_latest_older [11:10:13] [SKIPPED] pf_negotiate_latest_prev [11:10:13] =================== [PASSED] pf_service ==================== [11:10:13] ================== xe_eudebug (1 subtest) ================== [11:10:13] =============== xe_eudebug_toggle_reg_kunit =============== [11:10:13] ========== [SKIPPED] xe_eudebug_toggle_reg_kunit =========== [11:10:13] =================== [SKIPPED] xe_eudebug =================== [11:10:13] ================= xe_guc_g2g (2 subtests) ================== [11:10:13] ============== xe_live_guc_g2g_kunit_default ============== [11:10:13] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [11:10:13] ============== xe_live_guc_g2g_kunit_allmem =============== [11:10:13] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [11:10:13] =================== [SKIPPED] xe_guc_g2g =================== [11:10:13] =================== xe_mocs (2 subtests) =================== [11:10:13] ================ xe_live_mocs_kernel_kunit ================ [11:10:13] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [11:10:13] ================ xe_live_mocs_reset_kunit ================= [11:10:13] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [11:10:13] ==================== [SKIPPED] xe_mocs ===================== [11:10:13] ================= xe_migrate (2 subtests) ================== [11:10:13] ================= xe_migrate_sanity_kunit ================= [11:10:13] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [11:10:13] ================== xe_validate_ccs_kunit ================== [11:10:13] ============= [SKIPPED] xe_validate_ccs_kunit ============== [11:10:13] =================== [SKIPPED] xe_migrate =================== [11:10:13] ================== xe_dma_buf (1 subtest) ================== [11:10:13] ==================== xe_dma_buf_kunit ===================== [11:10:13] ================ [SKIPPED] xe_dma_buf_kunit ================ [11:10:13] =================== [SKIPPED] xe_dma_buf =================== [11:10:13] ================= xe_bo_shrink (1 subtest) ================= [11:10:13] =================== xe_bo_shrink_kunit ==================== [11:10:13] =============== [SKIPPED] xe_bo_shrink_kunit =============== [11:10:13] ================== [SKIPPED] xe_bo_shrink ================== [11:10:13] ==================== xe_bo (2 subtests) ==================== [11:10:13] ================== xe_ccs_migrate_kunit =================== [11:10:13] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [11:10:13] ==================== xe_bo_evict_kunit ==================== [11:10:13] =============== [SKIPPED] xe_bo_evict_kunit ================ [11:10:13] ===================== [SKIPPED] xe_bo ====================== [11:10:13] ==================== args (13 subtests) ==================== [11:10:13] [PASSED] count_args_test [11:10:13] [PASSED] call_args_example [11:10:13] [PASSED] call_args_test [11:10:13] [PASSED] drop_first_arg_example [11:10:13] [PASSED] drop_first_arg_test [11:10:13] [PASSED] first_arg_example [11:10:13] [PASSED] first_arg_test [11:10:13] [PASSED] last_arg_example [11:10:13] [PASSED] last_arg_test [11:10:13] [PASSED] pick_arg_example [11:10:13] [PASSED] if_args_example [11:10:13] [PASSED] if_args_test [11:10:13] [PASSED] sep_comma_example [11:10:13] ====================== [PASSED] args ======================= [11:10:13] =================== xe_pci (3 subtests) ==================== [11:10:13] ==================== check_graphics_ip ==================== [11:10:13] [PASSED] 12.00 Xe_LP [11:10:13] [PASSED] 12.10 Xe_LP+ [11:10:13] [PASSED] 12.55 Xe_HPG [11:10:13] [PASSED] 12.60 Xe_HPC [11:10:13] [PASSED] 12.70 Xe_LPG [11:10:13] [PASSED] 12.71 Xe_LPG [11:10:13] [PASSED] 12.74 Xe_LPG+ [11:10:13] [PASSED] 20.01 Xe2_HPG [11:10:13] [PASSED] 20.02 Xe2_HPG [11:10:13] [PASSED] 20.04 Xe2_LPG [11:10:13] [PASSED] 30.00 Xe3_LPG [11:10:13] [PASSED] 30.01 Xe3_LPG [11:10:13] [PASSED] 30.03 Xe3_LPG [11:10:13] [PASSED] 30.04 Xe3_LPG [11:10:13] [PASSED] 30.05 Xe3_LPG [11:10:13] [PASSED] 35.10 Xe3p_LPG [11:10:13] [PASSED] 35.11 Xe3p_XPC [11:10:13] ================ [PASSED] check_graphics_ip ================ [11:10:13] ===================== check_media_ip ====================== [11:10:13] [PASSED] 12.00 Xe_M [11:10:13] [PASSED] 12.55 Xe_HPM [11:10:13] [PASSED] 13.00 Xe_LPM+ [11:10:13] [PASSED] 13.01 Xe2_HPM [11:10:13] [PASSED] 20.00 Xe2_LPM [11:10:13] [PASSED] 30.00 Xe3_LPM [11:10:13] [PASSED] 30.02 Xe3_LPM [11:10:13] [PASSED] 35.00 Xe3p_LPM [11:10:13] [PASSED] 35.03 Xe3p_HPM [11:10:13] ================= [PASSED] check_media_ip ================== [11:10:13] =================== check_platform_desc =================== [11:10:13] [PASSED] 0x9A60 (TIGERLAKE) [11:10:13] [PASSED] 0x9A68 (TIGERLAKE) [11:10:13] [PASSED] 0x9A70 (TIGERLAKE) [11:10:13] [PASSED] 0x9A40 (TIGERLAKE) [11:10:13] [PASSED] 0x9A49 (TIGERLAKE) [11:10:13] [PASSED] 0x9A59 (TIGERLAKE) [11:10:13] [PASSED] 0x9A78 (TIGERLAKE) [11:10:13] [PASSED] 0x9AC0 (TIGERLAKE) [11:10:13] [PASSED] 0x9AC9 (TIGERLAKE) [11:10:13] [PASSED] 0x9AD9 (TIGERLAKE) [11:10:13] [PASSED] 0x9AF8 (TIGERLAKE) [11:10:13] [PASSED] 0x4C80 (ROCKETLAKE) [11:10:13] [PASSED] 0x4C8A (ROCKETLAKE) [11:10:13] [PASSED] 0x4C8B (ROCKETLAKE) [11:10:13] [PASSED] 0x4C8C (ROCKETLAKE) [11:10:13] [PASSED] 0x4C90 (ROCKETLAKE) [11:10:13] [PASSED] 0x4C9A (ROCKETLAKE) [11:10:13] [PASSED] 0x4680 (ALDERLAKE_S) [11:10:13] [PASSED] 0x4682 (ALDERLAKE_S) [11:10:13] [PASSED] 0x4688 (ALDERLAKE_S) [11:10:13] [PASSED] 0x468A (ALDERLAKE_S) [11:10:13] [PASSED] 0x468B (ALDERLAKE_S) [11:10:13] [PASSED] 0x4690 (ALDERLAKE_S) [11:10:13] [PASSED] 0x4692 (ALDERLAKE_S) [11:10:13] [PASSED] 0x4693 (ALDERLAKE_S) [11:10:13] [PASSED] 0x46A0 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46A1 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46A2 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46A3 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46A6 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46A8 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46AA (ALDERLAKE_P) [11:10:13] [PASSED] 0x462A (ALDERLAKE_P) [11:10:13] [PASSED] 0x4626 (ALDERLAKE_P) [11:10:13] [PASSED] 0x4628 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46B0 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46B1 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46B2 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46B3 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46C0 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46C1 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46C2 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46C3 (ALDERLAKE_P) [11:10:13] [PASSED] 0x46D0 (ALDERLAKE_N) [11:10:13] [PASSED] 0x46D1 (ALDERLAKE_N) [11:10:13] [PASSED] 0x46D2 (ALDERLAKE_N) [11:10:13] [PASSED] 0x46D3 (ALDERLAKE_N) [11:10:13] [PASSED] 0x46D4 (ALDERLAKE_N) [11:10:13] [PASSED] 0xA721 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7A1 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7A9 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7AC (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7AD (ALDERLAKE_P) [11:10:13] [PASSED] 0xA720 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7A0 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7A8 (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7AA (ALDERLAKE_P) [11:10:13] [PASSED] 0xA7AB (ALDERLAKE_P) [11:10:13] [PASSED] 0xA780 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA781 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA782 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA783 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA788 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA789 (ALDERLAKE_S) [11:10:13] [PASSED] 0xA78A (ALDERLAKE_S) [11:10:13] [PASSED] 0xA78B (ALDERLAKE_S) [11:10:13] [PASSED] 0x4905 (DG1) [11:10:13] [PASSED] 0x4906 (DG1) [11:10:13] [PASSED] 0x4907 (DG1) [11:10:13] [PASSED] 0x4908 (DG1) [11:10:13] [PASSED] 0x4909 (DG1) [11:10:13] [PASSED] 0x56C0 (DG2) [11:10:13] [PASSED] 0x56C2 (DG2) [11:10:13] [PASSED] 0x56C1 (DG2) [11:10:13] [PASSED] 0x7D51 (METEORLAKE) [11:10:13] [PASSED] 0x7DD1 (METEORLAKE) [11:10:13] [PASSED] 0x7D41 (METEORLAKE) [11:10:13] [PASSED] 0x7D67 (METEORLAKE) [11:10:13] [PASSED] 0xB640 (METEORLAKE) [11:10:13] [PASSED] 0x56A0 (DG2) [11:10:13] [PASSED] 0x56A1 (DG2) [11:10:13] [PASSED] 0x56A2 (DG2) [11:10:13] [PASSED] 0x56BE (DG2) [11:10:13] [PASSED] 0x56BF (DG2) [11:10:13] [PASSED] 0x5690 (DG2) [11:10:13] [PASSED] 0x5691 (DG2) [11:10:13] [PASSED] 0x5692 (DG2) [11:10:13] [PASSED] 0x56A5 (DG2) [11:10:13] [PASSED] 0x56A6 (DG2) [11:10:13] [PASSED] 0x56B0 (DG2) [11:10:13] [PASSED] 0x56B1 (DG2) [11:10:13] [PASSED] 0x56BA (DG2) [11:10:13] [PASSED] 0x56BB (DG2) [11:10:13] [PASSED] 0x56BC (DG2) [11:10:13] [PASSED] 0x56BD (DG2) [11:10:13] [PASSED] 0x5693 (DG2) [11:10:13] [PASSED] 0x5694 (DG2) [11:10:13] [PASSED] 0x5695 (DG2) [11:10:13] [PASSED] 0x56A3 (DG2) [11:10:13] [PASSED] 0x56A4 (DG2) [11:10:13] [PASSED] 0x56B2 (DG2) [11:10:13] [PASSED] 0x56B3 (DG2) [11:10:13] [PASSED] 0x5696 (DG2) [11:10:13] [PASSED] 0x5697 (DG2) [11:10:13] [PASSED] 0xB69 (PVC) [11:10:13] [PASSED] 0xB6E (PVC) [11:10:13] [PASSED] 0xBD4 (PVC) [11:10:13] [PASSED] 0xBD5 (PVC) [11:10:13] [PASSED] 0xBD6 (PVC) [11:10:13] [PASSED] 0xBD7 (PVC) [11:10:13] [PASSED] 0xBD8 (PVC) [11:10:13] [PASSED] 0xBD9 (PVC) [11:10:13] [PASSED] 0xBDA (PVC) [11:10:13] [PASSED] 0xBDB (PVC) [11:10:13] [PASSED] 0xBE0 (PVC) [11:10:13] [PASSED] 0xBE1 (PVC) [11:10:13] [PASSED] 0xBE5 (PVC) [11:10:13] [PASSED] 0x7D40 (METEORLAKE) [11:10:13] [PASSED] 0x7D45 (METEORLAKE) [11:10:13] [PASSED] 0x7D55 (METEORLAKE) [11:10:13] [PASSED] 0x7D60 (METEORLAKE) [11:10:13] [PASSED] 0x7DD5 (METEORLAKE) [11:10:13] [PASSED] 0x6420 (LUNARLAKE) [11:10:13] [PASSED] 0x64A0 (LUNARLAKE) [11:10:13] [PASSED] 0x64B0 (LUNARLAKE) [11:10:13] [PASSED] 0xE202 (BATTLEMAGE) [11:10:13] [PASSED] 0xE209 (BATTLEMAGE) [11:10:13] [PASSED] 0xE20B (BATTLEMAGE) [11:10:13] [PASSED] 0xE20C (BATTLEMAGE) [11:10:13] [PASSED] 0xE20D (BATTLEMAGE) [11:10:13] [PASSED] 0xE210 (BATTLEMAGE) [11:10:13] [PASSED] 0xE211 (BATTLEMAGE) [11:10:13] [PASSED] 0xE212 (BATTLEMAGE) [11:10:13] [PASSED] 0xE216 (BATTLEMAGE) [11:10:13] [PASSED] 0xE220 (BATTLEMAGE) [11:10:13] [PASSED] 0xE221 (BATTLEMAGE) [11:10:13] [PASSED] 0xE222 (BATTLEMAGE) [11:10:13] [PASSED] 0xE223 (BATTLEMAGE) [11:10:13] [PASSED] 0xB080 (PANTHERLAKE) [11:10:13] [PASSED] 0xB081 (PANTHERLAKE) [11:10:13] [PASSED] 0xB082 (PANTHERLAKE) [11:10:13] [PASSED] 0xB083 (PANTHERLAKE) [11:10:13] [PASSED] 0xB084 (PANTHERLAKE) [11:10:13] [PASSED] 0xB085 (PANTHERLAKE) [11:10:13] [PASSED] 0xB086 (PANTHERLAKE) [11:10:13] [PASSED] 0xB087 (PANTHERLAKE) [11:10:13] [PASSED] 0xB08F (PANTHERLAKE) [11:10:13] [PASSED] 0xB090 (PANTHERLAKE) [11:10:13] [PASSED] 0xB0A0 (PANTHERLAKE) [11:10:13] [PASSED] 0xB0B0 (PANTHERLAKE) [11:10:13] [PASSED] 0xFD80 (PANTHERLAKE) [11:10:13] [PASSED] 0xFD81 (PANTHERLAKE) [11:10:13] [PASSED] 0xD740 (NOVALAKE_S) [11:10:13] [PASSED] 0xD741 (NOVALAKE_S) [11:10:13] [PASSED] 0xD742 (NOVALAKE_S) [11:10:13] [PASSED] 0xD743 (NOVALAKE_S) [11:10:13] [PASSED] 0xD744 (NOVALAKE_S) [11:10:13] [PASSED] 0xD745 (NOVALAKE_S) [11:10:13] [PASSED] 0x674C (CRESCENTISLAND) [11:10:13] [PASSED] 0xD750 (NOVALAKE_P) [11:10:13] [PASSED] 0xD751 (NOVALAKE_P) [11:10:13] [PASSED] 0xD752 (NOVALAKE_P) [11:10:13] [PASSED] 0xD753 (NOVALAKE_P) [11:10:13] [PASSED] 0xD754 (NOVALAKE_P) [11:10:13] [PASSED] 0xD755 (NOVALAKE_P) [11:10:13] [PASSED] 0xD756 (NOVALAKE_P) [11:10:13] [PASSED] 0xD757 (NOVALAKE_P) [11:10:13] [PASSED] 0xD75F (NOVALAKE_P) [11:10:13] =============== [PASSED] check_platform_desc =============== [11:10:13] ===================== [PASSED] xe_pci ====================== [11:10:13] =================== xe_rtp (2 subtests) ==================== [11:10:13] =============== xe_rtp_process_to_sr_tests ================ [11:10:13] [PASSED] coalesce-same-reg [11:10:13] [PASSED] no-match-no-add [11:10:13] [PASSED] match-or [11:10:13] [PASSED] match-or-xfail [11:10:13] [PASSED] no-match-no-add-multiple-rules [11:10:13] [PASSED] two-regs-two-entries [11:10:13] [PASSED] clr-one-set-other [11:10:13] [PASSED] set-field [11:10:13] [PASSED] conflict-duplicate [11:10:13] [PASSED] conflict-not-disjoint [11:10:13] [PASSED] conflict-reg-type [11:10:13] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [11:10:13] ================== xe_rtp_process_tests =================== [11:10:13] [PASSED] active1 [11:10:13] [PASSED] active2 [11:10:13] [PASSED] active-inactive [11:10:13] [PASSED] inactive-active [11:10:13] [PASSED] inactive-1st_or_active-inactive [11:10:13] [PASSED] inactive-2nd_or_active-inactive [11:10:13] [PASSED] inactive-last_or_active-inactive [11:10:13] [PASSED] inactive-no_or_active-inactive [11:10:13] ============== [PASSED] xe_rtp_process_tests =============== [11:10:13] ===================== [PASSED] xe_rtp ====================== [11:10:13] ==================== xe_wa (1 subtest) ===================== [11:10:13] ======================== xe_wa_gt ========================= [11:10:13] [PASSED] TIGERLAKE B0 [11:10:13] [PASSED] DG1 A0 [11:10:13] [PASSED] DG1 B0 [11:10:13] [PASSED] ALDERLAKE_S A0 [11:10:13] [PASSED] ALDERLAKE_S B0 [11:10:13] [PASSED] ALDERLAKE_S C0 [11:10:13] [PASSED] ALDERLAKE_S D0 [11:10:13] [PASSED] ALDERLAKE_P A0 [11:10:13] [PASSED] ALDERLAKE_P B0 [11:10:13] [PASSED] ALDERLAKE_P C0 [11:10:13] [PASSED] ALDERLAKE_S RPLS D0 [11:10:13] [PASSED] ALDERLAKE_P RPLU E0 [11:10:13] [PASSED] DG2 G10 C0 [11:10:13] [PASSED] DG2 G11 B1 [11:10:13] [PASSED] DG2 G12 A1 [11:10:13] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:10:13] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:10:13] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [11:10:13] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [11:10:13] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [11:10:13] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [11:10:13] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [11:10:13] ==================== [PASSED] xe_wa_gt ===================== [11:10:13] ====================== [PASSED] xe_wa ====================== [11:10:13] ============================================================ [11:10:13] Testing complete. Ran 598 tests: passed: 579, skipped: 19 [11:10:13] Elapsed time: 36.340s total, 4.220s configuring, 31.504s building, 0.609s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [11:10:13] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:10:15] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [11:10:39] Starting KUnit Kernel (1/1)... [11:10:39] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:10:39] ============ drm_test_pick_cmdline (2 subtests) ============ [11:10:39] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [11:10:39] =============== drm_test_pick_cmdline_named =============== [11:10:39] [PASSED] NTSC [11:10:39] [PASSED] NTSC-J [11:10:39] [PASSED] PAL [11:10:39] [PASSED] PAL-M [11:10:39] =========== [PASSED] drm_test_pick_cmdline_named =========== [11:10:39] ============== [PASSED] drm_test_pick_cmdline ============== [11:10:39] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [11:10:39] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [11:10:39] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [11:10:39] =========== drm_validate_clone_mode (2 subtests) =========== [11:10:39] ============== drm_test_check_in_clone_mode =============== [11:10:39] [PASSED] in_clone_mode [11:10:39] [PASSED] not_in_clone_mode [11:10:39] ========== [PASSED] drm_test_check_in_clone_mode =========== [11:10:39] =============== drm_test_check_valid_clones =============== [11:10:39] [PASSED] not_in_clone_mode [11:10:39] [PASSED] valid_clone [11:10:39] [PASSED] invalid_clone [11:10:39] =========== [PASSED] drm_test_check_valid_clones =========== [11:10:39] ============= [PASSED] drm_validate_clone_mode ============= [11:10:39] ============= drm_validate_modeset (1 subtest) ============= [11:10:39] [PASSED] drm_test_check_connector_changed_modeset [11:10:39] ============== [PASSED] drm_validate_modeset =============== [11:10:39] ====== drm_test_bridge_get_current_state (2 subtests) ====== [11:10:39] [PASSED] drm_test_drm_bridge_get_current_state_atomic [11:10:39] [PASSED] drm_test_drm_bridge_get_current_state_legacy [11:10:39] ======== [PASSED] drm_test_bridge_get_current_state ======== [11:10:39] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [11:10:39] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [11:10:39] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [11:10:39] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [11:10:39] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [11:10:39] ============== drm_bridge_alloc (2 subtests) =============== [11:10:39] [PASSED] drm_test_drm_bridge_alloc_basic [11:10:39] [PASSED] drm_test_drm_bridge_alloc_get_put [11:10:39] ================ [PASSED] drm_bridge_alloc ================= [11:10:39] ============= drm_cmdline_parser (40 subtests) ============= [11:10:39] [PASSED] drm_test_cmdline_force_d_only [11:10:39] [PASSED] drm_test_cmdline_force_D_only_dvi [11:10:39] [PASSED] drm_test_cmdline_force_D_only_hdmi [11:10:39] [PASSED] drm_test_cmdline_force_D_only_not_digital [11:10:39] [PASSED] drm_test_cmdline_force_e_only [11:10:39] [PASSED] drm_test_cmdline_res [11:10:39] [PASSED] drm_test_cmdline_res_vesa [11:10:39] [PASSED] drm_test_cmdline_res_vesa_rblank [11:10:39] [PASSED] drm_test_cmdline_res_rblank [11:10:39] [PASSED] drm_test_cmdline_res_bpp [11:10:39] [PASSED] drm_test_cmdline_res_refresh [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [11:10:39] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [11:10:39] [PASSED] drm_test_cmdline_res_margins_force_on [11:10:39] [PASSED] drm_test_cmdline_res_vesa_margins [11:10:39] [PASSED] drm_test_cmdline_name [11:10:39] [PASSED] drm_test_cmdline_name_bpp [11:10:39] [PASSED] drm_test_cmdline_name_option [11:10:39] [PASSED] drm_test_cmdline_name_bpp_option [11:10:39] [PASSED] drm_test_cmdline_rotate_0 [11:10:39] [PASSED] drm_test_cmdline_rotate_90 [11:10:39] [PASSED] drm_test_cmdline_rotate_180 [11:10:39] [PASSED] drm_test_cmdline_rotate_270 [11:10:39] [PASSED] drm_test_cmdline_hmirror [11:10:39] [PASSED] drm_test_cmdline_vmirror [11:10:39] [PASSED] drm_test_cmdline_margin_options [11:10:39] [PASSED] drm_test_cmdline_multiple_options [11:10:39] [PASSED] drm_test_cmdline_bpp_extra_and_option [11:10:39] [PASSED] drm_test_cmdline_extra_and_option [11:10:39] [PASSED] drm_test_cmdline_freestanding_options [11:10:39] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [11:10:39] [PASSED] drm_test_cmdline_panel_orientation [11:10:39] ================ drm_test_cmdline_invalid ================= [11:10:39] [PASSED] margin_only [11:10:39] [PASSED] interlace_only [11:10:39] [PASSED] res_missing_x [11:10:39] [PASSED] res_missing_y [11:10:39] [PASSED] res_bad_y [11:10:39] [PASSED] res_missing_y_bpp [11:10:39] [PASSED] res_bad_bpp [11:10:39] [PASSED] res_bad_refresh [11:10:39] [PASSED] res_bpp_refresh_force_on_off [11:10:39] [PASSED] res_invalid_mode [11:10:39] [PASSED] res_bpp_wrong_place_mode [11:10:39] [PASSED] name_bpp_refresh [11:10:39] [PASSED] name_refresh [11:10:39] [PASSED] name_refresh_wrong_mode [11:10:39] [PASSED] name_refresh_invalid_mode [11:10:39] [PASSED] rotate_multiple [11:10:39] [PASSED] rotate_invalid_val [11:10:39] [PASSED] rotate_truncated [11:10:39] [PASSED] invalid_option [11:10:39] [PASSED] invalid_tv_option [11:10:39] [PASSED] truncated_tv_option [11:10:39] ============ [PASSED] drm_test_cmdline_invalid ============= [11:10:39] =============== drm_test_cmdline_tv_options =============== [11:10:39] [PASSED] NTSC [11:10:39] [PASSED] NTSC_443 [11:10:39] [PASSED] NTSC_J [11:10:39] [PASSED] PAL [11:10:39] [PASSED] PAL_M [11:10:39] [PASSED] PAL_N [11:10:39] [PASSED] SECAM [11:10:39] [PASSED] MONO_525 [11:10:39] [PASSED] MONO_625 [11:10:39] =========== [PASSED] drm_test_cmdline_tv_options =========== [11:10:39] =============== [PASSED] drm_cmdline_parser ================ [11:10:39] ========== drmm_connector_hdmi_init (20 subtests) ========== [11:10:39] [PASSED] drm_test_connector_hdmi_init_valid [11:10:39] [PASSED] drm_test_connector_hdmi_init_bpc_8 [11:10:39] [PASSED] drm_test_connector_hdmi_init_bpc_10 [11:10:39] [PASSED] drm_test_connector_hdmi_init_bpc_12 [11:10:39] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [11:10:39] [PASSED] drm_test_connector_hdmi_init_bpc_null [11:10:39] [PASSED] drm_test_connector_hdmi_init_formats_empty [11:10:39] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [11:10:39] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:10:39] [PASSED] supported_formats=0x9 yuv420_allowed=1 [11:10:39] [PASSED] supported_formats=0x9 yuv420_allowed=0 [11:10:39] [PASSED] supported_formats=0x5 yuv420_allowed=1 [11:10:39] [PASSED] supported_formats=0x5 yuv420_allowed=0 [11:10:39] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:10:39] [PASSED] drm_test_connector_hdmi_init_null_ddc [11:10:39] [PASSED] drm_test_connector_hdmi_init_null_product [11:10:39] [PASSED] drm_test_connector_hdmi_init_null_vendor [11:10:39] [PASSED] drm_test_connector_hdmi_init_product_length_exact [11:10:39] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [11:10:39] [PASSED] drm_test_connector_hdmi_init_product_valid [11:10:39] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [11:10:39] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [11:10:39] [PASSED] drm_test_connector_hdmi_init_vendor_valid [11:10:39] ========= drm_test_connector_hdmi_init_type_valid ========= [11:10:39] [PASSED] HDMI-A [11:10:39] [PASSED] HDMI-B [11:10:39] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [11:10:39] ======== drm_test_connector_hdmi_init_type_invalid ======== [11:10:39] [PASSED] Unknown [11:10:39] [PASSED] VGA [11:10:39] [PASSED] DVI-I [11:10:39] [PASSED] DVI-D [11:10:39] [PASSED] DVI-A [11:10:39] [PASSED] Composite [11:10:39] [PASSED] SVIDEO [11:10:39] [PASSED] LVDS [11:10:39] [PASSED] Component [11:10:39] [PASSED] DIN [11:10:39] [PASSED] DP [11:10:39] [PASSED] TV [11:10:39] [PASSED] eDP [11:10:39] [PASSED] Virtual [11:10:39] [PASSED] DSI [11:10:39] [PASSED] DPI [11:10:39] [PASSED] Writeback [11:10:39] [PASSED] SPI [11:10:39] [PASSED] USB [11:10:39] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [11:10:39] ============ [PASSED] drmm_connector_hdmi_init ============= [11:10:39] ============= drmm_connector_init (3 subtests) ============= [11:10:39] [PASSED] drm_test_drmm_connector_init [11:10:39] [PASSED] drm_test_drmm_connector_init_null_ddc [11:10:39] ========= drm_test_drmm_connector_init_type_valid ========= [11:10:39] [PASSED] Unknown [11:10:39] [PASSED] VGA [11:10:39] [PASSED] DVI-I [11:10:39] [PASSED] DVI-D [11:10:39] [PASSED] DVI-A [11:10:39] [PASSED] Composite [11:10:39] [PASSED] SVIDEO [11:10:39] [PASSED] LVDS [11:10:39] [PASSED] Component [11:10:39] [PASSED] DIN [11:10:39] [PASSED] DP [11:10:39] [PASSED] HDMI-A [11:10:39] [PASSED] HDMI-B [11:10:39] [PASSED] TV [11:10:39] [PASSED] eDP [11:10:39] [PASSED] Virtual [11:10:39] [PASSED] DSI [11:10:39] [PASSED] DPI [11:10:39] [PASSED] Writeback [11:10:39] [PASSED] SPI [11:10:39] [PASSED] USB [11:10:39] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [11:10:39] =============== [PASSED] drmm_connector_init =============== [11:10:39] ========= drm_connector_dynamic_init (6 subtests) ========== [11:10:39] [PASSED] drm_test_drm_connector_dynamic_init [11:10:39] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [11:10:39] [PASSED] drm_test_drm_connector_dynamic_init_not_added [11:10:39] [PASSED] drm_test_drm_connector_dynamic_init_properties [11:10:39] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [11:10:39] [PASSED] Unknown [11:10:39] [PASSED] VGA [11:10:39] [PASSED] DVI-I [11:10:39] [PASSED] DVI-D [11:10:39] [PASSED] DVI-A [11:10:39] [PASSED] Composite [11:10:39] [PASSED] SVIDEO [11:10:39] [PASSED] LVDS [11:10:39] [PASSED] Component [11:10:39] [PASSED] DIN [11:10:39] [PASSED] DP [11:10:39] [PASSED] HDMI-A [11:10:39] [PASSED] HDMI-B [11:10:39] [PASSED] TV [11:10:39] [PASSED] eDP [11:10:39] [PASSED] Virtual [11:10:39] [PASSED] DSI [11:10:39] [PASSED] DPI [11:10:39] [PASSED] Writeback [11:10:39] [PASSED] SPI [11:10:39] [PASSED] USB [11:10:39] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [11:10:39] ======== drm_test_drm_connector_dynamic_init_name ========= [11:10:39] [PASSED] Unknown [11:10:39] [PASSED] VGA [11:10:39] [PASSED] DVI-I [11:10:39] [PASSED] DVI-D [11:10:39] [PASSED] DVI-A [11:10:39] [PASSED] Composite [11:10:39] [PASSED] SVIDEO [11:10:39] [PASSED] LVDS [11:10:39] [PASSED] Component [11:10:39] [PASSED] DIN [11:10:39] [PASSED] DP [11:10:39] [PASSED] HDMI-A [11:10:39] [PASSED] HDMI-B [11:10:39] [PASSED] TV [11:10:39] [PASSED] eDP [11:10:39] [PASSED] Virtual [11:10:39] [PASSED] DSI [11:10:39] [PASSED] DPI [11:10:39] [PASSED] Writeback [11:10:39] [PASSED] SPI [11:10:39] [PASSED] USB [11:10:39] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [11:10:39] =========== [PASSED] drm_connector_dynamic_init ============ [11:10:39] ==== drm_connector_dynamic_register_early (4 subtests) ===== [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [11:10:39] ====== [PASSED] drm_connector_dynamic_register_early ======= [11:10:39] ======= drm_connector_dynamic_register (7 subtests) ======== [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_on_list [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_no_init [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [11:10:39] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [11:10:39] ========= [PASSED] drm_connector_dynamic_register ========== [11:10:39] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [11:10:39] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [11:10:39] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [11:10:39] === [PASSED] drm_connector_attach_broadcast_rgb_property === [11:10:39] ========== drm_get_tv_mode_from_name (2 subtests) ========== [11:10:39] ========== drm_test_get_tv_mode_from_name_valid =========== [11:10:39] [PASSED] NTSC [11:10:39] [PASSED] NTSC-443 [11:10:39] [PASSED] NTSC-J [11:10:39] [PASSED] PAL [11:10:39] [PASSED] PAL-M [11:10:39] [PASSED] PAL-N [11:10:39] [PASSED] SECAM [11:10:39] [PASSED] Mono [11:10:39] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [11:10:39] [PASSED] drm_test_get_tv_mode_from_name_truncated [11:10:39] ============ [PASSED] drm_get_tv_mode_from_name ============ [11:10:39] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [11:10:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [11:10:39] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [11:10:39] [PASSED] VIC 96 [11:10:39] [PASSED] VIC 97 [11:10:39] [PASSED] VIC 101 [11:10:39] [PASSED] VIC 102 [11:10:39] [PASSED] VIC 106 [11:10:39] [PASSED] VIC 107 [11:10:39] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [11:10:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [11:10:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [11:10:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [11:10:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [11:10:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [11:10:39] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [11:10:39] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [11:10:39] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [11:10:39] [PASSED] Automatic [11:10:39] [PASSED] Full [11:10:39] [PASSED] Limited 16:235 [11:10:39] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [11:10:39] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [11:10:39] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [11:10:39] == drm_hdmi_connector_get_output_format_name (2 subtests) == [11:10:39] === drm_test_drm_hdmi_connector_get_output_format_name ==== [11:10:39] [PASSED] RGB [11:10:39] [PASSED] YUV 4:2:0 [11:10:39] [PASSED] YUV 4:2:2 [11:10:39] [PASSED] YUV 4:4:4 [11:10:39] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [11:10:39] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [11:10:39] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [11:10:39] ============= drm_damage_helper (21 subtests) ============== [11:10:39] [PASSED] drm_test_damage_iter_no_damage [11:10:39] [PASSED] drm_test_damage_iter_no_damage_fractional_src [11:10:39] [PASSED] drm_test_damage_iter_no_damage_src_moved [11:10:39] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [11:10:39] [PASSED] drm_test_damage_iter_no_damage_not_visible [11:10:39] [PASSED] drm_test_damage_iter_no_damage_no_crtc [11:10:39] [PASSED] drm_test_damage_iter_no_damage_no_fb [11:10:39] [PASSED] drm_test_damage_iter_simple_damage [11:10:39] [PASSED] drm_test_damage_iter_single_damage [11:10:39] [PASSED] drm_test_damage_iter_single_damage_intersect_src [11:10:39] [PASSED] drm_test_damage_iter_single_damage_outside_src [11:10:39] [PASSED] drm_test_damage_iter_single_damage_fractional_src [11:10:39] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [11:10:39] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [11:10:39] [PASSED] drm_test_damage_iter_single_damage_src_moved [11:10:39] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [11:10:39] [PASSED] drm_test_damage_iter_damage [11:10:39] [PASSED] drm_test_damage_iter_damage_one_intersect [11:10:39] [PASSED] drm_test_damage_iter_damage_one_outside [11:10:39] [PASSED] drm_test_damage_iter_damage_src_moved [11:10:39] [PASSED] drm_test_damage_iter_damage_not_visible [11:10:39] ================ [PASSED] drm_damage_helper ================ [11:10:39] ============== drm_dp_mst_helper (3 subtests) ============== [11:10:39] ============== drm_test_dp_mst_calc_pbn_mode ============== [11:10:39] [PASSED] Clock 154000 BPP 30 DSC disabled [11:10:39] [PASSED] Clock 234000 BPP 30 DSC disabled [11:10:39] [PASSED] Clock 297000 BPP 24 DSC disabled [11:10:39] [PASSED] Clock 332880 BPP 24 DSC enabled [11:10:39] [PASSED] Clock 324540 BPP 24 DSC enabled [11:10:39] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [11:10:39] ============== drm_test_dp_mst_calc_pbn_div =============== [11:10:39] [PASSED] Link rate 2000000 lane count 4 [11:10:39] [PASSED] Link rate 2000000 lane count 2 [11:10:39] [PASSED] Link rate 2000000 lane count 1 [11:10:39] [PASSED] Link rate 1350000 lane count 4 [11:10:39] [PASSED] Link rate 1350000 lane count 2 [11:10:39] [PASSED] Link rate 1350000 lane count 1 [11:10:39] [PASSED] Link rate 1000000 lane count 4 [11:10:39] [PASSED] Link rate 1000000 lane count 2 [11:10:39] [PASSED] Link rate 1000000 lane count 1 [11:10:39] [PASSED] Link rate 810000 lane count 4 [11:10:39] [PASSED] Link rate 810000 lane count 2 [11:10:39] [PASSED] Link rate 810000 lane count 1 [11:10:39] [PASSED] Link rate 540000 lane count 4 [11:10:39] [PASSED] Link rate 540000 lane count 2 [11:10:39] [PASSED] Link rate 540000 lane count 1 [11:10:39] [PASSED] Link rate 270000 lane count 4 [11:10:39] [PASSED] Link rate 270000 lane count 2 [11:10:39] [PASSED] Link rate 270000 lane count 1 [11:10:39] [PASSED] Link rate 162000 lane count 4 [11:10:39] [PASSED] Link rate 162000 lane count 2 [11:10:39] [PASSED] Link rate 162000 lane count 1 [11:10:39] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [11:10:39] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [11:10:39] [PASSED] DP_ENUM_PATH_RESOURCES with port number [11:10:39] [PASSED] DP_POWER_UP_PHY with port number [11:10:39] [PASSED] DP_POWER_DOWN_PHY with port number [11:10:39] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [11:10:39] [PASSED] DP_ALLOCATE_PAYLOAD with port number [11:10:39] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [11:10:39] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [11:10:39] [PASSED] DP_QUERY_PAYLOAD with port number [11:10:39] [PASSED] DP_QUERY_PAYLOAD with VCPI [11:10:39] [PASSED] DP_REMOTE_DPCD_READ with port number [11:10:39] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [11:10:39] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [11:10:39] [PASSED] DP_REMOTE_DPCD_WRITE with port number [11:10:39] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [11:10:39] [PASSED] DP_REMOTE_DPCD_WRITE with data array [11:10:39] [PASSED] DP_REMOTE_I2C_READ with port number [11:10:39] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [11:10:39] [PASSED] DP_REMOTE_I2C_READ with transactions array [11:10:39] [PASSED] DP_REMOTE_I2C_WRITE with port number [11:10:39] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [11:10:39] [PASSED] DP_REMOTE_I2C_WRITE with data array [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [11:10:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [11:10:39] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [11:10:39] ================ [PASSED] drm_dp_mst_helper ================ [11:10:39] ================== drm_exec (7 subtests) =================== [11:10:39] [PASSED] sanitycheck [11:10:39] [PASSED] test_lock [11:10:39] [PASSED] test_lock_unlock [11:10:39] [PASSED] test_duplicates [11:10:39] [PASSED] test_prepare [11:10:39] [PASSED] test_prepare_array [11:10:39] [PASSED] test_multiple_loops [11:10:39] ==================== [PASSED] drm_exec ===================== [11:10:39] =========== drm_format_helper_test (17 subtests) =========== [11:10:39] ============== drm_test_fb_xrgb8888_to_gray8 ============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [11:10:39] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [11:10:39] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [11:10:39] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [11:10:39] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [11:10:39] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [11:10:39] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [11:10:39] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [11:10:39] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [11:10:39] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [11:10:39] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [11:10:39] ============== drm_test_fb_xrgb8888_to_mono =============== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [11:10:39] ==================== drm_test_fb_swab ===================== [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ================ [PASSED] drm_test_fb_swab ================= [11:10:39] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [11:10:39] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [11:10:39] [PASSED] single_pixel_source_buffer [11:10:39] [PASSED] single_pixel_clip_rectangle [11:10:39] [PASSED] well_known_colors [11:10:39] [PASSED] destination_pitch [11:10:39] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [11:10:39] ================= drm_test_fb_clip_offset ================= [11:10:39] [PASSED] pass through [11:10:39] [PASSED] horizontal offset [11:10:39] [PASSED] vertical offset [11:10:39] [PASSED] horizontal and vertical offset [11:10:39] [PASSED] horizontal offset (custom pitch) [11:10:39] [PASSED] vertical offset (custom pitch) [11:10:39] [PASSED] horizontal and vertical offset (custom pitch) [11:10:39] ============= [PASSED] drm_test_fb_clip_offset ============= [11:10:39] =================== drm_test_fb_memcpy ==================== [11:10:39] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [11:10:39] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [11:10:39] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [11:10:39] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [11:10:39] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [11:10:39] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [11:10:39] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [11:10:39] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [11:10:39] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [11:10:39] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [11:10:39] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [11:10:39] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [11:10:39] =============== [PASSED] drm_test_fb_memcpy ================ [11:10:39] ============= [PASSED] drm_format_helper_test ============== [11:10:39] ================= drm_format (18 subtests) ================= [11:10:39] [PASSED] drm_test_format_block_width_invalid [11:10:39] [PASSED] drm_test_format_block_width_one_plane [11:10:39] [PASSED] drm_test_format_block_width_two_plane [11:10:39] [PASSED] drm_test_format_block_width_three_plane [11:10:39] [PASSED] drm_test_format_block_width_tiled [11:10:39] [PASSED] drm_test_format_block_height_invalid [11:10:39] [PASSED] drm_test_format_block_height_one_plane [11:10:39] [PASSED] drm_test_format_block_height_two_plane [11:10:39] [PASSED] drm_test_format_block_height_three_plane [11:10:39] [PASSED] drm_test_format_block_height_tiled [11:10:39] [PASSED] drm_test_format_min_pitch_invalid [11:10:39] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [11:10:39] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [11:10:39] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [11:10:39] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [11:10:39] [PASSED] drm_test_format_min_pitch_two_plane [11:10:39] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [11:10:39] [PASSED] drm_test_format_min_pitch_tiled [11:10:39] =================== [PASSED] drm_format ==================== [11:10:39] ============== drm_framebuffer (10 subtests) =============== [11:10:39] ========== drm_test_framebuffer_check_src_coords ========== [11:10:39] [PASSED] Success: source fits into fb [11:10:39] [PASSED] Fail: overflowing fb with x-axis coordinate [11:10:39] [PASSED] Fail: overflowing fb with y-axis coordinate [11:10:39] [PASSED] Fail: overflowing fb with source width [11:10:39] [PASSED] Fail: overflowing fb with source height [11:10:39] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [11:10:39] [PASSED] drm_test_framebuffer_cleanup [11:10:39] =============== drm_test_framebuffer_create =============== [11:10:39] [PASSED] ABGR8888 normal sizes [11:10:39] [PASSED] ABGR8888 max sizes [11:10:39] [PASSED] ABGR8888 pitch greater than min required [11:10:39] [PASSED] ABGR8888 pitch less than min required [11:10:39] [PASSED] ABGR8888 Invalid width [11:10:39] [PASSED] ABGR8888 Invalid buffer handle [11:10:39] [PASSED] No pixel format [11:10:39] [PASSED] ABGR8888 Width 0 [11:10:39] [PASSED] ABGR8888 Height 0 [11:10:39] [PASSED] ABGR8888 Out of bound height * pitch combination [11:10:39] [PASSED] ABGR8888 Large buffer offset [11:10:39] [PASSED] ABGR8888 Buffer offset for inexistent plane [11:10:39] [PASSED] ABGR8888 Invalid flag [11:10:39] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [11:10:39] [PASSED] ABGR8888 Valid buffer modifier [11:10:39] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [11:10:39] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] NV12 Normal sizes [11:10:39] [PASSED] NV12 Max sizes [11:10:39] [PASSED] NV12 Invalid pitch [11:10:39] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [11:10:39] [PASSED] NV12 different modifier per-plane [11:10:39] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [11:10:39] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] NV12 Modifier for inexistent plane [11:10:39] [PASSED] NV12 Handle for inexistent plane [11:10:39] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [11:10:39] [PASSED] YVU420 Normal sizes [11:10:39] [PASSED] YVU420 Max sizes [11:10:39] [PASSED] YVU420 Invalid pitch [11:10:39] [PASSED] YVU420 Different pitches [11:10:39] [PASSED] YVU420 Different buffer offsets/pitches [11:10:39] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [11:10:39] [PASSED] YVU420 Valid modifier [11:10:39] [PASSED] YVU420 Different modifiers per plane [11:10:39] [PASSED] YVU420 Modifier for inexistent plane [11:10:39] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [11:10:39] [PASSED] X0L2 Normal sizes [11:10:39] [PASSED] X0L2 Max sizes [11:10:39] [PASSED] X0L2 Invalid pitch [11:10:39] [PASSED] X0L2 Pitch greater than minimum required [11:10:39] [PASSED] X0L2 Handle for inexistent plane [11:10:39] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [11:10:39] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [11:10:39] [PASSED] X0L2 Valid modifier [11:10:39] [PASSED] X0L2 Modifier for inexistent plane [11:10:39] =========== [PASSED] drm_test_framebuffer_create =========== [11:10:39] [PASSED] drm_test_framebuffer_free [11:10:39] [PASSED] drm_test_framebuffer_init [11:10:39] [PASSED] drm_test_framebuffer_init_bad_format [11:10:39] [PASSED] drm_test_framebuffer_init_dev_mismatch [11:10:39] [PASSED] drm_test_framebuffer_lookup [11:10:39] [PASSED] drm_test_framebuffer_lookup_inexistent [11:10:39] [PASSED] drm_test_framebuffer_modifiers_not_supported [11:10:39] ================= [PASSED] drm_framebuffer ================= [11:10:39] ================ drm_gem_shmem (8 subtests) ================ [11:10:39] [PASSED] drm_gem_shmem_test_obj_create [11:10:39] [PASSED] drm_gem_shmem_test_obj_create_private [11:10:39] [PASSED] drm_gem_shmem_test_pin_pages [11:10:39] [PASSED] drm_gem_shmem_test_vmap [11:10:39] [PASSED] drm_gem_shmem_test_get_sg_table [11:10:39] [PASSED] drm_gem_shmem_test_get_pages_sgt [11:10:39] [PASSED] drm_gem_shmem_test_madvise [11:10:39] [PASSED] drm_gem_shmem_test_purge [11:10:39] ================== [PASSED] drm_gem_shmem ================== [11:10:39] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [11:10:39] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [11:10:39] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [11:10:39] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [11:10:39] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [11:10:39] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [11:10:39] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [11:10:39] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [11:10:39] [PASSED] Automatic [11:10:39] [PASSED] Full [11:10:39] [PASSED] Limited 16:235 [11:10:39] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [11:10:39] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [11:10:39] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [11:10:39] [PASSED] drm_test_check_disable_connector [11:10:39] [PASSED] drm_test_check_hdmi_funcs_reject_rate [11:10:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [11:10:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [11:10:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [11:10:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [11:10:39] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [11:10:39] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [11:10:39] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [11:10:39] [PASSED] drm_test_check_output_bpc_dvi [11:10:39] [PASSED] drm_test_check_output_bpc_format_vic_1 [11:10:39] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [11:10:39] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [11:10:39] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [11:10:39] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [11:10:39] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [11:10:39] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [11:10:39] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [11:10:39] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [11:10:39] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [11:10:39] [PASSED] drm_test_check_broadcast_rgb_value [11:10:39] [PASSED] drm_test_check_bpc_8_value [11:10:39] [PASSED] drm_test_check_bpc_10_value [11:10:39] [PASSED] drm_test_check_bpc_12_value [11:10:39] [PASSED] drm_test_check_format_value [11:10:39] [PASSED] drm_test_check_tmds_char_value [11:10:39] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [11:10:39] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [11:10:39] [PASSED] drm_test_check_mode_valid [11:10:39] [PASSED] drm_test_check_mode_valid_reject [11:10:39] [PASSED] drm_test_check_mode_valid_reject_rate [11:10:39] [PASSED] drm_test_check_mode_valid_reject_max_clock [11:10:39] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [11:10:39] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [11:10:39] [PASSED] drm_test_check_infoframes [11:10:39] [PASSED] drm_test_check_reject_avi_infoframe [11:10:39] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [11:10:39] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [11:10:39] [PASSED] drm_test_check_reject_audio_infoframe [11:10:39] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [11:10:39] ================= drm_managed (2 subtests) ================= [11:10:39] [PASSED] drm_test_managed_release_action [11:10:39] [PASSED] drm_test_managed_run_action [11:10:39] =================== [PASSED] drm_managed =================== [11:10:39] =================== drm_mm (6 subtests) ==================== [11:10:39] [PASSED] drm_test_mm_init [11:10:39] [PASSED] drm_test_mm_debug [11:10:39] [PASSED] drm_test_mm_align32 [11:10:39] [PASSED] drm_test_mm_align64 [11:10:39] [PASSED] drm_test_mm_lowest [11:10:39] [PASSED] drm_test_mm_highest [11:10:39] ===================== [PASSED] drm_mm ====================== [11:10:39] ============= drm_modes_analog_tv (5 subtests) ============= [11:10:39] [PASSED] drm_test_modes_analog_tv_mono_576i [11:10:39] [PASSED] drm_test_modes_analog_tv_ntsc_480i [11:10:39] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [11:10:39] [PASSED] drm_test_modes_analog_tv_pal_576i [11:10:39] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [11:10:39] =============== [PASSED] drm_modes_analog_tv =============== [11:10:39] ============== drm_plane_helper (2 subtests) =============== [11:10:39] =============== drm_test_check_plane_state ================ [11:10:39] [PASSED] clipping_simple [11:10:39] [PASSED] clipping_rotate_reflect [11:10:39] [PASSED] positioning_simple [11:10:39] [PASSED] upscaling [11:10:39] [PASSED] downscaling [11:10:39] [PASSED] rounding1 [11:10:39] [PASSED] rounding2 [11:10:39] [PASSED] rounding3 [11:10:39] [PASSED] rounding4 [11:10:39] =========== [PASSED] drm_test_check_plane_state ============ [11:10:39] =========== drm_test_check_invalid_plane_state ============ [11:10:39] [PASSED] positioning_invalid [11:10:39] [PASSED] upscaling_invalid [11:10:39] [PASSED] downscaling_invalid [11:10:39] ======= [PASSED] drm_test_check_invalid_plane_state ======== [11:10:39] ================ [PASSED] drm_plane_helper ================= [11:10:39] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [11:10:39] ====== drm_test_connector_helper_tv_get_modes_check ======= [11:10:39] [PASSED] None [11:10:39] [PASSED] PAL [11:10:39] [PASSED] NTSC [11:10:39] [PASSED] Both, NTSC Default [11:10:39] [PASSED] Both, PAL Default [11:10:39] [PASSED] Both, NTSC Default, with PAL on command-line [11:10:39] [PASSED] Both, PAL Default, with NTSC on command-line [11:10:39] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [11:10:39] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [11:10:39] ================== drm_rect (9 subtests) =================== [11:10:39] [PASSED] drm_test_rect_clip_scaled_div_by_zero [11:10:39] [PASSED] drm_test_rect_clip_scaled_not_clipped [11:10:39] [PASSED] drm_test_rect_clip_scaled_clipped [11:10:39] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [11:10:39] ================= drm_test_rect_intersect ================= [11:10:39] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [11:10:39] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [11:10:39] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [11:10:39] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [11:10:39] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [11:10:39] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [11:10:39] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [11:10:39] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [11:10:39] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [11:10:39] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [11:10:39] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [11:10:39] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [11:10:39] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [11:10:39] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [11:10:39] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [11:10:39] ============= [PASSED] drm_test_rect_intersect ============= [11:10:39] ================ drm_test_rect_calc_hscale ================ [11:10:39] [PASSED] normal use [11:10:39] [PASSED] out of max range [11:10:39] [PASSED] out of min range [11:10:39] [PASSED] zero dst [11:10:39] [PASSED] negative src [11:10:39] [PASSED] negative dst [11:10:39] ============ [PASSED] drm_test_rect_calc_hscale ============ [11:10:39] ================ drm_test_rect_calc_vscale ================ [11:10:39] [PASSED] normal use [11:10:39] [PASSED] out of max range [11:10:39] [PASSED] out of min range [11:10:39] [PASSED] zero dst [11:10:39] [PASSED] negative src [11:10:39] [PASSED] negative dst [11:10:39] ============ [PASSED] drm_test_rect_calc_vscale ============ [11:10:39] ================== drm_test_rect_rotate =================== [11:10:39] [PASSED] reflect-x [11:10:39] [PASSED] reflect-y [11:10:39] [PASSED] rotate-0 [11:10:39] [PASSED] rotate-90 [11:10:39] [PASSED] rotate-180 [11:10:39] [PASSED] rotate-270 [11:10:39] ============== [PASSED] drm_test_rect_rotate =============== [11:10:39] ================ drm_test_rect_rotate_inv ================= [11:10:39] [PASSED] reflect-x [11:10:39] [PASSED] reflect-y [11:10:39] [PASSED] rotate-0 [11:10:39] [PASSED] rotate-90 [11:10:39] [PASSED] rotate-180 [11:10:39] [PASSED] rotate-270 [11:10:39] ============ [PASSED] drm_test_rect_rotate_inv ============= [11:10:39] ==================== [PASSED] drm_rect ===================== [11:10:39] ============ drm_sysfb_modeset_test (1 subtest) ============ [11:10:39] ============ drm_test_sysfb_build_fourcc_list ============= [11:10:39] [PASSED] no native formats [11:10:39] [PASSED] XRGB8888 as native format [11:10:39] [PASSED] remove duplicates [11:10:39] [PASSED] convert alpha formats [11:10:39] [PASSED] random formats [11:10:39] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [11:10:39] ============= [PASSED] drm_sysfb_modeset_test ============== [11:10:39] ================== drm_fixp (2 subtests) =================== [11:10:39] [PASSED] drm_test_int2fixp [11:10:39] [PASSED] drm_test_sm2fixp [11:10:39] ==================== [PASSED] drm_fixp ===================== [11:10:39] ============================================================ [11:10:39] Testing complete. Ran 621 tests: passed: 621 [11:10:39] Elapsed time: 25.808s total, 1.762s configuring, 23.830s building, 0.179s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [11:10:39] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:10:41] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [11:10:50] Starting KUnit Kernel (1/1)... [11:10:50] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:10:50] ================= ttm_device (5 subtests) ================== [11:10:50] [PASSED] ttm_device_init_basic [11:10:50] [PASSED] ttm_device_init_multiple [11:10:50] [PASSED] ttm_device_fini_basic [11:10:50] [PASSED] ttm_device_init_no_vma_man [11:10:50] ================== ttm_device_init_pools ================== [11:10:50] [PASSED] No DMA allocations, no DMA32 required [11:10:50] [PASSED] DMA allocations, DMA32 required [11:10:50] [PASSED] No DMA allocations, DMA32 required [11:10:50] [PASSED] DMA allocations, no DMA32 required [11:10:50] ============== [PASSED] ttm_device_init_pools ============== [11:10:50] =================== [PASSED] ttm_device ==================== [11:10:50] ================== ttm_pool (8 subtests) =================== [11:10:50] ================== ttm_pool_alloc_basic =================== [11:10:50] [PASSED] One page [11:10:50] [PASSED] More than one page [11:10:50] [PASSED] Above the allocation limit [11:10:50] [PASSED] One page, with coherent DMA mappings enabled [11:10:50] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:10:50] ============== [PASSED] ttm_pool_alloc_basic =============== [11:10:50] ============== ttm_pool_alloc_basic_dma_addr ============== [11:10:50] [PASSED] One page [11:10:50] [PASSED] More than one page [11:10:50] [PASSED] Above the allocation limit [11:10:50] [PASSED] One page, with coherent DMA mappings enabled [11:10:50] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:10:50] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [11:10:50] [PASSED] ttm_pool_alloc_order_caching_match [11:10:50] [PASSED] ttm_pool_alloc_caching_mismatch [11:10:50] [PASSED] ttm_pool_alloc_order_mismatch [11:10:50] [PASSED] ttm_pool_free_dma_alloc [11:10:50] [PASSED] ttm_pool_free_no_dma_alloc [11:10:50] [PASSED] ttm_pool_fini_basic [11:10:50] ==================== [PASSED] ttm_pool ===================== [11:10:50] ================ ttm_resource (8 subtests) ================= [11:10:50] ================= ttm_resource_init_basic ================= [11:10:50] [PASSED] Init resource in TTM_PL_SYSTEM [11:10:50] [PASSED] Init resource in TTM_PL_VRAM [11:10:50] [PASSED] Init resource in a private placement [11:10:50] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [11:10:50] ============= [PASSED] ttm_resource_init_basic ============= [11:10:50] [PASSED] ttm_resource_init_pinned [11:10:50] [PASSED] ttm_resource_fini_basic [11:10:50] [PASSED] ttm_resource_manager_init_basic [11:10:50] [PASSED] ttm_resource_manager_usage_basic [11:10:50] [PASSED] ttm_resource_manager_set_used_basic [11:10:50] [PASSED] ttm_sys_man_alloc_basic [11:10:50] [PASSED] ttm_sys_man_free_basic [11:10:50] ================== [PASSED] ttm_resource =================== [11:10:50] =================== ttm_tt (15 subtests) =================== [11:10:50] ==================== ttm_tt_init_basic ==================== [11:10:50] [PASSED] Page-aligned size [11:10:50] [PASSED] Extra pages requested [11:10:50] ================ [PASSED] ttm_tt_init_basic ================ [11:10:50] [PASSED] ttm_tt_init_misaligned [11:10:50] [PASSED] ttm_tt_fini_basic [11:10:50] [PASSED] ttm_tt_fini_sg [11:10:50] [PASSED] ttm_tt_fini_shmem [11:10:50] [PASSED] ttm_tt_create_basic [11:10:50] [PASSED] ttm_tt_create_invalid_bo_type [11:10:50] [PASSED] ttm_tt_create_ttm_exists [11:10:50] [PASSED] ttm_tt_create_failed [11:10:50] [PASSED] ttm_tt_destroy_basic [11:10:50] [PASSED] ttm_tt_populate_null_ttm [11:10:50] [PASSED] ttm_tt_populate_populated_ttm [11:10:50] [PASSED] ttm_tt_unpopulate_basic [11:10:50] [PASSED] ttm_tt_unpopulate_empty_ttm [11:10:50] [PASSED] ttm_tt_swapin_basic [11:10:50] ===================== [PASSED] ttm_tt ====================== [11:10:50] =================== ttm_bo (14 subtests) =================== [11:10:50] =========== ttm_bo_reserve_optimistic_no_ticket =========== [11:10:50] [PASSED] Cannot be interrupted and sleeps [11:10:50] [PASSED] Cannot be interrupted, locks straight away [11:10:50] [PASSED] Can be interrupted, sleeps [11:10:50] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [11:10:50] [PASSED] ttm_bo_reserve_locked_no_sleep [11:10:50] [PASSED] ttm_bo_reserve_no_wait_ticket [11:10:50] [PASSED] ttm_bo_reserve_double_resv [11:10:50] [PASSED] ttm_bo_reserve_interrupted [11:10:50] [PASSED] ttm_bo_reserve_deadlock [11:10:50] [PASSED] ttm_bo_unreserve_basic [11:10:50] [PASSED] ttm_bo_unreserve_pinned [11:10:50] [PASSED] ttm_bo_unreserve_bulk [11:10:50] [PASSED] ttm_bo_fini_basic [11:10:50] [PASSED] ttm_bo_fini_shared_resv [11:10:50] [PASSED] ttm_bo_pin_basic [11:10:50] [PASSED] ttm_bo_pin_unpin_resource [11:10:50] [PASSED] ttm_bo_multiple_pin_one_unpin [11:10:50] ===================== [PASSED] ttm_bo ====================== [11:10:50] ============== ttm_bo_validate (22 subtests) =============== [11:10:50] ============== ttm_bo_init_reserved_sys_man =============== [11:10:50] [PASSED] Buffer object for userspace [11:10:50] [PASSED] Kernel buffer object [11:10:50] [PASSED] Shared buffer object [11:10:50] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [11:10:50] ============== ttm_bo_init_reserved_mock_man ============== [11:10:50] [PASSED] Buffer object for userspace [11:10:50] [PASSED] Kernel buffer object [11:10:50] [PASSED] Shared buffer object [11:10:50] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [11:10:50] [PASSED] ttm_bo_init_reserved_resv [11:10:50] ================== ttm_bo_validate_basic ================== [11:10:50] [PASSED] Buffer object for userspace [11:10:50] [PASSED] Kernel buffer object [11:10:50] [PASSED] Shared buffer object [11:10:50] ============== [PASSED] ttm_bo_validate_basic ============== [11:10:50] [PASSED] ttm_bo_validate_invalid_placement [11:10:50] ============= ttm_bo_validate_same_placement ============== [11:10:50] [PASSED] System manager [11:10:50] [PASSED] VRAM manager [11:10:50] ========= [PASSED] ttm_bo_validate_same_placement ========== [11:10:50] [PASSED] ttm_bo_validate_failed_alloc [11:10:50] [PASSED] ttm_bo_validate_pinned [11:10:50] [PASSED] ttm_bo_validate_busy_placement [11:10:50] ================ ttm_bo_validate_multihop ================= [11:10:50] [PASSED] Buffer object for userspace [11:10:50] [PASSED] Kernel buffer object [11:10:50] [PASSED] Shared buffer object [11:10:50] ============ [PASSED] ttm_bo_validate_multihop ============= [11:10:50] ========== ttm_bo_validate_no_placement_signaled ========== [11:10:50] [PASSED] Buffer object in system domain, no page vector [11:10:50] [PASSED] Buffer object in system domain with an existing page vector [11:10:50] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [11:10:50] ======== ttm_bo_validate_no_placement_not_signaled ======== [11:10:50] [PASSED] Buffer object for userspace [11:10:50] [PASSED] Kernel buffer object [11:10:50] [PASSED] Shared buffer object [11:10:50] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [11:10:50] [PASSED] ttm_bo_validate_move_fence_signaled [11:10:50] ========= ttm_bo_validate_move_fence_not_signaled ========= [11:10:50] [PASSED] Waits for GPU [11:10:50] [PASSED] Tries to lock straight away [11:10:50] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [11:10:50] [PASSED] ttm_bo_validate_swapout [11:10:50] [PASSED] ttm_bo_validate_happy_evict [11:10:50] [PASSED] ttm_bo_validate_all_pinned_evict [11:10:50] [PASSED] ttm_bo_validate_allowed_only_evict [11:10:50] [PASSED] ttm_bo_validate_deleted_evict [11:10:50] [PASSED] ttm_bo_validate_busy_domain_evict [11:10:50] [PASSED] ttm_bo_validate_evict_gutting [11:10:50] [PASSED] ttm_bo_validate_recrusive_evict [11:10:50] ================= [PASSED] ttm_bo_validate ================= [11:10:50] ============================================================ [11:10:50] Testing complete. Ran 102 tests: passed: 102 [11:10:50] Elapsed time: 11.620s total, 1.726s configuring, 9.629s building, 0.227s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for Intel Xe GPU Debug Support (eudebug) v8
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: Intel Xe GPU Debug Support (eudebug) v8
URL : https://patchwork.freedesktop.org/series/165777/
State : success
== Summary ==
CI Bug Log - changes from xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d_BAT -> xe-pw-165777v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d -> xe-pw-165777v1
IGT_8879: 02b0e01dd9a5a3ab1efe976bb8c4f13cfcdbab1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d: 3ac514cf64f272cc4d5143f4cc28fb18a8aba76d
xe-pw-165777v1: 165777v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for Intel Xe GPU Debug Support (eudebug) v8
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: Intel Xe GPU Debug Support (eudebug) v8
URL : https://patchwork.freedesktop.org/series/165777/
State : failure
== Summary ==
CI Bug Log - changes from xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d_FULL -> xe-pw-165777v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-165777v1_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-165777v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-165777v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_eudebug_online@interrupt-all@drm_xe_engine_class_compute0:
- shard-bmg: NOTRUN -> [FAIL][1] +39 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@xe_eudebug_online@interrupt-all@drm_xe_engine_class_compute0.html
* igt@xe_exec_reset@cm-multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_system_allocator@threads-shared-vm-many-malloc-race:
- shard-bmg: [PASS][3] -> [FAIL][4] +1822 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-remap-dontunmap-eocheck:
- shard-lnl: NOTRUN -> [FAIL][5] +156 other tests fail
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-remap-dontunmap-eocheck.html
* igt@xe_exec_system_allocator@twice-new-prefetch:
- shard-lnl: [PASS][6] -> [FAIL][7] +1611 other tests fail
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
* igt@xe_vm@overcommit-nonfault-vram-lr-defer:
- shard-lnl: NOTRUN -> [SKIP][8]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
#### Warnings ####
* igt@xe_eudebug@basic-vm-bind-metadata-discovery:
- shard-bmg: [SKIP][9] ([Intel XE#7636]) -> [FAIL][10] +7 other tests fail
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-10/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-5/igt@[email protected]
* igt@xe_eudebug_online@interrupt-all-set-breakpoint:
- shard-lnl: [SKIP][11] ([Intel XE#7636]) -> [FAIL][12] +8 other tests fail
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
* igt@xe_eudebug_sriov@deny-eudebug:
- shard-bmg: [SKIP][13] ([Intel XE#5793] / [Intel XE#7320] / [Intel XE#7464]) -> [FAIL][14]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_exec_system_allocator@many-stride-new-prefetch:
- shard-bmg: [INCOMPLETE][15] ([Intel XE#7098]) -> [FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-165777v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@intel_hwmon@hwmon-read:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#1125] / [Intel XE#7312])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#1407]) +2 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#3658] / [Intel XE#7360])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#1124]) +2 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#1124]) +4 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_bw@linear-tiling-3-displays-target-2560x1440p:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#367])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_bw@linear-tiling-4-displays-target-2160x1440p:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#7676])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][24] ([Intel XE#2669] / [Intel XE#7389]) +3 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-mc-ccs:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#2887]) +5 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2887])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_chamelium_audio@dp-audio-edid:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#373]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_chamelium_color@ctm-negative:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#306] / [Intel XE#7358]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-aspect-ratio:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2252])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_content_protection@lic-type-0:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#7642]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][31] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2321] / [Intel XE#7355])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#1424]) +4 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#309] / [Intel XE#7343]) +2 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#2244])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#4422] / [Intel XE#7442])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#1421]) +2 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#7178] / [Intel XE#7349])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#1397] / [Intel XE#7385]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
- shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x:
- shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#7179])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-shrfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#6312])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-plflip-blt:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2311])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#5812] / [Intel XE#656]) +17 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#1469] / [Intel XE#7399])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2313])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_hdmi_inject@inject-4k:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#1470])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][51] -> [SKIP][52] ([Intel XE#1503])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-8/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-10/igt@[email protected]
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#6911] / [Intel XE#7466])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#6900] / [Intel XE#7362])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#7283])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-lnl-ccs-modifier@pipe-a-plane-5:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#7130]) +1 other test skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_plane@[email protected]
* igt@kms_plane@pixel-format-yf-tiled-modifier:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#7283]) +1 other test skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_plane_lowres@tiling-yf:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#599])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-rotation@pipe-a:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_plane_scaling@[email protected]
* igt@kms_pm_backlight@fade:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#7376] / [Intel XE#870])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@kms_pm_rpm@package-g7:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#6813])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-overlay-primary-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#1489]) +1 other test skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#4608]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@kms_psr2_sf@[email protected]
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][64] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-continuous-sf@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][65] ([Intel XE#4608] / [Intel XE#7304]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_psr2_sf@[email protected]
* igt@kms_psr@fbc-pr-dpms:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#1406]) +1 other test skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-blt:
- shard-lnl: NOTRUN -> [SKIP][67] ([Intel XE#1406] / [Intel XE#7345]) +1 other test skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-blt@edp-1:
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#1406] / [Intel XE#4609]) +1 other test skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_psr@[email protected]
* igt@kms_tv_load_detect@load-detect:
- shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#330] / [Intel XE#5857])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug@basic-connect:
- shard-lnl: NOTRUN -> [FAIL][70] ([Intel XE#7717])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-discovery:
- shard-bmg: NOTRUN -> [FAIL][71] ([Intel XE#7709])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_eudebug@connect-user:
- shard-lnl: NOTRUN -> [FAIL][72] ([Intel XE#7708])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug@discovery-empty-clients:
- shard-lnl: NOTRUN -> [FAIL][73] ([Intel XE#7718])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug_online@pagefault-read-stress@drm_xe_engine_class_render0:
- shard-lnl: NOTRUN -> [FAIL][74] ([Intel XE#7707]) +20 other tests fail
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@xe_eudebug_online@pagefault-read-stress@drm_xe_engine_class_render0.html
* igt@xe_eudebug_online@stopped-thread@drm_xe_engine_class_compute0:
- shard-bmg: NOTRUN -> [FAIL][75] ([Intel XE#7707]) +25 other tests fail
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-6/igt@xe_eudebug_online@stopped-thread@drm_xe_engine_class_compute0.html
* igt@xe_eudebug_online@writes-caching-sram-bb-vram-target-vram@drm_xe_engine_class_compute0:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#2825]) +1 other test skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@xe_eudebug_online@writes-caching-sram-bb-vram-target-vram@drm_xe_engine_class_compute0.html
* igt@xe_eudebug_online@writes-caching-vram-bb-vram-target-sram@drm_xe_engine_class_compute0:
- shard-lnl: NOTRUN -> [SKIP][77] ([Intel XE#2825] / [Intel XE#7430]) +3 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@xe_eudebug_online@writes-caching-vram-bb-vram-target-sram@drm_xe_engine_class_compute0.html
* igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd:
- shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#6540] / [Intel XE#688]) +4 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_balancer@once-parallel-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][79] ([Intel XE#7482]) +9 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-rebind:
- shard-lnl: NOTRUN -> [SKIP][80] ([Intel XE#1392]) +2 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#2322] / [Intel XE#7372])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-invalid-fault:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#7136]) +8 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#7136]) +3 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-userptr:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#6874]) +13 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_exec_multi_queue@two-queues-priority:
- shard-bmg: NOTRUN -> [SKIP][85] ([Intel XE#6874]) +2 other tests skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_exec_sip_eudebug@breakpoint-waitsip-heavy@drm_xe_engine_class_render0:
- shard-lnl: NOTRUN -> [FAIL][86] ([Intel XE#7715]) +7 other tests fail
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@xe_exec_sip_eudebug@breakpoint-waitsip-heavy@drm_xe_engine_class_render0.html
* igt@xe_exec_sip_eudebug@breakpoint-writesip@drm_xe_engine_class_compute0:
- shard-bmg: NOTRUN -> [FAIL][87] ([Intel XE#7715]) +7 other tests fail
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@xe_exec_sip_eudebug@breakpoint-writesip@drm_xe_engine_class_compute0.html
* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][88] ([Intel XE#7138]) +1 other test skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-invalidate.html
* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#7138]) +4 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind.html
* igt@xe_mmap@pci-membarrier:
- shard-lnl: NOTRUN -> [SKIP][90] ([Intel XE#5100] / [Intel XE#7322] / [Intel XE#7408])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_module_load@load:
- shard-lnl: ([PASS][91], [PASS][92], [PASS][93], [PASS][94], [PASS][95], [PASS][96], [PASS][97], [PASS][98], [PASS][99], [PASS][100], [PASS][101], [PASS][102], [PASS][103], [PASS][104], [PASS][105], [PASS][106], [PASS][107], [PASS][108], [PASS][109], [PASS][110], [PASS][111], [PASS][112], [PASS][113], [PASS][114]) -> ([PASS][115], [SKIP][116], [PASS][117], [PASS][118], [PASS][119], [PASS][120], [PASS][121], [PASS][122], [PASS][123], [PASS][124], [PASS][125], [PASS][126], [PASS][127], [PASS][128], [PASS][129], [PASS][130], [PASS][131], [PASS][132], [PASS][133], [PASS][134], [PASS][135], [PASS][136], [PASS][137], [PASS][138], [PASS][139]) ([Intel XE#378] / [Intel XE#7405])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-5/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-5/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-1/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-1/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-7/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-5/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-1/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-6/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-7/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-7/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-7/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-7/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-7/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-3/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-3/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-3/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-migration-basic:
- shard-lnl: NOTRUN -> [SKIP][140] ([Intel XE#6964]) +1 other test skip
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_page_reclaim@binds-null-vma:
- shard-lnl: NOTRUN -> [SKIP][141] ([Intel XE#7793]) +1 other test skip
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- shard-lnl: NOTRUN -> [SKIP][142] ([Intel XE#1420] / [Intel XE#2838] / [Intel XE#7590])
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-lnl: NOTRUN -> [SKIP][143] ([Intel XE#7590] / [Intel XE#977])
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_pm@d3cold-mocs:
- shard-lnl: NOTRUN -> [SKIP][144] ([Intel XE#2284] / [Intel XE#7370])
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_pm@s3-vm-bind-prefetch:
- shard-lnl: NOTRUN -> [SKIP][145] ([Intel XE#584] / [Intel XE#7369])
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_query@multigpu-query-topology:
- shard-lnl: NOTRUN -> [SKIP][146] ([Intel XE#944])
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_sriov_admin@bulk-exec-quantum-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][147] ([Intel XE#7174])
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_sriov_scheduling@equal-throughput:
- shard-lnl: NOTRUN -> [SKIP][148] ([Intel XE#4351] / [Intel XE#7357])
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_sriov_vram@vf-access-after-resize-down:
- shard-lnl: NOTRUN -> [SKIP][149] ([Intel XE#6376] / [Intel XE#7330] / [Intel XE#7422])
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-bmg: [PASS][150] -> [DMESG-WARN][151] ([Intel XE#6627] / [Intel XE#7419])
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-6/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-8/igt@[email protected]
* igt@xe_vm@out-of-memory:
- shard-lnl: NOTRUN -> [SKIP][152] ([Intel XE#5745])
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
#### Possible fixes ####
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][153] ([Intel XE#7571]) -> [PASS][154]
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-9/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bd-dp2-hdmi-a3:
- shard-bmg: [FAIL][155] ([Intel XE#3321]) -> [PASS][156] +1 other test pass
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-5/igt@kms_flip@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [FAIL][157] ([Intel XE#301]) -> [PASS][158] +1 other test pass
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@kms_flip@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@kms_flip@[email protected]
* igt@kms_vrr@max-min@pipe-a-edp-1:
- shard-lnl: [FAIL][159] ([Intel XE#4227]) -> [PASS][160] +1 other test pass
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@kms_vrr@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@kms_vrr@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [FAIL][161] ([Intel XE#2142]) -> [PASS][162] +1 other test pass
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@kms_vrr@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@kms_vrr@[email protected]
* igt@xe_eudebug@basic-exec-queues-enable:
- shard-bmg: [SKIP][163] ([Intel XE#7636]) -> [PASS][164] +2 other tests pass
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-4/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-8/igt@[email protected]
* igt@xe_eudebug_sriov@deny-sriov:
- shard-bmg: [SKIP][165] ([Intel XE#5793] / [Intel XE#7320] / [Intel XE#7464]) -> [PASS][166]
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-5/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-4/igt@[email protected]
* igt@xe_evict@evict-beng-large-multi-vm-cm:
- shard-bmg: [INCOMPLETE][167] -> [PASS][168]
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-7/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][169] ([Intel XE#6321]) -> [PASS][170]
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-9/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_sip_eudebug@wait-writesip-nodebug:
- shard-lnl: [SKIP][171] ([Intel XE#7636]) -> [PASS][172] +2 other tests pass
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
* igt@xe_live_ktest@xe_eudebug:
- shard-lnl: [SKIP][173] ([Intel XE#2833]) -> [PASS][174]
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-7/igt@xe_live_ktest@xe_eudebug.html
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-3/igt@xe_live_ktest@xe_eudebug.html
- shard-bmg: [SKIP][175] ([Intel XE#2833]) -> [PASS][176]
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-1/igt@xe_live_ktest@xe_eudebug.html
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@xe_live_ktest@xe_eudebug.html
#### Warnings ####
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][177] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][178] ([Intel XE#3544])
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-8/igt@[email protected]
[178]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-6/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][179] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][180] ([Intel XE#2426] / [Intel XE#5848])
[179]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-6/igt@[email protected]
[180]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-8/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][181] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][182] ([Intel XE#2509] / [Intel XE#7437])
[181]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-1/igt@[email protected]
[182]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug@basic-close:
- shard-lnl: [SKIP][183] ([Intel XE#7636]) -> [FAIL][184] ([Intel XE#7716])
[183]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-1/igt@[email protected]
[184]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-7/igt@[email protected]
- shard-bmg: [SKIP][185] ([Intel XE#7636]) -> [FAIL][186] ([Intel XE#7716])
[185]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-5/igt@[email protected]
[186]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-4/igt@[email protected]
* igt@xe_eudebug@basic-connect:
- shard-bmg: [SKIP][187] ([Intel XE#7636]) -> [FAIL][188] ([Intel XE#7717])
[187]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-2/igt@[email protected]
[188]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
* igt@xe_eudebug@basic-read-event:
- shard-bmg: [SKIP][189] ([Intel XE#7636]) -> [FAIL][190] ([Intel XE#7709]) +6 other tests fail
[189]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-1/igt@[email protected]
[190]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug@basic-vm-access-faultable:
- shard-lnl: [SKIP][191] ([Intel XE#7636]) -> [FAIL][192] ([Intel XE#7707]) +31 other tests fail
[191]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[192]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-1/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-ufence-delay-ack:
- shard-lnl: [SKIP][193] ([Intel XE#7636]) -> [FAIL][194] ([Intel XE#7709]) +7 other tests fail
[193]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-1/igt@[email protected]
[194]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-7/igt@[email protected]
* igt@xe_eudebug@connect-user:
- shard-bmg: [SKIP][195] ([Intel XE#7636]) -> [FAIL][196] ([Intel XE#7708])
[195]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-5/igt@[email protected]
[196]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-7/igt@[email protected]
* igt@xe_eudebug@discovery-empty:
- shard-bmg: [SKIP][197] ([Intel XE#7636]) -> [FAIL][198] ([Intel XE#7718]) +1 other test fail
[197]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-7/igt@[email protected]
[198]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
- shard-lnl: [SKIP][199] ([Intel XE#7636]) -> [FAIL][200] ([Intel XE#7718])
[199]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-8/igt@[email protected]
[200]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
* igt@xe_eudebug@discovery-race-sigint:
- shard-lnl: [SKIP][201] ([Intel XE#7636]) -> [FAIL][202] ([Intel XE#7753]) +1 other test fail
[201]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[202]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
* igt@xe_eudebug@discovery-race-vmbind:
- shard-bmg: [SKIP][203] ([Intel XE#7636]) -> [FAIL][204] ([Intel XE#7753]) +2 other tests fail
[203]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-8/igt@[email protected]
[204]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-10/igt@[email protected]
* igt@xe_eudebug@multigpu-basic-client:
- shard-bmg: [SKIP][205] ([Intel XE#7636]) -> [SKIP][206] ([Intel XE#3894]) +1 other test skip
[205]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-1/igt@[email protected]
[206]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug@multigpu-basic-client-many:
- shard-lnl: [SKIP][207] ([Intel XE#7636]) -> [SKIP][208] ([Intel XE#5132]) +1 other test skip
[207]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-5/igt@[email protected]
[208]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@[email protected]
* igt@xe_eudebug@sysfs-toggle:
- shard-lnl: [SKIP][209] ([Intel XE#7636]) -> [FAIL][210] ([Intel XE#7720])
[209]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[210]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-8/igt@[email protected]
- shard-bmg: [SKIP][211] ([Intel XE#7636]) -> [FAIL][212] ([Intel XE#7720])
[211]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-8/igt@[email protected]
[212]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-6/igt@[email protected]
* igt@xe_eudebug@vm-bind-clear:
- shard-bmg: [SKIP][213] ([Intel XE#7636]) -> [FAIL][214] ([Intel XE#7723]) +3 other tests fail
[213]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-1/igt@[email protected]
[214]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug@vm-bind-clear-faultable:
- shard-lnl: [SKIP][215] ([Intel XE#7636]) -> [FAIL][216] ([Intel XE#7723]) +3 other tests fail
[215]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-4/igt@[email protected]
[216]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug_online@breakpoint-many-sessions-single-tile:
- shard-bmg: [SKIP][217] ([Intel XE#7636]) -> [FAIL][218] ([Intel XE#7754])
[217]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-6/igt@[email protected]
[218]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-8/igt@[email protected]
- shard-lnl: [SKIP][219] ([Intel XE#7636]) -> [FAIL][220] ([Intel XE#7754])
[219]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-3/igt@[email protected]
[220]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug_online@breakpoint-many-sessions-tiles:
- shard-bmg: [SKIP][221] ([Intel XE#7636]) -> [SKIP][222] ([Intel XE#2846])
[221]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-7/igt@[email protected]
[222]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-1/igt@[email protected]
- shard-lnl: [SKIP][223] ([Intel XE#7636]) -> [SKIP][224] ([Intel XE#2846])
[223]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[224]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
* igt@xe_eudebug_online@set-breakpoint-faultable:
- shard-bmg: [SKIP][225] ([Intel XE#7636]) -> [FAIL][226] ([Intel XE#7707]) +41 other tests fail
[225]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-2/igt@[email protected]
[226]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-2/igt@[email protected]
* igt@xe_eudebug_online@writes-caching-sram-bb-vram-target-sram:
- shard-lnl: [SKIP][227] ([Intel XE#7636]) -> [SKIP][228] ([Intel XE#2825] / [Intel XE#7430]) +3 other tests skip
[227]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-7/igt@[email protected]
[228]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-3/igt@[email protected]
* igt@xe_eudebug_online@writes-caching-sram-bb-vram-target-vram:
- shard-lnl: [SKIP][229] ([Intel XE#7636]) -> [SKIP][230] ([Intel XE#2825]) +1 other test skip
[229]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-2/igt@[email protected]
[230]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-5/igt@[email protected]
* igt@xe_exec_sip_eudebug@breakpoint-writesip:
- shard-lnl: [SKIP][231] ([Intel XE#7636]) -> [FAIL][232] ([Intel XE#7715]) +3 other tests fail
[231]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-lnl-5/igt@[email protected]
[232]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-lnl-4/igt@[email protected]
- shard-bmg: [SKIP][233] ([Intel XE#7636]) -> [FAIL][234] ([Intel XE#7715]) +3 other tests fail
[233]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d/shard-bmg-9/igt@[email protected]
[234]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/shard-bmg-9/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1125]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1125
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1469]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1469
[Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2669]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2669
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2825]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2825
[Intel XE#2833]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2833
[Intel XE#2838]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2838
[Intel XE#2846]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2846
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/330
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/378
[Intel XE#3894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3894
[Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#4351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4351
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#5100]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5100
[Intel XE#5132]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5132
[Intel XE#5745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5745
[Intel XE#5793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5793
[Intel XE#5812]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5812
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5857]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5857
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6376
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6627]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6627
[Intel XE#6813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6813
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6900
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7098
[Intel XE#7130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7130
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7312
[Intel XE#7320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7320
[Intel XE#7322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7322
[Intel XE#7330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7330
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7357]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7357
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
[Intel XE#7362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7362
[Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7389]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7389
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7405]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7405
[Intel XE#7408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7408
[Intel XE#7419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7419
[Intel XE#7422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7422
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7430]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7430
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
[Intel XE#7464]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7464
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7676]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7676
[Intel XE#7707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7707
[Intel XE#7708]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7708
[Intel XE#7709]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7709
[Intel XE#7715]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7715
[Intel XE#7716]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7716
[Intel XE#7717]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7717
[Intel XE#7718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7718
[Intel XE#7720]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7720
[Intel XE#7723]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7723
[Intel XE#7753]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7753
[Intel XE#7754]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7754
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
Build changes
-------------
* Linux: xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d -> xe-pw-165777v1
IGT_8879: 02b0e01dd9a5a3ab1efe976bb8c4f13cfcdbab1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4959-3ac514cf64f272cc4d5143f4cc28fb18a8aba76d: 3ac514cf64f272cc4d5143f4cc28fb18a8aba76d
xe-pw-165777v1: 165777v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165777v1/index.html