Skip to contentSkip to conversation

drm/xe: i2c support

PATCH Applied Heikki Krogerus 5 participants 19 messages Jul 1, 2025 – Jul 10, 2025

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

v6 cover drm/xe: i2c support

Hi,

Changed since v5:
- The modification to the dw_i2c_plat_probe() is split into its own patch as proposed by Andi.
- I removed completely the comment from the last patch in the series ("drm/xe/xe_i2c: Add support for i2c in survivability mode").

Changed since v4:
- Cleanups requested by Andy.
- Casting the PCI power modes to make sparse happy - Raag.
- Limiting the use of this thing to Battlemage again. But I'm not sure if this is the correct thing to do.

Changed since v3:
- Cleanups as requested by Rodrigo.
- The licence is now changed, but still need confirmation for it!

Changed since v2:
- Added dependency on regmap when i2c is enabled.

Changed since v1:
- Now rebased on top of drm-tip.
- No longer ignoring errors from xe_i2c_probe().
- Cleanups pointed out by Lucas.

I've also included followup patches from Raag and Riana to this series.

Original cover letter:

Some of the future GPUs will provide access to the on-board Synopsys DesignWare I2C host adapter. The i2c is used to connect various microcontrollers. The initially supported microcontroller unit is called Add-In Management Controller (AMC).

Thanks,

Heikki Krogerus (3):
i2c: designware: Use polling by default when there is no irq resource
i2c: designware: Add quirk for Intel Xe
drm/xe: Support for I2C attached MCUs

Raag Jadav (1):
drm/xe/pm: Wire up suspend/resume for I2C controller

Riana Tauro (1):
drm/xe/xe_i2c: Add support for i2c in survivability mode

 drivers/gpu/drm/xe/Kconfig                  |   1 +
 drivers/gpu/drm/xe/Makefile                 |   1 +
 drivers/gpu/drm/xe/regs/xe_i2c_regs.h       |  20 ++
 drivers/gpu/drm/xe/regs/xe_irq_regs.h       |   1 +
 drivers/gpu/drm/xe/regs/xe_pmt.h            |   2 +-
 drivers/gpu/drm/xe/regs/xe_regs.h           |   2 +
 drivers/gpu/drm/xe/xe_device.c              |   5 +
 drivers/gpu/drm/xe/xe_device_types.h        |   4 +
 drivers/gpu/drm/xe/xe_i2c.c                 | 329 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_i2c.h                 |  62 ++++
 drivers/gpu/drm/xe/xe_irq.c                 |   2 +
 drivers/gpu/drm/xe/xe_pm.c                  |   9 +
 drivers/gpu/drm/xe/xe_survivability_mode.c  |  19 +-
 drivers/i2c/busses/i2c-designware-platdrv.c |  18 +-
 14 files changed, 460 insertions(+), 15 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.c
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.h
Signature · 1 line
2.47.2
#1 lore raw

PATCH v6 1/5 i2c: designware: Use polling by default when there is no irq resource

The irq resource itself can be used as a generic way to determine when polling is needed.

This not only removes the need for special additional device properties that would soon be needed when the platform may or may not have the irq, but it also removes the need to check the platform in the first place in order to determine is polling needed or not.

---
Hi guys,

I found the thread with Jarkko's comments from my archives. He wanted the local flags variable to be added because he wants the order of the calls to remain as it is now - the device is allocated only after the irq is checked.

thanks,

---
 drivers/i2c/busses/i2c-designware-platdrv.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
