Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes
@ 2025-12-10  6:22 Karthik Poosa
  2025-12-10  6:22 ` [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox Karthik Poosa
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose tempX_emergency and tempX_crit for package and vram,
representing shutdown and critical temperature thresholds.
These values are read via pcode thermal mailbox commands.

These are read using pcode thermal mailbox commands

v2: 
 - Expose memory controller, pcie and individual vram
   temperatures also.
 - Addressed some of review comments of v1 from KVP.

Karthik Poosa (7):
  drm/xe/hwmon: Read temperature limits using pcode mailbox
  drm/xe/hwmon: Expose tempX_emergency
  drm/xe/hwmon: Expose tempX_crit
  drm/xe/hwmon: Read thermal sensors count
  drm/xe/hwmon: Expose memory controller temperature
  drm/xe/hwmon: Expose GPU pcie temperature
  drm/xe/hwmon: Expose individual vram temperature

 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 104 +++++++
 drivers/gpu/drm/xe/regs/xe_pcode_regs.h       |   2 +
 drivers/gpu/drm/xe/xe_device_types.h          |   3 +
 drivers/gpu/drm/xe/xe_hwmon.c                 | 286 +++++++++++++++++-
 drivers/gpu/drm/xe/xe_pci.c                   |   5 +
 drivers/gpu/drm/xe/xe_pci_types.h             |   1 +
 drivers/gpu/drm/xe/xe_pcode_api.h             |   7 +
 7 files changed, 399 insertions(+), 9 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
@ 2025-12-10  6:22 ` Karthik Poosa
  2025-12-11 11:25   ` Nilawar, Badal
  2025-12-10  6:22 ` [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency Karthik Poosa
                   ` (8 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Add support to read temperature limits using pcode
thermal mailbox commands.

v2:
 - Fix documentation warnings.
 - Remove enum to xe_temp_limit as it is not used.
 - Add has_mbx_thermal_info.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 drivers/gpu/drm/xe/xe_device_types.h |  3 +++
 drivers/gpu/drm/xe/xe_hwmon.c        | 36 +++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_pci.c          |  5 ++++
 drivers/gpu/drm/xe/xe_pci_types.h    |  1 +
 drivers/gpu/drm/xe/xe_pcode_api.h    |  5 ++++
 5 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 842b33444944..be644a032f48 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -312,6 +312,9 @@ struct xe_device {
 		 * pcode mailbox commands.
 		 */
 		u8 has_mbx_power_limits:1;
+		/** @info.has_mbx_thermal_info: Device has support for mailbox thermal info.
+		 */
+		u8 has_mbx_thermal_info:1;
 		/** @info.has_mem_copy_instr: Device supports MEM_COPY instruction */
 		u8 has_mem_copy_instr:1;
 		/** @info.has_mert: Device has standalone MERT */
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index ff2aea52ef75..16f0cc2a0ae4 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -111,6 +111,18 @@ struct xe_hwmon_fan_info {
 	u64 time_prev;
 };
 
+/**
+ * struct xe_hwmon_thermal_info - to store temperature data
+ */
+struct xe_hwmon_thermal_info {
+	union {
+		/** @limits: temperatures limits */
+		u8 limit[8];
+		/** @data: limits data dwords */
+		u32 data[2];
+	};
+};
+
 /**
  * struct xe_hwmon - xe hwmon data structure
  */
@@ -137,7 +149,8 @@ struct xe_hwmon {
 	u32 pl1_on_boot[CHANNEL_MAX];
 	/** @pl2_on_boot: power limit PL2 on boot */
 	u32 pl2_on_boot[CHANNEL_MAX];
-
+	/** @temp: Temperature info */
+	struct xe_hwmon_thermal_info temp;
 };
 
 static int xe_hwmon_pcode_read_power_limit(const struct xe_hwmon *hwmon, u32 attr, int channel,
@@ -689,6 +702,25 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
 	NULL
 };
 
+static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
+{
+	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	int ret = 0;
+
+	if (!hwmon->xe->info.has_mbx_power_limits)
+		return -ENXIO;
+
+	/* Read thermal info */
+	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_LIMITS, 0),
+			    &hwmon->temp.data[0], &hwmon->temp.data[1]);
+	drm_dbg(&hwmon->xe->drm, "thermal info read ret %d, val 0x%x val1 0x%x\n", ret,
+		hwmon->temp.data[0], hwmon->temp.data[1]);
+	if (ret)
+		return ret;
+
+	return 0;
+}
+
 /* I1 is exposed as power_crit or as curr_crit depending on bit 31 */
 static int xe_hwmon_pcode_read_i1(const struct xe_hwmon *hwmon, u32 *uval)
 {
@@ -1263,6 +1295,8 @@ xe_hwmon_get_preregistration_info(struct xe_hwmon *hwmon)
 	for (channel = 0; channel < FAN_MAX; channel++)
 		if (xe_hwmon_is_visible(hwmon, hwmon_fan, hwmon_fan_input, channel))
 			xe_hwmon_fan_input_read(hwmon, channel, &fan_speed);
+
+	xe_hwmon_pcode_read_thermal_info(hwmon);
 }
 
 int xe_hwmon_register(struct xe_device *xe)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 8dd0ea9d1d56..7b3396f8d488 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -310,6 +310,7 @@ static const struct xe_device_desc dg2_desc = {
 	.has_display = true,
 	.has_fan_control = true,
 	.has_mbx_power_limits = false,
+	.has_mbx_thermal_info = false,
 };
 
 static const __maybe_unused struct xe_device_desc pvc_desc = {
@@ -327,6 +328,7 @@ static const __maybe_unused struct xe_device_desc pvc_desc = {
 	.vm_max_level = 4,
 	.vram_flags = XE_VRAM_FLAGS_NEED64K,
 	.has_mbx_power_limits = false,
+	.has_mbx_thermal_info = false,
 };
 
 static const struct xe_device_desc mtl_desc = {
@@ -364,6 +366,7 @@ static const struct xe_device_desc bmg_desc = {
 	.has_fan_control = true,
 	.has_flat_ccs = 1,
 	.has_mbx_power_limits = true,
+	.has_mbx_thermal_info = true,
 	.has_gsc_nvm = 1,
 	.has_heci_cscfi = 1,
 	.has_late_bind = true,
@@ -412,6 +415,7 @@ static const struct xe_device_desc cri_desc = {
 	.has_display = false,
 	.has_flat_ccs = false,
 	.has_mbx_power_limits = true,
+	.has_mbx_thermal_info = true,
 	.has_mert = true,
 	.has_sriov = true,
 	.max_gt_per_tile = 2,
@@ -674,6 +678,7 @@ static int xe_info_init_early(struct xe_device *xe,
 	/* runtime fusing may force flat_ccs to disabled later */
 	xe->info.has_flat_ccs = desc->has_flat_ccs;
 	xe->info.has_mbx_power_limits = desc->has_mbx_power_limits;
+	xe->info.has_mbx_thermal_info = desc->has_mbx_thermal_info;
 	xe->info.has_gsc_nvm = desc->has_gsc_nvm;
 	xe->info.has_heci_gscfi = desc->has_heci_gscfi;
 	xe->info.has_heci_cscfi = desc->has_heci_cscfi;
diff --git a/drivers/gpu/drm/xe/xe_pci_types.h b/drivers/gpu/drm/xe/xe_pci_types.h
index f19f35359696..d70da993c1e3 100644
--- a/drivers/gpu/drm/xe/xe_pci_types.h
+++ b/drivers/gpu/drm/xe/xe_pci_types.h
@@ -47,6 +47,7 @@ struct xe_device_desc {
 	u8 has_late_bind:1;
 	u8 has_llc:1;
 	u8 has_mbx_power_limits:1;
+	u8 has_mbx_thermal_info:1;
 	u8 has_mem_copy_instr:1;
 	u8 has_mert:1;
 	u8 has_pxp:1;
diff --git a/drivers/gpu/drm/xe/xe_pcode_api.h b/drivers/gpu/drm/xe/xe_pcode_api.h
index 70dcd6625680..16201da0cf6b 100644
--- a/drivers/gpu/drm/xe/xe_pcode_api.h
+++ b/drivers/gpu/drm/xe/xe_pcode_api.h
@@ -65,6 +65,11 @@
 #define       FAN_TABLE				1
 #define       VR_CONFIG				2
 
+#define	PCODE_THERMAL_INFO			0x25
+#define	READ_THERMAL_LIMITS			0x0
+#define	READ_THERMAL_CONFIG			0x1
+#define	READ_THERMAL_DATA			0x2
+
 #define   PCODE_FREQUENCY_CONFIG		0x6e
 /* Frequency Config Sub Commands (param1) */
 #define     PCODE_MBOX_FC_SC_READ_FUSED_P0	0x0
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
  2025-12-10  6:22 ` [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox Karthik Poosa
@ 2025-12-10  6:22 ` Karthik Poosa
  2025-12-11 11:46   ` Nilawar, Badal
  2025-12-10  6:22 ` [PATCH v2 3/7] drm/xe/hwmon: Expose tempX_crit Karthik Poosa
                   ` (7 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose shutdown temperature as tempX_emergency for package
and vram.
Update Xe hwmon documentation for this entry.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 16 ++++++++
 drivers/gpu/drm/xe/xe_hwmon.c                 | 39 +++++++++++++++++--
 2 files changed, 52 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
index d9e2b17c6872..feb33e5ccabc 100644
--- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
@@ -196,3 +196,19 @@ Description:	RW. Package burst power limit interval (Tau in PL2/Tau) in
 		milliseconds over which sustained power is averaged.
 
 		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp2_emergency
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Package shutdown temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp3_emergency
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. VRAM shutdown temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index 16f0cc2a0ae4..2dcb9ad74a6e 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -53,6 +53,14 @@ enum xe_fan_channel {
 	FAN_MAX,
 };
 
+enum xe_temp_limit {
+	TEMP_LIMIT_PKG_SHUTDOWN,
+	TEMP_LIMIT_PKG_TJMAX,
+	TEMP_LIMIT_MEM_SHUTDOWN,
+	TEMP_LIMIT_PKG_CRIT,
+	TEMP_LIMIT_MEM_TJMAX,
+};
+
 /* Attribute index for powerX_xxx_interval sysfs entries */
 enum sensor_attr_power {
 	SENSOR_INDEX_PSYS_PL1,
@@ -690,8 +698,10 @@ static const struct attribute_group *hwmon_groups[] = {
 };
 
 static const struct hwmon_channel_info * const hwmon_info[] = {
-	HWMON_CHANNEL_INFO(temp, HWMON_T_LABEL, HWMON_T_INPUT | HWMON_T_LABEL,
-			   HWMON_T_INPUT | HWMON_T_LABEL),
+	HWMON_CHANNEL_INFO(temp,
+			   HWMON_T_LABEL,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY),
 	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
 			   HWMON_P_CAP,
 			   HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CAP),
@@ -819,6 +829,16 @@ static umode_t
 xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 {
 	switch (attr) {
+	case hwmon_temp_emergency:
+		switch (channel) {
+		case CHANNEL_PKG:
+			return hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] ? 0444 : 0;
+		case CHANNEL_VRAM:
+			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
+		default:
+			return 0;
+		}
+		break;
 	case hwmon_temp_input:
 	case hwmon_temp_label:
 		return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP, channel)) ? 0444 : 0;
@@ -839,10 +859,23 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 
 		/* HW register value is in degrees Celsius, convert to millidegrees. */
 		*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
-		return 0;
+		break;
+	case hwmon_temp_emergency:
+		switch (channel) {
+		case CHANNEL_PKG:
+			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
+			break;
+		case CHANNEL_VRAM:
+			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
+			break;
+		default:
+			return -EOPNOTSUPP;
+		}
+		break;
 	default:
 		return -EOPNOTSUPP;
 	}
+	return 0;
 }
 
 static umode_t
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 3/7] drm/xe/hwmon: Expose tempX_crit
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
  2025-12-10  6:22 ` [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox Karthik Poosa
  2025-12-10  6:22 ` [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency Karthik Poosa
@ 2025-12-10  6:22 ` Karthik Poosa
  2025-12-10  6:22 ` [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count Karthik Poosa
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose critical temperature of as tempX_crit for package and
vram.
Update Xe hwmon documentation for this entry.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 16 +++++++++++
 drivers/gpu/drm/xe/xe_hwmon.c                 | 28 +++++++++++++++++--
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
index feb33e5ccabc..60bc71ce9951 100644
--- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
@@ -212,3 +212,19 @@ Contact:	intel-xe@lists.freedesktop.org
 Description:	RO. VRAM shutdown temperature in millidegree Celsius.
 
 		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp2_crit
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Package critical temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp3_crit
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. VRAM critical temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index 2dcb9ad74a6e..c4a200cc2c23 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -700,8 +700,8 @@ static const struct attribute_group *hwmon_groups[] = {
 static const struct hwmon_channel_info * const hwmon_info[] = {
 	HWMON_CHANNEL_INFO(temp,
 			   HWMON_T_LABEL,
-			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY,
-			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY),
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT),
 	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
 			   HWMON_P_CAP,
 			   HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CAP),
@@ -839,6 +839,16 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 			return 0;
 		}
 		break;
+	case hwmon_temp_crit:
+		switch (channel) {
+		case CHANNEL_PKG:
+			return hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] ? 0444 : 0;
+		case CHANNEL_VRAM:
+			return hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] ? 0444 : 0;
+		default:
+			return 0;
+		}
+		break;
 	case hwmon_temp_input:
 	case hwmon_temp_label:
 		return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP, channel)) ? 0444 : 0;
