* [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications
@ 2026-06-22 11:47 Heikki Krogerus
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
` (6 more replies)
0 siblings, 7 replies; 17+ messages in thread
From: Heikki Krogerus @ 2026-06-22 11:47 UTC (permalink / raw)
To: Rodrigo Vivi
Cc: Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
Hi,
This includes support for the SMBus alerts, and special handling for the
IC_ENABLE register.
Thanks,
Heikki Krogerus (2):
drm/xe/i2c: Handler for SMBus Alerts
drm/xe/mcu_i2c: Take over control of the controller enabling
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_i2c.c | 86 ++++++++++++++++++++++++++++---
drivers/gpu/drm/xe/xe_i2c.h | 16 ++++++
drivers/gpu/drm/xe/xe_i2c_smbus.c | 59 +++++++++++++++++++++
4 files changed, 154 insertions(+), 8 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_i2c_smbus.c
--
2.50.1
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
@ 2026-06-22 11:47 ` Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
` (2 more replies)
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
` (5 subsequent siblings)
6 siblings, 3 replies; 17+ messages in thread
From: Heikki Krogerus @ 2026-06-22 11:47 UTC (permalink / raw)
To: Rodrigo Vivi
Cc: Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
Some devices that are attached to the I2C controller use the
SMBus Alert signal for example to inform the host about
thermal events, so registering the default SMBus Alert
device device for them. The alert device makes sure that
the alert is processed and passed to the correct I2C client
driver.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_i2c.c | 21 +++++++----
drivers/gpu/drm/xe/xe_i2c.h | 15 ++++++++
drivers/gpu/drm/xe/xe_i2c_smbus.c | 59 +++++++++++++++++++++++++++++++
4 files changed, 90 insertions(+), 6 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_i2c_smbus.c
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index 8e7b146880f46..9c8af00cf37fd 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -153,6 +153,7 @@ xe-y += xe_bb.o \
xe_wopcm.o
xe-$(CONFIG_I2C) += xe_i2c.o
+xe-$(CONFIG_I2C_SMBUS) += xe_i2c_smbus.o
xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o
xe-$(CONFIG_DRM_GPUSVM) += xe_userptr.o
diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
index 706783863d07d..732ad6ee05e9c 100644
--- a/drivers/gpu/drm/xe/xe_i2c.c
+++ b/drivers/gpu/drm/xe/xe_i2c.c
@@ -30,6 +30,7 @@
#include "xe_device.h"
#include "xe_i2c.h"
#include "xe_mmio.h"
+#include "xe_platform_types.h"
#include "xe_sriov.h"
#include "xe_survivability_mode.h"
@@ -163,7 +164,7 @@ bool xe_i2c_present(struct xe_device *xe)
static bool xe_i2c_irq_present(struct xe_device *xe)
{
- return xe->i2c && xe->i2c->adapter_irq;
+ return xe->i2c && (xe->i2c->adapter_irq || xe->i2c->smbus_alert);
}
/**
@@ -182,7 +183,10 @@ void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl)
return;
/* Forward interrupt to I2C adapter */
- generic_handle_irq_safe(xe->i2c->adapter_irq);
+ if (xe->i2c->smbus_alert)
+ xe_i2c_handle_smbus_alert(xe->i2c);
+ else
+ generic_handle_irq_safe(xe->i2c->adapter_irq);
/* Deassert after I2C adapter clears the interrupt */
xe_mmio_rmw32(mmio, I2C_CONFIG_CMD, 0, PCI_COMMAND_INTX_DISABLE);
@@ -232,6 +236,9 @@ static int xe_i2c_create_irq(struct xe_device *xe)
xe_survivability_mode_is_boot_enabled(xe))
return 0;
+ if (xe->info.platform == XE_CRESCENTISLAND)
+ return xe_i2c_register_smbus_alert(i2c);
+
domain = irq_domain_create_linear(dev_fwnode(i2c->drm_dev), 1, &xe_i2c_irq_ops, NULL);
if (!domain)
return -ENOMEM;
@@ -244,6 +251,9 @@ static int xe_i2c_create_irq(struct xe_device *xe)
static void xe_i2c_remove_irq(struct xe_i2c *i2c)
{
+ if (i2c->smbus_alert)
+ i2c_unregister_device(i2c->smbus_alert);
+
if (!i2c->irqdomain)
return;
@@ -327,7 +337,6 @@ int xe_i2c_probe(struct xe_device *xe)
{
struct device *drm_dev = xe->drm.dev;
struct xe_i2c_endpoint ep;
- struct regmap *regmap;
struct xe_i2c *i2c;
int ret;
@@ -354,9 +363,9 @@ int xe_i2c_probe(struct xe_device *xe)
/* PCI PM isn't aware of this device, bring it up and match it with SGUnit state. */
xe_i2c_pm_resume(xe, true);
- regmap = devm_regmap_init(drm_dev, NULL, i2c, &i2c_regmap_config);
- if (IS_ERR(regmap))
- return PTR_ERR(regmap);
+ i2c->regmap = devm_regmap_init(drm_dev, NULL, i2c, &i2c_regmap_config);
+ if (IS_ERR(i2c->regmap))
+ return PTR_ERR(i2c->regmap);
i2c->bus_notifier.notifier_call = xe_i2c_notifier;
ret = bus_register_notifier(&i2c_bus_type, &i2c->bus_notifier);
diff --git a/drivers/gpu/drm/xe/xe_i2c.h b/drivers/gpu/drm/xe/xe_i2c.h
index 425d8160835f4..fdbad51950423 100644
--- a/drivers/gpu/drm/xe/xe_i2c.h
+++ b/drivers/gpu/drm/xe/xe_i2c.h
@@ -3,6 +3,7 @@
#define _XE_I2C_H_
#include <linux/bits.h>
+#include <linux/errno.h>
#include <linux/notifier.h>
#include <linux/types.h>
#include <linux/workqueue.h>
@@ -12,6 +13,7 @@ struct fwnode_handle;
struct i2c_adapter;
struct i2c_client;
struct irq_domain;
+struct regmap;
struct platform_device;
struct xe_device;
struct xe_mmio;
@@ -40,6 +42,8 @@ struct xe_i2c {
struct irq_domain *irqdomain;
int adapter_irq;
+ struct i2c_client *smbus_alert;
+ struct regmap *regmap;
struct xe_i2c_endpoint ep;
struct device *drm_dev;
@@ -65,4 +69,15 @@ static inline void xe_i2c_pm_suspend(struct xe_device *xe) { }
static inline void xe_i2c_pm_resume(struct xe_device *xe, bool d3cold) { }
#endif
+#if IS_ENABLED(CONFIG_I2C_SMBUS)
+void xe_i2c_handle_smbus_alert(struct xe_i2c *i2c);
+int xe_i2c_register_smbus_alert(struct xe_i2c *i2c);
+#else
+static inline void xe_i2c_handle_smbus_alert(struct xe_i2c *i2c) { }
+static inline int xe_i2c_register_smbus_alert(struct xe_i2c *i2c)
+{
+ return -EOPNOTSUPP;
+}
+#endif
+
#endif
diff --git a/drivers/gpu/drm/xe/xe_i2c_smbus.c b/drivers/gpu/drm/xe/xe_i2c_smbus.c
new file mode 100644
index 0000000000000..185a6d2f0a508
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_i2c_smbus.c
@@ -0,0 +1,59 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Intel Xe SMBus handling
+ *
+ * Copyright (C) 2026 Intel Corporation.
+ */
+
+#include <linux/i2c-smbus.h>
+#include <linux/regmap.h>
+#include <linux/types.h>
+
+#include "xe_i2c.h"
+
+/**
+ * DOC: Handler for SMBus Alerts
+ *
+ * If the I2C controller on the platform supports the SMBus extensions, a
+ * dedicated SMBus alert device needs to be registered for it. The alert device
+ * handles the standard SMBus alert processing and forwarding of the alert to
+ * the correct I2C client driver. On most platforms the i2c client device that
+ * generates the alerts will be the AMC.
+ */
+
+#define DW_IC_SMBUS_INTR_STAT 0xc8
+#define DW_IC_CLR_SMBUS_INTR 0xd4
+
+#define DW_IC_SMBUS_INTR_ALERT BIT(10)
+
+void xe_i2c_handle_smbus_alert(struct xe_i2c *i2c)
+{
+ u32 stat;
+
+ if (!i2c->smbus_alert)
+ return;
+
+ regmap_read(i2c->regmap, DW_IC_SMBUS_INTR_STAT, &stat);
+ if (!stat)
+ return;
+
+ regmap_write(i2c->regmap, DW_IC_CLR_SMBUS_INTR, stat);
+
+ if (stat & DW_IC_SMBUS_INTR_ALERT)
+ i2c_handle_smbus_alert(i2c->smbus_alert);
+}
+
+static struct i2c_smbus_alert_setup xe_i2c_smbus_setup;
+
+int xe_i2c_register_smbus_alert(struct xe_i2c *i2c)
+{
+ struct i2c_client *alert;
+
+ alert = i2c_new_smbus_alert_device(i2c->adapter, &xe_i2c_smbus_setup);
+ if (IS_ERR(alert))
+ return PTR_ERR(alert);
+
+ i2c->smbus_alert = alert;
+
+ return 0;
+}
--
2.50.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
@ 2026-06-22 11:47 ` Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
` (2 more replies)
2026-06-22 16:34 ` ✗ CI.checkpatch: warning for drm/xe/i2c: alerts and controller enabling modifications Patchwork
` (4 subsequent siblings)
6 siblings, 3 replies; 17+ messages in thread
From: Heikki Krogerus @ 2026-06-22 11:47 UTC (permalink / raw)
To: Rodrigo Vivi
Cc: Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
Some platforms make an assumption that the i2c controller's
enabled state indicates also the power state of the
controller. This can create a problem when the controller is
in disabled state, because the hardware may assume
incorrectly that it is then also in low-power state.
To fix this, the controller is kept enabled by taking over
the IC_ENABLE register. The controller has to be disabled
when the configuration is updated and when the target
address or the slave address are assigned, so disabling it
when IC_CON, IC_TAR or IC_SAR registers are programmed, and
then re-enabling it again.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
drivers/gpu/drm/xe/xe_i2c.c | 65 +++++++++++++++++++++++++++++++++++--
drivers/gpu/drm/xe/xe_i2c.h | 1 +
2 files changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
index 732ad6ee05e9c..45fa9094b6142 100644
--- a/drivers/gpu/drm/xe/xe_i2c.c
+++ b/drivers/gpu/drm/xe/xe_i2c.c
@@ -8,6 +8,7 @@
#include <drm/drm_print.h>
#include <linux/array_size.h>
#include <linux/container_of.h>
+#include <linux/delay.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/i2c.h>
@@ -261,11 +262,49 @@ static void xe_i2c_remove_irq(struct xe_i2c *i2c)
irq_domain_remove(i2c->irqdomain);
}
+#define IC_CON 0x00
+#define IC_TAR 0x04
+#define IC_SAR 0x08
+#define IC_ENABLE 0x6c
+#define IC_ENABLE_STATUS 0x9c
+
+/* See "Disabling DW_apb_i2c" in the DesignWare DW_abp_i2c databook. */
+static int xe_i2c_disable(struct xe_i2c *i2c)
+{
+ int timeout = 100;
+ u32 status;
+
+ do {
+ /* Disable.*/
+ xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 1, 0);
+
+ /* Verify. */
+ status = xe_mmio_read32(i2c->mmio, XE_REG(IC_ENABLE_STATUS + I2C_MEM_SPACE_OFFSET));
+ if (!(status & 1))
+ return 0;
+
+ /* Repeat. */
+ usleep_range(25, 250);
+ } while (timeout--);
+
+ return -ETIMEDOUT;
+}
+
static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
{
struct xe_i2c *i2c = context;
- *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
+ switch (reg) {
+ case IC_ENABLE:
+ *val = i2c->ic_enable;
+ break;
+ case IC_ENABLE_STATUS:
+ *val = i2c->ic_enable & 1; /* NOTE: Checking only the enable bit */
+ break;
+ default:
+ *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
+ break;
+ }
return 0;
}
@@ -273,8 +312,30 @@ static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
static int xe_i2c_write(void *context, unsigned int reg, unsigned int val)
{
struct xe_i2c *i2c = context;
+ int ret;
- xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
+ switch (reg) {
+ case IC_CON:
+ case IC_TAR:
+ case IC_SAR:
+ /* Disable the controller. */
+ ret = xe_i2c_disable(i2c);
+ if (ret)
+ return ret;
+
+ /* Write the register. */
+ xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
+
+ /* Enable the controller. */
+ xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 0, 1);
+ break;
+ case IC_ENABLE:
+ i2c->ic_enable = val;
+ break;
+ default:
+ xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
+ break;
+ }
return 0;
}
diff --git a/drivers/gpu/drm/xe/xe_i2c.h b/drivers/gpu/drm/xe/xe_i2c.h
index fdbad51950423..e28279f0ebec7 100644
--- a/drivers/gpu/drm/xe/xe_i2c.h
+++ b/drivers/gpu/drm/xe/xe_i2c.h
@@ -36,6 +36,7 @@ struct xe_i2c {
struct platform_device *pdev;
struct i2c_adapter *adapter;
struct i2c_client *client[XE_I2C_MAX_CLIENTS];
+ unsigned int ic_enable;
struct notifier_block bus_notifier;
struct work_struct work;
--
2.50.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
@ 2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:56 ` Andy Shevchenko
2026-06-23 14:39 ` Raag Jadav
2 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-06-22 12:04 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: dri-devel
Thank you for your contribution! Sashiko AI review found 5 potential issue(s) to consider:
New issues:
- [Critical] Calling a sleeping function `usleep_range()` inside `xe_i2c_disable()` triggers a 'BUG: scheduling while atomic' panic because it executes under a regmap spinlock.
- [High] Keeping the hardware permanently enabled by intercepting IC_ENABLE causes critical configuration registers (clock timings, FIFO thresholds) to be silently dropped by the I2C controller.
- [High] Intercepting IC_ENABLE breaks the DesignWare I2C ABORT command, preventing error recovery and causing spurious timeouts.
- [High] Unhandled disable timeout drops IC_TAR writes, sending I2C messages to the wrong target.
Pre-existing issues:
- [High] Missing `cancel_work_sync()` in the teardown path leads to a potential Use-After-Free of `struct xe_i2c`.
--
commit 468f953254a43b46d9448f5006c92c7e5fe3466a
Author: Heikki Krogerus <heikki.krogerus@linux.intel.com>
drm/xe/mcu_i2c: Take over control of the controller enabling
This commit intercepts IC_ENABLE register accesses to keep the I2C
controller enabled, as some platforms tie the power state to this register.
It temporarily disables the controller only when updating IC_CON, IC_TAR,
or IC_SAR registers.
> diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> index 732ad6ee05e9c..45fa9094b6142 100644
> --- a/drivers/gpu/drm/xe/xe_i2c.c
> +++ b/drivers/gpu/drm/xe/xe_i2c.c
[ ... ]
> @@ -261,11 +262,49 @@ static void xe_i2c_remove_irq(struct xe_i2c *i2c)
> irq_domain_remove(i2c->irqdomain);
> }
>
> +#define IC_CON 0x00
> +#define IC_TAR 0x04
> +#define IC_SAR 0x08
> +#define IC_ENABLE 0x6c
> +#define IC_ENABLE_STATUS 0x9c
> +
> +/* See "Disabling DW_apb_i2c" in the DesignWare DW_abp_i2c databook. */
> +static int xe_i2c_disable(struct xe_i2c *i2c)
> +{
> + int timeout = 100;
> + u32 status;
> +
> + do {
> + /* Disable.*/
> + xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 1, 0);
> +
> + /* Verify. */
> + status = xe_mmio_read32(i2c->mmio, XE_REG(IC_ENABLE_STATUS + I2C_MEM_SPACE_OFFSET));
> + if (!(status & 1))
> + return 0;
> +
> + /* Repeat. */
> + usleep_range(25, 250);
[Severity: Critical]
Does this sleeping function execute in an atomic context?
The regmap instance for this I2C controller is configured with .fast_io =
true in i2c_regmap_config, which means the regmap core protects register
operations with a spinlock (spin_lock_irqsave).
Since xe_i2c_disable() is called from the regmap write callback
xe_i2c_write(), calling usleep_range() while holding this spinlock will
trigger a scheduling while atomic panic.
> + } while (timeout--);
> +
> + return -ETIMEDOUT;
> +}
> +
> static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
> {
> struct xe_i2c *i2c = context;
>
> - *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
> + switch (reg) {
> + case IC_ENABLE:
> + *val = i2c->ic_enable;
> + break;
> + case IC_ENABLE_STATUS:
> + *val = i2c->ic_enable & 1; /* NOTE: Checking only the enable bit */
> + break;
[Severity: High]
Will returning a cached value here break the I2C ABORT sequence?
When an I2C transfer stalls, the i2c-designware driver initiates error
recovery by writing the ABORT bit (bit 1) to IC_ENABLE and polling the
register until the hardware auto-clears the bit.
If xe_i2c_read() returns the cached i2c->ic_enable value where the ABORT
bit remains set, the polling loop in i2c_dw_xfer() will unconditionally
time out.
> + default:
> + *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
> + break;
> + }
>
> return 0;
> }
> @@ -273,8 +312,30 @@ static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
> static int xe_i2c_write(void *context, unsigned int reg, unsigned int val)
> {
> struct xe_i2c *i2c = context;
> + int ret;
>
> - xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
> + switch (reg) {
> + case IC_CON:
> + case IC_TAR:
> + case IC_SAR:
> + /* Disable the controller. */
> + ret = xe_i2c_disable(i2c);
> + if (ret)
> + return ret;
> +
> + /* Write the register. */
> + xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
[Severity: High]
If xe_i2c_disable() times out, is it safe to skip the register write?
The i2c-designware master driver ignores the return value of regmap_write()
when programming the target address (DW_IC_TAR). If this write is skipped
due to a timeout, the driver will proceed to transmit the message using the
previously configured target address, which could send data to the wrong
peripheral.
> +
> + /* Enable the controller. */
> + xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 0, 1);
> + break;
> + case IC_ENABLE:
> + i2c->ic_enable = val;
> + break;
[Severity: High]
Does caching the IC_ENABLE write prevent error recovery?
Because the value is only cached in i2c->ic_enable and not forwarded to the
hardware, the physical controller will never execute the abort sequence
requested by the i2c-designware driver.
> + default:
> + xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
> + break;
[Severity: High]
Will the hardware ignore writes to timing and configuration registers?
The DesignWare APB I2C hardware requires the controller to be disabled
before modifying configuration registers like clock timings (IC_*_SCL_HCNT)
and FIFO thresholds.
Since these registers fall through to this default case, they are sent to
the hardware while it is still actively enabled. The hardware drops these
writes, which could leave the controller operating with incorrect default
settings after system resume.
> + }
>
> return 0;
> }
drivers/gpu/drm/xe/xe_i2c.c:xe_i2c_remove() {
...
for (i = 0; i < XE_I2C_MAX_CLIENTS; i++)
i2c_unregister_device(i2c->client[i]);
bus_unregister_notifier(&i2c_bus_type, &i2c->bus_notifier);
xe_i2c_unregister_adapter(i2c);
xe_i2c_remove_irq(i2c);
}
[Severity: High]
This isn't a bug introduced by this patch, but is there a missing
cancel_work_sync() in the teardown path?
The probe function initializes i2c->work, which is scheduled asynchronously.
Since struct xe_i2c is managed by devres, it will be freed immediately
after xe_i2c_remove() returns. If the work is still pending or executing,
it could dereference the freed i2c memory, leading to a use-after-free.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260622114759.3464047-1-heikki.krogerus@linux.intel.com?part=2
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
@ 2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:54 ` Andy Shevchenko
2026-06-23 14:34 ` Raag Jadav
2 siblings, 0 replies; 17+ messages in thread
From: sashiko-bot @ 2026-06-22 12:04 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: dri-devel
Thank you for your contribution! Sashiko AI review found 7 potential issue(s) to consider:
- [High] Calling `i2c_new_smbus_alert_device()` with an uninitialized `i2c->adapter` causes a kernel crash during probe.
- [High] `xe_i2c_remove()` unregisters the SMBus alert device twice, leading to a use-after-free and kernel crash.
- [High] The driver will fail to link (`undefined reference`) when `CONFIG_DRM_XE=y` and `CONFIG_I2C_SMBUS=m`.
- [High] Using `regmap_write()` to clear the SMBus alert interrupt register fails to clear it, resulting in an interrupt storm.
- [High] The SMBus alert client device is unregistered and freed during driver removal while the I2C hardirq handler remains active, causing a use-after-free.
- [High] Calling regmap APIs in the hardirq handler without raw spinlocks causes a "sleeping in atomic context" BUG on PREEMPT_RT kernels.
- [Medium] Disabling `CONFIG_I2C_SMBUS` causes the entire Xe driver probe to fail on Crescent Island.
--
commit 4babbf281e90eb4de9750bdaf56676cc4600f883
Author: Heikki Krogerus <heikki.krogerus@linux.intel.com>
drm/xe/i2c: Handler for SMBus Alerts
Some devices that are attached to the I2C controller use the
SMBus Alert signal for example to inform the host about
thermal events, so registering the default SMBus Alert
device device for them. The alert device makes sure that
the alert is processed and passed to the correct I2C client
driver.
> diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
> index 8e7b146880f46..9c8af00cf37fd 100644
> --- a/drivers/gpu/drm/xe/Makefile
> +++ b/drivers/gpu/drm/xe/Makefile
> @@ -153,6 +153,7 @@ xe-y += xe_bb.o \
> xe_wopcm.o
>
> xe-$(CONFIG_I2C) += xe_i2c.o
> +xe-$(CONFIG_I2C_SMBUS) += xe_i2c_smbus.o
[Severity: High]
Will this cause a build failure when CONFIG_DRM_XE=y and CONFIG_I2C_SMBUS=m?
If CONFIG_I2C_SMBUS is built as a module, xe_i2c_smbus.o is added to the xe-m
target. However, IS_ENABLED(CONFIG_I2C_SMBUS) in xe_i2c.h will still evaluate
to true, causing the built-in driver to expect the functions and resulting in
an undefined reference at link time.
> diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> index 706783863d07d..732ad6ee05e9c 100644
> --- a/drivers/gpu/drm/xe/xe_i2c.c
> +++ b/drivers/gpu/drm/xe/xe_i2c.c
[ ... ]
> @@ -182,7 +183,10 @@ void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl)
> return;
>
> /* Forward interrupt to I2C adapter */
> - generic_handle_irq_safe(xe->i2c->adapter_irq);
> + if (xe->i2c->smbus_alert)
> + xe_i2c_handle_smbus_alert(xe->i2c);
[Severity: High]
Is there a race condition here during driver teardown that could cause a
use-after-free?
During teardown, the smbus_alert device is unregistered and freed, but the
i2c->smbus_alert pointer is not set to NULL. If a hardware interrupt fires
concurrently before the IRQ is completely disabled, this handler will
evaluate xe->i2c->smbus_alert as true and dereference the freed pointer.
> + else
> + generic_handle_irq_safe(xe->i2c->adapter_irq);
>
> /* Deassert after I2C adapter clears the interrupt */
[ ... ]
> @@ -232,6 +236,9 @@ static int xe_i2c_create_irq(struct xe_device *xe)
> xe_survivability_mode_is_boot_enabled(xe))
> return 0;
>
> + if (xe->info.platform == XE_CRESCENTISLAND)
> + return xe_i2c_register_smbus_alert(i2c);
[Severity: High]
Does this pass an uninitialized adapter to the SMBus registration?
This call happens during xe_i2c_probe() before the adapter is fully
initialized and registered. The i2c->adapter pointer is still NULL at
this point, which will cause i2c_new_smbus_alert_device() to crash when
it dereferences the adapter.
[Severity: Medium]
Should the driver fail to probe entirely if SMBus is disabled?
If the kernel is built without CONFIG_I2C_SMBUS, the stub for
xe_i2c_register_smbus_alert() returns -EOPNOTSUPP. Returning that error
here propagates up and causes the entire GPU driver probe to fail on this
platform.
> +
> domain = irq_domain_create_linear(dev_fwnode(i2c->drm_dev), 1, &xe_i2c_irq_ops, NULL);
> if (!domain)
> return -ENOMEM;
> @@ -244,6 +251,9 @@ static int xe_i2c_create_irq(struct xe_device *xe)
>
> static void xe_i2c_remove_irq(struct xe_i2c *i2c)
> {
> + if (i2c->smbus_alert)
> + i2c_unregister_device(i2c->smbus_alert);
> +
[Severity: High]
Does this trigger a double-free of the alert device?
During device removal, xe_i2c_remove() unregisters the adapter before
calling xe_i2c_remove_irq(). Unregistering the adapter synchronously removes
and frees all child clients, including the SMBus alert device. Calling
i2c_unregister_device() on it again here will access freed memory.
[ ... ]
> diff --git a/drivers/gpu/drm/xe/xe_i2c_smbus.c b/drivers/gpu/drm/xe/xe_i2c_smbus.c
> new file mode 100644
> index 0000000000000..185a6d2f0a508
> --- /dev/null
> +++ b/drivers/gpu/drm/xe/xe_i2c_smbus.c
[ ... ]
> +void xe_i2c_handle_smbus_alert(struct xe_i2c *i2c)
> +{
> + u32 stat;
> +
> + if (!i2c->smbus_alert)
> + return;
> +
> + regmap_read(i2c->regmap, DW_IC_SMBUS_INTR_STAT, &stat);
[Severity: High]
Can this sleep in atomic context?
This function is called from xe_i2c_irq_handler() which runs in hardirq
context. The regmap initialized for the I2C controller does not set
use_raw_spinlock to true.
On PREEMPT_RT kernels, the standard spinlock used by regmap becomes a
sleepable mutex, which will trigger a bug when acquired from hardirq context.
> + if (!stat)
> + return;
> +
> + regmap_write(i2c->regmap, DW_IC_CLR_SMBUS_INTR, stat);
[Severity: High]
Does writing to this register properly clear the interrupt?
In Synopsys DesignWare I2C controllers, interrupt clear registers are
typically read-to-clear. A write operation is usually ignored by the
hardware. If the interrupt is not cleared, it will remain asserted and
cause an interrupt storm when the handler returns.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260622114759.3464047-1-heikki.krogerus@linux.intel.com?part=1
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✗ CI.checkpatch: warning for drm/xe/i2c: alerts and controller enabling modifications
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
@ 2026-06-22 16:34 ` Patchwork
2026-06-22 16:35 ` ✓ CI.KUnit: success " Patchwork
` (3 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-06-22 16:34 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: intel-xe
== Series Details ==
Series: drm/xe/i2c: alerts and controller enabling modifications
URL : https://patchwork.freedesktop.org/series/168930/
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
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6a8e2c0291e1711d9f26e3fa265a7219de42458a
Author: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Date: Mon Jun 22 13:47:59 2026 +0200
drm/xe/mcu_i2c: Take over control of the controller enabling
Some platforms make an assumption that the i2c controller's
enabled state indicates also the power state of the
controller. This can create a problem when the controller is
in disabled state, because the hardware may assume
incorrectly that it is then also in low-power state.
To fix this, the controller is kept enabled by taking over
the IC_ENABLE register. The controller has to be disabled
when the configuration is updated and when the target
address or the slave address are assigned, so disabling it
when IC_CON, IC_TAR or IC_SAR registers are programmed, and
then re-enabling it again.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
+ /mt/dim checkpatch 6583dd200482a34bb17e5dc54551f91f53b79798 drm-intel
b146b17eb5fc drm/xe/i2c: Handler for SMBus Alerts
-:9: WARNING:REPEATED_WORD: Possible repeated word: 'device'
#9:
device device for them. The alert device makes sure that
-:147: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#147:
new file mode 100644
total: 0 errors, 2 warnings, 0 checks, 166 lines checked
6a8e2c0291e1 drm/xe/mcu_i2c: Take over control of the controller enabling
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✓ CI.KUnit: success for drm/xe/i2c: alerts and controller enabling modifications
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
` (2 preceding siblings ...)
2026-06-22 16:34 ` ✗ CI.checkpatch: warning for drm/xe/i2c: alerts and controller enabling modifications Patchwork
@ 2026-06-22 16:35 ` Patchwork
2026-06-22 17:36 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-06-22 16:35 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: intel-xe
== Series Details ==
Series: drm/xe/i2c: alerts and controller enabling modifications
URL : https://patchwork.freedesktop.org/series/168930/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[16:34:25] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:34:29] 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
[16:35:00] Starting KUnit Kernel (1/1)...
[16:35:00] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:35:00] ================== guc_buf (11 subtests) ===================
[16:35:00] [PASSED] test_smallest
[16:35:00] [PASSED] test_largest
[16:35:00] [PASSED] test_granular
[16:35:00] [PASSED] test_unique
[16:35:00] [PASSED] test_overlap
[16:35:00] [PASSED] test_reusable
[16:35:00] [PASSED] test_too_big
[16:35:00] [PASSED] test_flush
[16:35:00] [PASSED] test_lookup
[16:35:00] [PASSED] test_data
[16:35:00] [PASSED] test_class
[16:35:00] ===================== [PASSED] guc_buf =====================
[16:35:00] =================== guc_dbm (7 subtests) ===================
[16:35:00] [PASSED] test_empty
[16:35:00] [PASSED] test_default
[16:35:00] ======================== test_size ========================
[16:35:00] [PASSED] 4
[16:35:00] [PASSED] 8
[16:35:00] [PASSED] 32
[16:35:00] [PASSED] 256
[16:35:00] ==================== [PASSED] test_size ====================
[16:35:00] ======================= test_reuse ========================
[16:35:00] [PASSED] 4
[16:35:00] [PASSED] 8
[16:35:00] [PASSED] 32
[16:35:00] [PASSED] 256
[16:35:00] =================== [PASSED] test_reuse ====================
[16:35:00] =================== test_range_overlap ====================
[16:35:00] [PASSED] 4
[16:35:00] [PASSED] 8
[16:35:00] [PASSED] 32
[16:35:00] [PASSED] 256
[16:35:00] =============== [PASSED] test_range_overlap ================
[16:35:00] =================== test_range_compact ====================
[16:35:00] [PASSED] 4
[16:35:00] [PASSED] 8
[16:35:00] [PASSED] 32
[16:35:00] [PASSED] 256
[16:35:00] =============== [PASSED] test_range_compact ================
[16:35:00] ==================== test_range_spare =====================
[16:35:00] [PASSED] 4
[16:35:00] [PASSED] 8
[16:35:00] [PASSED] 32
[16:35:00] [PASSED] 256
[16:35:00] ================ [PASSED] test_range_spare =================
[16:35:00] ===================== [PASSED] guc_dbm =====================
[16:35:00] =================== guc_idm (6 subtests) ===================
[16:35:00] [PASSED] bad_init
[16:35:00] [PASSED] no_init
[16:35:00] [PASSED] init_fini
[16:35:00] [PASSED] check_used
[16:35:00] [PASSED] check_quota
[16:35:00] [PASSED] check_all
[16:35:00] ===================== [PASSED] guc_idm =====================
[16:35:00] ================== no_relay (3 subtests) ===================
[16:35:00] [PASSED] xe_drops_guc2pf_if_not_ready
[16:35:00] [PASSED] xe_drops_guc2vf_if_not_ready
[16:35:00] [PASSED] xe_rejects_send_if_not_ready
[16:35:00] ==================== [PASSED] no_relay =====================
[16:35:00] ================== pf_relay (14 subtests) ==================
[16:35:00] [PASSED] pf_rejects_guc2pf_too_short
[16:35:00] [PASSED] pf_rejects_guc2pf_too_long
[16:35:00] [PASSED] pf_rejects_guc2pf_no_payload
[16:35:00] [PASSED] pf_fails_no_payload
[16:35:00] [PASSED] pf_fails_bad_origin
[16:35:00] [PASSED] pf_fails_bad_type
[16:35:00] [PASSED] pf_txn_reports_error
[16:35:00] [PASSED] pf_txn_sends_pf2guc
[16:35:00] [PASSED] pf_sends_pf2guc
[16:35:00] [SKIPPED] pf_loopback_nop
[16:35:00] [SKIPPED] pf_loopback_echo
[16:35:00] [SKIPPED] pf_loopback_fail
[16:35:00] [SKIPPED] pf_loopback_busy
[16:35:00] [SKIPPED] pf_loopback_retry
[16:35:00] ==================== [PASSED] pf_relay =====================
[16:35:00] ================== vf_relay (3 subtests) ===================
[16:35:00] [PASSED] vf_rejects_guc2vf_too_short
[16:35:00] [PASSED] vf_rejects_guc2vf_too_long
[16:35:00] [PASSED] vf_rejects_guc2vf_no_payload
[16:35:00] ==================== [PASSED] vf_relay =====================
[16:35:00] ================ pf_gt_config (9 subtests) =================
[16:35:00] [PASSED] fair_contexts_1vf
[16:35:00] [PASSED] fair_doorbells_1vf
[16:35:00] [PASSED] fair_ggtt_1vf
[16:35:00] ====================== fair_vram_1vf ======================
[16:35:00] [PASSED] 3.50 GiB
[16:35:00] [PASSED] 11.5 GiB
[16:35:00] [PASSED] 15.5 GiB
[16:35:00] [PASSED] 31.5 GiB
[16:35:00] [PASSED] 63.5 GiB
[16:35:00] [PASSED] 1.91 GiB
[16:35:00] ================== [PASSED] fair_vram_1vf ==================
[16:35:00] ================ fair_vram_1vf_admin_only =================
[16:35:00] [PASSED] 3.50 GiB
[16:35:00] [PASSED] 11.5 GiB
[16:35:00] [PASSED] 15.5 GiB
[16:35:00] [PASSED] 31.5 GiB
[16:35:00] [PASSED] 63.5 GiB
[16:35:00] [PASSED] 1.91 GiB
[16:35:00] ============ [PASSED] fair_vram_1vf_admin_only =============
[16:35:00] ====================== fair_contexts ======================
[16:35:00] [PASSED] 1 VF
[16:35:00] [PASSED] 2 VFs
[16:35:00] [PASSED] 3 VFs
[16:35:00] [PASSED] 4 VFs
[16:35:00] [PASSED] 5 VFs
[16:35:00] [PASSED] 6 VFs
[16:35:00] [PASSED] 7 VFs
[16:35:00] [PASSED] 8 VFs
[16:35:00] [PASSED] 9 VFs
[16:35:00] [PASSED] 10 VFs
[16:35:00] [PASSED] 11 VFs
[16:35:00] [PASSED] 12 VFs
[16:35:00] [PASSED] 13 VFs
[16:35:00] [PASSED] 14 VFs
[16:35:00] [PASSED] 15 VFs
[16:35:00] [PASSED] 16 VFs
[16:35:00] [PASSED] 17 VFs
[16:35:00] [PASSED] 18 VFs
[16:35:00] [PASSED] 19 VFs
[16:35:00] [PASSED] 20 VFs
[16:35:00] [PASSED] 21 VFs
[16:35:00] [PASSED] 22 VFs
[16:35:00] [PASSED] 23 VFs
[16:35:00] [PASSED] 24 VFs
[16:35:00] [PASSED] 25 VFs
[16:35:00] [PASSED] 26 VFs
[16:35:00] [PASSED] 27 VFs
[16:35:00] [PASSED] 28 VFs
[16:35:00] [PASSED] 29 VFs
[16:35:00] [PASSED] 30 VFs
[16:35:00] [PASSED] 31 VFs
[16:35:00] [PASSED] 32 VFs
[16:35:00] [PASSED] 33 VFs
[16:35:00] [PASSED] 34 VFs
[16:35:00] [PASSED] 35 VFs
[16:35:00] [PASSED] 36 VFs
[16:35:00] [PASSED] 37 VFs
[16:35:00] [PASSED] 38 VFs
[16:35:00] [PASSED] 39 VFs
[16:35:00] [PASSED] 40 VFs
[16:35:00] [PASSED] 41 VFs
[16:35:00] [PASSED] 42 VFs
[16:35:00] [PASSED] 43 VFs
[16:35:01] [PASSED] 44 VFs
[16:35:01] [PASSED] 45 VFs
[16:35:01] [PASSED] 46 VFs
[16:35:01] [PASSED] 47 VFs
[16:35:01] [PASSED] 48 VFs
[16:35:01] [PASSED] 49 VFs
[16:35:01] [PASSED] 50 VFs
[16:35:01] [PASSED] 51 VFs
[16:35:01] [PASSED] 52 VFs
[16:35:01] [PASSED] 53 VFs
[16:35:01] [PASSED] 54 VFs
[16:35:01] [PASSED] 55 VFs
[16:35:01] [PASSED] 56 VFs
[16:35:01] [PASSED] 57 VFs
[16:35:01] [PASSED] 58 VFs
[16:35:01] [PASSED] 59 VFs
[16:35:01] [PASSED] 60 VFs
[16:35:01] [PASSED] 61 VFs
[16:35:01] [PASSED] 62 VFs
[16:35:01] [PASSED] 63 VFs
[16:35:01] ================== [PASSED] fair_contexts ==================
[16:35:01] ===================== fair_doorbells ======================
[16:35:01] [PASSED] 1 VF
[16:35:01] [PASSED] 2 VFs
[16:35:01] [PASSED] 3 VFs
[16:35:01] [PASSED] 4 VFs
[16:35:01] [PASSED] 5 VFs
[16:35:01] [PASSED] 6 VFs
[16:35:01] [PASSED] 7 VFs
[16:35:01] [PASSED] 8 VFs
[16:35:01] [PASSED] 9 VFs
[16:35:01] [PASSED] 10 VFs
[16:35:01] [PASSED] 11 VFs
[16:35:01] [PASSED] 12 VFs
[16:35:01] [PASSED] 13 VFs
[16:35:01] [PASSED] 14 VFs
[16:35:01] [PASSED] 15 VFs
[16:35:01] [PASSED] 16 VFs
[16:35:01] [PASSED] 17 VFs
[16:35:01] [PASSED] 18 VFs
[16:35:01] [PASSED] 19 VFs
[16:35:01] [PASSED] 20 VFs
[16:35:01] [PASSED] 21 VFs
[16:35:01] [PASSED] 22 VFs
[16:35:01] [PASSED] 23 VFs
[16:35:01] [PASSED] 24 VFs
[16:35:01] [PASSED] 25 VFs
[16:35:01] [PASSED] 26 VFs
[16:35:01] [PASSED] 27 VFs
[16:35:01] [PASSED] 28 VFs
[16:35:01] [PASSED] 29 VFs
[16:35:01] [PASSED] 30 VFs
[16:35:01] [PASSED] 31 VFs
[16:35:01] [PASSED] 32 VFs
[16:35:01] [PASSED] 33 VFs
[16:35:01] [PASSED] 34 VFs
[16:35:01] [PASSED] 35 VFs
[16:35:01] [PASSED] 36 VFs
[16:35:01] [PASSED] 37 VFs
[16:35:01] [PASSED] 38 VFs
[16:35:01] [PASSED] 39 VFs
[16:35:01] [PASSED] 40 VFs
[16:35:01] [PASSED] 41 VFs
[16:35:01] [PASSED] 42 VFs
[16:35:01] [PASSED] 43 VFs
[16:35:01] [PASSED] 44 VFs
[16:35:01] [PASSED] 45 VFs
[16:35:01] [PASSED] 46 VFs
[16:35:01] [PASSED] 47 VFs
[16:35:01] [PASSED] 48 VFs
[16:35:01] [PASSED] 49 VFs
[16:35:01] [PASSED] 50 VFs
[16:35:01] [PASSED] 51 VFs
[16:35:01] [PASSED] 52 VFs
[16:35:01] [PASSED] 53 VFs
[16:35:01] [PASSED] 54 VFs
[16:35:01] [PASSED] 55 VFs
[16:35:01] [PASSED] 56 VFs
[16:35:01] [PASSED] 57 VFs
[16:35:01] [PASSED] 58 VFs
[16:35:01] [PASSED] 59 VFs
[16:35:01] [PASSED] 60 VFs
[16:35:01] [PASSED] 61 VFs
[16:35:01] [PASSED] 62 VFs
[16:35:01] [PASSED] 63 VFs
[16:35:01] ================= [PASSED] fair_doorbells ==================
[16:35:01] ======================== fair_ggtt ========================
[16:35:01] [PASSED] 1 VF
[16:35:01] [PASSED] 2 VFs
[16:35:01] [PASSED] 3 VFs
[16:35:01] [PASSED] 4 VFs
[16:35:01] [PASSED] 5 VFs
[16:35:01] [PASSED] 6 VFs
[16:35:01] [PASSED] 7 VFs
[16:35:01] [PASSED] 8 VFs
[16:35:01] [PASSED] 9 VFs
[16:35:01] [PASSED] 10 VFs
[16:35:01] [PASSED] 11 VFs
[16:35:01] [PASSED] 12 VFs
[16:35:01] [PASSED] 13 VFs
[16:35:01] [PASSED] 14 VFs
[16:35:01] [PASSED] 15 VFs
[16:35:01] [PASSED] 16 VFs
[16:35:01] [PASSED] 17 VFs
[16:35:01] [PASSED] 18 VFs
[16:35:01] [PASSED] 19 VFs
[16:35:01] [PASSED] 20 VFs
[16:35:01] [PASSED] 21 VFs
[16:35:01] [PASSED] 22 VFs
[16:35:01] [PASSED] 23 VFs
[16:35:01] [PASSED] 24 VFs
[16:35:01] [PASSED] 25 VFs
[16:35:01] [PASSED] 26 VFs
[16:35:01] [PASSED] 27 VFs
[16:35:01] [PASSED] 28 VFs
[16:35:01] [PASSED] 29 VFs
[16:35:01] [PASSED] 30 VFs
[16:35:01] [PASSED] 31 VFs
[16:35:01] [PASSED] 32 VFs
[16:35:01] [PASSED] 33 VFs
[16:35:01] [PASSED] 34 VFs
[16:35:01] [PASSED] 35 VFs
[16:35:01] [PASSED] 36 VFs
[16:35:01] [PASSED] 37 VFs
[16:35:01] [PASSED] 38 VFs
[16:35:01] [PASSED] 39 VFs
[16:35:01] [PASSED] 40 VFs
[16:35:01] [PASSED] 41 VFs
[16:35:01] [PASSED] 42 VFs
[16:35:01] [PASSED] 43 VFs
[16:35:01] [PASSED] 44 VFs
[16:35:01] [PASSED] 45 VFs
[16:35:01] [PASSED] 46 VFs
[16:35:01] [PASSED] 47 VFs
[16:35:01] [PASSED] 48 VFs
[16:35:01] [PASSED] 49 VFs
[16:35:01] [PASSED] 50 VFs
[16:35:01] [PASSED] 51 VFs
[16:35:01] [PASSED] 52 VFs
[16:35:01] [PASSED] 53 VFs
[16:35:01] [PASSED] 54 VFs
[16:35:01] [PASSED] 55 VFs
[16:35:01] [PASSED] 56 VFs
[16:35:01] [PASSED] 57 VFs
[16:35:01] [PASSED] 58 VFs
[16:35:01] [PASSED] 59 VFs
[16:35:01] [PASSED] 60 VFs
[16:35:01] [PASSED] 61 VFs
[16:35:01] [PASSED] 62 VFs
[16:35:01] [PASSED] 63 VFs
[16:35:01] ==================== [PASSED] fair_ggtt ====================
[16:35:01] ======================== fair_vram ========================
[16:35:01] [PASSED] 1 VF
[16:35:01] [PASSED] 2 VFs
[16:35:01] [PASSED] 3 VFs
[16:35:01] [PASSED] 4 VFs
[16:35:01] [PASSED] 5 VFs
[16:35:01] [PASSED] 6 VFs
[16:35:01] [PASSED] 7 VFs
[16:35:01] [PASSED] 8 VFs
[16:35:01] [PASSED] 9 VFs
[16:35:01] [PASSED] 10 VFs
[16:35:01] [PASSED] 11 VFs
[16:35:01] [PASSED] 12 VFs
[16:35:01] [PASSED] 13 VFs
[16:35:01] [PASSED] 14 VFs
[16:35:01] [PASSED] 15 VFs
[16:35:01] [PASSED] 16 VFs
[16:35:01] [PASSED] 17 VFs
[16:35:01] [PASSED] 18 VFs
[16:35:01] [PASSED] 19 VFs
[16:35:01] [PASSED] 20 VFs
[16:35:01] [PASSED] 21 VFs
[16:35:01] [PASSED] 22 VFs
[16:35:01] [PASSED] 23 VFs
[16:35:01] [PASSED] 24 VFs
[16:35:01] [PASSED] 25 VFs
[16:35:01] [PASSED] 26 VFs
[16:35:01] [PASSED] 27 VFs
[16:35:01] [PASSED] 28 VFs
[16:35:01] [PASSED] 29 VFs
[16:35:01] [PASSED] 30 VFs
[16:35:01] [PASSED] 31 VFs
[16:35:01] [PASSED] 32 VFs
[16:35:01] [PASSED] 33 VFs
[16:35:01] [PASSED] 34 VFs
[16:35:01] [PASSED] 35 VFs
[16:35:01] [PASSED] 36 VFs
[16:35:01] [PASSED] 37 VFs
[16:35:01] [PASSED] 38 VFs
[16:35:01] [PASSED] 39 VFs
[16:35:01] [PASSED] 40 VFs
[16:35:01] [PASSED] 41 VFs
[16:35:01] [PASSED] 42 VFs
[16:35:01] [PASSED] 43 VFs
[16:35:01] [PASSED] 44 VFs
[16:35:01] [PASSED] 45 VFs
[16:35:01] [PASSED] 46 VFs
[16:35:01] [PASSED] 47 VFs
[16:35:01] [PASSED] 48 VFs
[16:35:01] [PASSED] 49 VFs
[16:35:01] [PASSED] 50 VFs
[16:35:01] [PASSED] 51 VFs
[16:35:01] [PASSED] 52 VFs
[16:35:01] [PASSED] 53 VFs
[16:35:01] [PASSED] 54 VFs
[16:35:01] [PASSED] 55 VFs
[16:35:01] [PASSED] 56 VFs
[16:35:01] [PASSED] 57 VFs
[16:35:01] [PASSED] 58 VFs
[16:35:01] [PASSED] 59 VFs
[16:35:01] [PASSED] 60 VFs
[16:35:01] [PASSED] 61 VFs
[16:35:01] [PASSED] 62 VFs
[16:35:01] [PASSED] 63 VFs
[16:35:01] ==================== [PASSED] fair_vram ====================
[16:35:01] ================== [PASSED] pf_gt_config ===================
[16:35:01] ===================== lmtt (1 subtest) =====================
[16:35:01] ======================== test_ops =========================
[16:35:01] [PASSED] 2-level
[16:35:01] [PASSED] multi-level
[16:35:01] ==================== [PASSED] test_ops =====================
[16:35:01] ====================== [PASSED] lmtt =======================
[16:35:01] ================= pf_service (11 subtests) =================
[16:35:01] [PASSED] pf_negotiate_any
[16:35:01] [PASSED] pf_negotiate_base_match
[16:35:01] [PASSED] pf_negotiate_base_newer
[16:35:01] [PASSED] pf_negotiate_base_next
[16:35:01] [SKIPPED] pf_negotiate_base_older
[16:35:01] [PASSED] pf_negotiate_base_prev
[16:35:01] [PASSED] pf_negotiate_latest_match
[16:35:01] [PASSED] pf_negotiate_latest_newer
[16:35:01] [PASSED] pf_negotiate_latest_next
[16:35:01] [SKIPPED] pf_negotiate_latest_older
[16:35:01] [SKIPPED] pf_negotiate_latest_prev
[16:35:01] =================== [PASSED] pf_service ====================
[16:35:01] ================= xe_guc_g2g (2 subtests) ==================
[16:35:01] ============== xe_live_guc_g2g_kunit_default ==============
[16:35:01] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[16:35:01] ============== xe_live_guc_g2g_kunit_allmem ===============
[16:35:01] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[16:35:01] =================== [SKIPPED] xe_guc_g2g ===================
[16:35:01] =================== xe_mocs (2 subtests) ===================
[16:35:01] ================ xe_live_mocs_kernel_kunit ================
[16:35:01] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[16:35:01] ================ xe_live_mocs_reset_kunit =================
[16:35:01] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[16:35:01] ==================== [SKIPPED] xe_mocs =====================
[16:35:01] ================= xe_migrate (2 subtests) ==================
[16:35:01] ================= xe_migrate_sanity_kunit =================
[16:35:01] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[16:35:01] ================== xe_validate_ccs_kunit ==================
[16:35:01] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[16:35:01] =================== [SKIPPED] xe_migrate ===================
[16:35:01] ================== xe_dma_buf (1 subtest) ==================
[16:35:01] ==================== xe_dma_buf_kunit =====================
[16:35:01] ================ [SKIPPED] xe_dma_buf_kunit ================
[16:35:01] =================== [SKIPPED] xe_dma_buf ===================
[16:35:01] ================= xe_bo_shrink (1 subtest) =================
[16:35:01] =================== xe_bo_shrink_kunit ====================
[16:35:01] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[16:35:01] ================== [SKIPPED] xe_bo_shrink ==================
[16:35:01] ==================== xe_bo (2 subtests) ====================
[16:35:01] ================== xe_ccs_migrate_kunit ===================
[16:35:01] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[16:35:01] ==================== xe_bo_evict_kunit ====================
[16:35:01] =============== [SKIPPED] xe_bo_evict_kunit ================
[16:35:01] ===================== [SKIPPED] xe_bo ======================
[16:35:01] ==================== args (13 subtests) ====================
[16:35:01] [PASSED] count_args_test
[16:35:01] [PASSED] call_args_example
[16:35:01] [PASSED] call_args_test
[16:35:01] [PASSED] drop_first_arg_example
[16:35:01] [PASSED] drop_first_arg_test
[16:35:01] [PASSED] first_arg_example
[16:35:01] [PASSED] first_arg_test
[16:35:01] [PASSED] last_arg_example
[16:35:01] [PASSED] last_arg_test
[16:35:01] [PASSED] pick_arg_example
[16:35:01] [PASSED] if_args_example
[16:35:01] [PASSED] if_args_test
[16:35:01] [PASSED] sep_comma_example
[16:35:01] ====================== [PASSED] args =======================
[16:35:01] =================== xe_pci (3 subtests) ====================
[16:35:01] ==================== check_graphics_ip ====================
[16:35:01] [PASSED] 12.00 Xe_LP
[16:35:01] [PASSED] 12.10 Xe_LP+
[16:35:01] [PASSED] 12.55 Xe_HPG
[16:35:01] [PASSED] 12.60 Xe_HPC
[16:35:01] [PASSED] 12.70 Xe_LPG
[16:35:01] [PASSED] 12.71 Xe_LPG
[16:35:01] [PASSED] 12.74 Xe_LPG+
[16:35:01] [PASSED] 20.01 Xe2_HPG
[16:35:01] [PASSED] 20.02 Xe2_HPG
[16:35:01] [PASSED] 20.04 Xe2_LPG
[16:35:01] [PASSED] 30.00 Xe3_LPG
[16:35:01] [PASSED] 30.01 Xe3_LPG
[16:35:01] [PASSED] 30.03 Xe3_LPG
[16:35:01] [PASSED] 30.04 Xe3_LPG
[16:35:01] [PASSED] 30.05 Xe3_LPG
[16:35:01] [PASSED] 35.10 Xe3p_LPG
[16:35:01] [PASSED] 35.11 Xe3p_XPC
[16:35:01] ================ [PASSED] check_graphics_ip ================
[16:35:01] ===================== check_media_ip ======================
[16:35:01] [PASSED] 12.00 Xe_M
[16:35:01] [PASSED] 12.55 Xe_HPM
[16:35:01] [PASSED] 13.00 Xe_LPM+
[16:35:01] [PASSED] 13.01 Xe2_HPM
[16:35:01] [PASSED] 20.00 Xe2_LPM
[16:35:01] [PASSED] 30.00 Xe3_LPM
[16:35:01] [PASSED] 30.02 Xe3_LPM
[16:35:01] [PASSED] 35.00 Xe3p_LPM
[16:35:01] [PASSED] 35.03 Xe3p_HPM
[16:35:01] ================= [PASSED] check_media_ip ==================
[16:35:01] =================== check_platform_desc ===================
[16:35:01] [PASSED] 0x9A60 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A68 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A70 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A40 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A49 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A59 (TIGERLAKE)
[16:35:01] [PASSED] 0x9A78 (TIGERLAKE)
[16:35:01] [PASSED] 0x9AC0 (TIGERLAKE)
[16:35:01] [PASSED] 0x9AC9 (TIGERLAKE)
[16:35:01] [PASSED] 0x9AD9 (TIGERLAKE)
[16:35:01] [PASSED] 0x9AF8 (TIGERLAKE)
[16:35:01] [PASSED] 0x4C80 (ROCKETLAKE)
[16:35:01] [PASSED] 0x4C8A (ROCKETLAKE)
[16:35:01] [PASSED] 0x4C8B (ROCKETLAKE)
[16:35:01] [PASSED] 0x4C8C (ROCKETLAKE)
[16:35:01] [PASSED] 0x4C90 (ROCKETLAKE)
[16:35:01] [PASSED] 0x4C9A (ROCKETLAKE)
[16:35:01] [PASSED] 0x4680 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4682 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4688 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x468A (ALDERLAKE_S)
[16:35:01] [PASSED] 0x468B (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4690 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4692 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4693 (ALDERLAKE_S)
[16:35:01] [PASSED] 0x46A0 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46A1 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46A2 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46A3 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46A6 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46A8 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46AA (ALDERLAKE_P)
[16:35:01] [PASSED] 0x462A (ALDERLAKE_P)
[16:35:01] [PASSED] 0x4626 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x4628 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46B0 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46B1 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46B2 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46B3 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46C0 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46C1 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46C2 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46C3 (ALDERLAKE_P)
[16:35:01] [PASSED] 0x46D0 (ALDERLAKE_N)
[16:35:01] [PASSED] 0x46D1 (ALDERLAKE_N)
[16:35:01] [PASSED] 0x46D2 (ALDERLAKE_N)
[16:35:01] [PASSED] 0x46D3 (ALDERLAKE_N)
[16:35:01] [PASSED] 0x46D4 (ALDERLAKE_N)
[16:35:01] [PASSED] 0xA721 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7A1 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7A9 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7AC (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7AD (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA720 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7A0 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7A8 (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7AA (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA7AB (ALDERLAKE_P)
[16:35:01] [PASSED] 0xA780 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA781 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA782 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA783 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA788 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA789 (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA78A (ALDERLAKE_S)
[16:35:01] [PASSED] 0xA78B (ALDERLAKE_S)
[16:35:01] [PASSED] 0x4905 (DG1)
[16:35:01] [PASSED] 0x4906 (DG1)
[16:35:01] [PASSED] 0x4907 (DG1)
[16:35:01] [PASSED] 0x4908 (DG1)
[16:35:01] [PASSED] 0x4909 (DG1)
[16:35:01] [PASSED] 0x56C0 (DG2)
[16:35:01] [PASSED] 0x56C2 (DG2)
[16:35:01] [PASSED] 0x56C1 (DG2)
[16:35:01] [PASSED] 0x7D51 (METEORLAKE)
[16:35:01] [PASSED] 0x7DD1 (METEORLAKE)
[16:35:01] [PASSED] 0x7D41 (METEORLAKE)
[16:35:01] [PASSED] 0x7D67 (METEORLAKE)
[16:35:01] [PASSED] 0xB640 (METEORLAKE)
[16:35:01] [PASSED] 0x56A0 (DG2)
[16:35:01] [PASSED] 0x56A1 (DG2)
[16:35:01] [PASSED] 0x56A2 (DG2)
[16:35:01] [PASSED] 0x56BE (DG2)
[16:35:01] [PASSED] 0x56BF (DG2)
[16:35:01] [PASSED] 0x5690 (DG2)
[16:35:01] [PASSED] 0x5691 (DG2)
[16:35:01] [PASSED] 0x5692 (DG2)
[16:35:01] [PASSED] 0x56A5 (DG2)
[16:35:01] [PASSED] 0x56A6 (DG2)
[16:35:01] [PASSED] 0x56B0 (DG2)
[16:35:01] [PASSED] 0x56B1 (DG2)
[16:35:01] [PASSED] 0x56BA (DG2)
[16:35:01] [PASSED] 0x56BB (DG2)
[16:35:01] [PASSED] 0x56BC (DG2)
[16:35:01] [PASSED] 0x56BD (DG2)
[16:35:01] [PASSED] 0x5693 (DG2)
[16:35:01] [PASSED] 0x5694 (DG2)
[16:35:01] [PASSED] 0x5695 (DG2)
[16:35:01] [PASSED] 0x56A3 (DG2)
[16:35:01] [PASSED] 0x56A4 (DG2)
[16:35:01] [PASSED] 0x56B2 (DG2)
[16:35:01] [PASSED] 0x56B3 (DG2)
[16:35:01] [PASSED] 0x5696 (DG2)
[16:35:01] [PASSED] 0x5697 (DG2)
[16:35:01] [PASSED] 0xB69 (PVC)
[16:35:01] [PASSED] 0xB6E (PVC)
[16:35:01] [PASSED] 0xBD4 (PVC)
[16:35:01] [PASSED] 0xBD5 (PVC)
[16:35:01] [PASSED] 0xBD6 (PVC)
[16:35:01] [PASSED] 0xBD7 (PVC)
[16:35:01] [PASSED] 0xBD8 (PVC)
[16:35:01] [PASSED] 0xBD9 (PVC)
[16:35:01] [PASSED] 0xBDA (PVC)
[16:35:01] [PASSED] 0xBDB (PVC)
[16:35:01] [PASSED] 0xBE0 (PVC)
[16:35:01] [PASSED] 0xBE1 (PVC)
[16:35:01] [PASSED] 0xBE5 (PVC)
[16:35:01] [PASSED] 0x7D40 (METEORLAKE)
[16:35:01] [PASSED] 0x7D45 (METEORLAKE)
[16:35:01] [PASSED] 0x7D55 (METEORLAKE)
[16:35:01] [PASSED] 0x7D60 (METEORLAKE)
[16:35:01] [PASSED] 0x7DD5 (METEORLAKE)
[16:35:01] [PASSED] 0x6420 (LUNARLAKE)
[16:35:01] [PASSED] 0x64A0 (LUNARLAKE)
[16:35:01] [PASSED] 0x64B0 (LUNARLAKE)
[16:35:01] [PASSED] 0xE202 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE209 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE20B (BATTLEMAGE)
[16:35:01] [PASSED] 0xE20C (BATTLEMAGE)
[16:35:01] [PASSED] 0xE20D (BATTLEMAGE)
[16:35:01] [PASSED] 0xE210 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE211 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE212 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE216 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE220 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE221 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE222 (BATTLEMAGE)
[16:35:01] [PASSED] 0xE223 (BATTLEMAGE)
[16:35:01] [PASSED] 0xB080 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB081 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB082 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB083 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB084 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB085 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB086 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB087 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB08F (PANTHERLAKE)
[16:35:01] [PASSED] 0xB090 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB0A0 (PANTHERLAKE)
[16:35:01] [PASSED] 0xB0B0 (PANTHERLAKE)
[16:35:01] [PASSED] 0xFD80 (PANTHERLAKE)
[16:35:01] [PASSED] 0xFD81 (PANTHERLAKE)
[16:35:01] [PASSED] 0xD740 (NOVALAKE_S)
[16:35:01] [PASSED] 0xD741 (NOVALAKE_S)
[16:35:01] [PASSED] 0xD742 (NOVALAKE_S)
[16:35:01] [PASSED] 0xD743 (NOVALAKE_S)
[16:35:01] [PASSED] 0xD745 (NOVALAKE_S)
[16:35:01] [PASSED] 0xD74A (NOVALAKE_S)
[16:35:01] [PASSED] 0xD74B (NOVALAKE_S)
[16:35:01] [PASSED] 0x674C (CRESCENTISLAND)
[16:35:01] [PASSED] 0x674D (CRESCENTISLAND)
[16:35:01] [PASSED] 0x674E (CRESCENTISLAND)
[16:35:01] [PASSED] 0x674F (CRESCENTISLAND)
[16:35:01] [PASSED] 0x6750 (CRESCENTISLAND)
[16:35:01] [PASSED] 0xD750 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD751 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD752 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD753 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD754 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD755 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD756 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD757 (NOVALAKE_P)
[16:35:01] [PASSED] 0xD75F (NOVALAKE_P)
[16:35:01] =============== [PASSED] check_platform_desc ===============
[16:35:01] ===================== [PASSED] xe_pci ======================
[16:35:01] ============= xe_rtp_tables_test (4 subtests) ==============
[16:35:01] ================== xe_rtp_table_gt_test ===================
[16:35:01] [PASSED] gt_was/14011060649
[16:35:01] [PASSED] gt_was/14011059788
[16:35:01] [PASSED] gt_was/14015795083
[16:35:01] [PASSED] gt_was/16021867713
[16:35:01] [PASSED] gt_was/14019449301
[16:35:01] [PASSED] gt_was/16028005424
[16:35:01] [PASSED] gt_was/14026578760
[16:35:01] [PASSED] gt_was/1409420604
[16:35:01] [PASSED] gt_was/1408615072
[16:35:01] [PASSED] gt_was/22010523718
[16:35:01] [PASSED] gt_was/14011006942
[16:35:01] [PASSED] gt_was/14014830051
[16:35:01] [PASSED] gt_was/18018781329
[16:35:01] [PASSED] gt_was/1509235366
[16:35:01] [PASSED] gt_was/18018781329
[16:35:01] [PASSED] gt_was/16016694945
[16:35:01] [PASSED] gt_was/14018575942
[16:35:01] [PASSED] gt_was/22016670082
[16:35:01] [PASSED] gt_was/22016670082
[16:35:01] [PASSED] gt_was/14017421178
[16:35:01] [PASSED] gt_was/16025250150
[16:35:01] [PASSED] gt_was/14021871409
[16:35:01] [PASSED] gt_was/16021865536
[16:35:01] [PASSED] gt_was/14021486841
[16:35:01] [PASSED] gt_was/14025160223
[16:35:01] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[16:35:01] [PASSED] gt_was/14025635424
[16:35:01] [PASSED] gt_was/16028005424
[16:35:01] ============== [PASSED] xe_rtp_table_gt_test ===============
[16:35:01] ================== xe_rtp_table_gt_test ===================
[16:35:01] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[16:35:01] [PASSED] gt_tunings/Tuning: 32B Access Enable
[16:35:01] [PASSED] gt_tunings/Tuning: L3 cache
[16:35:01] [PASSED] gt_tunings/Tuning: L3 cache - media
[16:35:01] [PASSED] gt_tunings/Tuning: Compression Overfetch
[16:35:01] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[16:35:01] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[16:35:01] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[16:35:01] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[16:35:01] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[16:35:01] [PASSED] gt_tunings/Tuning: Stateless compression control
[16:35:01] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[16:35:01] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[16:35:01] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[16:35:01] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[16:35:01] ============== [PASSED] xe_rtp_table_gt_test ===============
[16:35:01] ================== xe_rtp_table_oob_test ==================
[16:35:01] [PASSED] oob_was/1607983814
[16:35:01] [PASSED] oob_was/16010904313
[16:35:01] [PASSED] oob_was/18022495364
[16:35:01] [PASSED] oob_was/22012773006
[16:35:01] [PASSED] oob_was/14014475959
[16:35:01] [PASSED] oob_was/22011391025
[16:35:01] [PASSED] oob_was/22012727170
[16:35:01] [PASSED] oob_was/22012727685
[16:35:01] [PASSED] oob_was/22016596838
[16:35:01] [PASSED] oob_was/18020744125
[16:35:01] [PASSED] oob_was/1409600907
[16:35:01] [PASSED] oob_was/22014953428
[16:35:01] [PASSED] oob_was/16017236439
[16:35:01] [PASSED] oob_was/14019821291
[16:35:01] [PASSED] oob_was/14015076503
[16:35:01] [PASSED] oob_was/14018913170
[16:35:01] [PASSED] oob_was/14018094691
[16:35:01] [PASSED] oob_was/18024947630
[16:35:01] [PASSED] oob_was/16022287689
[16:35:01] [PASSED] oob_was/13011645652
[16:35:01] [PASSED] oob_was/14022293748
[16:35:01] [PASSED] oob_was/22019794406
[16:35:01] [PASSED] oob_was/22019338487
[16:35:01] [PASSED] oob_was/16023588340
[16:35:01] [PASSED] oob_was/14019789679
[16:35:01] [PASSED] oob_was/14022866841
[16:35:01] [PASSED] oob_was/16021333562
[16:35:01] [PASSED] oob_was/14016712196
[16:35:01] [PASSED] oob_was/14015568240
[16:35:01] [PASSED] oob_was/18013179988
[16:35:01] [PASSED] oob_was/1508761755
[16:35:01] [PASSED] oob_was/16023105232
[16:35:01] [PASSED] oob_was/16026508708
[16:35:01] [PASSED] oob_was/14020001231
[16:35:01] [PASSED] oob_was/16023683509
[16:35:01] [PASSED] oob_was/14025515070
[16:35:01] [PASSED] oob_was/15015404425_disable
[16:35:01] [PASSED] oob_was/16026007364
[16:35:01] [PASSED] oob_was/14020316580
[16:35:01] [PASSED] oob_was/14025883347
[16:35:01] [PASSED] oob_was/16029380221
[16:35:01] ============== [PASSED] xe_rtp_table_oob_test ==============
[16:35:01] ================ xe_rtp_table_dev_oob_test ================
[16:35:01] [PASSED] device_oob_was/22010954014
[16:35:01] [PASSED] device_oob_was/15015404425
[16:35:01] [PASSED] device_oob_was/22019338487_display
[16:35:01] [PASSED] device_oob_was/14022085890
[16:35:01] [PASSED] device_oob_was/14026539277
[16:35:01] [PASSED] device_oob_was/14026633728
[16:35:01] [PASSED] device_oob_was/14026746987
[16:35:01] [PASSED] device_oob_was/14026779378
[16:35:01] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[16:35:01] =============== [PASSED] xe_rtp_tables_test ================
[16:35:01] =================== xe_rtp (3 subtests) ====================
[16:35:01] =================== xe_rtp_rules_tests ====================
[16:35:01] [PASSED] no
[16:35:01] [PASSED] yes
[16:35:01] [PASSED] no-and-no
[16:35:01] [PASSED] no-and-yes
[16:35:01] [PASSED] yes-and-no
[16:35:01] [PASSED] yes-and-yes
[16:35:01] [PASSED] no-or-no
[16:35:01] [PASSED] no-or-yes
[16:35:01] [PASSED] yes-or-no
[16:35:01] [PASSED] yes-or-yes
[16:35:01] [PASSED] no-yes-or-yes-no
[16:35:01] [PASSED] no-yes-or-yes-yes
[16:35:01] [PASSED] yes-yes-or-no-yes
[16:35:01] [PASSED] yes-yes-or-yes-yes
[16:35:01] [PASSED] no-no-or-yes-or-no
[16:35:01] [PASSED] or
[16:35:01] [PASSED] or-yes
[16:35:01] [PASSED] or-no
[16:35:01] [PASSED] yes-or
[16:35:01] [PASSED] no-or
[16:35:01] [PASSED] no-or-or-yes
[16:35:01] [PASSED] yes-or-or-no
[16:35:01] [PASSED] no-or-or-no
[16:35:01] [PASSED] missing-context-engine-class
[16:35:01] [PASSED] missing-context-engine-class-or-yes
[16:35:01] [PASSED] missing-context-engine-class-or-or-yes
[16:35:01] =============== [PASSED] xe_rtp_rules_tests ================
[16:35:01] =============== xe_rtp_process_to_sr_tests ================
[16:35:01] [PASSED] coalesce-same-reg
[16:35:01] [PASSED] coalesce-same-reg-literal-and-func
[16:35:01] [PASSED] no-match-no-add
[16:35:01] [PASSED] two-regs-two-entries
[16:35:01] [PASSED] clr-one-set-other
[16:35:01] [PASSED] set-field
[16:35:01] [PASSED] conflict-duplicate
[16:35:01] [PASSED] conflict-not-disjoint
[16:35:01] [PASSED] conflict-not-disjoint-literal-and-func
[16:35:01] [PASSED] conflict-reg-type
[16:35:01] [PASSED] bad-mcr-reg-forced-to-regular
[16:35:01] [PASSED] bad-regular-reg-forced-to-mcr
[16:35:01] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[16:35:01] ================== xe_rtp_process_tests ===================
[16:35:01] [PASSED] active1
[16:35:01] [PASSED] active2
[16:35:01] [PASSED] active-inactive
[16:35:01] [PASSED] inactive-active
[16:35:01] [PASSED] inactive-active-inactive
[16:35:01] [PASSED] inactive-inactive-inactive
[16:35:01] ============== [PASSED] xe_rtp_process_tests ===============
[16:35:01] ===================== [PASSED] xe_rtp ======================
[16:35:01] ==================== xe_wa (1 subtest) =====================
[16:35:01] ======================== xe_wa_gt =========================
[16:35:01] [PASSED] TIGERLAKE B0
[16:35:01] [PASSED] DG1 A0
[16:35:01] [PASSED] DG1 B0
[16:35:01] [PASSED] ALDERLAKE_S A0
[16:35:01] [PASSED] ALDERLAKE_S B0
[16:35:01] [PASSED] ALDERLAKE_S C0
[16:35:01] [PASSED] ALDERLAKE_S D0
[16:35:01] [PASSED] ALDERLAKE_P A0
[16:35:01] [PASSED] ALDERLAKE_P B0
[16:35:01] [PASSED] ALDERLAKE_P C0
[16:35:01] [PASSED] ALDERLAKE_S RPLS D0
[16:35:01] [PASSED] ALDERLAKE_P RPLU E0
[16:35:01] [PASSED] DG2 G10 C0
[16:35:01] [PASSED] DG2 G11 B1
[16:35:01] [PASSED] DG2 G12 A1
[16:35:01] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[16:35:01] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[16:35:01] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[16:35:01] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[16:35:01] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[16:35:01] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[16:35:01] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[16:35:01] ==================== [PASSED] xe_wa_gt =====================
[16:35:01] ====================== [PASSED] xe_wa ======================
[16:35:01] ============================================================
[16:35:01] Testing complete. Ran 719 tests: passed: 701, skipped: 18
[16:35:01] Elapsed time: 36.283s total, 4.338s configuring, 31.279s building, 0.642s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[16:35:01] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:35:03] 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
[16:35:27] Starting KUnit Kernel (1/1)...
[16:35:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:35:27] ============ drm_test_pick_cmdline (2 subtests) ============
[16:35:27] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[16:35:27] =============== drm_test_pick_cmdline_named ===============
[16:35:27] [PASSED] NTSC
[16:35:27] [PASSED] NTSC-J
[16:35:27] [PASSED] PAL
[16:35:27] [PASSED] PAL-M
[16:35:27] =========== [PASSED] drm_test_pick_cmdline_named ===========
[16:35:27] ============== [PASSED] drm_test_pick_cmdline ==============
[16:35:27] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[16:35:27] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[16:35:27] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[16:35:27] =========== drm_validate_clone_mode (2 subtests) ===========
[16:35:27] ============== drm_test_check_in_clone_mode ===============
[16:35:27] [PASSED] in_clone_mode
[16:35:27] [PASSED] not_in_clone_mode
[16:35:27] ========== [PASSED] drm_test_check_in_clone_mode ===========
[16:35:27] =============== drm_test_check_valid_clones ===============
[16:35:27] [PASSED] not_in_clone_mode
[16:35:27] [PASSED] valid_clone
[16:35:27] [PASSED] invalid_clone
[16:35:27] =========== [PASSED] drm_test_check_valid_clones ===========
[16:35:27] ============= [PASSED] drm_validate_clone_mode =============
[16:35:27] ============= drm_validate_modeset (1 subtest) =============
[16:35:27] [PASSED] drm_test_check_connector_changed_modeset
[16:35:27] ============== [PASSED] drm_validate_modeset ===============
[16:35:27] ====== drm_test_bridge_get_current_state (2 subtests) ======
[16:35:27] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[16:35:27] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[16:35:27] ======== [PASSED] drm_test_bridge_get_current_state ========
[16:35:27] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ======
[16:35:27] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[16:35:27] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[16:35:27] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[16:35:27] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[16:35:27] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[16:35:27] ============== drm_bridge_alloc (2 subtests) ===============
[16:35:27] [PASSED] drm_test_drm_bridge_alloc_basic
[16:35:27] [PASSED] drm_test_drm_bridge_alloc_get_put
[16:35:27] ================ [PASSED] drm_bridge_alloc =================
[16:35:27] ============= drm_bridge_bus_fmt (5 subtests) ==============
[16:35:27] [PASSED] drm_test_bridge_rgb_yuv_rgb
[16:35:27] [PASSED] drm_test_bridge_must_convert_to_yuv444
[16:35:27] [PASSED] drm_test_bridge_hdmi_auto_rgb
[16:35:27] [PASSED] drm_test_bridge_auto_first
[16:35:27] [PASSED] drm_test_bridge_rgb_yuv_no_path
[16:35:27] =============== [PASSED] drm_bridge_bus_fmt ================
[16:35:27] ============= drm_cmdline_parser (40 subtests) =============
[16:35:27] [PASSED] drm_test_cmdline_force_d_only
[16:35:27] [PASSED] drm_test_cmdline_force_D_only_dvi
[16:35:27] [PASSED] drm_test_cmdline_force_D_only_hdmi
[16:35:27] [PASSED] drm_test_cmdline_force_D_only_not_digital
[16:35:27] [PASSED] drm_test_cmdline_force_e_only
[16:35:27] [PASSED] drm_test_cmdline_res
[16:35:27] [PASSED] drm_test_cmdline_res_vesa
[16:35:27] [PASSED] drm_test_cmdline_res_vesa_rblank
[16:35:27] [PASSED] drm_test_cmdline_res_rblank
[16:35:27] [PASSED] drm_test_cmdline_res_bpp
[16:35:27] [PASSED] drm_test_cmdline_res_refresh
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[16:35:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[16:35:27] [PASSED] drm_test_cmdline_res_margins_force_on
[16:35:27] [PASSED] drm_test_cmdline_res_vesa_margins
[16:35:27] [PASSED] drm_test_cmdline_name
[16:35:27] [PASSED] drm_test_cmdline_name_bpp
[16:35:27] [PASSED] drm_test_cmdline_name_option
[16:35:27] [PASSED] drm_test_cmdline_name_bpp_option
[16:35:27] [PASSED] drm_test_cmdline_rotate_0
[16:35:27] [PASSED] drm_test_cmdline_rotate_90
[16:35:27] [PASSED] drm_test_cmdline_rotate_180
[16:35:27] [PASSED] drm_test_cmdline_rotate_270
[16:35:27] [PASSED] drm_test_cmdline_hmirror
[16:35:27] [PASSED] drm_test_cmdline_vmirror
[16:35:27] [PASSED] drm_test_cmdline_margin_options
[16:35:27] [PASSED] drm_test_cmdline_multiple_options
[16:35:27] [PASSED] drm_test_cmdline_bpp_extra_and_option
[16:35:27] [PASSED] drm_test_cmdline_extra_and_option
[16:35:27] [PASSED] drm_test_cmdline_freestanding_options
[16:35:27] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[16:35:27] [PASSED] drm_test_cmdline_panel_orientation
[16:35:27] ================ drm_test_cmdline_invalid =================
[16:35:27] [PASSED] margin_only
[16:35:27] [PASSED] interlace_only
[16:35:27] [PASSED] res_missing_x
[16:35:27] [PASSED] res_missing_y
[16:35:27] [PASSED] res_bad_y
[16:35:27] [PASSED] res_missing_y_bpp
[16:35:27] [PASSED] res_bad_bpp
[16:35:27] [PASSED] res_bad_refresh
[16:35:27] [PASSED] res_bpp_refresh_force_on_off
[16:35:27] [PASSED] res_invalid_mode
[16:35:27] [PASSED] res_bpp_wrong_place_mode
[16:35:27] [PASSED] name_bpp_refresh
[16:35:27] [PASSED] name_refresh
[16:35:27] [PASSED] name_refresh_wrong_mode
[16:35:27] [PASSED] name_refresh_invalid_mode
[16:35:27] [PASSED] rotate_multiple
[16:35:27] [PASSED] rotate_invalid_val
[16:35:27] [PASSED] rotate_truncated
[16:35:27] [PASSED] invalid_option
[16:35:27] [PASSED] invalid_tv_option
[16:35:27] [PASSED] truncated_tv_option
[16:35:27] ============ [PASSED] drm_test_cmdline_invalid =============
[16:35:27] =============== drm_test_cmdline_tv_options ===============
[16:35:27] [PASSED] NTSC
[16:35:27] [PASSED] NTSC_443
[16:35:27] [PASSED] NTSC_J
[16:35:27] [PASSED] PAL
[16:35:27] [PASSED] PAL_M
[16:35:27] [PASSED] PAL_N
[16:35:27] [PASSED] SECAM
[16:35:27] [PASSED] MONO_525
[16:35:27] [PASSED] MONO_625
[16:35:27] =========== [PASSED] drm_test_cmdline_tv_options ===========
[16:35:27] =============== [PASSED] drm_cmdline_parser ================
[16:35:27] ========== drmm_connector_hdmi_init (20 subtests) ==========
[16:35:27] [PASSED] drm_test_connector_hdmi_init_valid
[16:35:27] [PASSED] drm_test_connector_hdmi_init_bpc_8
[16:35:27] [PASSED] drm_test_connector_hdmi_init_bpc_10
[16:35:27] [PASSED] drm_test_connector_hdmi_init_bpc_12
[16:35:27] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[16:35:27] [PASSED] drm_test_connector_hdmi_init_bpc_null
[16:35:27] [PASSED] drm_test_connector_hdmi_init_formats_empty
[16:35:27] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[16:35:27] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[16:35:27] [PASSED] supported_formats=0x9 yuv420_allowed=1
[16:35:27] [PASSED] supported_formats=0x9 yuv420_allowed=0
[16:35:27] [PASSED] supported_formats=0x5 yuv420_allowed=1
[16:35:27] [PASSED] supported_formats=0x5 yuv420_allowed=0
[16:35:27] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[16:35:27] [PASSED] drm_test_connector_hdmi_init_null_ddc
[16:35:27] [PASSED] drm_test_connector_hdmi_init_null_product
[16:35:27] [PASSED] drm_test_connector_hdmi_init_null_vendor
[16:35:27] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[16:35:27] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[16:35:27] [PASSED] drm_test_connector_hdmi_init_product_valid
[16:35:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[16:35:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[16:35:27] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[16:35:27] ========= drm_test_connector_hdmi_init_type_valid =========
[16:35:27] [PASSED] HDMI-A
[16:35:27] [PASSED] HDMI-B
[16:35:27] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[16:35:27] ======== drm_test_connector_hdmi_init_type_invalid ========
[16:35:27] [PASSED] Unknown
[16:35:27] [PASSED] VGA
[16:35:27] [PASSED] DVI-I
[16:35:27] [PASSED] DVI-D
[16:35:27] [PASSED] DVI-A
[16:35:27] [PASSED] Composite
[16:35:27] [PASSED] SVIDEO
[16:35:27] [PASSED] LVDS
[16:35:27] [PASSED] Component
[16:35:27] [PASSED] DIN
[16:35:27] [PASSED] DP
[16:35:27] [PASSED] TV
[16:35:27] [PASSED] eDP
[16:35:27] [PASSED] Virtual
[16:35:27] [PASSED] DSI
[16:35:27] [PASSED] DPI
[16:35:27] [PASSED] Writeback
[16:35:27] [PASSED] SPI
[16:35:27] [PASSED] USB
[16:35:27] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[16:35:27] ============ [PASSED] drmm_connector_hdmi_init =============
[16:35:27] ============= drmm_connector_init (3 subtests) =============
[16:35:27] [PASSED] drm_test_drmm_connector_init
[16:35:27] [PASSED] drm_test_drmm_connector_init_null_ddc
[16:35:27] ========= drm_test_drmm_connector_init_type_valid =========
[16:35:27] [PASSED] Unknown
[16:35:27] [PASSED] VGA
[16:35:27] [PASSED] DVI-I
[16:35:27] [PASSED] DVI-D
[16:35:27] [PASSED] DVI-A
[16:35:27] [PASSED] Composite
[16:35:27] [PASSED] SVIDEO
[16:35:27] [PASSED] LVDS
[16:35:27] [PASSED] Component
[16:35:27] [PASSED] DIN
[16:35:27] [PASSED] DP
[16:35:27] [PASSED] HDMI-A
[16:35:27] [PASSED] HDMI-B
[16:35:27] [PASSED] TV
[16:35:27] [PASSED] eDP
[16:35:27] [PASSED] Virtual
[16:35:27] [PASSED] DSI
[16:35:27] [PASSED] DPI
[16:35:27] [PASSED] Writeback
[16:35:27] [PASSED] SPI
[16:35:27] [PASSED] USB
[16:35:27] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[16:35:27] =============== [PASSED] drmm_connector_init ===============
[16:35:27] ========= drm_connector_dynamic_init (6 subtests) ==========
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_init
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_init_properties
[16:35:27] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[16:35:27] [PASSED] Unknown
[16:35:27] [PASSED] VGA
[16:35:27] [PASSED] DVI-I
[16:35:27] [PASSED] DVI-D
[16:35:27] [PASSED] DVI-A
[16:35:27] [PASSED] Composite
[16:35:27] [PASSED] SVIDEO
[16:35:27] [PASSED] LVDS
[16:35:27] [PASSED] Component
[16:35:27] [PASSED] DIN
[16:35:27] [PASSED] DP
[16:35:27] [PASSED] HDMI-A
[16:35:27] [PASSED] HDMI-B
[16:35:27] [PASSED] TV
[16:35:27] [PASSED] eDP
[16:35:27] [PASSED] Virtual
[16:35:27] [PASSED] DSI
[16:35:27] [PASSED] DPI
[16:35:27] [PASSED] Writeback
[16:35:27] [PASSED] SPI
[16:35:27] [PASSED] USB
[16:35:27] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[16:35:27] ======== drm_test_drm_connector_dynamic_init_name =========
[16:35:27] [PASSED] Unknown
[16:35:27] [PASSED] VGA
[16:35:27] [PASSED] DVI-I
[16:35:27] [PASSED] DVI-D
[16:35:27] [PASSED] DVI-A
[16:35:27] [PASSED] Composite
[16:35:27] [PASSED] SVIDEO
[16:35:27] [PASSED] LVDS
[16:35:27] [PASSED] Component
[16:35:27] [PASSED] DIN
[16:35:27] [PASSED] DP
[16:35:27] [PASSED] HDMI-A
[16:35:27] [PASSED] HDMI-B
[16:35:27] [PASSED] TV
[16:35:27] [PASSED] eDP
[16:35:27] [PASSED] Virtual
[16:35:27] [PASSED] DSI
[16:35:27] [PASSED] DPI
[16:35:27] [PASSED] Writeback
[16:35:27] [PASSED] SPI
[16:35:27] [PASSED] USB
[16:35:27] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[16:35:27] =========== [PASSED] drm_connector_dynamic_init ============
[16:35:27] ==== drm_connector_dynamic_register_early (4 subtests) =====
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[16:35:27] ====== [PASSED] drm_connector_dynamic_register_early =======
[16:35:27] ======= drm_connector_dynamic_register (7 subtests) ========
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[16:35:27] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[16:35:27] ========= [PASSED] drm_connector_dynamic_register ==========
[16:35:27] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[16:35:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[16:35:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[16:35:27] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[16:35:27] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[16:35:27] ========== drm_test_get_tv_mode_from_name_valid ===========
[16:35:27] [PASSED] NTSC
[16:35:27] [PASSED] NTSC-443
[16:35:27] [PASSED] NTSC-J
[16:35:27] [PASSED] PAL
[16:35:27] [PASSED] PAL-M
[16:35:27] [PASSED] PAL-N
[16:35:27] [PASSED] SECAM
[16:35:27] [PASSED] Mono
[16:35:27] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[16:35:27] [PASSED] drm_test_get_tv_mode_from_name_truncated
[16:35:27] ============ [PASSED] drm_get_tv_mode_from_name ============
[16:35:27] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[16:35:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[16:35:27] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[16:35:27] [PASSED] VIC 96
[16:35:27] [PASSED] VIC 97
[16:35:27] [PASSED] VIC 101
[16:35:27] [PASSED] VIC 102
[16:35:27] [PASSED] VIC 106
[16:35:27] [PASSED] VIC 107
[16:35:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[16:35:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[16:35:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[16:35:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[16:35:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[16:35:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[16:35:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[16:35:27] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[16:35:27] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[16:35:27] [PASSED] Automatic
[16:35:27] [PASSED] Full
[16:35:27] [PASSED] Limited 16:235
[16:35:27] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[16:35:27] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[16:35:27] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[16:35:27] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[16:35:27] === drm_test_drm_hdmi_connector_get_output_format_name ====
[16:35:27] [PASSED] RGB
[16:35:27] [PASSED] YUV 4:2:0
[16:35:27] [PASSED] YUV 4:2:2
[16:35:27] [PASSED] YUV 4:4:4
[16:35:27] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[16:35:27] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[16:35:27] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[16:35:27] ============= drm_damage_helper (21 subtests) ==============
[16:35:27] [PASSED] drm_test_damage_iter_no_damage
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_src_moved
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_not_visible
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[16:35:27] [PASSED] drm_test_damage_iter_no_damage_no_fb
[16:35:27] [PASSED] drm_test_damage_iter_simple_damage
[16:35:27] [PASSED] drm_test_damage_iter_single_damage
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_outside_src
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_src_moved
[16:35:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[16:35:27] [PASSED] drm_test_damage_iter_damage
[16:35:27] [PASSED] drm_test_damage_iter_damage_one_intersect
[16:35:27] [PASSED] drm_test_damage_iter_damage_one_outside
[16:35:27] [PASSED] drm_test_damage_iter_damage_src_moved
[16:35:27] [PASSED] drm_test_damage_iter_damage_not_visible
[16:35:27] ================ [PASSED] drm_damage_helper ================
[16:35:27] ============== drm_dp_mst_helper (3 subtests) ==============
[16:35:27] ============== drm_test_dp_mst_calc_pbn_mode ==============
[16:35:27] [PASSED] Clock 154000 BPP 30 DSC disabled
[16:35:27] [PASSED] Clock 234000 BPP 30 DSC disabled
[16:35:27] [PASSED] Clock 297000 BPP 24 DSC disabled
[16:35:27] [PASSED] Clock 332880 BPP 24 DSC enabled
[16:35:27] [PASSED] Clock 324540 BPP 24 DSC enabled
[16:35:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[16:35:27] ============== drm_test_dp_mst_calc_pbn_div ===============
[16:35:27] [PASSED] Link rate 2000000 lane count 4
[16:35:27] [PASSED] Link rate 2000000 lane count 2
[16:35:27] [PASSED] Link rate 2000000 lane count 1
[16:35:27] [PASSED] Link rate 1350000 lane count 4
[16:35:27] [PASSED] Link rate 1350000 lane count 2
[16:35:27] [PASSED] Link rate 1350000 lane count 1
[16:35:27] [PASSED] Link rate 1000000 lane count 4
[16:35:27] [PASSED] Link rate 1000000 lane count 2
[16:35:27] [PASSED] Link rate 1000000 lane count 1
[16:35:27] [PASSED] Link rate 810000 lane count 4
[16:35:27] [PASSED] Link rate 810000 lane count 2
[16:35:27] [PASSED] Link rate 810000 lane count 1
[16:35:27] [PASSED] Link rate 540000 lane count 4
[16:35:27] [PASSED] Link rate 540000 lane count 2
[16:35:27] [PASSED] Link rate 540000 lane count 1
[16:35:27] [PASSED] Link rate 270000 lane count 4
[16:35:27] [PASSED] Link rate 270000 lane count 2
[16:35:27] [PASSED] Link rate 270000 lane count 1
[16:35:27] [PASSED] Link rate 162000 lane count 4
[16:35:27] [PASSED] Link rate 162000 lane count 2
[16:35:27] [PASSED] Link rate 162000 lane count 1
[16:35:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[16:35:27] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[16:35:27] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[16:35:27] [PASSED] DP_POWER_UP_PHY with port number
[16:35:27] [PASSED] DP_POWER_DOWN_PHY with port number
[16:35:27] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[16:35:27] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[16:35:27] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[16:35:27] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[16:35:27] [PASSED] DP_QUERY_PAYLOAD with port number
[16:35:27] [PASSED] DP_QUERY_PAYLOAD with VCPI
[16:35:27] [PASSED] DP_REMOTE_DPCD_READ with port number
[16:35:27] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[16:35:27] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[16:35:27] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[16:35:27] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[16:35:27] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[16:35:27] [PASSED] DP_REMOTE_I2C_READ with port number
[16:35:27] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[16:35:27] [PASSED] DP_REMOTE_I2C_READ with transactions array
[16:35:27] [PASSED] DP_REMOTE_I2C_WRITE with port number
[16:35:27] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[16:35:27] [PASSED] DP_REMOTE_I2C_WRITE with data array
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[16:35:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[16:35:27] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[16:35:27] ================ [PASSED] drm_dp_mst_helper ================
[16:35:27] ================== drm_exec (7 subtests) ===================
[16:35:27] [PASSED] sanitycheck
[16:35:27] [PASSED] test_lock
[16:35:27] [PASSED] test_lock_unlock
[16:35:27] [PASSED] test_duplicates
[16:35:27] [PASSED] test_prepare
[16:35:27] [PASSED] test_prepare_array
[16:35:27] [PASSED] test_multiple_loops
[16:35:27] ==================== [PASSED] drm_exec =====================
[16:35:27] =========== drm_format_helper_test (17 subtests) ===========
[16:35:27] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[16:35:27] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[16:35:27] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[16:35:27] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[16:35:27] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[16:35:27] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[16:35:27] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[16:35:27] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[16:35:27] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[16:35:27] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[16:35:27] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[16:35:27] ============== drm_test_fb_xrgb8888_to_mono ===============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[16:35:27] ==================== drm_test_fb_swab =====================
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ================ [PASSED] drm_test_fb_swab =================
[16:35:27] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[16:35:27] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[16:35:27] [PASSED] single_pixel_source_buffer
[16:35:27] [PASSED] single_pixel_clip_rectangle
[16:35:27] [PASSED] well_known_colors
[16:35:27] [PASSED] destination_pitch
[16:35:27] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[16:35:27] ================= drm_test_fb_clip_offset =================
[16:35:27] [PASSED] pass through
[16:35:27] [PASSED] horizontal offset
[16:35:27] [PASSED] vertical offset
[16:35:27] [PASSED] horizontal and vertical offset
[16:35:27] [PASSED] horizontal offset (custom pitch)
[16:35:27] [PASSED] vertical offset (custom pitch)
[16:35:27] [PASSED] horizontal and vertical offset (custom pitch)
[16:35:27] ============= [PASSED] drm_test_fb_clip_offset =============
[16:35:27] =================== drm_test_fb_memcpy ====================
[16:35:27] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[16:35:27] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[16:35:27] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[16:35:27] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[16:35:27] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[16:35:27] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[16:35:27] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[16:35:27] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[16:35:27] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[16:35:27] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[16:35:27] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[16:35:27] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[16:35:27] =============== [PASSED] drm_test_fb_memcpy ================
[16:35:27] ============= [PASSED] drm_format_helper_test ==============
[16:35:27] ================= drm_format (18 subtests) =================
[16:35:27] [PASSED] drm_test_format_block_width_invalid
[16:35:27] [PASSED] drm_test_format_block_width_one_plane
[16:35:27] [PASSED] drm_test_format_block_width_two_plane
[16:35:27] [PASSED] drm_test_format_block_width_three_plane
[16:35:27] [PASSED] drm_test_format_block_width_tiled
[16:35:27] [PASSED] drm_test_format_block_height_invalid
[16:35:27] [PASSED] drm_test_format_block_height_one_plane
[16:35:27] [PASSED] drm_test_format_block_height_two_plane
[16:35:27] [PASSED] drm_test_format_block_height_three_plane
[16:35:27] [PASSED] drm_test_format_block_height_tiled
[16:35:27] [PASSED] drm_test_format_min_pitch_invalid
[16:35:27] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[16:35:27] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[16:35:27] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[16:35:27] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[16:35:27] [PASSED] drm_test_format_min_pitch_two_plane
[16:35:27] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[16:35:27] [PASSED] drm_test_format_min_pitch_tiled
[16:35:27] =================== [PASSED] drm_format ====================
[16:35:27] ============== drm_framebuffer (10 subtests) ===============
[16:35:27] ========== drm_test_framebuffer_check_src_coords ==========
[16:35:27] [PASSED] Success: source fits into fb
[16:35:27] [PASSED] Fail: overflowing fb with x-axis coordinate
[16:35:27] [PASSED] Fail: overflowing fb with y-axis coordinate
[16:35:27] [PASSED] Fail: overflowing fb with source width
[16:35:27] [PASSED] Fail: overflowing fb with source height
[16:35:27] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[16:35:27] [PASSED] drm_test_framebuffer_cleanup
[16:35:27] =============== drm_test_framebuffer_create ===============
[16:35:27] [PASSED] ABGR8888 normal sizes
[16:35:27] [PASSED] ABGR8888 max sizes
[16:35:27] [PASSED] ABGR8888 pitch greater than min required
[16:35:27] [PASSED] ABGR8888 pitch less than min required
[16:35:27] [PASSED] ABGR8888 Invalid width
[16:35:27] [PASSED] ABGR8888 Invalid buffer handle
[16:35:27] [PASSED] No pixel format
[16:35:27] [PASSED] ABGR8888 Width 0
[16:35:27] [PASSED] ABGR8888 Height 0
[16:35:27] [PASSED] ABGR8888 Out of bound height * pitch combination
[16:35:27] [PASSED] ABGR8888 Large buffer offset
[16:35:27] [PASSED] ABGR8888 Buffer offset for inexistent plane
[16:35:27] [PASSED] ABGR8888 Invalid flag
[16:35:27] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[16:35:27] [PASSED] ABGR8888 Valid buffer modifier
[16:35:27] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[16:35:27] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] NV12 Normal sizes
[16:35:27] [PASSED] NV12 Max sizes
[16:35:27] [PASSED] NV12 Invalid pitch
[16:35:27] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[16:35:27] [PASSED] NV12 different modifier per-plane
[16:35:27] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[16:35:27] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] NV12 Modifier for inexistent plane
[16:35:27] [PASSED] NV12 Handle for inexistent plane
[16:35:27] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[16:35:27] [PASSED] YVU420 Normal sizes
[16:35:27] [PASSED] YVU420 Max sizes
[16:35:27] [PASSED] YVU420 Invalid pitch
[16:35:27] [PASSED] YVU420 Different pitches
[16:35:27] [PASSED] YVU420 Different buffer offsets/pitches
[16:35:27] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[16:35:27] [PASSED] YVU420 Valid modifier
[16:35:27] [PASSED] YVU420 Different modifiers per plane
[16:35:27] [PASSED] YVU420 Modifier for inexistent plane
[16:35:27] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[16:35:27] [PASSED] X0L2 Normal sizes
[16:35:27] [PASSED] X0L2 Max sizes
[16:35:27] [PASSED] X0L2 Invalid pitch
[16:35:27] [PASSED] X0L2 Pitch greater than minimum required
[16:35:27] [PASSED] X0L2 Handle for inexistent plane
[16:35:27] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[16:35:27] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[16:35:27] [PASSED] X0L2 Valid modifier
[16:35:27] [PASSED] X0L2 Modifier for inexistent plane
[16:35:27] =========== [PASSED] drm_test_framebuffer_create ===========
[16:35:27] [PASSED] drm_test_framebuffer_free
[16:35:27] [PASSED] drm_test_framebuffer_init
[16:35:27] [PASSED] drm_test_framebuffer_init_bad_format
[16:35:27] [PASSED] drm_test_framebuffer_init_dev_mismatch
[16:35:27] [PASSED] drm_test_framebuffer_lookup
[16:35:27] [PASSED] drm_test_framebuffer_lookup_inexistent
[16:35:27] [PASSED] drm_test_framebuffer_modifiers_not_supported
[16:35:27] ================= [PASSED] drm_framebuffer =================
[16:35:27] ================ drm_gem_shmem (8 subtests) ================
[16:35:27] [PASSED] drm_gem_shmem_test_obj_create
[16:35:27] [PASSED] drm_gem_shmem_test_obj_create_private
[16:35:27] [PASSED] drm_gem_shmem_test_pin_pages
[16:35:27] [PASSED] drm_gem_shmem_test_vmap
[16:35:27] [PASSED] drm_gem_shmem_test_get_sg_table
[16:35:27] [PASSED] drm_gem_shmem_test_get_pages_sgt
[16:35:27] [PASSED] drm_gem_shmem_test_madvise
[16:35:27] [PASSED] drm_gem_shmem_test_purge
[16:35:27] ================== [PASSED] drm_gem_shmem ==================
[16:35:27] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[16:35:27] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[16:35:27] [PASSED] Automatic
[16:35:27] [PASSED] Full
[16:35:27] [PASSED] Limited 16:235
[16:35:27] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[16:35:27] [PASSED] drm_test_check_disable_connector
[16:35:27] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[16:35:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[16:35:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[16:35:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[16:35:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[16:35:27] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[16:35:27] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[16:35:27] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[16:35:27] [PASSED] drm_test_check_output_bpc_dvi
[16:35:27] [PASSED] drm_test_check_output_bpc_format_vic_1
[16:35:27] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[16:35:27] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[16:35:27] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[16:35:27] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[16:35:27] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[16:35:27] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[16:35:27] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[16:35:27] ============ drm_test_check_hdmi_color_format =============
[16:35:27] [PASSED] AUTO -> RGB
[16:35:27] [PASSED] YCBCR422 -> YUV422
[16:35:27] [PASSED] YCBCR420 -> YUV420
[16:35:27] [PASSED] YCBCR444 -> YUV444
[16:35:27] [PASSED] RGB -> RGB
[16:35:27] ======== [PASSED] drm_test_check_hdmi_color_format =========
[16:35:27] ======== drm_test_check_hdmi_color_format_420_only ========
[16:35:27] [PASSED] RGB should fail
[16:35:27] [PASSED] YUV444 should fail
[16:35:27] [PASSED] YUV422 should fail
[16:35:27] [PASSED] YUV420 should work
[16:35:27] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[16:35:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[16:35:27] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[16:35:27] [PASSED] drm_test_check_broadcast_rgb_value
[16:35:27] [PASSED] drm_test_check_bpc_8_value
[16:35:27] [PASSED] drm_test_check_bpc_10_value
[16:35:27] [PASSED] drm_test_check_bpc_12_value
[16:35:27] [PASSED] drm_test_check_format_value
[16:35:27] [PASSED] drm_test_check_tmds_char_value
[16:35:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[16:35:27] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[16:35:27] [PASSED] drm_test_check_mode_valid
[16:35:27] [PASSED] drm_test_check_mode_valid_reject
[16:35:27] [PASSED] drm_test_check_mode_valid_reject_rate
[16:35:27] [PASSED] drm_test_check_mode_valid_reject_max_clock
[16:35:27] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[16:35:27] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[16:35:27] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[16:35:27] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[16:35:27] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[16:35:27] [PASSED] drm_test_check_infoframes
[16:35:27] [PASSED] drm_test_check_reject_avi_infoframe
[16:35:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[16:35:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[16:35:27] [PASSED] drm_test_check_reject_audio_infoframe
[16:35:27] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[16:35:27] ================= drm_managed (2 subtests) =================
[16:35:27] [PASSED] drm_test_managed_release_action
[16:35:27] [PASSED] drm_test_managed_run_action
[16:35:27] =================== [PASSED] drm_managed ===================
[16:35:27] =================== drm_mm (6 subtests) ====================
[16:35:27] [PASSED] drm_test_mm_init
[16:35:27] [PASSED] drm_test_mm_debug
[16:35:27] [PASSED] drm_test_mm_align32
[16:35:27] [PASSED] drm_test_mm_align64
[16:35:27] [PASSED] drm_test_mm_lowest
[16:35:27] [PASSED] drm_test_mm_highest
[16:35:27] ===================== [PASSED] drm_mm ======================
[16:35:27] ============= drm_modes_analog_tv (5 subtests) =============
[16:35:27] [PASSED] drm_test_modes_analog_tv_mono_576i
[16:35:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[16:35:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[16:35:27] [PASSED] drm_test_modes_analog_tv_pal_576i
[16:35:27] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[16:35:27] =============== [PASSED] drm_modes_analog_tv ===============
[16:35:27] ============== drm_plane_helper (2 subtests) ===============
[16:35:27] =============== drm_test_check_plane_state ================
[16:35:27] [PASSED] clipping_simple
[16:35:27] [PASSED] clipping_rotate_reflect
[16:35:27] [PASSED] positioning_simple
[16:35:27] [PASSED] upscaling
[16:35:27] [PASSED] downscaling
[16:35:27] [PASSED] rounding1
[16:35:27] [PASSED] rounding2
[16:35:27] [PASSED] rounding3
[16:35:27] [PASSED] rounding4
[16:35:27] =========== [PASSED] drm_test_check_plane_state ============
[16:35:27] =========== drm_test_check_invalid_plane_state ============
[16:35:27] [PASSED] positioning_invalid
[16:35:27] [PASSED] upscaling_invalid
[16:35:27] [PASSED] downscaling_invalid
[16:35:27] ======= [PASSED] drm_test_check_invalid_plane_state ========
[16:35:27] ================ [PASSED] drm_plane_helper =================
[16:35:27] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[16:35:27] ====== drm_test_connector_helper_tv_get_modes_check =======
[16:35:27] [PASSED] None
[16:35:27] [PASSED] PAL
[16:35:27] [PASSED] NTSC
[16:35:27] [PASSED] Both, NTSC Default
[16:35:27] [PASSED] Both, PAL Default
[16:35:27] [PASSED] Both, NTSC Default, with PAL on command-line
[16:35:27] [PASSED] Both, PAL Default, with NTSC on command-line
[16:35:27] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[16:35:27] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[16:35:27] ================== drm_rect (9 subtests) ===================
[16:35:27] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[16:35:27] [PASSED] drm_test_rect_clip_scaled_not_clipped
[16:35:27] [PASSED] drm_test_rect_clip_scaled_clipped
[16:35:27] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[16:35:27] ================= drm_test_rect_intersect =================
[16:35:27] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[16:35:27] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[16:35:27] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[16:35:27] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[16:35:27] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[16:35:27] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[16:35:27] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[16:35:27] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[16:35:27] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[16:35:27] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[16:35:27] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[16:35:27] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[16:35:27] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[16:35:27] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[16:35:27] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[16:35:27] ============= [PASSED] drm_test_rect_intersect =============
[16:35:27] ================ drm_test_rect_calc_hscale ================
[16:35:27] [PASSED] normal use
[16:35:27] [PASSED] out of max range
[16:35:27] [PASSED] out of min range
[16:35:27] [PASSED] zero dst
[16:35:27] [PASSED] negative src
[16:35:27] [PASSED] negative dst
[16:35:27] ============ [PASSED] drm_test_rect_calc_hscale ============
[16:35:27] ================ drm_test_rect_calc_vscale ================
[16:35:27] [PASSED] normal use
[16:35:27] [PASSED] out of max range
[16:35:27] [PASSED] out of min range
[16:35:27] [PASSED] zero dst
[16:35:27] [PASSED] negative src
[16:35:27] [PASSED] negative dst
[16:35:27] ============ [PASSED] drm_test_rect_calc_vscale ============
[16:35:27] ================== drm_test_rect_rotate ===================
[16:35:27] [PASSED] reflect-x
[16:35:27] [PASSED] reflect-y
[16:35:27] [PASSED] rotate-0
[16:35:27] [PASSED] rotate-90
[16:35:27] [PASSED] rotate-180
[16:35:27] [PASSED] rotate-270
[16:35:27] ============== [PASSED] drm_test_rect_rotate ===============
[16:35:27] ================ drm_test_rect_rotate_inv =================
[16:35:27] [PASSED] reflect-x
[16:35:27] [PASSED] reflect-y
[16:35:27] [PASSED] rotate-0
[16:35:27] [PASSED] rotate-90
[16:35:27] [PASSED] rotate-180
[16:35:27] [PASSED] rotate-270
[16:35:27] ============ [PASSED] drm_test_rect_rotate_inv =============
[16:35:27] ==================== [PASSED] drm_rect =====================
[16:35:27] ============ drm_sysfb_modeset_test (1 subtest) ============
[16:35:27] ============ drm_test_sysfb_build_fourcc_list =============
[16:35:27] [PASSED] no native formats
[16:35:27] [PASSED] XRGB8888 as native format
[16:35:27] [PASSED] remove duplicates
[16:35:27] [PASSED] convert alpha formats
[16:35:27] [PASSED] random formats
[16:35:27] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[16:35:27] ============= [PASSED] drm_sysfb_modeset_test ==============
[16:35:27] ================== drm_fixp (2 subtests) ===================
[16:35:27] [PASSED] drm_test_int2fixp
[16:35:27] [PASSED] drm_test_sm2fixp
[16:35:27] ==================== [PASSED] drm_fixp =====================
[16:35:27] ============================================================
[16:35:27] Testing complete. Ran 639 tests: passed: 639
[16:35:27] Elapsed time: 26.124s total, 1.704s configuring, 24.250s building, 0.151s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[16:35:27] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:35:29] 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
[16:35:38] Starting KUnit Kernel (1/1)...
[16:35:38] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[16:35:38] ================= ttm_device (5 subtests) ==================
[16:35:38] [PASSED] ttm_device_init_basic
[16:35:38] [PASSED] ttm_device_init_multiple
[16:35:38] [PASSED] ttm_device_fini_basic
[16:35:38] [PASSED] ttm_device_init_no_vma_man
[16:35:38] ================== ttm_device_init_pools ==================
[16:35:38] [PASSED] No DMA allocations, no DMA32 required
[16:35:38] [PASSED] DMA allocations, DMA32 required
[16:35:39] [PASSED] No DMA allocations, DMA32 required
[16:35:39] [PASSED] DMA allocations, no DMA32 required
[16:35:39] ============== [PASSED] ttm_device_init_pools ==============
[16:35:39] =================== [PASSED] ttm_device ====================
[16:35:39] ================== ttm_pool (8 subtests) ===================
[16:35:39] ================== ttm_pool_alloc_basic ===================
[16:35:39] [PASSED] One page
[16:35:39] [PASSED] More than one page
[16:35:39] [PASSED] Above the allocation limit
[16:35:39] [PASSED] One page, with coherent DMA mappings enabled
[16:35:39] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[16:35:39] ============== [PASSED] ttm_pool_alloc_basic ===============
[16:35:39] ============== ttm_pool_alloc_basic_dma_addr ==============
[16:35:39] [PASSED] One page
[16:35:39] [PASSED] More than one page
[16:35:39] [PASSED] Above the allocation limit
[16:35:39] [PASSED] One page, with coherent DMA mappings enabled
[16:35:39] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[16:35:39] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[16:35:39] [PASSED] ttm_pool_alloc_order_caching_match
[16:35:39] [PASSED] ttm_pool_alloc_caching_mismatch
[16:35:39] [PASSED] ttm_pool_alloc_order_mismatch
[16:35:39] [PASSED] ttm_pool_free_dma_alloc
[16:35:39] [PASSED] ttm_pool_free_no_dma_alloc
[16:35:39] [PASSED] ttm_pool_fini_basic
[16:35:39] ==================== [PASSED] ttm_pool =====================
[16:35:39] ================ ttm_resource (8 subtests) =================
[16:35:39] ================= ttm_resource_init_basic =================
[16:35:39] [PASSED] Init resource in TTM_PL_SYSTEM
[16:35:39] [PASSED] Init resource in TTM_PL_VRAM
[16:35:39] [PASSED] Init resource in a private placement
[16:35:39] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[16:35:39] ============= [PASSED] ttm_resource_init_basic =============
[16:35:39] [PASSED] ttm_resource_init_pinned
[16:35:39] [PASSED] ttm_resource_fini_basic
[16:35:39] [PASSED] ttm_resource_manager_init_basic
[16:35:39] [PASSED] ttm_resource_manager_usage_basic
[16:35:39] [PASSED] ttm_resource_manager_set_used_basic
[16:35:39] [PASSED] ttm_sys_man_alloc_basic
[16:35:39] [PASSED] ttm_sys_man_free_basic
[16:35:39] ================== [PASSED] ttm_resource ===================
[16:35:39] =================== ttm_tt (15 subtests) ===================
[16:35:39] ==================== ttm_tt_init_basic ====================
[16:35:39] [PASSED] Page-aligned size
[16:35:39] [PASSED] Extra pages requested
[16:35:39] ================ [PASSED] ttm_tt_init_basic ================
[16:35:39] [PASSED] ttm_tt_init_misaligned
[16:35:39] [PASSED] ttm_tt_fini_basic
[16:35:39] [PASSED] ttm_tt_fini_sg
[16:35:39] [PASSED] ttm_tt_fini_shmem
[16:35:39] [PASSED] ttm_tt_create_basic
[16:35:39] [PASSED] ttm_tt_create_invalid_bo_type
[16:35:39] [PASSED] ttm_tt_create_ttm_exists
[16:35:39] [PASSED] ttm_tt_create_failed
[16:35:39] [PASSED] ttm_tt_destroy_basic
[16:35:39] [PASSED] ttm_tt_populate_null_ttm
[16:35:39] [PASSED] ttm_tt_populate_populated_ttm
[16:35:39] [PASSED] ttm_tt_unpopulate_basic
[16:35:39] [PASSED] ttm_tt_unpopulate_empty_ttm
[16:35:39] [PASSED] ttm_tt_swapin_basic
[16:35:39] ===================== [PASSED] ttm_tt ======================
[16:35:39] =================== ttm_bo (14 subtests) ===================
[16:35:39] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[16:35:39] [PASSED] Cannot be interrupted and sleeps
[16:35:39] [PASSED] Cannot be interrupted, locks straight away
[16:35:39] [PASSED] Can be interrupted, sleeps
[16:35:39] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[16:35:39] [PASSED] ttm_bo_reserve_locked_no_sleep
[16:35:39] [PASSED] ttm_bo_reserve_no_wait_ticket
[16:35:39] [PASSED] ttm_bo_reserve_double_resv
[16:35:39] [PASSED] ttm_bo_reserve_interrupted
[16:35:39] [PASSED] ttm_bo_reserve_deadlock
[16:35:39] [PASSED] ttm_bo_unreserve_basic
[16:35:39] [PASSED] ttm_bo_unreserve_pinned
[16:35:39] [PASSED] ttm_bo_unreserve_bulk
[16:35:39] [PASSED] ttm_bo_fini_basic
[16:35:39] [PASSED] ttm_bo_fini_shared_resv
[16:35:39] [PASSED] ttm_bo_pin_basic
[16:35:39] [PASSED] ttm_bo_pin_unpin_resource
[16:35:39] [PASSED] ttm_bo_multiple_pin_one_unpin
[16:35:39] ===================== [PASSED] ttm_bo ======================
[16:35:39] ============== ttm_bo_validate (22 subtests) ===============
[16:35:39] ============== ttm_bo_init_reserved_sys_man ===============
[16:35:39] [PASSED] Buffer object for userspace
[16:35:39] [PASSED] Kernel buffer object
[16:35:39] [PASSED] Shared buffer object
[16:35:39] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[16:35:39] ============== ttm_bo_init_reserved_mock_man ==============
[16:35:39] [PASSED] Buffer object for userspace
[16:35:39] [PASSED] Kernel buffer object
[16:35:39] [PASSED] Shared buffer object
[16:35:39] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[16:35:39] [PASSED] ttm_bo_init_reserved_resv
[16:35:39] ================== ttm_bo_validate_basic ==================
[16:35:39] [PASSED] Buffer object for userspace
[16:35:39] [PASSED] Kernel buffer object
[16:35:39] [PASSED] Shared buffer object
[16:35:39] ============== [PASSED] ttm_bo_validate_basic ==============
[16:35:39] [PASSED] ttm_bo_validate_invalid_placement
[16:35:39] ============= ttm_bo_validate_same_placement ==============
[16:35:39] [PASSED] System manager
[16:35:39] [PASSED] VRAM manager
[16:35:39] ========= [PASSED] ttm_bo_validate_same_placement ==========
[16:35:39] [PASSED] ttm_bo_validate_failed_alloc
[16:35:39] [PASSED] ttm_bo_validate_pinned
[16:35:39] [PASSED] ttm_bo_validate_busy_placement
[16:35:39] ================ ttm_bo_validate_multihop =================
[16:35:39] [PASSED] Buffer object for userspace
[16:35:39] [PASSED] Kernel buffer object
[16:35:39] [PASSED] Shared buffer object
[16:35:39] ============ [PASSED] ttm_bo_validate_multihop =============
[16:35:39] ========== ttm_bo_validate_no_placement_signaled ==========
[16:35:39] [PASSED] Buffer object in system domain, no page vector
[16:35:39] [PASSED] Buffer object in system domain with an existing page vector
[16:35:39] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[16:35:39] ======== ttm_bo_validate_no_placement_not_signaled ========
[16:35:39] [PASSED] Buffer object for userspace
[16:35:39] [PASSED] Kernel buffer object
[16:35:39] [PASSED] Shared buffer object
[16:35:39] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[16:35:39] [PASSED] ttm_bo_validate_move_fence_signaled
[16:35:39] ========= ttm_bo_validate_move_fence_not_signaled =========
[16:35:39] [PASSED] Waits for GPU
[16:35:39] [PASSED] Tries to lock straight away
[16:35:39] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[16:35:39] [PASSED] ttm_bo_validate_swapout
[16:35:39] [PASSED] ttm_bo_validate_happy_evict
[16:35:39] [PASSED] ttm_bo_validate_all_pinned_evict
[16:35:39] [PASSED] ttm_bo_validate_allowed_only_evict
[16:35:39] [PASSED] ttm_bo_validate_deleted_evict
[16:35:39] [PASSED] ttm_bo_validate_busy_domain_evict
[16:35:39] [PASSED] ttm_bo_validate_evict_gutting
[16:35:39] [PASSED] ttm_bo_validate_recrusive_evict
[16:35:39] ================= [PASSED] ttm_bo_validate =================
[16:35:39] ============================================================
[16:35:39] Testing complete. Ran 102 tests: passed: 102
[16:35:39] Elapsed time: 11.500s total, 1.754s configuring, 9.531s building, 0.176s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✓ Xe.CI.BAT: success for drm/xe/i2c: alerts and controller enabling modifications
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
` (3 preceding siblings ...)
2026-06-22 16:35 ` ✓ CI.KUnit: success " Patchwork
@ 2026-06-22 17:36 ` Patchwork
2026-06-22 20:38 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-23 10:15 ` [PATCH v1 0/2] " Heikki Krogerus
6 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-06-22 17:36 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
== Series Details ==
Series: drm/xe/i2c: alerts and controller enabling modifications
URL : https://patchwork.freedesktop.org/series/168930/
State : success
== Summary ==
CI Bug Log - changes from xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798_BAT -> xe-pw-168930v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_8976 -> IGT_8977
* Linux: xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798 -> xe-pw-168930v1
IGT_8976: 8976
IGT_8977: c8bdb0bc2140e337e1d79969430c3d7a5c088c9e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798: 6583dd200482a34bb17e5dc54551f91f53b79798
xe-pw-168930v1: 168930v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/index.html
[-- Attachment #2: Type: text/html, Size: 1579 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✗ Xe.CI.FULL: failure for drm/xe/i2c: alerts and controller enabling modifications
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
` (4 preceding siblings ...)
2026-06-22 17:36 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-06-22 20:38 ` Patchwork
2026-06-23 10:15 ` [PATCH v1 0/2] " Heikki Krogerus
6 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-06-22 20:38 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 21419 bytes --]
== Series Details ==
Series: drm/xe/i2c: alerts and controller enabling modifications
URL : https://patchwork.freedesktop.org/series/168930/
State : failure
== Summary ==
CI Bug Log - changes from xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798_FULL -> xe-pw-168930v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-168930v1_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-168930v1_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-168930v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_oa@polling:
- shard-bmg: [PASS][1] -> [FAIL][2] +1 other test fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-4/igt@xe_oa@polling.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-5/igt@xe_oa@polling.html
Known issues
------------
Here are the changes found in xe-pw-168930v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1124])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-7/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-3/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
* igt@kms_bw@linear-tiling-1-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#367]) +1 other test skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-9/igt@kms_bw@linear-tiling-1-displays-target-3840x2160p.html
* igt@kms_ccs@bad-pixel-format-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2887]) +6 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-5/igt@kms_ccs@bad-pixel-format-4-tiled-dg2-mc-ccs.html
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#2887])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-4/igt@kms_ccs@bad-pixel-format-4-tiled-dg2-mc-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][8] -> [INCOMPLETE][9] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-7/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_chamelium_color@ctm-blue-to-red:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2325] / [Intel XE#7358])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_chamelium_color@ctm-blue-to-red.html
* igt@kms_chamelium_frames@dp-crc-multiple:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2252]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_chamelium_frames@dp-crc-multiple.html
* igt@kms_cursor_crc@cursor-offscreen-256x85:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2320])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-6/igt@kms_cursor_crc@cursor-offscreen-256x85.html
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2321] / [Intel XE#7355])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-1/igt@kms_cursor_crc@cursor-onscreen-512x170.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [PASS][14] -> [FAIL][15] ([Intel XE#7571])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2286] / [Intel XE#6035])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-9/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html
* igt@kms_dsc@dsc-basic-ultrajoiner:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#8265]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-9/igt@kms_dsc@dsc-basic-ultrajoiner.html
* igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2311]) +17 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-10/igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-blt.html
* igt@kms_frontbuffer_tracking@drrshdr-rgb565-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#6312])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-7/igt@kms_frontbuffer_tracking@drrshdr-rgb565-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#4141]) +4 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#7061] / [Intel XE#7356])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-shrfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2313]) +11 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#7061]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-blt.html
* igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [PASS][24] -> [SKIP][25] ([Intel XE#7915]) +5 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-1/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#6911] / [Intel XE#7466])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_joiner@basic-force-ultra-joiner.html
* igt@kms_panel_fitting@atomic-fastset:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#2486])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-6/igt@kms_panel_fitting@atomic-fastset.html
* igt@kms_plane@pixel-format-yf-tiled-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7283]) +2 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_plane@pixel-format-yf-tiled-ccs-modifier-source-clamping.html
* igt@kms_pm_rpm@dpms-mode-unset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#1439] / [Intel XE#7402] / [Intel XE#836])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-9/igt@kms_pm_rpm@dpms-mode-unset-lpsp.html
* igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#1489]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf.html
* igt@kms_psr@psr-basic:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-1/igt@kms_psr@psr-basic.html
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2330] / [Intel XE#5813])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-3/igt@kms_rotation_crc@primary-y-tiled-reflect-x-0.html
* igt@kms_sharpness_filter@filter-basic:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#6503])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-4/igt@kms_sharpness_filter@filter-basic.html
* igt@kms_vrr@seamless-rr-switch-vrr:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#1499])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_vrr@seamless-rr-switch-vrr.html
* igt@xe_eudebug@basic-exec-queues:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7636]) +3 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-10/igt@xe_eudebug@basic-exec-queues.html
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#7636])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-2/igt@xe_eudebug@basic-exec-queues.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][37] -> [INCOMPLETE][38] ([Intel XE#6321] / [Intel XE#8355])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-3/igt@xe_evict@evict-mixed-many-threads-small.html
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-5/igt@xe_evict@evict-mixed-many-threads-small.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-bind:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-1/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null-defer-bind.html
* igt@xe_exec_fault_mode@many-multi-queue-rebind:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#8374]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@xe_exec_fault_mode@many-multi-queue-rebind.html
* igt@xe_exec_multi_queue@many-queues-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#8364]) +9 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-8/igt@xe_exec_multi_queue@many-queues-priority-smem.html
* igt@xe_exec_multi_queue@one-queue-preempt-mode-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#8364]) +1 other test skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-2/igt@xe_exec_multi_queue@one-queue-preempt-mode-userptr-invalidate.html
* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#8378]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind.html
* igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#6281] / [Intel XE#7426])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-9/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
* igt@xe_query@multigpu-query-config:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#944])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@xe_query@multigpu-query-config.html
* igt@xe_sriov_flr@flr-vf1-clear:
- shard-bmg: [PASS][46] -> [FAIL][47] ([Intel XE#6569])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-10/igt@xe_sriov_flr@flr-vf1-clear.html
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@xe_sriov_flr@flr-vf1-clear.html
#### Possible fixes ####
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [FAIL][48] ([Intel XE#301]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][50] ([Intel XE#7915]) -> [PASS][51] +1 other test pass
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-2/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-4/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][52] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-8/igt@xe_evict@evict-beng-mixed-many-threads-small.html
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-7/igt@xe_evict@evict-beng-mixed-many-threads-small.html
* igt@xe_sriov_vram@vf-access-provisioned:
- shard-bmg: [FAIL][54] ([Intel XE#7992]) -> [PASS][55] +1 other test pass
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-8/igt@xe_sriov_vram@vf-access-provisioned.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-6/igt@xe_sriov_vram@vf-access-provisioned.html
* igt@xe_vm@large-userptr-binds-16777216:
- shard-lnl: [ABORT][56] ([Intel XE#8007]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-lnl-5/igt@xe_vm@large-userptr-binds-16777216.html
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-8/igt@xe_vm@large-userptr-binds-16777216.html
#### Warnings ####
* igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-pri-shrfb-draw-blt:
- shard-lnl: [SKIP][58] ([Intel XE#7905]) -> [ABORT][59] ([Intel XE#8007])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-lnl-2/igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-pri-shrfb-draw-blt.html
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-lnl-6/igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-pri-shrfb-draw-blt.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][60] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][61] ([Intel XE#2426] / [Intel XE#5848])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-2/igt@kms_tiled_display@basic-test-pattern.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][62] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][63] ([Intel XE#2509] / [Intel XE#7437])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798/shard-bmg-9/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/shard-bmg-10/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[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#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7402]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7402
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_8976 -> IGT_8977
* Linux: xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798 -> xe-pw-168930v1
IGT_8976: 8976
IGT_8977: c8bdb0bc2140e337e1d79969430c3d7a5c088c9e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5286-6583dd200482a34bb17e5dc54551f91f53b79798: 6583dd200482a34bb17e5dc54551f91f53b79798
xe-pw-168930v1: 168930v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-168930v1/index.html
[-- Attachment #2: Type: text/html, Size: 23713 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
` (5 preceding siblings ...)
2026-06-22 20:38 ` ✗ Xe.CI.FULL: failure " Patchwork
@ 2026-06-23 10:15 ` Heikki Krogerus
2026-06-23 14:40 ` Raag Jadav
6 siblings, 1 reply; 17+ messages in thread
From: Heikki Krogerus @ 2026-06-23 10:15 UTC (permalink / raw)
To: Raag Jadav
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
Hi Raag,
I completely forgot the enum for the clients that you proposed
off-list. Sorry about that. I'll add it in v2.
On Mon, Jun 22, 2026 at 01:47:57PM +0200, Heikki Krogerus wrote:
> Hi,
>
> This includes support for the SMBus alerts, and special handling for the
> IC_ENABLE register.
>
> Thanks,
>
> Heikki Krogerus (2):
> drm/xe/i2c: Handler for SMBus Alerts
> drm/xe/mcu_i2c: Take over control of the controller enabling
>
> drivers/gpu/drm/xe/Makefile | 1 +
> drivers/gpu/drm/xe/xe_i2c.c | 86 ++++++++++++++++++++++++++++---
> drivers/gpu/drm/xe/xe_i2c.h | 16 ++++++
> drivers/gpu/drm/xe/xe_i2c_smbus.c | 59 +++++++++++++++++++++
> 4 files changed, 154 insertions(+), 8 deletions(-)
> create mode 100644 drivers/gpu/drm/xe/xe_i2c_smbus.c
thanks,
--
heikki
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
@ 2026-06-23 10:54 ` Andy Shevchenko
2026-06-23 11:44 ` Heikki Krogerus
2026-06-23 14:34 ` Raag Jadav
2 siblings, 1 reply; 17+ messages in thread
From: Andy Shevchenko @ 2026-06-23 10:54 UTC (permalink / raw)
To: Heikki Krogerus
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Mika Westerberg, Riana Tauro, David Airlie,
Simona Vetter, dri-devel, intel-xe, linux-kernel
On Mon, Jun 22, 2026 at 01:47:58PM +0200, Heikki Krogerus wrote:
> Some devices that are attached to the I2C controller use the
> SMBus Alert signal for example to inform the host about
> thermal events, so registering the default SMBus Alert
> device device for them. The alert device makes sure that
> the alert is processed and passed to the correct I2C client
> driver.
...
> + if (i2c->smbus_alert)
Unneeded. Also the below incorporates error pointer cases.
> + i2c_unregister_device(i2c->smbus_alert);
> +
> if (!i2c->irqdomain)
> return;
...
> +++ b/drivers/gpu/drm/xe/xe_i2c_smbus.c
> @@ -0,0 +1,59 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Intel Xe SMBus handling
> + *
> + * Copyright (C) 2026 Intel Corporation.
> + */
+ bits.h // BIT()
+ err.h // IS_ERR()
> +#include <linux/i2c-smbus.h>
> +#include <linux/regmap.h>
> +#include <linux/types.h>
...
> +static struct i2c_smbus_alert_setup xe_i2c_smbus_setup;
> +
> +int xe_i2c_register_smbus_alert(struct xe_i2c *i2c)
> +{
> + struct i2c_client *alert;
> +
> + alert = i2c_new_smbus_alert_device(i2c->adapter, &xe_i2c_smbus_setup);
> + if (IS_ERR(alert))
> + return PTR_ERR(alert);
> +
> + i2c->smbus_alert = alert;
> +
> + return 0;
> +}
As per above comment, this IS_ERR() is not need, as the removal API is optional-aware.
OTOH, the other NULL-check in the driver in that case needs to be IS_ERR_OR_NULL().
But I'm not sure if you want to have alert setup to always succeed.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
@ 2026-06-23 10:56 ` Andy Shevchenko
2026-06-23 14:58 ` Raag Jadav
2026-06-23 14:39 ` Raag Jadav
2 siblings, 1 reply; 17+ messages in thread
From: Andy Shevchenko @ 2026-06-23 10:56 UTC (permalink / raw)
To: Heikki Krogerus
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Mika Westerberg, Riana Tauro, David Airlie,
Simona Vetter, dri-devel, intel-xe, linux-kernel
On Mon, Jun 22, 2026 at 01:47:59PM +0200, Heikki Krogerus wrote:
> Some platforms make an assumption that the i2c controller's
> enabled state indicates also the power state of the
> controller. This can create a problem when the controller is
> in disabled state, because the hardware may assume
> incorrectly that it is then also in low-power state.
>
> To fix this, the controller is kept enabled by taking over
> the IC_ENABLE register. The controller has to be disabled
> when the configuration is updated and when the target
> address or the slave address are assigned, so disabling it
> when IC_CON, IC_TAR or IC_SAR registers are programmed, and
> then re-enabling it again.
...
> +#define IC_CON 0x00
> +#define IC_TAR 0x04
> +#define IC_SAR 0x08
> +#define IC_ENABLE 0x6c
> +#define IC_ENABLE_STATUS 0x9c
Heh, I would like to have a shared header with the registers, but dunno
if the prons will weight out the cons.
...
> +/* See "Disabling DW_apb_i2c" in the DesignWare DW_abp_i2c databook. */
> +static int xe_i2c_disable(struct xe_i2c *i2c)
> +{
> + int timeout = 100;
> + u32 status;
> +
> + do {
> + /* Disable.*/
> + xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 1, 0);
> +
> + /* Verify. */
> + status = xe_mmio_read32(i2c->mmio, XE_REG(IC_ENABLE_STATUS + I2C_MEM_SPACE_OFFSET));
> + if (!(status & 1))
> + return 0;
> +
> + /* Repeat. */
> + usleep_range(25, 250);
fsleep().
> + } while (timeout--);
> +
> + return -ETIMEDOUT;
> +}
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts
2026-06-23 10:54 ` Andy Shevchenko
@ 2026-06-23 11:44 ` Heikki Krogerus
0 siblings, 0 replies; 17+ messages in thread
From: Heikki Krogerus @ 2026-06-23 11:44 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström, Raag Jadav,
Michael J . Ruhl, Mika Westerberg, Riana Tauro, David Airlie,
Simona Vetter, dri-devel, intel-xe, linux-kernel
On Tue, Jun 23, 2026 at 01:54:21PM +0300, Andy Shevchenko wrote:
> On Mon, Jun 22, 2026 at 01:47:58PM +0200, Heikki Krogerus wrote:
> > Some devices that are attached to the I2C controller use the
> > SMBus Alert signal for example to inform the host about
> > thermal events, so registering the default SMBus Alert
> > device device for them. The alert device makes sure that
> > the alert is processed and passed to the correct I2C client
> > driver.
>
> ...
>
> > + if (i2c->smbus_alert)
>
> Unneeded. Also the below incorporates error pointer cases.
>
> > + i2c_unregister_device(i2c->smbus_alert);
> > +
> > if (!i2c->irqdomain)
> > return;
>
> ...
>
> > +++ b/drivers/gpu/drm/xe/xe_i2c_smbus.c
> > @@ -0,0 +1,59 @@
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +/*
> > + * Intel Xe SMBus handling
> > + *
> > + * Copyright (C) 2026 Intel Corporation.
> > + */
>
> + bits.h // BIT()
> + err.h // IS_ERR()
>
> > +#include <linux/i2c-smbus.h>
> > +#include <linux/regmap.h>
> > +#include <linux/types.h>
>
> ...
>
> > +static struct i2c_smbus_alert_setup xe_i2c_smbus_setup;
> > +
> > +int xe_i2c_register_smbus_alert(struct xe_i2c *i2c)
> > +{
> > + struct i2c_client *alert;
> > +
> > + alert = i2c_new_smbus_alert_device(i2c->adapter, &xe_i2c_smbus_setup);
> > + if (IS_ERR(alert))
> > + return PTR_ERR(alert);
> > +
> > + i2c->smbus_alert = alert;
> > +
> > + return 0;
> > +}
>
> As per above comment, this IS_ERR() is not need, as the removal API is optional-aware.
> OTOH, the other NULL-check in the driver in that case needs to be IS_ERR_OR_NULL().
>
> But I'm not sure if you want to have alert setup to always succeed.
Thanks Andy. I'll get these fixed.
I have to refactor the code a little. It does not seem to be possible
to try to conditionally include this file based on CONFIG_I2C_SMBUS
like I'm doing now, so I'm going to propose that CONFIG_XE selects
CONFIG_I2C_SMBUS in v2. Since there are only two functions here, I'll
just move them to xe_i2c.c
cheers,
--
heikki
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:54 ` Andy Shevchenko
@ 2026-06-23 14:34 ` Raag Jadav
2 siblings, 0 replies; 17+ messages in thread
From: Raag Jadav @ 2026-06-23 14:34 UTC (permalink / raw)
To: Heikki Krogerus
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
On Mon, Jun 22, 2026 at 01:47:58PM +0200, Heikki Krogerus wrote:
> Some devices that are attached to the I2C controller use the
> SMBus Alert signal for example to inform the host about
> thermal events, so registering the default SMBus Alert
> device device for them. The alert device makes sure that
Nit: Duplicate 'device' ;)
> the alert is processed and passed to the correct I2C client
> driver.
...
> @@ -182,7 +183,10 @@ void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl)
> return;
>
> /* Forward interrupt to I2C adapter */
> - generic_handle_irq_safe(xe->i2c->adapter_irq);
> + if (xe->i2c->smbus_alert)
> + xe_i2c_handle_smbus_alert(xe->i2c);
> + else
> + generic_handle_irq_safe(xe->i2c->adapter_irq);
This looks like the else case will never hit since no other platform
supports irq. Is it on the cards at some point or can we make it obsolete?
Raag
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:56 ` Andy Shevchenko
@ 2026-06-23 14:39 ` Raag Jadav
2 siblings, 0 replies; 17+ messages in thread
From: Raag Jadav @ 2026-06-23 14:39 UTC (permalink / raw)
To: Heikki Krogerus
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
On Mon, Jun 22, 2026 at 01:47:59PM +0200, Heikki Krogerus wrote:
> Some platforms make an assumption that the i2c controller's
> enabled state indicates also the power state of the
> controller. This can create a problem when the controller is
> in disabled state, because the hardware may assume
> incorrectly that it is then also in low-power state.
>
> To fix this, the controller is kept enabled by taking over
> the IC_ENABLE register. The controller has to be disabled
> when the configuration is updated and when the target
> address or the slave address are assigned, so disabling it
> when IC_CON, IC_TAR or IC_SAR registers are programmed, and
> then re-enabling it again.
...
> static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
> {
> struct xe_i2c *i2c = context;
>
> - *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
> + switch (reg) {
Curious, should I expect DW_IC_INTR_MASK case here which skips the MMIO?
> + case IC_ENABLE:
> + *val = i2c->ic_enable;
> + break;
> + case IC_ENABLE_STATUS:
> + *val = i2c->ic_enable & 1; /* NOTE: Checking only the enable bit */
> + break;
> + default:
> + *val = xe_mmio_read32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET));
> + break;
> + }
>
> return 0;
> }
> @@ -273,8 +312,30 @@ static int xe_i2c_read(void *context, unsigned int reg, unsigned int *val)
> static int xe_i2c_write(void *context, unsigned int reg, unsigned int val)
> {
> struct xe_i2c *i2c = context;
> + int ret;
>
> - xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
> + switch (reg) {
Ditto.
Raag
> + case IC_CON:
> + case IC_TAR:
> + case IC_SAR:
> + /* Disable the controller. */
> + ret = xe_i2c_disable(i2c);
> + if (ret)
> + return ret;
> +
> + /* Write the register. */
> + xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
> +
> + /* Enable the controller. */
> + xe_mmio_rmw32(i2c->mmio, XE_REG(IC_ENABLE + I2C_MEM_SPACE_OFFSET), 0, 1);
> + break;
> + case IC_ENABLE:
> + i2c->ic_enable = val;
> + break;
> + default:
> + xe_mmio_write32(i2c->mmio, XE_REG(reg + I2C_MEM_SPACE_OFFSET), val);
> + break;
> + }
>
> return 0;
> }
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications
2026-06-23 10:15 ` [PATCH v1 0/2] " Heikki Krogerus
@ 2026-06-23 14:40 ` Raag Jadav
0 siblings, 0 replies; 17+ messages in thread
From: Raag Jadav @ 2026-06-23 14:40 UTC (permalink / raw)
To: Heikki Krogerus
Cc: Rodrigo Vivi, Matthew Brost, Thomas Hellström,
Michael J . Ruhl, Andy Shevchenko, Mika Westerberg, Riana Tauro,
David Airlie, Simona Vetter, dri-devel, intel-xe, linux-kernel
On Tue, Jun 23, 2026 at 01:15:37PM +0300, Heikki Krogerus wrote:
> Hi Raag,
>
> I completely forgot the enum for the clients that you proposed
> off-list. Sorry about that. I'll add it in v2.
Yeah, definitely need a vacation :D
Raag
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling
2026-06-23 10:56 ` Andy Shevchenko
@ 2026-06-23 14:58 ` Raag Jadav
0 siblings, 0 replies; 17+ messages in thread
From: Raag Jadav @ 2026-06-23 14:58 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Heikki Krogerus, Rodrigo Vivi, Matthew Brost,
Thomas Hellström, Michael J . Ruhl, Mika Westerberg,
Riana Tauro, David Airlie, Simona Vetter, dri-devel, intel-xe,
linux-kernel
On Tue, Jun 23, 2026 at 01:56:53PM +0300, Andy Shevchenko wrote:
> On Mon, Jun 22, 2026 at 01:47:59PM +0200, Heikki Krogerus wrote:
> > Some platforms make an assumption that the i2c controller's
> > enabled state indicates also the power state of the
> > controller. This can create a problem when the controller is
> > in disabled state, because the hardware may assume
> > incorrectly that it is then also in low-power state.
> >
> > To fix this, the controller is kept enabled by taking over
> > the IC_ENABLE register. The controller has to be disabled
> > when the configuration is updated and when the target
> > address or the slave address are assigned, so disabling it
> > when IC_CON, IC_TAR or IC_SAR registers are programmed, and
> > then re-enabling it again.
>
> ...
>
> > +#define IC_CON 0x00
> > +#define IC_TAR 0x04
> > +#define IC_SAR 0x08
> > +#define IC_ENABLE 0x6c
> > +#define IC_ENABLE_STATUS 0x9c
>
> Heh, I would like to have a shared header with the registers, but dunno
> if the prons will weight out the cons.
Perhaps something like i2c-algo-pca.h?
Raag
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2026-06-23 14:58 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 11:47 [PATCH v1 0/2] drm/xe/i2c: alerts and controller enabling modifications Heikki Krogerus
2026-06-22 11:47 ` [PATCH v1 1/2] drm/xe/i2c: Handler for SMBus Alerts Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:54 ` Andy Shevchenko
2026-06-23 11:44 ` Heikki Krogerus
2026-06-23 14:34 ` Raag Jadav
2026-06-22 11:47 ` [PATCH v1 2/2] drm/xe/mcu_i2c: Take over control of the controller enabling Heikki Krogerus
2026-06-22 12:04 ` sashiko-bot
2026-06-23 10:56 ` Andy Shevchenko
2026-06-23 14:58 ` Raag Jadav
2026-06-23 14:39 ` Raag Jadav
2026-06-22 16:34 ` ✗ CI.checkpatch: warning for drm/xe/i2c: alerts and controller enabling modifications Patchwork
2026-06-22 16:35 ` ✓ CI.KUnit: success " Patchwork
2026-06-22 17:36 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-22 20:38 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-23 10:15 ` [PATCH v1 0/2] " Heikki Krogerus
2026-06-23 14:40 ` Raag Jadav
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.