drivers/i2c/busses/i2c-designware-platdrv.c +7 -4
index 879719e91df2..3104f52e32be 100644
@@ -205,25 +205,28 @@ static void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev)
 
 static int dw_i2c_plat_probe(struct platform_device *pdev)
 {
+	u32 flags = (uintptr_t)device_get_match_data(&pdev->dev);
 	struct device *device = &pdev->dev;
 	struct i2c_adapter *adap;
 	struct dw_i2c_dev *dev;
 	int irq, ret;
 
-	irq = platform_get_irq(pdev, 0);
-	if (irq < 0)
+	irq = platform_get_irq_optional(pdev, 0);
+	if (irq == -ENXIO)
+		flags |= ACCESS_POLLING;
+	else if (irq < 0)
 		return irq;
 
 	dev = devm_kzalloc(device, sizeof(*dev), GFP_KERNEL);
 	if (!dev)
 		return -ENOMEM;
 
-	dev->flags = (uintptr_t)device_get_match_data(device);
 	if (device_property_present(device, "wx,i2c-snps-model"))
-		dev->flags = MODEL_WANGXUN_SP | ACCESS_POLLING;
+		flags = MODEL_WANGXUN_SP | ACCESS_POLLING;
 
 	dev->dev = device;
 	dev->irq = irq;
+	dev->flags = flags;
 	platform_set_drvdata(pdev, dev);
 
 	ret = dw_i2c_plat_request_regs(dev);
Signature · 1 line
2.47.2
#2 lore raw

Re: [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource

Quoted 9 lines · Heikki Krogerus

The irq resource itself can be used as a generic way to determine when polling is needed.

This not only removes the need for special additional device properties that would soon be needed when the platform may or may not have the irq, but it also removes the need to check the platform in the first place in order to determine is polling needed or not.

Quoted 8 lines

---
Hi guys,

I found the thread with Jarkko's comments from my archives. He wanted the local flags variable to be added because he wants the order of the calls to remain as it is now - the device is allocated only after the irq is checked.

Yes, thanks.

...

drivers/i2c/busses/i2c-designware-platdrv.c static void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev) · line 225

Quoted 10 lines
drivers/i2c/busses/i2c-designware-platdrv.c +6 -0
+	u32 flags = (uintptr_t)device_get_match_data(&pdev->dev);
 
+	irq = platform_get_irq_optional(pdev, 0);
+	if (irq == -ENXIO)
+		flags |= ACCESS_POLLING;
+	else if (irq < 0)
 		return irq;
 
 	if (device_property_present(device, "wx,i2c-snps-model"))
+		flags = MODEL_WANGXUN_SP | ACCESS_POLLING;

Now I'm a bit puzzled why do we need to add this flag explicitly here? Does Wnagxun provides an IRQ and chooses at the same time to poll? Shouldn't this patch rather fix that?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw

Re: [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource

Quoted 31 lines · Andy Shevchenko
Quoted 9 lines · Heikki Krogerus

The irq resource itself can be used as a generic way to determine when polling is needed.

This not only removes the need for special additional device properties that would soon be needed when the platform may or may not have the irq, but it also removes the need to check the platform in the first place in order to determine is polling needed or not.

Quoted 8 lines

---
Hi guys,

I found the thread with Jarkko's comments from my archives. He wanted the local flags variable to be added because he wants the order of the calls to remain as it is now - the device is allocated only after the irq is checked.

Yes, thanks.

...

Quoted 7 lines
drivers/i2c/busses/i2c-designware-platdrv.c +5 -0
+	u32 flags = (uintptr_t)device_get_match_data(&pdev->dev);
 
+	irq = platform_get_irq_optional(pdev, 0);
+	if (irq == -ENXIO)
+		flags |= ACCESS_POLLING;
+	else if (irq < 0)
 		return irq;
Quoted 6 lines

drivers/i2c/busses/i2c-designware-platdrv.c static void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev) · line 225

Quoted 2 lines
drivers/i2c/busses/i2c-designware-platdrv.c +1 -0
 	if (device_property_present(device, "wx,i2c-snps-model"))
+		flags = MODEL_WANGXUN_SP | ACCESS_POLLING;

Now I'm a bit puzzled why do we need to add this flag explicitly here? Does Wnagxun provides an IRQ and chooses at the same time to poll? Shouldn't this patch rather fix that?

No. I do not want to touch the behavior here. The flags were overwritten and continue to be overwritten.

I will propose an improvement for that together with some other modifications to this file later, but those are out side the scope of this series.

thanks,

Signature · 1 line
heikki
#4 lore raw

Re: [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource

Quoted 2 lines · Heikki Krogerus
Quoted 1 line · Andy Shevchenko

On Tue, Jul 01, 2025 at 03:22:48PM +0300, Heikki Krogerus wrote:

...

Quoted 15 lines
Quoted 8 lines
Quoted 7 lines
drivers/i2c/busses/i2c-designware-platdrv.c +5 -0
+	u32 flags = (uintptr_t)device_get_match_data(&pdev->dev);
 
+	irq = platform_get_irq_optional(pdev, 0);
+	if (irq == -ENXIO)
+		flags |= ACCESS_POLLING;
+	else if (irq < 0)
 		return irq;
Quoted 6 lines

drivers/i2c/busses/i2c-designware-platdrv.c static void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev) · line 225

Quoted 2 lines
drivers/i2c/busses/i2c-designware-platdrv.c +1 -0
 	if (device_property_present(device, "wx,i2c-snps-model"))
+		flags = MODEL_WANGXUN_SP | ACCESS_POLLING;

Now I'm a bit puzzled why do we need to add this flag explicitly here? Does Wnagxun provides an IRQ and chooses at the same time to poll? Shouldn't this patch rather fix that?

Quoted 6 lines

No. I do not want to touch the behavior here. The flags were overwritten and continue to be overwritten.

I will propose an improvement for that together with some other modifications to this file later, but those are out side the scope of this series.

Sure.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Reviewed-by on v6 1/5
#5 lore raw

Re: [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource

In reply to Heikki Krogerus

Hi Heikki,

Quoted 10 lines · Heikki Krogerus

The irq resource itself can be used as a generic way to determine when polling is needed.

This not only removes the need for special additional device properties that would soon be needed when the platform may or may not have the irq, but it also removes the need to check the platform in the first place in order to determine is polling needed or not.

Thanks,
Andi

#6 lore raw

PATCH v6 2/5 i2c: designware: Add quirk for Intel Xe

In reply to Heikki Krogerus

The regmap is coming from the parent also in case of Xe GPUs. Reusing the Wangxun quirk for that.

---
 drivers/i2c/busses/i2c-designware-platdrv.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-designware-platdrv.c +5 -2
index 3104f52e32be..a35e4c64a1d4 100644
@@ -101,7 +101,7 @@ static int bt1_i2c_request_regs(struct dw_i2c_dev *dev)
 }
 #endif
 
-static int txgbe_i2c_request_regs(struct dw_i2c_dev *dev)
+static int dw_i2c_get_parent_regmap(struct dw_i2c_dev *dev)
 {
 	dev->map = dev_get_regmap(dev->dev->parent, NULL);
 	if (!dev->map)
@@ -123,12 +123,15 @@ static int dw_i2c_plat_request_regs(struct dw_i2c_dev *dev)
 	struct platform_device *pdev = to_platform_device(dev->dev);
 	int ret;
 
+	if (device_is_compatible(dev->dev, "intel,xe-i2c"))
+		return dw_i2c_get_parent_regmap(dev);
+
 	switch (dev->flags & MODEL_MASK) {
 	case MODEL_BAIKAL_BT1:
 		ret = bt1_i2c_request_regs(dev);
 		break;
 	case MODEL_WANGXUN_SP:
-		ret = txgbe_i2c_request_regs(dev);
+		ret = dw_i2c_get_parent_regmap(dev);
 		break;
 	default:
 		dev->base = devm_platform_ioremap_resource(pdev, 0);
Signature · 1 line
2.47.2
#8 lore raw

PATCH v6 3/5 drm/xe: Support for I2C attached MCUs

In reply to Heikki Krogerus

Adding adaption/glue layer where the I2C host adapter (Synopsys DesignWare I2C adapter) and the I2C clients (the microcontroller units) are enumerated.

The microcontroller units (MCU) that are attached to the GPU depend on the OEM. The initially supported MCU will be the Add-In Management Controller (AMC).

---
 drivers/gpu/drm/xe/Kconfig            |   1 +
 drivers/gpu/drm/xe/Makefile           |   1 +
 drivers/gpu/drm/xe/regs/xe_i2c_regs.h |  15 ++
 drivers/gpu/drm/xe/regs/xe_irq_regs.h |   1 +
 drivers/gpu/drm/xe/regs/xe_pmt.h      |   2 +-
 drivers/gpu/drm/xe/regs/xe_regs.h     |   2 +
 drivers/gpu/drm/xe/xe_device.c        |   5 +
 drivers/gpu/drm/xe/xe_device_types.h  |   4 +
 drivers/gpu/drm/xe/xe_i2c.c           | 300 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_i2c.h           |  58 +++++
 drivers/gpu/drm/xe/xe_irq.c           |   2 +
 11 files changed, 390 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.c
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.h
drivers/gpu/drm/xe/Kconfig +1 -0
index 827bc75b8b48..e78b3f46c846 100644
@@ -45,6 +45,7 @@ config DRM_XE
 	select WANT_DEV_COREDUMP
 	select AUXILIARY_BUS
 	select HMM_MIRROR
+	select REGMAP if I2C
 	help
 	  Driver for Intel Xe2 series GPUs and later. Experimental support
 	  for Xe series is also available.
drivers/gpu/drm/xe/Makefile +1 -0
index 1d97e5b63f4e..1201b8ab4702 100644
@@ -125,6 +125,7 @@ xe-y += xe_bb.o \
 	xe_wait_user_fence.o \
 	xe_wopcm.o
 
+xe-$(CONFIG_I2C)	+= xe_i2c.o
 xe-$(CONFIG_HMM_MIRROR) += xe_hmm.o
 xe-$(CONFIG_DRM_XE_GPUSVM) += xe_svm.o
 
drivers/gpu/drm/xe/regs/xe_i2c_regs.h new file +15 -0
new file mode 100644
index 000000000000..92dae4487614
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT */
+#ifndef _XE_I2C_REGS_H_
+#define _XE_I2C_REGS_H_
+
+#include "xe_reg_defs.h"
+#include "xe_regs.h"
+
+#define I2C_BRIDGE_OFFSET		(SOC_BASE + 0xd9000)
+#define I2C_CONFIG_SPACE_OFFSET		(SOC_BASE + 0xf6000)
+#define I2C_MEM_SPACE_OFFSET		(SOC_BASE + 0xf7400)
+
+#define REG_SG_REMAP_ADDR_PREFIX	XE_REG(SOC_BASE + 0x0164)
+#define REG_SG_REMAP_ADDR_POSTFIX	XE_REG(SOC_BASE + 0x0168)
+
+#endif /* _XE_I2C_REGS_H_ */
drivers/gpu/drm/xe/regs/xe_irq_regs.h +1 -0
index f0ecfcac4003..13635e4331d4 100644
@@ -19,6 +19,7 @@
 #define   MASTER_IRQ				REG_BIT(31)
 #define   GU_MISC_IRQ				REG_BIT(29)
 #define   DISPLAY_IRQ				REG_BIT(16)
+#define   I2C_IRQ				REG_BIT(12)
 #define   GT_DW_IRQ(x)				REG_BIT(x)
 
 /*
drivers/gpu/drm/xe/regs/xe_pmt.h +1 -1
index b0efd9b48d1e..2995d72c3f78 100644
@@ -5,7 +5,7 @@
 #ifndef _XE_PMT_H_
 #define _XE_PMT_H_
 
-#define SOC_BASE			0x280000
+#include "xe_regs.h"
 
 #define BMG_PMT_BASE_OFFSET		0xDB000
 #define BMG_DISCOVERY_OFFSET		(SOC_BASE + BMG_PMT_BASE_OFFSET)
drivers/gpu/drm/xe/regs/xe_regs.h +2 -0
index 3abb17d2ca33..1926b4044314 100644
@@ -7,6 +7,8 @@
 
 #include "regs/xe_reg_defs.h"
 
+#define SOC_BASE				0x280000
+
 #define GU_CNTL_PROTECTED			XE_REG(0x10100C)
 #define   DRIVERINT_FLR_DIS			REG_BIT(31)
 
drivers/gpu/drm/xe/xe_device.c +5 -0
index 0b73cb72bad1..6db09cfc8eb8 100644
@@ -43,6 +43,7 @@
 #include "xe_guc_pc.h"
 #include "xe_hw_engine_group.h"
 #include "xe_hwmon.h"
+#include "xe_i2c.h"
 #include "xe_irq.h"
 #include "xe_mmio.h"
 #include "xe_module.h"
@@ -902,6 +903,10 @@ int xe_device_probe(struct xe_device *xe)
 	if (err)
 		goto err_unregister_display;
 
+	err = xe_i2c_probe(xe);
+	if (err)
+		goto err_unregister_display;
+
 	for_each_gt(gt, xe, id)
 		xe_gt_sanitize_freq(gt);
 
drivers/gpu/drm/xe/xe_device_types.h +4 -0
index 7e4f6d846af6..ce0c4ed834b8 100644
@@ -34,6 +34,7 @@ struct dram_info;
 struct intel_display;
 struct intel_dg_nvm_dev;
 struct xe_ggtt;
+struct xe_i2c;
 struct xe_pat_ops;
 struct xe_pxp;
 
@@ -583,6 +584,9 @@ struct xe_device {
 	/** @pmu: performance monitoring unit */
 	struct xe_pmu pmu;
 
+	/** @i2c: I2C host controller */
+	struct xe_i2c *i2c;
+
 	/** @atomic_svm_timeslice_ms: Atomic SVM fault timeslice MS */
 	u32 atomic_svm_timeslice_ms;
 
drivers/gpu/drm/xe/xe_i2c.c new file +300 -0

300 lines not on this page · raw message

drivers/gpu/drm/xe/xe_i2c.h new file +58 -0

58 lines not on this page · raw message

drivers/gpu/drm/xe/xe_irq.c +2 -0
index 5362d3174b06..c43e62dc692e 100644
@@ -18,6 +18,7 @@
 #include "xe_gt.h"
 #include "xe_guc.h"
 #include "xe_hw_engine.h"
+#include "xe_i2c.h"
 #include "xe_memirq.h"
 #include "xe_mmio.h"
 #include "xe_pxp.h"
@@ -476,6 +477,7 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg)
 			if (xe->info.has_heci_cscfi)
 				xe_heci_csc_irq_handler(xe, master_ctl);
 			xe_display_irq_handler(xe, master_ctl);
+			xe_i2c_irq_handler(xe, master_ctl);
 			gu_misc_iir = gu_misc_irq_ack(xe, master_ctl);
 		}
 	}