@@ -869,6 +879,20 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		default:
+			*val = 0;
+			return -EOPNOTSUPP;
+		}
+		break;
+	case hwmon_temp_crit:
+		switch (channel) {
+		case CHANNEL_PKG:
+			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] * MILLIDEGREE_PER_DEGREE;
+			break;
+		case CHANNEL_VRAM:
+			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] * MILLIDEGREE_PER_DEGREE;
+			break;
+		default:
+			*val = 0;
 			return -EOPNOTSUPP;
 		}
 		break;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (2 preceding siblings ...)
  2025-12-10  6:22 ` [PATCH v2 3/7] drm/xe/hwmon: Expose tempX_crit Karthik Poosa
@ 2025-12-10  6:22 ` Karthik Poosa
  2025-12-11 17:28   ` Nilawar, Badal
  2025-12-10  6:22 ` [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature Karthik Poosa
                   ` (5 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Read number of thermal sensors available.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 drivers/gpu/drm/xe/xe_hwmon.c | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index c4a200cc2c23..e843021d13ec 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -99,6 +99,11 @@ enum sensor_attr_power {
  */
 #define PL_WRITE_MBX_TIMEOUT_MS	(1)
 
+/*
+ * Number of thermal sensors.
+ */
+#define MAX_THERMAL_SENSORS    (11)
+
 /**
  * struct xe_hwmon_energy_info - to accumulate energy
  */
@@ -126,9 +131,11 @@ struct xe_hwmon_thermal_info {
 	union {
 		/** @limits: temperatures limits */
 		u8 limit[8];
-		/** @data: limits data dwords */
-		u32 data[2];
+		/** @dword: limit dwords */
+		u32 dword[2];
 	};
+	/** @count: no of temperature sensors */
+	u8 count;
 };
 
 /**
@@ -716,18 +723,31 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
 {
 	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
 	int ret = 0;
+	u32 val = 0;
 
 	if (!hwmon->xe->info.has_mbx_power_limits)
 		return -ENXIO;
 
 	/* Read thermal info */
 	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_LIMITS, 0),
-			    &hwmon->temp.data[0], &hwmon->temp.data[1]);
+			    &hwmon->temp.dword[0], &hwmon->temp.dword[1]);
 	drm_dbg(&hwmon->xe->drm, "thermal info read ret %d, val 0x%x val1 0x%x\n", ret,
-		hwmon->temp.data[0], hwmon->temp.data[1]);
+		hwmon->temp.dword[0], hwmon->temp.dword[1]);
 	if (ret)
 		return ret;
 
+	/* Read thermal config */
+	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_CONFIG, 0),
+			    &val, NULL);
+	drm_dbg(&hwmon->xe->drm, "thermal config read ret %d, count %d\n", ret, val);
+	if (ret)
+		return ret;
+
+	hwmon->temp.count = val & TEMP_MASK;
+	if (hwmon->temp.count > MAX_THERMAL_SENSORS)
+		drm_warn(&hwmon->xe->drm, "thermal config count %d exceeds supported limit %d\n",
+			 hwmon->temp.count, MAX_THERMAL_SENSORS);
+
 	return 0;
 }
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (3 preceding siblings ...)
  2025-12-10  6:22 ` [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count Karthik Poosa
@ 2025-12-10  6:22 ` Karthik Poosa
  2025-12-11 17:32   ` Nilawar, Badal
  2025-12-10  6:23 ` [PATCH v2 6/7] drm/xe/hwmon: Expose GPU pcie temperature Karthik Poosa
                   ` (4 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:22 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose GPU memory controller temperatures under temp4_xxx.
Update Xe hwmon documentation for this.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 24 +++++++
 drivers/gpu/drm/xe/xe_hwmon.c                 | 68 ++++++++++++++++++-
 drivers/gpu/drm/xe/xe_pcode_api.h             |  2 +
 3 files changed, 93 insertions(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
index 60bc71ce9951..7e1765312696 100644
--- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
@@ -228,3 +228,27 @@ Contact:	intel-xe@lists.freedesktop.org
 Description:	RO. VRAM critical temperature in millidegree Celsius.
 
 		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_input
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Memory controller average temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_emergency
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Memory controller shutodwn temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_crit
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Memory controller critical temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index e843021d13ec..783f6e40847c 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -43,6 +43,7 @@ enum xe_hwmon_channel {
 	CHANNEL_CARD,
 	CHANNEL_PKG,
 	CHANNEL_VRAM,
+	CHANNEL_MCTRL,
 	CHANNEL_MAX,
 };
 
@@ -136,6 +137,8 @@ struct xe_hwmon_thermal_info {
 	};
 	/** @count: no of temperature sensors */
 	u8 count;
+	/** @value: value from each sensors S1.7 format. */
+	u8 value[MAX_THERMAL_SENSORS];
 };
 
 /**
@@ -708,6 +711,7 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
 	HWMON_CHANNEL_INFO(temp,
 			   HWMON_T_LABEL,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT),
 	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
 			   HWMON_P_CAP,
@@ -747,7 +751,38 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
 	if (hwmon->temp.count > MAX_THERMAL_SENSORS)
 		drm_warn(&hwmon->xe->drm, "thermal config count %d exceeds supported limit %d\n",
 			 hwmon->temp.count, MAX_THERMAL_SENSORS);
+	return 0;
+}
 
+static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
+{
+	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	int ret = 0, i = 0;
+
+	for (i = 0; i < (hwmon->temp.count / 4); i++) {
+		/* Read thermal data */
+		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
+				    (uint32_t *)&hwmon->temp.value[i * 4], NULL);
+		drm_dbg(&hwmon->xe->drm, "thermal data for group %d ret %d, val 0x%x\n", i, ret,
+			(u32)hwmon->temp.value[i * 4]);
+		if (ret)
+			return ret;
+	}
+	if (hwmon->temp.count % 4) {
+		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
+				    (uint32_t *)&hwmon->temp.value[i * 4], NULL);
+		drm_dbg(&hwmon->xe->drm, "thermal data for group %d ret %d, val 0x%x\n", i, ret,
+			(u32)hwmon->temp.value[i * 4]);
+		if (ret)
+			return ret;
+	}
+
+	*val = 0;
+	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count; i++) {
+		*val += (hwmon->temp.value[i] & TEMP_MASK_MAILBOX) *
+			((hwmon->temp.value[i] & 0x80) ? -1 : 1);
+	}
+	*val = (*val / hwmon->temp.count) * MILLIDEGREE_PER_DEGREE;
 	return 0;
 }
 
@@ -848,6 +883,8 @@ static void xe_hwmon_get_voltage(struct xe_hwmon *hwmon, int channel, long *valu
 static umode_t
 xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 {
+	long val = 0;
+
 	switch (attr) {
 	case hwmon_temp_emergency:
 		switch (channel) {
@@ -855,6 +892,8 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 			return hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] ? 0444 : 0;
 		case CHANNEL_VRAM:
 			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
+		case CHANNEL_MCTRL:
+			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -865,13 +904,25 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 			return hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] ? 0444 : 0;
 		case CHANNEL_VRAM:
 			return hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] ? 0444 : 0;
+		case CHANNEL_MCTRL:
+			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
 		default:
 			return 0;
 		}
 		break;
 	case hwmon_temp_input:
 	case hwmon_temp_label:
-		return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP, channel)) ? 0444 : 0;
+		switch (channel) {
+		case CHANNEL_PKG:
+		case CHANNEL_VRAM:
+			return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
+								channel)) ? 0444 : 0;
+		case CHANNEL_MCTRL:
+			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
+		default:
+			return 0;
+		}
+		break;
 	default:
 		return 0;
 	}
@@ -885,17 +936,29 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 
 	switch (attr) {
 	case hwmon_temp_input:
+		switch (channel) {
+		case CHANNEL_MCTRL:
+			return get_mc_temp(hwmon, val);
+		break;
+		case CHANNEL_PKG:
+		case CHANNEL_VRAM:
 		reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
 
 		/* HW register value is in degrees Celsius, convert to millidegrees. */
 		*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
 		break;
+		default:
+			*val = 0;
+			return -EOPNOTSUPP;
+		}
+		break;
 	case hwmon_temp_emergency:
 		switch (channel) {
 		case CHANNEL_PKG:
 			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		case CHANNEL_VRAM:
+		case CHANNEL_MCTRL:
 			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		default:
@@ -909,6 +972,7 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] * MILLIDEGREE_PER_DEGREE;
 			break;
 		case CHANNEL_VRAM:
+		case CHANNEL_MCTRL:
 			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] * MILLIDEGREE_PER_DEGREE;
 			break;
 		default:
@@ -1278,6 +1342,8 @@ static int xe_hwmon_read_label(struct device *dev,
 			*str = "pkg";
 		else if (channel == CHANNEL_VRAM)
 			*str = "vram";
+		else if (channel == CHANNEL_MCTRL)
+			*str = "mctrl_avg";
 		return 0;
 	case hwmon_power:
 	case hwmon_energy:
diff --git a/drivers/gpu/drm/xe/xe_pcode_api.h b/drivers/gpu/drm/xe/xe_pcode_api.h
index 16201da0cf6b..53d826e24273 100644
--- a/drivers/gpu/drm/xe/xe_pcode_api.h
+++ b/drivers/gpu/drm/xe/xe_pcode_api.h
@@ -69,6 +69,8 @@
 #define	READ_THERMAL_LIMITS			0x0
 #define	READ_THERMAL_CONFIG			0x1
 #define	READ_THERMAL_DATA			0x2
+#define TEMP_MASK_MAILBOX			REG_GENMASK8(6, 0)
+#define TEMP_INDEX_MCTRL			0x2
 
 #define   PCODE_FREQUENCY_CONFIG		0x6e
 /* Frequency Config Sub Commands (param1) */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 6/7] drm/xe/hwmon: Expose GPU pcie temperature
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (4 preceding siblings ...)
  2025-12-10  6:22 ` [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature Karthik Poosa
@ 2025-12-10  6:23 ` Karthik Poosa
  2025-12-10  6:23 ` [PATCH v2 7/7] drm/xe/hwmon: Expose individual vram temperature Karthik Poosa
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:23 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose GPU PCIe temperature via hwmon sysfs temp5_xxx.
Update Xe hwmon sysfs documentation for this.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 24 ++++++++++
 drivers/gpu/drm/xe/xe_hwmon.c                 | 44 +++++++++++++++++--
 2 files changed, 65 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
index 7e1765312696..befb8f4bdd6d 100644
--- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
@@ -252,3 +252,27 @@ Contact:	intel-xe@lists.freedesktop.org
 Description:	RO. Memory controller critical temperature in millidegree Celsius.
 
 		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp5_input
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. PCIe temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp5_emergency
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. PCIe shutdown temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp5_crit
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. PCIe critical temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index 783f6e40847c..7b108bb025d9 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -44,6 +44,7 @@ enum xe_hwmon_channel {
 	CHANNEL_PKG,
 	CHANNEL_VRAM,
 	CHANNEL_MCTRL,
+	CHANNEL_PCIE,
 	CHANNEL_MAX,
 };
 
@@ -712,6 +713,7 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
 			   HWMON_T_LABEL,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT),
 	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
 			   HWMON_P_CAP,
@@ -786,6 +788,28 @@ static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
 	return 0;
 }
 
+static int get_pcie_temp(struct xe_hwmon *hwmon, long *val)
+{
+	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
+	int ret = 0;
+	u32 data = 0;
+
+	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, 2),
+			    &data, NULL);
+	drm_dbg(&hwmon->xe->drm, "thermal data for pcie ret %d, val 0x%x\n", ret, data);
+	if (ret)
+		return ret;
+
+	if (hwmon->xe->info.subplatform != XE_SUBPLATFORM_BATTLEMAGE_G21)
+		data >>= 8;
+	*val = (data & TEMP_MASK_MAILBOX) * MILLIDEGREE_PER_DEGREE;
+
+	if (data & 0x80)
+		*val = *val * -1;
+
+	return 0;
+}
+
 /* I1 is exposed as power_crit or as curr_crit depending on bit 31 */
 static int xe_hwmon_pcode_read_i1(const struct xe_hwmon *hwmon, u32 *uval)
 {
@@ -894,6 +918,8 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
 		case CHANNEL_MCTRL:
 			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
+		case CHANNEL_PCIE:
+			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -906,6 +932,8 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 			return hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] ? 0444 : 0;
 		case CHANNEL_MCTRL:
 			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
+		case CHANNEL_PCIE:
+			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -919,6 +947,9 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 								channel)) ? 0444 : 0;
 		case CHANNEL_MCTRL:
 			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
+			break;
+		case CHANNEL_PCIE:
+			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
 			return 0;
 		}
@@ -940,12 +971,15 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 		case CHANNEL_MCTRL:
 			return get_mc_temp(hwmon, val);
 		break;
+		case CHANNEL_PCIE:
+			return get_pcie_temp(hwmon, val);
+		break;
 		case CHANNEL_PKG:
 		case CHANNEL_VRAM:
-		reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
+			reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
 
-		/* HW register value is in degrees Celsius, convert to millidegrees. */
-		*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
+			/* HW register value is in degrees Celsius, convert to millidegrees. */
+			*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
 		break;
 		default:
 			*val = 0;
@@ -955,6 +989,7 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 	case hwmon_temp_emergency:
 		switch (channel) {
 		case CHANNEL_PKG:
+		case CHANNEL_PCIE:
 			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		case CHANNEL_VRAM:
@@ -969,6 +1004,7 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 	case hwmon_temp_crit:
 		switch (channel) {
 		case CHANNEL_PKG:
+		case CHANNEL_PCIE:
 			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] * MILLIDEGREE_PER_DEGREE;
 			break;
 		case CHANNEL_VRAM:
@@ -1344,6 +1380,8 @@ static int xe_hwmon_read_label(struct device *dev,
 			*str = "vram";
 		else if (channel == CHANNEL_MCTRL)
 			*str = "mctrl_avg";
+		else if (channel == CHANNEL_PCIE)
+			*str = "pcie";
 		return 0;
 	case hwmon_power:
 	case hwmon_energy:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2 7/7] drm/xe/hwmon: Expose individual vram temperature
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (5 preceding siblings ...)
  2025-12-10  6:23 ` [PATCH v2 6/7] drm/xe/hwmon: Expose GPU pcie temperature Karthik Poosa
@ 2025-12-10  6:23 ` Karthik Poosa
  2025-12-11  9:16 ` ✓ CI.KUnit: success for drm/xe/hwmon: Expose new temperature attributes (rev3) Patchwork
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Karthik Poosa @ 2025-12-10  6:23 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, rodrigo.vivi, raag.jadav,
	riana.tauro, Karthik Poosa

Expose individual VRAM temperature attributes.
Update Xe hwmon documentation for this entry.

Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
---
 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 24 ++++++
 drivers/gpu/drm/xe/regs/xe_pcode_regs.h       |  2 +
 drivers/gpu/drm/xe/xe_hwmon.c                 | 77 ++++++++++++++++---
 3 files changed, 91 insertions(+), 12 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
index befb8f4bdd6d..563888d96ccd 100644
--- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
+++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
@@ -276,3 +276,27 @@ Contact:	intel-xe@lists.freedesktop.org
 Description:	RO. PCIe critical temperature in millidegree Celsius.
 
 		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp6-21_input
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Individual VRAM temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp6-21_emergency
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Individual VRAM shutdown temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
+
+What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp6-21_crit
+Date:		December 2025
+KernelVersion:	6.18
+Contact:	intel-xe@lists.freedesktop.org
+Description:	RO. Individual VRAM critical temperature in millidegree Celsius.
+
+		Only supported for particular Intel Xe graphics platforms.
diff --git a/drivers/gpu/drm/xe/regs/xe_pcode_regs.h b/drivers/gpu/drm/xe/regs/xe_pcode_regs.h
index fb097607b86c..7c35e2605d2f 100644
--- a/drivers/gpu/drm/xe/regs/xe_pcode_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_pcode_regs.h
@@ -23,5 +23,7 @@
 #define BMG_FAN_3_SPEED				XE_REG(0x1381a0)
 #define BMG_VRAM_TEMPERATURE			XE_REG(0x1382c0)
 #define BMG_PACKAGE_TEMPERATURE			XE_REG(0x138434)
+#define BMG_VRAM_TEMPERATURE_N(n)		XE_REG(0x138260 + (n))
+#define TEMP_MASK_VRAM_N			REG_GENMASK(31, 8)
 
 #endif /* _XE_PCODE_REGS_H_ */
diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index 7b108bb025d9..d77ed403e258 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -39,12 +39,16 @@ enum xe_hwmon_reg_operation {
 	REG_READ64,
 };
 
+#define MAX_VRAM_CHANNELS      (16)
+
 enum xe_hwmon_channel {
 	CHANNEL_CARD,
 	CHANNEL_PKG,
 	CHANNEL_VRAM,
 	CHANNEL_MCTRL,
 	CHANNEL_PCIE,
+	CHANNEL_VRAM_N,
+	CHANNEL_VRAM_N_MAX = CHANNEL_VRAM_N + MAX_VRAM_CHANNELS,
 	CHANNEL_MAX,
 };
 
@@ -256,6 +260,8 @@ static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg
 				return BMG_PACKAGE_TEMPERATURE;
 			else if (channel == CHANNEL_VRAM)
 				return BMG_VRAM_TEMPERATURE;
+			else if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX)
+				return BMG_VRAM_TEMPERATURE_N(((channel % CHANNEL_VRAM_N) * 4));
 		} else if (xe->info.platform == XE_DG2) {
 			if (channel == CHANNEL_PKG)
 				return PCU_CR_PACKAGE_TEMPERATURE;
@@ -714,6 +720,22 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
+			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
 			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT),
 	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
 			   HWMON_P_CAP,
@@ -921,7 +943,11 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_PCIE:
 			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
-			return 0;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX)
+				return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
+						       channel)) ? 0444 : 0;
+			else
+				return 0;
 		}
 		break;
 	case hwmon_temp_crit:
@@ -935,7 +961,11 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_PCIE:
 			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
-			return 0;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX)
+				return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
+						       channel)) ? 0444 : 0;
+			else
+				return 0;
 		}
 		break;
 	case hwmon_temp_input:
