drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms
Subsystems (2)
v3 cover drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms
From: Anoop Vijay <[email protected]>
This patch series introduces System Controller (sysctrl) component for Intel Xe3p dGPU platforms.
This component provides the foundational infrastructure for communication with the System Controller firmware using MKHI protocol over a mailbox interface.
Key features introduced:
- Detection and initialization of System Controller interface on Xe3p dGPU platforms
- Mailbox communication with System Controller firmware
- Fragmented message transfer for large command payloads
This implementation establishes the base for future System Controller feature enablement and firmware command handling.
---
v2: (Umesh)
- Fix commit message to 75 chars per line
- Address CI.Hooks and checkpatch warnings
- Add sc_to_xe() helper for cleaner conversions
- Alphabetical order for headers
- Simplify write/read frame logic using memcpy
- Drop redundant frame length checks
- Use xe_mmio_rmw32() for register updates
- Align FIELD_PREP macros
- Improve error handling and timeout messages
- Handle phase_bit revert on write-frame failure
- Update rdata_len on partial receive before return
- Remove unnecessary headers
v3: (Matt, Riana, Umesh)
- Split patch into logical series
- Rename SC_* macros to SYSCTRL_* for consistency
- Move MKHI_* defines to .c file
- Pass xe directly to helpers
- Place devm_add_action_or_reset() after set_sysctrl_region()
- Add kernel-doc for xe_sysctrl_mailbox_init()
- Add short documentation for System Controller in xe_sysctrl.c
- Avoid hardcoded sizes
- Move structs to _types.h
---
Anoop Vijay (6):
drm/xe/sysctrl: Add System Controller register definitions drm/xe/sysctrl: Add System Controller types and structures drm/xe/sysctrl: Add System Controller mailbox implementation drm/xe/sysctrl: Add System Controller initialization drm/xe/sysctrl: Integrate System Controller into device drm/xe/sysctrl: Enable System Controller for Xe3p
drivers/gpu/drm/xe/Makefile | 2 + drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h | 44 ++ drivers/gpu/drm/xe/xe_device.c | 5 + drivers/gpu/drm/xe/xe_device_types.h | 6 + drivers/gpu/drm/xe/xe_pci.c | 2 + drivers/gpu/drm/xe/xe_pci_types.h | 1 + drivers/gpu/drm/xe/xe_sysctrl.c | 70 +++ drivers/gpu/drm/xe/xe_sysctrl.h | 13 + drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 429 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 35 ++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 36 ++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 23 + 12 files changed, 666 insertions(+) create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h
Signature · 1 line
2.43.0
PATCH v3 1/6 drm/xe/sysctrl: Add System Controller register definitions
From: Anoop Vijay <[email protected]>
Add register definitions for System Controller mailbox interface on Xe3p dGPU platforms.
--- drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +44 -0
@@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_REGS_H_ +#define _XE_SYSCTRL_REGS_H_ + +#include "xe_regs.h" + +#define SYSCTRL_BASE_OFFSET 0xDB000 +#define SYSCTRL_BASE (SOC_BASE + SYSCTRL_BASE_OFFSET) +#define SYSCTRL_MAILBOX_INDEX 0x03 +#define SYSCTRL_BAR_LENGTH 0x1000 + +#define SYSCTRL_MB_CTRL XE_REG(SYSCTRL_BASE + 0x10) +#define SYSCTRL_MB_CTRL_RUN_BUSY REG_BIT(31) +#define SYSCTRL_MB_CTRL_IRQ REG_BIT(30) +#define SYSCTRL_MB_CTRL_RUN_BUSY_OUT REG_BIT(29) +#define SYSCTRL_MB_CTRL_PARAM3_MASK REG_GENMASK(28, 24) +#define SYSCTRL_MB_CTRL_PARAM2_MASK REG_GENMASK(23, 16) +#define SYSCTRL_MB_CTRL_PARAM1_MASK REG_GENMASK(15, 8) +#define SYSCTRL_MB_CTRL_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_DATA0 XE_REG(SYSCTRL_BASE + 0x14) +#define SYSCTRL_MB_DATA1 XE_REG(SYSCTRL_BASE + 0x18) +#define SYSCTRL_MB_DATA2 XE_REG(SYSCTRL_BASE + 0x1C) +#define SYSCTRL_MB_DATA3 XE_REG(SYSCTRL_BASE + 0x20) + +#define MKHI_FRAME_PHASE REG_BIT(24) +#define MKHI_FRAME_CURRENT_MASK REG_GENMASK(21, 16) +#define MKHI_FRAME_TOTAL_MASK REG_GENMASK(13, 8) +#define MKHI_FRAME_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_FRAME_SIZE 16 +#define SYSCTRL_MB_MAX_FRAMES 64 +#define SYSCTRL_MB_MAX_MESSAGE_SIZE (SYSCTRL_MB_FRAME_SIZE * SYSCTRL_MB_MAX_FRAMES) +#define SYSCTRL_MKHI_COMMAND 5 + +#define SYSCTRL_MB_DEFAULT_TIMEOUT_MS 500 +#define SYSCTRL_MB_RETRY_TIMEOUT_MS 20 +#define SYSCTRL_MB_POLL_INTERVAL_US 100 + +#endif /* _XE_SYSCTRL_REGS_H_ */
Signature · 1 line
2.43.0
Re: [PATCH v3 1/6] drm/xe/sysctrl: Add System Controller register definitions
Quoted 18 lines · Vijay
From: Anoop Vijay <[email protected]>
Add register definitions for System Controller mailbox interface on Xe3p dGPU platforms.
Signed-off-by Anoop Vijay <[email protected]>--- drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.hdrivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +1
-0@@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: MIT */
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h line 11
Quoted 10 lines
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +10
-0+/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_REGS_H_ +#define _XE_SYSCTRL_REGS_H_ + +#include "xe_regs.h" + +#define SYSCTRL_BASE_OFFSET 0xDB000
For consistency, we should make sure this header follows the same style/formatting as our other register headers. I.e.,
- lowercase hex values
- macro values start at column 49 (you're using 41)
- field names have two additional spaces after "#define " (you did this for the ctrl fields, but not for the data fields)
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h line 16
Quoted 5 lines
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +5
-0+#define SYSCTRL_BASE (SOC_BASE + SYSCTRL_BASE_OFFSET) +#define SYSCTRL_MAILBOX_INDEX 0x03 +#define SYSCTRL_BAR_LENGTH 0x1000 + +#define SYSCTRL_MB_CTRL XE_REG(SYSCTRL_BASE + 0x10)
Since all of our registers are offsets from SYSCTRL_BASE, we should create a domain-specific xe_mmio structure for the sysctrl region and use that to access these registers. E.g.,
xe_mmio_write32(sc->mmio, ...);
The SYSCTRL_BASE value can go into the xe_mmio itself (either by having 'regs' point to the start of the sysctrl region, or by placing it into adj_offset and setting adj_limit to U32_MAX). Then you can just define
all these registers like "#define SYSCTRL_MB_CTRL XE_REG(0x10)"
without adding the base into each one. This has a few advantages:
- If future platforms/IPs move the sysctrl MMIO region to a new spot in the BAR, but don't change the layout of the registers within the region, it's easy to handle that by just setting the base properly inside the xe_mmio with some conditional logic and all of the register definitions will continue to work on both old and new platforms without changes.
- We plan to add extra validation checks to xe_mmio accesses in the future that will help us catch mistakes (out of bound register accesses, mistakes in offset math, etc.). Once that arrives, having an xe_mmio structure dedicated to sysctrl will ensure that our checks are as precise as possible.
When creating a dedicated xe_mmio structure for sysctrl, it's up to you whether you want to recycle the same underlying iomap from xe->mmio (as we do when we set up the gt->mmio structures today), or whether you want to create a dedicated iomap of the exact sysctrl register region.
Matt
Quoted 31 lines
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +28
-0+#define SYSCTRL_MB_CTRL_RUN_BUSY REG_BIT(31) +#define SYSCTRL_MB_CTRL_IRQ REG_BIT(30) +#define SYSCTRL_MB_CTRL_RUN_BUSY_OUT REG_BIT(29) +#define SYSCTRL_MB_CTRL_PARAM3_MASK REG_GENMASK(28, 24) +#define SYSCTRL_MB_CTRL_PARAM2_MASK REG_GENMASK(23, 16) +#define SYSCTRL_MB_CTRL_PARAM1_MASK REG_GENMASK(15, 8) +#define SYSCTRL_MB_CTRL_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_DATA0 XE_REG(SYSCTRL_BASE + 0x14) +#define SYSCTRL_MB_DATA1 XE_REG(SYSCTRL_BASE + 0x18) +#define SYSCTRL_MB_DATA2 XE_REG(SYSCTRL_BASE + 0x1C) +#define SYSCTRL_MB_DATA3 XE_REG(SYSCTRL_BASE + 0x20) + +#define MKHI_FRAME_PHASE REG_BIT(24) +#define MKHI_FRAME_CURRENT_MASK REG_GENMASK(21, 16) +#define MKHI_FRAME_TOTAL_MASK REG_GENMASK(13, 8) +#define MKHI_FRAME_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_FRAME_SIZE 16 +#define SYSCTRL_MB_MAX_FRAMES 64 +#define SYSCTRL_MB_MAX_MESSAGE_SIZE (SYSCTRL_MB_FRAME_SIZE * SYSCTRL_MB_MAX_FRAMES) +#define SYSCTRL_MKHI_COMMAND 5 + +#define SYSCTRL_MB_DEFAULT_TIMEOUT_MS 500 +#define SYSCTRL_MB_RETRY_TIMEOUT_MS 20 +#define SYSCTRL_MB_POLL_INTERVAL_US 100 + +#endif /* _XE_SYSCTRL_REGS_H_ */ Signature · 1 line
2.43.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [PATCH v3 1/6] drm/xe/sysctrl: Add System Controller register definitions
In reply to Anoop, VijayLGTM,
Comments from other reviewers still need to be addressed though.
Thanks,
Umesh
Quoted 64 lines · Vijay
From: Anoop Vijay <[email protected]>
Add register definitions for System Controller mailbox interface on Xe3p dGPU platforms.
Signed-off-by Anoop Vijay <[email protected]>---
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h| 44 +++++++++++++++++++++++1 file changed, 44 insertions(+)create mode 100644
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.hdrivers/gpu/drm/xe/regs/xe_sysctrl_regs.h new file +44
-0@@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_REGS_H_ +#define _XE_SYSCTRL_REGS_H_ + +#include "xe_regs.h" + +#define SYSCTRL_BASE_OFFSET 0xDB000 +#define SYSCTRL_BASE (SOC_BASE + SYSCTRL_BASE_OFFSET) +#define SYSCTRL_MAILBOX_INDEX 0x03 +#define SYSCTRL_BAR_LENGTH 0x1000 + +#define SYSCTRL_MB_CTRL XE_REG(SYSCTRL_BASE + 0x10) +#define SYSCTRL_MB_CTRL_RUN_BUSY REG_BIT(31) +#define SYSCTRL_MB_CTRL_IRQ REG_BIT(30) +#define SYSCTRL_MB_CTRL_RUN_BUSY_OUT REG_BIT(29) +#define SYSCTRL_MB_CTRL_PARAM3_MASK REG_GENMASK(28, 24) +#define SYSCTRL_MB_CTRL_PARAM2_MASK REG_GENMASK(23, 16) +#define SYSCTRL_MB_CTRL_PARAM1_MASK REG_GENMASK(15, 8) +#define SYSCTRL_MB_CTRL_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_DATA0 XE_REG(SYSCTRL_BASE + 0x14) +#define SYSCTRL_MB_DATA1 XE_REG(SYSCTRL_BASE + 0x18) +#define SYSCTRL_MB_DATA2 XE_REG(SYSCTRL_BASE + 0x1C) +#define SYSCTRL_MB_DATA3 XE_REG(SYSCTRL_BASE + 0x20) + +#define MKHI_FRAME_PHASE REG_BIT(24) +#define MKHI_FRAME_CURRENT_MASK REG_GENMASK(21, 16) +#define MKHI_FRAME_TOTAL_MASK REG_GENMASK(13, 8) +#define MKHI_FRAME_COMMAND_MASK REG_GENMASK(7, 0) + +#define SYSCTRL_MB_FRAME_SIZE 16 +#define SYSCTRL_MB_MAX_FRAMES 64 +#define SYSCTRL_MB_MAX_MESSAGE_SIZE (SYSCTRL_MB_FRAME_SIZE * SYSCTRL_MB_MAX_FRAMES) +#define SYSCTRL_MKHI_COMMAND 5 + +#define SYSCTRL_MB_DEFAULT_TIMEOUT_MS 500 +#define SYSCTRL_MB_RETRY_TIMEOUT_MS 20 +#define SYSCTRL_MB_POLL_INTERVAL_US 100 + +#endif /* _XE_SYSCTRL_REGS_H_ */ Signature · 1 line
2.43.0
PATCH v3 2/6 drm/xe/sysctrl: Add System Controller types and structures
In reply to Anoop, VijayFrom: Anoop Vijay <[email protected]>
Add type definitions and header declarations for System Controller mailbox communication protocol.
--- drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 35 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 36 +++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 23 ++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h new file +35 -0
@@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_H__ +#define __XE_SYSCTRL_MAILBOX_H__ + +#include <linux/bitfield.h> +#include <linux/types.h> + +struct xe_sysctrl ; +struct xe_device ; +struct xe_sysctrl_mailbox_command ; + +#define APP_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define APP_HDR_COMMAND_MASK GENMASK(15, 8) +#define APP_HDR_VERSION_MASK GENMASK(23, 16) +#define APP_HDR_RESERVED_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_APP_HDR_GROUP_ID (hdr) \ + FIELD_GET(APP_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_COMMAND (hdr) \ + FIELD_GET(APP_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_VERSION (hdr) \ + FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data)) + +void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc); +int xe_sysctrl_send_command (struct xe_device *xe, +struct xe_sysctrl_mailbox_command *cmd, +size_t *rdata_len); + +#endif /* __XE_SYSCTRL_MAILBOX_H__ */
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +36 -0
@@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_TYPES_H__ +#define __XE_SYSCTRL_MAILBOX_TYPES_H__ + +#include <linux/types.h> + +struct xe_sysctrl_mailbox_mkhi_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_app_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_command { +/** @header: Application message header containing command information */ +struct xe_sysctrl_mailbox_app_msg_hdr header; + +/** @data_in: Pointer to input payload data (can be NULL if no input data) */ +void *data_in; + +/** @data_in_len: Size of input payload in bytes (0 if no input data) */ +size_t data_in_len; + +/** @data_out: Pointer to output buffer for response data (can be NULL if no response) */ +void *data_out; + +/** @data_out_len: Size of output buffer in bytes (0 if no response expected) */ +size_t data_out_len; +}; + +#endif /* __XE_SYSCTRL_MAILBOX_TYPES_H__ */
drivers/gpu/drm/xe/xe_sysctrl_types.h new file +23 -0
@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_TYPES_H_ +#define _XE_SYSCTRL_TYPES_H_ + +#include <linux/mutex.h> +#include <linux/types.h> + +/** +* struct xe_sysctrl - System Controller driver context +*/ +struct xe_sysctrl { +/** @cmd_lock: Mutex protecting mailbox command operations */ +struct mutex cmd_lock; + +/** @phase_bit: MKHI message boundary phase toggle bit */ +u32 phase_bit; +}; + +#endif /* _XE_SYSCTRL_TYPES_H_ */
Signature · 1 line
2.43.0
Re: [PATCH v3 2/6] drm/xe/sysctrl: Add System Controller types and structures
Quoted 6 lines · Vijay
From: Anoop Vijay <[email protected]>
Add type definitions and header declarations for System Controller mailbox communication protocol.
Signed-off-by Anoop Vijay <[email protected]>
Regards,
Umesh
Quoted 124 lines
---
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 35 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 36 +++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 23 ++++++++++++ 3 files changed, 94 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_sysctrl_mailbox.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_types.hdrivers/gpu/drm/xe/xe_sysctrl_mailbox.h new file +35
-0@@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_H__ +#define __XE_SYSCTRL_MAILBOX_H__ + +#include <linux/bitfield.h> +#include <linux/types.h> + +struct xe_sysctrl ; +struct xe_device ; +struct xe_sysctrl_mailbox_command ; + +#define APP_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define APP_HDR_COMMAND_MASK GENMASK(15, 8) +#define APP_HDR_VERSION_MASK GENMASK(23, 16) +#define APP_HDR_RESERVED_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_APP_HDR_GROUP_ID (hdr) \ + FIELD_GET(APP_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_COMMAND (hdr) \ + FIELD_GET(APP_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_VERSION (hdr) \ + FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data)) + +void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc); +int xe_sysctrl_send_command (struct xe_device *xe, +struct xe_sysctrl_mailbox_command *cmd, +size_t *rdata_len); + +#endif /* __XE_SYSCTRL_MAILBOX_H__ */ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +36
-0@@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_TYPES_H__ +#define __XE_SYSCTRL_MAILBOX_TYPES_H__ + +#include <linux/types.h> + +struct xe_sysctrl_mailbox_mkhi_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_app_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_command { +/** @header: Application message header containing command information */ +struct xe_sysctrl_mailbox_app_msg_hdr header; + +/** @data_in: Pointer to input payload data (can be NULL if no input data) */ +void *data_in; + +/** @data_in_len: Size of input payload in bytes (0 if no input data) */ +size_t data_in_len; + +/** @data_out: Pointer to output buffer for response data (can be NULL if no response) */ +void *data_out; + +/** @data_out_len: Size of output buffer in bytes (0 if no response expected) */ +size_t data_out_len; +}; + +#endif /* __XE_SYSCTRL_MAILBOX_TYPES_H__ */ drivers/gpu/drm/xe/xe_sysctrl_types.h new file +23
-0@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_TYPES_H_ +#define _XE_SYSCTRL_TYPES_H_ + +#include <linux/mutex.h> +#include <linux/types.h> + +/** +* struct xe_sysctrl - System Controller driver context +*/ +struct xe_sysctrl { +/** @cmd_lock: Mutex protecting mailbox command operations */ +struct mutex cmd_lock; + +/** @phase_bit: MKHI message boundary phase toggle bit */ +u32 phase_bit; +}; + +#endif /* _XE_SYSCTRL_TYPES_H_ */ Signature · 1 line
2.43.0
RE: [PATCH v3 2/6] drm/xe/sysctrl: Add System Controller types and structures
In reply to Anoop, VijayQuoted 138 lines
-----Original Message-----
From: Vijay, Anoop C <[email protected]>
Sent: Thursday, January 8, 2026 7:06 AM
To: [email protected]
Cc: Nerlige Ramappa, Umesh <[email protected]>; Nilawar, Badal <[email protected]>; Vivi, Rodrigo <[email protected]>; Iddamsetty, Aravind <[email protected]>; Tauro, Riana <[email protected]>; Gupta, Anshuman <[email protected]>; Roper, Matthew D <[email protected]>; Ruhl, Michael J <[email protected]>; Luse, Paul E <[email protected]>; V, Mohamed Mansoor <[email protected]>; Nasim, Kam <[email protected]>; Vijay, Anoop C <[email protected]>
Subject: [PATCH v3 2/6] drm/xe/sysctrl: Add System Controller types and structuresFrom: Anoop Vijay <[email protected]>
Add type definitions and header declarations for System Controller mailbox communication protocol.
Signed-off-by Anoop Vijay <[email protected]>---
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 35 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 36 +++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 23 ++++++++++++ 3 files changed, 94 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_sysctrl_mailbox.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_types.hdrivers/gpu/drm/xe/xe_sysctrl_mailbox.h new file +35
-0@@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_H__ +#define __XE_SYSCTRL_MAILBOX_H__ + +#include <linux/bitfield.h> +#include <linux/types.h> + +struct xe_sysctrl ; +struct xe_device ; +struct xe_sysctrl_mailbox_command ; + +#define APP_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define APP_HDR_COMMAND_MASK GENMASK(15, 8) +#define APP_HDR_VERSION_MASK GENMASK(23, 16) +#define APP_HDR_RESERVED_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_APP_HDR_GROUP_ID (hdr) \ + FIELD_GET(APP_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_COMMAND (hdr) \ + FIELD_GET(APP_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_APP_HDR_VERSION (hdr) \ + FIELD_GET(APP_HDR_VERSION_MASK, le32_to_cpu((hdr)->data)) + +void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc); +int xe_sysctrl_send_command (struct xe_device *xe, +struct xe_sysctrl_mailbox_command *cmd, +size_t *rdata_len); + +#endif /* __XE_SYSCTRL_MAILBOX_H__ */ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +20
-0@@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __XE_SYSCTRL_MAILBOX_TYPES_H__ +#define __XE_SYSCTRL_MAILBOX_TYPES_H__ + +#include <linux/types.h> + +struct xe_sysctrl_mailbox_mkhi_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_app_msg_hdr { +__le32 data; +} __packed; + +struct xe_sysctrl_mailbox_command { +/** @header: Application message header containing command information */
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +3
-0+struct xe_sysctrl_mailbox_app_msg_hdr header; + +/** @data_in: Pointer to input payload data (can be NULL if no input data) */
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +6
-0+void *data_in; + +/** @data_in_len: Size of input payload in bytes (0 if no input data) */ +size_t data_in_len; + +/** @data_out: Pointer to output buffer for response data (can be NULL if no response) */
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +3
-0+void *data_out; + +/** @data_out_len: Size of output buffer in bytes (0 if no response expected) */
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h new file +4
-0+ size_t data_out_len; +}; + +#endif /* __XE_SYSCTRL_MAILBOX_TYPES_H__ */ drivers/gpu/drm/xe/xe_sysctrl_types.h new file +10
-0@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_TYPES_H_ +#define _XE_SYSCTRL_TYPES_H_ + +#include <linux/mutex.h> +#include <linux/types.h>
drivers/gpu/drm/xe/xe_sysctrl_types.h line 20
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_types.h new file +10
-0+ +/** +* struct xe_sysctrl - System Controller driver context +*/ +struct xe_sysctrl { +/** @cmd_lock: Mutex protecting mailbox command operations */ +struct mutex cmd_lock; + +/** @phase_bit: MKHI message boundary phase toggle bit */ +u32 phase_bit;
A 32 bit phase_bit?
I assume that this has some meaning in the MKHI protocol? Can this be expanded a bit. Phase implies more than on/off... is this different states? If so, why is it only a bit?
M
Quoted 5 lines
drivers/gpu/drm/xe/xe_sysctrl_types.h new file +3
-1+}; + +#endif /* _XE_SYSCTRL_TYPES_H_ */ --2.43.0
PATCH v3 3/6 drm/xe/sysctrl: Add System Controller mailbox implementation
In reply to Anoop, VijayFrom: Anoop Vijay <[email protected]>
Implement the System Controller mailbox communication layer:
- Low-level frame I/O operations
- Mailbox busy/ready state polling
- Command preparation and fragmentation
- Multi-frame send/receive with phase bit handling
- MKHI protocol header validation
- Public API for sending commands to System Controller
This provides the complete mailbox infrastructure for communicating with System Controller firmware on Xe3p dGPU platforms.
--- drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 429 ++++++++++++++++++++++++ 1 file changed, 429 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +429 -0
@@ -0,0 +1,429 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <linux/bitfield.h> +#include <linux/container_of.h> +#include <linux/errno.h> +#include <linux/minmax.h> +#include <linux/mutex.h> +#include <linux/slab.h> +#include <linux/string.h> +#include <linux/types.h> + +#include "regs/xe_sysctrl_regs.h" +#include "xe_device.h" +#include "xe_device_types.h" +#include "xe_mmio.h" +#include "xe_pm.h" +#include "xe_printk.h" +#include "xe_sysctrl.h" +#include "xe_sysctrl_mailbox.h" +#include "xe_sysctrl_mailbox_types.h" +#include "xe_sysctrl_types.h" + +#define MKHI_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define MKHI_HDR_COMMAND_MASK GENMASK(14, 8) +#define MKHI_HDR_IS_RESPONSE BIT(15) +#define MKHI_HDR_RESERVED_MASK GENMASK(23, 16) +#define MKHI_HDR_RESULT_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_MKHI_HDR_GROUP_ID (hdr) \ + FIELD_GET(MKHI_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_COMMAND (hdr) \ + FIELD_GET(MKHI_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (hdr) \ + FIELD_GET(MKHI_HDR_IS_RESPONSE, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_RESULT (hdr) \ + FIELD_GET(MKHI_HDR_RESULT_MASK, le32_to_cpu((hdr)->data)) + +static struct xe_device *sc_to_xe (struct xe_sysctrl *sc) +{ + return container_of(sc, struct xe_device, sc); +} + +static bool xe_sysctrl_mailbox_wait_bit_clear (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32_not (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static bool xe_sysctrl_mailbox_wait_bit_set (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32 (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static int xe_sysctrl_mailbox_write_frame (struct xe_device *xe,const void *frame, +size_t len) +{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i; + +memcpy (val, frame, len); + +for (i =0 ; i < dw; i++) +xe_mmio_write32 (mmio, regs[i], val[i]); + +return 0 ; +} + +static int xe_sysctrl_mailbox_read_frame (struct xe_device *xe,void *frame, +size_t len) +{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i; + +for (i =0 ; i < dw; i++) + val[i] =xe_mmio_read32 (mmio, regs[i]); + +memcpy (frame, val, len); + +return 0 ; +} + +static void xe_sysctrl_mailbox_clear_response (struct xe_device *xe) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,SYSCTRL_MB_CTRL_RUN_BUSY_OUT ,0 ); +} + +static int xe_sysctrl_mailbox_prepare_command (struct xe_device *xe, +u8 group_id,u8 command, +const void *data_in,size_t data_in_len, +u8 **mbox_cmd,size_t *cmd_size) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t size; +u8 *buffer; + + size =sizeof (*mkhi_hdr) + data_in_len; +if (size >SYSCTRL_MB_MAX_MESSAGE_SIZE ) { +xe_err (xe,"sysctrl: Message too large: %zu bytes\n" , size); +return -EINVAL ; + } + + buffer =kmalloc (size,GFP_KERNEL ); +if (!buffer) +return -ENOMEM ; + + mkhi_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)buffer; + mkhi_hdr->data =cpu_to_le32 (FIELD_PREP (MKHI_HDR_GROUP_ID_MASK , group_id) | +FIELD_PREP (MKHI_HDR_COMMAND_MASK , command &0x7F ) | +FIELD_PREP (MKHI_HDR_IS_RESPONSE ,0 ) | +FIELD_PREP (MKHI_HDR_RESERVED_MASK ,0 ) | +FIELD_PREP (MKHI_HDR_RESULT_MASK ,0 )); + +if (data_in && data_in_len) +memcpy (buffer +sizeof (*mkhi_hdr), data_in, data_in_len); + + *mbox_cmd = buffer; + *cmd_size = size; + +return 0 ; +} + +static int xe_sysctrl_mailbox_send_frames (struct xe_device *xe, +const u8 *mbox_cmd, +size_t cmd_size,unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg, total_frames, frame; +struct xe_sysctrl *sc = &xe->sc; +size_t bytes_sent, frame_size; + + total_frames =DIV_ROUND_UP (cmd_size,SYSCTRL_MB_FRAME_SIZE ); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Mailbox busy\n" ); +return -EBUSY ; + } + + sc->phase_bit ^=1 ; + bytes_sent =0 ; + +for (frame =0 ; frame < total_frames; frame++) { + frame_size =min (cmd_size - bytes_sent, (size_t )SYSCTRL_MB_FRAME_SIZE ); + +if (xe_sysctrl_mailbox_write_frame (xe, mbox_cmd + bytes_sent, frame_size)) { +xe_err (xe,"sysctrl: Failed to write frame %u\n" , frame); + sc->phase_bit ^=1 ; +return -EIO ; + } + + ctrl_reg =SYSCTRL_MB_CTRL_RUN_BUSY | +FIELD_PREP (MKHI_FRAME_CURRENT_MASK , frame) | +FIELD_PREP (MKHI_FRAME_TOTAL_MASK , total_frames -1 ) | +FIELD_PREP (MKHI_FRAME_COMMAND_MASK ,SYSCTRL_MKHI_COMMAND ) | + (sc->phase_bit ?MKHI_FRAME_PHASE :0 ); + +xe_mmio_write32 (mmio,SYSCTRL_MB_CTRL , ctrl_reg); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Frame %u acknowledgment timeout\n" , frame); +return -ETIMEDOUT ; + } + + bytes_sent += frame_size; + } + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_first_frame (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *out, +size_t frame_size, +size_t *payload_bytes) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *resp_hdr; +size_t hdr_size =sizeof (*resp_hdr); +size_t payload_size; +u32 frame_data[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)]; +int ret; + + ret =xe_sysctrl_mailbox_read_frame (xe, frame_data, frame_size); +if (ret) +return ret; + + resp_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)frame_data; + +if (!XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (resp_hdr) || +XE_SYSCTRL_MKHI_HDR_GROUP_ID (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_GROUP_ID (req) || +XE_SYSCTRL_MKHI_HDR_COMMAND (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_COMMAND (req)) { +xe_err (xe,"SC: Response header mismatch\n" ); +return -EPROTO ; + } + +if (XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr) !=0 ) { +xe_err (xe,"SC: Firmware error: 0x%02lx\n" , +XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr)); +return -EIO ; + } + + payload_size = frame_size - hdr_size; +if (payload_size >0 ) +memcpy (out, (u8 *)frame_data + hdr_size, payload_size); + + *payload_bytes = payload_size; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_frame (struct xe_device *xe, +void *out,size_t frame_size, +unsigned int timeout_ms) +{ +int ret; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame timeout\n" ); +return -ETIMEDOUT ; + } + + ret =xe_sysctrl_mailbox_read_frame (xe, out, frame_size); +if (ret) +return ret; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_receive_frames (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +size_t hdr_size =sizeof (*mkhi_hdr); +u32 ctrl_reg, total_frames, frame; +size_t received =0 ; +u8 *out = data_out; +size_t frame_size; +int ret =0 ; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame 0 timeout\n" ); +return -ETIMEDOUT ; + } + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + total_frames =FIELD_GET (MKHI_FRAME_TOTAL_MASK , ctrl_reg) +1 ; + +if (total_frames ==1 ) + frame_size =min (hdr_size + data_out_len, (size_t )SYSCTRL_MB_FRAME_SIZE ); +else + frame_size =SYSCTRL_MB_FRAME_SIZE ; + + ret =xe_sysctrl_mailbox_process_first_frame (xe, req, out, frame_size, &received); +if (ret) +return ret; + + out += received; + +for (frame =1 ; frame < total_frames; frame++) { +size_t remaining = data_out_len - received; + + frame_size =min_t (size_t, remaining,SYSCTRL_MB_FRAME_SIZE ); + + ret =xe_sysctrl_mailbox_process_frame (xe, out, frame_size, timeout_ms); +if (ret) +break ; + + received += frame_size; + out += frame_size; + } + + *rdata_len = received; + +return ret; +} + +static int xe_sysctrl_mailbox_send_command (struct xe_device *xe, +const u8 *mbox_cmd,size_t cmd_size, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t received; +int ret; + + ret =xe_sysctrl_mailbox_send_frames (xe, mbox_cmd, cmd_size, timeout_ms); +if (ret) +return ret; + +if (!data_out || !rdata_len) +return 0 ; + + mkhi_hdr = (const struct xe_sysctrl_mailbox_mkhi_msg_hdr *)mbox_cmd; + + ret =xe_sysctrl_mailbox_receive_frames (xe, mkhi_hdr, data_out, data_out_len, + &received, timeout_ms); +if (ret) +return ret; + + *rdata_len = received; + +return 0 ; +} + +/** +* xe_sysctrl_mailbox_init - Initialize System Controller mailbox interface +* @sc: System controller structure +* +* Initialize system controller mailbox interface for communication. +*/ +void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc) +{ +struct xe_device *xe =sc_to_xe (sc); +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg; + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + sc->phase_bit = (ctrl_reg &MKHI_FRAME_PHASE ) ?1 :0 ; + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,MKHI_FRAME_PHASE ,0 ); +} + +/** +* xe_sysctrl_send_command - Send command to System Controller via mailbox +* @xe: XE device instance +* @cmd: Pointer to xe_sysctrl_mailbox_command structure +* @rdata_len: Pointer to store actual response data size (can be NULL) +* +* Send a command to the System Controller using MKHI protocol. Handles +* command preparation, fragmentation, transmission, and response reception. +* +* Return: 0 on success, negative error code on failure +*/ +int xe_sysctrl_send_command (struct xe_device *xe, +struct xe_sysctrl_mailbox_command *cmd, +size_t *rdata_len) +{ +struct xe_sysctrl *sc = &xe->sc; +u8 group_id, command_code; +u8 *mbox_cmd =NULL ; +size_t cmd_size =0 ; +int ret =0 ; + +if (!xe) { +pr_err ("sysctrl: Invalid device handle\n" ); +return -EINVAL ; + } + +if (!cmd) { +xe_err (xe,"sysctrl: Invalid command buffer\n" ); +return -EINVAL ; + } + +if (!xe->info.has_sysctrl) +return -ENODEV ; + + group_id =XE_SYSCTRL_APP_HDR_GROUP_ID (&cmd->header); + command_code =XE_SYSCTRL_APP_HDR_COMMAND (&cmd->header); + +if (!cmd->data_in && cmd->data_in_len) { +xe_err (xe,"sysctrl: Invalid input parameters\n" ); +return -EINVAL ; + } + +if (!cmd->data_out && cmd->data_out_len) { +xe_err (xe,"sysctrl: Invalid output parameters\n" ); +return -EINVAL ; + } + +might_sleep (); + + ret =xe_sysctrl_mailbox_prepare_command (xe, group_id, command_code, + cmd->data_in, cmd->data_in_len, + &mbox_cmd, &cmd_size); +if (ret) { +xe_err (xe,"sysctrl: Failed to prepare command: %d\n" , ret); +return ret; + } + +guard (xe_pm_runtime)(xe); + +guard (mutex)(&sc->cmd_lock); + + ret =xe_sysctrl_mailbox_send_command (xe, mbox_cmd, cmd_size, + cmd->data_out, cmd->data_out_len, rdata_len, +SYSCTRL_MB_DEFAULT_TIMEOUT_MS ); +if (ret) +xe_err (xe,"sysctrl: Mailbox command failed: %d\n" , ret); + +kfree (mbox_cmd); + +return ret; +}
Signature · 1 line
2.43.0
Re: [PATCH v3 3/6] drm/xe/sysctrl: Add System Controller mailbox implementation
Quoted 10 lines · Vijay
From: Anoop Vijay <[email protected]>
Implement the System Controller mailbox communication layer:
- Low-level frame I/O operations
- Mailbox busy/ready state polling
- Command preparation and fragmentation
- Multi-frame send/receive with phase bit handling
- MKHI protocol header validation
- Public API for sending commands to System Controller
Quoted 5 lines
This provides the complete mailbox infrastructure for communicating with System Controller firmware on Xe3p dGPU platforms.
Signed-off-by Anoop Vijay <[email protected]>
Regards,
Umesh
Quoted 443 lines
---
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c| 429 ++++++++++++++++++++++++1 file changed, 429 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_sysctrl_mailbox.cdrivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +429
-0@@ -0,0 +1,429 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <linux/bitfield.h> +#include <linux/container_of.h> +#include <linux/errno.h> +#include <linux/minmax.h> +#include <linux/mutex.h> +#include <linux/slab.h> +#include <linux/string.h> +#include <linux/types.h> + +#include "regs/xe_sysctrl_regs.h" +#include "xe_device.h" +#include "xe_device_types.h" +#include "xe_mmio.h" +#include "xe_pm.h" +#include "xe_printk.h" +#include "xe_sysctrl.h" +#include "xe_sysctrl_mailbox.h" +#include "xe_sysctrl_mailbox_types.h" +#include "xe_sysctrl_types.h" + +#define MKHI_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define MKHI_HDR_COMMAND_MASK GENMASK(14, 8) +#define MKHI_HDR_IS_RESPONSE BIT(15) +#define MKHI_HDR_RESERVED_MASK GENMASK(23, 16) +#define MKHI_HDR_RESULT_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_MKHI_HDR_GROUP_ID (hdr) \ + FIELD_GET(MKHI_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_COMMAND (hdr) \ + FIELD_GET(MKHI_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (hdr) \ + FIELD_GET(MKHI_HDR_IS_RESPONSE, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_RESULT (hdr) \ + FIELD_GET(MKHI_HDR_RESULT_MASK, le32_to_cpu((hdr)->data)) + +static struct xe_device *sc_to_xe (struct xe_sysctrl *sc) +{ + return container_of(sc, struct xe_device, sc); +} + +static bool xe_sysctrl_mailbox_wait_bit_clear (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32_not (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static bool xe_sysctrl_mailbox_wait_bit_set (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32 (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static int xe_sysctrl_mailbox_write_frame (struct xe_device *xe,const void *frame, +size_t len) +{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i; + +memcpy (val, frame, len); + +for (i =0 ; i < dw; i++) +xe_mmio_write32 (mmio, regs[i], val[i]); + +return 0 ; +} + +static int xe_sysctrl_mailbox_read_frame (struct xe_device *xe,void *frame, +size_t len) +{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i; + +for (i =0 ; i < dw; i++) + val[i] =xe_mmio_read32 (mmio, regs[i]); + +memcpy (frame, val, len); + +return 0 ; +} + +static void xe_sysctrl_mailbox_clear_response (struct xe_device *xe) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,SYSCTRL_MB_CTRL_RUN_BUSY_OUT ,0 ); +} + +static int xe_sysctrl_mailbox_prepare_command (struct xe_device *xe, +u8 group_id,u8 command, +const void *data_in,size_t data_in_len, +u8 **mbox_cmd,size_t *cmd_size) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t size; +u8 *buffer; + + size =sizeof (*mkhi_hdr) + data_in_len; +if (size >SYSCTRL_MB_MAX_MESSAGE_SIZE ) { +xe_err (xe,"sysctrl: Message too large: %zu bytes\n" , size); +return -EINVAL ; + } + + buffer =kmalloc (size,GFP_KERNEL ); +if (!buffer) +return -ENOMEM ; + + mkhi_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)buffer; + mkhi_hdr->data =cpu_to_le32 (FIELD_PREP (MKHI_HDR_GROUP_ID_MASK , group_id) | +FIELD_PREP (MKHI_HDR_COMMAND_MASK , command &0x7F ) | +FIELD_PREP (MKHI_HDR_IS_RESPONSE ,0 ) | +FIELD_PREP (MKHI_HDR_RESERVED_MASK ,0 ) | +FIELD_PREP (MKHI_HDR_RESULT_MASK ,0 )); + +if (data_in && data_in_len) +memcpy (buffer +sizeof (*mkhi_hdr), data_in, data_in_len); + + *mbox_cmd = buffer; + *cmd_size = size; + +return 0 ; +} + +static int xe_sysctrl_mailbox_send_frames (struct xe_device *xe, +const u8 *mbox_cmd, +size_t cmd_size,unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg, total_frames, frame; +struct xe_sysctrl *sc = &xe->sc; +size_t bytes_sent, frame_size; + + total_frames =DIV_ROUND_UP (cmd_size,SYSCTRL_MB_FRAME_SIZE ); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Mailbox busy\n" ); +return -EBUSY ; + } + + sc->phase_bit ^=1 ; + bytes_sent =0 ; + +for (frame =0 ; frame < total_frames; frame++) { + frame_size =min (cmd_size - bytes_sent, (size_t )SYSCTRL_MB_FRAME_SIZE ); + +if (xe_sysctrl_mailbox_write_frame (xe, mbox_cmd + bytes_sent, frame_size)) { +xe_err (xe,"sysctrl: Failed to write frame %u\n" , frame); + sc->phase_bit ^=1 ; +return -EIO ; + } + + ctrl_reg =SYSCTRL_MB_CTRL_RUN_BUSY | +FIELD_PREP (MKHI_FRAME_CURRENT_MASK , frame) | +FIELD_PREP (MKHI_FRAME_TOTAL_MASK , total_frames -1 ) | +FIELD_PREP (MKHI_FRAME_COMMAND_MASK ,SYSCTRL_MKHI_COMMAND ) | + (sc->phase_bit ?MKHI_FRAME_PHASE :0 ); + +xe_mmio_write32 (mmio,SYSCTRL_MB_CTRL , ctrl_reg); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Frame %u acknowledgment timeout\n" , frame); +return -ETIMEDOUT ; + } + + bytes_sent += frame_size; + } + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_first_frame (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *out, +size_t frame_size, +size_t *payload_bytes) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *resp_hdr; +size_t hdr_size =sizeof (*resp_hdr); +size_t payload_size; +u32 frame_data[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)]; +int ret; + + ret =xe_sysctrl_mailbox_read_frame (xe, frame_data, frame_size); +if (ret) +return ret; + + resp_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)frame_data; + +if (!XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (resp_hdr) || +XE_SYSCTRL_MKHI_HDR_GROUP_ID (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_GROUP_ID (req) || +XE_SYSCTRL_MKHI_HDR_COMMAND (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_COMMAND (req)) { +xe_err (xe,"SC: Response header mismatch\n" ); +return -EPROTO ; + } + +if (XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr) !=0 ) { +xe_err (xe,"SC: Firmware error: 0x%02lx\n" , +XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr)); +return -EIO ; + } + + payload_size = frame_size - hdr_size; +if (payload_size >0 ) +memcpy (out, (u8 *)frame_data + hdr_size, payload_size); + + *payload_bytes = payload_size; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_frame (struct xe_device *xe, +void *out,size_t frame_size, +unsigned int timeout_ms) +{ +int ret; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame timeout\n" ); +return -ETIMEDOUT ; + } + + ret =xe_sysctrl_mailbox_read_frame (xe, out, frame_size); +if (ret) +return ret; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_receive_frames (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +size_t hdr_size =sizeof (*mkhi_hdr); +u32 ctrl_reg, total_frames, frame; +size_t received =0 ; +u8 *out = data_out; +size_t frame_size; +int ret =0 ; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame 0 timeout\n" ); +return -ETIMEDOUT ; + } + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + total_frames =FIELD_GET (MKHI_FRAME_TOTAL_MASK , ctrl_reg) +1 ; + +if (total_frames ==1 ) + frame_size =min (hdr_size + data_out_len, (size_t )SYSCTRL_MB_FRAME_SIZE ); +else + frame_size =SYSCTRL_MB_FRAME_SIZE ; + + ret =xe_sysctrl_mailbox_process_first_frame (xe, req, out, frame_size, &received); +if (ret) +return ret; + + out += received; + +for (frame =1 ; frame < total_frames; frame++) { +size_t remaining = data_out_len - received; + + frame_size =min_t (size_t, remaining,SYSCTRL_MB_FRAME_SIZE ); + + ret =xe_sysctrl_mailbox_process_frame (xe, out, frame_size, timeout_ms); +if (ret) +break ; + + received += frame_size; + out += frame_size; + } + + *rdata_len = received; + +return ret; +} + +static int xe_sysctrl_mailbox_send_command (struct xe_device *xe, +const u8 *mbox_cmd,size_t cmd_size, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t received; +int ret; + + ret =xe_sysctrl_mailbox_send_frames (xe, mbox_cmd, cmd_size, timeout_ms); +if (ret) +return ret; + +if (!data_out || !rdata_len) +return 0 ; + + mkhi_hdr = (const struct xe_sysctrl_mailbox_mkhi_msg_hdr *)mbox_cmd; + + ret =xe_sysctrl_mailbox_receive_frames (xe, mkhi_hdr, data_out, data_out_len, + &received, timeout_ms); +if (ret) +return ret; + + *rdata_len = received; + +return 0 ; +} + +/** +* xe_sysctrl_mailbox_init - Initialize System Controller mailbox interface +* @sc: System controller structure +* +* Initialize system controller mailbox interface for communication. +*/ +void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc) +{ +struct xe_device *xe =sc_to_xe (sc); +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg; + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + sc->phase_bit = (ctrl_reg &MKHI_FRAME_PHASE ) ?1 :0 ; + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,MKHI_FRAME_PHASE ,0 ); +} + +/** +* xe_sysctrl_send_command - Send command to System Controller via mailbox +* @xe: XE device instance +* @cmd: Pointer to xe_sysctrl_mailbox_command structure +* @rdata_len: Pointer to store actual response data size (can be NULL) +* +* Send a command to the System Controller using MKHI protocol. Handles +* command preparation, fragmentation, transmission, and response reception. +* +* Return: 0 on success, negative error code on failure +*/ +int xe_sysctrl_send_command (struct xe_device *xe, +struct xe_sysctrl_mailbox_command *cmd, +size_t *rdata_len) +{ +struct xe_sysctrl *sc = &xe->sc; +u8 group_id, command_code; +u8 *mbox_cmd =NULL ; +size_t cmd_size =0 ; +int ret =0 ; + +if (!xe) { +pr_err ("sysctrl: Invalid device handle\n" ); +return -EINVAL ; + } + +if (!cmd) { +xe_err (xe,"sysctrl: Invalid command buffer\n" ); +return -EINVAL ; + } + +if (!xe->info.has_sysctrl) +return -ENODEV ; + + group_id =XE_SYSCTRL_APP_HDR_GROUP_ID (&cmd->header); + command_code =XE_SYSCTRL_APP_HDR_COMMAND (&cmd->header); + +if (!cmd->data_in && cmd->data_in_len) { +xe_err (xe,"sysctrl: Invalid input parameters\n" ); +return -EINVAL ; + } + +if (!cmd->data_out && cmd->data_out_len) { +xe_err (xe,"sysctrl: Invalid output parameters\n" ); +return -EINVAL ; + } + +might_sleep (); + + ret =xe_sysctrl_mailbox_prepare_command (xe, group_id, command_code, + cmd->data_in, cmd->data_in_len, + &mbox_cmd, &cmd_size); +if (ret) { +xe_err (xe,"sysctrl: Failed to prepare command: %d\n" , ret); +return ret; + } + +guard (xe_pm_runtime)(xe); + +guard (mutex)(&sc->cmd_lock); + + ret =xe_sysctrl_mailbox_send_command (xe, mbox_cmd, cmd_size, + cmd->data_out, cmd->data_out_len, rdata_len, +SYSCTRL_MB_DEFAULT_TIMEOUT_MS ); +if (ret) +xe_err (xe,"sysctrl: Mailbox command failed: %d\n" , ret); + +kfree (mbox_cmd); + +return ret; +}Signature · 1 line
2.43.0
RE: [PATCH v3 3/6] drm/xe/sysctrl: Add System Controller mailbox implementation
In reply to Anoop, VijayQuoted 117 lines
-----Original Message-----
From: Vijay, Anoop C <[email protected]>
Sent: Thursday, January 8, 2026 7:06 AM
To: [email protected]
Cc: Nerlige Ramappa, Umesh <[email protected]>; Nilawar, Badal <[email protected]>; Vivi, Rodrigo <[email protected]>; Iddamsetty, Aravind <[email protected]>; Tauro, Riana <[email protected]>; Gupta, Anshuman <[email protected]>; Roper, Matthew D <[email protected]>; Ruhl, Michael J <[email protected]>; Luse, Paul E <[email protected]>; V, Mohamed Mansoor <[email protected]>; Nasim, Kam <[email protected]>; Vijay, Anoop C <[email protected]>
Subject: [PATCH v3 3/6] drm/xe/sysctrl: Add System Controller mailbox implementationFrom: Anoop Vijay <[email protected]>
Implement the System Controller mailbox communication layer:
- Low-level frame I/O operations
- Mailbox busy/ready state polling
- Command preparation and fragmentation
- Multi-frame send/receive with phase bit handling
- MKHI protocol header validation
- Public API for sending commands to System ControllerThis provides the complete mailbox infrastructure for communicating with System Controller firmware on Xe3p dGPU platforms.
Signed-off-by Anoop Vijay <[email protected]>---
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c| 429
++++++++++++++++++++++++1 file changed, 429 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_sysctrl_mailbox.cdrivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +74
-0@@ -0,0 +1,429 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <linux/bitfield.h> +#include <linux/container_of.h> +#include <linux/errno.h> +#include <linux/minmax.h> +#include <linux/mutex.h> +#include <linux/slab.h> +#include <linux/string.h> +#include <linux/types.h> + +#include "regs/xe_sysctrl_regs.h" +#include "xe_device.h" +#include "xe_device_types.h" +#include "xe_mmio.h" +#include "xe_pm.h" +#include "xe_printk.h" +#include "xe_sysctrl.h" +#include "xe_sysctrl_mailbox.h" +#include "xe_sysctrl_mailbox_types.h" +#include "xe_sysctrl_types.h" + +#define MKHI_HDR_GROUP_ID_MASK GENMASK(7, 0) +#define MKHI_HDR_COMMAND_MASK GENMASK(14, 8) +#define MKHI_HDR_IS_RESPONSE BIT(15) +#define MKHI_HDR_RESERVED_MASK GENMASK(23, 16) +#define MKHI_HDR_RESULT_MASK GENMASK(31, 24) + +#define XE_SYSCTRL_MKHI_HDR_GROUP_ID (hdr) \ + FIELD_GET(MKHI_HDR_GROUP_ID_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_COMMAND (hdr) \ + FIELD_GET(MKHI_HDR_COMMAND_MASK, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (hdr) \ + FIELD_GET(MKHI_HDR_IS_RESPONSE, le32_to_cpu((hdr)->data)) + +#define XE_SYSCTRL_MKHI_HDR_RESULT (hdr) \ + FIELD_GET(MKHI_HDR_RESULT_MASK, le32_to_cpu((hdr)->data)) + +static struct xe_device *sc_to_xe (struct xe_sysctrl *sc) +{ + return container_of(sc, struct xe_device, sc); +} + +static bool xe_sysctrl_mailbox_wait_bit_clear (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32_not (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static bool xe_sysctrl_mailbox_wait_bit_set (struct xe_device *xe,u32 bit_mask, +unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +int ret; + + ret =xe_mmio_wait32 (mmio,SYSCTRL_MB_CTRL , bit_mask, bit_mask, + timeout_ms *1000 ,NULL , false); + +return ret ==0 ; +} + +static int xe_sysctrl_mailbox_write_frame (struct xe_device *xe,const void *frame, +size_t len)
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 84
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i; + +memcpy (val, frame, len);
Is sizeof(val) guaranteed to >= len?
why is this copy needed?
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 87
Quoted 3 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +3
-0+ +for (i =0 ; i < dw; i++) +xe_mmio_write32 (mmio, regs[i], val[i]);
if dw > 4 what will happen when you do this?
probably i < ARRAY_SIZE(regs)?
Quoted 4 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +4
-0+ +return 0 ; +} +
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 101
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+static int xe_sysctrl_mailbox_read_frame (struct xe_device *xe,void *frame, +size_t len) +{ +static const struct xe_reg regs[] = { +SYSCTRL_MB_DATA0 ,SYSCTRL_MB_DATA1 ,SYSCTRL_MB_DATA2 ,SYSCTRL_MB_DATA3 + }; +u32 val[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)] = {0 }; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 dw =DIV_ROUND_UP (len,sizeof (u32)); +u32 i;
if dw > array_size(regs) what will happen?
Quoted 79 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +79
-0+for (i =0 ; i < dw; i++) + val[i] =xe_mmio_read32 (mmio, regs[i]); + +memcpy (frame, val, len); + +return 0 ; +} + +static void xe_sysctrl_mailbox_clear_response (struct xe_device *xe) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,SYSCTRL_MB_CTRL_RUN_BUSY_OUT ,0 ); +} + +static int xe_sysctrl_mailbox_prepare_command (struct xe_device *xe, +u8 group_id,u8 command, +const void *data_in,size_t data_in_len, +u8 **mbox_cmd,size_t *cmd_size) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t size; +u8 *buffer; + + size =sizeof (*mkhi_hdr) + data_in_len; +if (size >SYSCTRL_MB_MAX_MESSAGE_SIZE ) { +xe_err (xe,"sysctrl: Message too large: %zu bytes\n" , size); +return -EINVAL ; + } + + buffer =kmalloc (size,GFP_KERNEL ); +if (!buffer) +return -ENOMEM ; + + mkhi_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)buffer; + mkhi_hdr->data =cpu_to_le32 (FIELD_PREP (MKHI_HDR_GROUP_ID_MASK , group_id) | +FIELD_PREP (MKHI_HDR_COMMAND_MASK , command &0x7F ) | +FIELD_PREP (MKHI_HDR_IS_RESPONSE ,0 ) | +FIELD_PREP (MKHI_HDR_RESERVED_MASK ,0 ) | +FIELD_PREP (MKHI_HDR_RESULT_MASK ,0 )); + +if (data_in && data_in_len) +memcpy (buffer +sizeof (*mkhi_hdr), data_in, data_in_len); + + *mbox_cmd = buffer; + *cmd_size = size; + +return 0 ; +} + +static int xe_sysctrl_mailbox_send_frames (struct xe_device *xe, +const u8 *mbox_cmd, +size_t cmd_size,unsigned int timeout_ms) +{ +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg, total_frames, frame; +struct xe_sysctrl *sc = &xe->sc; +size_t bytes_sent, frame_size; + + total_frames =DIV_ROUND_UP (cmd_size,SYSCTRL_MB_FRAME_SIZE ); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Mailbox busy\n" ); +return -EBUSY ; + } + + sc->phase_bit ^=1 ; + bytes_sent =0 ; + +for (frame =0 ; frame < total_frames; frame++) { + frame_size =min (cmd_size - bytes_sent, (size_t )SYSCTRL_MB_FRAME_SIZE ); + +if (xe_sysctrl_mailbox_write_frame (xe, mbox_cmd + bytes_sent, frame_size)) { +xe_err (xe,"sysctrl: Failed to write frame %u\n" , frame); + sc->phase_bit ^=1 ; +return -EIO ; + } + + ctrl_reg = SYSCTRL_MB_CTRL_RUN_BUSY |
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 191
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+FIELD_PREP (MKHI_FRAME_CURRENT_MASK , frame) | +FIELD_PREP (MKHI_FRAME_TOTAL_MASK , total_frames -1 ) | +FIELD_PREP (MKHI_FRAME_COMMAND_MASK ,SYSCTRL_MKHI_COMMAND ) | + (sc->phase_bit ?MKHI_FRAME_PHASE :0 ); + +xe_mmio_write32 (mmio,SYSCTRL_MB_CTRL , ctrl_reg); + +if (!xe_sysctrl_mailbox_wait_bit_clear (xe,SYSCTRL_MB_CTRL_RUN_BUSY , timeout_ms)) { +xe_err (xe,"sysctrl: Frame %u acknowledgment timeout\n" , frame); +return -ETIMEDOUT ;
does the phase_bit need to be toggled here (on the error?)?
it is not clear to me when it needs to be toggled?
Quoted 30 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +30
-0+ } + + bytes_sent += frame_size; + } + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_first_frame (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *out, +size_t frame_size, +size_t *payload_bytes) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *resp_hdr; +size_t hdr_size =sizeof (*resp_hdr); +size_t payload_size; +u32 frame_data[SYSCTRL_MB_FRAME_SIZE /sizeof (u32)]; +int ret; + + ret =xe_sysctrl_mailbox_read_frame (xe, frame_data, frame_size); +if (ret) +return ret; + + resp_hdr = (struct xe_sysctrl_mailbox_mkhi_msg_hdr *)frame_data; + +if (!XE_SYSCTRL_MKHI_HDR_IS_RESPONSE (resp_hdr) || +XE_SYSCTRL_MKHI_HDR_GROUP_ID (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_GROUP_ID (req) || +XE_SYSCTRL_MKHI_HDR_COMMAND (resp_hdr) !=XE_SYSCTRL_MKHI_HDR_COMMAND (req)) { +xe_err (xe,"SC: Response header mismatch\n" );
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 231
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+return -EPROTO ; + } + +if (XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr) !=0 ) { +xe_err (xe,"SC: Firmware error: 0x%02lx\n" , +XE_SYSCTRL_MKHI_HDR_RESULT (resp_hdr)); +return -EIO ; + } + + payload_size = frame_size - hdr_size;
so if frame_size < hdr_size what will happen?
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 233
Quoted 2 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +2
-0+if (payload_size >0 ) +memcpy (out, (u8 *)frame_data + hdr_size, payload_size);
how big is out? is it <= payload_size? My concern is that if out_size < payload size, we are overwriting memory...
Quoted 112 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +112
-0+ *payload_bytes = payload_size; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_process_frame (struct xe_device *xe, +void *out,size_t frame_size, +unsigned int timeout_ms) +{ +int ret; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame timeout\n" ); +return -ETIMEDOUT ; + } + + ret =xe_sysctrl_mailbox_read_frame (xe, out, frame_size); +if (ret) +return ret; + +xe_sysctrl_mailbox_clear_response (xe); + +return 0 ; +} + +static int xe_sysctrl_mailbox_receive_frames (struct xe_device *xe, +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *req, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +size_t hdr_size =sizeof (*mkhi_hdr); +u32 ctrl_reg, total_frames, frame; +size_t received =0 ; +u8 *out = data_out; +size_t frame_size; +int ret =0 ; + +if (!xe_sysctrl_mailbox_wait_bit_set (xe,SYSCTRL_MB_CTRL_RUN_BUSY_OUT , timeout_ms)) { +xe_err (xe,"sysctrl: Response frame 0 timeout\n" ); +return -ETIMEDOUT ; + } + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + total_frames =FIELD_GET (MKHI_FRAME_TOTAL_MASK , ctrl_reg) +1 ; + +if (total_frames ==1 ) + frame_size =min (hdr_size + data_out_len, (size_t )SYSCTRL_MB_FRAME_SIZE ); +else + frame_size =SYSCTRL_MB_FRAME_SIZE ; + + ret =xe_sysctrl_mailbox_process_first_frame (xe, req, out, frame_size, &received); +if (ret) +return ret; + + out += received; + +for (frame =1 ; frame < total_frames; frame++) { +size_t remaining = data_out_len - received; + + frame_size =min_t (size_t, remaining,SYSCTRL_MB_FRAME_SIZE ); + + ret =xe_sysctrl_mailbox_process_frame (xe, out, frame_size, timeout_ms); +if (ret) +break ; + + received += frame_size; + out += frame_size; + } + + *rdata_len = received; + +return ret; +} + +static int xe_sysctrl_mailbox_send_command (struct xe_device *xe, +const u8 *mbox_cmd,size_t cmd_size, +void *data_out,size_t data_out_len, +size_t *rdata_len,unsigned int timeout_ms) +{ +const struct xe_sysctrl_mailbox_mkhi_msg_hdr *mkhi_hdr; +size_t received; +int ret; + + ret =xe_sysctrl_mailbox_send_frames (xe, mbox_cmd, cmd_size, timeout_ms); +if (ret) +return ret; + +if (!data_out || !rdata_len) +return 0 ; + + mkhi_hdr = (const struct xe_sysctrl_mailbox_mkhi_msg_hdr *)mbox_cmd; + + ret =xe_sysctrl_mailbox_receive_frames (xe, mkhi_hdr, data_out, data_out_len, + &received, timeout_ms); +if (ret) +return ret; + + *rdata_len = received; + +return 0 ; +} + +/** +* xe_sysctrl_mailbox_init - Initialize System Controller mailbox interface +* @sc: System controller structure +* +* Initialize system controller mailbox interface for communication. +*/
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 356
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+void xe_sysctrl_mailbox_init (struct xe_sysctrl *sc) +{ +struct xe_device *xe =sc_to_xe (sc); +struct xe_mmio *mmio =xe_root_tile_mmio (xe); +u32 ctrl_reg; + + ctrl_reg =xe_mmio_read32 (mmio,SYSCTRL_MB_CTRL ); + sc->phase_bit = (ctrl_reg &MKHI_FRAME_PHASE ) ?1 :0 ; + +xe_mmio_rmw32 (mmio,SYSCTRL_MB_CTRL ,MKHI_FRAME_PHASE ,0 );
So you get the current state of the phase_bit, and then you clear it?
Why?
Is this a protocol thing or a device setup?
Quoted 16 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +4
-0+} + +/** +* xe_sysctrl_send_command - Send command to System Controller via mailbox
+ * @xe: XE device instance
+ * @cmd: Pointer toxe_sysctrl_mailbox_commandstructure
+ * @rdata_len: Pointer to store actual response data size (can be NULL)
+ *
+ * Send a command to the System Controller using MKHI protocol. Handles
+ * command preparation, fragmentation, transmission, and response reception.
+ *
+ * Return: 0 on success, negative error code on failure
+ */drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +1
-0+int xe_sysctrl_send_command(struct xe_device *xe,
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 380
Quoted 10 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +10
-0+struct xe_sysctrl_mailbox_command *cmd, + size_t *rdata_len) +{ + struct xe_sysctrl *sc = &xe->sc; +u8 group_id, command_code; +u8 *mbox_cmd =NULL ; +size_t cmd_size =0 ; +int ret =0 ; + +if (!xe) {
So what does your &xe->sc doe if !xe?
Is !xe really possible?
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c line 391
Quoted 11 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +11
-0+pr_err ("sysctrl: Invalid device handle\n" ); +return -EINVAL ; + } + +if (!cmd) { +xe_err (xe,"sysctrl: Invalid command buffer\n" ); +return -EINVAL ; + } + +if (!xe->info.has_sysctrl) +return -ENODEV ;
This should be before !cmd. If the device does not have the API, we don't really need to check anything else.
Mike
Quoted 41 lines
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +2
-0+ group_id =XE_SYSCTRL_APP_HDR_GROUP_ID (&cmd->header); + command_code = XE_SYSCTRL_APP_HDR_COMMAND(&cmd-Quoted 1 line
header);
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +28
-0+ +if (!cmd->data_in && cmd->data_in_len) { +xe_err (xe,"sysctrl: Invalid input parameters\n" ); +return -EINVAL ; + } + +if (!cmd->data_out && cmd->data_out_len) { +xe_err (xe,"sysctrl: Invalid output parameters\n" ); +return -EINVAL ; + } + +might_sleep (); + + ret =xe_sysctrl_mailbox_prepare_command (xe, group_id, command_code, + cmd->data_in, cmd->data_in_len, + &mbox_cmd, &cmd_size); +if (ret) { +xe_err (xe,"sysctrl: Failed to prepare command: %d\n" , ret); +return ret; + } + +guard (xe_pm_runtime)(xe); + +guard (mutex)(&sc->cmd_lock); + + ret = xe_sysctrl_mailbox_send_command(xe, mbox_cmd, cmd_size, + cmd->data_out, cmd->data_out_len, rdata_len, +
SYSCTRL_MB_DEFAULT_TIMEOUT_MS);drivers/gpu/drm/xe/xe_sysctrl_mailbox.c new file +7
-1+if (ret) +xe_err (xe,"sysctrl: Mailbox command failed: %d\n" , ret); + +kfree (mbox_cmd); + +return ret; +} --2.43.0
PATCH v3 4/6 drm/xe/sysctrl: Add System Controller initialization
In reply to Anoop, VijayFrom: Anoop Vijay <[email protected]>
Add top-level System Controller initialization and cleanup:
- SOC remapper region configuration
- Mailbox initialization
- Resource cleanup on driver unload
--- drivers/gpu/drm/xe/xe_sysctrl.c | 70 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl.h | 13 ++++++ 2 files changed, 83 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h
drivers/gpu/drm/xe/xe_sysctrl.c new file +70 -0
@@ -0,0 +1,70 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <drm/drm_managed.h> +#include <linux/device.h> +#include <linux/mutex.h> + +#include "regs/xe_sysctrl_regs.h" +#include "xe_device.h" +#include "xe_printk.h" +#include "xe_soc_remapper.h" +#include "xe_sysctrl.h" +#include "xe_sysctrl_mailbox.h" +#include "xe_sysctrl_types.h" + +/** +* DOC: System Controller (sysctrl) +* +* The System Controller (sysctrl) is an embedded microcontroller in Intel GPUs +* responsible for managing various low-level platform functions. Communication +* between the driver and the System Controller occurs via a mailbox interface, +* enabling the exchange of commands and responses. +* +* This module provides initialization routines and helper functions to interact +* with the System Controller through the mailbox. +*/ + +static void xe_sysctrl_fini (void *arg) +{ +struct xe_device *xe = arg; + + xe->soc_remapper.set_sysctrl_region (xe,0 ); +} + +/** +* xe_sysctrl_init - Initialize System Controller subsystem +* @xe: xe device instance +* +* Entry point for System Controller initialization, called from xe_device_probe. +* This function checks platform support and initializes the system controller. +* +* Return: 0 on success, error code on failure +*/ +int xe_sysctrl_init (struct xe_device *xe) +{ +struct xe_sysctrl *sc = &xe->sc; +int ret; + +if (!xe->info.has_sysctrl) +return 0 ; + +if (!xe->soc_remapper.set_sysctrl_region) +return -ENODEV ; + + xe->soc_remapper.set_sysctrl_region (xe,SYSCTRL_MAILBOX_INDEX ); + + ret =devm_add_action_or_reset (xe->drm.dev, xe_sysctrl_fini, xe); +if (ret) +return ret; + + ret =drmm_mutex_init (&xe->drm, &sc->cmd_lock); +if (ret) +return ret; + +xe_sysctrl_mailbox_init (sc); + +return 0 ; +}
drivers/gpu/drm/xe/xe_sysctrl.h new file +13 -0
@@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_H_ +#define _XE_SYSCTRL_H_ + +struct xe_device ; + +int xe_sysctrl_init (struct xe_device *xe); + +#endif /* _XE_SYSCTRL_H_ */
Signature · 1 line
2.43.0
Re: [PATCH v3 4/6] drm/xe/sysctrl: Add System Controller initialization
Quoted 8 lines · Vijay
From: Anoop Vijay <[email protected]>
Add top-level System Controller initialization and cleanup:
- SOC remapper region configuration
- Mailbox initialization
- Resource cleanup on driver unloadSigned-off-by Anoop Vijay <[email protected]>
Quoted 105 lines
---
drivers/gpu/drm/xe/xe_sysctrl.c| 70 +++++++++++++++++++++++++++++++++drivers/gpu/drm/xe/xe_sysctrl.h| 13 ++++++2 files changed, 83 insertions(+)create mode 100644
drivers/gpu/drm/xe/xe_sysctrl.ccreate mode 100644drivers/gpu/drm/xe/xe_sysctrl.hdrivers/gpu/drm/xe/xe_sysctrl.c new file +70
-0@@ -0,0 +1,70 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2026 Intel Corporation +*/ + +#include <drm/drm_managed.h> +#include <linux/device.h> +#include <linux/mutex.h> + +#include "regs/xe_sysctrl_regs.h" +#include "xe_device.h" +#include "xe_printk.h" +#include "xe_soc_remapper.h" +#include "xe_sysctrl.h" +#include "xe_sysctrl_mailbox.h" +#include "xe_sysctrl_types.h" + +/** +* DOC: System Controller (sysctrl) +* +* The System Controller (sysctrl) is an embedded microcontroller in Intel GPUs +* responsible for managing various low-level platform functions. Communication +* between the driver and the System Controller occurs via a mailbox interface, +* enabling the exchange of commands and responses. +* +* This module provides initialization routines and helper functions to interact +* with the System Controller through the mailbox. +*/ + +static void xe_sysctrl_fini (void *arg) +{ +struct xe_device *xe = arg; + + xe->soc_remapper.set_sysctrl_region (xe,0 ); +} + +/** +* xe_sysctrl_init - Initialize System Controller subsystem +* @xe: xe device instance +* +* Entry point for System Controller initialization, called from xe_device_probe. +* This function checks platform support and initializes the system controller. +* +* Return: 0 on success, error code on failure +*/ +int xe_sysctrl_init (struct xe_device *xe) +{ +struct xe_sysctrl *sc = &xe->sc; +int ret; + +if (!xe->info.has_sysctrl) +return 0 ; + +if (!xe->soc_remapper.set_sysctrl_region) +return -ENODEV ; + + xe->soc_remapper.set_sysctrl_region (xe,SYSCTRL_MAILBOX_INDEX ); + + ret =devm_add_action_or_reset (xe->drm.dev, xe_sysctrl_fini, xe); +if (ret) +return ret; + + ret =drmm_mutex_init (&xe->drm, &sc->cmd_lock); +if (ret) +return ret; + +xe_sysctrl_mailbox_init (sc); + +return 0 ; +}drivers/gpu/drm/xe/xe_sysctrl.h new file +13
-0@@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_SYSCTRL_H_ +#define _XE_SYSCTRL_H_ + +struct xe_device ; + +int xe_sysctrl_init (struct xe_device *xe); + +#endif /* _XE_SYSCTRL_H_ */ Signature · 1 line
2.43.0
PATCH v3 5/6 drm/xe/sysctrl: Integrate System Controller into device
In reply to Anoop, VijayFrom: Anoop Vijay <[email protected]>
Add System Controller to the xe_device structure and wire up initialization during device probe.
--- drivers/gpu/drm/xe/xe_device.c | 5 +++++ drivers/gpu/drm/xe/xe_device_types.h | 6 ++++++ 2 files changed, 11 insertions(+)
drivers/gpu/drm/xe/xe_device.c +5 -0
@@ -66,6 +66,7 @@#include "xe_survivability_mode.h" #include "xe_sriov.h" #include "xe_svm.h" +#include "xe_sysctrl.h" #include "xe_tile.h" #include "xe_ttm_stolen_mgr.h" #include "xe_ttm_sys_mgr.h"
@@ -1027,6 +1028,10 @@ int xe_device_probe(struct xe_device *xe)if (err) goto err_unregister_display; + err =xe_sysctrl_init (xe); +if (err) + goto err_unregister_display; + err =xe_device_sysfs_init (xe);if (err) goto err_unregister_display;
drivers/gpu/drm/xe/xe_device_types.h +6 -0
@@ -29,6 +29,7 @@#include "xe_sriov_vf_ccs_types.h" #include "xe_step_types.h" #include "xe_survivability_mode_types.h" +#include "xe_sysctrl_types.h" #include "xe_tile_sriov_vf_types.h" #include "xe_validation.h"
@@ -340,6 +341,8 @@ struct xe_device { u8 has_soc_remapper_telem:1;/** @info.has_sriov: Supports SR-IOV */ u8 has_sriov:1; +/** @info.has_sysctrl: Supports System Controller */ + u8 has_sysctrl:1;/** @info.has_usm: Device has unified shared memory support */ u8 has_usm:1;/** @info.has_64bit_timestamp: Device supports 64-bit timestamps */
@@ -606,6 +609,9 @@ struct xe_device {/** @heci_gsc: graphics security controller */ struct xe_heci_gsc heci_gsc; +/** @sc: System Controller */ +struct xe_sysctrl sc; +/** @nvm: discrete graphics non-volatile memory */ struct intel_dg_nvm_dev *nvm;
Signature · 1 line
2.43.0
Re: [PATCH v3 5/6] drm/xe/sysctrl: Integrate System Controller into device
Quoted 6 lines · Vijay
From: Anoop Vijay <[email protected]>
Add System Controller to the
xe_devicestructure and wire up initialization during device probe.Signed-off-by Anoop Vijay <[email protected]>
Quoted 62 lines
---
drivers/gpu/drm/xe/xe_device.c| 5 +++++drivers/gpu/drm/xe/xe_device_types.h| 6 ++++++2 files changed, 11 insertions(+)drivers/gpu/drm/xe/xe_device.c +5
-0@@ -66,6 +66,7 @@#include "xe_survivability_mode.h" #include "xe_sriov.h" #include "xe_svm.h" +#include "xe_sysctrl.h" #include "xe_tile.h" #include "xe_ttm_stolen_mgr.h" #include "xe_ttm_sys_mgr.h" @@ -1027,6 +1028,10 @@ int xe_device_probe(struct xe_device *xe)if (err) goto err_unregister_display; + err =xe_sysctrl_init (xe); +if (err) + goto err_unregister_display; + err =xe_device_sysfs_init (xe);if (err) goto err_unregister_display;drivers/gpu/drm/xe/xe_device_types.h +6
-0@@ -29,6 +29,7 @@#include "xe_sriov_vf_ccs_types.h" #include "xe_step_types.h" #include "xe_survivability_mode_types.h" +#include "xe_sysctrl_types.h" #include "xe_tile_sriov_vf_types.h" #include "xe_validation.h" @@ -340,6 +341,8 @@ struct xe_device { u8 has_soc_remapper_telem:1;/** @info.has_sriov: Supports SR-IOV */ u8 has_sriov:1; +/** @info.has_sysctrl: Supports System Controller */ + u8 has_sysctrl:1;/** @info.has_usm: Device has unified shared memory support */ u8 has_usm:1;/** @info.has_64bit_timestamp: Device supports 64-bit timestamps */ @@ -606,6 +609,9 @@ struct xe_device {/** @heci_gsc: graphics security controller */ struct xe_heci_gsc heci_gsc; +/** @sc: System Controller */ +struct xe_sysctrl sc; +/** @nvm: discrete graphics non-volatile memory */ struct intel_dg_nvm_dev *nvm;Signature · 1 line
2.43.0
PATCH v3 6/6 drm/xe/sysctrl: Enable System Controller for Xe3p
In reply to Anoop, VijayFrom: Anoop Vijay <[email protected]>
Add PCI device detection for System Controller capability and update build system to include System Controller components.
--- drivers/gpu/drm/xe/Makefile | 2 ++ drivers/gpu/drm/xe/xe_pci.c | 2 ++ drivers/gpu/drm/xe/xe_pci_types.h | 1 + 3 files changed, 5 insertions(+)
drivers/gpu/drm/xe/Makefile +2 -0
@@ -121,6 +121,8 @@ xe-y += xe_bb.o \ xe_step.o \ xe_survivability_mode.o \ xe_sync.o \ + xe_sysctrl.o \ + xe_sysctrl_mailbox.o \ xe_tile.o \ xe_tile_sysfs.o \ xe_tlb_inval.o \
drivers/gpu/drm/xe/xe_pci.c +2 -0
@@ -426,6 +426,7 @@ static const struct xe_device_desc cri_desc = { .has_soc_remapper_sysctrl = true, .has_soc_remapper_telem = true, .has_sriov = true, + .has_sysctrl = true, .max_gt_per_tile = 2, .require_force_probe = true, .va_bits = 57,
@@ -701,6 +702,7 @@ static int xe_info_init_early(struct xe_device *xe, xe->info.has_soc_remapper_telem = desc->has_soc_remapper_telem; xe->info.has_sriov =xe_configfs_primary_gt_allowed (to_pci_dev (xe->drm.dev)) && desc->has_sriov; + xe->info.has_sysctrl = desc->has_sysctrl; xe->info.has_mem_copy_instr = desc->has_mem_copy_instr; xe->info.skip_guc_pc = desc->skip_guc_pc; xe->info.skip_mtcfg = desc->skip_mtcfg;
drivers/gpu/drm/xe/xe_pci_types.h +1 -0
@@ -56,6 +56,7 @@ struct xe_device_desc { u8 has_soc_remapper_sysctrl:1; u8 has_soc_remapper_telem:1; u8 has_sriov:1; + u8 has_sysctrl:1; u8 needs_scratch:1; u8 skip_guc_pc:1; u8 skip_mtcfg:1;
Signature · 1 line
2.43.0
Re: [PATCH v3 6/6] drm/xe/sysctrl: Enable System Controller for Xe3p
Quoted 7 lines · Vijay
From: Anoop Vijay <[email protected]>
Add PCI device detection for System Controller capability and update build system to include System Controller components.
Signed-off-by Anoop Vijay <[email protected]>
Umesh
Quoted 54 lines
---
drivers/gpu/drm/xe/Makefile | 2 ++ drivers/gpu/drm/xe/xe_pci.c | 2 ++ drivers/gpu/drm/xe/xe_pci_types.h | 1 + 3 files changed, 5 insertions(+)drivers/gpu/drm/xe/Makefile +2
-0@@ -121,6 +121,8 @@ xe-y += xe_bb.o \ xe_step.o \ xe_survivability_mode.o \ xe_sync.o \ + xe_sysctrl.o \ + xe_sysctrl_mailbox.o \ xe_tile.o \ xe_tile_sysfs.o \ xe_tlb_inval.o \drivers/gpu/drm/xe/xe_pci.c +2
-0@@ -426,6 +426,7 @@ static const struct xe_device_desc cri_desc = { .has_soc_remapper_sysctrl = true, .has_soc_remapper_telem = true, .has_sriov = true, + .has_sysctrl = true, .max_gt_per_tile = 2, .require_force_probe = true, .va_bits = 57,@@ -701,6 +702,7 @@ static int xe_info_init_early(struct xe_device *xe, xe->info.has_soc_remapper_telem = desc->has_soc_remapper_telem; xe->info.has_sriov =xe_configfs_primary_gt_allowed (to_pci_dev (xe->drm.dev)) && desc->has_sriov; + xe->info.has_sysctrl = desc->has_sysctrl; xe->info.has_mem_copy_instr = desc->has_mem_copy_instr; xe->info.skip_guc_pc = desc->skip_guc_pc; xe->info.skip_mtcfg = desc->skip_mtcfg;drivers/gpu/drm/xe/xe_pci_types.h +1
-0@@ -56,6 +56,7 @@ struct xe_device_desc { u8 has_soc_remapper_sysctrl:1; u8 has_soc_remapper_telem:1; u8 has_sriov:1; + u8 has_sysctrl:1; u8 needs_scratch:1; u8 skip_guc_pc:1; u8 skip_mtcfg:1;Signature · 1 line
2.43.0
Patchwork
CI✗ CI.checkpatch: warning for drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
In reply to Anoop, Vijay== Series Details ==
== Series Details ==
Series: drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
URL : https://patchwork.freedesktop.org/series/159554/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 9f1cb6875f3f9eb0925ed50c16100322a2df513c
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6e59aac0d600a53ce9e42ea15f8a74b2bd5392bc
Author: Anoop Vijay <[email protected]> Date: Thu Jan 8 04:05:54 2026 -0800
drm/xe/sysctrl: Enable System Controller for Xe3p
Add PCI device detection for System Controller capability and update build system to include System Controller components.
+ /mt/dim checkpatch d7d19ebd62e1a312e67f4484df9a4e2b407d93d0 drm-intel 588a5adf1526 drm/xe/sysctrl: Add System Controller register definitions
-:12: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #12:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 44 lines checkedae84cd94612d drm/xe/sysctrl: Add System Controller types and structures
-:12: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #12:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 94 lines checked99a0be82de84 drm/xe/sysctrl: Add System Controller mailbox implementation
-:21: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #21:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 429 lines checkedec46e6d1b551 drm/xe/sysctrl: Add System Controller initialization
-:14: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #14:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 83 lines checked 879d6a493e1e drm/xe/sysctrl: Integrate System Controller into device 6e59aac0d600 drm/xe/sysctrl: Enable System Controller for Xe3p
Patchwork
CI✓ CI.KUnit: success for drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
In reply to Anoop, Vijay== Series Details ==
== Series Details ==
Series: drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
URL : https://patchwork.freedesktop.org/series/159554/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [12:29:29] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [12:29:33] 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 [12:30:04] Starting KUnit Kernel (1/1)... [12:30:04] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:30:05] ================== guc_buf (11 subtests) =================== [12:30:05] [PASSED] test_smallest [12:30:05] [PASSED] test_largest [12:30:05] [PASSED] test_granular [12:30:05] [PASSED] test_unique [12:30:05] [PASSED] test_overlap [12:30:05] [PASSED] test_reusable [12:30:05] [PASSED] test_too_big [12:30:05] [PASSED] test_flush [12:30:05] [PASSED] test_lookup [12:30:05] [PASSED] test_data [12:30:05] [PASSED] test_class [12:30:05] ===================== [PASSED] guc_buf ===================== [12:30:05] =================== guc_dbm (7 subtests) =================== [12:30:05] [PASSED] test_empty [12:30:05] [PASSED] test_default [12:30:05] ======================== test_size ======================== [12:30:05] [PASSED] 4 [12:30:05] [PASSED] 8 [12:30:05] [PASSED] 32 [12:30:05] [PASSED] 256 [12:30:05] ==================== [PASSED] test_size ==================== [12:30:05] ======================= test_reuse ======================== [12:30:05] [PASSED] 4 [12:30:05] [PASSED] 8 [12:30:05] [PASSED] 32 [12:30:05] [PASSED] 256 [12:30:05] =================== [PASSED] test_reuse ==================== [12:30:05] =================== test_range_overlap ==================== [12:30:05] [PASSED] 4 [12:30:05] [PASSED] 8 [12:30:05] [PASSED] 32 [12:30:05] [PASSED] 256 [12:30:05] =============== [PASSED] test_range_overlap ================ [12:30:05] =================== test_range_compact ==================== [12:30:05] [PASSED] 4 [12:30:05] [PASSED] 8 [12:30:05] [PASSED] 32 [12:30:05] [PASSED] 256 [12:30:05] =============== [PASSED] test_range_compact ================ [12:30:05] ==================== test_range_spare ===================== [12:30:05] [PASSED] 4 [12:30:05] [PASSED] 8 [12:30:05] [PASSED] 32 [12:30:05] [PASSED] 256 [12:30:05] ================ [PASSED] test_range_spare ================= [12:30:05] ===================== [PASSED] guc_dbm ===================== [12:30:05] =================== guc_idm (6 subtests) =================== [12:30:05] [PASSED] bad_init [12:30:05] [PASSED] no_init [12:30:05] [PASSED] init_fini [12:30:05] [PASSED] check_used [12:30:05] [PASSED] check_quota [12:30:05] [PASSED] check_all [12:30:05] ===================== [PASSED] guc_idm ===================== [12:30:05] ================== no_relay (3 subtests) =================== [12:30:05] [PASSED] xe_drops_guc2pf_if_not_ready [12:30:05] [PASSED] xe_drops_guc2vf_if_not_ready [12:30:05] [PASSED] xe_rejects_send_if_not_ready [12:30:05] ==================== [PASSED] no_relay ===================== [12:30:05] ================== pf_relay (14 subtests) ================== [12:30:05] [PASSED] pf_rejects_guc2pf_too_short [12:30:05] [PASSED] pf_rejects_guc2pf_too_long [12:30:05] [PASSED] pf_rejects_guc2pf_no_payload [12:30:05] [PASSED] pf_fails_no_payload [12:30:05] [PASSED] pf_fails_bad_origin [12:30:05] [PASSED] pf_fails_bad_type [12:30:05] [PASSED] pf_txn_reports_error [12:30:05] [PASSED] pf_txn_sends_pf2guc [12:30:05] [PASSED] pf_sends_pf2guc [12:30:05] [SKIPPED] pf_loopback_nop [12:30:05] [SKIPPED] pf_loopback_echo [12:30:05] [SKIPPED] pf_loopback_fail [12:30:05] [SKIPPED] pf_loopback_busy [12:30:05] [SKIPPED] pf_loopback_retry [12:30:05] ==================== [PASSED] pf_relay ===================== [12:30:05] ================== vf_relay (3 subtests) =================== [12:30:05] [PASSED] vf_rejects_guc2vf_too_short [12:30:05] [PASSED] vf_rejects_guc2vf_too_long [12:30:05] [PASSED] vf_rejects_guc2vf_no_payload [12:30:05] ==================== [PASSED] vf_relay ===================== [12:30:05] ================ pf_gt_config (6 subtests) ================= [12:30:05] [PASSED] fair_contexts_1vf [12:30:05] [PASSED] fair_doorbells_1vf [12:30:05] [PASSED] fair_ggtt_1vf [12:30:05] ====================== fair_contexts ====================== [12:30:05] [PASSED] 1 VF [12:30:05] [PASSED] 2 VFs [12:30:05] [PASSED] 3 VFs [12:30:05] [PASSED] 4 VFs [12:30:05] [PASSED] 5 VFs [12:30:05] [PASSED] 6 VFs [12:30:05] [PASSED] 7 VFs [12:30:05] [PASSED] 8 VFs [12:30:05] [PASSED] 9 VFs [12:30:05] [PASSED] 10 VFs [12:30:05] [PASSED] 11 VFs [12:30:05] [PASSED] 12 VFs [12:30:05] [PASSED] 13 VFs [12:30:05] [PASSED] 14 VFs [12:30:05] [PASSED] 15 VFs [12:30:05] [PASSED] 16 VFs [12:30:05] [PASSED] 17 VFs [12:30:05] [PASSED] 18 VFs [12:30:05] [PASSED] 19 VFs [12:30:05] [PASSED] 20 VFs [12:30:05] [PASSED] 21 VFs [12:30:05] [PASSED] 22 VFs [12:30:05] [PASSED] 23 VFs [12:30:05] [PASSED] 24 VFs [12:30:05] [PASSED] 25 VFs [12:30:05] [PASSED] 26 VFs [12:30:05] [PASSED] 27 VFs [12:30:05] [PASSED] 28 VFs [12:30:05] [PASSED] 29 VFs [12:30:05] [PASSED] 30 VFs [12:30:05] [PASSED] 31 VFs [12:30:05] [PASSED] 32 VFs [12:30:05] [PASSED] 33 VFs [12:30:05] [PASSED] 34 VFs [12:30:05] [PASSED] 35 VFs [12:30:05] [PASSED] 36 VFs [12:30:05] [PASSED] 37 VFs [12:30:05] [PASSED] 38 VFs [12:30:05] [PASSED] 39 VFs [12:30:05] [PASSED] 40 VFs [12:30:05] [PASSED] 41 VFs [12:30:05] [PASSED] 42 VFs [12:30:05] [PASSED] 43 VFs [12:30:05] [PASSED] 44 VFs [12:30:05] [PASSED] 45 VFs [12:30:05] [PASSED] 46 VFs [12:30:05] [PASSED] 47 VFs [12:30:05] [PASSED] 48 VFs [12:30:05] [PASSED] 49 VFs [12:30:05] [PASSED] 50 VFs [12:30:05] [PASSED] 51 VFs [12:30:05] [PASSED] 52 VFs [12:30:05] [PASSED] 53 VFs [12:30:05] [PASSED] 54 VFs [12:30:05] [PASSED] 55 VFs [12:30:05] [PASSED] 56 VFs [12:30:05] [PASSED] 57 VFs [12:30:05] [PASSED] 58 VFs [12:30:05] [PASSED] 59 VFs [12:30:05] [PASSED] 60 VFs [12:30:05] [PASSED] 61 VFs [12:30:05] [PASSED] 62 VFs [12:30:05] [PASSED] 63 VFs [12:30:05] ================== [PASSED] fair_contexts ================== [12:30:05] ===================== fair_doorbells ====================== [12:30:05] [PASSED] 1 VF [12:30:05] [PASSED] 2 VFs [12:30:05] [PASSED] 3 VFs [12:30:05] [PASSED] 4 VFs [12:30:05] [PASSED] 5 VFs [12:30:05] [PASSED] 6 VFs [12:30:05] [PASSED] 7 VFs [12:30:05] [PASSED] 8 VFs [12:30:05] [PASSED] 9 VFs [12:30:05] [PASSED] 10 VFs [12:30:05] [PASSED] 11 VFs [12:30:05] [PASSED] 12 VFs [12:30:05] [PASSED] 13 VFs [12:30:05] [PASSED] 14 VFs [12:30:05] [PASSED] 15 VFs [12:30:05] [PASSED] 16 VFs [12:30:05] [PASSED] 17 VFs [12:30:05] [PASSED] 18 VFs [12:30:05] [PASSED] 19 VFs [12:30:05] [PASSED] 20 VFs [12:30:05] [PASSED] 21 VFs [12:30:05] [PASSED] 22 VFs [12:30:05] [PASSED] 23 VFs [12:30:05] [PASSED] 24 VFs [12:30:05] [PASSED] 25 VFs [12:30:05] [PASSED] 26 VFs [12:30:05] [PASSED] 27 VFs [12:30:05] [PASSED] 28 VFs [12:30:05] [PASSED] 29 VFs [12:30:05] [PASSED] 30 VFs [12:30:05] [PASSED] 31 VFs [12:30:05] [PASSED] 32 VFs [12:30:05] [PASSED] 33 VFs [12:30:05] [PASSED] 34 VFs [12:30:05] [PASSED] 35 VFs [12:30:05] [PASSED] 36 VFs [12:30:05] [PASSED] 37 VFs [12:30:05] [PASSED] 38 VFs [12:30:05] [PASSED] 39 VFs [12:30:05] [PASSED] 40 VFs [12:30:05] [PASSED] 41 VFs [12:30:05] [PASSED] 42 VFs [12:30:05] [PASSED] 43 VFs [12:30:05] [PASSED] 44 VFs [12:30:05] [PASSED] 45 VFs [12:30:05] [PASSED] 46 VFs [12:30:05] [PASSED] 47 VFs [12:30:05] [PASSED] 48 VFs [12:30:05] [PASSED] 49 VFs [12:30:05] [PASSED] 50 VFs [12:30:05] [PASSED] 51 VFs [12:30:05] [PASSED] 52 VFs [12:30:05] [PASSED] 53 VFs [12:30:05] [PASSED] 54 VFs [12:30:05] [PASSED] 55 VFs [12:30:05] [PASSED] 56 VFs [12:30:05] [PASSED] 57 VFs [12:30:05] [PASSED] 58 VFs [12:30:05] [PASSED] 59 VFs [12:30:05] [PASSED] 60 VFs [12:30:05] [PASSED] 61 VFs [12:30:05] [PASSED] 62 VFs [12:30:05] [PASSED] 63 VFs [12:30:05] ================= [PASSED] fair_doorbells ================== [12:30:05] ======================== fair_ggtt ======================== [12:30:05] [PASSED] 1 VF [12:30:05] [PASSED] 2 VFs [12:30:05] [PASSED] 3 VFs [12:30:05] [PASSED] 4 VFs [12:30:05] [PASSED] 5 VFs [12:30:05] [PASSED] 6 VFs [12:30:05] [PASSED] 7 VFs [12:30:05] [PASSED] 8 VFs [12:30:05] [PASSED] 9 VFs [12:30:05] [PASSED] 10 VFs [12:30:05] [PASSED] 11 VFs [12:30:05] [PASSED] 12 VFs [12:30:05] [PASSED] 13 VFs [12:30:05] [PASSED] 14 VFs [12:30:05] [PASSED] 15 VFs [12:30:05] [PASSED] 16 VFs [12:30:05] [PASSED] 17 VFs [12:30:05] [PASSED] 18 VFs [12:30:05] [PASSED] 19 VFs [12:30:05] [PASSED] 20 VFs [12:30:05] [PASSED] 21 VFs [12:30:05] [PASSED] 22 VFs [12:30:05] [PASSED] 23 VFs [12:30:05] [PASSED] 24 VFs [12:30:05] [PASSED] 25 VFs [12:30:05] [PASSED] 26 VFs [12:30:05] [PASSED] 27 VFs [12:30:05] [PASSED] 28 VFs [12:30:05] [PASSED] 29 VFs [12:30:05] [PASSED] 30 VFs [12:30:05] [PASSED] 31 VFs [12:30:05] [PASSED] 32 VFs [12:30:05] [PASSED] 33 VFs [12:30:05] [PASSED] 34 VFs [12:30:05] [PASSED] 35 VFs [12:30:05] [PASSED] 36 VFs [12:30:05] [PASSED] 37 VFs [12:30:05] [PASSED] 38 VFs [12:30:05] [PASSED] 39 VFs [12:30:05] [PASSED] 40 VFs [12:30:05] [PASSED] 41 VFs [12:30:05] [PASSED] 42 VFs [12:30:05] [PASSED] 43 VFs [12:30:05] [PASSED] 44 VFs [12:30:05] [PASSED] 45 VFs [12:30:05] [PASSED] 46 VFs [12:30:05] [PASSED] 47 VFs [12:30:05] [PASSED] 48 VFs [12:30:05] [PASSED] 49 VFs [12:30:05] [PASSED] 50 VFs [12:30:05] [PASSED] 51 VFs [12:30:05] [PASSED] 52 VFs [12:30:05] [PASSED] 53 VFs [12:30:05] [PASSED] 54 VFs [12:30:05] [PASSED] 55 VFs [12:30:05] [PASSED] 56 VFs [12:30:05] [PASSED] 57 VFs [12:30:05] [PASSED] 58 VFs [12:30:05] [PASSED] 59 VFs [12:30:05] [PASSED] 60 VFs [12:30:05] [PASSED] 61 VFs [12:30:05] [PASSED] 62 VFs [12:30:05] [PASSED] 63 VFs [12:30:05] ==================== [PASSED] fair_ggtt ==================== [12:30:05] ================== [PASSED] pf_gt_config =================== [12:30:05] ===================== lmtt (1 subtest) ===================== [12:30:05] ======================== test_ops ========================= [12:30:05] [PASSED] 2-level [12:30:05] [PASSED] multi-level [12:30:05] ==================== [PASSED] test_ops ===================== [12:30:05] ====================== [PASSED] lmtt ======================= [12:30:05] ================= pf_service (11 subtests) ================= [12:30:05] [PASSED] pf_negotiate_any [12:30:05] [PASSED] pf_negotiate_base_match [12:30:05] [PASSED] pf_negotiate_base_newer [12:30:05] [PASSED] pf_negotiate_base_next [12:30:05] [SKIPPED] pf_negotiate_base_older [12:30:05] [PASSED] pf_negotiate_base_prev [12:30:05] [PASSED] pf_negotiate_latest_match [12:30:05] [PASSED] pf_negotiate_latest_newer [12:30:05] [PASSED] pf_negotiate_latest_next [12:30:05] [SKIPPED] pf_negotiate_latest_older [12:30:05] [SKIPPED] pf_negotiate_latest_prev [12:30:05] =================== [PASSED] pf_service ==================== [12:30:05] ================= xe_guc_g2g (2 subtests) ================== [12:30:05] ============== xe_live_guc_g2g_kunit_default ============== [12:30:05] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [12:30:05] ============== xe_live_guc_g2g_kunit_allmem =============== [12:30:05] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [12:30:05] =================== [SKIPPED] xe_guc_g2g =================== [12:30:05] =================== xe_mocs (2 subtests) =================== [12:30:05] ================ xe_live_mocs_kernel_kunit ================ [12:30:05] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [12:30:05] ================ xe_live_mocs_reset_kunit ================= [12:30:05] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [12:30:05] ==================== [SKIPPED] xe_mocs ===================== [12:30:05] ================= xe_migrate (2 subtests) ================== [12:30:05] ================= xe_migrate_sanity_kunit ================= [12:30:05] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [12:30:05] ================== xe_validate_ccs_kunit ================== [12:30:05] ============= [SKIPPED] xe_validate_ccs_kunit ============== [12:30:05] =================== [SKIPPED] xe_migrate =================== [12:30:05] ================== xe_dma_buf (1 subtest) ================== [12:30:05] ==================== xe_dma_buf_kunit ===================== [12:30:05] ================ [SKIPPED] xe_dma_buf_kunit ================ [12:30:05] =================== [SKIPPED] xe_dma_buf =================== [12:30:05] ================= xe_bo_shrink (1 subtest) ================= [12:30:05] =================== xe_bo_shrink_kunit ==================== [12:30:05] =============== [SKIPPED] xe_bo_shrink_kunit =============== [12:30:05] ================== [SKIPPED] xe_bo_shrink ================== [12:30:05] ==================== xe_bo (2 subtests) ==================== [12:30:05] ================== xe_ccs_migrate_kunit =================== [12:30:05] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [12:30:05] ==================== xe_bo_evict_kunit ==================== [12:30:05] =============== [SKIPPED] xe_bo_evict_kunit ================ [12:30:05] ===================== [SKIPPED] xe_bo ====================== [12:30:05] ==================== args (13 subtests) ==================== [12:30:05] [PASSED] count_args_test [12:30:05] [PASSED] call_args_example [12:30:05] [PASSED] call_args_test [12:30:05] [PASSED] drop_first_arg_example [12:30:05] [PASSED] drop_first_arg_test [12:30:05] [PASSED] first_arg_example [12:30:05] [PASSED] first_arg_test [12:30:05] [PASSED] last_arg_example [12:30:05] [PASSED] last_arg_test [12:30:05] [PASSED] pick_arg_example [12:30:05] [PASSED] if_args_example [12:30:05] [PASSED] if_args_test [12:30:05] [PASSED] sep_comma_example [12:30:05] ====================== [PASSED] args ======================= [12:30:05] =================== xe_pci (3 subtests) ==================== [12:30:05] ==================== check_graphics_ip ==================== [12:30:05] [PASSED] 12.00 Xe_LP [12:30:05] [PASSED] 12.10 Xe_LP+ [12:30:05] [PASSED] 12.55 Xe_HPG [12:30:05] [PASSED] 12.60 Xe_HPC [12:30:05] [PASSED] 12.70 Xe_LPG [12:30:05] [PASSED] 12.71 Xe_LPG [12:30:05] [PASSED] 12.74 Xe_LPG+ [12:30:05] [PASSED] 20.01 Xe2_HPG [12:30:05] [PASSED] 20.02 Xe2_HPG [12:30:05] [PASSED] 20.04 Xe2_LPG [12:30:05] [PASSED] 30.00 Xe3_LPG [12:30:05] [PASSED] 30.01 Xe3_LPG [12:30:05] [PASSED] 30.03 Xe3_LPG [12:30:05] [PASSED] 30.04 Xe3_LPG [12:30:05] [PASSED] 30.05 Xe3_LPG [12:30:05] [PASSED] 35.11 Xe3p_XPC [12:30:05] ================ [PASSED] check_graphics_ip ================ [12:30:05] ===================== check_media_ip ====================== [12:30:05] [PASSED] 12.00 Xe_M [12:30:05] [PASSED] 12.55 Xe_HPM [12:30:05] [PASSED] 13.00 Xe_LPM+ [12:30:05] [PASSED] 13.01 Xe2_HPM [12:30:05] [PASSED] 20.00 Xe2_LPM [12:30:05] [PASSED] 30.00 Xe3_LPM [12:30:05] [PASSED] 30.02 Xe3_LPM [12:30:05] [PASSED] 35.00 Xe3p_LPM [12:30:05] [PASSED] 35.03 Xe3p_HPM [12:30:05] ================= [PASSED] check_media_ip ================== [12:30:05] =================== check_platform_desc =================== [12:30:05] [PASSED] 0x9A60 (TIGERLAKE) [12:30:05] [PASSED] 0x9A68 (TIGERLAKE) [12:30:05] [PASSED] 0x9A70 (TIGERLAKE) [12:30:05] [PASSED] 0x9A40 (TIGERLAKE) [12:30:05] [PASSED] 0x9A49 (TIGERLAKE) [12:30:05] [PASSED] 0x9A59 (TIGERLAKE) [12:30:05] [PASSED] 0x9A78 (TIGERLAKE) [12:30:05] [PASSED] 0x9AC0 (TIGERLAKE) [12:30:05] [PASSED] 0x9AC9 (TIGERLAKE) [12:30:05] [PASSED] 0x9AD9 (TIGERLAKE) [12:30:05] [PASSED] 0x9AF8 (TIGERLAKE) [12:30:05] [PASSED] 0x4C80 (ROCKETLAKE) [12:30:05] [PASSED] 0x4C8A (ROCKETLAKE) [12:30:05] [PASSED] 0x4C8B (ROCKETLAKE) [12:30:05] [PASSED] 0x4C8C (ROCKETLAKE) [12:30:05] [PASSED] 0x4C90 (ROCKETLAKE) [12:30:05] [PASSED] 0x4C9A (ROCKETLAKE) [12:30:05] [PASSED] 0x4680 (ALDERLAKE_S) [12:30:05] [PASSED] 0x4682 (ALDERLAKE_S) [12:30:05] [PASSED] 0x4688 (ALDERLAKE_S) [12:30:05] [PASSED] 0x468A (ALDERLAKE_S) [12:30:05] [PASSED] 0x468B (ALDERLAKE_S) [12:30:05] [PASSED] 0x4690 (ALDERLAKE_S) [12:30:05] [PASSED] 0x4692 (ALDERLAKE_S) [12:30:05] [PASSED] 0x4693 (ALDERLAKE_S) [12:30:05] [PASSED] 0x46A0 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46A1 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46A2 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46A3 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46A6 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46A8 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46AA (ALDERLAKE_P) [12:30:05] [PASSED] 0x462A (ALDERLAKE_P) [12:30:05] [PASSED] 0x4626 (ALDERLAKE_P) [12:30:05] [PASSED] 0x4628 (ALDERLAKE_P) stty: 'standard input': Inappropriate ioctl for device [12:30:05] [PASSED] 0x46B0 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46B1 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46B2 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46B3 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46C0 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46C1 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46C2 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46C3 (ALDERLAKE_P) [12:30:05] [PASSED] 0x46D0 (ALDERLAKE_N) [12:30:05] [PASSED] 0x46D1 (ALDERLAKE_N) [12:30:05] [PASSED] 0x46D2 (ALDERLAKE_N) [12:30:05] [PASSED] 0x46D3 (ALDERLAKE_N) [12:30:05] [PASSED] 0x46D4 (ALDERLAKE_N) [12:30:05] [PASSED] 0xA721 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7A1 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7A9 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7AC (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7AD (ALDERLAKE_P) [12:30:05] [PASSED] 0xA720 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7A0 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7A8 (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7AA (ALDERLAKE_P) [12:30:05] [PASSED] 0xA7AB (ALDERLAKE_P) [12:30:05] [PASSED] 0xA780 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA781 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA782 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA783 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA788 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA789 (ALDERLAKE_S) [12:30:05] [PASSED] 0xA78A (ALDERLAKE_S) [12:30:05] [PASSED] 0xA78B (ALDERLAKE_S) [12:30:05] [PASSED] 0x4905 (DG1) [12:30:05] [PASSED] 0x4906 (DG1) [12:30:05] [PASSED] 0x4907 (DG1) [12:30:05] [PASSED] 0x4908 (DG1) [12:30:05] [PASSED] 0x4909 (DG1) [12:30:05] [PASSED] 0x56C0 (DG2) [12:30:05] [PASSED] 0x56C2 (DG2) [12:30:05] [PASSED] 0x56C1 (DG2) [12:30:05] [PASSED] 0x7D51 (METEORLAKE) [12:30:05] [PASSED] 0x7DD1 (METEORLAKE) [12:30:05] [PASSED] 0x7D41 (METEORLAKE) [12:30:05] [PASSED] 0x7D67 (METEORLAKE) [12:30:05] [PASSED] 0xB640 (METEORLAKE) [12:30:05] [PASSED] 0x56A0 (DG2) [12:30:05] [PASSED] 0x56A1 (DG2) [12:30:05] [PASSED] 0x56A2 (DG2) [12:30:05] [PASSED] 0x56BE (DG2) [12:30:05] [PASSED] 0x56BF (DG2) [12:30:05] [PASSED] 0x5690 (DG2) [12:30:05] [PASSED] 0x5691 (DG2) [12:30:05] [PASSED] 0x5692 (DG2) [12:30:05] [PASSED] 0x56A5 (DG2) [12:30:05] [PASSED] 0x56A6 (DG2) [12:30:05] [PASSED] 0x56B0 (DG2) [12:30:05] [PASSED] 0x56B1 (DG2) [12:30:05] [PASSED] 0x56BA (DG2) [12:30:05] [PASSED] 0x56BB (DG2) [12:30:05] [PASSED] 0x56BC (DG2) [12:30:05] [PASSED] 0x56BD (DG2) [12:30:05] [PASSED] 0x5693 (DG2) [12:30:05] [PASSED] 0x5694 (DG2) [12:30:05] [PASSED] 0x5695 (DG2) [12:30:05] [PASSED] 0x56A3 (DG2) [12:30:05] [PASSED] 0x56A4 (DG2) [12:30:05] [PASSED] 0x56B2 (DG2) [12:30:05] [PASSED] 0x56B3 (DG2) [12:30:05] [PASSED] 0x5696 (DG2) [12:30:05] [PASSED] 0x5697 (DG2) [12:30:05] [PASSED] 0xB69 (PVC) [12:30:05] [PASSED] 0xB6E (PVC) [12:30:05] [PASSED] 0xBD4 (PVC) [12:30:05] [PASSED] 0xBD5 (PVC) [12:30:05] [PASSED] 0xBD6 (PVC) [12:30:05] [PASSED] 0xBD7 (PVC) [12:30:05] [PASSED] 0xBD8 (PVC) [12:30:05] [PASSED] 0xBD9 (PVC) [12:30:05] [PASSED] 0xBDA (PVC) [12:30:05] [PASSED] 0xBDB (PVC) [12:30:05] [PASSED] 0xBE0 (PVC) [12:30:05] [PASSED] 0xBE1 (PVC) [12:30:05] [PASSED] 0xBE5 (PVC) [12:30:05] [PASSED] 0x7D40 (METEORLAKE) [12:30:05] [PASSED] 0x7D45 (METEORLAKE) [12:30:05] [PASSED] 0x7D55 (METEORLAKE) [12:30:05] [PASSED] 0x7D60 (METEORLAKE) [12:30:05] [PASSED] 0x7DD5 (METEORLAKE) [12:30:05] [PASSED] 0x6420 (LUNARLAKE) [12:30:05] [PASSED] 0x64A0 (LUNARLAKE) [12:30:05] [PASSED] 0x64B0 (LUNARLAKE) [12:30:05] [PASSED] 0xE202 (BATTLEMAGE) [12:30:05] [PASSED] 0xE209 (BATTLEMAGE) [12:30:05] [PASSED] 0xE20B (BATTLEMAGE) [12:30:05] [PASSED] 0xE20C (BATTLEMAGE) [12:30:05] [PASSED] 0xE20D (BATTLEMAGE) [12:30:05] [PASSED] 0xE210 (BATTLEMAGE) [12:30:05] [PASSED] 0xE211 (BATTLEMAGE) [12:30:05] [PASSED] 0xE212 (BATTLEMAGE) [12:30:05] [PASSED] 0xE216 (BATTLEMAGE) [12:30:05] [PASSED] 0xE220 (BATTLEMAGE) [12:30:05] [PASSED] 0xE221 (BATTLEMAGE) [12:30:05] [PASSED] 0xE222 (BATTLEMAGE) [12:30:05] [PASSED] 0xE223 (BATTLEMAGE) [12:30:05] [PASSED] 0xB080 (PANTHERLAKE) [12:30:05] [PASSED] 0xB081 (PANTHERLAKE) [12:30:05] [PASSED] 0xB082 (PANTHERLAKE) [12:30:05] [PASSED] 0xB083 (PANTHERLAKE) [12:30:05] [PASSED] 0xB084 (PANTHERLAKE) [12:30:05] [PASSED] 0xB085 (PANTHERLAKE) [12:30:05] [PASSED] 0xB086 (PANTHERLAKE) [12:30:05] [PASSED] 0xB087 (PANTHERLAKE) [12:30:05] [PASSED] 0xB08F (PANTHERLAKE) [12:30:05] [PASSED] 0xB090 (PANTHERLAKE) [12:30:05] [PASSED] 0xB0A0 (PANTHERLAKE) [12:30:05] [PASSED] 0xB0B0 (PANTHERLAKE) [12:30:05] [PASSED] 0xFD80 (PANTHERLAKE) [12:30:05] [PASSED] 0xFD81 (PANTHERLAKE) [12:30:05] [PASSED] 0xD740 (NOVALAKE_S) [12:30:05] [PASSED] 0xD741 (NOVALAKE_S) [12:30:05] [PASSED] 0xD742 (NOVALAKE_S) [12:30:05] [PASSED] 0xD743 (NOVALAKE_S) [12:30:05] [PASSED] 0xD744 (NOVALAKE_S) [12:30:05] [PASSED] 0xD745 (NOVALAKE_S) [12:30:05] [PASSED] 0x674C (CRESCENTISLAND) [12:30:05] =============== [PASSED] check_platform_desc =============== [12:30:05] ===================== [PASSED] xe_pci ====================== [12:30:05] =================== xe_rtp (2 subtests) ==================== [12:30:05] =============== xe_rtp_process_to_sr_tests ================ [12:30:05] [PASSED] coalesce-same-reg [12:30:05] [PASSED] no-match-no-add [12:30:05] [PASSED] match-or [12:30:05] [PASSED] match-or-xfail [12:30:05] [PASSED] no-match-no-add-multiple-rules [12:30:05] [PASSED] two-regs-two-entries [12:30:05] [PASSED] clr-one-set-other [12:30:05] [PASSED] set-field [12:30:05] [PASSED] conflict-duplicate [12:30:05] [PASSED] conflict-not-disjoint [12:30:05] [PASSED] conflict-reg-type [12:30:05] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [12:30:05] ================== xe_rtp_process_tests =================== [12:30:05] [PASSED] active1 [12:30:05] [PASSED] active2 [12:30:05] [PASSED] active-inactive [12:30:05] [PASSED] inactive-active [12:30:05] [PASSED] inactive-1st_or_active-inactive [12:30:05] [PASSED] inactive-2nd_or_active-inactive [12:30:05] [PASSED] inactive-last_or_active-inactive [12:30:05] [PASSED] inactive-no_or_active-inactive [12:30:05] ============== [PASSED] xe_rtp_process_tests =============== [12:30:05] ===================== [PASSED] xe_rtp ====================== [12:30:05] ==================== xe_wa (1 subtest) ===================== [12:30:05] ======================== xe_wa_gt ========================= [12:30:05] [PASSED] TIGERLAKE B0 [12:30:05] [PASSED] DG1 A0 [12:30:05] [PASSED] DG1 B0 [12:30:05] [PASSED] ALDERLAKE_S A0 [12:30:05] [PASSED] ALDERLAKE_S B0 [12:30:05] [PASSED] ALDERLAKE_S C0 [12:30:05] [PASSED] ALDERLAKE_S D0 [12:30:05] [PASSED] ALDERLAKE_P A0 [12:30:05] [PASSED] ALDERLAKE_P B0 [12:30:05] [PASSED] ALDERLAKE_P C0 [12:30:05] [PASSED] ALDERLAKE_S RPLS D0 [12:30:05] [PASSED] ALDERLAKE_P RPLU E0 [12:30:05] [PASSED] DG2 G10 C0 [12:30:05] [PASSED] DG2 G11 B1 [12:30:05] [PASSED] DG2 G12 A1 [12:30:05] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [12:30:05] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [12:30:05] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [12:30:05] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [12:30:05] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [12:30:05] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [12:30:05] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [12:30:05] ==================== [PASSED] xe_wa_gt ===================== [12:30:05] ====================== [PASSED] xe_wa ====================== [12:30:05] ============================================================ [12:30:05] Testing complete. Ran 512 tests: passed: 494, skipped: 18 [12:30:05] Elapsed time: 36.257s total, 4.128s configuring, 31.660s building, 0.456s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [12:30:05] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [12:30:07] 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 [12:30:32] Starting KUnit Kernel (1/1)... [12:30:32] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:30:32] ============ drm_test_pick_cmdline (2 subtests) ============ [12:30:32] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [12:30:32] =============== drm_test_pick_cmdline_named =============== [12:30:32] [PASSED] NTSC [12:30:32] [PASSED] NTSC-J [12:30:32] [PASSED] PAL [12:30:32] [PASSED] PAL-M [12:30:32] =========== [PASSED] drm_test_pick_cmdline_named =========== [12:30:32] ============== [PASSED] drm_test_pick_cmdline ============== [12:30:32] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [12:30:32] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [12:30:32] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [12:30:32] =========== drm_validate_clone_mode (2 subtests) =========== [12:30:32] ============== drm_test_check_in_clone_mode =============== [12:30:32] [PASSED] in_clone_mode [12:30:32] [PASSED] not_in_clone_mode [12:30:32] ========== [PASSED] drm_test_check_in_clone_mode =========== [12:30:32] =============== drm_test_check_valid_clones =============== [12:30:32] [PASSED] not_in_clone_mode [12:30:32] [PASSED] valid_clone [12:30:32] [PASSED] invalid_clone [12:30:32] =========== [PASSED] drm_test_check_valid_clones =========== [12:30:32] ============= [PASSED] drm_validate_clone_mode ============= [12:30:32] ============= drm_validate_modeset (1 subtest) ============= [12:30:32] [PASSED] drm_test_check_connector_changed_modeset [12:30:32] ============== [PASSED] drm_validate_modeset =============== [12:30:32] ====== drm_test_bridge_get_current_state (2 subtests) ====== [12:30:32] [PASSED] drm_test_drm_bridge_get_current_state_atomic [12:30:32] [PASSED] drm_test_drm_bridge_get_current_state_legacy [12:30:32] ======== [PASSED] drm_test_bridge_get_current_state ======== [12:30:32] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [12:30:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [12:30:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [12:30:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [12:30:32] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [12:30:32] ============== drm_bridge_alloc (2 subtests) =============== [12:30:32] [PASSED] drm_test_drm_bridge_alloc_basic [12:30:32] [PASSED] drm_test_drm_bridge_alloc_get_put [12:30:32] ================ [PASSED] drm_bridge_alloc ================= [12:30:32] ================== drm_buddy (8 subtests) ================== [12:30:32] [PASSED] drm_test_buddy_alloc_limit [12:30:32] [PASSED] drm_test_buddy_alloc_optimistic [12:30:32] [PASSED] drm_test_buddy_alloc_pessimistic [12:30:32] [PASSED] drm_test_buddy_alloc_pathological [12:30:32] [PASSED] drm_test_buddy_alloc_contiguous [12:30:32] [PASSED] drm_test_buddy_alloc_clear [12:30:32] [PASSED] drm_test_buddy_alloc_range_bias [12:30:32] [PASSED] drm_test_buddy_fragmentation_performance [12:30:32] ==================== [PASSED] drm_buddy ==================== [12:30:32] ============= drm_cmdline_parser (40 subtests) ============= [12:30:32] [PASSED] drm_test_cmdline_force_d_only [12:30:32] [PASSED] drm_test_cmdline_force_D_only_dvi [12:30:32] [PASSED] drm_test_cmdline_force_D_only_hdmi [12:30:32] [PASSED] drm_test_cmdline_force_D_only_not_digital [12:30:32] [PASSED] drm_test_cmdline_force_e_only [12:30:32] [PASSED] drm_test_cmdline_res [12:30:32] [PASSED] drm_test_cmdline_res_vesa [12:30:32] [PASSED] drm_test_cmdline_res_vesa_rblank [12:30:32] [PASSED] drm_test_cmdline_res_rblank [12:30:32] [PASSED] drm_test_cmdline_res_bpp [12:30:32] [PASSED] drm_test_cmdline_res_refresh [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [12:30:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [12:30:32] [PASSED] drm_test_cmdline_res_margins_force_on [12:30:32] [PASSED] drm_test_cmdline_res_vesa_margins [12:30:32] [PASSED] drm_test_cmdline_name [12:30:32] [PASSED] drm_test_cmdline_name_bpp [12:30:32] [PASSED] drm_test_cmdline_name_option [12:30:32] [PASSED] drm_test_cmdline_name_bpp_option [12:30:32] [PASSED] drm_test_cmdline_rotate_0 [12:30:32] [PASSED] drm_test_cmdline_rotate_90 [12:30:32] [PASSED] drm_test_cmdline_rotate_180 [12:30:32] [PASSED] drm_test_cmdline_rotate_270 [12:30:32] [PASSED] drm_test_cmdline_hmirror [12:30:32] [PASSED] drm_test_cmdline_vmirror [12:30:32] [PASSED] drm_test_cmdline_margin_options [12:30:32] [PASSED] drm_test_cmdline_multiple_options [12:30:32] [PASSED] drm_test_cmdline_bpp_extra_and_option [12:30:32] [PASSED] drm_test_cmdline_extra_and_option [12:30:32] [PASSED] drm_test_cmdline_freestanding_options [12:30:32] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [12:30:32] [PASSED] drm_test_cmdline_panel_orientation [12:30:32] ================ drm_test_cmdline_invalid ================= [12:30:32] [PASSED] margin_only [12:30:32] [PASSED] interlace_only [12:30:32] [PASSED] res_missing_x [12:30:32] [PASSED] res_missing_y [12:30:32] [PASSED] res_bad_y [12:30:32] [PASSED] res_missing_y_bpp [12:30:32] [PASSED] res_bad_bpp [12:30:32] [PASSED] res_bad_refresh [12:30:32] [PASSED] res_bpp_refresh_force_on_off [12:30:32] [PASSED] res_invalid_mode [12:30:32] [PASSED] res_bpp_wrong_place_mode [12:30:32] [PASSED] name_bpp_refresh [12:30:32] [PASSED] name_refresh [12:30:32] [PASSED] name_refresh_wrong_mode [12:30:32] [PASSED] name_refresh_invalid_mode [12:30:32] [PASSED] rotate_multiple [12:30:32] [PASSED] rotate_invalid_val [12:30:32] [PASSED] rotate_truncated [12:30:32] [PASSED] invalid_option [12:30:32] [PASSED] invalid_tv_option [12:30:32] [PASSED] truncated_tv_option [12:30:32] ============ [PASSED] drm_test_cmdline_invalid ============= [12:30:32] =============== drm_test_cmdline_tv_options =============== [12:30:32] [PASSED] NTSC [12:30:32] [PASSED] NTSC_443 [12:30:32] [PASSED] NTSC_J [12:30:32] [PASSED] PAL [12:30:32] [PASSED] PAL_M [12:30:32] [PASSED] PAL_N [12:30:32] [PASSED] SECAM [12:30:32] [PASSED] MONO_525 [12:30:32] [PASSED] MONO_625 [12:30:32] =========== [PASSED] drm_test_cmdline_tv_options =========== [12:30:32] =============== [PASSED] drm_cmdline_parser ================ [12:30:32] ========== drmm_connector_hdmi_init (20 subtests) ========== [12:30:32] [PASSED] drm_test_connector_hdmi_init_valid [12:30:32] [PASSED] drm_test_connector_hdmi_init_bpc_8 [12:30:32] [PASSED] drm_test_connector_hdmi_init_bpc_10 [12:30:32] [PASSED] drm_test_connector_hdmi_init_bpc_12 [12:30:32] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [12:30:32] [PASSED] drm_test_connector_hdmi_init_bpc_null [12:30:32] [PASSED] drm_test_connector_hdmi_init_formats_empty [12:30:32] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [12:30:32] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [12:30:32] [PASSED] supported_formats=0x9 yuv420_allowed=1 [12:30:32] [PASSED] supported_formats=0x9 yuv420_allowed=0 [12:30:32] [PASSED] supported_formats=0x3 yuv420_allowed=1 [12:30:32] [PASSED] supported_formats=0x3 yuv420_allowed=0 [12:30:32] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [12:30:32] [PASSED] drm_test_connector_hdmi_init_null_ddc [12:30:32] [PASSED] drm_test_connector_hdmi_init_null_product [12:30:32] [PASSED] drm_test_connector_hdmi_init_null_vendor [12:30:32] [PASSED] drm_test_connector_hdmi_init_product_length_exact [12:30:32] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [12:30:32] [PASSED] drm_test_connector_hdmi_init_product_valid [12:30:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [12:30:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [12:30:32] [PASSED] drm_test_connector_hdmi_init_vendor_valid [12:30:32] ========= drm_test_connector_hdmi_init_type_valid ========= [12:30:32] [PASSED] HDMI-A [12:30:32] [PASSED] HDMI-B [12:30:32] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [12:30:32] ======== drm_test_connector_hdmi_init_type_invalid ======== [12:30:32] [PASSED] Unknown [12:30:32] [PASSED] VGA [12:30:32] [PASSED] DVI-I [12:30:32] [PASSED] DVI-D [12:30:32] [PASSED] DVI-A [12:30:32] [PASSED] Composite [12:30:32] [PASSED] SVIDEO [12:30:32] [PASSED] LVDS [12:30:32] [PASSED] Component [12:30:32] [PASSED] DIN [12:30:32] [PASSED] DP [12:30:32] [PASSED] TV [12:30:32] [PASSED] eDP [12:30:32] [PASSED] Virtual [12:30:32] [PASSED] DSI [12:30:32] [PASSED] DPI [12:30:32] [PASSED] Writeback [12:30:32] [PASSED] SPI [12:30:32] [PASSED] USB [12:30:32] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [12:30:32] ============ [PASSED] drmm_connector_hdmi_init ============= [12:30:32] ============= drmm_connector_init (3 subtests) ============= [12:30:32] [PASSED] drm_test_drmm_connector_init [12:30:32] [PASSED] drm_test_drmm_connector_init_null_ddc [12:30:32] ========= drm_test_drmm_connector_init_type_valid ========= [12:30:32] [PASSED] Unknown [12:30:32] [PASSED] VGA [12:30:32] [PASSED] DVI-I [12:30:32] [PASSED] DVI-D [12:30:32] [PASSED] DVI-A [12:30:32] [PASSED] Composite [12:30:32] [PASSED] SVIDEO [12:30:32] [PASSED] LVDS [12:30:32] [PASSED] Component [12:30:32] [PASSED] DIN [12:30:32] [PASSED] DP [12:30:32] [PASSED] HDMI-A [12:30:32] [PASSED] HDMI-B [12:30:32] [PASSED] TV [12:30:32] [PASSED] eDP [12:30:32] [PASSED] Virtual [12:30:32] [PASSED] DSI [12:30:32] [PASSED] DPI [12:30:32] [PASSED] Writeback [12:30:32] [PASSED] SPI [12:30:32] [PASSED] USB [12:30:32] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [12:30:32] =============== [PASSED] drmm_connector_init =============== [12:30:32] ========= drm_connector_dynamic_init (6 subtests) ========== [12:30:32] [PASSED] drm_test_drm_connector_dynamic_init [12:30:32] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [12:30:32] [PASSED] drm_test_drm_connector_dynamic_init_not_added [12:30:32] [PASSED] drm_test_drm_connector_dynamic_init_properties [12:30:32] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [12:30:32] [PASSED] Unknown [12:30:32] [PASSED] VGA [12:30:32] [PASSED] DVI-I [12:30:32] [PASSED] DVI-D [12:30:32] [PASSED] DVI-A [12:30:32] [PASSED] Composite [12:30:32] [PASSED] SVIDEO [12:30:32] [PASSED] LVDS [12:30:32] [PASSED] Component [12:30:32] [PASSED] DIN [12:30:32] [PASSED] DP [12:30:32] [PASSED] HDMI-A [12:30:32] [PASSED] HDMI-B [12:30:32] [PASSED] TV [12:30:32] [PASSED] eDP [12:30:32] [PASSED] Virtual [12:30:32] [PASSED] DSI [12:30:32] [PASSED] DPI [12:30:32] [PASSED] Writeback [12:30:32] [PASSED] SPI [12:30:32] [PASSED] USB [12:30:32] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [12:30:32] ======== drm_test_drm_connector_dynamic_init_name ========= [12:30:32] [PASSED] Unknown [12:30:32] [PASSED] VGA [12:30:32] [PASSED] DVI-I [12:30:32] [PASSED] DVI-D [12:30:32] [PASSED] DVI-A [12:30:32] [PASSED] Composite [12:30:32] [PASSED] SVIDEO [12:30:32] [PASSED] LVDS [12:30:32] [PASSED] Component [12:30:32] [PASSED] DIN [12:30:32] [PASSED] DP [12:30:32] [PASSED] HDMI-A [12:30:32] [PASSED] HDMI-B [12:30:32] [PASSED] TV [12:30:32] [PASSED] eDP [12:30:32] [PASSED] Virtual [12:30:32] [PASSED] DSI [12:30:32] [PASSED] DPI [12:30:32] [PASSED] Writeback [12:30:32] [PASSED] SPI [12:30:32] [PASSED] USB [12:30:32] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [12:30:32] =========== [PASSED] drm_connector_dynamic_init ============ [12:30:32] ==== drm_connector_dynamic_register_early (4 subtests) ===== [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [12:30:32] ====== [PASSED] drm_connector_dynamic_register_early ======= [12:30:32] ======= drm_connector_dynamic_register (7 subtests) ======== [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_on_list [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_no_init [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [12:30:32] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [12:30:32] ========= [PASSED] drm_connector_dynamic_register ========== [12:30:32] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [12:30:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [12:30:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [12:30:32] === [PASSED] drm_connector_attach_broadcast_rgb_property === [12:30:32] ========== drm_get_tv_mode_from_name (2 subtests) ========== [12:30:32] ========== drm_test_get_tv_mode_from_name_valid =========== [12:30:32] [PASSED] NTSC [12:30:32] [PASSED] NTSC-443 [12:30:32] [PASSED] NTSC-J [12:30:32] [PASSED] PAL [12:30:32] [PASSED] PAL-M [12:30:32] [PASSED] PAL-N [12:30:32] [PASSED] SECAM [12:30:32] [PASSED] Mono [12:30:32] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [12:30:32] [PASSED] drm_test_get_tv_mode_from_name_truncated [12:30:32] ============ [PASSED] drm_get_tv_mode_from_name ============ [12:30:32] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [12:30:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [12:30:32] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [12:30:32] [PASSED] VIC 96 [12:30:32] [PASSED] VIC 97 [12:30:32] [PASSED] VIC 101 [12:30:32] [PASSED] VIC 102 [12:30:32] [PASSED] VIC 106 [12:30:32] [PASSED] VIC 107 [12:30:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [12:30:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [12:30:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [12:30:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [12:30:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [12:30:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [12:30:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [12:30:32] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [12:30:32] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [12:30:32] [PASSED] Automatic [12:30:32] [PASSED] Full [12:30:32] [PASSED] Limited 16:235 [12:30:32] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [12:30:32] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [12:30:32] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [12:30:32] == drm_hdmi_connector_get_output_format_name (2 subtests) == [12:30:32] === drm_test_drm_hdmi_connector_get_output_format_name ==== [12:30:32] [PASSED] RGB [12:30:32] [PASSED] YUV 4:2:0 [12:30:32] [PASSED] YUV 4:2:2 [12:30:32] [PASSED] YUV 4:4:4 [12:30:32] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [12:30:32] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [12:30:32] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [12:30:32] ============= drm_damage_helper (21 subtests) ============== [12:30:32] [PASSED] drm_test_damage_iter_no_damage [12:30:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src [12:30:32] [PASSED] drm_test_damage_iter_no_damage_src_moved [12:30:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [12:30:32] [PASSED] drm_test_damage_iter_no_damage_not_visible [12:30:32] [PASSED] drm_test_damage_iter_no_damage_no_crtc [12:30:32] [PASSED] drm_test_damage_iter_no_damage_no_fb [12:30:32] [PASSED] drm_test_damage_iter_simple_damage [12:30:32] [PASSED] drm_test_damage_iter_single_damage [12:30:32] [PASSED] drm_test_damage_iter_single_damage_intersect_src [12:30:32] [PASSED] drm_test_damage_iter_single_damage_outside_src [12:30:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src [12:30:32] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [12:30:32] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [12:30:32] [PASSED] drm_test_damage_iter_single_damage_src_moved [12:30:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [12:30:32] [PASSED] drm_test_damage_iter_damage [12:30:32] [PASSED] drm_test_damage_iter_damage_one_intersect [12:30:32] [PASSED] drm_test_damage_iter_damage_one_outside [12:30:32] [PASSED] drm_test_damage_iter_damage_src_moved [12:30:32] [PASSED] drm_test_damage_iter_damage_not_visible [12:30:32] ================ [PASSED] drm_damage_helper ================ [12:30:32] ============== drm_dp_mst_helper (3 subtests) ============== [12:30:32] ============== drm_test_dp_mst_calc_pbn_mode ============== [12:30:32] [PASSED] Clock 154000 BPP 30 DSC disabled [12:30:32] [PASSED] Clock 234000 BPP 30 DSC disabled [12:30:32] [PASSED] Clock 297000 BPP 24 DSC disabled [12:30:32] [PASSED] Clock 332880 BPP 24 DSC enabled [12:30:32] [PASSED] Clock 324540 BPP 24 DSC enabled [12:30:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [12:30:32] ============== drm_test_dp_mst_calc_pbn_div =============== [12:30:32] [PASSED] Link rate 2000000 lane count 4 [12:30:32] [PASSED] Link rate 2000000 lane count 2 [12:30:32] [PASSED] Link rate 2000000 lane count 1 [12:30:32] [PASSED] Link rate 1350000 lane count 4 [12:30:32] [PASSED] Link rate 1350000 lane count 2 [12:30:32] [PASSED] Link rate 1350000 lane count 1 [12:30:32] [PASSED] Link rate 1000000 lane count 4 [12:30:32] [PASSED] Link rate 1000000 lane count 2 [12:30:32] [PASSED] Link rate 1000000 lane count 1 [12:30:32] [PASSED] Link rate 810000 lane count 4 [12:30:32] [PASSED] Link rate 810000 lane count 2 [12:30:32] [PASSED] Link rate 810000 lane count 1 [12:30:32] [PASSED] Link rate 540000 lane count 4 [12:30:32] [PASSED] Link rate 540000 lane count 2 [12:30:32] [PASSED] Link rate 540000 lane count 1 [12:30:32] [PASSED] Link rate 270000 lane count 4 [12:30:32] [PASSED] Link rate 270000 lane count 2 [12:30:32] [PASSED] Link rate 270000 lane count 1 [12:30:32] [PASSED] Link rate 162000 lane count 4 [12:30:32] [PASSED] Link rate 162000 lane count 2 [12:30:32] [PASSED] Link rate 162000 lane count 1 [12:30:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [12:30:32] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [12:30:32] [PASSED] DP_ENUM_PATH_RESOURCES with port number [12:30:32] [PASSED] DP_POWER_UP_PHY with port number [12:30:32] [PASSED] DP_POWER_DOWN_PHY with port number [12:30:32] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [12:30:32] [PASSED] DP_ALLOCATE_PAYLOAD with port number [12:30:32] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [12:30:32] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [12:30:32] [PASSED] DP_QUERY_PAYLOAD with port number [12:30:32] [PASSED] DP_QUERY_PAYLOAD with VCPI [12:30:32] [PASSED] DP_REMOTE_DPCD_READ with port number [12:30:32] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [12:30:32] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [12:30:32] [PASSED] DP_REMOTE_DPCD_WRITE with port number [12:30:32] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [12:30:32] [PASSED] DP_REMOTE_DPCD_WRITE with data array [12:30:32] [PASSED] DP_REMOTE_I2C_READ with port number [12:30:32] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [12:30:32] [PASSED] DP_REMOTE_I2C_READ with transactions array [12:30:32] [PASSED] DP_REMOTE_I2C_WRITE with port number [12:30:32] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [12:30:32] [PASSED] DP_REMOTE_I2C_WRITE with data array [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [12:30:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [12:30:32] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [12:30:32] ================ [PASSED] drm_dp_mst_helper ================ [12:30:32] ================== drm_exec (7 subtests) =================== [12:30:32] [PASSED] sanitycheck [12:30:32] [PASSED] test_lock [12:30:32] [PASSED] test_lock_unlock [12:30:32] [PASSED] test_duplicates [12:30:32] [PASSED] test_prepare [12:30:32] [PASSED] test_prepare_array [12:30:32] [PASSED] test_multiple_loops [12:30:32] ==================== [PASSED] drm_exec ===================== [12:30:32] =========== drm_format_helper_test (17 subtests) =========== [12:30:32] ============== drm_test_fb_xrgb8888_to_gray8 ============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [12:30:32] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [12:30:32] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [12:30:32] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [12:30:32] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [12:30:32] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [12:30:32] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [12:30:32] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [12:30:32] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [12:30:32] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [12:30:32] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [12:30:32] ============== drm_test_fb_xrgb8888_to_mono =============== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [12:30:32] ==================== drm_test_fb_swab ===================== [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ================ [PASSED] drm_test_fb_swab ================= [12:30:32] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [12:30:32] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [12:30:32] [PASSED] single_pixel_source_buffer [12:30:32] [PASSED] single_pixel_clip_rectangle [12:30:32] [PASSED] well_known_colors [12:30:32] [PASSED] destination_pitch [12:30:32] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [12:30:32] ================= drm_test_fb_clip_offset ================= [12:30:32] [PASSED] pass through [12:30:32] [PASSED] horizontal offset [12:30:32] [PASSED] vertical offset [12:30:32] [PASSED] horizontal and vertical offset [12:30:32] [PASSED] horizontal offset (custom pitch) [12:30:32] [PASSED] vertical offset (custom pitch) [12:30:32] [PASSED] horizontal and vertical offset (custom pitch) [12:30:32] ============= [PASSED] drm_test_fb_clip_offset ============= [12:30:32] =================== drm_test_fb_memcpy ==================== [12:30:32] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [12:30:32] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [12:30:32] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [12:30:32] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [12:30:32] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [12:30:32] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [12:30:32] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [12:30:32] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [12:30:32] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [12:30:32] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [12:30:32] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [12:30:32] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [12:30:32] =============== [PASSED] drm_test_fb_memcpy ================ [12:30:32] ============= [PASSED] drm_format_helper_test ============== [12:30:32] ================= drm_format (18 subtests) ================= [12:30:32] [PASSED] drm_test_format_block_width_invalid [12:30:32] [PASSED] drm_test_format_block_width_one_plane [12:30:32] [PASSED] drm_test_format_block_width_two_plane [12:30:32] [PASSED] drm_test_format_block_width_three_plane [12:30:32] [PASSED] drm_test_format_block_width_tiled [12:30:32] [PASSED] drm_test_format_block_height_invalid [12:30:32] [PASSED] drm_test_format_block_height_one_plane [12:30:32] [PASSED] drm_test_format_block_height_two_plane [12:30:32] [PASSED] drm_test_format_block_height_three_plane [12:30:32] [PASSED] drm_test_format_block_height_tiled [12:30:32] [PASSED] drm_test_format_min_pitch_invalid [12:30:32] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [12:30:32] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [12:30:32] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [12:30:32] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [12:30:32] [PASSED] drm_test_format_min_pitch_two_plane [12:30:32] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [12:30:32] [PASSED] drm_test_format_min_pitch_tiled [12:30:32] =================== [PASSED] drm_format ==================== [12:30:32] ============== drm_framebuffer (10 subtests) =============== [12:30:32] ========== drm_test_framebuffer_check_src_coords ========== [12:30:32] [PASSED] Success: source fits into fb [12:30:32] [PASSED] Fail: overflowing fb with x-axis coordinate [12:30:32] [PASSED] Fail: overflowing fb with y-axis coordinate [12:30:32] [PASSED] Fail: overflowing fb with source width [12:30:32] [PASSED] Fail: overflowing fb with source height [12:30:32] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [12:30:32] [PASSED] drm_test_framebuffer_cleanup [12:30:32] =============== drm_test_framebuffer_create =============== [12:30:32] [PASSED] ABGR8888 normal sizes [12:30:32] [PASSED] ABGR8888 max sizes [12:30:32] [PASSED] ABGR8888 pitch greater than min required [12:30:32] [PASSED] ABGR8888 pitch less than min required [12:30:32] [PASSED] ABGR8888 Invalid width [12:30:32] [PASSED] ABGR8888 Invalid buffer handle [12:30:32] [PASSED] No pixel format [12:30:32] [PASSED] ABGR8888 Width 0 [12:30:32] [PASSED] ABGR8888 Height 0 [12:30:32] [PASSED] ABGR8888 Out of bound height * pitch combination [12:30:32] [PASSED] ABGR8888 Large buffer offset [12:30:32] [PASSED] ABGR8888 Buffer offset for inexistent plane [12:30:32] [PASSED] ABGR8888 Invalid flag [12:30:32] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [12:30:32] [PASSED] ABGR8888 Valid buffer modifier [12:30:32] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [12:30:32] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] NV12 Normal sizes [12:30:32] [PASSED] NV12 Max sizes [12:30:32] [PASSED] NV12 Invalid pitch [12:30:32] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [12:30:32] [PASSED] NV12 different modifier per-plane [12:30:32] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [12:30:32] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] NV12 Modifier for inexistent plane [12:30:32] [PASSED] NV12 Handle for inexistent plane [12:30:32] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [12:30:32] [PASSED] YVU420 Normal sizes [12:30:32] [PASSED] YVU420 Max sizes [12:30:32] [PASSED] YVU420 Invalid pitch [12:30:32] [PASSED] YVU420 Different pitches [12:30:32] [PASSED] YVU420 Different buffer offsets/pitches [12:30:32] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [12:30:32] [PASSED] YVU420 Valid modifier [12:30:32] [PASSED] YVU420 Different modifiers per plane [12:30:32] [PASSED] YVU420 Modifier for inexistent plane [12:30:32] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [12:30:32] [PASSED] X0L2 Normal sizes [12:30:32] [PASSED] X0L2 Max sizes [12:30:32] [PASSED] X0L2 Invalid pitch [12:30:32] [PASSED] X0L2 Pitch greater than minimum required [12:30:32] [PASSED] X0L2 Handle for inexistent plane [12:30:32] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [12:30:32] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [12:30:32] [PASSED] X0L2 Valid modifier [12:30:32] [PASSED] X0L2 Modifier for inexistent plane [12:30:32] =========== [PASSED] drm_test_framebuffer_create =========== [12:30:32] [PASSED] drm_test_framebuffer_free [12:30:32] [PASSED] drm_test_framebuffer_init [12:30:32] [PASSED] drm_test_framebuffer_init_bad_format [12:30:32] [PASSED] drm_test_framebuffer_init_dev_mismatch [12:30:32] [PASSED] drm_test_framebuffer_lookup [12:30:32] [PASSED] drm_test_framebuffer_lookup_inexistent [12:30:32] [PASSED] drm_test_framebuffer_modifiers_not_supported [12:30:32] ================= [PASSED] drm_framebuffer ================= [12:30:32] ================ drm_gem_shmem (8 subtests) ================ [12:30:32] [PASSED] drm_gem_shmem_test_obj_create [12:30:32] [PASSED] drm_gem_shmem_test_obj_create_private [12:30:32] [PASSED] drm_gem_shmem_test_pin_pages [12:30:32] [PASSED] drm_gem_shmem_test_vmap [12:30:32] [PASSED] drm_gem_shmem_test_get_sg_table [12:30:32] [PASSED] drm_gem_shmem_test_get_pages_sgt [12:30:32] [PASSED] drm_gem_shmem_test_madvise [12:30:32] [PASSED] drm_gem_shmem_test_purge [12:30:32] ================== [PASSED] drm_gem_shmem ================== [12:30:32] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [12:30:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [12:30:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [12:30:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [12:30:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [12:30:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [12:30:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [12:30:32] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [12:30:32] [PASSED] Automatic [12:30:32] [PASSED] Full [12:30:32] [PASSED] Limited 16:235 [12:30:32] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [12:30:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [12:30:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [12:30:32] [PASSED] drm_test_check_disable_connector [12:30:32] [PASSED] drm_test_check_hdmi_funcs_reject_rate [12:30:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [12:30:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [12:30:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [12:30:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [12:30:32] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [12:30:32] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [12:30:32] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [12:30:32] [PASSED] drm_test_check_output_bpc_dvi [12:30:32] [PASSED] drm_test_check_output_bpc_format_vic_1 [12:30:32] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [12:30:32] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [12:30:32] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [12:30:32] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [12:30:32] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [12:30:32] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [12:30:32] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [12:30:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [12:30:32] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [12:30:32] [PASSED] drm_test_check_broadcast_rgb_value [12:30:32] [PASSED] drm_test_check_bpc_8_value [12:30:32] [PASSED] drm_test_check_bpc_10_value [12:30:32] [PASSED] drm_test_check_bpc_12_value [12:30:32] [PASSED] drm_test_check_format_value [12:30:32] [PASSED] drm_test_check_tmds_char_value [12:30:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [12:30:32] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [12:30:32] [PASSED] drm_test_check_mode_valid [12:30:32] [PASSED] drm_test_check_mode_valid_reject [12:30:32] [PASSED] drm_test_check_mode_valid_reject_rate [12:30:32] [PASSED] drm_test_check_mode_valid_reject_max_clock [12:30:32] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [12:30:32] ================= drm_managed (2 subtests) ================= [12:30:32] [PASSED] drm_test_managed_release_action [12:30:32] [PASSED] drm_test_managed_run_action [12:30:32] =================== [PASSED] drm_managed =================== [12:30:32] =================== drm_mm (6 subtests) ==================== [12:30:32] [PASSED] drm_test_mm_init [12:30:32] [PASSED] drm_test_mm_debug [12:30:32] [PASSED] drm_test_mm_align32 [12:30:32] [PASSED] drm_test_mm_align64 [12:30:32] [PASSED] drm_test_mm_lowest [12:30:32] [PASSED] drm_test_mm_highest [12:30:32] ===================== [PASSED] drm_mm ====================== [12:30:32] ============= drm_modes_analog_tv (5 subtests) ============= [12:30:32] [PASSED] drm_test_modes_analog_tv_mono_576i [12:30:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i [12:30:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [12:30:32] [PASSED] drm_test_modes_analog_tv_pal_576i [12:30:32] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [12:30:32] =============== [PASSED] drm_modes_analog_tv =============== [12:30:32] ============== drm_plane_helper (2 subtests) =============== [12:30:32] =============== drm_test_check_plane_state ================ [12:30:32] [PASSED] clipping_simple [12:30:32] [PASSED] clipping_rotate_reflect [12:30:32] [PASSED] positioning_simple [12:30:32] [PASSED] upscaling [12:30:32] [PASSED] downscaling [12:30:32] [PASSED] rounding1 [12:30:32] [PASSED] rounding2 [12:30:32] [PASSED] rounding3 [12:30:32] [PASSED] rounding4 [12:30:32] =========== [PASSED] drm_test_check_plane_state ============ [12:30:32] =========== drm_test_check_invalid_plane_state ============ [12:30:32] [PASSED] positioning_invalid [12:30:32] [PASSED] upscaling_invalid [12:30:32] [PASSED] downscaling_invalid [12:30:32] ======= [PASSED] drm_test_check_invalid_plane_state ======== [12:30:32] ================ [PASSED] drm_plane_helper ================= [12:30:32] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [12:30:32] ====== drm_test_connector_helper_tv_get_modes_check ======= [12:30:32] [PASSED] None [12:30:32] [PASSED] PAL [12:30:32] [PASSED] NTSC [12:30:32] [PASSED] Both, NTSC Default [12:30:32] [PASSED] Both, PAL Default [12:30:32] [PASSED] Both, NTSC Default, with PAL on command-line [12:30:32] [PASSED] Both, PAL Default, with NTSC on command-line [12:30:32] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [12:30:32] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [12:30:32] ================== drm_rect (9 subtests) =================== [12:30:32] [PASSED] drm_test_rect_clip_scaled_div_by_zero [12:30:32] [PASSED] drm_test_rect_clip_scaled_not_clipped [12:30:32] [PASSED] drm_test_rect_clip_scaled_clipped [12:30:32] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [12:30:32] ================= drm_test_rect_intersect ================= [12:30:32] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [12:30:32] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [12:30:32] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [12:30:32] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [12:30:32] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [12:30:32] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [12:30:32] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [12:30:32] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [12:30:32] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [12:30:32] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [12:30:32] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [12:30:32] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [12:30:32] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [12:30:32] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [12:30:32] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [12:30:32] ============= [PASSED] drm_test_rect_intersect ============= [12:30:32] ================ drm_test_rect_calc_hscale ================ [12:30:32] [PASSED] normal use [12:30:32] [PASSED] out of max range [12:30:32] [PASSED] out of min range [12:30:32] [PASSED] zero dst [12:30:32] [PASSED] negative src [12:30:32] [PASSED] negative dst [12:30:32] ============ [PASSED] drm_test_rect_calc_hscale ============ [12:30:32] ================ drm_test_rect_calc_vscale ================ [12:30:32] [PASSED] normal use stty: 'standard input': Inappropriate ioctl for device [12:30:32] [PASSED] out of max range [12:30:32] [PASSED] out of min range [12:30:32] [PASSED] zero dst [12:30:32] [PASSED] negative src [12:30:32] [PASSED] negative dst [12:30:32] ============ [PASSED] drm_test_rect_calc_vscale ============ [12:30:32] ================== drm_test_rect_rotate =================== [12:30:32] [PASSED] reflect-x [12:30:32] [PASSED] reflect-y [12:30:32] [PASSED] rotate-0 [12:30:32] [PASSED] rotate-90 [12:30:32] [PASSED] rotate-180 [12:30:32] [PASSED] rotate-270 [12:30:32] ============== [PASSED] drm_test_rect_rotate =============== [12:30:32] ================ drm_test_rect_rotate_inv ================= [12:30:32] [PASSED] reflect-x [12:30:32] [PASSED] reflect-y [12:30:32] [PASSED] rotate-0 [12:30:32] [PASSED] rotate-90 [12:30:32] [PASSED] rotate-180 [12:30:32] [PASSED] rotate-270 [12:30:32] ============ [PASSED] drm_test_rect_rotate_inv ============= [12:30:32] ==================== [PASSED] drm_rect ===================== [12:30:32] ============ drm_sysfb_modeset_test (1 subtest) ============ [12:30:32] ============ drm_test_sysfb_build_fourcc_list ============= [12:30:32] [PASSED] no native formats [12:30:32] [PASSED] XRGB8888 as native format [12:30:32] [PASSED] remove duplicates [12:30:32] [PASSED] convert alpha formats [12:30:32] [PASSED] random formats [12:30:32] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [12:30:32] ============= [PASSED] drm_sysfb_modeset_test ============== [12:30:32] ================== drm_fixp (2 subtests) =================== [12:30:32] [PASSED] drm_test_int2fixp [12:30:32] [PASSED] drm_test_sm2fixp [12:30:32] ==================== [PASSED] drm_fixp ===================== [12:30:32] ============================================================ [12:30:32] Testing complete. Ran 624 tests: passed: 624 [12:30:32] Elapsed time: 27.245s total, 1.634s configuring, 25.195s building, 0.375s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [12:30:32] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [12:30:34] 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 [12:30:46] Starting KUnit Kernel (1/1)... [12:30:46] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [12:30:46] ================= ttm_device (5 subtests) ================== [12:30:46] [PASSED] ttm_device_init_basic [12:30:46] [PASSED] ttm_device_init_multiple [12:30:46] [PASSED] ttm_device_fini_basic [12:30:46] [PASSED] ttm_device_init_no_vma_man [12:30:46] ================== ttm_device_init_pools ================== [12:30:46] [PASSED] No DMA allocations, no DMA32 required [12:30:46] [PASSED] DMA allocations, DMA32 required [12:30:46] [PASSED] No DMA allocations, DMA32 required [12:30:46] [PASSED] DMA allocations, no DMA32 required [12:30:46] ============== [PASSED] ttm_device_init_pools ============== [12:30:46] =================== [PASSED] ttm_device ==================== [12:30:46] ================== ttm_pool (8 subtests) =================== [12:30:46] ================== ttm_pool_alloc_basic =================== [12:30:46] [PASSED] One page [12:30:46] [PASSED] More than one page [12:30:46] [PASSED] Above the allocation limit [12:30:46] [PASSED] One page, with coherent DMA mappings enabled [12:30:46] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [12:30:46] ============== [PASSED] ttm_pool_alloc_basic =============== [12:30:46] ============== ttm_pool_alloc_basic_dma_addr ============== [12:30:46] [PASSED] One page [12:30:46] [PASSED] More than one page [12:30:46] [PASSED] Above the allocation limit [12:30:46] [PASSED] One page, with coherent DMA mappings enabled [12:30:46] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [12:30:46] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [12:30:46] [PASSED] ttm_pool_alloc_order_caching_match [12:30:46] [PASSED] ttm_pool_alloc_caching_mismatch [12:30:46] [PASSED] ttm_pool_alloc_order_mismatch [12:30:46] [PASSED] ttm_pool_free_dma_alloc [12:30:46] [PASSED] ttm_pool_free_no_dma_alloc [12:30:46] [PASSED] ttm_pool_fini_basic [12:30:46] ==================== [PASSED] ttm_pool ===================== [12:30:46] ================ ttm_resource (8 subtests) ================= [12:30:46] ================= ttm_resource_init_basic ================= [12:30:46] [PASSED] Init resource in TTM_PL_SYSTEM [12:30:46] [PASSED] Init resource in TTM_PL_VRAM [12:30:46] [PASSED] Init resource in a private placement [12:30:46] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [12:30:46] ============= [PASSED] ttm_resource_init_basic ============= [12:30:46] [PASSED] ttm_resource_init_pinned [12:30:46] [PASSED] ttm_resource_fini_basic [12:30:46] [PASSED] ttm_resource_manager_init_basic [12:30:46] [PASSED] ttm_resource_manager_usage_basic [12:30:46] [PASSED] ttm_resource_manager_set_used_basic [12:30:46] [PASSED] ttm_sys_man_alloc_basic [12:30:46] [PASSED] ttm_sys_man_free_basic [12:30:46] ================== [PASSED] ttm_resource =================== [12:30:46] =================== ttm_tt (15 subtests) =================== [12:30:46] ==================== ttm_tt_init_basic ==================== [12:30:46] [PASSED] Page-aligned size [12:30:46] [PASSED] Extra pages requested [12:30:46] ================ [PASSED] ttm_tt_init_basic ================ [12:30:46] [PASSED] ttm_tt_init_misaligned [12:30:46] [PASSED] ttm_tt_fini_basic [12:30:46] [PASSED] ttm_tt_fini_sg [12:30:46] [PASSED] ttm_tt_fini_shmem [12:30:46] [PASSED] ttm_tt_create_basic [12:30:46] [PASSED] ttm_tt_create_invalid_bo_type [12:30:46] [PASSED] ttm_tt_create_ttm_exists [12:30:46] [PASSED] ttm_tt_create_failed [12:30:46] [PASSED] ttm_tt_destroy_basic [12:30:46] [PASSED] ttm_tt_populate_null_ttm [12:30:46] [PASSED] ttm_tt_populate_populated_ttm [12:30:46] [PASSED] ttm_tt_unpopulate_basic [12:30:46] [PASSED] ttm_tt_unpopulate_empty_ttm [12:30:46] [PASSED] ttm_tt_swapin_basic [12:30:46] ===================== [PASSED] ttm_tt ====================== [12:30:46] =================== ttm_bo (14 subtests) =================== [12:30:46] =========== ttm_bo_reserve_optimistic_no_ticket =========== [12:30:46] [PASSED] Cannot be interrupted and sleeps [12:30:46] [PASSED] Cannot be interrupted, locks straight away [12:30:46] [PASSED] Can be interrupted, sleeps [12:30:46] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [12:30:46] [PASSED] ttm_bo_reserve_locked_no_sleep [12:30:46] [PASSED] ttm_bo_reserve_no_wait_ticket [12:30:46] [PASSED] ttm_bo_reserve_double_resv [12:30:46] [PASSED] ttm_bo_reserve_interrupted [12:30:46] [PASSED] ttm_bo_reserve_deadlock [12:30:46] [PASSED] ttm_bo_unreserve_basic [12:30:46] [PASSED] ttm_bo_unreserve_pinned [12:30:46] [PASSED] ttm_bo_unreserve_bulk [12:30:46] [PASSED] ttm_bo_fini_basic [12:30:46] [PASSED] ttm_bo_fini_shared_resv [12:30:46] [PASSED] ttm_bo_pin_basic [12:30:46] [PASSED] ttm_bo_pin_unpin_resource [12:30:46] [PASSED] ttm_bo_multiple_pin_one_unpin [12:30:46] ===================== [PASSED] ttm_bo ====================== [12:30:46] ============== ttm_bo_validate (21 subtests) =============== [12:30:46] ============== ttm_bo_init_reserved_sys_man =============== [12:30:46] [PASSED] Buffer object for userspace [12:30:46] [PASSED] Kernel buffer object [12:30:46] [PASSED] Shared buffer object [12:30:46] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [12:30:46] ============== ttm_bo_init_reserved_mock_man ============== [12:30:46] [PASSED] Buffer object for userspace [12:30:46] [PASSED] Kernel buffer object [12:30:46] [PASSED] Shared buffer object [12:30:46] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [12:30:46] [PASSED] ttm_bo_init_reserved_resv [12:30:46] ================== ttm_bo_validate_basic ================== [12:30:46] [PASSED] Buffer object for userspace [12:30:46] [PASSED] Kernel buffer object [12:30:46] [PASSED] Shared buffer object [12:30:46] ============== [PASSED] ttm_bo_validate_basic ============== [12:30:46] [PASSED] ttm_bo_validate_invalid_placement [12:30:46] ============= ttm_bo_validate_same_placement ============== [12:30:46] [PASSED] System manager [12:30:46] [PASSED] VRAM manager [12:30:46] ========= [PASSED] ttm_bo_validate_same_placement ========== [12:30:46] [PASSED] ttm_bo_validate_failed_alloc [12:30:46] [PASSED] ttm_bo_validate_pinned [12:30:46] [PASSED] ttm_bo_validate_busy_placement [12:30:46] ================ ttm_bo_validate_multihop ================= [12:30:46] [PASSED] Buffer object for userspace [12:30:46] [PASSED] Kernel buffer object [12:30:46] [PASSED] Shared buffer object [12:30:46] ============ [PASSED] ttm_bo_validate_multihop ============= [12:30:46] ========== ttm_bo_validate_no_placement_signaled ========== [12:30:46] [PASSED] Buffer object in system domain, no page vector [12:30:46] [PASSED] Buffer object in system domain with an existing page vector [12:30:46] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [12:30:46] ======== ttm_bo_validate_no_placement_not_signaled ======== [12:30:46] [PASSED] Buffer object for userspace [12:30:46] [PASSED] Kernel buffer object [12:30:46] [PASSED] Shared buffer object [12:30:46] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [12:30:46] [PASSED] ttm_bo_validate_move_fence_signaled [12:30:46] ========= ttm_bo_validate_move_fence_not_signaled ========= [12:30:46] [PASSED] Waits for GPU [12:30:46] [PASSED] Tries to lock straight away [12:30:46] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [12:30:46] [PASSED] ttm_bo_validate_happy_evict [12:30:46] [PASSED] ttm_bo_validate_all_pinned_evict [12:30:46] [PASSED] ttm_bo_validate_allowed_only_evict [12:30:46] [PASSED] ttm_bo_validate_deleted_evict [12:30:46] [PASSED] ttm_bo_validate_busy_domain_evict [12:30:46] [PASSED] ttm_bo_validate_evict_gutting [12:30:46] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [12:30:46] ================= [PASSED] ttm_bo_validate ================= [12:30:46] ============================================================ [12:30:46] Testing complete. Ran 101 tests: passed: 101 [12:30:46] Elapsed time: 13.988s total, 1.646s configuring, 12.126s building, 0.182s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
In reply to Anoop, Vijay== Series Details ==
== Series Details ==
Series: drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
URL : https://patchwork.freedesktop.org/series/159554/
State : success
== Summary ==
CI Bug Log - changes from xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0_BAT -> xe-pw-159554v3_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-159554v3_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [TIMEOUT][1] ([Intel XE#6506]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/bat-dg2-oem2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/bat-dg2-oem2/igt@[email protected]
[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
Build changes
-------------
* Linux: xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0 -> xe-pw-159554v3
IGT_8692: 8692
xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0: d7d19ebd62e1a312e67f4484df9a4e2b407d93d0
xe-pw-159554v3: 159554v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/index.html
Patchwork
CI✓ Xe.CI.Full: success for drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
In reply to Anoop, Vijay== Series Details ==
== Series Details ==
Series: drm/xe/sysctrl: Add system controller component for Xe3p dGPU platforms (rev3)
URL : https://patchwork.freedesktop.org/series/159554/
State : success
== Summary ==
CI Bug Log - changes from xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0_FULL -> xe-pw-159554v3_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-159554v3_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2327]) +3 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#1124]) +11 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#2314] / [Intel XE#2894])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_bw@linear-tiling-4-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#367]) +5 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#3432]) +1 other test skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2887]) +12 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2325])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2252]) +12 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_content_protection@dp-mst-suspend-resume:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#6743])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-bmg: NOTRUN -> [FAIL][10] ([Intel XE#1178] / [Intel XE#3304]) +1 other test fail
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_content_protection@mei-interface:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2341])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-bmg: NOTRUN -> [FAIL][12] ([Intel XE#6707]) +1 other test fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-128x42:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2320]) +5 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2321]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-bmg: NOTRUN -> [ABORT][15] ([Intel XE#5545])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: NOTRUN -> [FAIL][16] ([Intel XE#4633])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-with-bpc:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2244])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_fbcon_fbt@psr-suspend:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#776])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_feature_discovery@display-3x:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2373])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2293]) +8 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2293] / [Intel XE#2380]) +6 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2311]) +36 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#4141]) +19 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2352]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2313]) +37 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_joiner@basic-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#6911])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_joiner@invalid-modeset-big-joiner:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#6901])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#5021])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#5020])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#6886]) +9 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5.html
* igt@kms_pm_backlight@fade-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#870]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_pm_rpm@modeset-lpsp-stress:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#836])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_pm_rpm@package-g7:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#6814])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_sf@psr2-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#1406] / [Intel XE#1489]) +9 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#1406] / [Intel XE#2387]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@psr-primary-page-flip:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +10 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2330])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#3414] / [Intel XE#3904])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-center:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2413])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#1435])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_sharpness_filter@filter-scaler-downscale:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#6503]) +2 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2509])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@kms_vrr@cmrr@pipe-a-edp-1:
- shard-lnl: [PASS][43] -> [FAIL][44] ([Intel XE#4459]) +1 other test fail
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-lnl-5/igt@kms_vrr@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-lnl-4/igt@kms_vrr@[email protected]
* igt@kms_vrr@lobf:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2168])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@kms_vrr@max-min:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#1499]) +2 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [PASS][47] -> [FAIL][48] ([Intel XE#2142]) +1 other test fail
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-lnl-5/igt@kms_vrr@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-lnl-4/igt@kms_vrr@[email protected]
* igt@testdisplay:
- shard-bmg: NOTRUN -> [ABORT][49] ([Intel XE#6976])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/[email protected]
* igt@xe_create@multigpu-create-massive-size:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#2504])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@xe_eudebug@vma-ufence:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#4837]) +5 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@xe_eudebug_online@breakpoint-many-sessions-single-tile:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#4837] / [Intel XE#6665]) +6 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@xe_eudebug_sriov@deny-sriov:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#5793]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#2322]) +10 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#6874]) +34 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@xe_exec_system_allocator@many-64k-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#5007]) +1 other test skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma:
- shard-lnl: [PASS][57] -> [FAIL][58] ([Intel XE#5625]) +1 other test fail
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-lnl-4/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-lnl-7/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#4943]) +26 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-new-huge.html
* igt@xe_module_load@force-load:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2457])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-2/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-concurrent-access-prefetch:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#6964]) +3 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@xe_oa@oa-tlb-invalidate:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#2248])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-3/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#2245])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@xe_pm@s3-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#2284])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@[email protected]
* igt@xe_pxp@display-pxp-fb:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#4733]) +3 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-1/igt@[email protected]
* igt@xe_query@multigpu-query-mem-usage:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#944]) +2 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
#### Possible fixes ####
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: [SKIP][67] ([Intel XE#6703]) -> [PASS][68] +130 other tests pass
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_color@gamma:
- shard-bmg: [DMESG-WARN][69] -> [PASS][70] +1 other test pass
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_color@gamma@pipe-a-dp-2:
- shard-bmg: [CRASH][71] -> [PASS][72] +7 other tests pass
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_color@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_color@[email protected]
* igt@kms_hdr@static-toggle-dpms@pipe-a-dp-2:
- shard-bmg: [ABORT][73] ([Intel XE#6740]) -> [PASS][74] +1 other test pass
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-9/igt@kms_hdr@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-10/igt@kms_hdr@[email protected]
* igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-remap-ro-eocheck:
- shard-bmg: [SKIP][75] ([Intel XE#6557] / [Intel XE#6703]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-remap-ro-eocheck.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@xe_exec_system_allocator@threads-many-large-execqueues-mmap-remap-ro-eocheck.html
#### Warnings ####
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-bmg: [SKIP][77] ([Intel XE#6703]) -> [SKIP][78] ([Intel XE#1124]) +2 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_bw@linear-tiling-2-displays-3840x2160p:
- shard-bmg: [SKIP][79] ([Intel XE#6703]) -> [SKIP][80] ([Intel XE#367])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-y-tiled-ccs:
- shard-bmg: [SKIP][81] ([Intel XE#6703]) -> [SKIP][82] ([Intel XE#2887]) +3 other tests skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_cdclk@plane-scaling:
- shard-bmg: [SKIP][83] ([Intel XE#6703]) -> [SKIP][84] ([Intel XE#2724])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_chamelium_frames@dp-crc-single:
- shard-bmg: [SKIP][85] ([Intel XE#6703]) -> [SKIP][86] ([Intel XE#2252]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-bmg: [SKIP][87] ([Intel XE#6703]) -> [SKIP][88] ([Intel XE#2321])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size:
- shard-bmg: [SKIP][89] ([Intel XE#6703]) -> [DMESG-WARN][90] ([Intel XE#5354])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-bmg: [SKIP][91] ([Intel XE#6703]) -> [SKIP][92] ([Intel XE#4354])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling:
- shard-bmg: [SKIP][93] ([Intel XE#6703]) -> [SKIP][94] ([Intel XE#2293] / [Intel XE#2380])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-downscaling:
- shard-bmg: [SKIP][95] ([Intel XE#6557] / [Intel XE#6703]) -> [SKIP][96] ([Intel XE#2293] / [Intel XE#2380])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-downscaling.html
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-downscaling.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt:
- shard-bmg: [SKIP][97] ([Intel XE#6703]) -> [SKIP][98] ([Intel XE#4141]) +2 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][99] ([Intel XE#6703]) -> [SKIP][100] ([Intel XE#2311]) +5 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-shrfb-plflip-blt.html
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-render:
- shard-bmg: [SKIP][101] ([Intel XE#6703]) -> [SKIP][102] ([Intel XE#2313]) +5 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][103] ([Intel XE#6703]) -> [SKIP][104] ([Intel XE#1503])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-bmg: [SKIP][105] ([Intel XE#6703]) -> [SKIP][106] ([Intel XE#6911])
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_pm_backlight@bad-brightness:
- shard-bmg: [SKIP][107] ([Intel XE#6703]) -> [SKIP][108] ([Intel XE#870])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_pm_rpm@modeset-lpsp-stress-no-wait:
- shard-bmg: [SKIP][109] ([Intel XE#6693]) -> [SKIP][110] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#836])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-overlay-primary-update-sf-dmg-area:
- shard-bmg: [SKIP][111] ([Intel XE#1406] / [Intel XE#6703]) -> [SKIP][112] ([Intel XE#1406] / [Intel XE#1489]) +1 other test skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-render:
- shard-bmg: [SKIP][113] ([Intel XE#1406] / [Intel XE#6703]) -> [SKIP][114] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +1 other test skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_rotation_crc@bad-tiling:
- shard-bmg: [SKIP][115] ([Intel XE#6703]) -> [SKIP][116] ([Intel XE#3414] / [Intel XE#3904])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- shard-bmg: [SKIP][117] ([Intel XE#6703]) -> [SKIP][118] ([Intel XE#2330])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_setmode@invalid-clone-exclusive-crtc:
- shard-bmg: [SKIP][119] ([Intel XE#6703]) -> [SKIP][120] ([Intel XE#1435])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][121] ([Intel XE#6703]) -> [SKIP][122] ([Intel XE#2426])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_eudebug@discovery-race-sigint:
- shard-bmg: [SKIP][123] ([Intel XE#6703]) -> [SKIP][124] ([Intel XE#4837]) +2 other tests skip
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_eudebug_online@pagefault-one-of-many:
- shard-bmg: [SKIP][125] ([Intel XE#6703]) -> [SKIP][126] ([Intel XE#6665])
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-basic-defer-bind:
- shard-bmg: [SKIP][127] ([Intel XE#6703]) -> [SKIP][128] ([Intel XE#2322]) +1 other test skip
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_exec_multi_queue@many-execs-basic-smem:
- shard-bmg: [SKIP][129] ([Intel XE#6703]) -> [SKIP][130] ([Intel XE#6874]) +6 other tests skip
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-huge:
- shard-bmg: [SKIP][131] ([Intel XE#6703]) -> [SKIP][132] ([Intel XE#4943]) +3 other tests skip
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-huge.html
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-huge.html
* igt@xe_pxp@pxp-stale-queue-post-suspend:
- shard-bmg: [SKIP][133] ([Intel XE#6703]) -> [SKIP][134] ([Intel XE#4733])
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0/shard-bmg-2/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/shard-bmg-9/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2248
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2373
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
[Intel XE#2504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2504
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
[Intel XE#4633]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4633
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5007
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5625]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5625
[Intel XE#5793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5793
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6557]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6557
[Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
[Intel XE#6693]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6693
[Intel XE#6703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6703
[Intel XE#6707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6707
[Intel XE#6740]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6740
[Intel XE#6743]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6743
[Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6976
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0 -> xe-pw-159554v3
IGT_8692: 8692
xe-4346-d7d19ebd62e1a312e67f4484df9a4e2b407d93d0: d7d19ebd62e1a312e67f4484df9a4e2b407d93d0
xe-pw-159554v3: 159554v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159554v3/index.html
Quoted 17 lines
-----Original Message-----
From: Vijay, Anoop C <[email protected]>
Sent: Thursday, January 8, 2026 7:06 AM
To: [email protected]
Cc: Nerlige Ramappa, Umesh <[email protected]>; Nilawar, Badal <[email protected]>; Vivi, Rodrigo <[email protected]>; Iddamsetty, Aravind <[email protected]>; Tauro, Riana <[email protected]>; Gupta, Anshuman <[email protected]>; Roper, Matthew D <[email protected]>; Ruhl, Michael J <[email protected]>; Luse, Paul E <[email protected]>; V, Mohamed Mansoor <[email protected]>; Nasim, Kam <[email protected]>; Vijay, Anoop C <[email protected]>
Subject: [PATCH v3 0/6] drm/xe/sysctrl: Add system controller component for Xe3p dGPU platformsFrom: Anoop Vijay <[email protected]>
Quoted 7 lines
This patch series introduces System Controller (sysctrl) component for Intel Xe3p
dGPU platforms.This component provides the foundational infrastructure for communication with the System Controller firmware using MKHI protocol over a mailbox interface.
What is the MKHI protocol?
Is there anything documenting this protocol?
M
Quoted 66 lines
Key features introduced:
- Detection and initialization of System Controller interface on Xe3p dGPU platforms
- Mailbox communication with System Controller firmware
- Fragmented message transfer for large command payloadsThis implementation establishes the base for future System Controller feature enablement and firmware command handling.
---
v2: (Umesh)
- Fix commit message to 75 chars per line
- Address CI.Hooks and checkpatch warnings
- Addsc_to_xe()helper for cleaner conversions
- Alphabetical order for headers
- Simplify write/read frame logic using memcpy
- Drop redundant frame length checks
- Usexe_mmio_rmw32()for register updates
- AlignFIELD_PREPmacros
- Improve error handling and timeout messages
- Handlephase_bitrevert on write-frame failure
- Updaterdata_lenon partial receive before return
- Remove unnecessary headersv3: (Matt, Riana, Umesh)
- Split patch into logical series
- Rename SC_* macros to SYSCTRL_* for consistency
- Move MKHI_* defines to .c file
- Pass xe directly to helpers
- Placedevm_add_action_or_reset()afterset_sysctrl_region()
- Add kernel-doc forxe_sysctrl_mailbox_init()
- Add short documentation for System Controller inxe_sysctrl.c
- Avoid hardcoded sizes
- Move structs to_types.h
---Anoop Vijay (6):
drm/xe/sysctrl: Add System Controller register definitions drm/xe/sysctrl: Add System Controller types and structures drm/xe/sysctrl: Add System Controller mailbox implementation drm/xe/sysctrl: Add System Controller initialization drm/xe/sysctrl: Integrate System Controller into device drm/xe/sysctrl: Enable System Controller for Xe3pdrivers/gpu/drm/xe/Makefile | 2 + drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h | 44 ++ drivers/gpu/drm/xe/xe_device.c | 5 + drivers/gpu/drm/xe/xe_device_types.h | 6 + drivers/gpu/drm/xe/xe_pci.c | 2 + drivers/gpu/drm/xe/xe_pci_types.h | 1 + drivers/gpu/drm/xe/xe_sysctrl.c | 70 +++ drivers/gpu/drm/xe/xe_sysctrl.h | 13 + drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 429 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 35 ++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 36 ++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 23 + 12 files changed, 666 insertions(+)create mode 100644
drivers/gpu/drm/xe/regs/xe_sysctrl_regs.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl.ccreate mode 100644drivers/gpu/drm/xe/xe_sysctrl.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_mailbox.ccreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_mailbox.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.hcreate mode 100644drivers/gpu/drm/xe/xe_sysctrl_types.h--
2.43.0