Signature · 1 line
2.47.2
#9 lore raw

PATCH v6 4/5 drm/xe/pm: Wire up suspend/resume for I2C controller

In reply to Heikki Krogerus

From: Raag Jadav <[email protected]>

Wire up suspend/resume handles for I2C controller to match its power state with SGUnit.

---
 drivers/gpu/drm/xe/regs/xe_i2c_regs.h |  5 +++++
 drivers/gpu/drm/xe/xe_i2c.c           | 29 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_i2c.h           |  4 ++++
 drivers/gpu/drm/xe/xe_pm.c            |  9 +++++++++
 4 files changed, 47 insertions(+)
drivers/gpu/drm/xe/regs/xe_i2c_regs.h +5 -0
index 92dae4487614..af781c8e4a80 100644
@@ -2,6 +2,8 @@
 #ifndef _XE_I2C_REGS_H_
 #define _XE_I2C_REGS_H_
 
+#include <linux/pci_regs.h>
+
 #include "xe_reg_defs.h"
 #include "xe_regs.h"
 
@@ -12,4 +14,7 @@
 #define REG_SG_REMAP_ADDR_PREFIX	XE_REG(SOC_BASE + 0x0164)
 #define REG_SG_REMAP_ADDR_POSTFIX	XE_REG(SOC_BASE + 0x0168)
 