@@ -951,7 +981,11 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
 		case CHANNEL_PCIE:
 			return (!get_pcie_temp(hwmon, &val)) ? 0444 : 0;
 		default:
-			return 0;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX)
+				return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
+						       channel)) ? 0444 : 0;
+			else
+				return 0;
 		}
 		break;
 	default:
@@ -977,28 +1011,40 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 		case CHANNEL_PKG:
 		case CHANNEL_VRAM:
 			reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
-
 			/* HW register value is in degrees Celsius, convert to millidegrees. */
 			*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
 		break;
 		default:
-			*val = 0;
-			return -EOPNOTSUPP;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX) {
+				reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP,
+										channel));
+				/* Temperature format here is S 31.23.8 */
+				*val = REG_FIELD_GET(TEMP_MASK_VRAM_N, reg_val) *
+				       ((reg_val >> 31) ? -1 : 1) * MILLIDEGREE_PER_DEGREE;
+			} else {
+				*val = 0;
+				return -EOPNOTSUPP;
+			}
 		}
 		break;
 	case hwmon_temp_emergency:
 		switch (channel) {
 		case CHANNEL_PKG:
 		case CHANNEL_PCIE:
+		case CHANNEL_MCTRL:
 			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		case CHANNEL_VRAM:
-		case CHANNEL_MCTRL:
 			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
 			break;
 		default:
-			*val = 0;
-			return -EOPNOTSUPP;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX) {
+				*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] *
+				       MILLIDEGREE_PER_DEGREE;
+			} else {
+				*val = 0;
+				return -EOPNOTSUPP;
+			}
 		}
 		break;
 	case hwmon_temp_crit:
@@ -1012,8 +1058,13 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
 			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] * MILLIDEGREE_PER_DEGREE;
 			break;
 		default:
-			*val = 0;
-			return -EOPNOTSUPP;
+			if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX) {
+				*val = hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] *
+				       MILLIDEGREE_PER_DEGREE;
+			} else {
+				*val = 0;
+				return -EOPNOTSUPP;
+			}
 		}
 		break;
 	default:
