* [PATCH 0/7] Crescent Island PMT support
@ 2026-08-06 13:58 Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 1/7] platform/x86/intel/pmt: complete pcidev to device update Michael J. Ruhl
` (10 more replies)
0 siblings, 11 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
The Crescent Island (CRI) GPU supports PMT via Xe driver
registration.
The CRI PMT MMIO mapping is shared for each PMT feature and it is
necessary to set an index register value to access the correct memory
space.
The PMT driver has a callback infrastructure to access data areas with
driver specific access. It is does not support the PMT control access.
CRI discovery/control spaces are part of the access window so a driver
callback is necessary to allow for the correct window to be exposed.
Add control path callback support to the PMT driver.
Add CRI PMT discovery information.
Update the Xe driver to support the CRI PMT access.
The crashlog access needs to be done with power enabled (telem is only
available when the device is powered).
Determine which access is requested, and do the appropriate power
request.
CRI FW is loaded at device power. Support the late-binding API to
wait for FW readiness. (pending sysctl patch set implements the API).
Michael J. Ruhl (7):
platform/x86/intel/pmt: complete pcidev to device update
platform/x86/intel/pmt: Add register access callbacks
drm/xe/vsec: Use correct pm state get
drm/xe/vsec: Support Crescent Island PMT
drm/xe/vsec: Crescent Island PMT decode
drm/xe/vsec: Crescent Island PMT callbacks
drm/xe/vsec: support late bind fw information
drivers/gpu/drm/xe/regs/xe_pmt.h | 5 +
drivers/gpu/drm/xe/xe_device.c | 4 +-
drivers/gpu/drm/xe/xe_device_types.h | 4 +
drivers/gpu/drm/xe/xe_vsec.c | 417 +++++++++++++++++++--
drivers/gpu/drm/xe/xe_vsec.h | 2 +-
drivers/platform/x86/intel/pmt/class.c | 5 +-
drivers/platform/x86/intel/pmt/class.h | 3 +-
drivers/platform/x86/intel/pmt/crashlog.c | 39 +-
drivers/platform/x86/intel/pmt/discovery.c | 2 +-
include/linux/intel_vsec.h | 12 +
10 files changed, 448 insertions(+), 45 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 1/7] platform/x86/intel/pmt: complete pcidev to device update
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 2/7] platform/x86/intel/pmt: Add register access callbacks Michael J. Ruhl
` (9 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
Previously the pcidev usage was moved to the struct device.
The struct device is set for only the telemetry endpoints.
This usage prevents other PMT features (crashlog) from using
the callback mechanism.
Use struct device in the intel_pmt_entry.
Update callback usage to os the pmt entry rather than the
telemetry endpoint.
Fixes: 353042d54d82 ("platform/x86/intel/vsec: Switch exported helpers from pci_dev to device")
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/platform/x86/intel/pmt/class.c | 5 ++---
drivers/platform/x86/intel/pmt/class.h | 3 +--
drivers/platform/x86/intel/pmt/discovery.c | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/platform/x86/intel/pmt/class.c b/drivers/platform/x86/intel/pmt/class.c
index d0ab8e33c62a..402d51df834a 100644
--- a/drivers/platform/x86/intel/pmt/class.c
+++ b/drivers/platform/x86/intel/pmt/class.c
@@ -100,7 +100,7 @@ intel_pmt_read(struct file *filp, struct kobject *kobj,
if (count > entry->size - off)
count = entry->size - off;
- count = pmt_telem_read_mmio(entry->ep->dev, entry->cb, entry->header.guid, buf,
+ count = pmt_telem_read_mmio(entry->dev, entry->cb, entry->header.guid, buf,
entry->base, off, count);
return count;
@@ -286,8 +286,6 @@ static int pmt_resolve_access_pci(struct intel_pmt_entry *entry,
return -EINVAL;
}
- entry->pcidev = pci_dev;
-
return 0;
}
@@ -365,6 +363,7 @@ static int intel_pmt_populate_entry(struct intel_pmt_entry *entry,
entry->guid = header->guid;
entry->size = header->size;
entry->cb = ivdev->priv_data;
+ entry->dev = ivdev->dev;
return 0;
}
diff --git a/drivers/platform/x86/intel/pmt/class.h b/drivers/platform/x86/intel/pmt/class.h
index a0ece4fc3837..258cb460e61c 100644
--- a/drivers/platform/x86/intel/pmt/class.h
+++ b/drivers/platform/x86/intel/pmt/class.h
@@ -20,7 +20,6 @@
#define GET_ADDRESS(v) ((v) & GENMASK(31, 3))
struct device;
-struct pci_dev;
extern struct class intel_pmt_class;
struct telem_endpoint {
@@ -42,7 +41,7 @@ struct intel_pmt_header {
struct intel_pmt_entry {
struct telem_endpoint *ep;
- struct pci_dev *pcidev;
+ struct device *dev;
struct intel_pmt_header header;
u32 disc_header[PMT_DISC_DWORDS];
struct bin_attribute pmt_bin_attr;
diff --git a/drivers/platform/x86/intel/pmt/discovery.c b/drivers/platform/x86/intel/pmt/discovery.c
index c482368bfaae..f4203d240f54 100644
--- a/drivers/platform/x86/intel/pmt/discovery.c
+++ b/drivers/platform/x86/intel/pmt/discovery.c
@@ -609,7 +609,7 @@ void intel_pmt_get_features(struct intel_pmt_entry *entry)
mutex_lock(&feature_list_lock);
list_for_each_entry(feature, &pmt_feature_list, list) {
- if (feature->priv->parent != entry->ep->dev)
+ if (feature->priv->parent != entry->dev)
continue;
pmt_get_features(entry, feature);
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 2/7] platform/x86/intel/pmt: Add register access callbacks
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 1/7] platform/x86/intel/pmt: complete pcidev to device update Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 3/7] drm/xe/vsec: Use correct pm state get Michael J. Ruhl
` (8 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
Some HW does not have direct MMIO access to PMT control and data
features.
Augment the current callback infrastructure (data access) to allow
a registered driver to customize read/write access to the control
paths for PMT usage.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/platform/x86/intel/pmt/crashlog.c | 39 +++++++++++++++++++++--
include/linux/intel_vsec.h | 12 +++++++
2 files changed, 48 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/x86/intel/pmt/crashlog.c b/drivers/platform/x86/intel/pmt/crashlog.c
index f936daf99e4d..033c736e1bc8 100644
--- a/drivers/platform/x86/intel/pmt/crashlog.c
+++ b/drivers/platform/x86/intel/pmt/crashlog.c
@@ -129,7 +129,19 @@ static void pmt_crashlog_rmw(struct crashlog_entry *crashlog, u32 bit, bool set)
{
const struct crashlog_control *control = &crashlog->info->control;
struct intel_pmt_entry *entry = &crashlog->entry;
- u32 reg = readl(entry->disc_table + control->offset);
+ u32 guid = entry->header.guid;
+ u32 reg;
+ int err;
+
+ if (entry->cb->read_reg) {
+ err = entry->cb->read_reg(entry->dev, guid, ®, control->offset);
+ if (err) {
+ pr_err("%s: failed to read reg: %d\n", __func__, err);
+ return;
+ }
+ } else {
+ reg = readl(entry->disc_table + control->offset);
+ }
reg &= ~control->trigger_mask;
@@ -138,14 +150,35 @@ static void pmt_crashlog_rmw(struct crashlog_entry *crashlog, u32 bit, bool set)
else
reg &= ~bit;
- writel(reg, entry->disc_table + control->offset);
+ if (entry->cb->write_reg) {
+ err = entry->cb->write_reg(entry->dev, guid, reg, control->offset);
+ if (err) {
+ pr_err("%s: failed to write reg: %d\n", __func__, err);
+ return;
+ }
+ } else {
+ writel(reg, entry->disc_table + control->offset);
+ }
}
/* Read the status register and see if the specified @bit is set */
static bool pmt_crashlog_rc(struct crashlog_entry *crashlog, u32 bit)
{
const struct crashlog_status *status = &crashlog->info->status;
- u32 reg = readl(crashlog->entry.disc_table + status->offset);
+ struct intel_pmt_entry *entry = &crashlog->entry;
+ u32 guid = entry->header.guid;
+ u32 reg;
+ int err;
+
+ if (entry->cb->read_reg) {
+ err = entry->cb->read_reg(entry->dev, guid, ®, status->offset);
+ if (err) {
+ pr_err("%s: failed to read reg: %d\n", __func__, err);
+ return false;
+ }
+ } else {
+ reg = readl(crashlog->entry.disc_table + status->offset);
+ }
return !!(reg & bit);
}
diff --git a/include/linux/intel_vsec.h b/include/linux/intel_vsec.h
index 843cda8f8644..3ef218cd610f 100644
--- a/include/linux/intel_vsec.h
+++ b/include/linux/intel_vsec.h
@@ -94,9 +94,21 @@ enum intel_vsec_quirks {
* * data: buffer for the data to be copied
* * off: offset into the requested buffer
* * count: size of buffer
+ * @read_reg: when specified called by client driver to read PMT state
+ * * dev: device reference for the callback's use
+ * * guid: ID of data to acccss
+ * * reg_data: register data
+ * * off: offset of register to read
+ * @write_reg: when specified called by client driver to write PMT state
+ * * dev: device reference for the callback's use
+ * * guid: ID of data to acccss
+ * * reg_data: register data
+ * * off: offset of register to write
*/
struct pmt_callbacks {
int (*read_telem)(struct device *dev, u32 guid, u64 *data, loff_t off, u32 count);
+ int (*read_reg)(struct device *dev, u32 guid, u32 *reg_data, u32 offset);
+ int (*write_reg)(struct device *dev, u32 guid, u32 reg_data, u32 offset);
};
struct vsec_feature_dependency {
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 3/7] drm/xe/vsec: Use correct pm state get
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 1/7] platform/x86/intel/pmt: complete pcidev to device update Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 2/7] platform/x86/intel/pmt: Add register access callbacks Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 4/7] drm/xe/vsec: Support Crescent Island PMT Michael J. Ruhl
` (7 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
Crashlog needs to be collected at all times. The current pm
check assumes telemetry only.
Update read path to enable device for crashlog instances.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Fixes: 2c402a801c19 ("platform/x86/intel/pmt: support BMG crashlog")
---
drivers/gpu/drm/xe/xe_vsec.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index a9baf0bfe572..f9b519f2b91f 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -145,6 +145,7 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
{
struct xe_device *xe = kdev_to_xe_device(dev);
void __iomem *telem_addr = xe->mmio.regs + BMG_TELEMETRY_OFFSET;
+ u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid);
u32 mem_region;
u32 offset;
int ret;
@@ -160,9 +161,18 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
if (!xe->soc_remapper.set_telem_region)
return -ENODEV;
- /* indicate that we are not at an appropriate power level */
- if (!xe_pm_runtime_get_if_active(xe))
- return -ENODATA;
+ /* make sure that we are not at an inappropriate power level */
+ switch (cap_type) {
+ case CRASHLOG:
+ xe_pm_runtime_get(xe);
+ break;
+ case TELEMETRY:
+ if (!xe_pm_runtime_get_if_active(xe))
+ return -ENODATA;
+ break;
+ case WATCHER:
+ return -EINVAL;
+ }
/* set SoC re-mapper index register based on GUID memory region */
xe->soc_remapper.set_telem_region(xe, mem_region);
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 4/7] drm/xe/vsec: Support Crescent Island PMT
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (2 preceding siblings ...)
2026-08-06 13:58 ` [PATCH 3/7] drm/xe/vsec: Use correct pm state get Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 5/7] drm/xe/vsec: Crescent Island PMT decode Michael J. Ruhl
` (6 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
Crescent Island (CRI) supports PMT telemetry and crashlog.
Add Crescent Island (CRI) discovery structure (DVSEC)
information to allow for Xe registration.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/gpu/drm/xe/regs/xe_pmt.h | 5 ++++
drivers/gpu/drm/xe/xe_vsec.c | 46 ++++++++++++++++++++++++++++++--
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/regs/xe_pmt.h b/drivers/gpu/drm/xe/regs/xe_pmt.h
index a62ab05c6b4c..fc9c9cb6a830 100644
--- a/drivers/gpu/drm/xe/regs/xe_pmt.h
+++ b/drivers/gpu/drm/xe/regs/xe_pmt.h
@@ -20,6 +20,11 @@
#define BMG_TELEMETRY_BASE_OFFSET 0xE0000
#define BMG_TELEMETRY_OFFSET (SOC_BASE + BMG_TELEMETRY_BASE_OFFSET)
+#define CRI_TELEMETRY_BASE_OFFSET 0xE0000
+/* for CRI discovery and telemetry are in an indexed window */
+#define CRI_DISCOVERY_OFFSET (SOC_BASE + CRI_TELEMETRY_BASE_OFFSET)
+#define CRI_TELEMETRY_OFFSET (SOC_BASE + CRI_TELEMETRY_BASE_OFFSET)
+
#define BMG_MODS_RESIDENCY_OFFSET (0x4D0)
#define BMG_G2_RESIDENCY_OFFSET (0x530)
#define BMG_G6_RESIDENCY_OFFSET (0x538)
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index f9b519f2b91f..338815963ac7 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -19,8 +19,19 @@
#include "regs/xe_pmt.h"
-/* PMT GUID value for BMG devices. NOTE: this is NOT a PCI id */
+/* PMT GUID value for BMG and CRI devices. NOTE: this is NOT a PCI id */
#define BMG_DEVICE_ID 0xE2F8
+#define CRI_DEVICE_ID 0xE2FA
+
+/*
+ * sizeof(Crashlog Type1 Version2) = 0x18 (24) bytes
+ * For BMG and CRI PUNIT and OOBMSMS crashlogs are consecutive.
+ */
+#define BMG_CRASHLOG_PUNIT_DISC_OFFSET (0x60)
+#define BMG_CRASHLOG_OOBMSM_DISC_OFFSET (BMG_CRASHLOG_PUNIT_DISC_OFFSET + 0x18)
+
+#define CRI_CRASHLOG_PUNIT_DISC_OFFSET (0x80)
+#define CRI_CRASHLOG_OOBMSM_DISC_OFFSET (CRI_CRASHLOG_PUNIT_DISC_OFFSET + 0x18)
static struct intel_vsec_header bmg_telemetry = {
.rev = 1,
@@ -39,7 +50,7 @@ static struct intel_vsec_header bmg_crashlog = {
.num_entries = 2,
.entry_size = 6,
.tbir = 0,
- .offset = BMG_DISCOVERY_OFFSET + 0x60,
+ .offset = BMG_DISCOVERY_OFFSET + BMG_CRASHLOG_PUNIT_DISC_OFFSET,
};
static struct intel_vsec_header *bmg_capabilities[] = {
@@ -48,9 +59,36 @@ static struct intel_vsec_header *bmg_capabilities[] = {
NULL
};
+static struct intel_vsec_header cri_telemetry = {
+ .rev = 1,
+ .length = 0x10,
+ .id = VSEC_ID_TELEMETRY,
+ .num_entries = 3,
+ .entry_size = 4,
+ .tbir = 0,
+ .offset = CRI_DISCOVERY_OFFSET,
+};
+
+static struct intel_vsec_header cri_crashlog = {
+ .rev = 1,
+ .length = 0x10,
+ .id = VSEC_ID_CRASHLOG,
+ .num_entries = 2,
+ .entry_size = 6,
+ .tbir = 0,
+ .offset = CRI_DISCOVERY_OFFSET + CRI_CRASHLOG_PUNIT_DISC_OFFSET,
+};
+
+static struct intel_vsec_header *cri_capabilities[] = {
+ &cri_telemetry,
+ &cri_crashlog,
+ NULL
+};
+
enum xe_vsec {
XE_VSEC_UNKNOWN = 0,
XE_VSEC_BMG,
+ XE_VSEC_CRI,
};
static struct intel_vsec_platform_info xe_vsec_info[] = {
@@ -58,6 +96,10 @@ static struct intel_vsec_platform_info xe_vsec_info[] = {
.caps = VSEC_CAP_TELEMETRY | VSEC_CAP_CRASHLOG,
.headers = bmg_capabilities,
},
+ [XE_VSEC_CRI] = {
+ .caps = VSEC_CAP_TELEMETRY | VSEC_CAP_CRASHLOG,
+ .headers = cri_capabilities,
+ },
{ }
};
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 5/7] drm/xe/vsec: Crescent Island PMT decode
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (3 preceding siblings ...)
2026-08-06 13:58 ` [PATCH 4/7] drm/xe/vsec: Support Crescent Island PMT Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks Michael J. Ruhl
` (5 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
Crescent Island (CRI) has different index and offset values for
accessing the PMT data area.
Update the decode path to support the CRI device.
Update the data read callback so to support the CRI usage.
Define several magic numbers.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/gpu/drm/xe/xe_vsec.c | 141 +++++++++++++++++++++++++++++------
1 file changed, 118 insertions(+), 23 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index 338815963ac7..3849f99c1c91 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -106,23 +106,47 @@ static struct intel_vsec_platform_info xe_vsec_info[] = {
/*
* The GUID will have the following bits to decode:
* [0:3] - {Telemetry space iteration number (0,1,..)}
- * [4:7] - Segment (SEGMENT_INDEPENDENT-0, Client-1, Server-2)
+ * [4:7] - BMG Segment (SEGMENT_INDEPENDENT-0, Client-1, Server-2)
+ * [4:5] - CRI Segment (SEGMENT_INDEPENDENT-0, Client-1, Server-2)
+ * [6:7] - CRI Instance
* [8:11] - SOC_SKU
* [12:27] – Device ID – changes for each down bin SKU’s
* [28:29] - Capability Type (Crashlog-0, Telemetry Aggregator-1, Watcher-2)
* [30:31] - Record-ID (0-PUNIT, 1-OOBMSM_0, 2-OOBMSM_1)
*/
#define GUID_TELEM_ITERATION GENMASK(3, 0)
-#define GUID_SEGMENT GENMASK(7, 4)
#define GUID_SOC_SKU GENMASK(11, 8)
#define GUID_DEVICE_ID GENMASK(27, 12)
#define GUID_CAP_TYPE GENMASK(29, 28)
#define GUID_RECORD_ID GENMASK(31, 30)
-#define PUNIT_TELEMETRY_OFFSET 0x0200
-#define PUNIT_WATCHER_OFFSET 0x14A0
-#define OOBMSM_0_WATCHER_OFFSET 0x18D8
-#define OOBMSM_1_TELEMETRY_OFFSET 0x1000
+#define BMG_GUID_SEGMENT GENMASK(7, 4)
+
+#define CRI_GUID_SEGMENT GENMASK(5, 4)
+#define CRI_GUID_INSTANCE GENMASK(7, 6)
+
+#define BMG_IDX_TELEM_PUNIT 0x00
+#define BMG_IDX_TELEM_OOBMSM 0x01
+#define BMG_IDX_CRASHLOG_PUNIT 0x02
+#define BMG_IDX_CRASHLOG_OOBMSM 0x04
+
+#define BMG_PUNIT_TELEMETRY_OFFSET 0x0200
+#define BMG_PUNIT_WATCHER_OFFSET 0x14A0
+#define BMG_OOBMSM_0_WATCHER_OFFSET 0x18D8
+#define BMG_OOBMSM_1_TELEMETRY_OFFSET 0x1000
+
+#define CRI_IDX_TELEM_DISCOVERY 0x00
+#define CRI_IDX_TELEM_PUNIT 0x01
+#define CRI_IDX_TELEM_OOBMSM 0x02
+#define CRI_IDX_CRASHLOG_PUNIT 0x03
+#define CRI_IDX_WATCHER_OOBMSM 0x03 /* PUNIT and OOBMSM share this index */
+#define CRI_IDX_CRASHLOG_OOBMSM 0x04
+
+#define CRI_PUNIT_TELEMETRY_OFFSET 0x0200
+#define CRI_PUNIT_WATCHER_OFFSET 0x08A0
+#define CRI_OOBMSM_WATCHER_OFFSET 0x0CF8
+#define CRI_OOBMSM_GFSP_TELEMETRY_OFFSET 0x1600
+#define CRI_PUNIT_CRASHLOG_OFFSET 0x0E60
enum record_id {
PUNIT,
@@ -136,44 +160,37 @@ enum capability {
WATCHER,
};
-static int xe_guid_decode(u32 guid, int *index, u32 *offset)
+static int bmg_guid_decode(u32 guid, int *index, u32 *offset)
{
u32 record_id = FIELD_GET(GUID_RECORD_ID, guid);
u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid);
- u32 device_id = FIELD_GET(GUID_DEVICE_ID, guid);
-
- if (device_id != BMG_DEVICE_ID)
- return -ENODEV;
-
- if (cap_type > WATCHER)
- return -EINVAL;
*offset = 0;
if (cap_type == CRASHLOG) {
- *index = record_id == PUNIT ? 2 : 4;
+ *index = record_id == PUNIT ? BMG_IDX_CRASHLOG_PUNIT : BMG_IDX_CRASHLOG_OOBMSM;
return 0;
}
switch (record_id) {
case PUNIT:
- *index = 0;
+ *index = BMG_IDX_TELEM_PUNIT;
if (cap_type == TELEMETRY)
- *offset = PUNIT_TELEMETRY_OFFSET;
+ *offset = BMG_PUNIT_TELEMETRY_OFFSET;
else
- *offset = PUNIT_WATCHER_OFFSET;
+ *offset = BMG_PUNIT_WATCHER_OFFSET;
break;
case OOBMSM_0:
- *index = 1;
+ *index = BMG_IDX_TELEM_OOBMSM;
if (cap_type == WATCHER)
- *offset = OOBMSM_0_WATCHER_OFFSET;
+ *offset = BMG_OOBMSM_0_WATCHER_OFFSET;
break;
case OOBMSM_1:
- *index = 1;
+ *index = BMG_IDX_TELEM_OOBMSM;
if (cap_type == TELEMETRY)
- *offset = OOBMSM_1_TELEMETRY_OFFSET;
+ *offset = BMG_OOBMSM_1_TELEMETRY_OFFSET;
break;
default:
return -EINVAL;
@@ -182,12 +199,84 @@ static int xe_guid_decode(u32 guid, int *index, u32 *offset)
return 0;
}
+static int cri_guid_decode(u32 guid, int *index, u32 *offset)
+{
+ u32 record_id = FIELD_GET(GUID_RECORD_ID, guid);
+ u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid);
+ u32 instance = FIELD_GET(CRI_GUID_INSTANCE, guid);
+
+ *offset = 0;
+
+ if (cap_type == CRASHLOG) {
+ if (record_id == PUNIT) {
+ *index = CRI_IDX_CRASHLOG_PUNIT;
+ *offset = CRI_PUNIT_CRASHLOG_OFFSET;
+ } else {
+ *index = CRI_IDX_CRASHLOG_OOBMSM;
+ }
+ return 0;
+ }
+
+ switch (record_id) {
+ case PUNIT:
+ *index = CRI_IDX_TELEM_PUNIT;
+ if (cap_type == TELEMETRY)
+ *offset = CRI_PUNIT_TELEMETRY_OFFSET;
+ else
+ *offset = CRI_PUNIT_WATCHER_OFFSET;
+ break;
+
+ case OOBMSM_0:
+ *index = CRI_IDX_TELEM_OOBMSM;
+ switch (instance) {
+ case 0:
+ if (cap_type == WATCHER) {
+ *index = CRI_IDX_WATCHER_OOBMSM;
+ *offset = CRI_OOBMSM_WATCHER_OFFSET;
+ }
+ break;
+
+ case 1:
+ if (cap_type == TELEMETRY)
+ *offset = CRI_OOBMSM_GFSP_TELEMETRY_OFFSET;
+ break;
+
+ default:
+ return -EINVAL;
+ }
+ break;
+
+ default:
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static int xe_guid_decode(u32 guid, int *index, u32 *offset)
+{
+ u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid);
+ u32 device_id = FIELD_GET(GUID_DEVICE_ID, guid);
+
+ if (cap_type > WATCHER)
+ return -EINVAL;
+
+ if (device_id == BMG_DEVICE_ID)
+ return bmg_guid_decode(guid, index, offset);
+
+ if (device_id == CRI_DEVICE_ID)
+ return cri_guid_decode(guid, index, offset);
+
+ return -ENODEV;
+}
+
int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset,
u32 count)
{
struct xe_device *xe = kdev_to_xe_device(dev);
- void __iomem *telem_addr = xe->mmio.regs + BMG_TELEMETRY_OFFSET;
u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid);
+ u32 device_id = FIELD_GET(GUID_DEVICE_ID, guid);
+ void __iomem *telem_addr = xe->mmio.regs;
u32 mem_region;
u32 offset;
int ret;
@@ -196,6 +285,11 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
if (ret)
return ret;
+ if (device_id == BMG_DEVICE_ID)
+ telem_addr += BMG_TELEMETRY_OFFSET;
+ else
+ telem_addr += CRI_TELEMETRY_OFFSET;
+
telem_addr += offset + user_offset;
guard(mutex)(&xe->pmt.lock);
@@ -220,6 +314,7 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
xe->soc_remapper.set_telem_region(xe, mem_region);
memcpy_fromio(data, telem_addr, count);
+
xe_pm_runtime_put(xe);
return count;
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (4 preceding siblings ...)
2026-08-06 13:58 ` [PATCH 5/7] drm/xe/vsec: Crescent Island PMT decode Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 21:50 ` Matthew Brost
2026-08-06 13:58 ` [PATCH 7/7] drm/xe/vsec: support late bind fw information Michael J. Ruhl
` (4 subsequent siblings)
10 siblings, 1 reply; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
CRI PMT support requires callbacks to access the discovery status
and control areas. Access is a common MMIO area that requires an
index to be set before access is allowed.
Introduce the necessary callbacks to get the status and control
information for CRI PMT usage.
Add the glue logic to register the CRI PMT functionality.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/gpu/drm/xe/xe_vsec.c | 85 ++++++++++++++++++++++++++++++++++--
1 file changed, 82 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index 3849f99c1c91..b84ec9088de7 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
return count;
}
-static struct pmt_callbacks xe_pmt_cb = {
+/**
+ * xe_pmt_read_reg() - read a crashlog register
+ * @dev: the xe device that registered the callback
+ * @guid: PMT guid of the crashlog instance
+ * @reg: data read from the PMT data structure
+ * @offset: which data to read from the PMT data structure
+ *
+ * Read the requested PMT register based on the pcie device and guid. The
+ * supported struct is the Crashlog Type1 Version2.
+ *
+ * Currently this is for CRI only.
+ */
+static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32 offset)
+{
+ struct xe_device *xe = kdev_to_xe_device(dev);
+ void __iomem *disc_addr = xe->mmio.regs;
+ u32 inst;
+
+ if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
+ FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
+ return -EINVAL;
+
+ inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
+ CRI_CRASHLOG_PUNIT_DISC_OFFSET : CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
+ disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
+
+ guard(mutex)(&xe->pmt.lock);
+
+ xe_pm_runtime_get(xe);
+
+ xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
+
+ memcpy_fromio(reg, disc_addr, sizeof(*reg));
+
+ xe_pm_runtime_put(xe);
+
+ return 0;
+}
+
+static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32 offset)
+{
+ struct xe_device *xe = kdev_to_xe_device(dev);
+ void __iomem *disc_addr = xe->mmio.regs;
+ u32 inst;
+
+ if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
+ FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
+ return -EINVAL;
+
+ inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
+ CRI_CRASHLOG_PUNIT_DISC_OFFSET : CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
+ disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
+
+ guard(mutex)(&xe->pmt.lock);
+
+ xe_pm_runtime_get(xe);
+
+ xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
+
+ memcpy_toio(disc_addr, ®, sizeof(reg));
+
+ xe_pm_runtime_put(xe);
+
+ return 0;
+}
+
+static struct pmt_callbacks xe_bmg_pmt_cb = {
+ .read_telem = xe_pmt_telem_read,
+};
+
+static struct pmt_callbacks xe_cri_pmt_cb = {
.read_telem = xe_pmt_telem_read,
+ .read_reg = xe_pmt_read_reg,
+ .write_reg = xe_pmt_write_reg,
};
static const int vsec_platforms[] = {
[XE_BATTLEMAGE] = XE_VSEC_BMG,
+ [XE_CRESCENTISLAND] = XE_VSEC_CRI,
};
static enum xe_vsec get_platform_info(struct xe_device *xe)
{
- if (xe->info.platform > XE_BATTLEMAGE)
+ if (xe->info.platform > XE_CRESCENTISLAND)
return XE_VSEC_UNKNOWN;
return vsec_platforms[xe->info.platform];
@@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
switch (platform) {
case XE_VSEC_BMG:
- info->priv_data = &xe_pmt_cb;
+ info->priv_data = &xe_bmg_pmt_cb;
break;
+
+ case XE_VSEC_CRI:
+ info->priv_data = &xe_cri_pmt_cb;
+ xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
+ break;
+
default:
break;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 7/7] drm/xe/vsec: support late bind fw information
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (5 preceding siblings ...)
2026-08-06 13:58 ` [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks Michael J. Ruhl
@ 2026-08-06 13:58 ` Michael J. Ruhl
2026-08-06 14:18 ` [PATCH 0/7] Crescent Island PMT support Ruhl, Michael J
` (3 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Michael J. Ruhl @ 2026-08-06 13:58 UTC (permalink / raw)
To: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen,
matthew.brost, rodrigo.vivi, thomas.hellstrom, airlied, simona,
david.e.box, anoop.c.vijay, badal.nilawar, matthew.d.roper,
james.ausmus
CRI FW is loaded on power on. Because of this, access to
the FW cannot be done until it is running.
Update the XE PMT probe and access to check for late bind
devices, verify, and wait for the appropriate FW state
before probe or access.
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
drivers/gpu/drm/xe/xe_device.c | 4 +-
drivers/gpu/drm/xe/xe_device_types.h | 4 +
drivers/gpu/drm/xe/xe_vsec.c | 131 ++++++++++++++++++++++++++-
drivers/gpu/drm/xe/xe_vsec.h | 2 +-
4 files changed, 135 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index d25d02b24898..ee5e2e28e07e 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1129,7 +1129,9 @@ int xe_device_probe(struct xe_device *xe)
for_each_gt(gt, xe, id)
xe_gt_sanitize_freq(gt);
- xe_vsec_init(xe);
+ err = xe_vsec_init(xe);
+ if (err)
+ goto err_unregister_display;
err = xe_sriov_init_late(xe);
if (err)
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 03a7bb08adf7..0a6b6630b945 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -463,6 +463,10 @@ struct xe_device {
struct {
/** @pmt.lock: protect access for telemetry data */
struct mutex lock;
+ /** @pmt.work: support late-bind probe */
+ struct delayed_work work;
+ /** @pmt.retry_count: late-bind probe retry */
+ u32 retry_count;
} pmt;
/** @soc_remapper: SoC remapper object */
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index b84ec9088de7..9de32564fc29 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -3,6 +3,7 @@
#include <linux/bitfield.h>
#include <linux/bits.h>
#include <linux/cleanup.h>
+#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/intel_vsec.h>
#include <linux/module.h>
@@ -15,6 +16,7 @@
#include "xe_mmio.h"
#include "xe_platform_types.h"
#include "xe_pm.h"
+#include "xe_sysctrl.h"
#include "xe_vsec.h"
#include "regs/xe_pmt.h"
@@ -160,6 +162,14 @@ enum capability {
WATCHER,
};
+/*
+ * Late bind will delay 100msec for up to 20 seconds
+ */
+#define VSEC_LATE_BIND_DELAY_MSEC (100)
+#define VSEC_LATE_BIND_RETRY (200)
+
+static void cri_late_bind_probe(struct xe_device *xe);
+
static int bmg_guid_decode(u32 guid, int *index, u32 *offset)
{
u32 record_id = FIELD_GET(GUID_RECORD_ID, guid);
@@ -270,6 +280,56 @@ static int xe_guid_decode(u32 guid, int *index, u32 *offset)
return -ENODEV;
}
+#define WAITING_FOR_SYCTLR
+#ifdef WAITING_FOR_SYCTLR
+static bool xe_is_oobmsm_fw_ready(struct xe_device *xe)
+{
+ return true;
+}
+#endif
+
+static void cri_late_bind_probe_work(struct work_struct *work)
+{
+ struct xe_device *xe = container_of(work, struct xe_device, pmt.work.work);
+
+ if (xe_is_oobmsm_fw_ready(xe)) {
+ cri_late_bind_probe(xe);
+ xe_pm_runtime_put(xe);
+ return;
+ }
+
+ xe->pmt.retry_count++;
+
+ /* wait up to 20 seconds */
+ if (xe->pmt.retry_count == VSEC_LATE_BIND_RETRY) {
+ drm_warn(&xe->drm, "PMT probe: Late Binding failed to complete\n");
+ xe_pm_runtime_put(xe);
+ return;
+ }
+
+ if (!schedule_delayed_work(&xe->pmt.work, msecs_to_jiffies(VSEC_LATE_BIND_DELAY_MSEC)))
+ xe_pm_runtime_put(xe);
+}
+
+static bool wait_for_fw(struct xe_device *xe)
+{
+ int retries = VSEC_LATE_BIND_RETRY; /* wait up to 20 secs */
+
+ if (xe->info.platform != XE_CRESCENTISLAND)
+ return true;
+
+ while (retries--) {
+ if (xe_is_oobmsm_fw_ready(xe))
+ return true;
+
+ msleep(VSEC_LATE_BIND_DELAY_MSEC);
+ }
+
+ drm_warn(&xe->drm, "Late Binding failed to complete\n");
+
+ return false;
+}
+
int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset,
u32 count)
{
@@ -310,6 +370,11 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
return -EINVAL;
}
+ if (!wait_for_fw(xe)) {
+ xe_pm_runtime_put(xe);
+ return -ENODATA;
+ }
+
/* set SoC re-mapper index register based on GUID memory region */
xe->soc_remapper.set_telem_region(xe, mem_region);
@@ -349,6 +414,10 @@ static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32 offset)
guard(mutex)(&xe->pmt.lock);
xe_pm_runtime_get(xe);
+ if (!wait_for_fw(xe)) {
+ xe_pm_runtime_put(xe);
+ return -ENODATA;
+ }
xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
@@ -376,6 +445,10 @@ static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32 offset)
guard(mutex)(&xe->pmt.lock);
xe_pm_runtime_get(xe);
+ if (!wait_for_fw(xe)) {
+ xe_pm_runtime_get(xe);
+ return -ENODATA;
+ }
xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
@@ -409,12 +482,44 @@ static enum xe_vsec get_platform_info(struct xe_device *xe)
return vsec_platforms[xe->info.platform];
}
+static void cri_late_bind_probe(struct xe_device *xe)
+{
+ struct intel_vsec_platform_info *info;
+ struct device *dev = xe->drm.dev;
+ enum xe_vsec platform;
+
+ platform = get_platform_info(xe);
+ if (platform != XE_VSEC_CRI)
+ return;
+
+ info = &xe_vsec_info[platform];
+ if (!info->headers)
+ return;
+
+ info->priv_data = &xe_cri_pmt_cb;
+ xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
+
+ intel_vsec_register(dev, info);
+}
+
+static void vsec_disable_late_bind_work(void *arg)
+{
+ struct xe_device *xe = arg;
+
+ /*
+ * If was work was cancelled while it was still pending, we need to
+ * take care of releasing the runtime reference
+ */
+ if (disable_delayed_work_sync(&xe->pmt.work))
+ xe_pm_runtime_put(xe);
+}
+
/**
* xe_vsec_init - Initialize resources and add intel_vsec auxiliary
* interface
* @xe: valid xe instance
*/
-void xe_vsec_init(struct xe_device *xe)
+int xe_vsec_init(struct xe_device *xe)
{
struct intel_vsec_platform_info *info;
struct device *dev = xe->drm.dev;
@@ -422,11 +527,11 @@ void xe_vsec_init(struct xe_device *xe)
platform = get_platform_info(xe);
if (platform == XE_VSEC_UNKNOWN)
- return;
+ return 0;
info = &xe_vsec_info[platform];
if (!info->headers)
- return;
+ return 0;
switch (platform) {
case XE_VSEC_BMG:
@@ -434,12 +539,25 @@ void xe_vsec_init(struct xe_device *xe)
break;
case XE_VSEC_CRI:
+ INIT_DELAYED_WORK(&xe->pmt.work, cri_late_bind_probe_work);
+ xe->pmt.retry_count = 0;
+
+ xe_pm_runtime_get_noresume(xe);
+ if (!xe_is_oobmsm_fw_ready(xe)) {
+ schedule_delayed_work(&xe->pmt.work,
+ msecs_to_jiffies(VSEC_LATE_BIND_DELAY_MSEC));
+ return devm_add_action_or_reset(xe->drm.dev,
+ vsec_disable_late_bind_work,
+ xe);
+ }
+
info->priv_data = &xe_cri_pmt_cb;
xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
break;
default:
- break;
+ drm_err(&xe->drm, "Unsupported platform: %u\n", platform);
+ return 0;
}
/*
@@ -447,5 +565,10 @@ void xe_vsec_init(struct xe_device *xe)
* resources.
*/
intel_vsec_register(dev, info);
+
+ if (platform == XE_VSEC_CRI)
+ xe_pm_runtime_put(xe);
+
+ return 0;
}
MODULE_IMPORT_NS("INTEL_VSEC");
diff --git a/drivers/gpu/drm/xe/xe_vsec.h b/drivers/gpu/drm/xe/xe_vsec.h
index a25b4e6e681b..c4a1e2fc67d8 100644
--- a/drivers/gpu/drm/xe/xe_vsec.h
+++ b/drivers/gpu/drm/xe/xe_vsec.h
@@ -9,7 +9,7 @@
struct device;
struct xe_device;
-void xe_vsec_init(struct xe_device *xe);
+int xe_vsec_init(struct xe_device *xe);
int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset, u32 count);
#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* RE: [PATCH 0/7] Crescent Island PMT support
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (6 preceding siblings ...)
2026-08-06 13:58 ` [PATCH 7/7] drm/xe/vsec: support late bind fw information Michael J. Ruhl
@ 2026-08-06 14:18 ` Ruhl, Michael J
2026-08-06 14:51 ` ✓ CI.KUnit: success for Crescent Island PMT support (rev3) Patchwork
` (2 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Ruhl, Michael J @ 2026-08-06 14:18 UTC (permalink / raw)
To: Ruhl, Michael J, platform-driver-x86@vger.kernel.org,
intel-xe@lists.freedesktop.org, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com, Brost, Matthew, Vivi, Rodrigo,
thomas.hellstrom@linux.intel.com, airlied@gmail.com,
simona@ffwll.ch, david.e.box@linux.intel.com, Vijay, Anoop C,
Nilawar, Badal, Roper, Matthew D, Ausmus, James
>-----Original Message-----
>From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf Of Michael
>J. Ruhl
>Sent: Thursday, August 6, 2026 9:58 AM
>To: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
>hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Brost, Matthew
><matthew.brost@intel.com>; Vivi, Rodrigo <rodrigo.vivi@intel.com>;
>thomas.hellstrom@linux.intel.com; airlied@gmail.com; simona@ffwll.ch;
>david.e.box@linux.intel.com; Vijay, Anoop C <anoop.c.vijay@intel.com>;
>Nilawar, Badal <badal.nilawar@intel.com>; Roper, Matthew D
><matthew.d.roper@intel.com>; Ausmus, James <james.ausmus@intel.com>
>Subject: [PATCH 0/7] Crescent Island PMT support
>
>The Crescent Island (CRI) GPU supports PMT via Xe driver
>registration.
>
>The CRI PMT MMIO mapping is shared for each PMT feature and it is
>necessary to set an index register value to access the correct memory
>space.
>
>The PMT driver has a callback infrastructure to access data areas with
>driver specific access. It is does not support the PMT control access.
>
>CRI discovery/control spaces are part of the access window so a driver
>callback is necessary to allow for the correct window to be exposed.
>
>Add control path callback support to the PMT driver.
>
>Add CRI PMT discovery information.
>
>Update the Xe driver to support the CRI PMT access.
>
>The crashlog access needs to be done with power enabled (telem is only
>available when the device is powered).
>
>Determine which access is requested, and do the appropriate power
>request.
>
>CRI FW is loaded at device power. Support the late-binding API to
>wait for FW readiness. (pending sysctl patch set implements the API).
This patch set provides the SYSCTRL API used in this patch set:
[PATCH v6 0/2] drm/xe/sysctrl: Add helper to query application status
M
>Michael J. Ruhl (7):
> platform/x86/intel/pmt: complete pcidev to device update
> platform/x86/intel/pmt: Add register access callbacks
> drm/xe/vsec: Use correct pm state get
> drm/xe/vsec: Support Crescent Island PMT
> drm/xe/vsec: Crescent Island PMT decode
> drm/xe/vsec: Crescent Island PMT callbacks
> drm/xe/vsec: support late bind fw information
>
> drivers/gpu/drm/xe/regs/xe_pmt.h | 5 +
> drivers/gpu/drm/xe/xe_device.c | 4 +-
> drivers/gpu/drm/xe/xe_device_types.h | 4 +
> drivers/gpu/drm/xe/xe_vsec.c | 417 +++++++++++++++++++--
> drivers/gpu/drm/xe/xe_vsec.h | 2 +-
> drivers/platform/x86/intel/pmt/class.c | 5 +-
> drivers/platform/x86/intel/pmt/class.h | 3 +-
> drivers/platform/x86/intel/pmt/crashlog.c | 39 +-
> drivers/platform/x86/intel/pmt/discovery.c | 2 +-
> include/linux/intel_vsec.h | 12 +
> 10 files changed, 448 insertions(+), 45 deletions(-)
>
>--
>2.43.0
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✓ CI.KUnit: success for Crescent Island PMT support (rev3)
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (7 preceding siblings ...)
2026-08-06 14:18 ` [PATCH 0/7] Crescent Island PMT support Ruhl, Michael J
@ 2026-08-06 14:51 ` Patchwork
2026-08-06 15:29 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-07 2:37 ` ✗ Xe.CI.FULL: failure " Patchwork
10 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-08-06 14:51 UTC (permalink / raw)
To: Michael J. Ruhl; +Cc: intel-xe
== Series Details ==
Series: Crescent Island PMT support (rev3)
URL : https://patchwork.freedesktop.org/series/160717/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[14:50:08] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:50:12] 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
[14:50:44] Starting KUnit Kernel (1/1)...
[14:50:44] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:50:44] ================== guc_buf (11 subtests) ===================
[14:50:44] [PASSED] test_smallest
[14:50:44] [PASSED] test_largest
[14:50:44] [PASSED] test_granular
[14:50:44] [PASSED] test_unique
[14:50:44] [PASSED] test_overlap
[14:50:44] [PASSED] test_reusable
[14:50:44] [PASSED] test_too_big
[14:50:44] [PASSED] test_flush
[14:50:44] [PASSED] test_lookup
[14:50:44] [PASSED] test_data
[14:50:44] [PASSED] test_class
[14:50:44] ===================== [PASSED] guc_buf =====================
[14:50:44] =================== guc_dbm (7 subtests) ===================
[14:50:44] [PASSED] test_empty
[14:50:44] [PASSED] test_default
[14:50:44] ======================== test_size ========================
[14:50:44] [PASSED] 4
[14:50:44] [PASSED] 8
[14:50:44] [PASSED] 32
[14:50:44] [PASSED] 256
[14:50:44] ==================== [PASSED] test_size ====================
[14:50:44] ======================= test_reuse ========================
[14:50:44] [PASSED] 4
[14:50:44] [PASSED] 8
[14:50:44] [PASSED] 32
[14:50:44] [PASSED] 256
[14:50:44] =================== [PASSED] test_reuse ====================
[14:50:44] =================== test_range_overlap ====================
[14:50:44] [PASSED] 4
[14:50:44] [PASSED] 8
[14:50:44] [PASSED] 32
[14:50:44] [PASSED] 256
[14:50:44] =============== [PASSED] test_range_overlap ================
[14:50:44] =================== test_range_compact ====================
[14:50:44] [PASSED] 4
[14:50:44] [PASSED] 8
[14:50:44] [PASSED] 32
[14:50:44] [PASSED] 256
[14:50:44] =============== [PASSED] test_range_compact ================
[14:50:44] ==================== test_range_spare =====================
[14:50:44] [PASSED] 4
[14:50:44] [PASSED] 8
[14:50:44] [PASSED] 32
[14:50:44] [PASSED] 256
[14:50:44] ================ [PASSED] test_range_spare =================
[14:50:44] ===================== [PASSED] guc_dbm =====================
[14:50:44] =================== guc_idm (6 subtests) ===================
[14:50:44] [PASSED] bad_init
[14:50:44] [PASSED] no_init
[14:50:44] [PASSED] init_fini
[14:50:44] [PASSED] check_used
[14:50:44] [PASSED] check_quota
[14:50:44] [PASSED] check_all
[14:50:44] ===================== [PASSED] guc_idm =====================
[14:50:44] =============== guc_klv_helpers (9 subtests) ===============
[14:50:44] [PASSED] test_count
[14:50:44] [PASSED] test_encode_u32
[14:50:44] [PASSED] test_encode_u64
[14:50:44] [PASSED] test_encode_string
[14:50:44] [PASSED] test_encode_object_raw
[14:50:44] [PASSED] test_encode_object_klv
[14:50:44] [PASSED] test_encode_object_nested
[14:50:44] [PASSED] test_encode_object_basic
[14:50:44] [PASSED] test_print
[14:50:44] ================= [PASSED] guc_klv_helpers =================
[14:50:44] ================== no_relay (3 subtests) ===================
[14:50:44] [PASSED] xe_drops_guc2pf_if_not_ready
[14:50:44] [PASSED] xe_drops_guc2vf_if_not_ready
[14:50:44] [PASSED] xe_rejects_send_if_not_ready
[14:50:44] ==================== [PASSED] no_relay =====================
[14:50:44] ================== pf_relay (14 subtests) ==================
[14:50:44] [PASSED] pf_rejects_guc2pf_too_short
[14:50:44] [PASSED] pf_rejects_guc2pf_too_long
[14:50:44] [PASSED] pf_rejects_guc2pf_no_payload
[14:50:44] [PASSED] pf_fails_no_payload
[14:50:44] [PASSED] pf_fails_bad_origin
[14:50:44] [PASSED] pf_fails_bad_type
[14:50:44] [PASSED] pf_txn_reports_error
[14:50:44] [PASSED] pf_txn_sends_pf2guc
[14:50:44] [PASSED] pf_sends_pf2guc
[14:50:44] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:50:44] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:50:44] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:50:44] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:50:44] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:50:44] ==================== [PASSED] pf_relay =====================
[14:50:44] ================== vf_relay (3 subtests) ===================
[14:50:44] [PASSED] vf_rejects_guc2vf_too_short
[14:50:44] [PASSED] vf_rejects_guc2vf_too_long
[14:50:44] [PASSED] vf_rejects_guc2vf_no_payload
[14:50:44] ==================== [PASSED] vf_relay =====================
[14:50:44] ================ pf_gt_config (9 subtests) =================
[14:50:44] [PASSED] fair_contexts_1vf
[14:50:44] [PASSED] fair_doorbells_1vf
[14:50:44] [PASSED] fair_ggtt_1vf
[14:50:44] ====================== fair_vram_1vf ======================
[14:50:44] [PASSED] 3.50 GiB
[14:50:44] [PASSED] 11.5 GiB
[14:50:44] [PASSED] 15.5 GiB
[14:50:44] [PASSED] 31.5 GiB
[14:50:44] [PASSED] 63.5 GiB
[14:50:44] [PASSED] 1.91 GiB
[14:50:44] ================== [PASSED] fair_vram_1vf ==================
[14:50:44] ================ fair_vram_1vf_admin_only =================
[14:50:44] [PASSED] 3.50 GiB
[14:50:44] [PASSED] 11.5 GiB
[14:50:44] [PASSED] 15.5 GiB
[14:50:44] [PASSED] 31.5 GiB
[14:50:44] [PASSED] 63.5 GiB
[14:50:44] [PASSED] 1.91 GiB
[14:50:44] ============ [PASSED] fair_vram_1vf_admin_only =============
[14:50:44] ====================== fair_contexts ======================
[14:50:44] [PASSED] 1 VF
[14:50:44] [PASSED] 2 VFs
[14:50:44] [PASSED] 3 VFs
[14:50:44] [PASSED] 4 VFs
[14:50:44] [PASSED] 5 VFs
[14:50:44] [PASSED] 6 VFs
[14:50:44] [PASSED] 7 VFs
[14:50:44] [PASSED] 8 VFs
[14:50:44] [PASSED] 9 VFs
[14:50:44] [PASSED] 10 VFs
[14:50:44] [PASSED] 11 VFs
[14:50:44] [PASSED] 12 VFs
[14:50:44] [PASSED] 13 VFs
[14:50:44] [PASSED] 14 VFs
[14:50:44] [PASSED] 15 VFs
[14:50:44] [PASSED] 16 VFs
[14:50:44] [PASSED] 17 VFs
[14:50:44] [PASSED] 18 VFs
[14:50:44] [PASSED] 19 VFs
[14:50:44] [PASSED] 20 VFs
[14:50:44] [PASSED] 21 VFs
[14:50:44] [PASSED] 22 VFs
[14:50:44] [PASSED] 23 VFs
[14:50:44] [PASSED] 24 VFs
[14:50:44] [PASSED] 25 VFs
[14:50:44] [PASSED] 26 VFs
[14:50:44] [PASSED] 27 VFs
[14:50:44] [PASSED] 28 VFs
[14:50:44] [PASSED] 29 VFs
[14:50:44] [PASSED] 30 VFs
[14:50:44] [PASSED] 31 VFs
[14:50:44] [PASSED] 32 VFs
[14:50:44] [PASSED] 33 VFs
[14:50:44] [PASSED] 34 VFs
[14:50:44] [PASSED] 35 VFs
[14:50:44] [PASSED] 36 VFs
[14:50:44] [PASSED] 37 VFs
[14:50:44] [PASSED] 38 VFs
[14:50:44] [PASSED] 39 VFs
[14:50:44] [PASSED] 40 VFs
[14:50:44] [PASSED] 41 VFs
[14:50:44] [PASSED] 42 VFs
[14:50:44] [PASSED] 43 VFs
[14:50:44] [PASSED] 44 VFs
[14:50:44] [PASSED] 45 VFs
[14:50:44] [PASSED] 46 VFs
[14:50:44] [PASSED] 47 VFs
[14:50:44] [PASSED] 48 VFs
[14:50:44] [PASSED] 49 VFs
[14:50:44] [PASSED] 50 VFs
[14:50:44] [PASSED] 51 VFs
[14:50:44] [PASSED] 52 VFs
[14:50:44] [PASSED] 53 VFs
[14:50:44] [PASSED] 54 VFs
[14:50:44] [PASSED] 55 VFs
[14:50:44] [PASSED] 56 VFs
[14:50:44] [PASSED] 57 VFs
[14:50:44] [PASSED] 58 VFs
[14:50:44] [PASSED] 59 VFs
[14:50:44] [PASSED] 60 VFs
[14:50:44] [PASSED] 61 VFs
[14:50:44] [PASSED] 62 VFs
[14:50:44] [PASSED] 63 VFs
[14:50:44] ================== [PASSED] fair_contexts ==================
[14:50:44] ===================== fair_doorbells ======================
[14:50:44] [PASSED] 1 VF
[14:50:44] [PASSED] 2 VFs
[14:50:44] [PASSED] 3 VFs
[14:50:44] [PASSED] 4 VFs
[14:50:44] [PASSED] 5 VFs
[14:50:44] [PASSED] 6 VFs
[14:50:44] [PASSED] 7 VFs
[14:50:44] [PASSED] 8 VFs
[14:50:44] [PASSED] 9 VFs
[14:50:44] [PASSED] 10 VFs
[14:50:44] [PASSED] 11 VFs
[14:50:44] [PASSED] 12 VFs
[14:50:44] [PASSED] 13 VFs
[14:50:44] [PASSED] 14 VFs
[14:50:44] [PASSED] 15 VFs
[14:50:44] [PASSED] 16 VFs
[14:50:44] [PASSED] 17 VFs
[14:50:44] [PASSED] 18 VFs
[14:50:44] [PASSED] 19 VFs
[14:50:44] [PASSED] 20 VFs
[14:50:44] [PASSED] 21 VFs
[14:50:44] [PASSED] 22 VFs
[14:50:44] [PASSED] 23 VFs
[14:50:44] [PASSED] 24 VFs
[14:50:44] [PASSED] 25 VFs
[14:50:44] [PASSED] 26 VFs
[14:50:44] [PASSED] 27 VFs
[14:50:44] [PASSED] 28 VFs
[14:50:44] [PASSED] 29 VFs
[14:50:44] [PASSED] 30 VFs
[14:50:44] [PASSED] 31 VFs
[14:50:44] [PASSED] 32 VFs
[14:50:44] [PASSED] 33 VFs
[14:50:44] [PASSED] 34 VFs
[14:50:44] [PASSED] 35 VFs
[14:50:44] [PASSED] 36 VFs
[14:50:44] [PASSED] 37 VFs
[14:50:44] [PASSED] 38 VFs
[14:50:44] [PASSED] 39 VFs
[14:50:44] [PASSED] 40 VFs
[14:50:44] [PASSED] 41 VFs
[14:50:44] [PASSED] 42 VFs
[14:50:44] [PASSED] 43 VFs
[14:50:44] [PASSED] 44 VFs
[14:50:44] [PASSED] 45 VFs
[14:50:44] [PASSED] 46 VFs
[14:50:44] [PASSED] 47 VFs
[14:50:44] [PASSED] 48 VFs
[14:50:44] [PASSED] 49 VFs
[14:50:44] [PASSED] 50 VFs
[14:50:44] [PASSED] 51 VFs
[14:50:44] [PASSED] 52 VFs
[14:50:44] [PASSED] 53 VFs
[14:50:44] [PASSED] 54 VFs
[14:50:44] [PASSED] 55 VFs
[14:50:44] [PASSED] 56 VFs
[14:50:44] [PASSED] 57 VFs
[14:50:44] [PASSED] 58 VFs
[14:50:44] [PASSED] 59 VFs
[14:50:44] [PASSED] 60 VFs
[14:50:44] [PASSED] 61 VFs
[14:50:44] [PASSED] 62 VFs
[14:50:44] [PASSED] 63 VFs
[14:50:44] ================= [PASSED] fair_doorbells ==================
[14:50:44] ======================== fair_ggtt ========================
[14:50:44] [PASSED] 1 VF
[14:50:44] [PASSED] 2 VFs
[14:50:44] [PASSED] 3 VFs
[14:50:44] [PASSED] 4 VFs
[14:50:44] [PASSED] 5 VFs
[14:50:44] [PASSED] 6 VFs
[14:50:44] [PASSED] 7 VFs
[14:50:44] [PASSED] 8 VFs
[14:50:44] [PASSED] 9 VFs
[14:50:44] [PASSED] 10 VFs
[14:50:44] [PASSED] 11 VFs
[14:50:44] [PASSED] 12 VFs
[14:50:44] [PASSED] 13 VFs
[14:50:44] [PASSED] 14 VFs
[14:50:44] [PASSED] 15 VFs
[14:50:44] [PASSED] 16 VFs
[14:50:44] [PASSED] 17 VFs
[14:50:44] [PASSED] 18 VFs
[14:50:44] [PASSED] 19 VFs
[14:50:44] [PASSED] 20 VFs
[14:50:44] [PASSED] 21 VFs
[14:50:44] [PASSED] 22 VFs
[14:50:44] [PASSED] 23 VFs
[14:50:44] [PASSED] 24 VFs
[14:50:44] [PASSED] 25 VFs
[14:50:44] [PASSED] 26 VFs
[14:50:44] [PASSED] 27 VFs
[14:50:44] [PASSED] 28 VFs
[14:50:44] [PASSED] 29 VFs
[14:50:44] [PASSED] 30 VFs
[14:50:44] [PASSED] 31 VFs
[14:50:44] [PASSED] 32 VFs
[14:50:44] [PASSED] 33 VFs
[14:50:44] [PASSED] 34 VFs
[14:50:44] [PASSED] 35 VFs
[14:50:44] [PASSED] 36 VFs
[14:50:44] [PASSED] 37 VFs
[14:50:44] [PASSED] 38 VFs
[14:50:44] [PASSED] 39 VFs
[14:50:44] [PASSED] 40 VFs
[14:50:44] [PASSED] 41 VFs
[14:50:44] [PASSED] 42 VFs
[14:50:44] [PASSED] 43 VFs
[14:50:44] [PASSED] 44 VFs
[14:50:44] [PASSED] 45 VFs
[14:50:44] [PASSED] 46 VFs
[14:50:44] [PASSED] 47 VFs
[14:50:44] [PASSED] 48 VFs
[14:50:44] [PASSED] 49 VFs
[14:50:44] [PASSED] 50 VFs
[14:50:44] [PASSED] 51 VFs
[14:50:44] [PASSED] 52 VFs
[14:50:44] [PASSED] 53 VFs
[14:50:44] [PASSED] 54 VFs
[14:50:44] [PASSED] 55 VFs
[14:50:44] [PASSED] 56 VFs
[14:50:44] [PASSED] 57 VFs
[14:50:44] [PASSED] 58 VFs
[14:50:44] [PASSED] 59 VFs
[14:50:44] [PASSED] 60 VFs
[14:50:44] [PASSED] 61 VFs
[14:50:44] [PASSED] 62 VFs
[14:50:44] [PASSED] 63 VFs
[14:50:44] ==================== [PASSED] fair_ggtt ====================
[14:50:45] ======================== fair_vram ========================
[14:50:45] [PASSED] 1 VF
[14:50:45] [PASSED] 2 VFs
[14:50:45] [PASSED] 3 VFs
[14:50:45] [PASSED] 4 VFs
[14:50:45] [PASSED] 5 VFs
[14:50:45] [PASSED] 6 VFs
[14:50:45] [PASSED] 7 VFs
[14:50:45] [PASSED] 8 VFs
[14:50:45] [PASSED] 9 VFs
[14:50:45] [PASSED] 10 VFs
[14:50:45] [PASSED] 11 VFs
[14:50:45] [PASSED] 12 VFs
[14:50:45] [PASSED] 13 VFs
[14:50:45] [PASSED] 14 VFs
[14:50:45] [PASSED] 15 VFs
[14:50:45] [PASSED] 16 VFs
[14:50:45] [PASSED] 17 VFs
[14:50:45] [PASSED] 18 VFs
[14:50:45] [PASSED] 19 VFs
[14:50:45] [PASSED] 20 VFs
[14:50:45] [PASSED] 21 VFs
[14:50:45] [PASSED] 22 VFs
[14:50:45] [PASSED] 23 VFs
[14:50:45] [PASSED] 24 VFs
[14:50:45] [PASSED] 25 VFs
[14:50:45] [PASSED] 26 VFs
[14:50:45] [PASSED] 27 VFs
[14:50:45] [PASSED] 28 VFs
[14:50:45] [PASSED] 29 VFs
[14:50:45] [PASSED] 30 VFs
[14:50:45] [PASSED] 31 VFs
[14:50:45] [PASSED] 32 VFs
[14:50:45] [PASSED] 33 VFs
[14:50:45] [PASSED] 34 VFs
[14:50:45] [PASSED] 35 VFs
[14:50:45] [PASSED] 36 VFs
[14:50:45] [PASSED] 37 VFs
[14:50:45] [PASSED] 38 VFs
[14:50:45] [PASSED] 39 VFs
[14:50:45] [PASSED] 40 VFs
[14:50:45] [PASSED] 41 VFs
[14:50:45] [PASSED] 42 VFs
[14:50:45] [PASSED] 43 VFs
[14:50:45] [PASSED] 44 VFs
[14:50:45] [PASSED] 45 VFs
[14:50:45] [PASSED] 46 VFs
[14:50:45] [PASSED] 47 VFs
[14:50:45] [PASSED] 48 VFs
[14:50:45] [PASSED] 49 VFs
[14:50:45] [PASSED] 50 VFs
[14:50:45] [PASSED] 51 VFs
[14:50:45] [PASSED] 52 VFs
[14:50:45] [PASSED] 53 VFs
[14:50:45] [PASSED] 54 VFs
[14:50:45] [PASSED] 55 VFs
[14:50:45] [PASSED] 56 VFs
[14:50:45] [PASSED] 57 VFs
[14:50:45] [PASSED] 58 VFs
[14:50:45] [PASSED] 59 VFs
[14:50:45] [PASSED] 60 VFs
[14:50:45] [PASSED] 61 VFs
[14:50:45] [PASSED] 62 VFs
[14:50:45] [PASSED] 63 VFs
[14:50:45] ==================== [PASSED] fair_vram ====================
[14:50:45] ================== [PASSED] pf_gt_config ===================
[14:50:45] ===================== lmtt (1 subtest) =====================
[14:50:45] ======================== test_ops =========================
[14:50:45] [PASSED] 2-level
[14:50:45] [PASSED] multi-level
[14:50:45] ==================== [PASSED] test_ops =====================
[14:50:45] ====================== [PASSED] lmtt =======================
[14:50:45] ================= sriov_packet (1 subtest) =================
[14:50:45] [PASSED] test_descriptor_init
[14:50:45] ================== [PASSED] sriov_packet ===================
[14:50:45] ================= pf_service (11 subtests) =================
[14:50:45] [PASSED] pf_negotiate_any
[14:50:45] [PASSED] pf_negotiate_base_match
[14:50:45] [PASSED] pf_negotiate_base_newer
[14:50:45] [PASSED] pf_negotiate_base_next
[14:50:45] [SKIPPED] pf_negotiate_base_older (no older minor)
[14:50:45] [PASSED] pf_negotiate_base_prev
[14:50:45] [PASSED] pf_negotiate_latest_match
[14:50:45] [PASSED] pf_negotiate_latest_newer
[14:50:45] [PASSED] pf_negotiate_latest_next
[14:50:45] [SKIPPED] pf_negotiate_latest_older (no older minor)
[14:50:45] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[14:50:45] =================== [PASSED] pf_service ====================
[14:50:45] ================= xe_guc_g2g (2 subtests) ==================
[14:50:45] ============== xe_live_guc_g2g_kunit_default ==============
[14:50:45] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[14:50:45] ============== xe_live_guc_g2g_kunit_allmem ===============
[14:50:45] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[14:50:45] =================== [SKIPPED] xe_guc_g2g ===================
[14:50:45] =================== xe_mocs (2 subtests) ===================
[14:50:45] ================ xe_live_mocs_kernel_kunit ================
[14:50:45] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[14:50:45] ================ xe_live_mocs_reset_kunit =================
[14:50:45] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[14:50:45] ==================== [SKIPPED] xe_mocs =====================
[14:50:45] ================= xe_migrate (2 subtests) ==================
[14:50:45] ================= xe_migrate_sanity_kunit =================
[14:50:45] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[14:50:45] ================== xe_validate_ccs_kunit ==================
[14:50:45] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[14:50:45] =================== [SKIPPED] xe_migrate ===================
[14:50:45] ================== xe_dma_buf (1 subtest) ==================
[14:50:45] ==================== xe_dma_buf_kunit =====================
[14:50:45] ================ [SKIPPED] xe_dma_buf_kunit ================
[14:50:45] =================== [SKIPPED] xe_dma_buf ===================
[14:50:45] ================= xe_bo_shrink (1 subtest) =================
[14:50:45] =================== xe_bo_shrink_kunit ====================
[14:50:45] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[14:50:45] ================== [SKIPPED] xe_bo_shrink ==================
[14:50:45] ==================== xe_bo (2 subtests) ====================
[14:50:45] ================== xe_ccs_migrate_kunit ===================
[14:50:45] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[14:50:45] ==================== xe_bo_evict_kunit ====================
[14:50:45] =============== [SKIPPED] xe_bo_evict_kunit ================
[14:50:45] ===================== [SKIPPED] xe_bo ======================
[14:50:45] ==================== args (13 subtests) ====================
[14:50:45] [PASSED] count_args_test
[14:50:45] [PASSED] call_args_example
[14:50:45] [PASSED] call_args_test
[14:50:45] [PASSED] drop_first_arg_example
[14:50:45] [PASSED] drop_first_arg_test
[14:50:45] [PASSED] first_arg_example
[14:50:45] [PASSED] first_arg_test
[14:50:45] [PASSED] last_arg_example
[14:50:45] [PASSED] last_arg_test
[14:50:45] [PASSED] pick_arg_example
[14:50:45] [PASSED] if_args_example
[14:50:45] [PASSED] if_args_test
[14:50:45] [PASSED] sep_comma_example
[14:50:45] ====================== [PASSED] args =======================
[14:50:45] =================== xe_pci (3 subtests) ====================
[14:50:45] ==================== check_graphics_ip ====================
[14:50:45] [PASSED] 12.00 Xe_LP
[14:50:45] [PASSED] 12.10 Xe_LP+
[14:50:45] [PASSED] 12.55 Xe_HPG
[14:50:45] [PASSED] 12.60 Xe_HPC
[14:50:45] [PASSED] 12.70 Xe_LPG
[14:50:45] [PASSED] 12.71 Xe_LPG
[14:50:45] [PASSED] 12.74 Xe_LPG+
[14:50:45] [PASSED] 20.01 Xe2_HPG
[14:50:45] [PASSED] 20.02 Xe2_HPG
[14:50:45] [PASSED] 20.04 Xe2_LPG
[14:50:45] [PASSED] 30.00 Xe3_LPG
[14:50:45] [PASSED] 30.01 Xe3_LPG
[14:50:45] [PASSED] 30.03 Xe3_LPG
[14:50:45] [PASSED] 30.04 Xe3_LPG
[14:50:45] [PASSED] 30.05 Xe3_LPG
[14:50:45] [PASSED] 35.10 Xe3p_LPG
[14:50:45] [PASSED] 35.11 Xe3p_XPC
[14:50:45] ================ [PASSED] check_graphics_ip ================
[14:50:45] ===================== check_media_ip ======================
[14:50:45] [PASSED] 12.00 Xe_M
[14:50:45] [PASSED] 12.55 Xe_HPM
[14:50:45] [PASSED] 13.00 Xe_LPM+
[14:50:45] [PASSED] 13.01 Xe2_HPM
[14:50:45] [PASSED] 20.00 Xe2_LPM
[14:50:45] [PASSED] 30.00 Xe3_LPM
[14:50:45] [PASSED] 30.02 Xe3_LPM
[14:50:45] [PASSED] 35.00 Xe3p_LPM
[14:50:45] [PASSED] 35.03 Xe3p_HPM
[14:50:45] ================= [PASSED] check_media_ip ==================
[14:50:45] =================== check_platform_desc ===================
[14:50:45] [PASSED] 0x9A60 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A68 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A70 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A40 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A49 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A59 (TIGERLAKE)
[14:50:45] [PASSED] 0x9A78 (TIGERLAKE)
[14:50:45] [PASSED] 0x9AC0 (TIGERLAKE)
[14:50:45] [PASSED] 0x9AC9 (TIGERLAKE)
[14:50:45] [PASSED] 0x9AD9 (TIGERLAKE)
[14:50:45] [PASSED] 0x9AF8 (TIGERLAKE)
[14:50:45] [PASSED] 0x4C80 (ROCKETLAKE)
[14:50:45] [PASSED] 0x4C8A (ROCKETLAKE)
[14:50:45] [PASSED] 0x4C8B (ROCKETLAKE)
[14:50:45] [PASSED] 0x4C8C (ROCKETLAKE)
[14:50:45] [PASSED] 0x4C90 (ROCKETLAKE)
[14:50:45] [PASSED] 0x4C9A (ROCKETLAKE)
[14:50:45] [PASSED] 0x4680 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4682 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4688 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x468A (ALDERLAKE_S)
[14:50:45] [PASSED] 0x468B (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4690 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4692 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4693 (ALDERLAKE_S)
[14:50:45] [PASSED] 0x46A0 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46A1 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46A2 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46A3 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46A6 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46A8 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46AA (ALDERLAKE_P)
[14:50:45] [PASSED] 0x462A (ALDERLAKE_P)
[14:50:45] [PASSED] 0x4626 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x4628 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46B0 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46B1 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46B2 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46B3 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46C0 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46C1 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46C2 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46C3 (ALDERLAKE_P)
[14:50:45] [PASSED] 0x46D0 (ALDERLAKE_N)
[14:50:45] [PASSED] 0x46D1 (ALDERLAKE_N)
[14:50:45] [PASSED] 0x46D2 (ALDERLAKE_N)
[14:50:45] [PASSED] 0x46D3 (ALDERLAKE_N)
[14:50:45] [PASSED] 0x46D4 (ALDERLAKE_N)
[14:50:45] [PASSED] 0xA721 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7A1 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7A9 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7AC (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7AD (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA720 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7A0 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7A8 (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7AA (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA7AB (ALDERLAKE_P)
[14:50:45] [PASSED] 0xA780 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA781 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA782 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA783 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA788 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA789 (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA78A (ALDERLAKE_S)
[14:50:45] [PASSED] 0xA78B (ALDERLAKE_S)
[14:50:45] [PASSED] 0x4905 (DG1)
[14:50:45] [PASSED] 0x4906 (DG1)
[14:50:45] [PASSED] 0x4907 (DG1)
[14:50:45] [PASSED] 0x4908 (DG1)
[14:50:45] [PASSED] 0x4909 (DG1)
[14:50:45] [PASSED] 0x56C0 (DG2)
[14:50:45] [PASSED] 0x56C2 (DG2)
[14:50:45] [PASSED] 0x56C1 (DG2)
[14:50:45] [PASSED] 0x7D51 (METEORLAKE)
[14:50:45] [PASSED] 0x7DD1 (METEORLAKE)
[14:50:45] [PASSED] 0x7D41 (METEORLAKE)
[14:50:45] [PASSED] 0x7D67 (METEORLAKE)
[14:50:45] [PASSED] 0xB640 (METEORLAKE)
[14:50:45] [PASSED] 0x56A0 (DG2)
[14:50:45] [PASSED] 0x56A1 (DG2)
[14:50:45] [PASSED] 0x56A2 (DG2)
[14:50:45] [PASSED] 0x56BE (DG2)
[14:50:45] [PASSED] 0x56BF (DG2)
[14:50:45] [PASSED] 0x5690 (DG2)
[14:50:45] [PASSED] 0x5691 (DG2)
[14:50:45] [PASSED] 0x5692 (DG2)
[14:50:45] [PASSED] 0x56A5 (DG2)
[14:50:45] [PASSED] 0x56A6 (DG2)
[14:50:45] [PASSED] 0x56B0 (DG2)
[14:50:45] [PASSED] 0x56B1 (DG2)
[14:50:45] [PASSED] 0x56BA (DG2)
[14:50:45] [PASSED] 0x56BB (DG2)
[14:50:45] [PASSED] 0x56BC (DG2)
[14:50:45] [PASSED] 0x56BD (DG2)
[14:50:45] [PASSED] 0x5693 (DG2)
[14:50:45] [PASSED] 0x5694 (DG2)
[14:50:45] [PASSED] 0x5695 (DG2)
[14:50:45] [PASSED] 0x56A3 (DG2)
[14:50:45] [PASSED] 0x56A4 (DG2)
[14:50:45] [PASSED] 0x56B2 (DG2)
[14:50:45] [PASSED] 0x56B3 (DG2)
[14:50:45] [PASSED] 0x5696 (DG2)
[14:50:45] [PASSED] 0x5697 (DG2)
[14:50:45] [PASSED] 0xB69 (PVC)
[14:50:45] [PASSED] 0xB6E (PVC)
[14:50:45] [PASSED] 0xBD4 (PVC)
[14:50:45] [PASSED] 0xBD5 (PVC)
[14:50:45] [PASSED] 0xBD6 (PVC)
[14:50:45] [PASSED] 0xBD7 (PVC)
[14:50:45] [PASSED] 0xBD8 (PVC)
[14:50:45] [PASSED] 0xBD9 (PVC)
[14:50:45] [PASSED] 0xBDA (PVC)
[14:50:45] [PASSED] 0xBDB (PVC)
[14:50:45] [PASSED] 0xBE0 (PVC)
[14:50:45] [PASSED] 0xBE1 (PVC)
[14:50:45] [PASSED] 0xBE5 (PVC)
[14:50:45] [PASSED] 0x7D40 (METEORLAKE)
[14:50:45] [PASSED] 0x7D45 (METEORLAKE)
[14:50:45] [PASSED] 0x7D55 (METEORLAKE)
[14:50:45] [PASSED] 0x7D60 (METEORLAKE)
[14:50:45] [PASSED] 0x7DD5 (METEORLAKE)
[14:50:45] [PASSED] 0x6420 (LUNARLAKE)
[14:50:45] [PASSED] 0x64A0 (LUNARLAKE)
[14:50:45] [PASSED] 0x64B0 (LUNARLAKE)
[14:50:45] [PASSED] 0xE202 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE209 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE20B (BATTLEMAGE)
[14:50:45] [PASSED] 0xE20C (BATTLEMAGE)
[14:50:45] [PASSED] 0xE20D (BATTLEMAGE)
[14:50:45] [PASSED] 0xE210 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE211 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE212 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE216 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE220 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE221 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE222 (BATTLEMAGE)
[14:50:45] [PASSED] 0xE223 (BATTLEMAGE)
[14:50:45] [PASSED] 0xB080 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB081 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB082 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB083 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB084 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB085 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB086 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB087 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB08F (PANTHERLAKE)
[14:50:45] [PASSED] 0xB090 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB0A0 (PANTHERLAKE)
[14:50:45] [PASSED] 0xB0B0 (PANTHERLAKE)
[14:50:45] [PASSED] 0xFD80 (PANTHERLAKE)
[14:50:45] [PASSED] 0xFD81 (PANTHERLAKE)
[14:50:45] [PASSED] 0xD740 (NOVALAKE_S)
[14:50:45] [PASSED] 0xD741 (NOVALAKE_S)
[14:50:45] [PASSED] 0xD742 (NOVALAKE_S)
[14:50:45] [PASSED] 0xD743 (NOVALAKE_S)
[14:50:45] [PASSED] 0xD745 (NOVALAKE_S)
[14:50:45] [PASSED] 0xD74A (NOVALAKE_S)
[14:50:45] [PASSED] 0xD74B (NOVALAKE_S)
[14:50:45] [PASSED] 0x674C (CRESCENTISLAND)
[14:50:45] [PASSED] 0x674D (CRESCENTISLAND)
[14:50:45] [PASSED] 0x674E (CRESCENTISLAND)
[14:50:45] [PASSED] 0x674F (CRESCENTISLAND)
[14:50:45] [PASSED] 0x6750 (CRESCENTISLAND)
[14:50:45] [PASSED] 0xD750 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD751 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD752 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD753 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD754 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD755 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD756 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD757 (NOVALAKE_P)
[14:50:45] [PASSED] 0xD75F (NOVALAKE_P)
[14:50:45] =============== [PASSED] check_platform_desc ===============
[14:50:45] ===================== [PASSED] xe_pci ======================
[14:50:45] ============= xe_rtp_tables_test (5 subtests) ==============
[14:50:45] ================== xe_rtp_table_gt_test ===================
[14:50:45] [PASSED] gt_was/14011060649
[14:50:45] [PASSED] gt_was/14011059788
[14:50:45] [PASSED] gt_was/14015795083
[14:50:45] [PASSED] gt_was/16021867713
[14:50:45] [PASSED] gt_was/14019449301
[14:50:45] [PASSED] gt_was/16028005424
[14:50:45] [PASSED] gt_was/14026578760
[14:50:45] [PASSED] gt_was/1409420604
[14:50:45] [PASSED] gt_was/1408615072
[14:50:45] [PASSED] gt_was/22010523718
[14:50:45] [PASSED] gt_was/14011006942
[14:50:45] [PASSED] gt_was/14014830051
[14:50:45] [PASSED] gt_was/18018781329
[14:50:45] [PASSED] gt_was/1509235366
[14:50:45] [PASSED] gt_was/18018781329
[14:50:45] [PASSED] gt_was/16016694945
[14:50:45] [PASSED] gt_was/14018575942
[14:50:45] [PASSED] gt_was/22016670082
[14:50:45] [PASSED] gt_was/22016670082
[14:50:45] [PASSED] gt_was/14017421178
[14:50:45] [PASSED] gt_was/16025250150
[14:50:45] [PASSED] gt_was/14021871409
[14:50:45] [PASSED] gt_was/16021865536
[14:50:45] [PASSED] gt_was/14021486841
[14:50:45] [PASSED] gt_was/14025160223
[14:50:45] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[14:50:45] [PASSED] gt_was/14025635424
[14:50:45] [PASSED] gt_was/16028005424
[14:50:45] ============== [PASSED] xe_rtp_table_gt_test ===============
[14:50:45] ================== xe_rtp_table_gt_test ===================
[14:50:45] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[14:50:45] [PASSED] gt_tunings/Tuning: 32B Access Enable
[14:50:45] [PASSED] gt_tunings/Tuning: L3 cache
[14:50:45] [PASSED] gt_tunings/Tuning: L3 cache - media
[14:50:45] [PASSED] gt_tunings/Tuning: Compression Overfetch
[14:50:45] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[14:50:45] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[14:50:45] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[14:50:45] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[14:50:45] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[14:50:45] [PASSED] gt_tunings/Tuning: Stateless compression control
[14:50:45] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[14:50:45] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[14:50:45] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[14:50:45] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[14:50:45] ============== [PASSED] xe_rtp_table_gt_test ===============
[14:50:45] ================== xe_rtp_table_oob_test ==================
[14:50:45] [PASSED] oob_was/1607983814
[14:50:45] [PASSED] oob_was/16010904313
[14:50:45] [PASSED] oob_was/18022495364
[14:50:45] [PASSED] oob_was/22012773006
[14:50:45] [PASSED] oob_was/14014475959
[14:50:45] [PASSED] oob_was/22011391025
[14:50:45] [PASSED] oob_was/22012727170
[14:50:45] [PASSED] oob_was/22012727685
[14:50:45] [PASSED] oob_was/22016596838
[14:50:45] [PASSED] oob_was/18020744125
[14:50:45] [PASSED] oob_was/1409600907
[14:50:45] [PASSED] oob_was/22014953428
[14:50:45] [PASSED] oob_was/16017236439
[14:50:45] [PASSED] oob_was/14019821291
[14:50:45] [PASSED] oob_was/14015076503
[14:50:45] [PASSED] oob_was/14018913170
[14:50:45] [PASSED] oob_was/14018094691
[14:50:45] [PASSED] oob_was/18024947630
[14:50:45] [PASSED] oob_was/16022287689
[14:50:45] [PASSED] oob_was/13011645652
[14:50:45] [PASSED] oob_was/14022293748
[14:50:45] [PASSED] oob_was/22019794406
[14:50:45] [PASSED] oob_was/22019338487
[14:50:45] [PASSED] oob_was/16023588340
[14:50:45] [PASSED] oob_was/14019789679
[14:50:45] [PASSED] oob_was/14022866841
[14:50:45] [PASSED] oob_was/16021333562
[14:50:45] [PASSED] oob_was/14016712196
[14:50:45] [PASSED] oob_was/14015568240
[14:50:45] [PASSED] oob_was/18013179988
[14:50:45] [PASSED] oob_was/1508761755
[14:50:45] [PASSED] oob_was/16023105232
[14:50:45] [PASSED] oob_was/16026508708
[14:50:45] [PASSED] oob_was/14020001231
[14:50:45] [PASSED] oob_was/16023683509
[14:50:45] [PASSED] oob_was/14025515070
[14:50:45] [PASSED] oob_was/15015404425_disable
[14:50:45] [PASSED] oob_was/16026007364
[14:50:45] [PASSED] oob_was/14020316580
[14:50:45] [PASSED] oob_was/14025883347
[14:50:45] [PASSED] oob_was/16029380221
[14:50:45] [PASSED] oob_was/22022079272
[14:50:45] [PASSED] oob_was/16029897822
[14:50:45] [PASSED] oob_was/14027054324
[14:50:45] ============== [PASSED] xe_rtp_table_oob_test ==============
[14:50:45] ================ xe_rtp_table_dev_oob_test ================
[14:50:45] [PASSED] device_oob_was/22010954014
[14:50:45] [PASSED] device_oob_was/15015404425
[14:50:45] [PASSED] device_oob_was/22019338487_display
[14:50:45] [PASSED] device_oob_was/14022085890
[14:50:45] [PASSED] device_oob_was/14026539277
[14:50:45] [PASSED] device_oob_was/14026633728
[14:50:45] [PASSED] device_oob_was/14026746987
[14:50:45] [PASSED] device_oob_was/14026779378
[14:50:45] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[14:50:45] ========== xe_rtp_table_missing_upper_bound_test ==========
[14:50:45] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[14:50:45] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[14:50:45] [PASSED] register_whitelist/1806527549
[14:50:45] [PASSED] register_whitelist/allow_read_ctx_timestamp
[14:50:45] [PASSED] register_whitelist/allow_read_queue_timestamp
[14:50:45] [PASSED] register_whitelist/16014440446
[14:50:45] [PASSED] register_whitelist/16017236439
[14:50:45] [PASSED] register_whitelist/16020183090
[14:50:45] [PASSED] register_whitelist/14024997852
[14:50:45] [PASSED] register_whitelist/14024997852
[14:50:45] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[14:50:45] =============== [PASSED] xe_rtp_tables_test ================
[14:50:45] =================== xe_rtp (3 subtests) ====================
[14:50:45] =================== xe_rtp_rules_tests ====================
[14:50:45] [PASSED] no
[14:50:45] [PASSED] yes
[14:50:45] [PASSED] no-and-no
[14:50:45] [PASSED] no-and-yes
[14:50:45] [PASSED] yes-and-no
[14:50:45] [PASSED] yes-and-yes
[14:50:45] [PASSED] no-or-no
[14:50:45] [PASSED] no-or-yes
[14:50:45] [PASSED] yes-or-no
[14:50:45] [PASSED] yes-or-yes
[14:50:45] [PASSED] no-yes-or-yes-no
[14:50:45] [PASSED] no-yes-or-yes-yes
[14:50:45] [PASSED] yes-yes-or-no-yes
[14:50:45] [PASSED] yes-yes-or-yes-yes
[14:50:45] [PASSED] no-no-or-yes-or-no
[14:50:45] [PASSED] or
[14:50:45] [PASSED] or-yes
[14:50:45] [PASSED] or-no
[14:50:45] [PASSED] yes-or
[14:50:45] [PASSED] no-or
[14:50:45] [PASSED] no-or-or-yes
[14:50:45] [PASSED] yes-or-or-no
[14:50:45] [PASSED] no-or-or-no
[14:50:45] [PASSED] missing-context-engine-class
[14:50:45] [PASSED] missing-context-engine-class-or-yes
[14:50:45] [PASSED] missing-context-engine-class-or-or-yes
[14:50:45] =============== [PASSED] xe_rtp_rules_tests ================
[14:50:45] =============== xe_rtp_process_to_sr_tests ================
[14:50:45] [PASSED] coalesce-same-reg
[14:50:45] [PASSED] coalesce-same-reg-literal-and-func
[14:50:45] [PASSED] no-match-no-add
[14:50:45] [PASSED] two-regs-two-entries
[14:50:45] [PASSED] clr-one-set-other
[14:50:45] [PASSED] set-field
[14:50:45] [PASSED] conflict-duplicate
[14:50:45] [PASSED] conflict-not-disjoint
[14:50:45] [PASSED] conflict-not-disjoint-literal-and-func
[14:50:45] [PASSED] conflict-reg-type
[14:50:45] [PASSED] bad-mcr-reg-forced-to-regular
[14:50:45] [PASSED] bad-regular-reg-forced-to-mcr
[14:50:45] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[14:50:45] ================== xe_rtp_process_tests ===================
[14:50:45] [PASSED] active1
[14:50:45] [PASSED] active2
[14:50:45] [PASSED] active-inactive
[14:50:45] [PASSED] inactive-active
[14:50:45] [PASSED] inactive-active-inactive
[14:50:45] [PASSED] inactive-inactive-inactive
[14:50:45] ============== [PASSED] xe_rtp_process_tests ===============
[14:50:45] ===================== [PASSED] xe_rtp ======================
[14:50:45] ==================== xe_wa (1 subtest) =====================
[14:50:45] ======================== xe_wa_gt =========================
[14:50:45] [PASSED] TIGERLAKE B0
[14:50:45] [PASSED] DG1 A0
[14:50:45] [PASSED] DG1 B0
[14:50:45] [PASSED] ALDERLAKE_S A0
[14:50:45] [PASSED] ALDERLAKE_S B0
[14:50:45] [PASSED] ALDERLAKE_S C0
[14:50:45] [PASSED] ALDERLAKE_S D0
[14:50:45] [PASSED] ALDERLAKE_P A0
[14:50:45] [PASSED] ALDERLAKE_P B0
[14:50:45] [PASSED] ALDERLAKE_P C0
[14:50:45] [PASSED] ALDERLAKE_S RPLS D0
[14:50:45] [PASSED] ALDERLAKE_P RPLU E0
[14:50:45] [PASSED] DG2 G10 C0
[14:50:45] [PASSED] DG2 G11 B1
[14:50:45] [PASSED] DG2 G12 A1
[14:50:45] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[14:50:45] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[14:50:45] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[14:50:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[14:50:45] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[14:50:45] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[14:50:45] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[14:50:45] ==================== [PASSED] xe_wa_gt =====================
[14:50:45] ====================== [PASSED] xe_wa ======================
[14:50:45] ============================================================
[14:50:45] Testing complete. Ran 742 tests: passed: 724, skipped: 18
[14:50:45] Elapsed time: 36.673s total, 4.354s configuring, 31.653s building, 0.639s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[14:50:45] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:50:47] 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
[14:51:11] Starting KUnit Kernel (1/1)...
[14:51:11] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:51:11] ============ drm_test_pick_cmdline (2 subtests) ============
[14:51:11] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[14:51:11] =============== drm_test_pick_cmdline_named ===============
[14:51:11] [PASSED] NTSC
[14:51:11] [PASSED] NTSC-J
[14:51:11] [PASSED] PAL
[14:51:11] [PASSED] PAL-M
[14:51:11] =========== [PASSED] drm_test_pick_cmdline_named ===========
[14:51:11] ============== [PASSED] drm_test_pick_cmdline ==============
[14:51:11] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[14:51:11] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[14:51:11] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[14:51:11] =========== drm_validate_clone_mode (2 subtests) ===========
[14:51:11] ============== drm_test_check_in_clone_mode ===============
[14:51:11] [PASSED] in_clone_mode
[14:51:11] [PASSED] not_in_clone_mode
[14:51:11] ========== [PASSED] drm_test_check_in_clone_mode ===========
[14:51:11] =============== drm_test_check_valid_clones ===============
[14:51:11] [PASSED] not_in_clone_mode
[14:51:11] [PASSED] valid_clone
[14:51:11] [PASSED] invalid_clone
[14:51:11] =========== [PASSED] drm_test_check_valid_clones ===========
[14:51:11] ============= [PASSED] drm_validate_clone_mode =============
[14:51:11] ============= drm_validate_modeset (1 subtest) =============
[14:51:11] [PASSED] drm_test_check_connector_changed_modeset
[14:51:11] ============== [PASSED] drm_validate_modeset ===============
[14:51:11] ====== drm_test_bridge_get_current_state (1 subtest) =======
[14:51:11] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[14:51:11] ======== [PASSED] drm_test_bridge_get_current_state ========
[14:51:11] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[14:51:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[14:51:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[14:51:11] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[14:51:11] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[14:51:11] ============== drm_bridge_alloc (2 subtests) ===============
[14:51:11] [PASSED] drm_test_drm_bridge_alloc_basic
[14:51:11] [PASSED] drm_test_drm_bridge_alloc_get_put
[14:51:11] ================ [PASSED] drm_bridge_alloc =================
[14:51:11] ============= drm_bridge_bus_fmt (5 subtests) ==============
[14:51:11] [PASSED] drm_test_bridge_rgb_yuv_rgb
[14:51:11] [PASSED] drm_test_bridge_must_convert_to_yuv444
[14:51:11] [PASSED] drm_test_bridge_hdmi_auto_rgb
[14:51:11] [PASSED] drm_test_bridge_auto_first
[14:51:11] [PASSED] drm_test_bridge_rgb_yuv_no_path
[14:51:11] =============== [PASSED] drm_bridge_bus_fmt ================
[14:51:11] ============= drm_cmdline_parser (40 subtests) =============
[14:51:11] [PASSED] drm_test_cmdline_force_d_only
[14:51:11] [PASSED] drm_test_cmdline_force_D_only_dvi
[14:51:11] [PASSED] drm_test_cmdline_force_D_only_hdmi
[14:51:11] [PASSED] drm_test_cmdline_force_D_only_not_digital
[14:51:11] [PASSED] drm_test_cmdline_force_e_only
[14:51:11] [PASSED] drm_test_cmdline_res
[14:51:11] [PASSED] drm_test_cmdline_res_vesa
[14:51:11] [PASSED] drm_test_cmdline_res_vesa_rblank
[14:51:11] [PASSED] drm_test_cmdline_res_rblank
[14:51:11] [PASSED] drm_test_cmdline_res_bpp
[14:51:11] [PASSED] drm_test_cmdline_res_refresh
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[14:51:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[14:51:11] [PASSED] drm_test_cmdline_res_margins_force_on
[14:51:11] [PASSED] drm_test_cmdline_res_vesa_margins
[14:51:11] [PASSED] drm_test_cmdline_name
[14:51:11] [PASSED] drm_test_cmdline_name_bpp
[14:51:11] [PASSED] drm_test_cmdline_name_option
[14:51:11] [PASSED] drm_test_cmdline_name_bpp_option
[14:51:11] [PASSED] drm_test_cmdline_rotate_0
[14:51:11] [PASSED] drm_test_cmdline_rotate_90
[14:51:11] [PASSED] drm_test_cmdline_rotate_180
[14:51:11] [PASSED] drm_test_cmdline_rotate_270
[14:51:11] [PASSED] drm_test_cmdline_hmirror
[14:51:11] [PASSED] drm_test_cmdline_vmirror
[14:51:11] [PASSED] drm_test_cmdline_margin_options
[14:51:11] [PASSED] drm_test_cmdline_multiple_options
[14:51:11] [PASSED] drm_test_cmdline_bpp_extra_and_option
[14:51:11] [PASSED] drm_test_cmdline_extra_and_option
[14:51:11] [PASSED] drm_test_cmdline_freestanding_options
[14:51:11] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[14:51:11] [PASSED] drm_test_cmdline_panel_orientation
[14:51:11] ================ drm_test_cmdline_invalid =================
[14:51:11] [PASSED] margin_only
[14:51:11] [PASSED] interlace_only
[14:51:11] [PASSED] res_missing_x
[14:51:11] [PASSED] res_missing_y
[14:51:11] [PASSED] res_bad_y
[14:51:11] [PASSED] res_missing_y_bpp
[14:51:11] [PASSED] res_bad_bpp
[14:51:11] [PASSED] res_bad_refresh
[14:51:11] [PASSED] res_bpp_refresh_force_on_off
[14:51:11] [PASSED] res_invalid_mode
[14:51:11] [PASSED] res_bpp_wrong_place_mode
[14:51:11] [PASSED] name_bpp_refresh
[14:51:11] [PASSED] name_refresh
[14:51:11] [PASSED] name_refresh_wrong_mode
[14:51:11] [PASSED] name_refresh_invalid_mode
[14:51:11] [PASSED] rotate_multiple
[14:51:11] [PASSED] rotate_invalid_val
[14:51:11] [PASSED] rotate_truncated
[14:51:11] [PASSED] invalid_option
[14:51:11] [PASSED] invalid_tv_option
[14:51:11] [PASSED] truncated_tv_option
[14:51:11] ============ [PASSED] drm_test_cmdline_invalid =============
[14:51:11] =============== drm_test_cmdline_tv_options ===============
[14:51:11] [PASSED] NTSC
[14:51:11] [PASSED] NTSC_443
[14:51:11] [PASSED] NTSC_J
[14:51:11] [PASSED] PAL
[14:51:11] [PASSED] PAL_M
[14:51:11] [PASSED] PAL_N
[14:51:11] [PASSED] SECAM
[14:51:11] [PASSED] MONO_525
[14:51:11] [PASSED] MONO_625
[14:51:11] =========== [PASSED] drm_test_cmdline_tv_options ===========
[14:51:11] =============== [PASSED] drm_cmdline_parser ================
[14:51:11] ========== drmm_connector_hdmi_init (20 subtests) ==========
[14:51:11] [PASSED] drm_test_connector_hdmi_init_valid
[14:51:11] [PASSED] drm_test_connector_hdmi_init_bpc_8
[14:51:11] [PASSED] drm_test_connector_hdmi_init_bpc_10
[14:51:11] [PASSED] drm_test_connector_hdmi_init_bpc_12
[14:51:11] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[14:51:11] [PASSED] drm_test_connector_hdmi_init_bpc_null
[14:51:11] [PASSED] drm_test_connector_hdmi_init_formats_empty
[14:51:11] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[14:51:11] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[14:51:11] [PASSED] supported_formats=0x9 yuv420_allowed=1
[14:51:11] [PASSED] supported_formats=0x9 yuv420_allowed=0
[14:51:11] [PASSED] supported_formats=0x5 yuv420_allowed=1
[14:51:11] [PASSED] supported_formats=0x5 yuv420_allowed=0
[14:51:11] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[14:51:11] [PASSED] drm_test_connector_hdmi_init_null_ddc
[14:51:11] [PASSED] drm_test_connector_hdmi_init_null_product
[14:51:11] [PASSED] drm_test_connector_hdmi_init_null_vendor
[14:51:11] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[14:51:11] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[14:51:11] [PASSED] drm_test_connector_hdmi_init_product_valid
[14:51:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[14:51:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[14:51:11] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[14:51:11] ========= drm_test_connector_hdmi_init_type_valid =========
[14:51:11] [PASSED] HDMI-A
[14:51:11] [PASSED] HDMI-B
[14:51:11] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[14:51:11] ======== drm_test_connector_hdmi_init_type_invalid ========
[14:51:11] [PASSED] Unknown
[14:51:11] [PASSED] VGA
[14:51:11] [PASSED] DVI-I
[14:51:11] [PASSED] DVI-D
[14:51:11] [PASSED] DVI-A
[14:51:11] [PASSED] Composite
[14:51:11] [PASSED] SVIDEO
[14:51:11] [PASSED] LVDS
[14:51:11] [PASSED] Component
[14:51:11] [PASSED] DIN
[14:51:11] [PASSED] DP
[14:51:11] [PASSED] TV
[14:51:11] [PASSED] eDP
[14:51:11] [PASSED] Virtual
[14:51:11] [PASSED] DSI
[14:51:11] [PASSED] DPI
[14:51:11] [PASSED] Writeback
[14:51:11] [PASSED] SPI
[14:51:11] [PASSED] USB
[14:51:11] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[14:51:11] ============ [PASSED] drmm_connector_hdmi_init =============
[14:51:11] ============= drmm_connector_init (3 subtests) =============
[14:51:11] [PASSED] drm_test_drmm_connector_init
[14:51:11] [PASSED] drm_test_drmm_connector_init_null_ddc
[14:51:11] ========= drm_test_drmm_connector_init_type_valid =========
[14:51:11] [PASSED] Unknown
[14:51:11] [PASSED] VGA
[14:51:11] [PASSED] DVI-I
[14:51:11] [PASSED] DVI-D
[14:51:11] [PASSED] DVI-A
[14:51:11] [PASSED] Composite
[14:51:11] [PASSED] SVIDEO
[14:51:11] [PASSED] LVDS
[14:51:11] [PASSED] Component
[14:51:11] [PASSED] DIN
[14:51:11] [PASSED] DP
[14:51:11] [PASSED] HDMI-A
[14:51:11] [PASSED] HDMI-B
[14:51:11] [PASSED] TV
[14:51:11] [PASSED] eDP
[14:51:11] [PASSED] Virtual
[14:51:11] [PASSED] DSI
[14:51:11] [PASSED] DPI
[14:51:11] [PASSED] Writeback
[14:51:11] [PASSED] SPI
[14:51:11] [PASSED] USB
[14:51:11] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[14:51:11] =============== [PASSED] drmm_connector_init ===============
[14:51:11] ========= drm_connector_dynamic_init (6 subtests) ==========
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_init
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_init_properties
[14:51:11] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[14:51:11] [PASSED] Unknown
[14:51:11] [PASSED] VGA
[14:51:11] [PASSED] DVI-I
[14:51:11] [PASSED] DVI-D
[14:51:11] [PASSED] DVI-A
[14:51:11] [PASSED] Composite
[14:51:11] [PASSED] SVIDEO
[14:51:11] [PASSED] LVDS
[14:51:11] [PASSED] Component
[14:51:11] [PASSED] DIN
[14:51:11] [PASSED] DP
[14:51:11] [PASSED] HDMI-A
[14:51:11] [PASSED] HDMI-B
[14:51:11] [PASSED] TV
[14:51:11] [PASSED] eDP
[14:51:11] [PASSED] Virtual
[14:51:11] [PASSED] DSI
[14:51:11] [PASSED] DPI
[14:51:11] [PASSED] Writeback
[14:51:11] [PASSED] SPI
[14:51:11] [PASSED] USB
[14:51:11] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[14:51:11] ======== drm_test_drm_connector_dynamic_init_name =========
[14:51:11] [PASSED] Unknown
[14:51:11] [PASSED] VGA
[14:51:11] [PASSED] DVI-I
[14:51:11] [PASSED] DVI-D
[14:51:11] [PASSED] DVI-A
[14:51:11] [PASSED] Composite
[14:51:11] [PASSED] SVIDEO
[14:51:11] [PASSED] LVDS
[14:51:11] [PASSED] Component
[14:51:11] [PASSED] DIN
[14:51:11] [PASSED] DP
[14:51:11] [PASSED] HDMI-A
[14:51:11] [PASSED] HDMI-B
[14:51:11] [PASSED] TV
[14:51:11] [PASSED] eDP
[14:51:11] [PASSED] Virtual
[14:51:11] [PASSED] DSI
[14:51:11] [PASSED] DPI
[14:51:11] [PASSED] Writeback
[14:51:11] [PASSED] SPI
[14:51:11] [PASSED] USB
[14:51:11] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[14:51:11] =========== [PASSED] drm_connector_dynamic_init ============
[14:51:11] ==== drm_connector_dynamic_register_early (4 subtests) =====
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[14:51:11] ====== [PASSED] drm_connector_dynamic_register_early =======
[14:51:11] ======= drm_connector_dynamic_register (7 subtests) ========
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[14:51:11] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[14:51:11] ========= [PASSED] drm_connector_dynamic_register ==========
[14:51:11] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[14:51:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[14:51:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[14:51:11] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[14:51:11] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[14:51:11] ========== drm_test_get_tv_mode_from_name_valid ===========
[14:51:11] [PASSED] NTSC
[14:51:11] [PASSED] NTSC-443
[14:51:11] [PASSED] NTSC-J
[14:51:11] [PASSED] PAL
[14:51:11] [PASSED] PAL-M
[14:51:11] [PASSED] PAL-N
[14:51:11] [PASSED] SECAM
[14:51:11] [PASSED] Mono
[14:51:11] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[14:51:11] [PASSED] drm_test_get_tv_mode_from_name_truncated
[14:51:11] ============ [PASSED] drm_get_tv_mode_from_name ============
[14:51:11] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[14:51:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[14:51:11] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[14:51:11] [PASSED] VIC 96
[14:51:11] [PASSED] VIC 97
[14:51:11] [PASSED] VIC 101
[14:51:11] [PASSED] VIC 102
[14:51:11] [PASSED] VIC 106
[14:51:11] [PASSED] VIC 107
[14:51:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[14:51:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[14:51:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[14:51:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[14:51:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[14:51:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[14:51:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[14:51:11] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[14:51:11] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[14:51:11] [PASSED] Automatic
[14:51:11] [PASSED] Full
[14:51:11] [PASSED] Limited 16:235
[14:51:11] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[14:51:11] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[14:51:11] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[14:51:11] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[14:51:11] === drm_test_drm_hdmi_connector_get_output_format_name ====
[14:51:11] [PASSED] RGB
[14:51:11] [PASSED] YUV 4:2:0
[14:51:11] [PASSED] YUV 4:2:2
[14:51:11] [PASSED] YUV 4:4:4
[14:51:11] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[14:51:11] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[14:51:11] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[14:51:11] ============= drm_damage_helper (21 subtests) ==============
[14:51:11] [PASSED] drm_test_damage_iter_no_damage
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_src_moved
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_not_visible
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[14:51:11] [PASSED] drm_test_damage_iter_no_damage_no_fb
[14:51:11] [PASSED] drm_test_damage_iter_simple_damage
[14:51:11] [PASSED] drm_test_damage_iter_single_damage
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_outside_src
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_src_moved
[14:51:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[14:51:11] [PASSED] drm_test_damage_iter_damage
[14:51:11] [PASSED] drm_test_damage_iter_damage_one_intersect
[14:51:11] [PASSED] drm_test_damage_iter_damage_one_outside
[14:51:11] [PASSED] drm_test_damage_iter_damage_src_moved
[14:51:11] [PASSED] drm_test_damage_iter_damage_not_visible
[14:51:11] ================ [PASSED] drm_damage_helper ================
[14:51:11] ============== drm_dp_mst_helper (3 subtests) ==============
[14:51:11] ============== drm_test_dp_mst_calc_pbn_mode ==============
[14:51:11] [PASSED] Clock 154000 BPP 30 DSC disabled
[14:51:11] [PASSED] Clock 234000 BPP 30 DSC disabled
[14:51:11] [PASSED] Clock 297000 BPP 24 DSC disabled
[14:51:11] [PASSED] Clock 332880 BPP 24 DSC enabled
[14:51:11] [PASSED] Clock 324540 BPP 24 DSC enabled
[14:51:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[14:51:11] ============== drm_test_dp_mst_calc_pbn_div ===============
[14:51:11] [PASSED] Link rate 2000000 lane count 4
[14:51:11] [PASSED] Link rate 2000000 lane count 2
[14:51:11] [PASSED] Link rate 2000000 lane count 1
[14:51:11] [PASSED] Link rate 1350000 lane count 4
[14:51:11] [PASSED] Link rate 1350000 lane count 2
[14:51:11] [PASSED] Link rate 1350000 lane count 1
[14:51:11] [PASSED] Link rate 1000000 lane count 4
[14:51:11] [PASSED] Link rate 1000000 lane count 2
[14:51:11] [PASSED] Link rate 1000000 lane count 1
[14:51:11] [PASSED] Link rate 810000 lane count 4
[14:51:11] [PASSED] Link rate 810000 lane count 2
[14:51:11] [PASSED] Link rate 810000 lane count 1
[14:51:11] [PASSED] Link rate 540000 lane count 4
[14:51:11] [PASSED] Link rate 540000 lane count 2
[14:51:11] [PASSED] Link rate 540000 lane count 1
[14:51:11] [PASSED] Link rate 270000 lane count 4
[14:51:11] [PASSED] Link rate 270000 lane count 2
[14:51:11] [PASSED] Link rate 270000 lane count 1
[14:51:11] [PASSED] Link rate 162000 lane count 4
[14:51:11] [PASSED] Link rate 162000 lane count 2
[14:51:11] [PASSED] Link rate 162000 lane count 1
[14:51:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[14:51:11] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[14:51:11] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[14:51:11] [PASSED] DP_POWER_UP_PHY with port number
[14:51:11] [PASSED] DP_POWER_DOWN_PHY with port number
[14:51:11] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[14:51:11] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[14:51:11] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[14:51:11] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[14:51:11] [PASSED] DP_QUERY_PAYLOAD with port number
[14:51:11] [PASSED] DP_QUERY_PAYLOAD with VCPI
[14:51:11] [PASSED] DP_REMOTE_DPCD_READ with port number
[14:51:11] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[14:51:11] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[14:51:11] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[14:51:11] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[14:51:11] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[14:51:11] [PASSED] DP_REMOTE_I2C_READ with port number
[14:51:11] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[14:51:11] [PASSED] DP_REMOTE_I2C_READ with transactions array
[14:51:11] [PASSED] DP_REMOTE_I2C_WRITE with port number
[14:51:11] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[14:51:11] [PASSED] DP_REMOTE_I2C_WRITE with data array
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[14:51:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[14:51:11] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[14:51:11] ================ [PASSED] drm_dp_mst_helper ================
[14:51:11] ================== drm_exec (7 subtests) ===================
[14:51:11] [PASSED] sanitycheck
[14:51:11] [PASSED] test_lock
[14:51:11] [PASSED] test_lock_unlock
[14:51:11] [PASSED] test_duplicates
[14:51:11] [PASSED] test_prepare
[14:51:11] [PASSED] test_prepare_array
[14:51:11] [PASSED] test_multiple_loops
[14:51:11] ==================== [PASSED] drm_exec =====================
[14:51:11] =========== drm_format_helper_test (17 subtests) ===========
[14:51:11] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[14:51:11] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[14:51:11] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[14:51:11] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[14:51:11] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[14:51:11] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[14:51:11] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[14:51:11] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[14:51:11] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[14:51:11] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[14:51:11] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[14:51:11] ============== drm_test_fb_xrgb8888_to_mono ===============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[14:51:11] ==================== drm_test_fb_swab =====================
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ================ [PASSED] drm_test_fb_swab =================
[14:51:11] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[14:51:11] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[14:51:11] [PASSED] single_pixel_source_buffer
[14:51:11] [PASSED] single_pixel_clip_rectangle
[14:51:11] [PASSED] well_known_colors
[14:51:11] [PASSED] destination_pitch
[14:51:11] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[14:51:11] ================= drm_test_fb_clip_offset =================
[14:51:11] [PASSED] pass through
[14:51:11] [PASSED] horizontal offset
[14:51:11] [PASSED] vertical offset
[14:51:11] [PASSED] horizontal and vertical offset
[14:51:11] [PASSED] horizontal offset (custom pitch)
[14:51:11] [PASSED] vertical offset (custom pitch)
[14:51:11] [PASSED] horizontal and vertical offset (custom pitch)
[14:51:11] ============= [PASSED] drm_test_fb_clip_offset =============
[14:51:11] =================== drm_test_fb_memcpy ====================
[14:51:11] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[14:51:11] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[14:51:11] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[14:51:11] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[14:51:11] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[14:51:11] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[14:51:11] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[14:51:11] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[14:51:11] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[14:51:11] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[14:51:11] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[14:51:11] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[14:51:11] =============== [PASSED] drm_test_fb_memcpy ================
[14:51:11] ============= [PASSED] drm_format_helper_test ==============
[14:51:11] ================= drm_format (18 subtests) =================
[14:51:11] [PASSED] drm_test_format_block_width_invalid
[14:51:11] [PASSED] drm_test_format_block_width_one_plane
[14:51:11] [PASSED] drm_test_format_block_width_two_plane
[14:51:11] [PASSED] drm_test_format_block_width_three_plane
[14:51:11] [PASSED] drm_test_format_block_width_tiled
[14:51:11] [PASSED] drm_test_format_block_height_invalid
[14:51:11] [PASSED] drm_test_format_block_height_one_plane
[14:51:11] [PASSED] drm_test_format_block_height_two_plane
[14:51:11] [PASSED] drm_test_format_block_height_three_plane
[14:51:11] [PASSED] drm_test_format_block_height_tiled
[14:51:11] [PASSED] drm_test_format_min_pitch_invalid
[14:51:11] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[14:51:11] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[14:51:11] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[14:51:11] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[14:51:11] [PASSED] drm_test_format_min_pitch_two_plane
[14:51:11] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[14:51:11] [PASSED] drm_test_format_min_pitch_tiled
[14:51:11] =================== [PASSED] drm_format ====================
[14:51:11] ============== drm_framebuffer (10 subtests) ===============
[14:51:11] ========== drm_test_framebuffer_check_src_coords ==========
[14:51:11] [PASSED] Success: source fits into fb
[14:51:11] [PASSED] Fail: overflowing fb with x-axis coordinate
[14:51:11] [PASSED] Fail: overflowing fb with y-axis coordinate
[14:51:11] [PASSED] Fail: overflowing fb with source width
[14:51:11] [PASSED] Fail: overflowing fb with source height
[14:51:11] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[14:51:11] [PASSED] drm_test_framebuffer_cleanup
[14:51:11] =============== drm_test_framebuffer_create ===============
[14:51:11] [PASSED] ABGR8888 normal sizes
[14:51:11] [PASSED] ABGR8888 max sizes
[14:51:11] [PASSED] ABGR8888 pitch greater than min required
[14:51:11] [PASSED] ABGR8888 pitch less than min required
[14:51:11] [PASSED] ABGR8888 Invalid width
[14:51:11] [PASSED] ABGR8888 Invalid buffer handle
[14:51:11] [PASSED] No pixel format
[14:51:11] [PASSED] ABGR8888 Width 0
[14:51:12] [PASSED] ABGR8888 Height 0
[14:51:12] [PASSED] ABGR8888 Out of bound height * pitch combination
[14:51:12] [PASSED] ABGR8888 Large buffer offset
[14:51:12] [PASSED] ABGR8888 Buffer offset for inexistent plane
[14:51:12] [PASSED] ABGR8888 Invalid flag
[14:51:12] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[14:51:12] [PASSED] ABGR8888 Valid buffer modifier
[14:51:12] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[14:51:12] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] NV12 Normal sizes
[14:51:12] [PASSED] NV12 Max sizes
[14:51:12] [PASSED] NV12 Invalid pitch
[14:51:12] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[14:51:12] [PASSED] NV12 different modifier per-plane
[14:51:12] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[14:51:12] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] NV12 Modifier for inexistent plane
[14:51:12] [PASSED] NV12 Handle for inexistent plane
[14:51:12] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[14:51:12] [PASSED] YVU420 Normal sizes
[14:51:12] [PASSED] YVU420 Max sizes
[14:51:12] [PASSED] YVU420 Invalid pitch
[14:51:12] [PASSED] YVU420 Different pitches
[14:51:12] [PASSED] YVU420 Different buffer offsets/pitches
[14:51:12] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[14:51:12] [PASSED] YVU420 Valid modifier
[14:51:12] [PASSED] YVU420 Different modifiers per plane
[14:51:12] [PASSED] YVU420 Modifier for inexistent plane
[14:51:12] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[14:51:12] [PASSED] X0L2 Normal sizes
[14:51:12] [PASSED] X0L2 Max sizes
[14:51:12] [PASSED] X0L2 Invalid pitch
[14:51:12] [PASSED] X0L2 Pitch greater than minimum required
[14:51:12] [PASSED] X0L2 Handle for inexistent plane
[14:51:12] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[14:51:12] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[14:51:12] [PASSED] X0L2 Valid modifier
[14:51:12] [PASSED] X0L2 Modifier for inexistent plane
[14:51:12] =========== [PASSED] drm_test_framebuffer_create ===========
[14:51:12] [PASSED] drm_test_framebuffer_free
[14:51:12] [PASSED] drm_test_framebuffer_init
[14:51:12] [PASSED] drm_test_framebuffer_init_bad_format
[14:51:12] [PASSED] drm_test_framebuffer_init_dev_mismatch
[14:51:12] [PASSED] drm_test_framebuffer_lookup
[14:51:12] [PASSED] drm_test_framebuffer_lookup_inexistent
[14:51:12] [PASSED] drm_test_framebuffer_modifiers_not_supported
[14:51:12] ================= [PASSED] drm_framebuffer =================
[14:51:12] ================ drm_gem_shmem (8 subtests) ================
[14:51:12] [PASSED] drm_gem_shmem_test_obj_create
[14:51:12] [PASSED] drm_gem_shmem_test_obj_create_private
[14:51:12] [PASSED] drm_gem_shmem_test_pin_pages
[14:51:12] [PASSED] drm_gem_shmem_test_vmap
[14:51:12] [PASSED] drm_gem_shmem_test_get_sg_table
[14:51:12] [PASSED] drm_gem_shmem_test_get_pages_sgt
[14:51:12] [PASSED] drm_gem_shmem_test_madvise
[14:51:12] [PASSED] drm_gem_shmem_test_purge
[14:51:12] ================== [PASSED] drm_gem_shmem ==================
[14:51:12] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[14:51:12] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[14:51:12] [PASSED] Automatic
[14:51:12] [PASSED] Full
[14:51:12] [PASSED] Limited 16:235
[14:51:12] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[14:51:12] [PASSED] drm_test_check_disable_connector
[14:51:12] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[14:51:12] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[14:51:12] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[14:51:12] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[14:51:12] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[14:51:12] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[14:51:12] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[14:51:12] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[14:51:12] [PASSED] drm_test_check_output_bpc_dvi
[14:51:12] [PASSED] drm_test_check_output_bpc_format_vic_1
[14:51:12] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[14:51:12] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[14:51:12] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[14:51:12] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[14:51:12] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[14:51:12] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[14:51:12] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[14:51:12] ============ drm_test_check_hdmi_color_format =============
[14:51:12] [PASSED] AUTO -> RGB
[14:51:12] [PASSED] YCBCR422 -> YUV422
[14:51:12] [PASSED] YCBCR420 -> YUV420
[14:51:12] [PASSED] YCBCR444 -> YUV444
[14:51:12] [PASSED] RGB -> RGB
[14:51:12] ======== [PASSED] drm_test_check_hdmi_color_format =========
[14:51:12] ======== drm_test_check_hdmi_color_format_420_only ========
[14:51:12] [PASSED] RGB should fail
[14:51:12] [PASSED] YUV444 should fail
[14:51:12] [PASSED] YUV422 should fail
[14:51:12] [PASSED] YUV420 should work
[14:51:12] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[14:51:12] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[14:51:12] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[14:51:12] [PASSED] drm_test_check_broadcast_rgb_value
[14:51:12] [PASSED] drm_test_check_bpc_8_value
[14:51:12] [PASSED] drm_test_check_bpc_10_value
[14:51:12] [PASSED] drm_test_check_bpc_12_value
[14:51:12] [PASSED] drm_test_check_format_value
[14:51:12] [PASSED] drm_test_check_tmds_char_value
[14:51:12] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[14:51:12] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[14:51:12] [PASSED] drm_test_check_mode_valid
[14:51:12] [PASSED] drm_test_check_mode_valid_reject
[14:51:12] [PASSED] drm_test_check_mode_valid_reject_rate
[14:51:12] [PASSED] drm_test_check_mode_valid_reject_max_clock
[14:51:12] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[14:51:12] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[14:51:12] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[14:51:12] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[14:51:12] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[14:51:12] [PASSED] drm_test_check_infoframes
[14:51:12] [PASSED] drm_test_check_reject_avi_infoframe
[14:51:12] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[14:51:12] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[14:51:12] [PASSED] drm_test_check_reject_audio_infoframe
[14:51:12] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[14:51:12] ================= drm_managed (2 subtests) =================
[14:51:12] [PASSED] drm_test_managed_release_action
[14:51:12] [PASSED] drm_test_managed_run_action
[14:51:12] =================== [PASSED] drm_managed ===================
[14:51:12] =================== drm_mm (6 subtests) ====================
[14:51:12] [PASSED] drm_test_mm_init
[14:51:12] [PASSED] drm_test_mm_debug
[14:51:12] [PASSED] drm_test_mm_align32
[14:51:12] [PASSED] drm_test_mm_align64
[14:51:12] [PASSED] drm_test_mm_lowest
[14:51:12] [PASSED] drm_test_mm_highest
[14:51:12] ===================== [PASSED] drm_mm ======================
[14:51:12] ============= drm_modes_analog_tv (5 subtests) =============
[14:51:12] [PASSED] drm_test_modes_analog_tv_mono_576i
[14:51:12] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[14:51:12] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[14:51:12] [PASSED] drm_test_modes_analog_tv_pal_576i
[14:51:12] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[14:51:12] =============== [PASSED] drm_modes_analog_tv ===============
[14:51:12] ============== drm_plane_helper (2 subtests) ===============
[14:51:12] =============== drm_test_check_plane_state ================
[14:51:12] [PASSED] clipping_simple
[14:51:12] [PASSED] clipping_rotate_reflect
[14:51:12] [PASSED] positioning_simple
[14:51:12] [PASSED] upscaling
[14:51:12] [PASSED] downscaling
[14:51:12] [PASSED] rounding1
[14:51:12] [PASSED] rounding2
[14:51:12] [PASSED] rounding3
[14:51:12] [PASSED] rounding4
[14:51:12] =========== [PASSED] drm_test_check_plane_state ============
[14:51:12] =========== drm_test_check_invalid_plane_state ============
[14:51:12] [PASSED] positioning_invalid
[14:51:12] [PASSED] upscaling_invalid
[14:51:12] [PASSED] downscaling_invalid
[14:51:12] ======= [PASSED] drm_test_check_invalid_plane_state ========
[14:51:12] ================ [PASSED] drm_plane_helper =================
[14:51:12] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[14:51:12] ====== drm_test_connector_helper_tv_get_modes_check =======
[14:51:12] [PASSED] None
[14:51:12] [PASSED] PAL
[14:51:12] [PASSED] NTSC
[14:51:12] [PASSED] Both, NTSC Default
[14:51:12] [PASSED] Both, PAL Default
[14:51:12] [PASSED] Both, NTSC Default, with PAL on command-line
[14:51:12] [PASSED] Both, PAL Default, with NTSC on command-line
[14:51:12] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[14:51:12] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[14:51:12] ================== drm_rect (9 subtests) ===================
[14:51:12] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[14:51:12] [PASSED] drm_test_rect_clip_scaled_not_clipped
[14:51:12] [PASSED] drm_test_rect_clip_scaled_clipped
[14:51:12] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[14:51:12] ================= drm_test_rect_intersect =================
[14:51:12] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[14:51:12] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[14:51:12] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[14:51:12] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[14:51:12] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[14:51:12] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[14:51:12] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[14:51:12] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[14:51:12] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[14:51:12] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[14:51:12] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[14:51:12] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[14:51:12] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[14:51:12] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[14:51:12] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[14:51:12] ============= [PASSED] drm_test_rect_intersect =============
[14:51:12] ================ drm_test_rect_calc_hscale ================
[14:51:12] [PASSED] normal use
[14:51:12] [PASSED] out of max range
[14:51:12] [PASSED] out of min range
[14:51:12] [PASSED] zero dst
[14:51:12] [PASSED] negative src
[14:51:12] [PASSED] negative dst
[14:51:12] ============ [PASSED] drm_test_rect_calc_hscale ============
[14:51:12] ================ drm_test_rect_calc_vscale ================
[14:51:12] [PASSED] normal use
[14:51:12] [PASSED] out of max range
[14:51:12] [PASSED] out of min range
[14:51:12] [PASSED] zero dst
[14:51:12] [PASSED] negative src
[14:51:12] [PASSED] negative dst
[14:51:12] ============ [PASSED] drm_test_rect_calc_vscale ============
[14:51:12] ================== drm_test_rect_rotate ===================
[14:51:12] [PASSED] reflect-x
[14:51:12] [PASSED] reflect-y
[14:51:12] [PASSED] rotate-0
[14:51:12] [PASSED] rotate-90
[14:51:12] [PASSED] rotate-180
[14:51:12] [PASSED] rotate-270
[14:51:12] ============== [PASSED] drm_test_rect_rotate ===============
[14:51:12] ================ drm_test_rect_rotate_inv =================
[14:51:12] [PASSED] reflect-x
[14:51:12] [PASSED] reflect-y
[14:51:12] [PASSED] rotate-0
[14:51:12] [PASSED] rotate-90
[14:51:12] [PASSED] rotate-180
[14:51:12] [PASSED] rotate-270
[14:51:12] ============ [PASSED] drm_test_rect_rotate_inv =============
[14:51:12] ==================== [PASSED] drm_rect =====================
[14:51:12] ============ drm_sysfb_modeset_test (1 subtest) ============
[14:51:12] ============ drm_test_sysfb_build_fourcc_list =============
[14:51:12] [PASSED] no native formats
[14:51:12] [PASSED] XRGB8888 as native format
[14:51:12] [PASSED] remove duplicates
[14:51:12] [PASSED] convert alpha formats
[14:51:12] [PASSED] random formats
[14:51:12] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[14:51:12] ============= [PASSED] drm_sysfb_modeset_test ==============
[14:51:12] ================== drm_fixp (2 subtests) ===================
[14:51:12] [PASSED] drm_test_int2fixp
[14:51:12] [PASSED] drm_test_sm2fixp
[14:51:12] ==================== [PASSED] drm_fixp =====================
[14:51:12] ============================================================
[14:51:12] Testing complete. Ran 637 tests: passed: 637
[14:51:12] Elapsed time: 26.719s total, 1.816s configuring, 24.736s building, 0.152s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[14:51:12] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:51:13] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[14:51:23] Starting KUnit Kernel (1/1)...
[14:51:23] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:51:23] ================= ttm_device (5 subtests) ==================
[14:51:23] [PASSED] ttm_device_init_basic
[14:51:23] [PASSED] ttm_device_init_multiple
[14:51:23] [PASSED] ttm_device_fini_basic
[14:51:23] [PASSED] ttm_device_init_no_vma_man
[14:51:23] ================== ttm_device_init_pools ==================
[14:51:23] [PASSED] No DMA allocations, no DMA32 required
[14:51:23] [PASSED] DMA allocations, DMA32 required
[14:51:23] [PASSED] No DMA allocations, DMA32 required
[14:51:23] [PASSED] DMA allocations, no DMA32 required
[14:51:23] ============== [PASSED] ttm_device_init_pools ==============
[14:51:23] =================== [PASSED] ttm_device ====================
[14:51:23] ================== ttm_pool (8 subtests) ===================
[14:51:23] ================== ttm_pool_alloc_basic ===================
[14:51:23] [PASSED] One page
[14:51:23] [PASSED] More than one page
[14:51:23] [PASSED] Above the allocation limit
[14:51:23] [PASSED] One page, with coherent DMA mappings enabled
[14:51:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[14:51:23] ============== [PASSED] ttm_pool_alloc_basic ===============
[14:51:23] ============== ttm_pool_alloc_basic_dma_addr ==============
[14:51:23] [PASSED] One page
[14:51:23] [PASSED] More than one page
[14:51:23] [PASSED] Above the allocation limit
[14:51:23] [PASSED] One page, with coherent DMA mappings enabled
[14:51:23] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[14:51:23] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[14:51:23] [PASSED] ttm_pool_alloc_order_caching_match
[14:51:23] [PASSED] ttm_pool_alloc_caching_mismatch
[14:51:23] [PASSED] ttm_pool_alloc_order_mismatch
[14:51:23] [PASSED] ttm_pool_free_dma_alloc
[14:51:23] [PASSED] ttm_pool_free_no_dma_alloc
[14:51:23] [PASSED] ttm_pool_fini_basic
[14:51:23] ==================== [PASSED] ttm_pool =====================
[14:51:23] ================ ttm_resource (8 subtests) =================
[14:51:23] ================= ttm_resource_init_basic =================
[14:51:23] [PASSED] Init resource in TTM_PL_SYSTEM
[14:51:23] [PASSED] Init resource in TTM_PL_VRAM
[14:51:23] [PASSED] Init resource in a private placement
[14:51:23] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[14:51:23] ============= [PASSED] ttm_resource_init_basic =============
[14:51:23] [PASSED] ttm_resource_init_pinned
[14:51:23] [PASSED] ttm_resource_fini_basic
[14:51:23] [PASSED] ttm_resource_manager_init_basic
[14:51:23] [PASSED] ttm_resource_manager_usage_basic
[14:51:23] [PASSED] ttm_resource_manager_set_used_basic
[14:51:23] [PASSED] ttm_sys_man_alloc_basic
[14:51:23] [PASSED] ttm_sys_man_free_basic
[14:51:23] ================== [PASSED] ttm_resource ===================
[14:51:23] =================== ttm_tt (15 subtests) ===================
[14:51:23] ==================== ttm_tt_init_basic ====================
[14:51:23] [PASSED] Page-aligned size
[14:51:23] [PASSED] Extra pages requested
[14:51:23] ================ [PASSED] ttm_tt_init_basic ================
[14:51:23] [PASSED] ttm_tt_init_misaligned
[14:51:23] [PASSED] ttm_tt_fini_basic
[14:51:23] [PASSED] ttm_tt_fini_sg
[14:51:23] [PASSED] ttm_tt_fini_shmem
[14:51:23] [PASSED] ttm_tt_create_basic
[14:51:23] [PASSED] ttm_tt_create_invalid_bo_type
[14:51:23] [PASSED] ttm_tt_create_ttm_exists
[14:51:23] [PASSED] ttm_tt_create_failed
[14:51:23] [PASSED] ttm_tt_destroy_basic
[14:51:23] [PASSED] ttm_tt_populate_null_ttm
[14:51:23] [PASSED] ttm_tt_populate_populated_ttm
[14:51:23] [PASSED] ttm_tt_unpopulate_basic
[14:51:23] [PASSED] ttm_tt_unpopulate_empty_ttm
[14:51:23] [PASSED] ttm_tt_swapin_basic
[14:51:23] ===================== [PASSED] ttm_tt ======================
[14:51:23] =================== ttm_bo (14 subtests) ===================
[14:51:23] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[14:51:23] [PASSED] Cannot be interrupted and sleeps
[14:51:23] [PASSED] Cannot be interrupted, locks straight away
[14:51:23] [PASSED] Can be interrupted, sleeps
[14:51:23] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[14:51:23] [PASSED] ttm_bo_reserve_locked_no_sleep
[14:51:23] [PASSED] ttm_bo_reserve_no_wait_ticket
[14:51:23] [PASSED] ttm_bo_reserve_double_resv
[14:51:23] [PASSED] ttm_bo_reserve_interrupted
[14:51:23] [PASSED] ttm_bo_reserve_deadlock
[14:51:23] [PASSED] ttm_bo_unreserve_basic
[14:51:23] [PASSED] ttm_bo_unreserve_pinned
[14:51:23] [PASSED] ttm_bo_unreserve_bulk
[14:51:23] [PASSED] ttm_bo_fini_basic
[14:51:23] [PASSED] ttm_bo_fini_shared_resv
[14:51:23] [PASSED] ttm_bo_pin_basic
[14:51:23] [PASSED] ttm_bo_pin_unpin_resource
[14:51:23] [PASSED] ttm_bo_multiple_pin_one_unpin
[14:51:23] ===================== [PASSED] ttm_bo ======================
[14:51:23] ============== ttm_bo_validate (22 subtests) ===============
[14:51:23] ============== ttm_bo_init_reserved_sys_man ===============
[14:51:23] [PASSED] Buffer object for userspace
[14:51:23] [PASSED] Kernel buffer object
[14:51:23] [PASSED] Shared buffer object
[14:51:23] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[14:51:23] ============== ttm_bo_init_reserved_mock_man ==============
[14:51:23] [PASSED] Buffer object for userspace
[14:51:23] [PASSED] Kernel buffer object
[14:51:23] [PASSED] Shared buffer object
[14:51:23] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[14:51:23] [PASSED] ttm_bo_init_reserved_resv
[14:51:23] ================== ttm_bo_validate_basic ==================
[14:51:23] [PASSED] Buffer object for userspace
[14:51:23] [PASSED] Kernel buffer object
[14:51:23] [PASSED] Shared buffer object
[14:51:23] ============== [PASSED] ttm_bo_validate_basic ==============
[14:51:23] [PASSED] ttm_bo_validate_invalid_placement
[14:51:23] ============= ttm_bo_validate_same_placement ==============
[14:51:23] [PASSED] System manager
[14:51:23] [PASSED] VRAM manager
[14:51:23] ========= [PASSED] ttm_bo_validate_same_placement ==========
[14:51:23] [PASSED] ttm_bo_validate_failed_alloc
[14:51:23] [PASSED] ttm_bo_validate_pinned
[14:51:23] [PASSED] ttm_bo_validate_busy_placement
[14:51:23] ================ ttm_bo_validate_multihop =================
[14:51:23] [PASSED] Buffer object for userspace
[14:51:23] [PASSED] Kernel buffer object
[14:51:23] [PASSED] Shared buffer object
[14:51:23] ============ [PASSED] ttm_bo_validate_multihop =============
[14:51:23] ========== ttm_bo_validate_no_placement_signaled ==========
[14:51:23] [PASSED] Buffer object in system domain, no page vector
[14:51:23] [PASSED] Buffer object in system domain with an existing page vector
[14:51:23] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[14:51:23] ======== ttm_bo_validate_no_placement_not_signaled ========
[14:51:23] [PASSED] Buffer object for userspace
[14:51:23] [PASSED] Kernel buffer object
[14:51:23] [PASSED] Shared buffer object
[14:51:23] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[14:51:23] [PASSED] ttm_bo_validate_move_fence_signaled
[14:51:23] ========= ttm_bo_validate_move_fence_not_signaled =========
[14:51:23] [PASSED] Waits for GPU
[14:51:23] [PASSED] Tries to lock straight away
[14:51:24] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[14:51:24] [PASSED] ttm_bo_validate_swapout
[14:51:24] [PASSED] ttm_bo_validate_happy_evict
[14:51:24] [PASSED] ttm_bo_validate_all_pinned_evict
[14:51:24] [PASSED] ttm_bo_validate_allowed_only_evict
[14:51:24] [PASSED] ttm_bo_validate_deleted_evict
[14:51:24] [PASSED] ttm_bo_validate_busy_domain_evict
[14:51:24] [PASSED] ttm_bo_validate_evict_gutting
[14:51:24] [PASSED] ttm_bo_validate_recrusive_evict
[14:51:24] ================= [PASSED] ttm_bo_validate =================
[14:51:24] ============================================================
[14:51:24] Testing complete. Ran 102 tests: passed: 102
[14:51:24] Elapsed time: 11.853s total, 1.798s configuring, 9.841s building, 0.179s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✓ Xe.CI.BAT: success for Crescent Island PMT support (rev3)
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (8 preceding siblings ...)
2026-08-06 14:51 ` ✓ CI.KUnit: success for Crescent Island PMT support (rev3) Patchwork
@ 2026-08-06 15:29 ` Patchwork
2026-08-07 2:37 ` ✗ Xe.CI.FULL: failure " Patchwork
10 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-08-06 15:29 UTC (permalink / raw)
To: Michael J. Ruhl; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
== Series Details ==
Series: Crescent Island PMT support (rev3)
URL : https://patchwork.freedesktop.org/series/160717/
State : success
== Summary ==
CI Bug Log - changes from xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343_BAT -> xe-pw-160717v3_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343 -> xe-pw-160717v3
IGT_9043: 9043
xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343: 25ed4a41b6058c0622ccadb523aa009c55d1f343
xe-pw-160717v3: 160717v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/index.html
[-- Attachment #2: Type: text/html, Size: 1405 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-06 13:58 ` [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks Michael J. Ruhl
@ 2026-08-06 21:50 ` Matthew Brost
2026-08-07 14:00 ` Ruhl, Michael J
0 siblings, 1 reply; 17+ messages in thread
From: Matthew Brost @ 2026-08-06 21:50 UTC (permalink / raw)
To: Michael J. Ruhl
Cc: platform-driver-x86, intel-xe, hansg, ilpo.jarvinen, rodrigo.vivi,
thomas.hellstrom, airlied, simona, david.e.box, anoop.c.vijay,
badal.nilawar, matthew.d.roper, james.ausmus
On Thu, Aug 06, 2026 at 06:58:26AM -0700, Michael J. Ruhl wrote:
> CRI PMT support requires callbacks to access the discovery status
> and control areas. Access is a common MMIO area that requires an
> index to be set before access is allowed.
>
> Introduce the necessary callbacks to get the status and control
> information for CRI PMT usage.
>
> Add the glue logic to register the CRI PMT functionality.
>
> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
> ---
> drivers/gpu/drm/xe/xe_vsec.c | 85 ++++++++++++++++++++++++++++++++++--
> 1 file changed, 82 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
> index 3849f99c1c91..b84ec9088de7 100644
> --- a/drivers/gpu/drm/xe/xe_vsec.c
> +++ b/drivers/gpu/drm/xe/xe_vsec.c
> @@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offse
> return count;
> }
>
> -static struct pmt_callbacks xe_pmt_cb = {
> +/**
> + * xe_pmt_read_reg() - read a crashlog register
> + * @dev: the xe device that registered the callback
> + * @guid: PMT guid of the crashlog instance
> + * @reg: data read from the PMT data structure
> + * @offset: which data to read from the PMT data structure
> + *
> + * Read the requested PMT register based on the pcie device and guid. The
> + * supported struct is the Crashlog Type1 Version2.
> + *
> + * Currently this is for CRI only.
> + */
> +static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32 offset)
> +{
> + struct xe_device *xe = kdev_to_xe_device(dev);
> + void __iomem *disc_addr = xe->mmio.regs;
> + u32 inst;
> +
> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> + return -EINVAL;
> +
> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> + CRI_CRASHLOG_PUNIT_DISC_OFFSET : CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> +
> + guard(mutex)(&xe->pmt.lock);
> +
> + xe_pm_runtime_get(xe);
We have guard(xe_pm_runtime)(xe), and this should also be the
outermost construct (i.e., do not use xe_pm_runtime_get(), as it can
wake the device, while other locks are held).
So this should either be:
guard(xe_pm_runtime)(xe);
guard(mutex)(&xe->pmt.lock);
Or, like the other in-tree usage with xe->pmt.lock in
xe_pmt_telem_read(), which calls xe_pm_runtime_get_if_active() while
holding the lock. This is fine because xe_pm_runtime_get_if_active()
cannot wake the device. This is most likely the correct choice, given
that this is a vfunc called by a different driver, and we have no way of
knowing whether that driver is holding locks that could create
problematic lock dependency chains if we wake the Xe device here.
Matt
> +
> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> +
> + memcpy_fromio(reg, disc_addr, sizeof(*reg));
> +
> + xe_pm_runtime_put(xe);
> +
> + return 0;
> +}
> +
> +static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32 offset)
> +{
> + struct xe_device *xe = kdev_to_xe_device(dev);
> + void __iomem *disc_addr = xe->mmio.regs;
> + u32 inst;
> +
> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> + return -EINVAL;
> +
> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> + CRI_CRASHLOG_PUNIT_DISC_OFFSET : CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> +
> + guard(mutex)(&xe->pmt.lock);
> +
> + xe_pm_runtime_get(xe);
> +
> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> +
> + memcpy_toio(disc_addr, ®, sizeof(reg));
> +
> + xe_pm_runtime_put(xe);
> +
> + return 0;
> +}
> +
> +static struct pmt_callbacks xe_bmg_pmt_cb = {
> + .read_telem = xe_pmt_telem_read,
> +};
> +
> +static struct pmt_callbacks xe_cri_pmt_cb = {
> .read_telem = xe_pmt_telem_read,
> + .read_reg = xe_pmt_read_reg,
> + .write_reg = xe_pmt_write_reg,
> };
>
> static const int vsec_platforms[] = {
> [XE_BATTLEMAGE] = XE_VSEC_BMG,
> + [XE_CRESCENTISLAND] = XE_VSEC_CRI,
> };
>
> static enum xe_vsec get_platform_info(struct xe_device *xe)
> {
> - if (xe->info.platform > XE_BATTLEMAGE)
> + if (xe->info.platform > XE_CRESCENTISLAND)
> return XE_VSEC_UNKNOWN;
>
> return vsec_platforms[xe->info.platform];
> @@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
>
> switch (platform) {
> case XE_VSEC_BMG:
> - info->priv_data = &xe_pmt_cb;
> + info->priv_data = &xe_bmg_pmt_cb;
> break;
> +
> + case XE_VSEC_CRI:
> + info->priv_data = &xe_cri_pmt_cb;
> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> + break;
> +
> default:
> break;
> }
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* ✗ Xe.CI.FULL: failure for Crescent Island PMT support (rev3)
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
` (9 preceding siblings ...)
2026-08-06 15:29 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-08-07 2:37 ` Patchwork
10 siblings, 0 replies; 17+ messages in thread
From: Patchwork @ 2026-08-07 2:37 UTC (permalink / raw)
To: Michael J. Ruhl; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 39772 bytes --]
== Series Details ==
Series: Crescent Island PMT support (rev3)
URL : https://patchwork.freedesktop.org/series/160717/
State : failure
== Summary ==
CI Bug Log - changes from xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343_FULL -> xe-pw-160717v3_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-160717v3_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-160717v3_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-160717v3_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@sriov_basic@pf-unbind-with-vf-probed:
- shard-bmg: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@sriov_basic@pf-unbind-with-vf-probed.html
#### Warnings ####
* igt@kms_content_protection@atomic-hdcp14:
- shard-bmg: [FAIL][2] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) -> [ABORT][3] +1 other test abort
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-9/igt@kms_content_protection@atomic-hdcp14.html
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-3/igt@kms_content_protection@atomic-hdcp14.html
New tests
---------
New tests have been introduced between xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343_FULL and xe-pw-160717v3_FULL:
### New IGT tests (199) ###
* igt@kms_cursor_crc@cursor-tearing-framebuffer-change:
- Statuses : 2 pass(s)
- Exec time: [1.35, 2.16] s
* igt@kms_cursor_crc@cursor-tearing-framebuffer-change@pipe-a-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.82] s
* igt@kms_cursor_crc@cursor-tearing-framebuffer-change@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.74] s
* igt@kms_cursor_crc@cursor-tearing-framebuffer-change@pipe-c-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.37] s
* igt@kms_cursor_crc@cursor-tearing-framebuffer-change@pipe-d-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.47] s
* igt@kms_cursor_crc@cursor-tearing-position-change:
- Statuses : 2 pass(s)
- Exec time: [1.38, 2.15] s
* igt@kms_cursor_crc@cursor-tearing-position-change@pipe-a-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.83] s
* igt@kms_cursor_crc@cursor-tearing-position-change@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.72] s
* igt@kms_cursor_crc@cursor-tearing-position-change@pipe-c-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.39] s
* igt@kms_cursor_crc@cursor-tearing-position-change@pipe-d-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.49] s
* igt@xe_exec_system_allocator@many-64k-free:
- Statuses : 2 pass(s)
- Exec time: [1.15, 1.16] s
* igt@xe_exec_system_allocator@many-64k-free-nomemset:
- Statuses : 2 pass(s)
- Exec time: [1.13, 1.23] s
* igt@xe_exec_system_allocator@many-64k-free-race:
- Statuses : 2 pass(s)
- Exec time: [0.23, 1.18] s
* igt@xe_exec_system_allocator@many-64k-free-race-nomemset:
- Statuses : 1 pass(s)
- Exec time: [1.59] s
* igt@xe_exec_system_allocator@many-64k-malloc:
- Statuses : 2 pass(s)
- Exec time: [0.28, 1.13] s
* igt@xe_exec_system_allocator@many-64k-malloc-bo-unmap:
- Statuses : 2 pass(s)
- Exec time: [0.23, 1.12] s
* igt@xe_exec_system_allocator@many-64k-malloc-bo-unmap-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.24, 1.03] s
* igt@xe_exec_system_allocator@many-64k-malloc-busy:
- Statuses : 2 pass(s)
- Exec time: [0.24, 1.37] s
* igt@xe_exec_system_allocator@many-64k-malloc-busy-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.22, 1.05] s
* igt@xe_exec_system_allocator@many-64k-malloc-fork-read:
- Statuses : 2 pass(s)
- Exec time: [5.46, 8.89] s
* igt@xe_exec_system_allocator@many-64k-malloc-fork-read-after:
- Statuses : 2 pass(s)
- Exec time: [8.21, 12.27] s
* igt@xe_exec_system_allocator@many-64k-malloc-mlock:
- Statuses : 2 pass(s)
- Exec time: [0.22, 1.04] s
* igt@xe_exec_system_allocator@many-64k-malloc-mlock-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.25, 0.95] s
* igt@xe_exec_system_allocator@many-64k-malloc-multi-fault:
- Statuses : 1 pass(s)
- Exec time: [0.30] s
* igt@xe_exec_system_allocator@many-64k-malloc-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.22, 0.93] s
* igt@xe_exec_system_allocator@many-64k-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.28, 0.86] s
* igt@xe_exec_system_allocator@many-64k-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.23] s
* igt@xe_exec_system_allocator@many-64k-malloc-race:
- Statuses : 2 pass(s)
- Exec time: [0.17, 0.25] s
* igt@xe_exec_system_allocator@many-64k-malloc-race-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.24, 0.34] s
* igt@xe_exec_system_allocator@many-64k-mmap:
- Statuses : 1 pass(s)
- Exec time: [0.20] s
* igt@xe_exec_system_allocator@many-64k-mmap-file:
- Statuses : 2 pass(s)
- Exec time: [0.17, 0.23] s
* igt@xe_exec_system_allocator@many-64k-mmap-file-mlock:
- Statuses : 2 pass(s)
- Exec time: [0.25, 0.26] s
* igt@xe_exec_system_allocator@many-64k-mmap-file-mlock-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.26, 0.27] s
* igt@xe_exec_system_allocator@many-64k-mmap-file-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.23, 0.28] s
* igt@xe_exec_system_allocator@many-64k-mmap-free:
- Statuses : 2 pass(s)
- Exec time: [0.78, 1.27] s
* igt@xe_exec_system_allocator@many-64k-mmap-free-huge:
- Statuses : 2 pass(s)
- Exec time: [2.20, 2.52] s
* igt@xe_exec_system_allocator@many-64k-mmap-free-huge-nomemset:
- Statuses : 2 pass(s)
- Exec time: [1.13] s
* igt@xe_exec_system_allocator@many-64k-mmap-free-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.87, 1.30] s
* igt@xe_exec_system_allocator@many-64k-mmap-free-race:
- Statuses : 2 pass(s)
- Exec time: [1.01, 1.59] s
* igt@xe_exec_system_allocator@many-64k-mmap-free-race-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.84, 1.56] s
* igt@xe_exec_system_allocator@many-64k-mmap-huge:
- Statuses : 2 pass(s)
- Exec time: [0.39, 0.47] s
* igt@xe_exec_system_allocator@many-64k-mmap-huge-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.38, 0.45] s
* igt@xe_exec_system_allocator@many-64k-mmap-mlock:
- Statuses : 2 pass(s)
- Exec time: [0.22, 0.82] s
* igt@xe_exec_system_allocator@many-64k-mmap-mlock-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.27, 1.19] s
* igt@xe_exec_system_allocator@many-64k-mmap-new:
- Statuses : 2 pass(s)
- Exec time: [0.62, 0.74] s
* igt@xe_exec_system_allocator@many-64k-mmap-new-huge:
- Statuses : 2 pass(s)
- Exec time: [2.54, 2.58] s
* igt@xe_exec_system_allocator@many-64k-mmap-new-huge-nomemset:
- Statuses : 2 pass(s)
- Exec time: [1.86, 2.26] s
* igt@xe_exec_system_allocator@many-64k-mmap-new-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.61, 0.68] s
* igt@xe_exec_system_allocator@many-64k-mmap-new-race:
- Statuses : 2 pass(s)
- Exec time: [0.57] s
* igt@xe_exec_system_allocator@many-64k-mmap-new-race-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.55, 0.89] s
* igt@xe_exec_system_allocator@many-64k-mmap-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.26, 1.01] s
* igt@xe_exec_system_allocator@many-64k-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.19, 0.81] s
* igt@xe_exec_system_allocator@many-64k-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.26] s
* igt@xe_exec_system_allocator@many-64k-mmap-race:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.24] s
* igt@xe_exec_system_allocator@many-64k-mmap-race-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.23, 0.38] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap:
- Statuses : 2 pass(s)
- Exec time: [1.15, 1.31] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-dontunmap:
- Statuses : 2 pass(s)
- Exec time: [0.94, 1.24] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-dontunmap-eocheck:
- Statuses : 1 pass(s)
- Exec time: [1.27] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-eocheck:
- Statuses : 2 pass(s)
- Exec time: [0.97, 1.27] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-ro:
- Statuses : 2 pass(s)
- Exec time: [1.21, 1.35] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-ro-dontunmap:
- Statuses : 2 pass(s)
- Exec time: [1.19, 1.37] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-ro-dontunmap-eocheck:
- Statuses : 2 pass(s)
- Exec time: [1.15, 1.23] s
* igt@xe_exec_system_allocator@many-64k-mmap-remap-ro-eocheck:
- Statuses : 2 pass(s)
- Exec time: [1.07, 1.23] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared:
- Statuses : 2 pass(s)
- Exec time: [0.18, 0.23] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.26] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared-remap:
- Statuses : 1 pass(s)
- Exec time: [1.09] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared-remap-dontunmap:
- Statuses : 2 pass(s)
- Exec time: [0.92, 1.36] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared-remap-dontunmap-eocheck:
- Statuses : 2 pass(s)
- Exec time: [0.62, 0.74] s
* igt@xe_exec_system_allocator@many-64k-mmap-shared-remap-eocheck:
- Statuses : 2 pass(s)
- Exec time: [0.66, 1.19] s
* igt@xe_exec_system_allocator@many-64k-new:
- Statuses : 2 pass(s)
- Exec time: [0.75, 1.22] s
* igt@xe_exec_system_allocator@many-64k-new-bo-map:
- Statuses : 2 pass(s)
- Exec time: [0.73, 1.11] s
* igt@xe_exec_system_allocator@many-64k-new-bo-map-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.71, 1.07] s
* igt@xe_exec_system_allocator@many-64k-new-busy:
- Statuses : 2 pass(s)
- Exec time: [0.59, 1.17] s
* igt@xe_exec_system_allocator@many-64k-new-busy-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.56, 1.17] s
* igt@xe_exec_system_allocator@many-64k-new-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.66, 1.16] s
* igt@xe_exec_system_allocator@many-64k-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.43, 1.03] s
* igt@xe_exec_system_allocator@many-64k-new-race:
- Statuses : 2 pass(s)
- Exec time: [0.59, 1.06] s
* igt@xe_exec_system_allocator@many-64k-new-race-nomemset:
- Statuses : 2 pass(s)
- Exec time: [0.54, 0.89] s
* igt@xe_exec_system_allocator@many-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.49, 1.05] s
* igt@xe_exec_system_allocator@many-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.37, 0.42] s
* igt@xe_exec_system_allocator@many-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.52, 0.93] s
* igt@xe_exec_system_allocator@many-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.43, 0.45] s
* igt@xe_exec_system_allocator@many-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.61, 1.67] s
* igt@xe_exec_system_allocator@many-large-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.40, 2.84] s
* igt@xe_exec_system_allocator@many-large-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.30, 0.37] s
* igt@xe_exec_system_allocator@many-large-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.42, 2.82] s
* igt@xe_exec_system_allocator@many-large-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.40] s
* igt@xe_exec_system_allocator@many-large-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [1.69, 4.20] s
* igt@xe_exec_system_allocator@many-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.29, 2.72] s
* igt@xe_exec_system_allocator@many-large-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.25, 0.26] s
* igt@xe_exec_system_allocator@many-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.29, 2.67] s
* igt@xe_exec_system_allocator@many-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.25, 0.32] s
* igt@xe_exec_system_allocator@many-large-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [1.58, 4.09] s
* igt@xe_exec_system_allocator@many-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.22, 0.88] s
* igt@xe_exec_system_allocator@many-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.20, 0.23] s
* igt@xe_exec_system_allocator@many-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.29, 0.82] s
* igt@xe_exec_system_allocator@many-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.20, 0.25] s
* igt@xe_exec_system_allocator@many-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.49, 1.55] s
* igt@xe_exec_system_allocator@many-stride-malloc-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.31] s
* igt@xe_exec_system_allocator@many-stride-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.27, 0.36] s
* igt@xe_exec_system_allocator@many-stride-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.27, 2.08] s
* igt@xe_exec_system_allocator@many-stride-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.31, 0.35] s
* igt@xe_exec_system_allocator@many-stride-new-prefetch:
- Statuses : 1 incomplete(s) 1 pass(s)
- Exec time: [0.0, 8.00] s
* igt@xe_exec_system_allocator@once-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.07] s
* igt@xe_exec_system_allocator@once-large-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.06, 0.08] s
* igt@xe_exec_system_allocator@once-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.06, 0.07] s
* igt@xe_exec_system_allocator@once-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.06] s
* igt@xe_exec_system_allocator@once-large-new-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.06] s
* igt@xe_exec_system_allocator@once-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.05, 0.07] s
* igt@xe_exec_system_allocator@once-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.04] s
* igt@xe_exec_system_allocator@once-mmap-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.05] s
* igt@xe_exec_system_allocator@once-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.08] s
* igt@xe_exec_system_allocator@once-new-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.05] s
* igt@xe_exec_system_allocator@prefetch-benchmark:
- Statuses : 2 pass(s)
- Exec time: [2.44, 85.82] s
* igt@xe_exec_system_allocator@process-many-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.18, 0.27] s
* igt@xe_exec_system_allocator@process-many-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.19, 0.22] s
* igt@xe_exec_system_allocator@process-many-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.30] s
* igt@xe_exec_system_allocator@process-many-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.24, 0.25] s
* igt@xe_exec_system_allocator@process-many-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.42] s
* igt@xe_exec_system_allocator@process-many-large-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.19, 0.58] s
* igt@xe_exec_system_allocator@process-many-large-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.23] s
* igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.56] s
* igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.18, 0.25] s
* igt@xe_exec_system_allocator@process-many-large-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.47, 0.81] s
* igt@xe_exec_system_allocator@process-many-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.56] s
* igt@xe_exec_system_allocator@process-many-large-malloc-prefetch-race:
- Statuses : 1 pass(s)
- Exec time: [0.12] s
* igt@xe_exec_system_allocator@process-many-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.59] s
* igt@xe_exec_system_allocator@process-many-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.10, 0.23] s
* igt@xe_exec_system_allocator@process-many-large-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.46, 0.89] s
* igt@xe_exec_system_allocator@process-many-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.25] s
* igt@xe_exec_system_allocator@process-many-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.21] s
* igt@xe_exec_system_allocator@process-many-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.24] s
* igt@xe_exec_system_allocator@process-many-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.21] s
* igt@xe_exec_system_allocator@process-many-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.17, 0.39] s
* igt@xe_exec_system_allocator@process-many-stride-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.45] s
* igt@xe_exec_system_allocator@process-many-stride-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.18] s
* igt@xe_exec_system_allocator@process-many-stride-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.56] s
* igt@xe_exec_system_allocator@process-many-stride-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.17, 0.19] s
* igt@xe_exec_system_allocator@process-many-stride-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [2.17, 4.37] s
* igt@xe_exec_system_allocator@threads-many-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.16, 0.25] s
* igt@xe_exec_system_allocator@threads-many-execqueues-malloc-prefetch-race:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@xe_exec_system_allocator@threads-many-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.11, 0.23] s
* igt@xe_exec_system_allocator@threads-many-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.20] s
* igt@xe_exec_system_allocator@threads-many-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.17, 0.67] s
* igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-prefetch-race:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.86] s
* igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.21] s
* igt@xe_exec_system_allocator@threads-many-large-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.60, 1.84] s
* igt@xe_exec_system_allocator@threads-many-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.82] s
* igt@xe_exec_system_allocator@threads-many-large-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.18] s
* igt@xe_exec_system_allocator@threads-many-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.89] s
* igt@xe_exec_system_allocator@threads-many-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.20] s
* igt@xe_exec_system_allocator@threads-many-large-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.61, 1.82] s
* igt@xe_exec_system_allocator@threads-many-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.25] s
* igt@xe_exec_system_allocator@threads-many-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.18] s
* igt@xe_exec_system_allocator@threads-many-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.10, 0.23] s
* igt@xe_exec_system_allocator@threads-many-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.18] s
* igt@xe_exec_system_allocator@threads-many-new-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.15] s
* igt@xe_exec_system_allocator@threads-many-stride-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.79] s
* igt@xe_exec_system_allocator@threads-many-stride-malloc-prefetch-race:
- Statuses : 1 pass(s)
- Exec time: [0.11] s
* igt@xe_exec_system_allocator@threads-many-stride-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.72] s
* igt@xe_exec_system_allocator@threads-many-stride-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.11, 0.18] s
* igt@xe_exec_system_allocator@threads-many-stride-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [1.47, 7.27] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.16, 1.14] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.21, 0.26] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.15, 1.27] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.18, 0.22] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.40, 1.92] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.20, 5.83] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.11, 0.21] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.17, 5.77] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.22] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-new-prefetch:
- Statuses : 1 pass(s)
- Exec time: [0.83] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.12, 5.31] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.12, 0.16] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.16, 3.70] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.16, 0.18] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.73, 3.78] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.98] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.13, 0.17] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.14, 0.76] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.11, 0.18] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.36, 1.68] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.12, 5.10] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.10, 0.20] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.17, 3.52] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.15, 0.22] s
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [2.39, 8.01] s
* igt@xe_exec_system_allocator@twice-large-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.08, 0.10] s
* igt@xe_exec_system_allocator@twice-large-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.05, 0.06] s
* igt@xe_exec_system_allocator@twice-large-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.07, 0.10] s
* igt@xe_exec_system_allocator@twice-large-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.06, 0.07] s
* igt@xe_exec_system_allocator@twice-large-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.07, 0.13] s
* igt@xe_exec_system_allocator@twice-malloc-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.05, 0.07] s
* igt@xe_exec_system_allocator@twice-malloc-prefetch-race:
- Statuses : 2 pass(s)
- Exec time: [0.05, 0.09] s
* igt@xe_exec_system_allocator@twice-mmap-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.08, 0.09] s
* igt@xe_exec_system_allocator@twice-mmap-prefetch-shared:
- Statuses : 2 pass(s)
- Exec time: [0.06, 0.08] s
* igt@xe_exec_system_allocator@twice-new-prefetch:
- Statuses : 2 pass(s)
- Exec time: [0.07] s
Known issues
------------
Here are the changes found in xe-pw-160717v3_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [PASS][4] -> [FAIL][5] ([Intel XE#3718] / [Intel XE#6078])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-1/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-2/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-dp-2:
- shard-bmg: [PASS][6] -> [FAIL][7] ([Intel XE#6078])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-1/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-dp-2.html
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-2/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-dp-2.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2887])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_cursor_crc@cursor-random-128x42:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2320])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_cursor_crc@cursor-random-128x42.html
* igt@kms_cursor_crc@cursor-size-change:
- shard-bmg: [PASS][10] -> [DMESG-FAIL][11] ([Intel XE#7774]) +1 other test dmesg-fail
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-2/igt@kms_cursor_crc@cursor-size-change.html
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-5/igt@kms_cursor_crc@cursor-size-change.html
* igt@kms_dsc@dsc-with-output-formats:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#8265])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_dsc@dsc-with-output-formats.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [PASS][13] -> [FAIL][14] ([Intel XE#301] / [Intel XE#3149])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][15] -> [FAIL][16] ([Intel XE#301])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2311]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#4141])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2313]) +2 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html
* igt@kms_pm_backlight@brightness-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2938] / [Intel XE#7376] / [Intel XE#7760])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_pm_backlight@brightness-with-dpms.html
* igt@kms_psr2_sf@psr2-cursor-plane-update-sf:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#1489])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@kms_psr2_sf@psr2-cursor-plane-update-sf.html
* igt@xe_evict@evict-small-multi-queue-priority:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#8370])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@xe_evict@evict-small-multi-queue-priority.html
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#8374])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate.html
* igt@xe_exec_multi_queue@max-queues-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#8364])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@xe_exec_multi_queue@max-queues-priority-smem.html
* igt@xe_exec_reset@long-spin-reuse-many-preempt:
- shard-bmg: [PASS][25] -> [FAIL][26] ([Intel XE#7850])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-8/igt@xe_exec_reset@long-spin-reuse-many-preempt.html
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-1/igt@xe_exec_reset@long-spin-reuse-many-preempt.html
* igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init:
- shard-bmg: [PASS][27] -> [ABORT][28] ([Intel XE#8007]) +1 other test abort
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-8/igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init.html
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-3/igt@xe_fault_injection@inject-fault-probe-function-xe_wopcm_init.html
#### Possible fixes ####
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][29] ([Intel XE#7571]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-8/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-lnl: [FAIL][31] ([Intel XE#301]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [FAIL][33] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
* igt@xe_exec_reset@long-spin-many-preempt-media:
- shard-bmg: [FAIL][35] ([Intel XE#7956]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-5/igt@xe_exec_reset@long-spin-many-preempt-media.html
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-10/igt@xe_exec_reset@long-spin-many-preempt-media.html
* igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create:
- shard-bmg: [ABORT][37] ([Intel XE#8007]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-4/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-8/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html
#### Warnings ####
* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][39] ([Intel XE#301] / [Intel XE#3149]) -> [FAIL][40] ([Intel XE#301])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank.html
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][41] ([Intel XE#301]) -> [FAIL][42] ([Intel XE#301] / [Intel XE#3149])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][43] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][44] ([Intel XE#1729] / [Intel XE#7424])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-9/igt@kms_tiled_display@basic-test-pattern.html
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-3/igt@kms_tiled_display@basic-test-pattern.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][45] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][46] ([Intel XE#2426] / [Intel XE#5848])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343/shard-bmg-1/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/shard-bmg-2/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[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#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2938]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2938
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7774]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7774
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[Intel XE#7956]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7956
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
Build changes
-------------
* Linux: xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343 -> xe-pw-160717v3
IGT_9043: 9043
xe-5554-25ed4a41b6058c0622ccadb523aa009c55d1f343: 25ed4a41b6058c0622ccadb523aa009c55d1f343
xe-pw-160717v3: 160717v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160717v3/index.html
[-- Attachment #2: Type: text/html, Size: 47903 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-06 21:50 ` Matthew Brost
@ 2026-08-07 14:00 ` Ruhl, Michael J
2026-08-07 19:22 ` Matthew Brost
0 siblings, 1 reply; 17+ messages in thread
From: Ruhl, Michael J @ 2026-08-07 14:00 UTC (permalink / raw)
To: Brost, Matthew
Cc: platform-driver-x86@vger.kernel.org,
intel-xe@lists.freedesktop.org, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com, Vivi, Rodrigo,
thomas.hellstrom@linux.intel.com, airlied@gmail.com,
simona@ffwll.ch, david.e.box@linux.intel.com, Vijay, Anoop C,
Nilawar, Badal, Roper, Matthew D, Ausmus, James
>-----Original Message-----
>From: Brost, Matthew <matthew.brost@intel.com>
>Sent: Thursday, August 6, 2026 5:50 PM
>To: Ruhl, Michael J <michael.j.ruhl@intel.com>
>Cc: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
>hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Vivi, Rodrigo
><rodrigo.vivi@intel.com>; thomas.hellstrom@linux.intel.com;
>airlied@gmail.com; simona@ffwll.ch; david.e.box@linux.intel.com; Vijay,
>Anoop C <anoop.c.vijay@intel.com>; Nilawar, Badal
><badal.nilawar@intel.com>; Roper, Matthew D <matthew.d.roper@intel.com>;
>Ausmus, James <james.ausmus@intel.com>
>Subject: Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
>
>On Thu, Aug 06, 2026 at 06:58:26AM -0700, Michael J. Ruhl wrote:
>> CRI PMT support requires callbacks to access the discovery status
>> and control areas. Access is a common MMIO area that requires an
>> index to be set before access is allowed.
>>
>> Introduce the necessary callbacks to get the status and control
>> information for CRI PMT usage.
>>
>> Add the glue logic to register the CRI PMT functionality.
>>
>> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_vsec.c | 85
>++++++++++++++++++++++++++++++++++--
>> 1 file changed, 82 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
>> index 3849f99c1c91..b84ec9088de7 100644
>> --- a/drivers/gpu/drm/xe/xe_vsec.c
>> +++ b/drivers/gpu/drm/xe/xe_vsec.c
>> @@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev, u32
>guid, u64 *data, loff_t user_offse
>> return count;
>> }
>>
>> -static struct pmt_callbacks xe_pmt_cb = {
>> +/**
>> + * xe_pmt_read_reg() - read a crashlog register
>> + * @dev: the xe device that registered the callback
>> + * @guid: PMT guid of the crashlog instance
>> + * @reg: data read from the PMT data structure
>> + * @offset: which data to read from the PMT data structure
>> + *
>> + * Read the requested PMT register based on the pcie device and guid. The
>> + * supported struct is the Crashlog Type1 Version2.
>> + *
>> + * Currently this is for CRI only.
>> + */
>> +static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32
>offset)
>> +{
>> + struct xe_device *xe = kdev_to_xe_device(dev);
>> + void __iomem *disc_addr = xe->mmio.regs;
>> + u32 inst;
>> +
>> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
>> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
>> + return -EINVAL;
>> +
>> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
>> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
>CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
>> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
>> +
>> + guard(mutex)(&xe->pmt.lock);
>> +
>> + xe_pm_runtime_get(xe);
>
>We have guard(xe_pm_runtime)(xe), and this should also be the
>outermost construct (i.e., do not use xe_pm_runtime_get(), as it can
>wake the device, while other locks are held).
Hi Matt,
I am using the _get() routine because the device MUST be on for me to access the
registers.
Does the guard(xe_pm_runtime)(xe) turn the device on?
>So this should either be:
>
>guard(xe_pm_runtime)(xe);
>guard(mutex)(&xe->pmt.lock);
Ok, this makes sense.
>Or, like the other in-tree usage with xe->pmt.lock in
>xe_pmt_telem_read(), which calls xe_pm_runtime_get_if_active() while
>holding the lock. This is fine because xe_pm_runtime_get_if_active()
>cannot wake the device. This is most likely the correct choice, given
>that this is a vfunc called by a different driver, and we have no way of
>knowing whether that driver is holding locks that could create
>problematic lock dependency chains if we wake the Xe device here.
For telemetry, the data read should NOT happen if the device is not active (so the get_if_active usage)
For Crashlog, I have to get the data and have to make sure the device is enabled....(see patch 3).
Do you have some thoughts on the correct sequencing here?
Thanks,
M
>Matt
>
>> +
>> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
>> +
>> + memcpy_fromio(reg, disc_addr, sizeof(*reg));
>> +
>> + xe_pm_runtime_put(xe);
>> +
>> + return 0;
>> +}
>> +
>> +static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32
>offset)
>> +{
>> + struct xe_device *xe = kdev_to_xe_device(dev);
>> + void __iomem *disc_addr = xe->mmio.regs;
>> + u32 inst;
>> +
>> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
>> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
>> + return -EINVAL;
>> +
>> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
>> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
>CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
>> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
>> +
>> + guard(mutex)(&xe->pmt.lock);
>> +
>> + xe_pm_runtime_get(xe);
>> +
>> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
>> +
>> + memcpy_toio(disc_addr, ®, sizeof(reg));
>> +
>> + xe_pm_runtime_put(xe);
>> +
>> + return 0;
>> +}
>> +
>> +static struct pmt_callbacks xe_bmg_pmt_cb = {
>> + .read_telem = xe_pmt_telem_read,
>> +};
>> +
>> +static struct pmt_callbacks xe_cri_pmt_cb = {
>> .read_telem = xe_pmt_telem_read,
>> + .read_reg = xe_pmt_read_reg,
>> + .write_reg = xe_pmt_write_reg,
>> };
>>
>> static const int vsec_platforms[] = {
>> [XE_BATTLEMAGE] = XE_VSEC_BMG,
>> + [XE_CRESCENTISLAND] = XE_VSEC_CRI,
>> };
>>
>> static enum xe_vsec get_platform_info(struct xe_device *xe)
>> {
>> - if (xe->info.platform > XE_BATTLEMAGE)
>> + if (xe->info.platform > XE_CRESCENTISLAND)
>> return XE_VSEC_UNKNOWN;
>>
>> return vsec_platforms[xe->info.platform];
>> @@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
>>
>> switch (platform) {
>> case XE_VSEC_BMG:
>> - info->priv_data = &xe_pmt_cb;
>> + info->priv_data = &xe_bmg_pmt_cb;
>> break;
>> +
>> + case XE_VSEC_CRI:
>> + info->priv_data = &xe_cri_pmt_cb;
>> + xe->soc_remapper.set_telem_region(xe,
>CRI_IDX_TELEM_DISCOVERY);
>> + break;
>> +
>> default:
>> break;
>> }
>> --
>> 2.43.0
>>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-07 14:00 ` Ruhl, Michael J
@ 2026-08-07 19:22 ` Matthew Brost
2026-08-07 19:38 ` Matthew Brost
0 siblings, 1 reply; 17+ messages in thread
From: Matthew Brost @ 2026-08-07 19:22 UTC (permalink / raw)
To: Ruhl, Michael J
Cc: platform-driver-x86@vger.kernel.org,
intel-xe@lists.freedesktop.org, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com, Vivi, Rodrigo,
thomas.hellstrom@linux.intel.com, airlied@gmail.com,
simona@ffwll.ch, david.e.box@linux.intel.com, Vijay, Anoop C,
Nilawar, Badal, Roper, Matthew D, Ausmus, James
On Fri, Aug 07, 2026 at 08:00:40AM -0600, Ruhl, Michael J wrote:
> >-----Original Message-----
> >From: Brost, Matthew <matthew.brost@intel.com>
> >Sent: Thursday, August 6, 2026 5:50 PM
> >To: Ruhl, Michael J <michael.j.ruhl@intel.com>
> >Cc: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
> >hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Vivi, Rodrigo
> ><rodrigo.vivi@intel.com>; thomas.hellstrom@linux.intel.com;
> >airlied@gmail.com; simona@ffwll.ch; david.e.box@linux.intel.com; Vijay,
> >Anoop C <anoop.c.vijay@intel.com>; Nilawar, Badal
> ><badal.nilawar@intel.com>; Roper, Matthew D <matthew.d.roper@intel.com>;
> >Ausmus, James <james.ausmus@intel.com>
> >Subject: Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
> >
> >On Thu, Aug 06, 2026 at 06:58:26AM -0700, Michael J. Ruhl wrote:
> >> CRI PMT support requires callbacks to access the discovery status
> >> and control areas. Access is a common MMIO area that requires an
> >> index to be set before access is allowed.
> >>
> >> Introduce the necessary callbacks to get the status and control
> >> information for CRI PMT usage.
> >>
> >> Add the glue logic to register the CRI PMT functionality.
> >>
> >> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
> >> ---
> >> drivers/gpu/drm/xe/xe_vsec.c | 85
> >++++++++++++++++++++++++++++++++++--
> >> 1 file changed, 82 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
> >> index 3849f99c1c91..b84ec9088de7 100644
> >> --- a/drivers/gpu/drm/xe/xe_vsec.c
> >> +++ b/drivers/gpu/drm/xe/xe_vsec.c
> >> @@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev, u32
> >guid, u64 *data, loff_t user_offse
> >> return count;
> >> }
> >>
> >> -static struct pmt_callbacks xe_pmt_cb = {
> >> +/**
> >> + * xe_pmt_read_reg() - read a crashlog register
> >> + * @dev: the xe device that registered the callback
> >> + * @guid: PMT guid of the crashlog instance
> >> + * @reg: data read from the PMT data structure
> >> + * @offset: which data to read from the PMT data structure
> >> + *
> >> + * Read the requested PMT register based on the pcie device and guid. The
> >> + * supported struct is the Crashlog Type1 Version2.
> >> + *
> >> + * Currently this is for CRI only.
> >> + */
> >> +static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32
> >offset)
> >> +{
> >> + struct xe_device *xe = kdev_to_xe_device(dev);
> >> + void __iomem *disc_addr = xe->mmio.regs;
> >> + u32 inst;
> >> +
> >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> >> + return -EINVAL;
> >> +
> >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
> >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> >> +
> >> + guard(mutex)(&xe->pmt.lock);
> >> +
> >> + xe_pm_runtime_get(xe);
> >
> >We have guard(xe_pm_runtime)(xe), and this should also be the
> >outermost construct (i.e., do not use xe_pm_runtime_get(), as it can
> >wake the device, while other locks are held).
>
> Hi Matt,
>
> I am using the _get() routine because the device MUST be on for me to access the
> registers.
>
> Does the guard(xe_pm_runtime)(xe) turn the device on?
>
Yes, it would be same as:
xe_pm_runtime_get(xe);
mutux_lock(&xe->pmt.lock);
/* Do something *.
mutux_unlock(&xe->pmt.lock);
xe_pm_runtime_put(xe);
>
> >So this should either be:
> >
> >guard(xe_pm_runtime)(xe);
> >guard(mutex)(&xe->pmt.lock);
>
> Ok, this makes sense.
>
> >Or, like the other in-tree usage with xe->pmt.lock in
> >xe_pmt_telem_read(), which calls xe_pm_runtime_get_if_active() while
> >holding the lock. This is fine because xe_pm_runtime_get_if_active()
> >cannot wake the device. This is most likely the correct choice, given
> >that this is a vfunc called by a different driver, and we have no way of
> >knowing whether that driver is holding locks that could create
> >problematic lock dependency chains if we wake the Xe device here.
>
> For telemetry, the data read should NOT happen if the device is not active (so the get_if_active usage)
>
> For Crashlog, I have to get the data and have to make sure the device is enabled....(see patch 3).
>
If Xe gets hotplugged nothing is going to save you here either, you to
some extent you must deal errors at the caller, more below.
> Do you have some thoughts on the correct sequencing here?
I'd at least swap the order as suggested so that the Xe code isn't
internally waking the device while holding locks, which goes against our
PM rules.
I'd also consider adding internal hotplug protection, unless the caller
already provides it. I don't really know what the PMT code is doing
here, so it's possible that this path is already protected against
hotplug events.
So:
bound = drm_dev_enter(&xe->drm, idx);
if (!bound)
xe_pm_runtime_get(xe);
mutux_lock(&xe->pmt.lock);
/* Do something */
mutux_unlock(&xe->pmt.lock);
xe_pm_runtime_put(xe);
drm_dev_exit(idx);
} else {
/* Device is already unplugged, caller has to deal with this */
return some_error;
}
If hotplug protection is needed here, then xe_pmt_telem_read should have
this too.
Matt
>
> Thanks,
>
> M
>
> >Matt
> >
> >> +
> >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> >> +
> >> + memcpy_fromio(reg, disc_addr, sizeof(*reg));
> >> +
> >> + xe_pm_runtime_put(xe);
> >> +
> >> + return 0;
> >> +}
> >> +
> >> +static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32
> >offset)
> >> +{
> >> + struct xe_device *xe = kdev_to_xe_device(dev);
> >> + void __iomem *disc_addr = xe->mmio.regs;
> >> + u32 inst;
> >> +
> >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> >> + return -EINVAL;
> >> +
> >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
> >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> >> +
> >> + guard(mutex)(&xe->pmt.lock);
> >> +
> >> + xe_pm_runtime_get(xe);
> >> +
> >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> >> +
> >> + memcpy_toio(disc_addr, ®, sizeof(reg));
> >> +
> >> + xe_pm_runtime_put(xe);
> >> +
> >> + return 0;
> >> +}
> >> +
> >> +static struct pmt_callbacks xe_bmg_pmt_cb = {
> >> + .read_telem = xe_pmt_telem_read,
> >> +};
> >> +
> >> +static struct pmt_callbacks xe_cri_pmt_cb = {
> >> .read_telem = xe_pmt_telem_read,
> >> + .read_reg = xe_pmt_read_reg,
> >> + .write_reg = xe_pmt_write_reg,
> >> };
> >>
> >> static const int vsec_platforms[] = {
> >> [XE_BATTLEMAGE] = XE_VSEC_BMG,
> >> + [XE_CRESCENTISLAND] = XE_VSEC_CRI,
> >> };
> >>
> >> static enum xe_vsec get_platform_info(struct xe_device *xe)
> >> {
> >> - if (xe->info.platform > XE_BATTLEMAGE)
> >> + if (xe->info.platform > XE_CRESCENTISLAND)
> >> return XE_VSEC_UNKNOWN;
> >>
> >> return vsec_platforms[xe->info.platform];
> >> @@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
> >>
> >> switch (platform) {
> >> case XE_VSEC_BMG:
> >> - info->priv_data = &xe_pmt_cb;
> >> + info->priv_data = &xe_bmg_pmt_cb;
> >> break;
> >> +
> >> + case XE_VSEC_CRI:
> >> + info->priv_data = &xe_cri_pmt_cb;
> >> + xe->soc_remapper.set_telem_region(xe,
> >CRI_IDX_TELEM_DISCOVERY);
> >> + break;
> >> +
> >> default:
> >> break;
> >> }
> >> --
> >> 2.43.0
> >>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-07 19:22 ` Matthew Brost
@ 2026-08-07 19:38 ` Matthew Brost
2026-08-07 20:15 ` Ruhl, Michael J
0 siblings, 1 reply; 17+ messages in thread
From: Matthew Brost @ 2026-08-07 19:38 UTC (permalink / raw)
To: Ruhl, Michael J
Cc: platform-driver-x86@vger.kernel.org,
intel-xe@lists.freedesktop.org, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com, Vivi, Rodrigo,
thomas.hellstrom@linux.intel.com, airlied@gmail.com,
simona@ffwll.ch, david.e.box@linux.intel.com, Vijay, Anoop C,
Nilawar, Badal, Roper, Matthew D, Ausmus, James
On Fri, Aug 07, 2026 at 12:22:19PM -0700, Matthew Brost wrote:
> On Fri, Aug 07, 2026 at 08:00:40AM -0600, Ruhl, Michael J wrote:
> > >-----Original Message-----
> > >From: Brost, Matthew <matthew.brost@intel.com>
> > >Sent: Thursday, August 6, 2026 5:50 PM
> > >To: Ruhl, Michael J <michael.j.ruhl@intel.com>
> > >Cc: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
> > >hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Vivi, Rodrigo
> > ><rodrigo.vivi@intel.com>; thomas.hellstrom@linux.intel.com;
> > >airlied@gmail.com; simona@ffwll.ch; david.e.box@linux.intel.com; Vijay,
> > >Anoop C <anoop.c.vijay@intel.com>; Nilawar, Badal
> > ><badal.nilawar@intel.com>; Roper, Matthew D <matthew.d.roper@intel.com>;
> > >Ausmus, James <james.ausmus@intel.com>
> > >Subject: Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
> > >
> > >On Thu, Aug 06, 2026 at 06:58:26AM -0700, Michael J. Ruhl wrote:
> > >> CRI PMT support requires callbacks to access the discovery status
> > >> and control areas. Access is a common MMIO area that requires an
> > >> index to be set before access is allowed.
> > >>
> > >> Introduce the necessary callbacks to get the status and control
> > >> information for CRI PMT usage.
> > >>
> > >> Add the glue logic to register the CRI PMT functionality.
> > >>
> > >> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
> > >> ---
> > >> drivers/gpu/drm/xe/xe_vsec.c | 85
> > >++++++++++++++++++++++++++++++++++--
> > >> 1 file changed, 82 insertions(+), 3 deletions(-)
> > >>
> > >> diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
> > >> index 3849f99c1c91..b84ec9088de7 100644
> > >> --- a/drivers/gpu/drm/xe/xe_vsec.c
> > >> +++ b/drivers/gpu/drm/xe/xe_vsec.c
> > >> @@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev, u32
> > >guid, u64 *data, loff_t user_offse
> > >> return count;
> > >> }
> > >>
> > >> -static struct pmt_callbacks xe_pmt_cb = {
> > >> +/**
> > >> + * xe_pmt_read_reg() - read a crashlog register
> > >> + * @dev: the xe device that registered the callback
> > >> + * @guid: PMT guid of the crashlog instance
> > >> + * @reg: data read from the PMT data structure
> > >> + * @offset: which data to read from the PMT data structure
> > >> + *
> > >> + * Read the requested PMT register based on the pcie device and guid. The
> > >> + * supported struct is the Crashlog Type1 Version2.
> > >> + *
> > >> + * Currently this is for CRI only.
> > >> + */
> > >> +static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32
> > >offset)
> > >> +{
> > >> + struct xe_device *xe = kdev_to_xe_device(dev);
> > >> + void __iomem *disc_addr = xe->mmio.regs;
> > >> + u32 inst;
> > >> +
> > >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> > >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> > >> + return -EINVAL;
> > >> +
> > >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> > >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
> > >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> > >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> > >> +
> > >> + guard(mutex)(&xe->pmt.lock);
> > >> +
> > >> + xe_pm_runtime_get(xe);
> > >
> > >We have guard(xe_pm_runtime)(xe), and this should also be the
> > >outermost construct (i.e., do not use xe_pm_runtime_get(), as it can
> > >wake the device, while other locks are held).
> >
> > Hi Matt,
> >
> > I am using the _get() routine because the device MUST be on for me to access the
> > registers.
> >
> > Does the guard(xe_pm_runtime)(xe) turn the device on?
> >
>
> Yes, it would be same as:
>
> xe_pm_runtime_get(xe);
> mutux_lock(&xe->pmt.lock);
> /* Do something *.
> mutux_unlock(&xe->pmt.lock);
> xe_pm_runtime_put(xe);
>
> >
> > >So this should either be:
> > >
> > >guard(xe_pm_runtime)(xe);
> > >guard(mutex)(&xe->pmt.lock);
> >
> > Ok, this makes sense.
> >
> > >Or, like the other in-tree usage with xe->pmt.lock in
> > >xe_pmt_telem_read(), which calls xe_pm_runtime_get_if_active() while
> > >holding the lock. This is fine because xe_pm_runtime_get_if_active()
> > >cannot wake the device. This is most likely the correct choice, given
> > >that this is a vfunc called by a different driver, and we have no way of
> > >knowing whether that driver is holding locks that could create
> > >problematic lock dependency chains if we wake the Xe device here.
> >
> > For telemetry, the data read should NOT happen if the device is not active (so the get_if_active usage)
> >
> > For Crashlog, I have to get the data and have to make sure the device is enabled....(see patch 3).
> >
>
> If Xe gets hotplugged nothing is going to save you here either, you to
> some extent you must deal errors at the caller, more below.
>
> > Do you have some thoughts on the correct sequencing here?
>
> I'd at least swap the order as suggested so that the Xe code isn't
> internally waking the device while holding locks, which goes against our
> PM rules.
>
> I'd also consider adding internal hotplug protection, unless the caller
> already provides it. I don't really know what the PMT code is doing
> here, so it's possible that this path is already protected against
> hotplug events.
>
> So:
>
> bound = drm_dev_enter(&xe->drm, idx);
> if (!bound)
Sorry typo with polarity inverted: s/if (!bound)/if (bound) {
> xe_pm_runtime_get(xe);
> mutux_lock(&xe->pmt.lock);
>
> /* Do something */
>
> mutux_unlock(&xe->pmt.lock);
> xe_pm_runtime_put(xe);
>
> drm_dev_exit(idx);
> } else {
> /* Device is already unplugged, caller has to deal with this */
> return some_error;
> }
>
> If hotplug protection is needed here, then xe_pmt_telem_read should have
> this too.
>
> Matt
>
> >
> > Thanks,
> >
> > M
> >
> > >Matt
> > >
> > >> +
> > >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> > >> +
> > >> + memcpy_fromio(reg, disc_addr, sizeof(*reg));
> > >> +
> > >> + xe_pm_runtime_put(xe);
> > >> +
> > >> + return 0;
> > >> +}
> > >> +
> > >> +static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32
> > >offset)
> > >> +{
> > >> + struct xe_device *xe = kdev_to_xe_device(dev);
> > >> + void __iomem *disc_addr = xe->mmio.regs;
> > >> + u32 inst;
> > >> +
> > >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
> > >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
> > >> + return -EINVAL;
> > >> +
> > >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
> > >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
> > >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
> > >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
> > >> +
> > >> + guard(mutex)(&xe->pmt.lock);
> > >> +
> > >> + xe_pm_runtime_get(xe);
> > >> +
> > >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
> > >> +
> > >> + memcpy_toio(disc_addr, ®, sizeof(reg));
> > >> +
> > >> + xe_pm_runtime_put(xe);
> > >> +
> > >> + return 0;
> > >> +}
> > >> +
> > >> +static struct pmt_callbacks xe_bmg_pmt_cb = {
> > >> + .read_telem = xe_pmt_telem_read,
> > >> +};
> > >> +
> > >> +static struct pmt_callbacks xe_cri_pmt_cb = {
> > >> .read_telem = xe_pmt_telem_read,
> > >> + .read_reg = xe_pmt_read_reg,
> > >> + .write_reg = xe_pmt_write_reg,
> > >> };
> > >>
> > >> static const int vsec_platforms[] = {
> > >> [XE_BATTLEMAGE] = XE_VSEC_BMG,
> > >> + [XE_CRESCENTISLAND] = XE_VSEC_CRI,
> > >> };
> > >>
> > >> static enum xe_vsec get_platform_info(struct xe_device *xe)
> > >> {
> > >> - if (xe->info.platform > XE_BATTLEMAGE)
> > >> + if (xe->info.platform > XE_CRESCENTISLAND)
> > >> return XE_VSEC_UNKNOWN;
> > >>
> > >> return vsec_platforms[xe->info.platform];
> > >> @@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
> > >>
> > >> switch (platform) {
> > >> case XE_VSEC_BMG:
> > >> - info->priv_data = &xe_pmt_cb;
> > >> + info->priv_data = &xe_bmg_pmt_cb;
> > >> break;
> > >> +
> > >> + case XE_VSEC_CRI:
> > >> + info->priv_data = &xe_cri_pmt_cb;
> > >> + xe->soc_remapper.set_telem_region(xe,
> > >CRI_IDX_TELEM_DISCOVERY);
> > >> + break;
> > >> +
> > >> default:
> > >> break;
> > >> }
> > >> --
> > >> 2.43.0
> > >>
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
2026-08-07 19:38 ` Matthew Brost
@ 2026-08-07 20:15 ` Ruhl, Michael J
0 siblings, 0 replies; 17+ messages in thread
From: Ruhl, Michael J @ 2026-08-07 20:15 UTC (permalink / raw)
To: Brost, Matthew
Cc: platform-driver-x86@vger.kernel.org,
intel-xe@lists.freedesktop.org, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com, Vivi, Rodrigo,
thomas.hellstrom@linux.intel.com, airlied@gmail.com,
simona@ffwll.ch, david.e.box@linux.intel.com, Vijay, Anoop C,
Nilawar, Badal, Roper, Matthew D, Ausmus, James
>-----Original Message-----
>From: Brost, Matthew <matthew.brost@intel.com>
>Sent: Friday, August 7, 2026 3:38 PM
>To: Ruhl, Michael J <michael.j.ruhl@intel.com>
>Cc: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
>hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Vivi, Rodrigo
><rodrigo.vivi@intel.com>; thomas.hellstrom@linux.intel.com;
>airlied@gmail.com; simona@ffwll.ch; david.e.box@linux.intel.com; Vijay,
>Anoop C <anoop.c.vijay@intel.com>; Nilawar, Badal
><badal.nilawar@intel.com>; Roper, Matthew D <matthew.d.roper@intel.com>;
>Ausmus, James <james.ausmus@intel.com>
>Subject: Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
>
>On Fri, Aug 07, 2026 at 12:22:19PM -0700, Matthew Brost wrote:
>> On Fri, Aug 07, 2026 at 08:00:40AM -0600, Ruhl, Michael J wrote:
>> > >-----Original Message-----
>> > >From: Brost, Matthew <matthew.brost@intel.com>
>> > >Sent: Thursday, August 6, 2026 5:50 PM
>> > >To: Ruhl, Michael J <michael.j.ruhl@intel.com>
>> > >Cc: platform-driver-x86@vger.kernel.org; intel-xe@lists.freedesktop.org;
>> > >hansg@kernel.org; ilpo.jarvinen@linux.intel.com; Vivi, Rodrigo
>> > ><rodrigo.vivi@intel.com>; thomas.hellstrom@linux.intel.com;
>> > >airlied@gmail.com; simona@ffwll.ch; david.e.box@linux.intel.com; Vijay,
>> > >Anoop C <anoop.c.vijay@intel.com>; Nilawar, Badal
>> > ><badal.nilawar@intel.com>; Roper, Matthew D
><matthew.d.roper@intel.com>;
>> > >Ausmus, James <james.ausmus@intel.com>
>> > >Subject: Re: [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks
>> > >
>> > >On Thu, Aug 06, 2026 at 06:58:26AM -0700, Michael J. Ruhl wrote:
>> > >> CRI PMT support requires callbacks to access the discovery status
>> > >> and control areas. Access is a common MMIO area that requires an
>> > >> index to be set before access is allowed.
>> > >>
>> > >> Introduce the necessary callbacks to get the status and control
>> > >> information for CRI PMT usage.
>> > >>
>> > >> Add the glue logic to register the CRI PMT functionality.
>> > >>
>> > >> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
>> > >> ---
>> > >> drivers/gpu/drm/xe/xe_vsec.c | 85
>> > >++++++++++++++++++++++++++++++++++--
>> > >> 1 file changed, 82 insertions(+), 3 deletions(-)
>> > >>
>> > >> diff --git a/drivers/gpu/drm/xe/xe_vsec.c
>b/drivers/gpu/drm/xe/xe_vsec.c
>> > >> index 3849f99c1c91..b84ec9088de7 100644
>> > >> --- a/drivers/gpu/drm/xe/xe_vsec.c
>> > >> +++ b/drivers/gpu/drm/xe/xe_vsec.c
>> > >> @@ -320,17 +320,90 @@ int xe_pmt_telem_read(struct device *dev,
>u32
>> > >guid, u64 *data, loff_t user_offse
>> > >> return count;
>> > >> }
>> > >>
>> > >> -static struct pmt_callbacks xe_pmt_cb = {
>> > >> +/**
>> > >> + * xe_pmt_read_reg() - read a crashlog register
>> > >> + * @dev: the xe device that registered the callback
>> > >> + * @guid: PMT guid of the crashlog instance
>> > >> + * @reg: data read from the PMT data structure
>> > >> + * @offset: which data to read from the PMT data structure
>> > >> + *
>> > >> + * Read the requested PMT register based on the pcie device and guid.
>The
>> > >> + * supported struct is the Crashlog Type1 Version2.
>> > >> + *
>> > >> + * Currently this is for CRI only.
>> > >> + */
>> > >> +static int xe_pmt_read_reg(struct device *dev, u32 guid, u32 *reg, u32
>> > >offset)
>> > >> +{
>> > >> + struct xe_device *xe = kdev_to_xe_device(dev);
>> > >> + void __iomem *disc_addr = xe->mmio.regs;
>> > >> + u32 inst;
>> > >> +
>> > >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
>> > >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
>> > >> + return -EINVAL;
>> > >> +
>> > >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
>> > >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
>> > >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
>> > >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
>> > >> +
>> > >> + guard(mutex)(&xe->pmt.lock);
>> > >> +
>> > >> + xe_pm_runtime_get(xe);
>> > >
>> > >We have guard(xe_pm_runtime)(xe), and this should also be the
>> > >outermost construct (i.e., do not use xe_pm_runtime_get(), as it can
>> > >wake the device, while other locks are held).
>> >
>> > Hi Matt,
>> >
>> > I am using the _get() routine because the device MUST be on for me to
>access the
>> > registers.
>> >
>> > Does the guard(xe_pm_runtime)(xe) turn the device on?
>> >
>>
>> Yes, it would be same as:
>>
>> xe_pm_runtime_get(xe);
>> mutux_lock(&xe->pmt.lock);
>> /* Do something *.
>> mutux_unlock(&xe->pmt.lock);
>> xe_pm_runtime_put(xe);
Got it. I will update.
>> >
>> > >So this should either be:
>> > >
>> > >guard(xe_pm_runtime)(xe);
>> > >guard(mutex)(&xe->pmt.lock);
>> >
>> > Ok, this makes sense.
>> >
>> > >Or, like the other in-tree usage with xe->pmt.lock in
>> > >xe_pmt_telem_read(), which calls xe_pm_runtime_get_if_active() while
>> > >holding the lock. This is fine because xe_pm_runtime_get_if_active()
>> > >cannot wake the device. This is most likely the correct choice, given
>> > >that this is a vfunc called by a different driver, and we have no way of
>> > >knowing whether that driver is holding locks that could create
>> > >problematic lock dependency chains if we wake the Xe device here.
>> >
>> > For telemetry, the data read should NOT happen if the device is not active
>(so the get_if_active usage)
>> >
>> > For Crashlog, I have to get the data and have to make sure the device is
>enabled....(see patch 3).
>> >
>>
>> If Xe gets hotplugged nothing is going to save you here either, you to
>> some extent you must deal errors at the caller, more below.
>>
>> > Do you have some thoughts on the correct sequencing here?
>>
>> I'd at least swap the order as suggested so that the Xe code isn't
>> internally waking the device while holding locks, which goes against our
>> PM rules.
>>
>> I'd also consider adding internal hotplug protection, unless the caller
>> already provides it. I don't really know what the PMT code is doing
>> here, so it's possible that this path is already protected against
>> hotplug events.
>>
>> So:
>>
>> bound = drm_dev_enter(&xe->drm, idx);
>> if (!bound)
>
>Sorry typo with polarity inverted: s/if (!bound)/if (bound) {
>
>> xe_pm_runtime_get(xe);
>> mutux_lock(&xe->pmt.lock);
>>
>> /* Do something */
>>
>> mutux_unlock(&xe->pmt.lock);
>> xe_pm_runtime_put(xe);
>>
>> drm_dev_exit(idx);
>> } else {
>> /* Device is already unplugged, caller has to deal with this */
>> return some_error;
>> }
>>
>> If hotplug protection is needed here, then xe_pmt_telem_read should have
>> this too.
Hmm, this is "new" stuff for me, so I will explore this some more and then
probably follow what you have done here. 😊
Thanks!
Mike
>> Matt
>>
>> >
>> > Thanks,
>> >
>> > M
>> >
>> > >Matt
>> > >
>> > >> +
>> > >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
>> > >> +
>> > >> + memcpy_fromio(reg, disc_addr, sizeof(*reg));
>> > >> +
>> > >> + xe_pm_runtime_put(xe);
>> > >> +
>> > >> + return 0;
>> > >> +}
>> > >> +
>> > >> +static int xe_pmt_write_reg(struct device *dev, u32 guid, u32 reg, u32
>> > >offset)
>> > >> +{
>> > >> + struct xe_device *xe = kdev_to_xe_device(dev);
>> > >> + void __iomem *disc_addr = xe->mmio.regs;
>> > >> + u32 inst;
>> > >> +
>> > >> + if (FIELD_GET(GUID_DEVICE_ID, guid) != CRI_DEVICE_ID ||
>> > >> + FIELD_GET(GUID_CAP_TYPE, guid) != CRASHLOG)
>> > >> + return -EINVAL;
>> > >> +
>> > >> + inst = FIELD_GET(GUID_RECORD_ID, guid) == PUNIT ?
>> > >> + CRI_CRASHLOG_PUNIT_DISC_OFFSET :
>> > >CRI_CRASHLOG_OOBMSM_DISC_OFFSET;
>> > >> + disc_addr += CRI_DISCOVERY_OFFSET + inst + offset;
>> > >> +
>> > >> + guard(mutex)(&xe->pmt.lock);
>> > >> +
>> > >> + xe_pm_runtime_get(xe);
>> > >> +
>> > >> + xe->soc_remapper.set_telem_region(xe, CRI_IDX_TELEM_DISCOVERY);
>> > >> +
>> > >> + memcpy_toio(disc_addr, ®, sizeof(reg));
>> > >> +
>> > >> + xe_pm_runtime_put(xe);
>> > >> +
>> > >> + return 0;
>> > >> +}
>> > >> +
>> > >> +static struct pmt_callbacks xe_bmg_pmt_cb = {
>> > >> + .read_telem = xe_pmt_telem_read,
>> > >> +};
>> > >> +
>> > >> +static struct pmt_callbacks xe_cri_pmt_cb = {
>> > >> .read_telem = xe_pmt_telem_read,
>> > >> + .read_reg = xe_pmt_read_reg,
>> > >> + .write_reg = xe_pmt_write_reg,
>> > >> };
>> > >>
>> > >> static const int vsec_platforms[] = {
>> > >> [XE_BATTLEMAGE] = XE_VSEC_BMG,
>> > >> + [XE_CRESCENTISLAND] = XE_VSEC_CRI,
>> > >> };
>> > >>
>> > >> static enum xe_vsec get_platform_info(struct xe_device *xe)
>> > >> {
>> > >> - if (xe->info.platform > XE_BATTLEMAGE)
>> > >> + if (xe->info.platform > XE_CRESCENTISLAND)
>> > >> return XE_VSEC_UNKNOWN;
>> > >>
>> > >> return vsec_platforms[xe->info.platform];
>> > >> @@ -357,8 +430,14 @@ void xe_vsec_init(struct xe_device *xe)
>> > >>
>> > >> switch (platform) {
>> > >> case XE_VSEC_BMG:
>> > >> - info->priv_data = &xe_pmt_cb;
>> > >> + info->priv_data = &xe_bmg_pmt_cb;
>> > >> break;
>> > >> +
>> > >> + case XE_VSEC_CRI:
>> > >> + info->priv_data = &xe_cri_pmt_cb;
>> > >> + xe->soc_remapper.set_telem_region(xe,
>> > >CRI_IDX_TELEM_DISCOVERY);
>> > >> + break;
>> > >> +
>> > >> default:
>> > >> break;
>> > >> }
>> > >> --
>> > >> 2.43.0
>> > >>
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2026-08-07 20:15 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 13:58 [PATCH 0/7] Crescent Island PMT support Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 1/7] platform/x86/intel/pmt: complete pcidev to device update Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 2/7] platform/x86/intel/pmt: Add register access callbacks Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 3/7] drm/xe/vsec: Use correct pm state get Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 4/7] drm/xe/vsec: Support Crescent Island PMT Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 5/7] drm/xe/vsec: Crescent Island PMT decode Michael J. Ruhl
2026-08-06 13:58 ` [PATCH 6/7] drm/xe/vsec: Crescent Island PMT callbacks Michael J. Ruhl
2026-08-06 21:50 ` Matthew Brost
2026-08-07 14:00 ` Ruhl, Michael J
2026-08-07 19:22 ` Matthew Brost
2026-08-07 19:38 ` Matthew Brost
2026-08-07 20:15 ` Ruhl, Michael J
2026-08-06 13:58 ` [PATCH 7/7] drm/xe/vsec: support late bind fw information Michael J. Ruhl
2026-08-06 14:18 ` [PATCH 0/7] Crescent Island PMT support Ruhl, Michael J
2026-08-06 14:51 ` ✓ CI.KUnit: success for Crescent Island PMT support (rev3) Patchwork
2026-08-06 15:29 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-07 2:37 ` ✗ 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