+#define I2C_CONFIG_CMD			XE_REG(I2C_CONFIG_SPACE_OFFSET + PCI_COMMAND)
+#define I2C_CONFIG_PMCSR		XE_REG(I2C_CONFIG_SPACE_OFFSET + 0x84)
+
 #endif /* _XE_I2C_REGS_H_ */
drivers/gpu/drm/xe/xe_i2c.c +29 -0
index ef91239879c0..d395795d1e7e 100644
@@ -226,6 +226,31 @@ static const struct regmap_config i2c_regmap_config = {
 	.fast_io = true,
 };
 
+void xe_i2c_pm_suspend(struct xe_device *xe)
+{
+	struct xe_mmio *mmio = xe_root_tile_mmio(xe);
+
+	if (!xe->i2c || xe->i2c->ep.cookie != XE_I2C_EP_COOKIE_DEVICE)
+		return;
+
+	xe_mmio_rmw32(mmio, I2C_CONFIG_PMCSR, PCI_PM_CTRL_STATE_MASK, (__force u32)PCI_D3hot);
+	drm_dbg(&xe->drm, "pmcsr: 0x%08x\n", xe_mmio_read32(mmio, I2C_CONFIG_PMCSR));
+}
+
+void xe_i2c_pm_resume(struct xe_device *xe, bool d3cold)
+{
+	struct xe_mmio *mmio = xe_root_tile_mmio(xe);
+
+	if (!xe->i2c || xe->i2c->ep.cookie != XE_I2C_EP_COOKIE_DEVICE)
+		return;
+
+	if (d3cold)
+		xe_mmio_rmw32(mmio, I2C_CONFIG_CMD, 0, PCI_COMMAND_MEMORY);
+
+	xe_mmio_rmw32(mmio, I2C_CONFIG_PMCSR, PCI_PM_CTRL_STATE_MASK, (__force u32)PCI_D0);
+	drm_dbg(&xe->drm, "pmcsr: 0x%08x\n", xe_mmio_read32(mmio, I2C_CONFIG_PMCSR));
+}
+
 static void xe_i2c_remove(void *data)
 {
 	struct xe_i2c *i2c = data;
@@ -270,6 +295,10 @@ int xe_i2c_probe(struct xe_device *xe)
 	i2c->mmio = xe_root_tile_mmio(xe);
 	i2c->drm_dev = drm_dev;
 	i2c->ep = ep;
+	xe->i2c = i2c;
+
+	/* 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))
drivers/gpu/drm/xe/xe_i2c.h +4 -0
index 7ea40f4e4aa4..b767ed8ce52b 100644
@@ -50,9 +50,13 @@ struct xe_i2c {
 #if IS_ENABLED(CONFIG_I2C)
 int xe_i2c_probe(struct xe_device *xe);
 void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl);
+void xe_i2c_pm_suspend(struct xe_device *xe);
+void xe_i2c_pm_resume(struct xe_device *xe, bool d3cold);
 #else
 static inline int xe_i2c_probe(struct xe_device *xe) { return 0; }
 static inline void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl) { }
+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
 
 #endif
drivers/gpu/drm/xe/xe_pm.c +9 -0
index 26e95460af87..46471e166b96 100644
@@ -19,6 +19,7 @@
 #include "xe_ggtt.h"
 #include "xe_gt.h"
 #include "xe_guc.h"
+#include "xe_i2c.h"
 #include "xe_irq.h"
 #include "xe_pcode.h"
 #include "xe_pxp.h"
@@ -146,6 +147,8 @@ int xe_pm_suspend(struct xe_device *xe)
 
 	xe_display_pm_suspend_late(xe);
 
+	xe_i2c_pm_suspend(xe);
+
 	drm_dbg(&xe->drm, "Device suspended\n");
 	return 0;
 
@@ -191,6 +194,8 @@ int xe_pm_resume(struct xe_device *xe)
 	if (err)
 		goto err;
 
+	xe_i2c_pm_resume(xe, xe->d3cold.allowed);
+
 	xe_irq_resume(xe);
 
 	for_each_gt(gt, xe, id)
@@ -484,6 +489,8 @@ int xe_pm_runtime_suspend(struct xe_device *xe)
 
 	xe_display_pm_runtime_suspend_late(xe);
 
+	xe_i2c_pm_suspend(xe);
+
 	xe_rpm_lockmap_release(xe);
 	xe_pm_write_callback_task(xe, NULL);
 	return 0;
@@ -531,6 +538,8 @@ int xe_pm_runtime_resume(struct xe_device *xe)
 			goto out;
 	}
 
+	xe_i2c_pm_resume(xe, xe->d3cold.allowed);
+
 	xe_irq_resume(xe);
 
 	for_each_gt(gt, xe, id)
Signature · 1 line
2.47.2
#10 lore raw

PATCH v6 5/5 drm/xe/xe_i2c: Add support for i2c in survivability mode

In reply to Heikki Krogerus

From: Riana Tauro <[email protected]>

Initialize i2c in survivability mode to allow firmware update of Add-In Management Controller (AMC) in survivability mode.

---
 drivers/gpu/drm/xe/xe_survivability_mode.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +11 -8
index 1f710b3fc599..41705f5d52e3 100644
@@ -14,6 +14,7 @@
 #include "xe_device.h"
 #include "xe_gt.h"
 #include "xe_heci_gsc.h"
+#include "xe_i2c.h"
 #include "xe_mmio.h"
 #include "xe_pcode_api.h"
 #include "xe_vsec.h"
@@ -173,20 +174,22 @@ static int enable_survivability_mode(struct pci_dev *pdev)
 	survivability->mode = true;
 
 	ret = xe_heci_gsc_init(xe);
-	if (ret) {
-		/*
-		 * But if it fails, device can't enter survivability
-		 * so move it back for correct error handling
-		 */
-		survivability->mode = false;
-		return ret;
-	}
+	if (ret)
+		goto err;
 
 	xe_vsec_init(xe);
 