@@ -1377,11 +1428,13 @@ static int xe_hwmon_read_label(struct device *dev,
 		if (channel == CHANNEL_PKG)
 			*str = "pkg";
 		else if (channel == CHANNEL_VRAM)
-			*str = "vram";
+			*str = "vram_total";
 		else if (channel == CHANNEL_MCTRL)
 			*str = "mctrl_avg";
 		else if (channel == CHANNEL_PCIE)
 			*str = "pcie";
+		else if (channel >= CHANNEL_VRAM_N && channel <= CHANNEL_VRAM_N_MAX)
+			*str = "vram";
 		return 0;
 	case hwmon_power:
 	case hwmon_energy:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* ✓ CI.KUnit: success for drm/xe/hwmon: Expose new temperature attributes (rev3)
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (6 preceding siblings ...)
  2025-12-10  6:23 ` [PATCH v2 7/7] drm/xe/hwmon: Expose individual vram temperature Karthik Poosa
@ 2025-12-11  9:16 ` Patchwork
  2025-12-11 10:17 ` ✓ Xe.CI.BAT: " Patchwork
  2025-12-11 19:28 ` ✗ Xe.CI.Full: failure " Patchwork
  9 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2025-12-11  9:16 UTC (permalink / raw)
  To: Karthik Poosa; +Cc: intel-xe

== Series Details ==

Series: drm/xe/hwmon: Expose new temperature attributes (rev3)
URL   : https://patchwork.freedesktop.org/series/158384/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[09:14:31] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[09:14:35] 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
[09:15:06] Starting KUnit Kernel (1/1)...
[09:15:06] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[09:15:06] ================== guc_buf (11 subtests) ===================
[09:15:06] [PASSED] test_smallest
[09:15:06] [PASSED] test_largest
[09:15:06] [PASSED] test_granular
[09:15:06] [PASSED] test_unique
[09:15:06] [PASSED] test_overlap
[09:15:06] [PASSED] test_reusable
[09:15:06] [PASSED] test_too_big
[09:15:06] [PASSED] test_flush
[09:15:06] [PASSED] test_lookup
[09:15:06] [PASSED] test_data
[09:15:06] [PASSED] test_class
[09:15:06] ===================== [PASSED] guc_buf =====================
[09:15:06] =================== guc_dbm (7 subtests) ===================
[09:15:06] [PASSED] test_empty
[09:15:06] [PASSED] test_default
[09:15:06] ======================== test_size  ========================
[09:15:06] [PASSED] 4
[09:15:06] [PASSED] 8
[09:15:06] [PASSED] 32
[09:15:06] [PASSED] 256
[09:15:06] ==================== [PASSED] test_size ====================
[09:15:06] ======================= test_reuse  ========================
[09:15:06] [PASSED] 4
[09:15:06] [PASSED] 8
[09:15:06] [PASSED] 32
[09:15:06] [PASSED] 256
[09:15:06] =================== [PASSED] test_reuse ====================
[09:15:06] =================== test_range_overlap  ====================
[09:15:06] [PASSED] 4
[09:15:06] [PASSED] 8
[09:15:06] [PASSED] 32
[09:15:06] [PASSED] 256
[09:15:06] =============== [PASSED] test_range_overlap ================
[09:15:06] =================== test_range_compact  ====================
[09:15:06] [PASSED] 4
[09:15:06] [PASSED] 8
[09:15:06] [PASSED] 32
[09:15:06] [PASSED] 256
[09:15:06] =============== [PASSED] test_range_compact ================
[09:15:06] ==================== test_range_spare  =====================
[09:15:06] [PASSED] 4
[09:15:06] [PASSED] 8
[09:15:06] [PASSED] 32
[09:15:06] [PASSED] 256
[09:15:06] ================ [PASSED] test_range_spare =================
[09:15:06] ===================== [PASSED] guc_dbm =====================
[09:15:06] =================== guc_idm (6 subtests) ===================
[09:15:06] [PASSED] bad_init
[09:15:06] [PASSED] no_init
[09:15:06] [PASSED] init_fini
[09:15:06] [PASSED] check_used
[09:15:06] [PASSED] check_quota
[09:15:06] [PASSED] check_all
[09:15:06] ===================== [PASSED] guc_idm =====================
[09:15:06] ================== no_relay (3 subtests) ===================
[09:15:06] [PASSED] xe_drops_guc2pf_if_not_ready
[09:15:06] [PASSED] xe_drops_guc2vf_if_not_ready
[09:15:06] [PASSED] xe_rejects_send_if_not_ready
[09:15:06] ==================== [PASSED] no_relay =====================
[09:15:06] ================== pf_relay (14 subtests) ==================
[09:15:06] [PASSED] pf_rejects_guc2pf_too_short
[09:15:06] [PASSED] pf_rejects_guc2pf_too_long
[09:15:06] [PASSED] pf_rejects_guc2pf_no_payload
[09:15:06] [PASSED] pf_fails_no_payload
[09:15:06] [PASSED] pf_fails_bad_origin
[09:15:06] [PASSED] pf_fails_bad_type
[09:15:06] [PASSED] pf_txn_reports_error
[09:15:06] [PASSED] pf_txn_sends_pf2guc
[09:15:06] [PASSED] pf_sends_pf2guc
[09:15:06] [SKIPPED] pf_loopback_nop
[09:15:06] [SKIPPED] pf_loopback_echo
[09:15:06] [SKIPPED] pf_loopback_fail
[09:15:06] [SKIPPED] pf_loopback_busy
[09:15:06] [SKIPPED] pf_loopback_retry
[09:15:06] ==================== [PASSED] pf_relay =====================
[09:15:06] ================== vf_relay (3 subtests) ===================
[09:15:06] [PASSED] vf_rejects_guc2vf_too_short
[09:15:06] [PASSED] vf_rejects_guc2vf_too_long
[09:15:06] [PASSED] vf_rejects_guc2vf_no_payload
[09:15:06] ==================== [PASSED] vf_relay =====================
[09:15:06] ================ pf_gt_config (6 subtests) =================
[09:15:06] [PASSED] fair_contexts_1vf
[09:15:06] [PASSED] fair_doorbells_1vf
[09:15:06] [PASSED] fair_ggtt_1vf
[09:15:06] ====================== fair_contexts  ======================
[09:15:06] [PASSED] 1 VF
[09:15:06] [PASSED] 2 VFs
[09:15:06] [PASSED] 3 VFs
[09:15:06] [PASSED] 4 VFs
[09:15:06] [PASSED] 5 VFs
[09:15:06] [PASSED] 6 VFs
[09:15:06] [PASSED] 7 VFs
[09:15:06] [PASSED] 8 VFs
[09:15:06] [PASSED] 9 VFs
[09:15:06] [PASSED] 10 VFs
[09:15:06] [PASSED] 11 VFs
[09:15:06] [PASSED] 12 VFs
[09:15:06] [PASSED] 13 VFs
[09:15:06] [PASSED] 14 VFs
[09:15:06] [PASSED] 15 VFs
[09:15:06] [PASSED] 16 VFs
[09:15:06] [PASSED] 17 VFs
[09:15:06] [PASSED] 18 VFs
[09:15:06] [PASSED] 19 VFs
[09:15:06] [PASSED] 20 VFs
[09:15:06] [PASSED] 21 VFs
[09:15:06] [PASSED] 22 VFs
[09:15:06] [PASSED] 23 VFs
[09:15:06] [PASSED] 24 VFs
[09:15:06] [PASSED] 25 VFs
[09:15:06] [PASSED] 26 VFs
[09:15:06] [PASSED] 27 VFs
[09:15:06] [PASSED] 28 VFs
[09:15:06] [PASSED] 29 VFs
[09:15:06] [PASSED] 30 VFs
[09:15:06] [PASSED] 31 VFs
[09:15:06] [PASSED] 32 VFs
[09:15:06] [PASSED] 33 VFs
[09:15:06] [PASSED] 34 VFs
[09:15:06] [PASSED] 35 VFs
[09:15:06] [PASSED] 36 VFs
[09:15:06] [PASSED] 37 VFs
[09:15:06] [PASSED] 38 VFs
[09:15:06] [PASSED] 39 VFs
[09:15:06] [PASSED] 40 VFs
[09:15:06] [PASSED] 41 VFs
[09:15:06] [PASSED] 42 VFs
[09:15:06] [PASSED] 43 VFs
[09:15:06] [PASSED] 44 VFs
[09:15:06] [PASSED] 45 VFs
[09:15:06] [PASSED] 46 VFs
[09:15:06] [PASSED] 47 VFs
[09:15:06] [PASSED] 48 VFs
[09:15:06] [PASSED] 49 VFs
[09:15:06] [PASSED] 50 VFs
[09:15:06] [PASSED] 51 VFs
[09:15:06] [PASSED] 52 VFs
[09:15:06] [PASSED] 53 VFs
[09:15:06] [PASSED] 54 VFs
[09:15:06] [PASSED] 55 VFs
[09:15:06] [PASSED] 56 VFs
[09:15:06] [PASSED] 57 VFs
[09:15:06] [PASSED] 58 VFs
[09:15:06] [PASSED] 59 VFs
[09:15:06] [PASSED] 60 VFs
[09:15:06] [PASSED] 61 VFs
[09:15:06] [PASSED] 62 VFs
[09:15:06] [PASSED] 63 VFs
[09:15:06] ================== [PASSED] fair_contexts ==================
[09:15:06] ===================== fair_doorbells  ======================
[09:15:06] [PASSED] 1 VF
[09:15:06] [PASSED] 2 VFs
[09:15:06] [PASSED] 3 VFs
[09:15:06] [PASSED] 4 VFs
[09:15:06] [PASSED] 5 VFs
[09:15:06] [PASSED] 6 VFs
[09:15:06] [PASSED] 7 VFs
[09:15:06] [PASSED] 8 VFs
[09:15:06] [PASSED] 9 VFs
[09:15:06] [PASSED] 10 VFs
[09:15:06] [PASSED] 11 VFs
[09:15:06] [PASSED] 12 VFs
[09:15:06] [PASSED] 13 VFs
[09:15:06] [PASSED] 14 VFs
[09:15:06] [PASSED] 15 VFs
[09:15:06] [PASSED] 16 VFs
[09:15:06] [PASSED] 17 VFs
[09:15:06] [PASSED] 18 VFs
[09:15:06] [PASSED] 19 VFs
[09:15:06] [PASSED] 20 VFs
[09:15:06] [PASSED] 21 VFs
[09:15:06] [PASSED] 22 VFs
[09:15:06] [PASSED] 23 VFs
[09:15:06] [PASSED] 24 VFs
[09:15:06] [PASSED] 25 VFs
[09:15:06] [PASSED] 26 VFs
[09:15:06] [PASSED] 27 VFs
[09:15:06] [PASSED] 28 VFs
[09:15:06] [PASSED] 29 VFs
[09:15:06] [PASSED] 30 VFs
[09:15:06] [PASSED] 31 VFs
[09:15:06] [PASSED] 32 VFs
[09:15:06] [PASSED] 33 VFs
[09:15:06] [PASSED] 34 VFs
[09:15:06] [PASSED] 35 VFs
[09:15:06] [PASSED] 36 VFs
[09:15:06] [PASSED] 37 VFs
[09:15:06] [PASSED] 38 VFs
[09:15:06] [PASSED] 39 VFs
[09:15:06] [PASSED] 40 VFs
[09:15:06] [PASSED] 41 VFs
[09:15:06] [PASSED] 42 VFs
[09:15:06] [PASSED] 43 VFs
[09:15:06] [PASSED] 44 VFs
[09:15:06] [PASSED] 45 VFs
[09:15:06] [PASSED] 46 VFs
[09:15:06] [PASSED] 47 VFs
[09:15:06] [PASSED] 48 VFs
[09:15:06] [PASSED] 49 VFs
[09:15:06] [PASSED] 50 VFs
[09:15:06] [PASSED] 51 VFs
[09:15:06] [PASSED] 52 VFs
[09:15:06] [PASSED] 53 VFs
[09:15:06] [PASSED] 54 VFs
[09:15:06] [PASSED] 55 VFs
[09:15:06] [PASSED] 56 VFs
[09:15:06] [PASSED] 57 VFs
[09:15:06] [PASSED] 58 VFs
[09:15:06] [PASSED] 59 VFs
[09:15:06] [PASSED] 60 VFs
[09:15:06] [PASSED] 61 VFs
[09:15:06] [PASSED] 62 VFs
[09:15:06] [PASSED] 63 VFs
[09:15:06] ================= [PASSED] fair_doorbells ==================
[09:15:06] ======================== fair_ggtt  ========================
[09:15:06] [PASSED] 1 VF
[09:15:06] [PASSED] 2 VFs
[09:15:06] [PASSED] 3 VFs
[09:15:06] [PASSED] 4 VFs
[09:15:06] [PASSED] 5 VFs
[09:15:06] [PASSED] 6 VFs
[09:15:06] [PASSED] 7 VFs
[09:15:06] [PASSED] 8 VFs
[09:15:06] [PASSED] 9 VFs
[09:15:06] [PASSED] 10 VFs
[09:15:06] [PASSED] 11 VFs
[09:15:06] [PASSED] 12 VFs
[09:15:06] [PASSED] 13 VFs
[09:15:06] [PASSED] 14 VFs
[09:15:06] [PASSED] 15 VFs
[09:15:06] [PASSED] 16 VFs
[09:15:06] [PASSED] 17 VFs
[09:15:06] [PASSED] 18 VFs
[09:15:06] [PASSED] 19 VFs
[09:15:06] [PASSED] 20 VFs
[09:15:06] [PASSED] 21 VFs
[09:15:06] [PASSED] 22 VFs
[09:15:06] [PASSED] 23 VFs
[09:15:06] [PASSED] 24 VFs
[09:15:06] [PASSED] 25 VFs
[09:15:06] [PASSED] 26 VFs
[09:15:06] [PASSED] 27 VFs
[09:15:06] [PASSED] 28 VFs
[09:15:06] [PASSED] 29 VFs
[09:15:06] [PASSED] 30 VFs
[09:15:06] [PASSED] 31 VFs
[09:15:06] [PASSED] 32 VFs
[09:15:06] [PASSED] 33 VFs
[09:15:06] [PASSED] 34 VFs
[09:15:06] [PASSED] 35 VFs
[09:15:06] [PASSED] 36 VFs
[09:15:06] [PASSED] 37 VFs
[09:15:06] [PASSED] 38 VFs
[09:15:06] [PASSED] 39 VFs
[09:15:06] [PASSED] 40 VFs
[09:15:06] [PASSED] 41 VFs
[09:15:06] [PASSED] 42 VFs
[09:15:06] [PASSED] 43 VFs
[09:15:06] [PASSED] 44 VFs
[09:15:06] [PASSED] 45 VFs
[09:15:06] [PASSED] 46 VFs
[09:15:06] [PASSED] 47 VFs
[09:15:06] [PASSED] 48 VFs
[09:15:06] [PASSED] 49 VFs
[09:15:06] [PASSED] 50 VFs
[09:15:06] [PASSED] 51 VFs
[09:15:06] [PASSED] 52 VFs
[09:15:06] [PASSED] 53 VFs
[09:15:06] [PASSED] 54 VFs
[09:15:06] [PASSED] 55 VFs
[09:15:06] [PASSED] 56 VFs
[09:15:06] [PASSED] 57 VFs
[09:15:06] [PASSED] 58 VFs
[09:15:06] [PASSED] 59 VFs
[09:15:06] [PASSED] 60 VFs
[09:15:06] [PASSED] 61 VFs
[09:15:06] [PASSED] 62 VFs
[09:15:06] [PASSED] 63 VFs
[09:15:06] ==================== [PASSED] fair_ggtt ====================
[09:15:06] ================== [PASSED] pf_gt_config ===================
[09:15:06] ===================== lmtt (1 subtest) =====================
[09:15:06] ======================== test_ops  =========================
[09:15:06] [PASSED] 2-level
[09:15:06] [PASSED] multi-level
[09:15:06] ==================== [PASSED] test_ops =====================
[09:15:06] ====================== [PASSED] lmtt =======================
[09:15:06] ================= pf_service (11 subtests) =================
[09:15:06] [PASSED] pf_negotiate_any
[09:15:06] [PASSED] pf_negotiate_base_match
[09:15:06] [PASSED] pf_negotiate_base_newer
[09:15:06] [PASSED] pf_negotiate_base_next
[09:15:06] [SKIPPED] pf_negotiate_base_older
[09:15:06] [PASSED] pf_negotiate_base_prev
[09:15:06] [PASSED] pf_negotiate_latest_match
[09:15:06] [PASSED] pf_negotiate_latest_newer
[09:15:06] [PASSED] pf_negotiate_latest_next
[09:15:06] [SKIPPED] pf_negotiate_latest_older
[09:15:06] [SKIPPED] pf_negotiate_latest_prev
[09:15:06] =================== [PASSED] pf_service ====================
[09:15:06] ================= xe_guc_g2g (2 subtests) ==================
[09:15:06] ============== xe_live_guc_g2g_kunit_default  ==============
[09:15:06] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[09:15:06] ============== xe_live_guc_g2g_kunit_allmem  ===============
[09:15:06] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[09:15:06] =================== [SKIPPED] xe_guc_g2g ===================
[09:15:06] =================== xe_mocs (2 subtests) ===================
[09:15:06] ================ xe_live_mocs_kernel_kunit  ================
[09:15:06] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[09:15:06] ================ xe_live_mocs_reset_kunit  =================
[09:15:06] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[09:15:06] ==================== [SKIPPED] xe_mocs =====================
[09:15:06] ================= xe_migrate (2 subtests) ==================
[09:15:06] ================= xe_migrate_sanity_kunit  =================
[09:15:06] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[09:15:06] ================== xe_validate_ccs_kunit  ==================
[09:15:06] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[09:15:06] =================== [SKIPPED] xe_migrate ===================
[09:15:06] ================== xe_dma_buf (1 subtest) ==================
[09:15:06] ==================== xe_dma_buf_kunit  =====================
[09:15:06] ================ [SKIPPED] xe_dma_buf_kunit ================
[09:15:06] =================== [SKIPPED] xe_dma_buf ===================
[09:15:06] ================= xe_bo_shrink (1 subtest) =================
[09:15:06] =================== xe_bo_shrink_kunit  ====================
[09:15:06] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[09:15:06] ================== [SKIPPED] xe_bo_shrink ==================
[09:15:06] ==================== xe_bo (2 subtests) ====================
[09:15:06] ================== xe_ccs_migrate_kunit  ===================
[09:15:06] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[09:15:06] ==================== xe_bo_evict_kunit  ====================
[09:15:06] =============== [SKIPPED] xe_bo_evict_kunit ================
[09:15:06] ===================== [SKIPPED] xe_bo ======================
[09:15:06] ==================== args (11 subtests) ====================
[09:15:06] [PASSED] count_args_test
[09:15:06] [PASSED] call_args_example
[09:15:06] [PASSED] call_args_test
[09:15:06] [PASSED] drop_first_arg_example
[09:15:06] [PASSED] drop_first_arg_test
[09:15:06] [PASSED] first_arg_example
[09:15:06] [PASSED] first_arg_test
[09:15:06] [PASSED] last_arg_example
[09:15:06] [PASSED] last_arg_test
[09:15:06] [PASSED] pick_arg_example
[09:15:06] [PASSED] sep_comma_example
[09:15:06] ====================== [PASSED] args =======================
[09:15:06] =================== xe_pci (3 subtests) ====================
[09:15:06] ==================== check_graphics_ip  ====================
[09:15:06] [PASSED] 12.00 Xe_LP
[09:15:06] [PASSED] 12.10 Xe_LP+
[09:15:06] [PASSED] 12.55 Xe_HPG
[09:15:06] [PASSED] 12.60 Xe_HPC
[09:15:06] [PASSED] 12.70 Xe_LPG
[09:15:06] [PASSED] 12.71 Xe_LPG
[09:15:06] [PASSED] 12.74 Xe_LPG+
[09:15:06] [PASSED] 20.01 Xe2_HPG
[09:15:06] [PASSED] 20.02 Xe2_HPG
[09:15:06] [PASSED] 20.04 Xe2_LPG
[09:15:06] [PASSED] 30.00 Xe3_LPG
[09:15:06] [PASSED] 30.01 Xe3_LPG
[09:15:06] [PASSED] 30.03 Xe3_LPG
[09:15:06] [PASSED] 30.04 Xe3_LPG
[09:15:06] [PASSED] 30.05 Xe3_LPG
[09:15:06] [PASSED] 35.11 Xe3p_XPC
[09:15:06] ================ [PASSED] check_graphics_ip ================
[09:15:06] ===================== check_media_ip  ======================
[09:15:06] [PASSED] 12.00 Xe_M
[09:15:06] [PASSED] 12.55 Xe_HPM
[09:15:06] [PASSED] 13.00 Xe_LPM+
[09:15:06] [PASSED] 13.01 Xe2_HPM
[09:15:06] [PASSED] 20.00 Xe2_LPM
[09:15:06] [PASSED] 30.00 Xe3_LPM
[09:15:06] [PASSED] 30.02 Xe3_LPM
[09:15:06] [PASSED] 35.00 Xe3p_LPM
[09:15:06] [PASSED] 35.03 Xe3p_HPM
[09:15:06] ================= [PASSED] check_media_ip ==================
[09:15:06] =================== check_platform_desc  ===================
[09:15:06] [PASSED] 0x9A60 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A68 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A70 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A40 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A49 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A59 (TIGERLAKE)
[09:15:06] [PASSED] 0x9A78 (TIGERLAKE)
[09:15:06] [PASSED] 0x9AC0 (TIGERLAKE)
[09:15:06] [PASSED] 0x9AC9 (TIGERLAKE)
[09:15:06] [PASSED] 0x9AD9 (TIGERLAKE)
[09:15:06] [PASSED] 0x9AF8 (TIGERLAKE)
[09:15:06] [PASSED] 0x4C80 (ROCKETLAKE)
[09:15:06] [PASSED] 0x4C8A (ROCKETLAKE)
[09:15:06] [PASSED] 0x4C8B (ROCKETLAKE)
[09:15:06] [PASSED] 0x4C8C (ROCKETLAKE)
[09:15:06] [PASSED] 0x4C90 (ROCKETLAKE)
[09:15:06] [PASSED] 0x4C9A (ROCKETLAKE)
[09:15:06] [PASSED] 0x4680 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4682 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4688 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x468A (ALDERLAKE_S)
[09:15:06] [PASSED] 0x468B (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4690 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4692 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4693 (ALDERLAKE_S)
[09:15:06] [PASSED] 0x46A0 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46A1 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46A2 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46A3 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46A6 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46A8 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46AA (ALDERLAKE_P)
[09:15:06] [PASSED] 0x462A (ALDERLAKE_P)
[09:15:06] [PASSED] 0x4626 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x4628 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46B0 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[09:15:06] [PASSED] 0x46B1 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46B2 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46B3 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46C0 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46C1 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46C2 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46C3 (ALDERLAKE_P)
[09:15:06] [PASSED] 0x46D0 (ALDERLAKE_N)
[09:15:06] [PASSED] 0x46D1 (ALDERLAKE_N)
[09:15:06] [PASSED] 0x46D2 (ALDERLAKE_N)
[09:15:06] [PASSED] 0x46D3 (ALDERLAKE_N)
[09:15:06] [PASSED] 0x46D4 (ALDERLAKE_N)
[09:15:06] [PASSED] 0xA721 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7A1 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7A9 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7AC (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7AD (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA720 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7A0 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7A8 (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7AA (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA7AB (ALDERLAKE_P)
[09:15:06] [PASSED] 0xA780 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA781 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA782 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA783 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA788 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA789 (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA78A (ALDERLAKE_S)
[09:15:06] [PASSED] 0xA78B (ALDERLAKE_S)
[09:15:06] [PASSED] 0x4905 (DG1)
[09:15:06] [PASSED] 0x4906 (DG1)
[09:15:06] [PASSED] 0x4907 (DG1)
[09:15:06] [PASSED] 0x4908 (DG1)
[09:15:06] [PASSED] 0x4909 (DG1)
[09:15:06] [PASSED] 0x56C0 (DG2)
[09:15:06] [PASSED] 0x56C2 (DG2)
[09:15:06] [PASSED] 0x56C1 (DG2)
[09:15:06] [PASSED] 0x7D51 (METEORLAKE)
[09:15:06] [PASSED] 0x7DD1 (METEORLAKE)
[09:15:06] [PASSED] 0x7D41 (METEORLAKE)
[09:15:06] [PASSED] 0x7D67 (METEORLAKE)
[09:15:06] [PASSED] 0xB640 (METEORLAKE)
[09:15:06] [PASSED] 0x56A0 (DG2)
[09:15:06] [PASSED] 0x56A1 (DG2)
[09:15:06] [PASSED] 0x56A2 (DG2)
[09:15:06] [PASSED] 0x56BE (DG2)
[09:15:06] [PASSED] 0x56BF (DG2)
[09:15:06] [PASSED] 0x5690 (DG2)
[09:15:06] [PASSED] 0x5691 (DG2)
[09:15:06] [PASSED] 0x5692 (DG2)
[09:15:06] [PASSED] 0x56A5 (DG2)
[09:15:06] [PASSED] 0x56A6 (DG2)
[09:15:06] [PASSED] 0x56B0 (DG2)
[09:15:06] [PASSED] 0x56B1 (DG2)
[09:15:06] [PASSED] 0x56BA (DG2)
[09:15:06] [PASSED] 0x56BB (DG2)
[09:15:06] [PASSED] 0x56BC (DG2)
[09:15:06] [PASSED] 0x56BD (DG2)
[09:15:06] [PASSED] 0x5693 (DG2)
[09:15:06] [PASSED] 0x5694 (DG2)
[09:15:06] [PASSED] 0x5695 (DG2)
[09:15:06] [PASSED] 0x56A3 (DG2)
[09:15:06] [PASSED] 0x56A4 (DG2)
[09:15:06] [PASSED] 0x56B2 (DG2)
[09:15:06] [PASSED] 0x56B3 (DG2)
[09:15:06] [PASSED] 0x5696 (DG2)
[09:15:06] [PASSED] 0x5697 (DG2)
[09:15:06] [PASSED] 0xB69 (PVC)
[09:15:06] [PASSED] 0xB6E (PVC)
[09:15:06] [PASSED] 0xBD4 (PVC)
[09:15:06] [PASSED] 0xBD5 (PVC)
[09:15:06] [PASSED] 0xBD6 (PVC)
[09:15:06] [PASSED] 0xBD7 (PVC)
[09:15:06] [PASSED] 0xBD8 (PVC)
[09:15:06] [PASSED] 0xBD9 (PVC)
[09:15:06] [PASSED] 0xBDA (PVC)
[09:15:06] [PASSED] 0xBDB (PVC)
[09:15:06] [PASSED] 0xBE0 (PVC)
[09:15:06] [PASSED] 0xBE1 (PVC)
[09:15:06] [PASSED] 0xBE5 (PVC)
[09:15:06] [PASSED] 0x7D40 (METEORLAKE)
[09:15:06] [PASSED] 0x7D45 (METEORLAKE)
[09:15:06] [PASSED] 0x7D55 (METEORLAKE)
[09:15:06] [PASSED] 0x7D60 (METEORLAKE)
[09:15:06] [PASSED] 0x7DD5 (METEORLAKE)
[09:15:06] [PASSED] 0x6420 (LUNARLAKE)
[09:15:06] [PASSED] 0x64A0 (LUNARLAKE)
[09:15:06] [PASSED] 0x64B0 (LUNARLAKE)
[09:15:06] [PASSED] 0xE202 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE209 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE20B (BATTLEMAGE)
[09:15:06] [PASSED] 0xE20C (BATTLEMAGE)
[09:15:06] [PASSED] 0xE20D (BATTLEMAGE)
[09:15:06] [PASSED] 0xE210 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE211 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE212 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE216 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE220 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE221 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE222 (BATTLEMAGE)
[09:15:06] [PASSED] 0xE223 (BATTLEMAGE)
[09:15:06] [PASSED] 0xB080 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB081 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB082 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB083 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB084 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB085 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB086 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB087 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB08F (PANTHERLAKE)
[09:15:06] [PASSED] 0xB090 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB0A0 (PANTHERLAKE)
[09:15:06] [PASSED] 0xB0B0 (PANTHERLAKE)
[09:15:06] [PASSED] 0xD740 (NOVALAKE_S)
[09:15:06] [PASSED] 0xD741 (NOVALAKE_S)
[09:15:06] [PASSED] 0xD742 (NOVALAKE_S)
[09:15:06] [PASSED] 0xD743 (NOVALAKE_S)
[09:15:06] [PASSED] 0xD744 (NOVALAKE_S)
[09:15:06] [PASSED] 0xD745 (NOVALAKE_S)
[09:15:06] [PASSED] 0x674C (CRESCENTISLAND)
[09:15:06] [PASSED] 0xFD80 (PANTHERLAKE)
[09:15:06] [PASSED] 0xFD81 (PANTHERLAKE)
[09:15:06] =============== [PASSED] check_platform_desc ===============
[09:15:06] ===================== [PASSED] xe_pci ======================
[09:15:06] =================== xe_rtp (2 subtests) ====================
[09:15:06] =============== xe_rtp_process_to_sr_tests  ================
[09:15:06] [PASSED] coalesce-same-reg
[09:15:06] [PASSED] no-match-no-add
[09:15:06] [PASSED] match-or
[09:15:06] [PASSED] match-or-xfail
[09:15:06] [PASSED] no-match-no-add-multiple-rules
[09:15:06] [PASSED] two-regs-two-entries
[09:15:06] [PASSED] clr-one-set-other
[09:15:06] [PASSED] set-field
[09:15:06] [PASSED] conflict-duplicate
[09:15:06] [PASSED] conflict-not-disjoint
[09:15:06] [PASSED] conflict-reg-type
[09:15:06] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[09:15:06] ================== xe_rtp_process_tests  ===================
[09:15:06] [PASSED] active1
[09:15:06] [PASSED] active2
[09:15:06] [PASSED] active-inactive
[09:15:06] [PASSED] inactive-active
[09:15:06] [PASSED] inactive-1st_or_active-inactive
[09:15:06] [PASSED] inactive-2nd_or_active-inactive
[09:15:06] [PASSED] inactive-last_or_active-inactive
[09:15:06] [PASSED] inactive-no_or_active-inactive
[09:15:06] ============== [PASSED] xe_rtp_process_tests ===============
[09:15:06] ===================== [PASSED] xe_rtp ======================
[09:15:06] ==================== xe_wa (1 subtest) =====================
[09:15:06] ======================== xe_wa_gt  =========================
[09:15:06] [PASSED] TIGERLAKE B0
[09:15:06] [PASSED] DG1 A0
[09:15:06] [PASSED] DG1 B0
[09:15:06] [PASSED] ALDERLAKE_S A0
[09:15:06] [PASSED] ALDERLAKE_S B0
[09:15:06] [PASSED] ALDERLAKE_S C0
[09:15:06] [PASSED] ALDERLAKE_S D0
[09:15:06] [PASSED] ALDERLAKE_P A0
[09:15:06] [PASSED] ALDERLAKE_P B0
[09:15:06] [PASSED] ALDERLAKE_P C0
[09:15:06] [PASSED] ALDERLAKE_S RPLS D0
[09:15:06] [PASSED] ALDERLAKE_P RPLU E0
[09:15:06] [PASSED] DG2 G10 C0
[09:15:06] [PASSED] DG2 G11 B1
[09:15:06] [PASSED] DG2 G12 A1
[09:15:06] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[09:15:06] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[09:15:06] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[09:15:06] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[09:15:06] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[09:15:06] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[09:15:06] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[09:15:06] ==================== [PASSED] xe_wa_gt =====================
[09:15:06] ====================== [PASSED] xe_wa ======================
[09:15:06] ============================================================
[09:15:06] Testing complete. Ran 510 tests: passed: 492, skipped: 18
[09:15:06] Elapsed time: 35.256s total, 4.230s configuring, 30.509s building, 0.469s running

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[09:15:34] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[09:15:35] 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
[09:15:45] Starting KUnit Kernel (1/1)...
[09:15:45] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[09:15:45] ================= ttm_device (5 subtests) ==================
[09:15:45] [PASSED] ttm_device_init_basic
[09:15:45] [PASSED] ttm_device_init_multiple
[09:15:45] [PASSED] ttm_device_fini_basic
[09:15:45] [PASSED] ttm_device_init_no_vma_man
[09:15:45] ================== ttm_device_init_pools  ==================
[09:15:45] [PASSED] No DMA allocations, no DMA32 required
[09:15:45] [PASSED] DMA allocations, DMA32 required
[09:15:45] [PASSED] No DMA allocations, DMA32 required
[09:15:45] [PASSED] DMA allocations, no DMA32 required
[09:15:45] ============== [PASSED] ttm_device_init_pools ==============
[09:15:45] =================== [PASSED] ttm_device ====================
[09:15:45] ================== ttm_pool (8 subtests) ===================
[09:15:45] ================== ttm_pool_alloc_basic  ===================
[09:15:45] [PASSED] One page
[09:15:45] [PASSED] More than one page
[09:15:45] [PASSED] Above the allocation limit
[09:15:45] [PASSED] One page, with coherent DMA mappings enabled
[09:15:45] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[09:15:45] ============== [PASSED] ttm_pool_alloc_basic ===============
[09:15:45] ============== ttm_pool_alloc_basic_dma_addr  ==============
[09:15:45] [PASSED] One page
[09:15:45] [PASSED] More than one page
[09:15:45] [PASSED] Above the allocation limit
[09:15:45] [PASSED] One page, with coherent DMA mappings enabled
[09:15:45] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[09:15:45] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[09:15:45] [PASSED] ttm_pool_alloc_order_caching_match
[09:15:45] [PASSED] ttm_pool_alloc_caching_mismatch
[09:15:45] [PASSED] ttm_pool_alloc_order_mismatch
[09:15:45] [PASSED] ttm_pool_free_dma_alloc
[09:15:45] [PASSED] ttm_pool_free_no_dma_alloc
[09:15:45] [PASSED] ttm_pool_fini_basic
[09:15:45] ==================== [PASSED] ttm_pool =====================
[09:15:45] ================ ttm_resource (8 subtests) =================
[09:15:45] ================= ttm_resource_init_basic  =================
[09:15:45] [PASSED] Init resource in TTM_PL_SYSTEM
[09:15:45] [PASSED] Init resource in TTM_PL_VRAM
[09:15:45] [PASSED] Init resource in a private placement
[09:15:45] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[09:15:45] ============= [PASSED] ttm_resource_init_basic =============
[09:15:45] [PASSED] ttm_resource_init_pinned
[09:15:45] [PASSED] ttm_resource_fini_basic
[09:15:45] [PASSED] ttm_resource_manager_init_basic
[09:15:45] [PASSED] ttm_resource_manager_usage_basic
[09:15:45] [PASSED] ttm_resource_manager_set_used_basic
[09:15:45] [PASSED] ttm_sys_man_alloc_basic
[09:15:45] [PASSED] ttm_sys_man_free_basic
[09:15:45] ================== [PASSED] ttm_resource ===================
[09:15:45] =================== ttm_tt (15 subtests) ===================
[09:15:45] ==================== ttm_tt_init_basic  ====================
[09:15:45] [PASSED] Page-aligned size
[09:15:45] [PASSED] Extra pages requested
[09:15:45] ================ [PASSED] ttm_tt_init_basic ================
[09:15:45] [PASSED] ttm_tt_init_misaligned
[09:15:45] [PASSED] ttm_tt_fini_basic
[09:15:45] [PASSED] ttm_tt_fini_sg
[09:15:45] [PASSED] ttm_tt_fini_shmem
[09:15:45] [PASSED] ttm_tt_create_basic
[09:15:45] [PASSED] ttm_tt_create_invalid_bo_type
[09:15:45] [PASSED] ttm_tt_create_ttm_exists
[09:15:45] [PASSED] ttm_tt_create_failed
[09:15:45] [PASSED] ttm_tt_destroy_basic
[09:15:45] [PASSED] ttm_tt_populate_null_ttm
[09:15:45] [PASSED] ttm_tt_populate_populated_ttm
[09:15:45] [PASSED] ttm_tt_unpopulate_basic
[09:15:45] [PASSED] ttm_tt_unpopulate_empty_ttm
[09:15:45] [PASSED] ttm_tt_swapin_basic
[09:15:45] ===================== [PASSED] ttm_tt ======================
[09:15:45] =================== ttm_bo (14 subtests) ===================
[09:15:45] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[09:15:45] [PASSED] Cannot be interrupted and sleeps
[09:15:45] [PASSED] Cannot be interrupted, locks straight away
[09:15:45] [PASSED] Can be interrupted, sleeps
[09:15:45] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[09:15:45] [PASSED] ttm_bo_reserve_locked_no_sleep
[09:15:45] [PASSED] ttm_bo_reserve_no_wait_ticket
[09:15:45] [PASSED] ttm_bo_reserve_double_resv
[09:15:45] [PASSED] ttm_bo_reserve_interrupted
[09:15:45] [PASSED] ttm_bo_reserve_deadlock
[09:15:45] [PASSED] ttm_bo_unreserve_basic
[09:15:45] [PASSED] ttm_bo_unreserve_pinned
[09:15:45] [PASSED] ttm_bo_unreserve_bulk
[09:15:45] [PASSED] ttm_bo_fini_basic
[09:15:45] [PASSED] ttm_bo_fini_shared_resv
[09:15:45] [PASSED] ttm_bo_pin_basic
[09:15:45] [PASSED] ttm_bo_pin_unpin_resource
[09:15:45] [PASSED] ttm_bo_multiple_pin_one_unpin
[09:15:45] ===================== [PASSED] ttm_bo ======================
[09:15:45] ============== ttm_bo_validate (21 subtests) ===============
[09:15:45] ============== ttm_bo_init_reserved_sys_man  ===============
[09:15:45] [PASSED] Buffer object for userspace
[09:15:45] [PASSED] Kernel buffer object
[09:15:45] [PASSED] Shared buffer object
[09:15:45] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[09:15:45] ============== ttm_bo_init_reserved_mock_man  ==============
[09:15:45] [PASSED] Buffer object for userspace
[09:15:45] [PASSED] Kernel buffer object
[09:15:45] [PASSED] Shared buffer object
[09:15:45] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[09:15:45] [PASSED] ttm_bo_init_reserved_resv
[09:15:45] ================== ttm_bo_validate_basic  ==================
[09:15:45] [PASSED] Buffer object for userspace
[09:15:45] [PASSED] Kernel buffer object
[09:15:45] [PASSED] Shared buffer object
[09:15:45] ============== [PASSED] ttm_bo_validate_basic ==============
[09:15:45] [PASSED] ttm_bo_validate_invalid_placement
[09:15:45] ============= ttm_bo_validate_same_placement  ==============
[09:15:45] [PASSED] System manager
[09:15:45] [PASSED] VRAM manager
[09:15:45] ========= [PASSED] ttm_bo_validate_same_placement ==========
[09:15:45] [PASSED] ttm_bo_validate_failed_alloc
[09:15:45] [PASSED] ttm_bo_validate_pinned
[09:15:45] [PASSED] ttm_bo_validate_busy_placement
[09:15:45] ================ ttm_bo_validate_multihop  =================
[09:15:45] [PASSED] Buffer object for userspace
[09:15:45] [PASSED] Kernel buffer object
[09:15:45] [PASSED] Shared buffer object
[09:15:45] ============ [PASSED] ttm_bo_validate_multihop =============
[09:15:45] ========== ttm_bo_validate_no_placement_signaled  ==========
[09:15:45] [PASSED] Buffer object in system domain, no page vector
[09:15:45] [PASSED] Buffer object in system domain with an existing page vector
[09:15:45] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[09:15:45] ======== ttm_bo_validate_no_placement_not_signaled  ========
[09:15:45] [PASSED] Buffer object for userspace
[09:15:45] [PASSED] Kernel buffer object
[09:15:45] [PASSED] Shared buffer object
[09:15:45] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[09:15:45] [PASSED] ttm_bo_validate_move_fence_signaled
[09:15:45] ========= ttm_bo_validate_move_fence_not_signaled  =========
[09:15:45] [PASSED] Waits for GPU
[09:15:45] [PASSED] Tries to lock straight away
[09:15:45] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[09:15:45] [PASSED] ttm_bo_validate_happy_evict
[09:15:45] [PASSED] ttm_bo_validate_all_pinned_evict
[09:15:45] [PASSED] ttm_bo_validate_allowed_only_evict
[09:15:45] [PASSED] ttm_bo_validate_deleted_evict
[09:15:45] [PASSED] ttm_bo_validate_busy_domain_evict
[09:15:45] [PASSED] ttm_bo_validate_evict_gutting
[09:15:45] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[09:15:45] ================= [PASSED] ttm_bo_validate =================
[09:15:45] ============================================================
[09:15:45] Testing complete. Ran 101 tests: passed: 101
[09:15:45] Elapsed time: 11.226s total, 1.682s configuring, 9.328s building, 0.183s running

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

* ✓ Xe.CI.BAT: success for drm/xe/hwmon: Expose new temperature attributes (rev3)
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (7 preceding siblings ...)
  2025-12-11  9:16 ` ✓ CI.KUnit: success for drm/xe/hwmon: Expose new temperature attributes (rev3) Patchwork
@ 2025-12-11 10:17 ` Patchwork
  2025-12-11 19:28 ` ✗ Xe.CI.Full: failure " Patchwork
  9 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2025-12-11 10:17 UTC (permalink / raw)
  To: Karthik Poosa; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]

== Series Details ==

Series: drm/xe/hwmon: Expose new temperature attributes (rev3)
URL   : https://patchwork.freedesktop.org/series/158384/
State : success

== Summary ==

CI Bug Log - changes from xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b_BAT -> xe-pw-158384v3_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (12 -> 12)
------------------------------

  No changes in participating hosts

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

  Here are the changes found in xe-pw-158384v3_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@xe_waitfence@engine:
    - bat-dg2-oem2:       [PASS][1] -> [FAIL][2] ([Intel XE#6519])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/bat-dg2-oem2/igt@xe_waitfence@engine.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/bat-dg2-oem2/igt@xe_waitfence@engine.html

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


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

  * IGT: IGT_8663 -> IGT_8664
  * Linux: xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b -> xe-pw-158384v3

  IGT_8663: aca02d1cc9804e5f1868b0ebfba6426e2d1244fc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8664: 28cc709ad89c0ef569569f19f4772d4cca354963 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b: 3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b
  xe-pw-158384v3: 158384v3

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 2223 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox
  2025-12-10  6:22 ` [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox Karthik Poosa
@ 2025-12-11 11:25   ` Nilawar, Badal
  0 siblings, 0 replies; 16+ messages in thread
From: Nilawar, Badal @ 2025-12-11 11:25 UTC (permalink / raw)
  To: Karthik Poosa, intel-xe
  Cc: anshuman.gupta, rodrigo.vivi, raag.jadav, riana.tauro


On 10-12-2025 11:52, Karthik Poosa wrote:
> Add support to read temperature limits using pcode
> thermal mailbox commands.
>
> v2:
>   - Fix documentation warnings.
>   - Remove enum to xe_temp_limit as it is not used.
>   - Add has_mbx_thermal_info.
>
> Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
> ---
>   drivers/gpu/drm/xe/xe_device_types.h |  3 +++
>   drivers/gpu/drm/xe/xe_hwmon.c        | 36 +++++++++++++++++++++++++++-
>   drivers/gpu/drm/xe/xe_pci.c          |  5 ++++
>   drivers/gpu/drm/xe/xe_pci_types.h    |  1 +
>   drivers/gpu/drm/xe/xe_pcode_api.h    |  5 ++++
>   5 files changed, 49 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 842b33444944..be644a032f48 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -312,6 +312,9 @@ struct xe_device {
>   		 * pcode mailbox commands.
>   		 */
>   		u8 has_mbx_power_limits:1;
> +		/** @info.has_mbx_thermal_info: Device has support for mailbox thermal info.
> +		 */
> +		u8 has_mbx_thermal_info:1;
>   		/** @info.has_mem_copy_instr: Device supports MEM_COPY instruction */
>   		u8 has_mem_copy_instr:1;
>   		/** @info.has_mert: Device has standalone MERT */
> diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
> index ff2aea52ef75..16f0cc2a0ae4 100644
> --- a/drivers/gpu/drm/xe/xe_hwmon.c
> +++ b/drivers/gpu/drm/xe/xe_hwmon.c
> @@ -111,6 +111,18 @@ struct xe_hwmon_fan_info {
>   	u64 time_prev;
>   };
>   
> +/**
> + * struct xe_hwmon_thermal_info - to store temperature data
> + */
> +struct xe_hwmon_thermal_info {
> +	union {
> +		/** @limits: temperatures limits */
> +		u8 limit[8];
> +		/** @data: limits data dwords */
> +		u32 data[2];
> +	};
> +};
> +
>   /**
>    * struct xe_hwmon - xe hwmon data structure
>    */
> @@ -137,7 +149,8 @@ struct xe_hwmon {
>   	u32 pl1_on_boot[CHANNEL_MAX];
>   	/** @pl2_on_boot: power limit PL2 on boot */
>   	u32 pl2_on_boot[CHANNEL_MAX];
> -
> +	/** @temp: Temperature info */
> +	struct xe_hwmon_thermal_info temp;
>   };
>   
>   static int xe_hwmon_pcode_read_power_limit(const struct xe_hwmon *hwmon, u32 attr, int channel,
> @@ -689,6 +702,25 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
>   	NULL
>   };
>   
> +static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
> +{
> +	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
> +	int ret = 0;
> +
> +	if (!hwmon->xe->info.has_mbx_power_limits)
> +		return -ENXIO;
> +
> +	/* Read thermal info */
> +	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_LIMITS, 0),
> +			    &hwmon->temp.data[0], &hwmon->temp.data[1]);
> +	drm_dbg(&hwmon->xe->drm, "thermal info read ret %d, val 0x%x val1 0x%x\n", ret,
> +		hwmon->temp.data[0], hwmon->temp.data[1]);
> +	if (ret)
> +		return ret;
> +
> +	return 0;
The if() check is unnecessary; you can simply use return ret; instead.
> +}
> +
>   /* I1 is exposed as power_crit or as curr_crit depending on bit 31 */
>   static int xe_hwmon_pcode_read_i1(const struct xe_hwmon *hwmon, u32 *uval)
>   {
> @@ -1263,6 +1295,8 @@ xe_hwmon_get_preregistration_info(struct xe_hwmon *hwmon)
>   	for (channel = 0; channel < FAN_MAX; channel++)
>   		if (xe_hwmon_is_visible(hwmon, hwmon_fan, hwmon_fan_input, channel))
>   			xe_hwmon_fan_input_read(hwmon, channel, &fan_speed);
> +
> +	xe_hwmon_pcode_read_thermal_info(hwmon);
Function returns int but here return is not being processed, either make 
function void or process return.
>   }
>   
>   int xe_hwmon_register(struct xe_device *xe)
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 8dd0ea9d1d56..7b3396f8d488 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -310,6 +310,7 @@ static const struct xe_device_desc dg2_desc = {
>   	.has_display = true,
>   	.has_fan_control = true,
>   	.has_mbx_power_limits = false,
> +	.has_mbx_thermal_info = false,
>   };
>   
>   static const __maybe_unused struct xe_device_desc pvc_desc = {
> @@ -327,6 +328,7 @@ static const __maybe_unused struct xe_device_desc pvc_desc = {
>   	.vm_max_level = 4,
>   	.vram_flags = XE_VRAM_FLAGS_NEED64K,
>   	.has_mbx_power_limits = false,
> +	.has_mbx_thermal_info = false,
>   };
>   
>   static const struct xe_device_desc mtl_desc = {
> @@ -364,6 +366,7 @@ static const struct xe_device_desc bmg_desc = {
>   	.has_fan_control = true,
>   	.has_flat_ccs = 1,
>   	.has_mbx_power_limits = true,
> +	.has_mbx_thermal_info = true,
>   	.has_gsc_nvm = 1,
>   	.has_heci_cscfi = 1,
>   	.has_late_bind = true,
> @@ -412,6 +415,7 @@ static const struct xe_device_desc cri_desc = {
>   	.has_display = false,
>   	.has_flat_ccs = false,
>   	.has_mbx_power_limits = true,
> +	.has_mbx_thermal_info = true,
>   	.has_mert = true,
>   	.has_sriov = true,
>   	.max_gt_per_tile = 2,
> @@ -674,6 +678,7 @@ static int xe_info_init_early(struct xe_device *xe,
>   	/* runtime fusing may force flat_ccs to disabled later */
>   	xe->info.has_flat_ccs = desc->has_flat_ccs;
>   	xe->info.has_mbx_power_limits = desc->has_mbx_power_limits;
> +	xe->info.has_mbx_thermal_info = desc->has_mbx_thermal_info;
>   	xe->info.has_gsc_nvm = desc->has_gsc_nvm;
>   	xe->info.has_heci_gscfi = desc->has_heci_gscfi;
>   	xe->info.has_heci_cscfi = desc->has_heci_cscfi;
> diff --git a/drivers/gpu/drm/xe/xe_pci_types.h b/drivers/gpu/drm/xe/xe_pci_types.h
> index f19f35359696..d70da993c1e3 100644
> --- a/drivers/gpu/drm/xe/xe_pci_types.h
> +++ b/drivers/gpu/drm/xe/xe_pci_types.h
> @@ -47,6 +47,7 @@ struct xe_device_desc {
>   	u8 has_late_bind:1;
>   	u8 has_llc:1;
>   	u8 has_mbx_power_limits:1;
> +	u8 has_mbx_thermal_info:1;
>   	u8 has_mem_copy_instr:1;
>   	u8 has_mert:1;
>   	u8 has_pxp:1;
> diff --git a/drivers/gpu/drm/xe/xe_pcode_api.h b/drivers/gpu/drm/xe/xe_pcode_api.h
> index 70dcd6625680..16201da0cf6b 100644
> --- a/drivers/gpu/drm/xe/xe_pcode_api.h
> +++ b/drivers/gpu/drm/xe/xe_pcode_api.h
> @@ -65,6 +65,11 @@
>   #define       FAN_TABLE				1
>   #define       VR_CONFIG				2
>   
> +#define	PCODE_THERMAL_INFO			0x25
> +#define	READ_THERMAL_LIMITS			0x0

The following defines are currently unused; please add them in the patch 
where they are actually utilized.

Thanks,
Badal

> +#define	READ_THERMAL_CONFIG			0x1
> +#define	READ_THERMAL_DATA			0x2
> +
>   #define   PCODE_FREQUENCY_CONFIG		0x6e
>   /* Frequency Config Sub Commands (param1) */
>   #define     PCODE_MBOX_FC_SC_READ_FUSED_P0	0x0

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency
  2025-12-10  6:22 ` [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency Karthik Poosa
@ 2025-12-11 11:46   ` Nilawar, Badal
  0 siblings, 0 replies; 16+ messages in thread
From: Nilawar, Badal @ 2025-12-11 11:46 UTC (permalink / raw)
  To: Karthik Poosa, intel-xe
  Cc: anshuman.gupta, rodrigo.vivi, raag.jadav, riana.tauro

[-- Attachment #1: Type: text/plain, Size: 4214 bytes --]


On 10-12-2025 11:52, Karthik Poosa wrote:
> Expose shutdown temperature as tempX_emergency for package
> and vram.
> Update Xe hwmon documentation for this entry.
>
> Signed-off-by: Karthik Poosa<karthik.poosa@intel.com>
> ---
>   .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 16 ++++++++
>   drivers/gpu/drm/xe/xe_hwmon.c                 | 39 +++++++++++++++++--
>   2 files changed, 52 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> index d9e2b17c6872..feb33e5ccabc 100644
> --- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> @@ -196,3 +196,19 @@ Description:	RW. Package burst power limit interval (Tau in PL2/Tau) in
>   		milliseconds over which sustained power is averaged.
>   
>   		Only supported for particular Intel Xe graphics platforms.
> +
> +What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp2_emergency
> +Date:		December 2025
> +KernelVersion:	6.18
> +Contact:	intel-xe@lists.freedesktop.org
> +Description:	RO. Package shutdown temperature in millidegree Celsius.
> +
> +		Only supported for particular Intel Xe graphics platforms.
> +
> +What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp3_emergency
> +Date:		December 2025
> +KernelVersion:	6.18
> +Contact:	intel-xe@lists.freedesktop.org
> +Description:	RO. VRAM shutdown temperature in millidegree Celsius.
> +
> +		Only supported for particular Intel Xe graphics platforms.
> diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
> index 16f0cc2a0ae4..2dcb9ad74a6e 100644
> --- a/drivers/gpu/drm/xe/xe_hwmon.c
> +++ b/drivers/gpu/drm/xe/xe_hwmon.c
> @@ -53,6 +53,14 @@ enum xe_fan_channel {
>   	FAN_MAX,
>   };
>   
> +enum xe_temp_limit {
> +	TEMP_LIMIT_PKG_SHUTDOWN,
> +	TEMP_LIMIT_PKG_TJMAX,
> +	TEMP_LIMIT_MEM_SHUTDOWN,
> +	TEMP_LIMIT_PKG_CRIT,
> +	TEMP_LIMIT_MEM_TJMAX,

I noticed that only TEMP_LIMIT_PKG_SHUTDOWN and MEM_SHUTDOWN are used in 
this patch. It might be better to combine patches 1, 2, and 3 to make 
the review easier.

Thanks, Badal

> +};
> +
>   /* Attribute index for powerX_xxx_interval sysfs entries */
>   enum sensor_attr_power {
>   	SENSOR_INDEX_PSYS_PL1,
> @@ -690,8 +698,10 @@ static const struct attribute_group *hwmon_groups[] = {
>   };
>   
>   static const struct hwmon_channel_info * const hwmon_info[] = {
> -	HWMON_CHANNEL_INFO(temp, HWMON_T_LABEL, HWMON_T_INPUT | HWMON_T_LABEL,
> -			   HWMON_T_INPUT | HWMON_T_LABEL),
> +	HWMON_CHANNEL_INFO(temp,
> +			   HWMON_T_LABEL,
> +			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY,
> +			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY),
>   	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
>   			   HWMON_P_CAP,
>   			   HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CAP),
> @@ -819,6 +829,16 @@ static umode_t
>   xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
>   {
>   	switch (attr) {
> +	case hwmon_temp_emergency:
> +		switch (channel) {
> +		case CHANNEL_PKG:
> +			return hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] ? 0444 : 0;
> +		case CHANNEL_VRAM:
> +			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
> +		default:
> +			return 0;
> +		}
> +		break;
>   	case hwmon_temp_input:
>   	case hwmon_temp_label:
>   		return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP, channel)) ? 0444 : 0;
> @@ -839,10 +859,23 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
>   
>   		/* HW register value is in degrees Celsius, convert to millidegrees. */
>   		*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
> -		return 0;
> +		break;
> +	case hwmon_temp_emergency:
> +		switch (channel) {
> +		case CHANNEL_PKG:
> +			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
> +			break;
> +		case CHANNEL_VRAM:
> +			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
> +			break;
> +		default:
> +			return -EOPNOTSUPP;
> +		}
> +		break;
>   	default:
>   		return -EOPNOTSUPP;
>   	}
> +	return 0;
>   }
>   
>   static umode_t

[-- Attachment #2: Type: text/html, Size: 4918 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count
  2025-12-10  6:22 ` [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count Karthik Poosa
@ 2025-12-11 17:28   ` Nilawar, Badal
  2025-12-15 15:12     ` Poosa, Karthik
  0 siblings, 1 reply; 16+ messages in thread
From: Nilawar, Badal @ 2025-12-11 17:28 UTC (permalink / raw)
  To: Karthik Poosa, intel-xe
  Cc: anshuman.gupta, rodrigo.vivi, raag.jadav, riana.tauro


On 10-12-2025 11:52, Karthik Poosa wrote:
> Read number of thermal sensors available.
>
> Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
> ---
>   drivers/gpu/drm/xe/xe_hwmon.c | 28 ++++++++++++++++++++++++----
>   1 file changed, 24 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
> index c4a200cc2c23..e843021d13ec 100644
> --- a/drivers/gpu/drm/xe/xe_hwmon.c
> +++ b/drivers/gpu/drm/xe/xe_hwmon.c
> @@ -99,6 +99,11 @@ enum sensor_attr_power {
>    */
>   #define PL_WRITE_MBX_TIMEOUT_MS	(1)
>   
> +/*
> + * Number of thermal sensors.
> + */
> +#define MAX_THERMAL_SENSORS    (11)
> +
>   /**
>    * struct xe_hwmon_energy_info - to accumulate energy
>    */
> @@ -126,9 +131,11 @@ struct xe_hwmon_thermal_info {
>   	union {
>   		/** @limits: temperatures limits */
>   		u8 limit[8];
> -		/** @data: limits data dwords */
> -		u32 data[2];
> +		/** @dword: limit dwords */
> +		u32 dword[2];
Please maintain variable name consistent throughout the series.
>   	};
> +	/** @count: no of temperature sensors */
> +	u8 count;
>   };
>   
>   /**
> @@ -716,18 +723,31 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
>   {
>   	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
>   	int ret = 0;
> +	u32 val = 0;
>   
>   	if (!hwmon->xe->info.has_mbx_power_limits)
>   		return -ENXIO;
>   
>   	/* Read thermal info */
>   	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_LIMITS, 0),
> -			    &hwmon->temp.data[0], &hwmon->temp.data[1]);
> +			    &hwmon->temp.dword[0], &hwmon->temp.dword[1]);
>   	drm_dbg(&hwmon->xe->drm, "thermal info read ret %d, val 0x%x val1 0x%x\n", ret,
> -		hwmon->temp.data[0], hwmon->temp.data[1]);
> +		hwmon->temp.dword[0], hwmon->temp.dword[1]);
>   	if (ret)
>   		return ret;
>   
> +	/* Read thermal config */
> +	ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_CONFIG, 0),
> +			    &val, NULL);
> +	drm_dbg(&hwmon->xe->drm, "thermal config read ret %d, count %d\n", ret, val);
> +	if (ret)
> +		return ret;
> +
> +	hwmon->temp.count = val & TEMP_MASK;
> +	if (hwmon->temp.count > MAX_THERMAL_SENSORS)

Why this restriction?

> +		drm_warn(&hwmon->xe->drm, "thermal config count %d exceeds supported limit %d\n",
> +			 hwmon->temp.count, MAX_THERMAL_SENSORS);
> +
>   	return 0;
I am seeing patch 5 is exposing avj of hwmon->temp.count sensors, so 
could you please combine patch 4 and 5.

Thanks,
Badal

>   }
>   

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature
  2025-12-10  6:22 ` [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature Karthik Poosa
@ 2025-12-11 17:32   ` Nilawar, Badal
  0 siblings, 0 replies; 16+ messages in thread
From: Nilawar, Badal @ 2025-12-11 17:32 UTC (permalink / raw)
  To: Karthik Poosa, intel-xe
  Cc: anshuman.gupta, rodrigo.vivi, raag.jadav, riana.tauro


On 10-12-2025 11:52, Karthik Poosa wrote:
> Expose GPU memory controller temperatures under temp4_xxx.
> Update Xe hwmon documentation for this.
>
> Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
> ---
>   .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 24 +++++++
>   drivers/gpu/drm/xe/xe_hwmon.c                 | 68 ++++++++++++++++++-
>   drivers/gpu/drm/xe/xe_pcode_api.h             |  2 +
>   3 files changed, 93 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> index 60bc71ce9951..7e1765312696 100644
> --- a/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> +++ b/Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
> @@ -228,3 +228,27 @@ Contact:	intel-xe@lists.freedesktop.org
>   Description:	RO. VRAM critical temperature in millidegree Celsius.
>   
>   		Only supported for particular Intel Xe graphics platforms.
> +
> +What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_input
> +Date:		December 2025
> +KernelVersion:	6.18
> +Contact:	intel-xe@lists.freedesktop.org
> +Description:	RO. Memory controller average temperature in millidegree Celsius.
> +
> +		Only supported for particular Intel Xe graphics platforms.
> +
> +What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_emergency
> +Date:		December 2025
> +KernelVersion:	6.18
> +Contact:	intel-xe@lists.freedesktop.org
> +Description:	RO. Memory controller shutodwn temperature in millidegree Celsius.
> +
> +		Only supported for particular Intel Xe graphics platforms.
> +
> +What:		/sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp4_crit
> +Date:		December 2025
> +KernelVersion:	6.18
> +Contact:	intel-xe@lists.freedesktop.org
> +Description:	RO. Memory controller critical temperature in millidegree Celsius.
> +
> +		Only supported for particular Intel Xe graphics platforms.
> diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
> index e843021d13ec..783f6e40847c 100644
> --- a/drivers/gpu/drm/xe/xe_hwmon.c
> +++ b/drivers/gpu/drm/xe/xe_hwmon.c
> @@ -43,6 +43,7 @@ enum xe_hwmon_channel {
>   	CHANNEL_CARD,
>   	CHANNEL_PKG,
>   	CHANNEL_VRAM,
> +	CHANNEL_MCTRL,
>   	CHANNEL_MAX,
>   };
>   
> @@ -136,6 +137,8 @@ struct xe_hwmon_thermal_info {
>   	};
>   	/** @count: no of temperature sensors */
>   	u8 count;
> +	/** @value: value from each sensors S1.7 format. */
> +	u8 value[MAX_THERMAL_SENSORS];
>   };
>   
>   /**
> @@ -708,6 +711,7 @@ static const struct hwmon_channel_info * const hwmon_info[] = {
>   	HWMON_CHANNEL_INFO(temp,
>   			   HWMON_T_LABEL,
>   			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
> +			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT,
>   			   HWMON_T_LABEL | HWMON_T_INPUT | HWMON_T_EMERGENCY | HWMON_T_CRIT),
>   	HWMON_CHANNEL_INFO(power, HWMON_P_MAX | HWMON_P_RATED_MAX | HWMON_P_LABEL | HWMON_P_CRIT |
>   			   HWMON_P_CAP,
> @@ -747,7 +751,38 @@ static int xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
>   	if (hwmon->temp.count > MAX_THERMAL_SENSORS)
>   		drm_warn(&hwmon->xe->drm, "thermal config count %d exceeds supported limit %d\n",
>   			 hwmon->temp.count, MAX_THERMAL_SENSORS);
> +	return 0;
> +}
>   
> +static int get_mc_temp(struct xe_hwmon *hwmon, long *val)
> +{
> +	struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
> +	int ret = 0, i = 0;
> +
> +	for (i = 0; i < (hwmon->temp.count / 4); i++) {
> +		/* Read thermal data */
> +		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
> +				    (uint32_t *)&hwmon->temp.value[i * 4], NULL);
> +		drm_dbg(&hwmon->xe->drm, "thermal data for group %d ret %d, val 0x%x\n", i, ret,
> +			(u32)hwmon->temp.value[i * 4]);
> +		if (ret)
> +			return ret;
> +	}
> +	if (hwmon->temp.count % 4) {
> +		ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, READ_THERMAL_DATA, i),
> +				    (uint32_t *)&hwmon->temp.value[i * 4], NULL);
> +		drm_dbg(&hwmon->xe->drm, "thermal data for group %d ret %d, val 0x%x\n", i, ret,
> +			(u32)hwmon->temp.value[i * 4]);
> +		if (ret)
> +			return ret;
> +	}
> +
> +	*val = 0;
> +	for (i = TEMP_INDEX_MCTRL; i < hwmon->temp.count; i++) {
> +		*val += (hwmon->temp.value[i] & TEMP_MASK_MAILBOX) *
> +			((hwmon->temp.value[i] & 0x80) ? -1 : 1);
> +	}
> +	*val = (*val / hwmon->temp.count) * MILLIDEGREE_PER_DEGREE;