+	ret = xe_i2c_probe(xe);
+	if (ret)
+		goto err;
+
 	dev_err(dev, "In Survivability Mode\n");
 
 	return 0;
+
+err:
+	survivability->mode = false;
+	return ret;
 }
 
 /**
Signature · 1 line
2.47.2
CI Reviewed-by Raag Jadav Reviewed-by Andi Shyti on the v6 series
#11 lore raw

✗ CI.checkpatch: warning for drm/xe: i2c support (rev6)

In reply to Heikki Krogerus
== Series Details ==

== Series Details ==

Series: drm/xe: i2c support (rev6)
URL : https://patchwork.freedesktop.org/series/149699/
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 f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 1fc9fee6df0e31f875d061c04a10c6a9b0abfe0b

Author: Riana Tauro <[email protected]>
Date:   Tue Jul 1 15:22:52 2025 +0300

drm/xe/xe_i2c: Add support for i2c in survivability mode

Initialize i2c in survivability mode to allow firmware update of Add-In Management Controller (AMC) in survivability mode.

+ /mt/dim checkpatch 9f3690735949ad5f24ece89cf2e91c2750ea580f drm-intel cf5044118b7c i2c: designware: Use polling by default when there is no irq resource ca9127e99159 i2c: designware: Add quirk for Intel Xe
-:9: WARNING:BAD_SIGN_OFF: Non-standard signature: Originally-by:
#9:

total: 0 errors, 1 warnings, 0 checks, 24 lines checked acd550ef8110 drm/xe: Support for I2C attached MCUs -:14: WARNING:BAD_SIGN_OFF: Non-standard signature: Originally-by:
#14:

-:44: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #44:
new file mode 100644

-:153: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'drivers/gpu/drm/xe/xe_i2c.c', please use '//' instead #153: FILE: drivers/gpu/drm/xe/xe_i2c.c:1:
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */

-:153: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #153: FILE: drivers/gpu/drm/xe/xe_i2c.c:1:
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */

total: 0 errors, 4 warnings, 0 checks, 457 lines checked d4c211f8d91b drm/xe/pm: Wire up suspend/resume for I2C controller 1fc9fee6df0e drm/xe/xe_i2c: Add support for i2c in survivability mode

maintainer
#12 lore raw

Re: ✗ CI.checkpatch: warning for drm/xe: i2c support (rev6)

Quoted 44 lines · Patchwork

== Series Details ==

Series: drm/xe: i2c support (rev6)
URL : https://patchwork.freedesktop.org/series/149699/
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 f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 1fc9fee6df0e31f875d061c04a10c6a9b0abfe0b

Author: Riana Tauro <[email protected]>
Date:   Tue Jul 1 15:22:52 2025 +0300

drm/xe/xe_i2c: Add support for i2c in survivability mode

Initialize i2c in survivability mode to allow firmware update of Add-In Management Controller (AMC) in survivability mode.

+ /mt/dim checkpatch 9f3690735949ad5f24ece89cf2e91c2750ea580f drm-intel cf5044118b7c i2c: designware: Use polling by default when there is no irq resource ca9127e99159 i2c: designware: Add quirk for Intel Xe
-:9: WARNING:BAD_SIGN_OFF: Non-standard signature: Originally-by:
#9:

total: 0 errors, 1 warnings, 0 checks, 24 lines checked acd550ef8110 drm/xe: Support for I2C attached MCUs -:14: WARNING:BAD_SIGN_OFF: Non-standard signature: Originally-by:
#14:

Quoted 7 lines

-:44: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #44:
new file mode 100644

-:153: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'drivers/gpu/drm/xe/xe_i2c.c', please use '//' instead #153: FILE: drivers/gpu/drm/xe/xe_i2c.c:1:
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */

Could you please fix this and resend?

It should be
// SPDX-License-Identifier: GPL-2.0 OR MIT

in .c

/**/ is correct in .h

Quoted 4 lines

-:153: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #153: FILE: drivers/gpu/drm/xe/xe_i2c.c:1:
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */

Here as well...

Quoted 6 lines

total: 0 errors, 4 warnings, 0 checks, 457 lines checked d4c211f8d91b drm/xe/pm: Wire up suspend/resume for I2C controller 1fc9fee6df0e drm/xe/xe_i2c: Add support for i2c in survivability mode

#13 lore raw

✓ CI.KUnit: success for drm/xe: i2c support (rev6)

In reply to Heikki Krogerus
== Series Details ==

== Series Details ==

Series: drm/xe: i2c support (rev6)
URL : https://patchwork.freedesktop.org/series/149699/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [12:28:34] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[12:28:38] 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=25
[12:29:11] Starting KUnit Kernel (1/1)...
[12:29:11] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[12:29:12] ================== guc_buf (11 subtests) ===================
[12:29:12] [PASSED] test_smallest
[12:29:12] [PASSED] test_largest
[12:29:12] [PASSED] test_granular
[12:29:12] [PASSED] test_unique
[12:29:12] [PASSED] test_overlap
[12:29:12] [PASSED] test_reusable
[12:29:12] [PASSED] test_too_big
[12:29:12] [PASSED] test_flush
[12:29:12] [PASSED] test_lookup
[12:29:12] [PASSED] test_data
[12:29:12] [PASSED] test_class
[12:29:12] ===================== [PASSED] guc_buf =====================
[12:29:12] =================== guc_dbm (7 subtests) ===================
[12:29:12] [PASSED] test_empty
[12:29:12] [PASSED] test_default
[12:29:12] ======================== test_size  ========================
[12:29:12] [PASSED] 4
[12:29:12] [PASSED] 8
[12:29:12] [PASSED] 32
[12:29:12] [PASSED] 256
[12:29:12] ==================== [PASSED] test_size ====================
[12:29:12] ======================= test_reuse  ========================
[12:29:12] [PASSED] 4
[12:29:12] [PASSED] 8
[12:29:12] [PASSED] 32
[12:29:12] [PASSED] 256
[12:29:12] =================== [PASSED] test_reuse ====================
[12:29:12] =================== test_range_overlap  ====================
[12:29:12] [PASSED] 4
[12:29:12] [PASSED] 8
[12:29:12] [PASSED] 32
[12:29:12] [PASSED] 256
[12:29:12] =============== [PASSED] test_range_overlap ================
[12:29:12] =================== test_range_compact  ====================
[12:29:12] [PASSED] 4
[12:29:12] [PASSED] 8
[12:29:12] [PASSED] 32
[12:29:12] [PASSED] 256
[12:29:12] =============== [PASSED] test_range_compact ================
[12:29:12] ==================== test_range_spare  =====================
[12:29:12] [PASSED] 4
[12:29:12] [PASSED] 8
[12:29:12] [PASSED] 32
[12:29:12] [PASSED] 256
[12:29:12] ================ [PASSED] test_range_spare =================
[12:29:12] ===================== [PASSED] guc_dbm =====================
[12:29:12] =================== guc_idm (6 subtests) ===================
[12:29:12] [PASSED] bad_init
[12:29:12] [PASSED] no_init
[12:29:12] [PASSED] init_fini
[12:29:12] [PASSED] check_used
[12:29:12] [PASSED] check_quota
[12:29:12] [PASSED] check_all
[12:29:12] ===================== [PASSED] guc_idm =====================
[12:29:12] ================== no_relay (3 subtests) ===================
[12:29:12] [PASSED] xe_drops_guc2pf_if_not_ready
[12:29:12] [PASSED] xe_drops_guc2vf_if_not_ready
[12:29:12] [PASSED] xe_rejects_send_if_not_ready
[12:29:12] ==================== [PASSED] no_relay =====================
[12:29:12] ================== pf_relay (14 subtests) ==================
[12:29:12] [PASSED] pf_rejects_guc2pf_too_short
[12:29:12] [PASSED] pf_rejects_guc2pf_too_long
[12:29:12] [PASSED] pf_rejects_guc2pf_no_payload
[12:29:12] [PASSED] pf_fails_no_payload
[12:29:12] [PASSED] pf_fails_bad_origin
[12:29:12] [PASSED] pf_fails_bad_type
[12:29:12] [PASSED] pf_txn_reports_error
[12:29:12] [PASSED] pf_txn_sends_pf2guc
[12:29:12] [PASSED] pf_sends_pf2guc
[12:29:12] [SKIPPED] pf_loopback_nop
[12:29:12] [SKIPPED] pf_loopback_echo
[12:29:12] [SKIPPED] pf_loopback_fail
[12:29:12] [SKIPPED] pf_loopback_busy
[12:29:12] [SKIPPED] pf_loopback_retry
[12:29:12] ==================== [PASSED] pf_relay =====================
[12:29:12] ================== vf_relay (3 subtests) ===================
[12:29:12] [PASSED] vf_rejects_guc2vf_too_short
[12:29:12] [PASSED] vf_rejects_guc2vf_too_long
[12:29:12] [PASSED] vf_rejects_guc2vf_no_payload
[12:29:12] ==================== [PASSED] vf_relay =====================
[12:29:12] ================= pf_service (11 subtests) =================
[12:29:12] [PASSED] pf_negotiate_any
[12:29:12] [PASSED] pf_negotiate_base_match
[12:29:12] [PASSED] pf_negotiate_base_newer
[12:29:12] [PASSED] pf_negotiate_base_next
[12:29:12] [SKIPPED] pf_negotiate_base_older
[12:29:12] [PASSED] pf_negotiate_base_prev
[12:29:12] [PASSED] pf_negotiate_latest_match
[12:29:12] [PASSED] pf_negotiate_latest_newer
[12:29:12] [PASSED] pf_negotiate_latest_next
[12:29:12] [SKIPPED] pf_negotiate_latest_older
[12:29:12] [SKIPPED] pf_negotiate_latest_prev
[12:29:12] =================== [PASSED] pf_service ====================
[12:29:12] ===================== lmtt (1 subtest) =====================
[12:29:12] ======================== test_ops  =========================
[12:29:12] [PASSED] 2-level
[12:29:12] [PASSED] multi-level
[12:29:12] ==================== [PASSED] test_ops =====================
[12:29:12] ====================== [PASSED] lmtt =======================
[12:29:12] =================== xe_mocs (2 subtests) ===================
[12:29:12] ================ xe_live_mocs_kernel_kunit  ================
[12:29:12] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[12:29:12] ================ xe_live_mocs_reset_kunit  =================
[12:29:12] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[12:29:12] ==================== [SKIPPED] xe_mocs =====================
[12:29:12] ================= xe_migrate (2 subtests) ==================
[12:29:12] ================= xe_migrate_sanity_kunit  =================
[12:29:12] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[12:29:12] ================== xe_validate_ccs_kunit  ==================
[12:29:12] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[12:29:12] =================== [SKIPPED] xe_migrate ===================
[12:29:12] ================== xe_dma_buf (1 subtest) ==================
[12:29:12] ==================== xe_dma_buf_kunit  =====================
[12:29:12] ================ [SKIPPED] xe_dma_buf_kunit ================
[12:29:12] =================== [SKIPPED] xe_dma_buf ===================
[12:29:12] ================= xe_bo_shrink (1 subtest) =================
[12:29:12] =================== xe_bo_shrink_kunit  ====================
[12:29:12] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[12:29:12] ================== [SKIPPED] xe_bo_shrink ==================
[12:29:12] ==================== xe_bo (2 subtests) ====================
[12:29:12] ================== xe_ccs_migrate_kunit  ===================
[12:29:12] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[12:29:12] ==================== xe_bo_evict_kunit  ====================
[12:29:12] =============== [SKIPPED] xe_bo_evict_kunit ================
[12:29:12] ===================== [SKIPPED] xe_bo ======================
[12:29:12] ==================== args (11 subtests) ====================
[12:29:12] [PASSED] count_args_test
[12:29:12] [PASSED] call_args_example
[12:29:12] [PASSED] call_args_test
[12:29:12] [PASSED] drop_first_arg_example
[12:29:12] [PASSED] drop_first_arg_test
[12:29:12] [PASSED] first_arg_example
[12:29:12] [PASSED] first_arg_test
[12:29:12] [PASSED] last_arg_example
[12:29:12] [PASSED] last_arg_test
[12:29:12] [PASSED] pick_arg_example
[12:29:12] [PASSED] sep_comma_example
[12:29:12] ====================== [PASSED] args =======================
[12:29:12] =================== xe_pci (2 subtests) ====================
[12:29:12] ==================== check_graphics_ip  ====================
[12:29:12] [PASSED] 12.70 Xe_LPG
[12:29:12] [PASSED] 12.71 Xe_LPG
[12:29:12] [PASSED] 12.74 Xe_LPG+
[12:29:12] [PASSED] 20.01 Xe2_HPG
[12:29:12] [PASSED] 20.02 Xe2_HPG
[12:29:12] [PASSED] 20.04 Xe2_LPG
[12:29:12] [PASSED] 30.00 Xe3_LPG
[12:29:12] [PASSED] 30.01 Xe3_LPG
[12:29:12] [PASSED] 30.03 Xe3_LPG
[12:29:12] ================ [PASSED] check_graphics_ip ================
[12:29:12] ===================== check_media_ip  ======================
[12:29:12] [PASSED] 13.00 Xe_LPM+
[12:29:12] [PASSED] 13.01 Xe2_HPM
[12:29:12] [PASSED] 20.00 Xe2_LPM
[12:29:12] [PASSED] 30.00 Xe3_LPM
[12:29:12] [PASSED] 30.02 Xe3_LPM
stty: 'standard input': Inappropriate ioctl for device
[12:29:12] ================= [PASSED] check_media_ip ==================
[12:29:12] ===================== [PASSED] xe_pci ======================
[12:29:12] =================== xe_rtp (2 subtests) ====================
[12:29:12] =============== xe_rtp_process_to_sr_tests  ================
[12:29:12] [PASSED] coalesce-same-reg
[12:29:12] [PASSED] no-match-no-add
[12:29:12] [PASSED] match-or
[12:29:12] [PASSED] match-or-xfail
[12:29:12] [PASSED] no-match-no-add-multiple-rules
[12:29:12] [PASSED] two-regs-two-entries
[12:29:12] [PASSED] clr-one-set-other
[12:29:12] [PASSED] set-field
[12:29:12] [PASSED] conflict-duplicate
[12:29:12] [PASSED] conflict-not-disjoint
[12:29:12] [PASSED] conflict-reg-type
[12:29:12] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[12:29:12] ================== xe_rtp_process_tests  ===================
[12:29:12] [PASSED] active1
[12:29:12] [PASSED] active2
[12:29:12] [PASSED] active-inactive
[12:29:12] [PASSED] inactive-active
[12:29:12] [PASSED] inactive-1st_or_active-inactive
[12:29:12] [PASSED] inactive-2nd_or_active-inactive
[12:29:12] [PASSED] inactive-last_or_active-inactive
[12:29:12] [PASSED] inactive-no_or_active-inactive
[12:29:12] ============== [PASSED] xe_rtp_process_tests ===============
[12:29:12] ===================== [PASSED] xe_rtp ======================
[12:29:12] ==================== xe_wa (1 subtest) =====================
[12:29:12] ======================== xe_wa_gt  =========================
[12:29:12] [PASSED] TIGERLAKE (B0)
[12:29:12] [PASSED] DG1 (A0)
[12:29:12] [PASSED] DG1 (B0)
[12:29:12] [PASSED] ALDERLAKE_S (A0)
[12:29:12] [PASSED] ALDERLAKE_S (B0)
[12:29:12] [PASSED] ALDERLAKE_S (C0)
[12:29:12] [PASSED] ALDERLAKE_S (D0)
[12:29:12] [PASSED] ALDERLAKE_P (A0)
[12:29:12] [PASSED] ALDERLAKE_P (B0)
[12:29:12] [PASSED] ALDERLAKE_P (C0)
[12:29:12] [PASSED] ALDERLAKE_S_RPLS (D0)
[12:29:12] [PASSED] ALDERLAKE_P_RPLU (E0)
[12:29:12] [PASSED] DG2_G10 (C0)
[12:29:12] [PASSED] DG2_G11 (B1)
[12:29:12] [PASSED] DG2_G12 (A1)
[12:29:12] [PASSED] METEORLAKE (g:A0, m:A0)
[12:29:12] [PASSED] METEORLAKE (g:A0, m:A0)
[12:29:12] [PASSED] METEORLAKE (g:A0, m:A0)
[12:29:12] [PASSED] LUNARLAKE (g:A0, m:A0)
[12:29:12] [PASSED] LUNARLAKE (g:B0, m:A0)
[12:29:12] [PASSED] BATTLEMAGE (g:A0, m:A1)
[12:29:12] ==================== [PASSED] xe_wa_gt =====================
[12:29:12] ====================== [PASSED] xe_wa ======================
[12:29:12] ============================================================
[12:29:12] Testing complete. Ran 145 tests: passed: 129, skipped: 16
[12:29:12] Elapsed time: 37.651s total, 4.195s configuring, 33.139s building, 0.307s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [12:29:12] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [12:29:39] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

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

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

#14 lore raw

✓ Xe.CI.BAT: success for drm/xe: i2c support (rev6)

In reply to Heikki Krogerus
== Series Details ==

== Series Details ==

Series: drm/xe: i2c support (rev6)
URL : https://patchwork.freedesktop.org/series/149699/
State : success

== Summary ==

CI Bug Log - changes from xe-3328-9f3690735949ad5f24ece89cf2e91c2750ea580f_BAT -> xe-pw-149699v6_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

Changes
-------

No changes found

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

* Linux: xe-3328-9f3690735949ad5f24ece89cf2e91c2750ea580f -> xe-pw-149699v6

IGT_8432: 4871829d8b7117553eb2dc1bdb9a0d18de428a98 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-3328-9f3690735949ad5f24ece89cf2e91c2750ea580f: 9f3690735949ad5f24ece89cf2e91c2750ea580f
xe-pw-149699v6: 149699v6

== Logs ==

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

maintainer
#15 lore raw
In reply to Heikki Krogerus

Hi Heikki,

Quoted 3 lines

Heikki Krogerus (3):
i2c: designware: Use polling by default when there is no irq resource
i2c: designware: Add quirk for Intel Xe

I think you could have kept Jarkko's ack here. Up to you.

Anyone against me taking the two above already?

Andi

Quoted 7 lines

drm/xe: Support for I2C attached MCUs

Raag Jadav (1):
drm/xe/pm: Wire up suspend/resume for I2C controller

Riana Tauro (1):
drm/xe/xe_i2c: Add support for i2c in survivability mode

maintainer
#16 lore raw
Quoted 9 lines · Andi Shyti

Hi Heikki,

Quoted 3 lines

Heikki Krogerus (3):
i2c: designware: Use polling by default when there is no irq resource
i2c: designware: Add quirk for Intel Xe

I think you could have kept Jarkko's ack here. Up to you.

Anyone against me taking the two above already?

I was thinking about keeping Jarkko's ack and get all merged at once in drm-xe-next.

But first we need the SPDX headers in .c files fixed...

Quoted 10 lines

Andi

Quoted 7 lines

drm/xe: Support for I2C attached MCUs

Raag Jadav (1):
drm/xe/pm: Wire up suspend/resume for I2C controller

Riana Tauro (1):
drm/xe/xe_i2c: Add support for i2c in survivability mode

maintainer
#17 lore raw

Hi Rodrigo,

Quoted 11 lines · Rodrigo Vivi
Quoted 7 lines · Andi Shyti
Quoted 3 lines

Heikki Krogerus (3):
i2c: designware: Use polling by default when there is no irq resource
i2c: designware: Add quirk for Intel Xe

I think you could have kept Jarkko's ack here. Up to you.

Anyone against me taking the two above already?

I was thinking about keeping Jarkko's ack and get all merged at once in drm-xe-next.

fine with me.

Andi

maintainer Applied
#18 lore raw
Quoted 8 lines · Andi Shyti

Hi Rodrigo,

Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Andi Shyti
Quoted 3 lines

Heikki Krogerus (3):
i2c: designware: Use polling by default when there is no irq resource
i2c: designware: Add quirk for Intel Xe

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I think you could have kept Jarkko's ack here. Up to you.

Anyone against me taking the two above already?

I was thinking about keeping Jarkko's ack and get all merged at once in drm-xe-next.

fine with me.

pushed to drm-xe-next

I fixed the SPDX header and the tags while pushing it

thank you all!

Quoted 2 lines

Andi