Please describe in commit message that temp exposed is avg of all memory 
controllers.

Thanks,
Badal

>   	return 0;
>   }
>   
> @@ -848,6 +883,8 @@ static void xe_hwmon_get_voltage(struct xe_hwmon *hwmon, int channel, long *valu
>   static umode_t
>   xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
>   {
> +	long val = 0;
> +
>   	switch (attr) {
>   	case hwmon_temp_emergency:
>   		switch (channel) {
> @@ -855,6 +892,8 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
>   			return hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] ? 0444 : 0;
>   		case CHANNEL_VRAM:
>   			return hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] ? 0444 : 0;
> +		case CHANNEL_MCTRL:
> +			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
>   		default:
>   			return 0;
>   		}
> @@ -865,13 +904,25 @@ xe_hwmon_temp_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel)
>   			return hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] ? 0444 : 0;
>   		case CHANNEL_VRAM:
>   			return hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] ? 0444 : 0;
> +		case CHANNEL_MCTRL:
> +			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
>   		default:
>   			return 0;
>   		}
>   		break;
>   	case hwmon_temp_input:
>   	case hwmon_temp_label:
> -		return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP, channel)) ? 0444 : 0;
> +		switch (channel) {
> +		case CHANNEL_PKG:
> +		case CHANNEL_VRAM:
> +			return xe_reg_is_valid(xe_hwmon_get_reg(hwmon, REG_TEMP,
> +								channel)) ? 0444 : 0;
> +		case CHANNEL_MCTRL:
> +			return (!get_mc_temp(hwmon, &val)) ? 0444 : 0;
> +		default:
> +			return 0;
> +		}
> +		break;
>   	default:
>   		return 0;
>   	}
> @@ -885,17 +936,29 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
>   
>   	switch (attr) {
>   	case hwmon_temp_input:
> +		switch (channel) {
> +		case CHANNEL_MCTRL:
> +			return get_mc_temp(hwmon, val);
> +		break;
> +		case CHANNEL_PKG:
> +		case CHANNEL_VRAM:
>   		reg_val = xe_mmio_read32(mmio, xe_hwmon_get_reg(hwmon, REG_TEMP, channel));
>   
>   		/* HW register value is in degrees Celsius, convert to millidegrees. */
>   		*val = REG_FIELD_GET(TEMP_MASK, reg_val) * MILLIDEGREE_PER_DEGREE;
>   		break;
> +		default:
> +			*val = 0;
> +			return -EOPNOTSUPP;
> +		}
> +		break;
>   	case hwmon_temp_emergency:
>   		switch (channel) {
>   		case CHANNEL_PKG:
>   			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
>   			break;
>   		case CHANNEL_VRAM:
> +		case CHANNEL_MCTRL:
>   			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_SHUTDOWN] * MILLIDEGREE_PER_DEGREE;
>   			break;
>   		default:
> @@ -909,6 +972,7 @@ xe_hwmon_temp_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val)
>   			*val = hwmon->temp.limit[TEMP_LIMIT_PKG_TJMAX] * MILLIDEGREE_PER_DEGREE;
>   			break;
>   		case CHANNEL_VRAM:
> +		case CHANNEL_MCTRL:
>   			*val = hwmon->temp.limit[TEMP_LIMIT_MEM_TJMAX] * MILLIDEGREE_PER_DEGREE;
>   			break;
>   		default:
> @@ -1278,6 +1342,8 @@ static int xe_hwmon_read_label(struct device *dev,
>   			*str = "pkg";
>   		else if (channel == CHANNEL_VRAM)
>   			*str = "vram";
> +		else if (channel == CHANNEL_MCTRL)
> +			*str = "mctrl_avg";
>   		return 0;
>   	case hwmon_power:
>   	case hwmon_energy:
> diff --git a/drivers/gpu/drm/xe/xe_pcode_api.h b/drivers/gpu/drm/xe/xe_pcode_api.h
> index 16201da0cf6b..53d826e24273 100644
> --- a/drivers/gpu/drm/xe/xe_pcode_api.h
> +++ b/drivers/gpu/drm/xe/xe_pcode_api.h
> @@ -69,6 +69,8 @@
>   #define	READ_THERMAL_LIMITS			0x0
>   #define	READ_THERMAL_CONFIG			0x1
>   #define	READ_THERMAL_DATA			0x2
> +#define TEMP_MASK_MAILBOX			REG_GENMASK8(6, 0)
> +#define TEMP_INDEX_MCTRL			0x2
>   
>   #define   PCODE_FREQUENCY_CONFIG		0x6e
>   /* Frequency Config Sub Commands (param1) */

^ permalink raw reply	[flat|nested] 16+ messages in thread

* ✗ Xe.CI.Full: failure for drm/xe/hwmon: Expose new temperature attributes (rev3)
  2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
                   ` (8 preceding siblings ...)
  2025-12-11 10:17 ` ✓ Xe.CI.BAT: " Patchwork
@ 2025-12-11 19:28 ` Patchwork
  9 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2025-12-11 19:28 UTC (permalink / raw)
  To: Karthik Poosa; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 36905 bytes --]

== Series Details ==

Series: drm/xe/hwmon: Expose new temperature attributes (rev3)
URL   : https://patchwork.freedesktop.org/series/158384/
State : failure

== Summary ==

CI Bug Log - changes from xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b_FULL -> xe-pw-158384v3_FULL
====================================================

Summary
-------

  **WARNING**

  Minor unknown changes coming with xe-pw-158384v3_FULL need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-158384v3_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-158384v3_FULL:

### IGT changes ###

#### Warnings ####

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
    - shard-bmg:          [SKIP][1] ([Intel XE#4141]) -> [FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt.html

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

  Here are the changes found in xe-pw-158384v3_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@linear-8bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_big_fb@linear-8bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#1124]) +10 other tests skip
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180.html

  * igt@kms_big_fb@yf-tiled-64bpp-rotate-90:
    - shard-lnl:          NOTRUN -> [SKIP][5] ([Intel XE#1124]) +1 other test skip
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-3/igt@kms_big_fb@yf-tiled-64bpp-rotate-90.html

  * igt@kms_bw@connected-linear-tiling-2-displays-2160x1440p:
    - shard-lnl:          NOTRUN -> [SKIP][6] ([Intel XE#2191])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_bw@connected-linear-tiling-2-displays-2160x1440p.html

  * igt@kms_bw@linear-tiling-2-displays-2160x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#367]) +1 other test skip
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_bw@linear-tiling-2-displays-2160x1440p.html

  * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs:
    - shard-lnl:          NOTRUN -> [SKIP][8] ([Intel XE#2887]) +1 other test skip
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs.html

  * igt@kms_ccs@crc-primary-rotation-180-4-tiled-lnl-ccs@pipe-c-dp-2:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2652] / [Intel XE#787]) +17 other tests skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@kms_ccs@crc-primary-rotation-180-4-tiled-lnl-ccs@pipe-c-dp-2.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc:
    - shard-lnl:          NOTRUN -> [SKIP][10] ([Intel XE#3432])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#2887]) +8 other tests skip
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc.html

  * igt@kms_cdclk@mode-transition-all-outputs:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#2724])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@kms_cdclk@mode-transition-all-outputs.html

  * igt@kms_chamelium_color@ctm-negative:
    - shard-lnl:          NOTRUN -> [SKIP][13] ([Intel XE#306])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-2/igt@kms_chamelium_color@ctm-negative.html

  * igt@kms_chamelium_color@ctm-red-to-blue:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2325])
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@kms_chamelium_color@ctm-red-to-blue.html

  * igt@kms_chamelium_frames@hdmi-crc-single:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#2252]) +4 other tests skip
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@kms_chamelium_frames@hdmi-crc-single.html

  * igt@kms_chamelium_hpd@dp-hpd-enable-disable-mode:
    - shard-lnl:          NOTRUN -> [SKIP][16] ([Intel XE#373]) +1 other test skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-5/igt@kms_chamelium_hpd@dp-hpd-enable-disable-mode.html

  * igt@kms_content_protection@uevent:
    - shard-bmg:          NOTRUN -> [FAIL][17] ([Intel XE#6707]) +1 other test fail
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_content_protection@uevent.html

  * igt@kms_cursor_crc@cursor-offscreen-32x32:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2320]) +4 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@kms_cursor_crc@cursor-offscreen-32x32.html

  * igt@kms_cursor_crc@cursor-random-256x85:
    - shard-lnl:          NOTRUN -> [SKIP][19] ([Intel XE#1424]) +2 other tests skip
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-5/igt@kms_cursor_crc@cursor-random-256x85.html

  * igt@kms_cursor_crc@cursor-rapid-movement-512x512:
    - shard-lnl:          NOTRUN -> [SKIP][20] ([Intel XE#2321])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-5/igt@kms_cursor_crc@cursor-rapid-movement-512x512.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
    - shard-lnl:          NOTRUN -> [SKIP][21] ([Intel XE#309])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-2/igt@kms_cursor_legacy@cursorb-vs-flipb-toggle.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic:
    - shard-bmg:          NOTRUN -> [FAIL][22] ([Intel XE#6715])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html

  * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#1340])
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3.html

  * igt@kms_dp_link_training@non-uhbr-sst:
    - shard-bmg:          [PASS][24] -> [FAIL][25] ([Intel XE#6816])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-1/igt@kms_dp_link_training@non-uhbr-sst.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_dp_link_training@non-uhbr-sst.html

  * igt@kms_dsc@dsc-with-output-formats:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#2244]) +1 other test skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_dsc@dsc-with-output-formats.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
    - shard-lnl:          NOTRUN -> [SKIP][27] ([Intel XE#1401] / [Intel XE#1745])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode:
    - shard-lnl:          NOTRUN -> [SKIP][28] ([Intel XE#1401])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#2293] / [Intel XE#2380]) +2 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#2293]) +2 other tests skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html

  * igt@kms_force_connector_basic@force-connector-state:
    - shard-lnl:          NOTRUN -> [SKIP][31] ([Intel XE#352])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_force_connector_basic@force-connector-state.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][32] ([Intel XE#651]) +1 other test skip
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2311]) +18 other tests skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][34] ([Intel XE#656]) +9 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-tiling-linear:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#4141]) +9 other tests skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-tiling-linear.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-shrfb-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][36] ([Intel XE#6312])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][37] ([Intel XE#2313]) +20 other tests skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt.html

  * igt@kms_hdr@static-toggle:
    - shard-lnl:          NOTRUN -> [SKIP][38] ([Intel XE#1503])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_hdr@static-toggle.html

  * igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
    - shard-lnl:          NOTRUN -> [SKIP][39] ([Intel XE#356])
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-5/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html

  * igt@kms_plane@pixel-format-source-clamping@pipe-b-plane-0:
    - shard-lnl:          NOTRUN -> [FAIL][40] ([Intel XE#5195]) +2 other tests fail
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@kms_plane@pixel-format-source-clamping@pipe-b-plane-0.html

  * igt@kms_plane_multiple@2x-tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#5021]) +1 other test skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_plane_multiple@2x-tiling-yf.html

  * igt@kms_pm_backlight@bad-brightness:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#870])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_pm_backlight@bad-brightness.html

  * igt@kms_pm_dc@dc3co-vpb-simulation:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#2391])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_pm_dc@dc3co-vpb-simulation.html

  * igt@kms_pm_dc@dc6-psr:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#2392])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_pm_dc@dc6-psr.html

  * igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-a-edp-1:
    - shard-lnl:          NOTRUN -> [SKIP][45] ([Intel XE#1406] / [Intel XE#4608]) +3 other tests skip
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-a-edp-1.html

  * igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf:
    - shard-lnl:          NOTRUN -> [SKIP][46] ([Intel XE#1406] / [Intel XE#2893] / [Intel XE#4608]) +1 other test skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf.html

  * igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#1406] / [Intel XE#1489]) +4 other tests skip
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb.html

  * igt@kms_psr@pr-dpms:
    - shard-lnl:          NOTRUN -> [SKIP][48] ([Intel XE#1406])
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_psr@pr-dpms.html

  * igt@kms_psr@psr2-no-drrs:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +6 other tests skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@kms_psr@psr2-no-drrs.html

  * igt@kms_psr@psr2-primary-render:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#1406] / [Intel XE#2234])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_psr@psr2-primary-render.html

  * igt@kms_rotation_crc@bad-pixel-format:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#3414] / [Intel XE#3904])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_rotation_crc@bad-pixel-format.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
    - shard-lnl:          NOTRUN -> [SKIP][52] ([Intel XE#3414] / [Intel XE#3904])
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html

  * igt@kms_sharpness_filter@invalid-filter-with-scaler:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#6503]) +1 other test skip
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_sharpness_filter@invalid-filter-with-scaler.html

  * igt@xe_compute_preempt@compute-preempt-many-vram:
    - shard-lnl:          NOTRUN -> [SKIP][54] ([Intel XE#5191])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@xe_compute_preempt@compute-preempt-many-vram.html

  * igt@xe_eudebug@discovery-empty-clients:
    - shard-lnl:          NOTRUN -> [SKIP][55] ([Intel XE#4837])
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-8/igt@xe_eudebug@discovery-empty-clients.html

  * igt@xe_eudebug@vma-ufence:
    - shard-bmg:          NOTRUN -> [SKIP][56] ([Intel XE#4837]) +5 other tests skip
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@xe_eudebug@vma-ufence.html

  * igt@xe_eudebug_online@resume-dss:
    - shard-lnl:          NOTRUN -> [SKIP][57] ([Intel XE#4837] / [Intel XE#6665]) +1 other test skip
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@xe_eudebug_online@resume-dss.html

  * igt@xe_eudebug_online@single-step-one:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#4837] / [Intel XE#6665]) +2 other tests skip
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_eudebug_online@single-step-one.html

  * igt@xe_evict@evict-beng-cm-threads-large-multi-vm:
    - shard-lnl:          NOTRUN -> [SKIP][59] ([Intel XE#688]) +1 other test skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-3/igt@xe_evict@evict-beng-cm-threads-large-multi-vm.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race:
    - shard-lnl:          NOTRUN -> [SKIP][60] ([Intel XE#1392]) +1 other test skip
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race.html

  * igt@xe_exec_basic@multigpu-once-userptr-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][61] ([Intel XE#2322]) +3 other tests skip
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@xe_exec_basic@multigpu-once-userptr-rebind.html

  * igt@xe_exec_system_allocator@many-64k-mmap-free-huge:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#5007])
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_exec_system_allocator@many-64k-mmap-free-huge.html

  * igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-new-huge:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#4943]) +12 other tests skip
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-new-huge.html

  * igt@xe_exec_system_allocator@threads-shared-vm-many-large-mmap-new-huge-nomemset:
    - shard-lnl:          NOTRUN -> [SKIP][64] ([Intel XE#4943]) +3 other tests skip
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-1/igt@xe_exec_system_allocator@threads-shared-vm-many-large-mmap-new-huge-nomemset.html

  * igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
    - shard-bmg:          NOTRUN -> [ABORT][65] ([Intel XE#5466] / [Intel XE#5530])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html

  * igt@xe_module_load@load:
    - shard-bmg:          ([PASS][66], [PASS][67], [PASS][68], [PASS][69], [PASS][70], [PASS][71], [PASS][72], [PASS][73], [PASS][74], [PASS][75], [PASS][76], [PASS][77], [PASS][78], [PASS][79], [PASS][80], [PASS][81], [PASS][82], [PASS][83], [PASS][84], [PASS][85], [PASS][86], [PASS][87], [PASS][88], [PASS][89], [PASS][90]) -> ([PASS][91], [PASS][92], [PASS][93], [PASS][94], [PASS][95], [PASS][96], [PASS][97], [PASS][98], [PASS][99], [SKIP][100], [PASS][101], [PASS][102], [PASS][103], [PASS][104], [PASS][105], [PASS][106], [PASS][107], [PASS][108], [PASS][109], [PASS][110], [PASS][111], [PASS][112], [PASS][113], [PASS][114], [PASS][115], [PASS][116]) ([Intel XE#2457])
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-6/igt@xe_module_load@load.html
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-1/igt@xe_module_load@load.html
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-3/igt@xe_module_load@load.html
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-4/igt@xe_module_load@load.html
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@xe_module_load@load.html
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@xe_module_load@load.html
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@xe_module_load@load.html
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-3/igt@xe_module_load@load.html
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-3/igt@xe_module_load@load.html
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-3/igt@xe_module_load@load.html
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-4/igt@xe_module_load@load.html
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-2/igt@xe_module_load@load.html
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-8/igt@xe_module_load@load.html
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-8/igt@xe_module_load@load.html
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-2/igt@xe_module_load@load.html
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-4/igt@xe_module_load@load.html
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-8/igt@xe_module_load@load.html
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-8/igt@xe_module_load@load.html
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-1/igt@xe_module_load@load.html
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-1/igt@xe_module_load@load.html
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-2/igt@xe_module_load@load.html
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@xe_module_load@load.html
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-6/igt@xe_module_load@load.html
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-6/igt@xe_module_load@load.html
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-6/igt@xe_module_load@load.html
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_module_load@load.html
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_module_load@load.html
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_module_load@load.html
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_module_load@load.html
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@xe_module_load@load.html
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_module_load@load.html
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@xe_module_load@load.html
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@xe_module_load@load.html
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@xe_module_load@load.html
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_module_load@load.html
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@xe_module_load@load.html
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_module_load@load.html
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@xe_module_load@load.html
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@xe_module_load@load.html
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@xe_module_load@load.html
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@xe_module_load@load.html
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-3/igt@xe_module_load@load.html
   [108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@xe_module_load@load.html
   [109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@xe_module_load@load.html
   [110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@xe_module_load@load.html
   [111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@xe_module_load@load.html
   [112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@xe_module_load@load.html
   [113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@xe_module_load@load.html
   [114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@xe_module_load@load.html
   [115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-1/igt@xe_module_load@load.html
   [116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@xe_module_load@load.html

  * igt@xe_pat@pat-index-xelp:
    - shard-lnl:          NOTRUN -> [SKIP][117] ([Intel XE#977])
   [117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@xe_pat@pat-index-xelp.html

  * igt@xe_pm@s2idle-d3cold-basic-exec:
    - shard-bmg:          NOTRUN -> [SKIP][118] ([Intel XE#2284]) +1 other test skip
   [118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@xe_pm@s2idle-d3cold-basic-exec.html

  * igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_compute0:
    - shard-lnl:          [PASS][119] -> [FAIL][120] ([Intel XE#6251]) +1 other test fail
   [119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-lnl-2/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_compute0.html
   [120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-3/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_compute0.html

  * igt@xe_pxp@display-pxp-fb:
    - shard-bmg:          NOTRUN -> [SKIP][121] ([Intel XE#4733]) +3 other tests skip
   [121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@xe_pxp@display-pxp-fb.html

  * igt@xe_query@multigpu-query-gt-list:
    - shard-lnl:          NOTRUN -> [SKIP][122] ([Intel XE#944]) +1 other test skip
   [122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-3/igt@xe_query@multigpu-query-gt-list.html

  * igt@xe_query@multigpu-query-topology-l3-bank-mask:
    - shard-bmg:          NOTRUN -> [SKIP][123] ([Intel XE#944]) +1 other test skip
   [123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-4/igt@xe_query@multigpu-query-topology-l3-bank-mask.html

  
#### Possible fixes ####

  * igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1:
    - shard-lnl:          [FAIL][124] ([Intel XE#6054]) -> [PASS][125]
   [124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-lnl-1/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1.html
   [125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1.html

  * igt@kms_cursor_edge_walk@256x256-top-edge@pipe-d-dp-2:
    - shard-bmg:          [FAIL][126] -> [PASS][127] +2 other tests pass
   [126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-2/igt@kms_cursor_edge_walk@256x256-top-edge@pipe-d-dp-2.html
   [127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-8/igt@kms_cursor_edge_walk@256x256-top-edge@pipe-d-dp-2.html

  * igt@kms_flip@flip-vs-suspend@c-hdmi-a3:
    - shard-bmg:          [INCOMPLETE][128] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][129] +1 other test pass
   [128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-2/igt@kms_flip@flip-vs-suspend@c-hdmi-a3.html
   [129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-5/igt@kms_flip@flip-vs-suspend@c-hdmi-a3.html

  * igt@kms_flip@modeset-vs-vblank-race@d-dp2:
    - shard-bmg:          [FAIL][130] ([Intel XE#3650]) -> [PASS][131] +3 other tests pass
   [130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-6/igt@kms_flip@modeset-vs-vblank-race@d-dp2.html
   [131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_flip@modeset-vs-vblank-race@d-dp2.html

  * igt@xe_pmu@engine-activity-accuracy-50:
    - shard-lnl:          [FAIL][132] ([Intel XE#6251]) -> [PASS][133] +2 other tests pass
   [132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-lnl-5/igt@xe_pmu@engine-activity-accuracy-50.html
   [133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-3/igt@xe_pmu@engine-activity-accuracy-50.html

  
#### Warnings ####

  * igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic:
    - shard-lnl:          [FAIL][134] ([Intel XE#6054] / [Intel XE#6676]) -> [FAIL][135] ([Intel XE#6676])
   [134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-lnl-1/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic.html
   [135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-lnl-4/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][136] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][137] ([Intel XE#3544])
   [136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@kms_hdr@brightness-with-hdr.html
   [137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-6/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_hdr@invalid-hdr:
    - shard-bmg:          [ABORT][138] ([Intel XE#6740]) -> [SKIP][139] ([Intel XE#1503])
   [138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b/shard-bmg-5/igt@kms_hdr@invalid-hdr.html
   [139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-158384v3/shard-bmg-2/igt@kms_hdr@invalid-hdr.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
  [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
  [Intel XE#1401]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1401
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
  [Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
  [Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
  [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#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
  [Intel XE#2391]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2391
  [Intel XE#2392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2392
  [Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
  [Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
  [Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
  [Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
  [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#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
  [Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/356
  [Intel XE#3650]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3650
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
  [Intel XE#5007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5007
  [Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
  [Intel XE#5191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5191
  [Intel XE#5195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5195
  [Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
  [Intel XE#5530]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5530
  [Intel XE#6054]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6054
  [Intel XE#6251]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6251
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
  [Intel XE#6676]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6676
  [Intel XE#6707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6707
  [Intel XE#6715]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6715
  [Intel XE#6740]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6740
  [Intel XE#6816]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6816
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
  [Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
  [Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977


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

  * IGT: IGT_8663 -> IGT_8664
  * Linux: xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b -> xe-pw-158384v3

  IGT_8663: aca02d1cc9804e5f1868b0ebfba6426e2d1244fc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  IGT_8664: 28cc709ad89c0ef569569f19f4772d4cca354963 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-4220-3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b: 3adb3f4aa5a8563ee9c1f6e137827b740e3ab40b
  xe-pw-158384v3: 158384v3

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 41384 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count
  2025-12-11 17:28   ` Nilawar, Badal
@ 2025-12-15 15:12     ` Poosa, Karthik
  0 siblings, 0 replies; 16+ messages in thread
From: Poosa, Karthik @ 2025-12-15 15:12 UTC (permalink / raw)
  To: Nilawar, Badal, intel-xe
  Cc: anshuman.gupta, rodrigo.vivi, raag.jadav, riana.tauro


On 11-12-2025 22:58, Nilawar, Badal wrote:
>
> On 10-12-2025 11:52, Karthik Poosa wrote:
>> Read number of thermal sensors available.
>>
>> Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
>> ---
>>   drivers/gpu/drm/xe/xe_hwmon.c | 28 ++++++++++++++++++++++++----
>>   1 file changed, 24 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_hwmon.c 
>> b/drivers/gpu/drm/xe/xe_hwmon.c
>> index c4a200cc2c23..e843021d13ec 100644
>> --- a/drivers/gpu/drm/xe/xe_hwmon.c
>> +++ b/drivers/gpu/drm/xe/xe_hwmon.c
>> @@ -99,6 +99,11 @@ enum sensor_attr_power {
>>    */
>>   #define PL_WRITE_MBX_TIMEOUT_MS    (1)
>>   +/*
>> + * Number of thermal sensors.
>> + */
>> +#define MAX_THERMAL_SENSORS    (11)
>> +
>>   /**
>>    * struct xe_hwmon_energy_info - to accumulate energy
>>    */
>> @@ -126,9 +131,11 @@ struct xe_hwmon_thermal_info {
>>       union {
>>           /** @limits: temperatures limits */
>>           u8 limit[8];
>> -        /** @data: limits data dwords */
>> -        u32 data[2];
>> +        /** @dword: limit dwords */
>> +        u32 dword[2];
> Please maintain variable name consistent throughout the series.
>>       };
>> +    /** @count: no of temperature sensors */
>> +    u8 count;
>>   };
>>     /**
>> @@ -716,18 +723,31 @@ static int 
>> xe_hwmon_pcode_read_thermal_info(struct xe_hwmon *hwmon)
>>   {
>>       struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe);
>>       int ret = 0;
>> +    u32 val = 0;
>>         if (!hwmon->xe->info.has_mbx_power_limits)
>>           return -ENXIO;
>>         /* Read thermal info */
>>       ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, 
>> READ_THERMAL_LIMITS, 0),
>> -                &hwmon->temp.data[0], &hwmon->temp.data[1]);
>> +                &hwmon->temp.dword[0], &hwmon->temp.dword[1]);
>>       drm_dbg(&hwmon->xe->drm, "thermal info read ret %d, val 0x%x 
>> val1 0x%x\n", ret,
>> -        hwmon->temp.data[0], hwmon->temp.data[1]);
>> +        hwmon->temp.dword[0], hwmon->temp.dword[1]);
>>       if (ret)
>>           return ret;
>>   +    /* Read thermal config */
>> +    ret = xe_pcode_read(root_tile, PCODE_MBOX(PCODE_THERMAL_INFO, 
>> READ_THERMAL_CONFIG, 0),
>> +                &val, NULL);
>> +    drm_dbg(&hwmon->xe->drm, "thermal config read ret %d, count 
>> %d\n", ret, val);
>> +    if (ret)
>> +        return ret;
>> +
>> +    hwmon->temp.count = val & TEMP_MASK;
>> +    if (hwmon->temp.count > MAX_THERMAL_SENSORS)
>
> Why this restriction?

Because we created the structure to hold sensor data of 
MAX_THERMAL_SENSORS only.

I think we can increase MAX_THERMAL_SENSORS to 255 as that is max count 
supported by thermal mailbox.

>> + drm_warn(&hwmon->xe->drm, "thermal config count %d exceeds 
>> supported limit %d\n",
>> +             hwmon->temp.count, MAX_THERMAL_SENSORS);
>> +
>>       return 0;
> I am seeing patch 5 is exposing avj of hwmon->temp.count sensors, so 
> could you please combine patch 4 and 5.
>
> Thanks,
> Badal
>
>>   }

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-12-15 15:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-10  6:22 [PATCH v2 0/7] drm/xe/hwmon: Expose new temperature attributes Karthik Poosa
2025-12-10  6:22 ` [PATCH v2 1/7] drm/xe/hwmon: Read temperature limits using pcode mailbox Karthik Poosa
2025-12-11 11:25   ` Nilawar, Badal
2025-12-10  6:22 ` [PATCH v2 2/7] drm/xe/hwmon: Expose tempX_emergency Karthik Poosa
2025-12-11 11:46   ` Nilawar, Badal
2025-12-10  6:22 ` [PATCH v2 3/7] drm/xe/hwmon: Expose tempX_crit Karthik Poosa
2025-12-10  6:22 ` [PATCH v2 4/7] drm/xe/hwmon: Read thermal sensors count Karthik Poosa
2025-12-11 17:28   ` Nilawar, Badal
2025-12-15 15:12     ` Poosa, Karthik
2025-12-10  6:22 ` [PATCH v2 5/7] drm/xe/hwmon: Expose memory controller temperature Karthik Poosa
2025-12-11 17:32   ` Nilawar, Badal
2025-12-10  6:23 ` [PATCH v2 6/7] drm/xe/hwmon: Expose GPU pcie temperature Karthik Poosa
2025-12-10  6:23 ` [PATCH v2 7/7] drm/xe/hwmon: Expose individual vram temperature Karthik Poosa
2025-12-11  9:16 ` ✓ CI.KUnit: success for drm/xe/hwmon: Expose new temperature attributes (rev3) Patchwork
2025-12-11 10:17 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-11 19:28 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox