* [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode
@ 2025-10-02 23:26 Michal Wajdeczko
2025-10-03 0:04 ` ✓ CI.KUnit: success for " Patchwork
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Michal Wajdeczko @ 2025-10-02 23:26 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko, Lucas De Marchi, Rodrigo Vivi
In addition to existing max_vfs modparam, add max_vfs configfs
attribute to allow PF configuration on the per-device level.
Default config value is still based on the modparam value.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
drivers/gpu/drm/xe/xe_configfs.c | 139 +++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_configfs.h | 4 +
drivers/gpu/drm/xe/xe_sriov_pf.c | 3 +
3 files changed, 146 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
index 139663423185..464a79c2a903 100644
--- a/drivers/gpu/drm/xe/xe_configfs.c
+++ b/drivers/gpu/drm/xe/xe_configfs.c
@@ -18,6 +18,7 @@
#include "xe_hw_engine_types.h"
#include "xe_module.h"
#include "xe_pci_types.h"
+#include "xe_sriov_types.h"
/**
* DOC: Xe Configfs
@@ -169,6 +170,32 @@
* Currently this is implemented only for post and mid context restore and
* these attributes can only be set before binding to the device.
*
+ * Max SR-IOV Virtual Functions
+ * ----------------------------
+ *
+ * This config allows to limit number of the Virtual Functions (VFs) that can
+ * be managed by the Physical Function (PF) driver, where value 0 disables the
+ * PF mode (no VFs).
+ *
+ * The default max_vfs config value is taken from the max_vfs modparam.
+ *
+ * How to enable PF with support with unlimited (up to HW limit) number of VFs::
+ *
+ * # echo unlimited > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
+ * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
+ *
+ * How to enable PF with support up to 3 VFs::
+ *
+ * # echo 3 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
+ * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
+ *
+ * How to disable PF mode and always run as native::
+ *
+ * # echo 0 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
+ * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
+ *
+ * This setting only takes effect when probing the device.
+ *
* Remove devices
* ==============
*
@@ -185,6 +212,7 @@ struct wa_bb {
struct xe_config_group_device {
struct config_group group;
+ struct config_group sriov;
struct xe_config_device {
u64 engines_allowed;
@@ -192,23 +220,34 @@ struct xe_config_group_device {
struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
bool survivability_mode;
bool enable_psmi;
+ struct {
+ unsigned int max_vfs;
+ } sriov;
} config;
/* protects attributes */
struct mutex lock;
/* matching descriptor */
const struct xe_device_desc *desc;
+ /* tentative SR-IOV mode */
+ enum xe_sriov_mode mode;
};
static const struct xe_config_device device_defaults = {
.engines_allowed = U64_MAX,
.survivability_mode = false,
.enable_psmi = false,
+ .sriov = {
+ .max_vfs = UINT_MAX,
+ },
};
static void set_device_defaults(struct xe_config_device *config)
{
*config = device_defaults;
+#ifdef CONFIG_PCI_IOV
+ config->sriov.max_vfs = xe_modparam.max_vfs;
+#endif
}
struct engine_info {
@@ -721,6 +760,68 @@ static const struct config_item_type xe_config_device_type = {
.ct_owner = THIS_MODULE,
};
+static ssize_t sriov_max_vfs_show(struct config_item *item, char *page)
+{
+ struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
+
+ guard(mutex)(&dev->lock);
+
+ if (dev->config.sriov.max_vfs == UINT_MAX)
+ return sprintf(page, "%s\n", "unlimited");
+ else
+ return sprintf(page, "%u\n", dev->config.sriov.max_vfs);
+}
+
+static ssize_t sriov_max_vfs_store(struct config_item *item, const char *page, size_t len)
+{
+ struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
+ unsigned int max_vfs;
+ int ret;
+
+ guard(mutex)(&dev->lock);
+
+ if (is_bound(dev))
+ return -EBUSY;
+
+ ret = kstrtouint(page, 0, &max_vfs);
+ if (ret) {
+ if (!sysfs_streq(page, "unlimited"))
+ return ret;
+ max_vfs = UINT_MAX;
+ }
+
+ dev->config.sriov.max_vfs = max_vfs;
+ return len;
+}
+
+CONFIGFS_ATTR(sriov_, max_vfs);
+
+static struct configfs_attribute *xe_config_sriov_attrs[] = {
+ &sriov_attr_max_vfs,
+ NULL,
+};
+
+static bool xe_config_sriov_is_visible(struct config_item *item,
+ struct configfs_attribute *attr, int n)
+{
+ struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
+
+ if (attr == &sriov_attr_max_vfs && dev->mode != XE_SRIOV_MODE_PF)
+ return false;
+
+ return true;
+}
+
+static struct configfs_group_operations xe_config_sriov_group_ops = {
+ .is_visible = xe_config_sriov_is_visible,
+};
+
+static const struct config_item_type xe_config_sriov_type = {
+ .ct_owner = THIS_MODULE,
+ .ct_group_ops = &xe_config_sriov_group_ops,
+ .ct_attrs = xe_config_sriov_attrs,
+};
+
static const struct xe_device_desc *xe_match_desc(struct pci_dev *pdev)
{
struct device_driver *driver = driver_find("xe", &pci_bus_type);
@@ -746,6 +847,7 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
unsigned int domain, bus, slot, function;
struct xe_config_group_device *dev;
const struct xe_device_desc *match;
+ enum xe_sriov_mode mode;
struct pci_dev *pdev;
char canonical[16];
int vfnumber = 0;
@@ -762,6 +864,9 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
return ERR_PTR(-EINVAL);
pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
+ mode = pdev ? dev_is_pf(&pdev->dev) ?
+ XE_SRIOV_MODE_PF : XE_SRIOV_MODE_NONE : XE_SRIOV_MODE_VF;
+
if (!pdev && function)
pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, 0));
if (!pdev && slot)
@@ -796,9 +901,15 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
return ERR_PTR(-ENOMEM);
dev->desc = match;
+ dev->mode = match->has_sriov ? mode : XE_SRIOV_MODE_NONE;
+
set_device_defaults(&dev->config);
config_group_init_type_name(&dev->group, name, &xe_config_device_type);
+ if (dev->mode != XE_SRIOV_MODE_NONE) {
+ config_group_init_type_name(&dev->sriov, "sriov", &xe_config_sriov_type);
+ configfs_add_default_group(&dev->sriov, &dev->group);
+ }
mutex_init(&dev->lock);
@@ -988,6 +1099,34 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
return len;
}
+#ifdef CONFIG_PCI_IOV
+/**
+ * xe_configfs_get_max_vfs() - Get number of VFs that could be managed
+ * @pdev: the &pci_dev device
+ *
+ * Find the configfs group that belongs to the PCI device and return maximum
+ * number of Virtual Functions (VFs) that could be managed by this device.
+ * If configfs group is not present, use value of max_vfs module parameter.
+ *
+ * Return: maximum number of VFs that could be managed.
+ */
+unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev)
+{
+ struct xe_config_group_device *dev = find_xe_config_group_device(pdev);
+ unsigned int max_vfs;
+
+ if (!dev)
+ return xe_modparam.max_vfs;
+
+ scoped_guard(mutex, &dev->lock)
+ max_vfs = dev->config.sriov.max_vfs;
+
+ config_group_put(&dev->group);
+
+ return max_vfs;
+}
+#endif
+
int __init xe_configfs_init(void)
{
int ret;
diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
index c61e0e47ed94..16a1f578e4fe 100644
--- a/drivers/gpu/drm/xe/xe_configfs.h
+++ b/drivers/gpu/drm/xe/xe_configfs.h
@@ -23,6 +23,9 @@ u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum xe_engine_clas
const u32 **cs);
u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
const u32 **cs);
+#ifdef CONFIG_PCI_IOV
+unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev);
+#endif
#else
static inline int xe_configfs_init(void) { return 0; }
static inline void xe_configfs_exit(void) { }
@@ -34,6 +37,7 @@ static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum
const u32 **cs) { return 0; }
static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
const u32 **cs) { return 0; }
+static inline unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev) { return UINT_MAX; }
#endif
#endif
diff --git a/drivers/gpu/drm/xe/xe_sriov_pf.c b/drivers/gpu/drm/xe/xe_sriov_pf.c
index 4698348c010a..428b1b62cf48 100644
--- a/drivers/gpu/drm/xe/xe_sriov_pf.c
+++ b/drivers/gpu/drm/xe/xe_sriov_pf.c
@@ -8,6 +8,7 @@
#include <drm/drm_managed.h>
#include "xe_assert.h"
+#include "xe_configfs.h"
#include "xe_device.h"
#include "xe_gt_sriov_pf.h"
#include "xe_module.h"
@@ -19,6 +20,8 @@
static unsigned int wanted_max_vfs(struct xe_device *xe)
{
+ if (IS_ENABLED(CONFIG_CONFIGFS_FS))
+ return xe_configfs_get_max_vfs(to_pci_dev(xe->drm.dev));
return xe_modparam.max_vfs;
}
--
2.47.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✓ CI.KUnit: success for drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-02 23:26 [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode Michal Wajdeczko
@ 2025-10-03 0:04 ` Patchwork
2025-10-03 1:08 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2025-10-03 0:04 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/pf: Add max_vfs configfs attribute to control PF mode
URL : https://patchwork.freedesktop.org/series/155353/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[00:03:03] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:03:08] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[00:03:37] Starting KUnit Kernel (1/1)...
[00:03:37] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:03:37] ================== guc_buf (11 subtests) ===================
[00:03:37] [PASSED] test_smallest
[00:03:37] [PASSED] test_largest
[00:03:37] [PASSED] test_granular
[00:03:37] [PASSED] test_unique
[00:03:37] [PASSED] test_overlap
[00:03:37] [PASSED] test_reusable
[00:03:37] [PASSED] test_too_big
[00:03:37] [PASSED] test_flush
[00:03:37] [PASSED] test_lookup
[00:03:37] [PASSED] test_data
[00:03:37] [PASSED] test_class
[00:03:37] ===================== [PASSED] guc_buf =====================
[00:03:37] =================== guc_dbm (7 subtests) ===================
[00:03:37] [PASSED] test_empty
[00:03:37] [PASSED] test_default
[00:03:37] ======================== test_size ========================
[00:03:37] [PASSED] 4
[00:03:37] [PASSED] 8
[00:03:37] [PASSED] 32
[00:03:37] [PASSED] 256
[00:03:37] ==================== [PASSED] test_size ====================
[00:03:37] ======================= test_reuse ========================
[00:03:37] [PASSED] 4
[00:03:37] [PASSED] 8
[00:03:37] [PASSED] 32
[00:03:37] [PASSED] 256
[00:03:37] =================== [PASSED] test_reuse ====================
[00:03:37] =================== test_range_overlap ====================
[00:03:37] [PASSED] 4
[00:03:37] [PASSED] 8
[00:03:37] [PASSED] 32
[00:03:37] [PASSED] 256
[00:03:37] =============== [PASSED] test_range_overlap ================
[00:03:37] =================== test_range_compact ====================
[00:03:37] [PASSED] 4
[00:03:37] [PASSED] 8
[00:03:37] [PASSED] 32
[00:03:37] [PASSED] 256
[00:03:37] =============== [PASSED] test_range_compact ================
[00:03:37] ==================== test_range_spare =====================
[00:03:37] [PASSED] 4
[00:03:37] [PASSED] 8
[00:03:37] [PASSED] 32
[00:03:37] [PASSED] 256
[00:03:37] ================ [PASSED] test_range_spare =================
[00:03:37] ===================== [PASSED] guc_dbm =====================
[00:03:37] =================== guc_idm (6 subtests) ===================
[00:03:37] [PASSED] bad_init
[00:03:37] [PASSED] no_init
[00:03:37] [PASSED] init_fini
[00:03:37] [PASSED] check_used
[00:03:37] [PASSED] check_quota
[00:03:37] [PASSED] check_all
[00:03:37] ===================== [PASSED] guc_idm =====================
[00:03:37] ================== no_relay (3 subtests) ===================
[00:03:37] [PASSED] xe_drops_guc2pf_if_not_ready
[00:03:37] [PASSED] xe_drops_guc2vf_if_not_ready
[00:03:37] [PASSED] xe_rejects_send_if_not_ready
[00:03:37] ==================== [PASSED] no_relay =====================
[00:03:37] ================== pf_relay (14 subtests) ==================
[00:03:37] [PASSED] pf_rejects_guc2pf_too_short
[00:03:37] [PASSED] pf_rejects_guc2pf_too_long
[00:03:37] [PASSED] pf_rejects_guc2pf_no_payload
[00:03:37] [PASSED] pf_fails_no_payload
[00:03:37] [PASSED] pf_fails_bad_origin
[00:03:37] [PASSED] pf_fails_bad_type
[00:03:37] [PASSED] pf_txn_reports_error
[00:03:37] [PASSED] pf_txn_sends_pf2guc
[00:03:37] [PASSED] pf_sends_pf2guc
[00:03:37] [SKIPPED] pf_loopback_nop
[00:03:37] [SKIPPED] pf_loopback_echo
[00:03:37] [SKIPPED] pf_loopback_fail
[00:03:37] [SKIPPED] pf_loopback_busy
[00:03:37] [SKIPPED] pf_loopback_retry
[00:03:37] ==================== [PASSED] pf_relay =====================
[00:03:37] ================== vf_relay (3 subtests) ===================
[00:03:37] [PASSED] vf_rejects_guc2vf_too_short
[00:03:37] [PASSED] vf_rejects_guc2vf_too_long
[00:03:37] [PASSED] vf_rejects_guc2vf_no_payload
[00:03:37] ==================== [PASSED] vf_relay =====================
[00:03:37] ===================== lmtt (1 subtest) =====================
[00:03:37] ======================== test_ops =========================
[00:03:37] [PASSED] 2-level
[00:03:37] [PASSED] multi-level
[00:03:37] ==================== [PASSED] test_ops =====================
[00:03:37] ====================== [PASSED] lmtt =======================
[00:03:37] ================= pf_service (11 subtests) =================
[00:03:37] [PASSED] pf_negotiate_any
[00:03:37] [PASSED] pf_negotiate_base_match
[00:03:37] [PASSED] pf_negotiate_base_newer
[00:03:37] [PASSED] pf_negotiate_base_next
[00:03:37] [SKIPPED] pf_negotiate_base_older
[00:03:37] [PASSED] pf_negotiate_base_prev
[00:03:37] [PASSED] pf_negotiate_latest_match
[00:03:37] [PASSED] pf_negotiate_latest_newer
[00:03:37] [PASSED] pf_negotiate_latest_next
[00:03:37] [SKIPPED] pf_negotiate_latest_older
[00:03:37] [SKIPPED] pf_negotiate_latest_prev
[00:03:37] =================== [PASSED] pf_service ====================
[00:03:37] ================= xe_guc_g2g (2 subtests) ==================
[00:03:37] ============== xe_live_guc_g2g_kunit_default ==============
[00:03:37] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[00:03:37] ============== xe_live_guc_g2g_kunit_allmem ===============
[00:03:37] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[00:03:37] =================== [SKIPPED] xe_guc_g2g ===================
[00:03:37] =================== xe_mocs (2 subtests) ===================
[00:03:37] ================ xe_live_mocs_kernel_kunit ================
[00:03:37] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[00:03:37] ================ xe_live_mocs_reset_kunit =================
[00:03:37] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[00:03:37] ==================== [SKIPPED] xe_mocs =====================
[00:03:37] ================= xe_migrate (2 subtests) ==================
[00:03:37] ================= xe_migrate_sanity_kunit =================
[00:03:37] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[00:03:37] ================== xe_validate_ccs_kunit ==================
[00:03:37] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[00:03:37] =================== [SKIPPED] xe_migrate ===================
[00:03:37] ================== xe_dma_buf (1 subtest) ==================
[00:03:37] ==================== xe_dma_buf_kunit =====================
[00:03:37] ================ [SKIPPED] xe_dma_buf_kunit ================
[00:03:37] =================== [SKIPPED] xe_dma_buf ===================
[00:03:37] ================= xe_bo_shrink (1 subtest) =================
[00:03:37] =================== xe_bo_shrink_kunit ====================
[00:03:37] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[00:03:37] ================== [SKIPPED] xe_bo_shrink ==================
[00:03:37] ==================== xe_bo (2 subtests) ====================
[00:03:37] ================== xe_ccs_migrate_kunit ===================
[00:03:37] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[00:03:37] ==================== xe_bo_evict_kunit ====================
[00:03:37] =============== [SKIPPED] xe_bo_evict_kunit ================
[00:03:37] ===================== [SKIPPED] xe_bo ======================
[00:03:37] ==================== args (11 subtests) ====================
[00:03:37] [PASSED] count_args_test
[00:03:37] [PASSED] call_args_example
[00:03:37] [PASSED] call_args_test
[00:03:37] [PASSED] drop_first_arg_example
[00:03:37] [PASSED] drop_first_arg_test
[00:03:37] [PASSED] first_arg_example
[00:03:37] [PASSED] first_arg_test
[00:03:37] [PASSED] last_arg_example
[00:03:37] [PASSED] last_arg_test
[00:03:37] [PASSED] pick_arg_example
[00:03:37] [PASSED] sep_comma_example
[00:03:37] ====================== [PASSED] args =======================
[00:03:37] =================== xe_pci (3 subtests) ====================
[00:03:37] ==================== check_graphics_ip ====================
[00:03:37] [PASSED] 12.00 Xe_LP
[00:03:37] [PASSED] 12.10 Xe_LP+
[00:03:37] [PASSED] 12.55 Xe_HPG
[00:03:37] [PASSED] 12.60 Xe_HPC
[00:03:37] [PASSED] 12.70 Xe_LPG
[00:03:37] [PASSED] 12.71 Xe_LPG
[00:03:37] [PASSED] 12.74 Xe_LPG+
[00:03:37] [PASSED] 20.01 Xe2_HPG
[00:03:37] [PASSED] 20.02 Xe2_HPG
[00:03:37] [PASSED] 20.04 Xe2_LPG
[00:03:37] [PASSED] 30.00 Xe3_LPG
[00:03:37] [PASSED] 30.01 Xe3_LPG
[00:03:37] [PASSED] 30.03 Xe3_LPG
[00:03:37] ================ [PASSED] check_graphics_ip ================
[00:03:37] ===================== check_media_ip ======================
[00:03:37] [PASSED] 12.00 Xe_M
[00:03:37] [PASSED] 12.55 Xe_HPM
[00:03:37] [PASSED] 13.00 Xe_LPM+
[00:03:37] [PASSED] 13.01 Xe2_HPM
[00:03:37] [PASSED] 20.00 Xe2_LPM
[00:03:37] [PASSED] 30.00 Xe3_LPM
[00:03:37] [PASSED] 30.02 Xe3_LPM
[00:03:37] ================= [PASSED] check_media_ip ==================
[00:03:37] ================= check_platform_gt_count =================
[00:03:37] [PASSED] 0x9A60 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A68 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A70 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A40 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A49 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A59 (TIGERLAKE)
[00:03:37] [PASSED] 0x9A78 (TIGERLAKE)
[00:03:37] [PASSED] 0x9AC0 (TIGERLAKE)
[00:03:37] [PASSED] 0x9AC9 (TIGERLAKE)
[00:03:37] [PASSED] 0x9AD9 (TIGERLAKE)
[00:03:37] [PASSED] 0x9AF8 (TIGERLAKE)
[00:03:37] [PASSED] 0x4C80 (ROCKETLAKE)
[00:03:37] [PASSED] 0x4C8A (ROCKETLAKE)
[00:03:37] [PASSED] 0x4C8B (ROCKETLAKE)
[00:03:37] [PASSED] 0x4C8C (ROCKETLAKE)
[00:03:37] [PASSED] 0x4C90 (ROCKETLAKE)
[00:03:37] [PASSED] 0x4C9A (ROCKETLAKE)
[00:03:37] [PASSED] 0x4680 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4682 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4688 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x468A (ALDERLAKE_S)
[00:03:37] [PASSED] 0x468B (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4690 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4692 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4693 (ALDERLAKE_S)
[00:03:37] [PASSED] 0x46A0 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46A1 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46A2 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46A3 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46A6 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46A8 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46AA (ALDERLAKE_P)
[00:03:37] [PASSED] 0x462A (ALDERLAKE_P)
[00:03:37] [PASSED] 0x4626 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x4628 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46B0 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46B1 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46B2 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46B3 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46C0 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46C1 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46C2 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46C3 (ALDERLAKE_P)
[00:03:37] [PASSED] 0x46D0 (ALDERLAKE_N)
[00:03:37] [PASSED] 0x46D1 (ALDERLAKE_N)
[00:03:37] [PASSED] 0x46D2 (ALDERLAKE_N)
[00:03:37] [PASSED] 0x46D3 (ALDERLAKE_N)
[00:03:37] [PASSED] 0x46D4 (ALDERLAKE_N)
[00:03:37] [PASSED] 0xA721 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7A1 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7A9 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7AC (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7AD (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA720 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7A0 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7A8 (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7AA (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA7AB (ALDERLAKE_P)
[00:03:37] [PASSED] 0xA780 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA781 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA782 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA783 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA788 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA789 (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA78A (ALDERLAKE_S)
[00:03:37] [PASSED] 0xA78B (ALDERLAKE_S)
[00:03:37] [PASSED] 0x4905 (DG1)
[00:03:37] [PASSED] 0x4906 (DG1)
[00:03:37] [PASSED] 0x4907 (DG1)
[00:03:37] [PASSED] 0x4908 (DG1)
[00:03:37] [PASSED] 0x4909 (DG1)
[00:03:37] [PASSED] 0x56C0 (DG2)
[00:03:37] [PASSED] 0x56C2 (DG2)
[00:03:37] [PASSED] 0x56C1 (DG2)
[00:03:37] [PASSED] 0x7D51 (METEORLAKE)
[00:03:37] [PASSED] 0x7DD1 (METEORLAKE)
[00:03:37] [PASSED] 0x7D41 (METEORLAKE)
[00:03:37] [PASSED] 0x7D67 (METEORLAKE)
[00:03:37] [PASSED] 0xB640 (METEORLAKE)
[00:03:37] [PASSED] 0x56A0 (DG2)
[00:03:37] [PASSED] 0x56A1 (DG2)
[00:03:37] [PASSED] 0x56A2 (DG2)
[00:03:37] [PASSED] 0x56BE (DG2)
[00:03:37] [PASSED] 0x56BF (DG2)
[00:03:37] [PASSED] 0x5690 (DG2)
[00:03:37] [PASSED] 0x5691 (DG2)
[00:03:37] [PASSED] 0x5692 (DG2)
[00:03:37] [PASSED] 0x56A5 (DG2)
[00:03:37] [PASSED] 0x56A6 (DG2)
[00:03:37] [PASSED] 0x56B0 (DG2)
[00:03:37] [PASSED] 0x56B1 (DG2)
[00:03:37] [PASSED] 0x56BA (DG2)
[00:03:37] [PASSED] 0x56BB (DG2)
[00:03:37] [PASSED] 0x56BC (DG2)
[00:03:37] [PASSED] 0x56BD (DG2)
[00:03:37] [PASSED] 0x5693 (DG2)
[00:03:37] [PASSED] 0x5694 (DG2)
[00:03:37] [PASSED] 0x5695 (DG2)
[00:03:37] [PASSED] 0x56A3 (DG2)
[00:03:37] [PASSED] 0x56A4 (DG2)
[00:03:37] [PASSED] 0x56B2 (DG2)
[00:03:37] [PASSED] 0x56B3 (DG2)
[00:03:37] [PASSED] 0x5696 (DG2)
[00:03:37] [PASSED] 0x5697 (DG2)
[00:03:37] [PASSED] 0xB69 (PVC)
[00:03:37] [PASSED] 0xB6E (PVC)
[00:03:37] [PASSED] 0xBD4 (PVC)
[00:03:37] [PASSED] 0xBD5 (PVC)
[00:03:37] [PASSED] 0xBD6 (PVC)
[00:03:37] [PASSED] 0xBD7 (PVC)
[00:03:37] [PASSED] 0xBD8 (PVC)
[00:03:37] [PASSED] 0xBD9 (PVC)
[00:03:37] [PASSED] 0xBDA (PVC)
[00:03:37] [PASSED] 0xBDB (PVC)
[00:03:37] [PASSED] 0xBE0 (PVC)
[00:03:37] [PASSED] 0xBE1 (PVC)
[00:03:37] [PASSED] 0xBE5 (PVC)
[00:03:37] [PASSED] 0x7D40 (METEORLAKE)
[00:03:37] [PASSED] 0x7D45 (METEORLAKE)
[00:03:37] [PASSED] 0x7D55 (METEORLAKE)
[00:03:37] [PASSED] 0x7D60 (METEORLAKE)
[00:03:37] [PASSED] 0x7DD5 (METEORLAKE)
[00:03:37] [PASSED] 0x6420 (LUNARLAKE)
[00:03:37] [PASSED] 0x64A0 (LUNARLAKE)
[00:03:37] [PASSED] 0x64B0 (LUNARLAKE)
[00:03:37] [PASSED] 0xE202 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE209 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE20B (BATTLEMAGE)
[00:03:37] [PASSED] 0xE20C (BATTLEMAGE)
[00:03:37] [PASSED] 0xE20D (BATTLEMAGE)
[00:03:37] [PASSED] 0xE210 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE211 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE212 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE216 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE220 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE221 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE222 (BATTLEMAGE)
[00:03:37] [PASSED] 0xE223 (BATTLEMAGE)
[00:03:37] [PASSED] 0xB080 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB081 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB082 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB083 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB084 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB085 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB086 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB087 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB08F (PANTHERLAKE)
[00:03:37] [PASSED] 0xB090 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB0A0 (PANTHERLAKE)
[00:03:37] [PASSED] 0xB0B0 (PANTHERLAKE)
[00:03:37] [PASSED] 0xFD80 (PANTHERLAKE)
[00:03:37] [PASSED] 0xFD81 (PANTHERLAKE)
[00:03:37] ============= [PASSED] check_platform_gt_count =============
[00:03:37] ===================== [PASSED] xe_pci ======================
[00:03:37] =================== xe_rtp (2 subtests) ====================
[00:03:37] =============== xe_rtp_process_to_sr_tests ================
[00:03:37] [PASSED] coalesce-same-reg
[00:03:37] [PASSED] no-match-no-add
[00:03:37] [PASSED] match-or
[00:03:37] [PASSED] match-or-xfail
[00:03:37] [PASSED] no-match-no-add-multiple-rules
[00:03:37] [PASSED] two-regs-two-entries
[00:03:37] [PASSED] clr-one-set-other
[00:03:37] [PASSED] set-field
[00:03:37] [PASSED] conflict-duplicate
[00:03:37] [PASSED] conflict-not-disjoint
[00:03:37] [PASSED] conflict-reg-type
[00:03:37] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[00:03:37] ================== xe_rtp_process_tests ===================
[00:03:37] [PASSED] active1
[00:03:37] [PASSED] active2
[00:03:37] [PASSED] active-inactive
[00:03:37] [PASSED] inactive-active
[00:03:37] [PASSED] inactive-1st_or_active-inactive
[00:03:37] [PASSED] inactive-2nd_or_active-inactive
[00:03:37] [PASSED] inactive-last_or_active-inactive
[00:03:37] [PASSED] inactive-no_or_active-inactive
[00:03:37] ============== [PASSED] xe_rtp_process_tests ===============
[00:03:37] ===================== [PASSED] xe_rtp ======================
[00:03:37] ==================== xe_wa (1 subtest) =====================
[00:03:37] ======================== xe_wa_gt =========================
[00:03:37] [PASSED] TIGERLAKE B0
[00:03:37] [PASSED] DG1 A0
[00:03:37] [PASSED] DG1 B0
[00:03:37] [PASSED] ALDERLAKE_S A0
[00:03:37] [PASSED] ALDERLAKE_S B0
stty: 'standard input': Inappropriate ioctl for device
[00:03:37] [PASSED] ALDERLAKE_S C0
[00:03:37] [PASSED] ALDERLAKE_S D0
[00:03:37] [PASSED] ALDERLAKE_P A0
[00:03:37] [PASSED] ALDERLAKE_P B0
[00:03:37] [PASSED] ALDERLAKE_P C0
[00:03:37] [PASSED] ALDERLAKE_S RPLS D0
[00:03:37] [PASSED] ALDERLAKE_P RPLU E0
[00:03:37] [PASSED] DG2 G10 C0
[00:03:37] [PASSED] DG2 G11 B1
[00:03:37] [PASSED] DG2 G12 A1
[00:03:37] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[00:03:37] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[00:03:37] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[00:03:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[00:03:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[00:03:37] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[00:03:37] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[00:03:37] ==================== [PASSED] xe_wa_gt =====================
[00:03:37] ====================== [PASSED] xe_wa ======================
[00:03:37] ============================================================
[00:03:37] Testing complete. Ran 306 tests: passed: 288, skipped: 18
[00:03:37] Elapsed time: 33.664s total, 4.218s configuring, 29.080s building, 0.331s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[00:03:37] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:03:39] 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
[00:04:03] Starting KUnit Kernel (1/1)...
[00:04:03] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:04:03] ============ drm_test_pick_cmdline (2 subtests) ============
[00:04:03] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[00:04:03] =============== drm_test_pick_cmdline_named ===============
[00:04:03] [PASSED] NTSC
[00:04:03] [PASSED] NTSC-J
[00:04:03] [PASSED] PAL
[00:04:03] [PASSED] PAL-M
[00:04:03] =========== [PASSED] drm_test_pick_cmdline_named ===========
[00:04:03] ============== [PASSED] drm_test_pick_cmdline ==============
[00:04:03] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[00:04:03] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[00:04:03] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[00:04:03] =========== drm_validate_clone_mode (2 subtests) ===========
[00:04:03] ============== drm_test_check_in_clone_mode ===============
[00:04:03] [PASSED] in_clone_mode
[00:04:03] [PASSED] not_in_clone_mode
[00:04:03] ========== [PASSED] drm_test_check_in_clone_mode ===========
[00:04:03] =============== drm_test_check_valid_clones ===============
[00:04:03] [PASSED] not_in_clone_mode
[00:04:03] [PASSED] valid_clone
[00:04:03] [PASSED] invalid_clone
[00:04:03] =========== [PASSED] drm_test_check_valid_clones ===========
[00:04:03] ============= [PASSED] drm_validate_clone_mode =============
[00:04:03] ============= drm_validate_modeset (1 subtest) =============
[00:04:03] [PASSED] drm_test_check_connector_changed_modeset
[00:04:03] ============== [PASSED] drm_validate_modeset ===============
[00:04:03] ====== drm_test_bridge_get_current_state (2 subtests) ======
[00:04:03] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[00:04:03] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[00:04:03] ======== [PASSED] drm_test_bridge_get_current_state ========
[00:04:03] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[00:04:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[00:04:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[00:04:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[00:04:03] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[00:04:03] ============== drm_bridge_alloc (2 subtests) ===============
[00:04:03] [PASSED] drm_test_drm_bridge_alloc_basic
[00:04:03] [PASSED] drm_test_drm_bridge_alloc_get_put
[00:04:03] ================ [PASSED] drm_bridge_alloc =================
[00:04:03] ================== drm_buddy (7 subtests) ==================
[00:04:03] [PASSED] drm_test_buddy_alloc_limit
[00:04:03] [PASSED] drm_test_buddy_alloc_optimistic
[00:04:03] [PASSED] drm_test_buddy_alloc_pessimistic
[00:04:03] [PASSED] drm_test_buddy_alloc_pathological
[00:04:03] [PASSED] drm_test_buddy_alloc_contiguous
[00:04:03] [PASSED] drm_test_buddy_alloc_clear
[00:04:03] [PASSED] drm_test_buddy_alloc_range_bias
[00:04:03] ==================== [PASSED] drm_buddy ====================
[00:04:03] ============= drm_cmdline_parser (40 subtests) =============
[00:04:03] [PASSED] drm_test_cmdline_force_d_only
[00:04:03] [PASSED] drm_test_cmdline_force_D_only_dvi
[00:04:03] [PASSED] drm_test_cmdline_force_D_only_hdmi
[00:04:03] [PASSED] drm_test_cmdline_force_D_only_not_digital
[00:04:03] [PASSED] drm_test_cmdline_force_e_only
[00:04:03] [PASSED] drm_test_cmdline_res
[00:04:03] [PASSED] drm_test_cmdline_res_vesa
[00:04:03] [PASSED] drm_test_cmdline_res_vesa_rblank
[00:04:03] [PASSED] drm_test_cmdline_res_rblank
[00:04:03] [PASSED] drm_test_cmdline_res_bpp
[00:04:03] [PASSED] drm_test_cmdline_res_refresh
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[00:04:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[00:04:03] [PASSED] drm_test_cmdline_res_margins_force_on
[00:04:03] [PASSED] drm_test_cmdline_res_vesa_margins
[00:04:03] [PASSED] drm_test_cmdline_name
[00:04:03] [PASSED] drm_test_cmdline_name_bpp
[00:04:03] [PASSED] drm_test_cmdline_name_option
[00:04:03] [PASSED] drm_test_cmdline_name_bpp_option
[00:04:03] [PASSED] drm_test_cmdline_rotate_0
[00:04:03] [PASSED] drm_test_cmdline_rotate_90
[00:04:03] [PASSED] drm_test_cmdline_rotate_180
[00:04:03] [PASSED] drm_test_cmdline_rotate_270
[00:04:03] [PASSED] drm_test_cmdline_hmirror
[00:04:03] [PASSED] drm_test_cmdline_vmirror
[00:04:03] [PASSED] drm_test_cmdline_margin_options
[00:04:03] [PASSED] drm_test_cmdline_multiple_options
[00:04:03] [PASSED] drm_test_cmdline_bpp_extra_and_option
[00:04:03] [PASSED] drm_test_cmdline_extra_and_option
[00:04:03] [PASSED] drm_test_cmdline_freestanding_options
[00:04:03] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[00:04:03] [PASSED] drm_test_cmdline_panel_orientation
[00:04:03] ================ drm_test_cmdline_invalid =================
[00:04:03] [PASSED] margin_only
[00:04:03] [PASSED] interlace_only
[00:04:03] [PASSED] res_missing_x
[00:04:03] [PASSED] res_missing_y
[00:04:03] [PASSED] res_bad_y
[00:04:03] [PASSED] res_missing_y_bpp
[00:04:03] [PASSED] res_bad_bpp
[00:04:03] [PASSED] res_bad_refresh
[00:04:03] [PASSED] res_bpp_refresh_force_on_off
[00:04:03] [PASSED] res_invalid_mode
[00:04:03] [PASSED] res_bpp_wrong_place_mode
[00:04:03] [PASSED] name_bpp_refresh
[00:04:03] [PASSED] name_refresh
[00:04:03] [PASSED] name_refresh_wrong_mode
[00:04:03] [PASSED] name_refresh_invalid_mode
[00:04:03] [PASSED] rotate_multiple
[00:04:03] [PASSED] rotate_invalid_val
[00:04:03] [PASSED] rotate_truncated
[00:04:03] [PASSED] invalid_option
[00:04:03] [PASSED] invalid_tv_option
[00:04:03] [PASSED] truncated_tv_option
[00:04:03] ============ [PASSED] drm_test_cmdline_invalid =============
[00:04:03] =============== drm_test_cmdline_tv_options ===============
[00:04:03] [PASSED] NTSC
[00:04:03] [PASSED] NTSC_443
[00:04:03] [PASSED] NTSC_J
[00:04:03] [PASSED] PAL
[00:04:03] [PASSED] PAL_M
[00:04:03] [PASSED] PAL_N
[00:04:03] [PASSED] SECAM
[00:04:03] [PASSED] MONO_525
[00:04:03] [PASSED] MONO_625
[00:04:03] =========== [PASSED] drm_test_cmdline_tv_options ===========
[00:04:03] =============== [PASSED] drm_cmdline_parser ================
[00:04:03] ========== drmm_connector_hdmi_init (20 subtests) ==========
[00:04:03] [PASSED] drm_test_connector_hdmi_init_valid
[00:04:03] [PASSED] drm_test_connector_hdmi_init_bpc_8
[00:04:03] [PASSED] drm_test_connector_hdmi_init_bpc_10
[00:04:03] [PASSED] drm_test_connector_hdmi_init_bpc_12
[00:04:03] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[00:04:03] [PASSED] drm_test_connector_hdmi_init_bpc_null
[00:04:03] [PASSED] drm_test_connector_hdmi_init_formats_empty
[00:04:03] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[00:04:03] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[00:04:03] [PASSED] supported_formats=0x9 yuv420_allowed=1
[00:04:03] [PASSED] supported_formats=0x9 yuv420_allowed=0
[00:04:03] [PASSED] supported_formats=0x3 yuv420_allowed=1
[00:04:03] [PASSED] supported_formats=0x3 yuv420_allowed=0
[00:04:03] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[00:04:03] [PASSED] drm_test_connector_hdmi_init_null_ddc
[00:04:03] [PASSED] drm_test_connector_hdmi_init_null_product
[00:04:03] [PASSED] drm_test_connector_hdmi_init_null_vendor
[00:04:03] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[00:04:03] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[00:04:03] [PASSED] drm_test_connector_hdmi_init_product_valid
[00:04:03] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[00:04:03] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[00:04:03] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[00:04:03] ========= drm_test_connector_hdmi_init_type_valid =========
[00:04:03] [PASSED] HDMI-A
[00:04:03] [PASSED] HDMI-B
[00:04:03] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[00:04:03] ======== drm_test_connector_hdmi_init_type_invalid ========
[00:04:03] [PASSED] Unknown
[00:04:03] [PASSED] VGA
[00:04:03] [PASSED] DVI-I
[00:04:03] [PASSED] DVI-D
[00:04:03] [PASSED] DVI-A
[00:04:03] [PASSED] Composite
[00:04:03] [PASSED] SVIDEO
[00:04:03] [PASSED] LVDS
[00:04:03] [PASSED] Component
[00:04:03] [PASSED] DIN
[00:04:03] [PASSED] DP
[00:04:03] [PASSED] TV
[00:04:03] [PASSED] eDP
[00:04:03] [PASSED] Virtual
[00:04:03] [PASSED] DSI
[00:04:03] [PASSED] DPI
[00:04:03] [PASSED] Writeback
[00:04:03] [PASSED] SPI
[00:04:03] [PASSED] USB
[00:04:03] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[00:04:03] ============ [PASSED] drmm_connector_hdmi_init =============
[00:04:03] ============= drmm_connector_init (3 subtests) =============
[00:04:03] [PASSED] drm_test_drmm_connector_init
[00:04:03] [PASSED] drm_test_drmm_connector_init_null_ddc
[00:04:03] ========= drm_test_drmm_connector_init_type_valid =========
[00:04:03] [PASSED] Unknown
[00:04:03] [PASSED] VGA
[00:04:03] [PASSED] DVI-I
[00:04:03] [PASSED] DVI-D
[00:04:03] [PASSED] DVI-A
[00:04:03] [PASSED] Composite
[00:04:03] [PASSED] SVIDEO
[00:04:03] [PASSED] LVDS
[00:04:03] [PASSED] Component
[00:04:03] [PASSED] DIN
[00:04:03] [PASSED] DP
[00:04:03] [PASSED] HDMI-A
[00:04:03] [PASSED] HDMI-B
[00:04:03] [PASSED] TV
[00:04:03] [PASSED] eDP
[00:04:03] [PASSED] Virtual
[00:04:03] [PASSED] DSI
[00:04:03] [PASSED] DPI
[00:04:03] [PASSED] Writeback
[00:04:03] [PASSED] SPI
[00:04:03] [PASSED] USB
[00:04:03] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[00:04:03] =============== [PASSED] drmm_connector_init ===============
[00:04:03] ========= drm_connector_dynamic_init (6 subtests) ==========
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_init
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_init_properties
[00:04:03] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[00:04:03] [PASSED] Unknown
[00:04:03] [PASSED] VGA
[00:04:03] [PASSED] DVI-I
[00:04:03] [PASSED] DVI-D
[00:04:03] [PASSED] DVI-A
[00:04:03] [PASSED] Composite
[00:04:03] [PASSED] SVIDEO
[00:04:03] [PASSED] LVDS
[00:04:03] [PASSED] Component
[00:04:03] [PASSED] DIN
[00:04:03] [PASSED] DP
[00:04:03] [PASSED] HDMI-A
[00:04:03] [PASSED] HDMI-B
[00:04:03] [PASSED] TV
[00:04:03] [PASSED] eDP
[00:04:03] [PASSED] Virtual
[00:04:03] [PASSED] DSI
[00:04:03] [PASSED] DPI
[00:04:03] [PASSED] Writeback
[00:04:03] [PASSED] SPI
[00:04:03] [PASSED] USB
[00:04:03] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[00:04:03] ======== drm_test_drm_connector_dynamic_init_name =========
[00:04:03] [PASSED] Unknown
[00:04:03] [PASSED] VGA
[00:04:03] [PASSED] DVI-I
[00:04:03] [PASSED] DVI-D
[00:04:03] [PASSED] DVI-A
[00:04:03] [PASSED] Composite
[00:04:03] [PASSED] SVIDEO
[00:04:03] [PASSED] LVDS
[00:04:03] [PASSED] Component
[00:04:03] [PASSED] DIN
[00:04:03] [PASSED] DP
[00:04:03] [PASSED] HDMI-A
[00:04:03] [PASSED] HDMI-B
[00:04:03] [PASSED] TV
[00:04:03] [PASSED] eDP
[00:04:03] [PASSED] Virtual
[00:04:03] [PASSED] DSI
[00:04:03] [PASSED] DPI
[00:04:03] [PASSED] Writeback
[00:04:03] [PASSED] SPI
[00:04:03] [PASSED] USB
[00:04:03] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[00:04:03] =========== [PASSED] drm_connector_dynamic_init ============
[00:04:03] ==== drm_connector_dynamic_register_early (4 subtests) =====
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[00:04:03] ====== [PASSED] drm_connector_dynamic_register_early =======
[00:04:03] ======= drm_connector_dynamic_register (7 subtests) ========
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[00:04:03] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[00:04:03] ========= [PASSED] drm_connector_dynamic_register ==========
[00:04:03] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[00:04:03] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[00:04:03] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[00:04:03] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[00:04:03] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[00:04:03] ========== drm_test_get_tv_mode_from_name_valid ===========
[00:04:03] [PASSED] NTSC
[00:04:03] [PASSED] NTSC-443
[00:04:03] [PASSED] NTSC-J
[00:04:03] [PASSED] PAL
[00:04:03] [PASSED] PAL-M
[00:04:03] [PASSED] PAL-N
[00:04:03] [PASSED] SECAM
[00:04:03] [PASSED] Mono
[00:04:03] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[00:04:03] [PASSED] drm_test_get_tv_mode_from_name_truncated
[00:04:03] ============ [PASSED] drm_get_tv_mode_from_name ============
[00:04:03] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[00:04:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[00:04:03] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[00:04:03] [PASSED] VIC 96
[00:04:03] [PASSED] VIC 97
[00:04:03] [PASSED] VIC 101
[00:04:03] [PASSED] VIC 102
[00:04:03] [PASSED] VIC 106
[00:04:03] [PASSED] VIC 107
[00:04:03] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[00:04:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[00:04:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[00:04:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[00:04:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[00:04:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[00:04:03] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[00:04:03] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[00:04:03] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[00:04:03] [PASSED] Automatic
[00:04:03] [PASSED] Full
[00:04:03] [PASSED] Limited 16:235
[00:04:03] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[00:04:03] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[00:04:03] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[00:04:03] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[00:04:03] === drm_test_drm_hdmi_connector_get_output_format_name ====
[00:04:03] [PASSED] RGB
[00:04:03] [PASSED] YUV 4:2:0
[00:04:03] [PASSED] YUV 4:2:2
[00:04:03] [PASSED] YUV 4:4:4
[00:04:03] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[00:04:03] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[00:04:03] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[00:04:03] ============= drm_damage_helper (21 subtests) ==============
[00:04:03] [PASSED] drm_test_damage_iter_no_damage
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_src_moved
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_not_visible
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[00:04:03] [PASSED] drm_test_damage_iter_no_damage_no_fb
[00:04:03] [PASSED] drm_test_damage_iter_simple_damage
[00:04:03] [PASSED] drm_test_damage_iter_single_damage
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_outside_src
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_src_moved
[00:04:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[00:04:03] [PASSED] drm_test_damage_iter_damage
[00:04:03] [PASSED] drm_test_damage_iter_damage_one_intersect
[00:04:03] [PASSED] drm_test_damage_iter_damage_one_outside
[00:04:03] [PASSED] drm_test_damage_iter_damage_src_moved
[00:04:03] [PASSED] drm_test_damage_iter_damage_not_visible
[00:04:03] ================ [PASSED] drm_damage_helper ================
[00:04:03] ============== drm_dp_mst_helper (3 subtests) ==============
[00:04:03] ============== drm_test_dp_mst_calc_pbn_mode ==============
[00:04:03] [PASSED] Clock 154000 BPP 30 DSC disabled
[00:04:03] [PASSED] Clock 234000 BPP 30 DSC disabled
[00:04:03] [PASSED] Clock 297000 BPP 24 DSC disabled
[00:04:03] [PASSED] Clock 332880 BPP 24 DSC enabled
[00:04:03] [PASSED] Clock 324540 BPP 24 DSC enabled
[00:04:03] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[00:04:03] ============== drm_test_dp_mst_calc_pbn_div ===============
[00:04:03] [PASSED] Link rate 2000000 lane count 4
[00:04:03] [PASSED] Link rate 2000000 lane count 2
[00:04:03] [PASSED] Link rate 2000000 lane count 1
[00:04:03] [PASSED] Link rate 1350000 lane count 4
[00:04:03] [PASSED] Link rate 1350000 lane count 2
[00:04:03] [PASSED] Link rate 1350000 lane count 1
[00:04:03] [PASSED] Link rate 1000000 lane count 4
[00:04:03] [PASSED] Link rate 1000000 lane count 2
[00:04:03] [PASSED] Link rate 1000000 lane count 1
[00:04:03] [PASSED] Link rate 810000 lane count 4
[00:04:03] [PASSED] Link rate 810000 lane count 2
[00:04:03] [PASSED] Link rate 810000 lane count 1
[00:04:03] [PASSED] Link rate 540000 lane count 4
[00:04:03] [PASSED] Link rate 540000 lane count 2
[00:04:03] [PASSED] Link rate 540000 lane count 1
[00:04:03] [PASSED] Link rate 270000 lane count 4
[00:04:03] [PASSED] Link rate 270000 lane count 2
[00:04:03] [PASSED] Link rate 270000 lane count 1
[00:04:03] [PASSED] Link rate 162000 lane count 4
[00:04:03] [PASSED] Link rate 162000 lane count 2
[00:04:03] [PASSED] Link rate 162000 lane count 1
[00:04:03] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[00:04:03] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[00:04:03] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[00:04:03] [PASSED] DP_POWER_UP_PHY with port number
[00:04:03] [PASSED] DP_POWER_DOWN_PHY with port number
[00:04:03] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[00:04:03] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[00:04:03] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[00:04:03] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[00:04:03] [PASSED] DP_QUERY_PAYLOAD with port number
[00:04:03] [PASSED] DP_QUERY_PAYLOAD with VCPI
[00:04:03] [PASSED] DP_REMOTE_DPCD_READ with port number
[00:04:03] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[00:04:03] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[00:04:03] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[00:04:03] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[00:04:03] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[00:04:03] [PASSED] DP_REMOTE_I2C_READ with port number
[00:04:03] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[00:04:03] [PASSED] DP_REMOTE_I2C_READ with transactions array
[00:04:03] [PASSED] DP_REMOTE_I2C_WRITE with port number
[00:04:03] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[00:04:03] [PASSED] DP_REMOTE_I2C_WRITE with data array
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[00:04:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[00:04:03] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[00:04:03] ================ [PASSED] drm_dp_mst_helper ================
[00:04:03] ================== drm_exec (7 subtests) ===================
[00:04:03] [PASSED] sanitycheck
[00:04:03] [PASSED] test_lock
[00:04:03] [PASSED] test_lock_unlock
[00:04:03] [PASSED] test_duplicates
[00:04:03] [PASSED] test_prepare
[00:04:03] [PASSED] test_prepare_array
[00:04:03] [PASSED] test_multiple_loops
[00:04:03] ==================== [PASSED] drm_exec =====================
[00:04:03] =========== drm_format_helper_test (17 subtests) ===========
[00:04:03] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[00:04:03] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[00:04:03] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[00:04:03] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[00:04:03] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[00:04:03] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[00:04:03] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[00:04:03] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[00:04:03] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[00:04:03] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[00:04:03] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[00:04:03] ============== drm_test_fb_xrgb8888_to_mono ===============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[00:04:03] ==================== drm_test_fb_swab =====================
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ================ [PASSED] drm_test_fb_swab =================
[00:04:03] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[00:04:03] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[00:04:03] [PASSED] single_pixel_source_buffer
[00:04:03] [PASSED] single_pixel_clip_rectangle
[00:04:03] [PASSED] well_known_colors
[00:04:03] [PASSED] destination_pitch
[00:04:03] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[00:04:03] ================= drm_test_fb_clip_offset =================
[00:04:03] [PASSED] pass through
[00:04:03] [PASSED] horizontal offset
[00:04:03] [PASSED] vertical offset
[00:04:03] [PASSED] horizontal and vertical offset
[00:04:03] [PASSED] horizontal offset (custom pitch)
[00:04:03] [PASSED] vertical offset (custom pitch)
[00:04:03] [PASSED] horizontal and vertical offset (custom pitch)
[00:04:03] ============= [PASSED] drm_test_fb_clip_offset =============
[00:04:03] =================== drm_test_fb_memcpy ====================
[00:04:03] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[00:04:03] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[00:04:03] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[00:04:03] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[00:04:03] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[00:04:03] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[00:04:03] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[00:04:03] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[00:04:03] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[00:04:03] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[00:04:03] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[00:04:03] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[00:04:03] =============== [PASSED] drm_test_fb_memcpy ================
[00:04:03] ============= [PASSED] drm_format_helper_test ==============
[00:04:03] ================= drm_format (18 subtests) =================
[00:04:03] [PASSED] drm_test_format_block_width_invalid
[00:04:03] [PASSED] drm_test_format_block_width_one_plane
[00:04:03] [PASSED] drm_test_format_block_width_two_plane
[00:04:03] [PASSED] drm_test_format_block_width_three_plane
[00:04:03] [PASSED] drm_test_format_block_width_tiled
[00:04:03] [PASSED] drm_test_format_block_height_invalid
[00:04:03] [PASSED] drm_test_format_block_height_one_plane
[00:04:03] [PASSED] drm_test_format_block_height_two_plane
[00:04:03] [PASSED] drm_test_format_block_height_three_plane
[00:04:03] [PASSED] drm_test_format_block_height_tiled
[00:04:03] [PASSED] drm_test_format_min_pitch_invalid
[00:04:03] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[00:04:03] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[00:04:03] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[00:04:03] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[00:04:03] [PASSED] drm_test_format_min_pitch_two_plane
[00:04:03] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[00:04:03] [PASSED] drm_test_format_min_pitch_tiled
[00:04:03] =================== [PASSED] drm_format ====================
[00:04:03] ============== drm_framebuffer (10 subtests) ===============
[00:04:03] ========== drm_test_framebuffer_check_src_coords ==========
[00:04:03] [PASSED] Success: source fits into fb
[00:04:03] [PASSED] Fail: overflowing fb with x-axis coordinate
[00:04:03] [PASSED] Fail: overflowing fb with y-axis coordinate
[00:04:03] [PASSED] Fail: overflowing fb with source width
[00:04:03] [PASSED] Fail: overflowing fb with source height
[00:04:03] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[00:04:03] [PASSED] drm_test_framebuffer_cleanup
[00:04:03] =============== drm_test_framebuffer_create ===============
[00:04:03] [PASSED] ABGR8888 normal sizes
[00:04:03] [PASSED] ABGR8888 max sizes
[00:04:03] [PASSED] ABGR8888 pitch greater than min required
[00:04:03] [PASSED] ABGR8888 pitch less than min required
[00:04:03] [PASSED] ABGR8888 Invalid width
[00:04:03] [PASSED] ABGR8888 Invalid buffer handle
[00:04:03] [PASSED] No pixel format
[00:04:03] [PASSED] ABGR8888 Width 0
[00:04:03] [PASSED] ABGR8888 Height 0
[00:04:03] [PASSED] ABGR8888 Out of bound height * pitch combination
[00:04:03] [PASSED] ABGR8888 Large buffer offset
[00:04:03] [PASSED] ABGR8888 Buffer offset for inexistent plane
[00:04:03] [PASSED] ABGR8888 Invalid flag
[00:04:03] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[00:04:03] [PASSED] ABGR8888 Valid buffer modifier
[00:04:03] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[00:04:03] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] NV12 Normal sizes
[00:04:03] [PASSED] NV12 Max sizes
[00:04:03] [PASSED] NV12 Invalid pitch
[00:04:03] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[00:04:03] [PASSED] NV12 different modifier per-plane
[00:04:03] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[00:04:03] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] NV12 Modifier for inexistent plane
[00:04:03] [PASSED] NV12 Handle for inexistent plane
[00:04:03] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[00:04:03] [PASSED] YVU420 Normal sizes
[00:04:03] [PASSED] YVU420 Max sizes
[00:04:03] [PASSED] YVU420 Invalid pitch
[00:04:03] [PASSED] YVU420 Different pitches
[00:04:03] [PASSED] YVU420 Different buffer offsets/pitches
[00:04:03] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[00:04:03] [PASSED] YVU420 Valid modifier
[00:04:03] [PASSED] YVU420 Different modifiers per plane
[00:04:03] [PASSED] YVU420 Modifier for inexistent plane
[00:04:03] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[00:04:03] [PASSED] X0L2 Normal sizes
[00:04:03] [PASSED] X0L2 Max sizes
[00:04:03] [PASSED] X0L2 Invalid pitch
[00:04:03] [PASSED] X0L2 Pitch greater than minimum required
[00:04:03] [PASSED] X0L2 Handle for inexistent plane
[00:04:03] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[00:04:03] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[00:04:03] [PASSED] X0L2 Valid modifier
[00:04:03] [PASSED] X0L2 Modifier for inexistent plane
[00:04:03] =========== [PASSED] drm_test_framebuffer_create ===========
[00:04:03] [PASSED] drm_test_framebuffer_free
[00:04:03] [PASSED] drm_test_framebuffer_init
[00:04:03] [PASSED] drm_test_framebuffer_init_bad_format
[00:04:03] [PASSED] drm_test_framebuffer_init_dev_mismatch
[00:04:03] [PASSED] drm_test_framebuffer_lookup
[00:04:03] [PASSED] drm_test_framebuffer_lookup_inexistent
[00:04:03] [PASSED] drm_test_framebuffer_modifiers_not_supported
[00:04:03] ================= [PASSED] drm_framebuffer =================
[00:04:03] ================ drm_gem_shmem (8 subtests) ================
[00:04:03] [PASSED] drm_gem_shmem_test_obj_create
[00:04:03] [PASSED] drm_gem_shmem_test_obj_create_private
[00:04:03] [PASSED] drm_gem_shmem_test_pin_pages
[00:04:03] [PASSED] drm_gem_shmem_test_vmap
[00:04:03] [PASSED] drm_gem_shmem_test_get_pages_sgt
[00:04:03] [PASSED] drm_gem_shmem_test_get_sg_table
[00:04:03] [PASSED] drm_gem_shmem_test_madvise
[00:04:03] [PASSED] drm_gem_shmem_test_purge
[00:04:03] ================== [PASSED] drm_gem_shmem ==================
[00:04:03] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[00:04:03] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[00:04:03] [PASSED] Automatic
[00:04:03] [PASSED] Full
[00:04:03] [PASSED] Limited 16:235
[00:04:03] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[00:04:03] [PASSED] drm_test_check_disable_connector
[00:04:03] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[00:04:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[00:04:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[00:04:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[00:04:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[00:04:03] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[00:04:03] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[00:04:03] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[00:04:03] [PASSED] drm_test_check_output_bpc_dvi
[00:04:03] [PASSED] drm_test_check_output_bpc_format_vic_1
[00:04:03] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[00:04:03] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[00:04:03] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[00:04:03] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[00:04:03] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[00:04:03] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[00:04:03] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[00:04:03] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[00:04:03] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[00:04:03] [PASSED] drm_test_check_broadcast_rgb_value
[00:04:03] [PASSED] drm_test_check_bpc_8_value
[00:04:03] [PASSED] drm_test_check_bpc_10_value
[00:04:03] [PASSED] drm_test_check_bpc_12_value
[00:04:03] [PASSED] drm_test_check_format_value
[00:04:03] [PASSED] drm_test_check_tmds_char_value
[00:04:03] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[00:04:03] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[00:04:03] [PASSED] drm_test_check_mode_valid
[00:04:03] [PASSED] drm_test_check_mode_valid_reject
[00:04:03] [PASSED] drm_test_check_mode_valid_reject_rate
[00:04:03] [PASSED] drm_test_check_mode_valid_reject_max_clock
[00:04:03] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[00:04:03] ================= drm_managed (2 subtests) =================
[00:04:03] [PASSED] drm_test_managed_release_action
[00:04:03] [PASSED] drm_test_managed_run_action
[00:04:03] =================== [PASSED] drm_managed ===================
[00:04:03] =================== drm_mm (6 subtests) ====================
[00:04:03] [PASSED] drm_test_mm_init
[00:04:03] [PASSED] drm_test_mm_debug
[00:04:03] [PASSED] drm_test_mm_align32
[00:04:03] [PASSED] drm_test_mm_align64
[00:04:03] [PASSED] drm_test_mm_lowest
[00:04:03] [PASSED] drm_test_mm_highest
[00:04:03] ===================== [PASSED] drm_mm ======================
[00:04:03] ============= drm_modes_analog_tv (5 subtests) =============
[00:04:03] [PASSED] drm_test_modes_analog_tv_mono_576i
[00:04:03] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[00:04:03] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[00:04:03] [PASSED] drm_test_modes_analog_tv_pal_576i
[00:04:03] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[00:04:03] =============== [PASSED] drm_modes_analog_tv ===============
[00:04:03] ============== drm_plane_helper (2 subtests) ===============
[00:04:03] =============== drm_test_check_plane_state ================
[00:04:03] [PASSED] clipping_simple
[00:04:03] [PASSED] clipping_rotate_reflect
[00:04:03] [PASSED] positioning_simple
[00:04:03] [PASSED] upscaling
[00:04:03] [PASSED] downscaling
[00:04:03] [PASSED] rounding1
[00:04:03] [PASSED] rounding2
[00:04:03] [PASSED] rounding3
[00:04:03] [PASSED] rounding4
[00:04:03] =========== [PASSED] drm_test_check_plane_state ============
[00:04:03] =========== drm_test_check_invalid_plane_state ============
[00:04:03] [PASSED] positioning_invalid
[00:04:03] [PASSED] upscaling_invalid
[00:04:03] [PASSED] downscaling_invalid
[00:04:03] ======= [PASSED] drm_test_check_invalid_plane_state ========
[00:04:03] ================ [PASSED] drm_plane_helper =================
[00:04:03] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[00:04:03] ====== drm_test_connector_helper_tv_get_modes_check =======
[00:04:03] [PASSED] None
[00:04:03] [PASSED] PAL
[00:04:03] [PASSED] NTSC
[00:04:03] [PASSED] Both, NTSC Default
[00:04:03] [PASSED] Both, PAL Default
[00:04:03] [PASSED] Both, NTSC Default, with PAL on command-line
[00:04:03] [PASSED] Both, PAL Default, with NTSC on command-line
[00:04:03] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[00:04:03] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[00:04:03] ================== drm_rect (9 subtests) ===================
[00:04:03] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[00:04:03] [PASSED] drm_test_rect_clip_scaled_not_clipped
[00:04:03] [PASSED] drm_test_rect_clip_scaled_clipped
[00:04:03] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[00:04:03] ================= drm_test_rect_intersect =================
[00:04:03] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[00:04:03] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[00:04:03] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[00:04:03] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[00:04:03] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[00:04:03] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[00:04:03] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[00:04:03] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[00:04:03] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[00:04:03] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[00:04:03] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[00:04:03] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[00:04:03] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[00:04:03] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[00:04:03] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[00:04:03] ============= [PASSED] drm_test_rect_intersect =============
[00:04:03] ================ drm_test_rect_calc_hscale ================
[00:04:03] [PASSED] normal use
[00:04:03] [PASSED] out of max range
[00:04:03] [PASSED] out of min range
[00:04:03] [PASSED] zero dst
[00:04:03] [PASSED] negative src
[00:04:03] [PASSED] negative dst
[00:04:03] ============ [PASSED] drm_test_rect_calc_hscale ============
[00:04:03] ================ drm_test_rect_calc_vscale ================
[00:04:03] [PASSED] normal use
[00:04:03] [PASSED] out of max range
[00:04:03] [PASSED] out of min range
[00:04:03] [PASSED] zero dst
[00:04:03] [PASSED] negative src
stty: 'standard input': Inappropriate ioctl for device
[00:04:03] [PASSED] negative dst
[00:04:03] ============ [PASSED] drm_test_rect_calc_vscale ============
[00:04:03] ================== drm_test_rect_rotate ===================
[00:04:03] [PASSED] reflect-x
[00:04:03] [PASSED] reflect-y
[00:04:03] [PASSED] rotate-0
[00:04:03] [PASSED] rotate-90
[00:04:03] [PASSED] rotate-180
[00:04:03] [PASSED] rotate-270
[00:04:03] ============== [PASSED] drm_test_rect_rotate ===============
[00:04:03] ================ drm_test_rect_rotate_inv =================
[00:04:03] [PASSED] reflect-x
[00:04:03] [PASSED] reflect-y
[00:04:03] [PASSED] rotate-0
[00:04:03] [PASSED] rotate-90
[00:04:03] [PASSED] rotate-180
[00:04:03] [PASSED] rotate-270
[00:04:03] ============ [PASSED] drm_test_rect_rotate_inv =============
[00:04:03] ==================== [PASSED] drm_rect =====================
[00:04:03] ============ drm_sysfb_modeset_test (1 subtest) ============
[00:04:03] ============ drm_test_sysfb_build_fourcc_list =============
[00:04:03] [PASSED] no native formats
[00:04:03] [PASSED] XRGB8888 as native format
[00:04:03] [PASSED] remove duplicates
[00:04:03] [PASSED] convert alpha formats
[00:04:03] [PASSED] random formats
[00:04:03] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[00:04:03] ============= [PASSED] drm_sysfb_modeset_test ==============
[00:04:03] ============================================================
[00:04:03] Testing complete. Ran 621 tests: passed: 621
[00:04:03] Elapsed time: 25.560s total, 1.747s configuring, 23.597s building, 0.170s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[00:04:03] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[00:04:05] 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
[00:04:14] Starting KUnit Kernel (1/1)...
[00:04:14] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[00:04:14] ================= ttm_device (5 subtests) ==================
[00:04:14] [PASSED] ttm_device_init_basic
[00:04:14] [PASSED] ttm_device_init_multiple
[00:04:14] [PASSED] ttm_device_fini_basic
[00:04:14] [PASSED] ttm_device_init_no_vma_man
[00:04:14] ================== ttm_device_init_pools ==================
[00:04:14] [PASSED] No DMA allocations, no DMA32 required
[00:04:14] [PASSED] DMA allocations, DMA32 required
[00:04:14] [PASSED] No DMA allocations, DMA32 required
[00:04:14] [PASSED] DMA allocations, no DMA32 required
[00:04:14] ============== [PASSED] ttm_device_init_pools ==============
[00:04:14] =================== [PASSED] ttm_device ====================
[00:04:14] ================== ttm_pool (8 subtests) ===================
[00:04:14] ================== ttm_pool_alloc_basic ===================
[00:04:14] [PASSED] One page
[00:04:14] [PASSED] More than one page
[00:04:14] [PASSED] Above the allocation limit
[00:04:14] [PASSED] One page, with coherent DMA mappings enabled
[00:04:14] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[00:04:14] ============== [PASSED] ttm_pool_alloc_basic ===============
[00:04:14] ============== ttm_pool_alloc_basic_dma_addr ==============
[00:04:14] [PASSED] One page
[00:04:14] [PASSED] More than one page
[00:04:14] [PASSED] Above the allocation limit
[00:04:14] [PASSED] One page, with coherent DMA mappings enabled
[00:04:14] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[00:04:14] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[00:04:14] [PASSED] ttm_pool_alloc_order_caching_match
[00:04:14] [PASSED] ttm_pool_alloc_caching_mismatch
[00:04:14] [PASSED] ttm_pool_alloc_order_mismatch
[00:04:14] [PASSED] ttm_pool_free_dma_alloc
[00:04:14] [PASSED] ttm_pool_free_no_dma_alloc
[00:04:14] [PASSED] ttm_pool_fini_basic
[00:04:14] ==================== [PASSED] ttm_pool =====================
[00:04:14] ================ ttm_resource (8 subtests) =================
[00:04:14] ================= ttm_resource_init_basic =================
[00:04:14] [PASSED] Init resource in TTM_PL_SYSTEM
[00:04:14] [PASSED] Init resource in TTM_PL_VRAM
[00:04:14] [PASSED] Init resource in a private placement
[00:04:14] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[00:04:14] ============= [PASSED] ttm_resource_init_basic =============
[00:04:14] [PASSED] ttm_resource_init_pinned
[00:04:14] [PASSED] ttm_resource_fini_basic
[00:04:14] [PASSED] ttm_resource_manager_init_basic
[00:04:14] [PASSED] ttm_resource_manager_usage_basic
[00:04:14] [PASSED] ttm_resource_manager_set_used_basic
[00:04:14] [PASSED] ttm_sys_man_alloc_basic
[00:04:14] [PASSED] ttm_sys_man_free_basic
[00:04:14] ================== [PASSED] ttm_resource ===================
[00:04:14] =================== ttm_tt (15 subtests) ===================
[00:04:14] ==================== ttm_tt_init_basic ====================
[00:04:14] [PASSED] Page-aligned size
[00:04:14] [PASSED] Extra pages requested
[00:04:14] ================ [PASSED] ttm_tt_init_basic ================
[00:04:14] [PASSED] ttm_tt_init_misaligned
[00:04:14] [PASSED] ttm_tt_fini_basic
[00:04:14] [PASSED] ttm_tt_fini_sg
[00:04:14] [PASSED] ttm_tt_fini_shmem
[00:04:14] [PASSED] ttm_tt_create_basic
[00:04:14] [PASSED] ttm_tt_create_invalid_bo_type
[00:04:14] [PASSED] ttm_tt_create_ttm_exists
[00:04:14] [PASSED] ttm_tt_create_failed
[00:04:14] [PASSED] ttm_tt_destroy_basic
[00:04:14] [PASSED] ttm_tt_populate_null_ttm
[00:04:14] [PASSED] ttm_tt_populate_populated_ttm
[00:04:14] [PASSED] ttm_tt_unpopulate_basic
[00:04:14] [PASSED] ttm_tt_unpopulate_empty_ttm
[00:04:14] [PASSED] ttm_tt_swapin_basic
[00:04:14] ===================== [PASSED] ttm_tt ======================
[00:04:14] =================== ttm_bo (14 subtests) ===================
[00:04:14] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[00:04:14] [PASSED] Cannot be interrupted and sleeps
[00:04:14] [PASSED] Cannot be interrupted, locks straight away
[00:04:14] [PASSED] Can be interrupted, sleeps
[00:04:14] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[00:04:14] [PASSED] ttm_bo_reserve_locked_no_sleep
[00:04:14] [PASSED] ttm_bo_reserve_no_wait_ticket
[00:04:14] [PASSED] ttm_bo_reserve_double_resv
[00:04:14] [PASSED] ttm_bo_reserve_interrupted
[00:04:14] [PASSED] ttm_bo_reserve_deadlock
[00:04:14] [PASSED] ttm_bo_unreserve_basic
[00:04:14] [PASSED] ttm_bo_unreserve_pinned
[00:04:14] [PASSED] ttm_bo_unreserve_bulk
[00:04:14] [PASSED] ttm_bo_fini_basic
[00:04:14] [PASSED] ttm_bo_fini_shared_resv
[00:04:14] [PASSED] ttm_bo_pin_basic
[00:04:14] [PASSED] ttm_bo_pin_unpin_resource
[00:04:14] [PASSED] ttm_bo_multiple_pin_one_unpin
[00:04:14] ===================== [PASSED] ttm_bo ======================
[00:04:14] ============== ttm_bo_validate (21 subtests) ===============
[00:04:14] ============== ttm_bo_init_reserved_sys_man ===============
[00:04:14] [PASSED] Buffer object for userspace
[00:04:14] [PASSED] Kernel buffer object
[00:04:14] [PASSED] Shared buffer object
[00:04:14] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[00:04:14] ============== ttm_bo_init_reserved_mock_man ==============
[00:04:14] [PASSED] Buffer object for userspace
[00:04:14] [PASSED] Kernel buffer object
[00:04:14] [PASSED] Shared buffer object
[00:04:14] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[00:04:14] [PASSED] ttm_bo_init_reserved_resv
[00:04:14] ================== ttm_bo_validate_basic ==================
[00:04:14] [PASSED] Buffer object for userspace
[00:04:14] [PASSED] Kernel buffer object
[00:04:14] [PASSED] Shared buffer object
[00:04:14] ============== [PASSED] ttm_bo_validate_basic ==============
[00:04:14] [PASSED] ttm_bo_validate_invalid_placement
[00:04:14] ============= ttm_bo_validate_same_placement ==============
[00:04:14] [PASSED] System manager
[00:04:14] [PASSED] VRAM manager
[00:04:14] ========= [PASSED] ttm_bo_validate_same_placement ==========
[00:04:14] [PASSED] ttm_bo_validate_failed_alloc
[00:04:14] [PASSED] ttm_bo_validate_pinned
[00:04:14] [PASSED] ttm_bo_validate_busy_placement
[00:04:14] ================ ttm_bo_validate_multihop =================
[00:04:14] [PASSED] Buffer object for userspace
[00:04:14] [PASSED] Kernel buffer object
[00:04:14] [PASSED] Shared buffer object
[00:04:14] ============ [PASSED] ttm_bo_validate_multihop =============
[00:04:14] ========== ttm_bo_validate_no_placement_signaled ==========
[00:04:14] [PASSED] Buffer object in system domain, no page vector
[00:04:14] [PASSED] Buffer object in system domain with an existing page vector
[00:04:14] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[00:04:14] ======== ttm_bo_validate_no_placement_not_signaled ========
[00:04:14] [PASSED] Buffer object for userspace
[00:04:14] [PASSED] Kernel buffer object
[00:04:14] [PASSED] Shared buffer object
[00:04:14] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[00:04:14] [PASSED] ttm_bo_validate_move_fence_signaled
[00:04:14] ========= ttm_bo_validate_move_fence_not_signaled =========
[00:04:14] [PASSED] Waits for GPU
[00:04:14] [PASSED] Tries to lock straight away
[00:04:14] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[00:04:14] [PASSED] ttm_bo_validate_happy_evict
[00:04:14] [PASSED] ttm_bo_validate_all_pinned_evict
[00:04:14] [PASSED] ttm_bo_validate_allowed_only_evict
[00:04:14] [PASSED] ttm_bo_validate_deleted_evict
[00:04:14] [PASSED] ttm_bo_validate_busy_domain_evict
[00:04:14] [PASSED] ttm_bo_validate_evict_gutting
[00:04:14] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[00:04:14] ================= [PASSED] ttm_bo_validate =================
[00:04:14] ============================================================
[00:04:14] Testing complete. Ran 101 tests: passed: 101
[00:04:14] Elapsed time: 11.203s total, 1.780s configuring, 9.206s building, 0.187s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Xe.CI.BAT: success for drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-02 23:26 [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode Michal Wajdeczko
2025-10-03 0:04 ` ✓ CI.KUnit: success for " Patchwork
@ 2025-10-03 1:08 ` Patchwork
2025-10-03 3:09 ` ✓ Xe.CI.Full: " Patchwork
2025-10-03 20:48 ` [PATCH] " Rodrigo Vivi
3 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2025-10-03 1:08 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
== Series Details ==
Series: drm/xe/pf: Add max_vfs configfs attribute to control PF mode
URL : https://patchwork.freedesktop.org/series/155353/
State : success
== Summary ==
CI Bug Log - changes from xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434_BAT -> xe-pw-155353v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434 -> xe-pw-155353v1
IGT_8572: 8572
xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434: 0aa5ad66ed77cd8c3bb9fb01997f68f31200f434
xe-pw-155353v1: 155353v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/index.html
[-- Attachment #2: Type: text/html, Size: 1431 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Xe.CI.Full: success for drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-02 23:26 [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode Michal Wajdeczko
2025-10-03 0:04 ` ✓ CI.KUnit: success for " Patchwork
2025-10-03 1:08 ` ✓ Xe.CI.BAT: " Patchwork
@ 2025-10-03 3:09 ` Patchwork
2025-10-03 20:48 ` [PATCH] " Rodrigo Vivi
3 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2025-10-03 3:09 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 38182 bytes --]
== Series Details ==
Series: drm/xe/pf: Add max_vfs configfs attribute to control PF mode
URL : https://patchwork.freedesktop.org/series/155353/
State : success
== Summary ==
CI Bug Log - changes from xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434_FULL -> xe-pw-155353v1_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
New tests
---------
New tests have been introduced between xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434_FULL and xe-pw-155353v1_FULL:
### New IGT tests (5) ###
* igt@kms_cursor_crc@cursor-size-hints:
- Statuses : 4 pass(s)
- Exec time: [0.71, 2.06] s
* igt@kms_cursor_crc@cursor-size-hints@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.73] s
* igt@kms_cursor_crc@cursor-size-hints@pipe-c-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.33] s
* igt@kms_plane_alpha_blend@coverage-7efc@pipe-a-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.50] s
* igt@kms_plane_alpha_blend@coverage-7efc@pipe-d-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.48] s
Known issues
------------
Here are the changes found in xe-pw-155353v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@yf-tiled-32bpp-rotate-180:
- shard-dg2-set2: NOTRUN -> [SKIP][1] ([Intel XE#1124]) +5 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_big_fb@yf-tiled-32bpp-rotate-180.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#1124]) +2 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip.html
* igt@kms_bw@connected-linear-tiling-4-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#2314] / [Intel XE#2894])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_bw@connected-linear-tiling-4-displays-3840x2160p.html
* igt@kms_bw@linear-tiling-1-displays-1920x1080p:
- shard-dg2-set2: NOTRUN -> [SKIP][4] ([Intel XE#367])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_bw@linear-tiling-1-displays-1920x1080p.html
* igt@kms_ccs@crc-primary-basic-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2887]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_ccs@crc-primary-basic-4-tiled-dg2-rc-ccs.html
* igt@kms_ccs@crc-primary-basic-4-tiled-mtl-rc-ccs@pipe-b-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][6] ([Intel XE#787]) +97 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-466/igt@kms_ccs@crc-primary-basic-4-tiled-mtl-rc-ccs@pipe-b-hdmi-a-6.html
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][7] ([Intel XE#2907])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][8] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4345] / [Intel XE#4522])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-d-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2652] / [Intel XE#787]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs@pipe-c-dp-2.html
* igt@kms_ccs@random-ccs-data-y-tiled-ccs@pipe-d-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][10] ([Intel XE#455] / [Intel XE#787]) +16 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-432/igt@kms_ccs@random-ccs-data-y-tiled-ccs@pipe-d-dp-2.html
* igt@kms_chamelium_edid@dp-edid-change-during-hibernate:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2252]) +1 other test skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_chamelium_edid@dp-edid-change-during-hibernate.html
* igt@kms_chamelium_edid@dp-mode-timings:
- shard-dg2-set2: NOTRUN -> [SKIP][12] ([Intel XE#373])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_chamelium_edid@dp-mode-timings.html
* igt@kms_content_protection@atomic-dpms@pipe-a-dp-2:
- shard-dg2-set2: NOTRUN -> [FAIL][13] ([Intel XE#1178])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-432/igt@kms_content_protection@atomic-dpms@pipe-a-dp-2.html
* igt@kms_content_protection@atomic@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][14] ([Intel XE#1178]) +2 other tests fail
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-1/igt@kms_content_protection@atomic@pipe-a-dp-2.html
* igt@kms_content_protection@lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2341])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_content_protection@lic-type-1.html
* igt@kms_cursor_crc@cursor-random-32x32:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2320]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_cursor_crc@cursor-random-32x32.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-bmg: [PASS][17] -> [SKIP][18] ([Intel XE#2291]) +2 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-bmg: [PASS][19] -> [FAIL][20] ([Intel XE#1475])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [PASS][21] -> [FAIL][22] ([Intel XE#4633])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-8/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-7/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-bmg: NOTRUN -> [DMESG-WARN][23] ([Intel XE#5354])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-toggle.html
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2286])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html
* igt@kms_dsc@dsc-with-output-formats-with-bpc:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2244])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_dsc@dsc-with-output-formats-with-bpc.html
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#5425])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_fbcon_fbt@fbc.html
* igt@kms_flip@2x-flip-vs-dpms:
- shard-bmg: [PASS][27] -> [SKIP][28] ([Intel XE#2316]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-4/igt@kms_flip@2x-flip-vs-dpms.html
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_flip@2x-flip-vs-dpms.html
* igt@kms_flip@flip-vs-rmfb-interruptible:
- shard-adlp: [PASS][29] -> [DMESG-WARN][30] ([Intel XE#4543] / [Intel XE#5208])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-6/igt@kms_flip@flip-vs-rmfb-interruptible.html
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-3/igt@kms_flip@flip-vs-rmfb-interruptible.html
* igt@kms_flip@flip-vs-suspend@b-hdmi-a1:
- shard-adlp: [PASS][31] -> [DMESG-WARN][32] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#4543]) +1 other test dmesg-warn
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-8/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-9/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html
* igt@kms_flip@plain-flip-interruptible@d-hdmi-a1:
- shard-adlp: [PASS][33] -> [DMESG-WARN][34] ([Intel XE#4543]) +6 other tests dmesg-warn
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-2/igt@kms_flip@plain-flip-interruptible@d-hdmi-a1.html
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-4/igt@kms_flip@plain-flip-interruptible@d-hdmi-a1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling:
- shard-dg2-set2: NOTRUN -> [SKIP][35] ([Intel XE#455]) +3 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#2311]) +7 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrs-indfb-scaledprimary:
- shard-dg2-set2: NOTRUN -> [SKIP][37] ([Intel XE#651]) +4 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_frontbuffer_tracking@drrs-indfb-scaledprimary.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#5390]) +2 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2313]) +7 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-move:
- shard-dg2-set2: NOTRUN -> [SKIP][40] ([Intel XE#653]) +6 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-move.html
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2934])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_joiner@basic-force-ultra-joiner.html
* igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-d:
- shard-adlp: [PASS][42] -> [DMESG-WARN][43] ([Intel XE#2953] / [Intel XE#4173]) +3 other tests dmesg-warn
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-2/igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-d.html
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-4/igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-d.html
* igt@kms_pm_backlight@basic-brightness:
- shard-dg2-set2: NOTRUN -> [SKIP][44] ([Intel XE#870])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_pm_backlight@basic-brightness.html
* igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-sf:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#1406] / [Intel XE#1489]) +1 other test skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-sf.html
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf:
- shard-dg2-set2: NOTRUN -> [SKIP][46] ([Intel XE#1406] / [Intel XE#1489]) +3 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@fbc-pr-cursor-plane-move:
- shard-dg2-set2: NOTRUN -> [SKIP][47] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +1 other test skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_psr@fbc-pr-cursor-plane-move.html
* igt@kms_psr@fbc-psr-sprite-blt:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_psr@fbc-psr-sprite-blt.html
* igt@kms_rotation_crc@primary-rotation-90:
- shard-dg2-set2: NOTRUN -> [SKIP][49] ([Intel XE#3414])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_rotation_crc@primary-rotation-90.html
* igt@kms_setmode@basic@pipe-b-edp-1:
- shard-lnl: [PASS][50] -> [FAIL][51] ([Intel XE#2883]) +2 other tests fail
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-lnl-4/igt@kms_setmode@basic@pipe-b-edp-1.html
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-lnl-1/igt@kms_setmode@basic@pipe-b-edp-1.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#2426])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_tiled_display@basic-test-pattern.html
* igt@kms_vrr@cmrr:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#2168])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@kms_vrr@cmrr.html
* igt@xe_copy_basic@mem-copy-linear-0xfffe:
- shard-dg2-set2: NOTRUN -> [SKIP][54] ([Intel XE#1123])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_copy_basic@mem-copy-linear-0xfffe.html
* igt@xe_eudebug@basic-vm-access:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#4837]) +2 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@xe_eudebug@basic-vm-access.html
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#2322]) +2 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
- shard-dg2-set2: [PASS][57] -> [SKIP][58] ([Intel XE#1392]) +3 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-436/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-432/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
* igt@xe_exec_fault_mode@once-userptr-rebind:
- shard-dg2-set2: NOTRUN -> [SKIP][59] ([Intel XE#288]) +4 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_exec_fault_mode@once-userptr-rebind.html
* igt@xe_exec_sip_eudebug@breakpoint-writesip:
- shard-dg2-set2: NOTRUN -> [SKIP][60] ([Intel XE#4837]) +2 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_exec_sip_eudebug@breakpoint-writesip.html
* igt@xe_exec_system_allocator@once-mmap-huge-nomemset:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#4943]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@xe_exec_system_allocator@once-mmap-huge-nomemset.html
* igt@xe_exec_system_allocator@process-many-stride-mmap-shared-nomemset:
- shard-dg2-set2: NOTRUN -> [SKIP][62] ([Intel XE#4915]) +59 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_exec_system_allocator@process-many-stride-mmap-shared-nomemset.html
* igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv:
- shard-dg2-set2: [PASS][63] -> [DMESG-WARN][64] ([Intel XE#5893])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-464/igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv.html
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-435/igt@xe_fault_injection@probe-fail-guc-xe_guc_mmio_send_recv.html
* igt@xe_oa@mmio-triggered-reports:
- shard-dg2-set2: NOTRUN -> [SKIP][65] ([Intel XE#3573]) +2 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_oa@mmio-triggered-reports.html
* igt@xe_pm@s2idle-mocs:
- shard-adlp: [PASS][66] -> [DMESG-WARN][67] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#4504]) +1 other test dmesg-warn
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-2/igt@xe_pm@s2idle-mocs.html
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-4/igt@xe_pm@s2idle-mocs.html
* igt@xe_pm@vram-d3cold-threshold:
- shard-dg2-set2: NOTRUN -> [SKIP][68] ([Intel XE#579])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_pm@vram-d3cold-threshold.html
* igt@xe_pxp@pxp-stale-bo-bind-post-rpm:
- shard-dg2-set2: NOTRUN -> [SKIP][69] ([Intel XE#4733])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_pxp@pxp-stale-bo-bind-post-rpm.html
* igt@xe_pxp@pxp-stale-queue-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#4733])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-2/igt@xe_pxp@pxp-stale-queue-post-suspend.html
* igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling:
- shard-dg2-set2: NOTRUN -> [SKIP][71] ([Intel XE#4130])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling.html
#### Possible fixes ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-d-hdmi-a-6:
- shard-dg2-set2: [INCOMPLETE][72] ([Intel XE#1727] / [Intel XE#3113]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-d-hdmi-a-6.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-d-hdmi-a-6.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
- shard-dg2-set2: [INCOMPLETE][74] ([Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4345]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-432/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [INCOMPLETE][76] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-466/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4:
- shard-dg2-set2: [INCOMPLETE][78] ([Intel XE#6014]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-466/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4.html
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-hdmi-a-6:
- shard-dg2-set2: [DMESG-WARN][80] ([Intel XE#1727] / [Intel XE#3113]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-466/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-hdmi-a-6.html
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-hdmi-a-6.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- shard-adlp: [DMESG-WARN][82] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][83] +2 other tests pass
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-9/igt@kms_cursor_legacy@basic-flip-after-cursor-atomic.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-1/igt@kms_cursor_legacy@basic-flip-after-cursor-atomic.html
* igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
- shard-bmg: [SKIP][84] ([Intel XE#2291]) -> [PASS][85] +1 other test pass
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-bmg: [SKIP][86] ([Intel XE#2316]) -> [PASS][87] +2 other tests pass
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_flip@2x-plain-flip-fb-recreate.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@kms_flip@2x-plain-flip-fb-recreate.html
* igt@kms_flip@dpms-off-confusion-interruptible@c-hdmi-a1:
- shard-adlp: [DMESG-WARN][88] ([Intel XE#4543]) -> [PASS][89] +5 other tests pass
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-1/igt@kms_flip@dpms-off-confusion-interruptible@c-hdmi-a1.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-6/igt@kms_flip@dpms-off-confusion-interruptible@c-hdmi-a1.html
* igt@kms_flip@flip-vs-rmfb:
- shard-adlp: [DMESG-WARN][90] ([Intel XE#4543] / [Intel XE#5208]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-8/igt@kms_flip@flip-vs-rmfb.html
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-9/igt@kms_flip@flip-vs-rmfb.html
* igt@kms_flip_tiling@flip-change-tiling@pipe-c-hdmi-a-1-x-to-x:
- shard-adlp: [DMESG-FAIL][92] ([Intel XE#4543]) -> [PASS][93] +1 other test pass
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-2/igt@kms_flip_tiling@flip-change-tiling@pipe-c-hdmi-a-1-x-to-x.html
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-4/igt@kms_flip_tiling@flip-change-tiling@pipe-c-hdmi-a-1-x-to-x.html
* igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-x:
- shard-adlp: [FAIL][94] ([Intel XE#1874]) -> [PASS][95] +1 other test pass
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-2/igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-x.html
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-4/igt@kms_flip_tiling@flip-change-tiling@pipe-d-hdmi-a-1-y-to-x.html
* igt@kms_setmode@invalid-clone-single-crtc-stealing:
- shard-bmg: [SKIP][96] ([Intel XE#1435]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_setmode@invalid-clone-single-crtc-stealing.html
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@kms_setmode@invalid-clone-single-crtc-stealing.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr:
- shard-dg2-set2: [SKIP][98] ([Intel XE#1392]) -> [PASS][99] +3 other tests pass
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-432/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-436/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
* {igt@xe_exec_system_allocator@twice-malloc-prefetch}:
- shard-lnl: [CRASH][100] ([Intel XE#6192]) -> [PASS][101] +6 other tests pass
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-lnl-7/igt@xe_exec_system_allocator@twice-malloc-prefetch.html
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-lnl-2/igt@xe_exec_system_allocator@twice-malloc-prefetch.html
* {igt@xe_exec_system_allocator@twice-new-prefetch}:
- shard-bmg: [CRASH][102] ([Intel XE#6192]) -> [PASS][103] +7 other tests pass
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-7/igt@xe_exec_system_allocator@twice-new-prefetch.html
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-5/igt@xe_exec_system_allocator@twice-new-prefetch.html
#### Warnings ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [INCOMPLETE][104] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345]) -> [INCOMPLETE][105] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4345] / [Intel XE#4522])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-dg2-463/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-dg2-434/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
* igt@kms_content_protection@atomic:
- shard-bmg: [SKIP][106] ([Intel XE#2341]) -> [FAIL][107] ([Intel XE#1178])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_content_protection@atomic.html
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-1/igt@kms_content_protection@atomic.html
* igt@kms_content_protection@legacy:
- shard-bmg: [FAIL][108] ([Intel XE#1178]) -> [SKIP][109] ([Intel XE#2341]) +1 other test skip
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-4/igt@kms_content_protection@legacy.html
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_content_protection@legacy.html
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-adlp: [DMESG-WARN][110] ([Intel XE#2953] / [Intel XE#4173]) -> [DMESG-WARN][111] ([Intel XE#4543]) +1 other test dmesg-warn
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-adlp-3/igt@kms_flip@flip-vs-suspend-interruptible.html
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-adlp-6/igt@kms_flip@flip-vs-suspend-interruptible.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-bmg: [SKIP][112] ([Intel XE#2312]) -> [SKIP][113] ([Intel XE#2311]) +8 other tests skip
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-mmap-wc.html
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-1/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][114] ([Intel XE#2312]) -> [SKIP][115] ([Intel XE#5390]) +3 other tests skip
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-blt:
- shard-bmg: [SKIP][116] ([Intel XE#5390]) -> [SKIP][117] ([Intel XE#2312]) +4 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-blt.html
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][118] ([Intel XE#2311]) -> [SKIP][119] ([Intel XE#2312]) +7 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
- shard-bmg: [SKIP][120] ([Intel XE#2312]) -> [SKIP][121] ([Intel XE#2313]) +6 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-onoff:
- shard-bmg: [SKIP][122] ([Intel XE#2313]) -> [SKIP][123] ([Intel XE#2312]) +7 other tests skip
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-onoff.html
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-onoff.html
* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-bmg: [ABORT][124] ([Intel XE#5466] / [Intel XE#5530]) -> [ABORT][125] ([Intel XE#4917] / [Intel XE#5466] / [Intel XE#5530])
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434/shard-bmg-5/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/shard-bmg-8/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
[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#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[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#1475]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1475
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#1874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1874
[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#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[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#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2883]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2883
[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#2907]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2907
[Intel XE#2934]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2934
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4212]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4212
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[Intel XE#4504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4504
[Intel XE#4522]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4522
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[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#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#4917]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4917
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5425
[Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
[Intel XE#5530]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5530
[Intel XE#5624]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5624
[Intel XE#5786]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5786
[Intel XE#579]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/579
[Intel XE#5893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5893
[Intel XE#6014]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6014
[Intel XE#6192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6192
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
Build changes
-------------
* Linux: xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434 -> xe-pw-155353v1
IGT_8572: 8572
xe-3859-0aa5ad66ed77cd8c3bb9fb01997f68f31200f434: 0aa5ad66ed77cd8c3bb9fb01997f68f31200f434
xe-pw-155353v1: 155353v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-155353v1/index.html
[-- Attachment #2: Type: text/html, Size: 45978 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-02 23:26 [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode Michal Wajdeczko
` (2 preceding siblings ...)
2025-10-03 3:09 ` ✓ Xe.CI.Full: " Patchwork
@ 2025-10-03 20:48 ` Rodrigo Vivi
2025-10-03 21:06 ` Michal Wajdeczko
3 siblings, 1 reply; 8+ messages in thread
From: Rodrigo Vivi @ 2025-10-03 20:48 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe, Lucas De Marchi
On Fri, Oct 03, 2025 at 01:26:48AM +0200, Michal Wajdeczko wrote:
> In addition to existing max_vfs modparam, add max_vfs configfs
> attribute to allow PF configuration on the per-device level.
> Default config value is still based on the modparam value.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_configfs.c | 139 +++++++++++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_configfs.h | 4 +
> drivers/gpu/drm/xe/xe_sriov_pf.c | 3 +
> 3 files changed, 146 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
> index 139663423185..464a79c2a903 100644
> --- a/drivers/gpu/drm/xe/xe_configfs.c
> +++ b/drivers/gpu/drm/xe/xe_configfs.c
> @@ -18,6 +18,7 @@
> #include "xe_hw_engine_types.h"
> #include "xe_module.h"
> #include "xe_pci_types.h"
> +#include "xe_sriov_types.h"
>
> /**
> * DOC: Xe Configfs
> @@ -169,6 +170,32 @@
> * Currently this is implemented only for post and mid context restore and
> * these attributes can only be set before binding to the device.
> *
> + * Max SR-IOV Virtual Functions
> + * ----------------------------
> + *
> + * This config allows to limit number of the Virtual Functions (VFs) that can
> + * be managed by the Physical Function (PF) driver, where value 0 disables the
> + * PF mode (no VFs).
> + *
> + * The default max_vfs config value is taken from the max_vfs modparam.
> + *
> + * How to enable PF with support with unlimited (up to HW limit) number of VFs::
> + *
> + * # echo unlimited > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> + *
> + * How to enable PF with support up to 3 VFs::
> + *
> + * # echo 3 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> + *
> + * How to disable PF mode and always run as native::
> + *
> + * # echo 0 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> + *
> + * This setting only takes effect when probing the device.
> + *
> * Remove devices
> * ==============
> *
> @@ -185,6 +212,7 @@ struct wa_bb {
>
> struct xe_config_group_device {
> struct config_group group;
> + struct config_group sriov;
>
> struct xe_config_device {
> u64 engines_allowed;
> @@ -192,23 +220,34 @@ struct xe_config_group_device {
> struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
> bool survivability_mode;
> bool enable_psmi;
> + struct {
> + unsigned int max_vfs;
> + } sriov;
> } config;
>
> /* protects attributes */
> struct mutex lock;
> /* matching descriptor */
> const struct xe_device_desc *desc;
> + /* tentative SR-IOV mode */
> + enum xe_sriov_mode mode;
> };
>
> static const struct xe_config_device device_defaults = {
> .engines_allowed = U64_MAX,
> .survivability_mode = false,
> .enable_psmi = false,
> + .sriov = {
> + .max_vfs = UINT_MAX,
> + },
> };
>
> static void set_device_defaults(struct xe_config_device *config)
> {
> *config = device_defaults;
> +#ifdef CONFIG_PCI_IOV
> + config->sriov.max_vfs = xe_modparam.max_vfs;
> +#endif
> }
>
> struct engine_info {
> @@ -721,6 +760,68 @@ static const struct config_item_type xe_config_device_type = {
> .ct_owner = THIS_MODULE,
> };
>
> +static ssize_t sriov_max_vfs_show(struct config_item *item, char *page)
> +{
> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> +
> + guard(mutex)(&dev->lock);
> +
> + if (dev->config.sriov.max_vfs == UINT_MAX)
> + return sprintf(page, "%s\n", "unlimited");
> + else
> + return sprintf(page, "%u\n", dev->config.sriov.max_vfs);
> +}
> +
> +static ssize_t sriov_max_vfs_store(struct config_item *item, const char *page, size_t len)
> +{
> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> + unsigned int max_vfs;
> + int ret;
> +
> + guard(mutex)(&dev->lock);
> +
> + if (is_bound(dev))
> + return -EBUSY;
> +
> + ret = kstrtouint(page, 0, &max_vfs);
> + if (ret) {
> + if (!sysfs_streq(page, "unlimited"))
> + return ret;
> + max_vfs = UINT_MAX;
> + }
> +
> + dev->config.sriov.max_vfs = max_vfs;
> + return len;
> +}
> +
> +CONFIGFS_ATTR(sriov_, max_vfs);
> +
> +static struct configfs_attribute *xe_config_sriov_attrs[] = {
> + &sriov_attr_max_vfs,
> + NULL,
> +};
> +
> +static bool xe_config_sriov_is_visible(struct config_item *item,
> + struct configfs_attribute *attr, int n)
> +{
> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> +
> + if (attr == &sriov_attr_max_vfs && dev->mode != XE_SRIOV_MODE_PF)
> + return false;
> +
> + return true;
> +}
> +
> +static struct configfs_group_operations xe_config_sriov_group_ops = {
> + .is_visible = xe_config_sriov_is_visible,
> +};
> +
> +static const struct config_item_type xe_config_sriov_type = {
> + .ct_owner = THIS_MODULE,
> + .ct_group_ops = &xe_config_sriov_group_ops,
> + .ct_attrs = xe_config_sriov_attrs,
> +};
> +
> static const struct xe_device_desc *xe_match_desc(struct pci_dev *pdev)
> {
> struct device_driver *driver = driver_find("xe", &pci_bus_type);
> @@ -746,6 +847,7 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> unsigned int domain, bus, slot, function;
> struct xe_config_group_device *dev;
> const struct xe_device_desc *match;
> + enum xe_sriov_mode mode;
> struct pci_dev *pdev;
> char canonical[16];
> int vfnumber = 0;
> @@ -762,6 +864,9 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> return ERR_PTR(-EINVAL);
>
> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
> + mode = pdev ? dev_is_pf(&pdev->dev) ?
> + XE_SRIOV_MODE_PF : XE_SRIOV_MODE_NONE : XE_SRIOV_MODE_VF;
> +
> if (!pdev && function)
> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, 0));
> if (!pdev && slot)
> @@ -796,9 +901,15 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> return ERR_PTR(-ENOMEM);
>
> dev->desc = match;
> + dev->mode = match->has_sriov ? mode : XE_SRIOV_MODE_NONE;
> +
> set_device_defaults(&dev->config);
>
> config_group_init_type_name(&dev->group, name, &xe_config_device_type);
> + if (dev->mode != XE_SRIOV_MODE_NONE) {
> + config_group_init_type_name(&dev->sriov, "sriov", &xe_config_sriov_type);
> + configfs_add_default_group(&dev->sriov, &dev->group);
> + }
>
> mutex_init(&dev->lock);
>
> @@ -988,6 +1099,34 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
> return len;
> }
>
> +#ifdef CONFIG_PCI_IOV
> +/**
> + * xe_configfs_get_max_vfs() - Get number of VFs that could be managed
> + * @pdev: the &pci_dev device
> + *
> + * Find the configfs group that belongs to the PCI device and return maximum
> + * number of Virtual Functions (VFs) that could be managed by this device.
> + * If configfs group is not present, use value of max_vfs module parameter.
> + *
> + * Return: maximum number of VFs that could be managed.
> + */
> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev)
> +{
> + struct xe_config_group_device *dev = find_xe_config_group_device(pdev);
> + unsigned int max_vfs;
> +
> + if (!dev)
> + return xe_modparam.max_vfs;
> +
> + scoped_guard(mutex, &dev->lock)
> + max_vfs = dev->config.sriov.max_vfs;
> +
> + config_group_put(&dev->group);
> +
> + return max_vfs;
> +}
> +#endif
> +
> int __init xe_configfs_init(void)
> {
> int ret;
> diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
> index c61e0e47ed94..16a1f578e4fe 100644
> --- a/drivers/gpu/drm/xe/xe_configfs.h
> +++ b/drivers/gpu/drm/xe/xe_configfs.h
> @@ -23,6 +23,9 @@ u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum xe_engine_clas
> const u32 **cs);
> u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
> const u32 **cs);
> +#ifdef CONFIG_PCI_IOV
> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev);
> +#endif
> #else
> static inline int xe_configfs_init(void) { return 0; }
> static inline void xe_configfs_exit(void) { }
> @@ -34,6 +37,7 @@ static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum
> const u32 **cs) { return 0; }
> static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
> const u32 **cs) { return 0; }
> +static inline unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev) { return UINT_MAX; }
> #endif
>
> #endif
> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf.c b/drivers/gpu/drm/xe/xe_sriov_pf.c
> index 4698348c010a..428b1b62cf48 100644
> --- a/drivers/gpu/drm/xe/xe_sriov_pf.c
> +++ b/drivers/gpu/drm/xe/xe_sriov_pf.c
> @@ -8,6 +8,7 @@
> #include <drm/drm_managed.h>
>
> #include "xe_assert.h"
> +#include "xe_configfs.h"
> #include "xe_device.h"
> #include "xe_gt_sriov_pf.h"
> #include "xe_module.h"
> @@ -19,6 +20,8 @@
>
> static unsigned int wanted_max_vfs(struct xe_device *xe)
> {
> + if (IS_ENABLED(CONFIG_CONFIGFS_FS))
> + return xe_configfs_get_max_vfs(to_pci_dev(xe->drm.dev));
> return xe_modparam.max_vfs;
I like the idea of the configfs, but this here is strange.
shouldn't be better to simply remove the modparam?
> }
>
> --
> 2.47.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-03 20:48 ` [PATCH] " Rodrigo Vivi
@ 2025-10-03 21:06 ` Michal Wajdeczko
2025-10-06 19:58 ` Rodrigo Vivi
0 siblings, 1 reply; 8+ messages in thread
From: Michal Wajdeczko @ 2025-10-03 21:06 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: intel-xe, Lucas De Marchi
On 10/3/2025 10:48 PM, Rodrigo Vivi wrote:
> On Fri, Oct 03, 2025 at 01:26:48AM +0200, Michal Wajdeczko wrote:
>> In addition to existing max_vfs modparam, add max_vfs configfs
>> attribute to allow PF configuration on the per-device level.
>> Default config value is still based on the modparam value.
>>
>> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
>> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_configfs.c | 139 +++++++++++++++++++++++++++++++
>> drivers/gpu/drm/xe/xe_configfs.h | 4 +
>> drivers/gpu/drm/xe/xe_sriov_pf.c | 3 +
>> 3 files changed, 146 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
>> index 139663423185..464a79c2a903 100644
>> --- a/drivers/gpu/drm/xe/xe_configfs.c
>> +++ b/drivers/gpu/drm/xe/xe_configfs.c
>> @@ -18,6 +18,7 @@
>> #include "xe_hw_engine_types.h"
>> #include "xe_module.h"
>> #include "xe_pci_types.h"
>> +#include "xe_sriov_types.h"
>>
>> /**
>> * DOC: Xe Configfs
>> @@ -169,6 +170,32 @@
>> * Currently this is implemented only for post and mid context restore and
>> * these attributes can only be set before binding to the device.
>> *
>> + * Max SR-IOV Virtual Functions
>> + * ----------------------------
>> + *
>> + * This config allows to limit number of the Virtual Functions (VFs) that can
>> + * be managed by the Physical Function (PF) driver, where value 0 disables the
>> + * PF mode (no VFs).
>> + *
>> + * The default max_vfs config value is taken from the max_vfs modparam.
>> + *
>> + * How to enable PF with support with unlimited (up to HW limit) number of VFs::
>> + *
>> + * # echo unlimited > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> + *
>> + * How to enable PF with support up to 3 VFs::
>> + *
>> + * # echo 3 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> + *
>> + * How to disable PF mode and always run as native::
>> + *
>> + * # echo 0 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> + *
>> + * This setting only takes effect when probing the device.
>> + *
>> * Remove devices
>> * ==============
>> *
>> @@ -185,6 +212,7 @@ struct wa_bb {
>>
>> struct xe_config_group_device {
>> struct config_group group;
>> + struct config_group sriov;
>>
>> struct xe_config_device {
>> u64 engines_allowed;
>> @@ -192,23 +220,34 @@ struct xe_config_group_device {
>> struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
>> bool survivability_mode;
>> bool enable_psmi;
>> + struct {
>> + unsigned int max_vfs;
>> + } sriov;
>> } config;
>>
>> /* protects attributes */
>> struct mutex lock;
>> /* matching descriptor */
>> const struct xe_device_desc *desc;
>> + /* tentative SR-IOV mode */
>> + enum xe_sriov_mode mode;
>> };
>>
>> static const struct xe_config_device device_defaults = {
>> .engines_allowed = U64_MAX,
>> .survivability_mode = false,
>> .enable_psmi = false,
>> + .sriov = {
>> + .max_vfs = UINT_MAX,
>> + },
>> };
>>
>> static void set_device_defaults(struct xe_config_device *config)
>> {
>> *config = device_defaults;
>> +#ifdef CONFIG_PCI_IOV
>> + config->sriov.max_vfs = xe_modparam.max_vfs;
>> +#endif
>> }
>>
>> struct engine_info {
>> @@ -721,6 +760,68 @@ static const struct config_item_type xe_config_device_type = {
>> .ct_owner = THIS_MODULE,
>> };
>>
>> +static ssize_t sriov_max_vfs_show(struct config_item *item, char *page)
>> +{
>> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> +
>> + guard(mutex)(&dev->lock);
>> +
>> + if (dev->config.sriov.max_vfs == UINT_MAX)
>> + return sprintf(page, "%s\n", "unlimited");
>> + else
>> + return sprintf(page, "%u\n", dev->config.sriov.max_vfs);
>> +}
>> +
>> +static ssize_t sriov_max_vfs_store(struct config_item *item, const char *page, size_t len)
>> +{
>> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> + unsigned int max_vfs;
>> + int ret;
>> +
>> + guard(mutex)(&dev->lock);
>> +
>> + if (is_bound(dev))
>> + return -EBUSY;
>> +
>> + ret = kstrtouint(page, 0, &max_vfs);
>> + if (ret) {
>> + if (!sysfs_streq(page, "unlimited"))
>> + return ret;
>> + max_vfs = UINT_MAX;
>> + }
>> +
>> + dev->config.sriov.max_vfs = max_vfs;
>> + return len;
>> +}
>> +
>> +CONFIGFS_ATTR(sriov_, max_vfs);
>> +
>> +static struct configfs_attribute *xe_config_sriov_attrs[] = {
>> + &sriov_attr_max_vfs,
>> + NULL,
>> +};
>> +
>> +static bool xe_config_sriov_is_visible(struct config_item *item,
>> + struct configfs_attribute *attr, int n)
>> +{
>> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> +
>> + if (attr == &sriov_attr_max_vfs && dev->mode != XE_SRIOV_MODE_PF)
>> + return false;
>> +
>> + return true;
>> +}
>> +
>> +static struct configfs_group_operations xe_config_sriov_group_ops = {
>> + .is_visible = xe_config_sriov_is_visible,
>> +};
>> +
>> +static const struct config_item_type xe_config_sriov_type = {
>> + .ct_owner = THIS_MODULE,
>> + .ct_group_ops = &xe_config_sriov_group_ops,
>> + .ct_attrs = xe_config_sriov_attrs,
>> +};
>> +
>> static const struct xe_device_desc *xe_match_desc(struct pci_dev *pdev)
>> {
>> struct device_driver *driver = driver_find("xe", &pci_bus_type);
>> @@ -746,6 +847,7 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> unsigned int domain, bus, slot, function;
>> struct xe_config_group_device *dev;
>> const struct xe_device_desc *match;
>> + enum xe_sriov_mode mode;
>> struct pci_dev *pdev;
>> char canonical[16];
>> int vfnumber = 0;
>> @@ -762,6 +864,9 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> return ERR_PTR(-EINVAL);
>>
>> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
>> + mode = pdev ? dev_is_pf(&pdev->dev) ?
>> + XE_SRIOV_MODE_PF : XE_SRIOV_MODE_NONE : XE_SRIOV_MODE_VF;
>> +
>> if (!pdev && function)
>> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, 0));
>> if (!pdev && slot)
>> @@ -796,9 +901,15 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> return ERR_PTR(-ENOMEM);
>>
>> dev->desc = match;
>> + dev->mode = match->has_sriov ? mode : XE_SRIOV_MODE_NONE;
>> +
>> set_device_defaults(&dev->config);
>>
>> config_group_init_type_name(&dev->group, name, &xe_config_device_type);
>> + if (dev->mode != XE_SRIOV_MODE_NONE) {
>> + config_group_init_type_name(&dev->sriov, "sriov", &xe_config_sriov_type);
>> + configfs_add_default_group(&dev->sriov, &dev->group);
>> + }
>>
>> mutex_init(&dev->lock);
>>
>> @@ -988,6 +1099,34 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
>> return len;
>> }
>>
>> +#ifdef CONFIG_PCI_IOV
>> +/**
>> + * xe_configfs_get_max_vfs() - Get number of VFs that could be managed
>> + * @pdev: the &pci_dev device
>> + *
>> + * Find the configfs group that belongs to the PCI device and return maximum
>> + * number of Virtual Functions (VFs) that could be managed by this device.
>> + * If configfs group is not present, use value of max_vfs module parameter.
>> + *
>> + * Return: maximum number of VFs that could be managed.
>> + */
>> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev)
>> +{
>> + struct xe_config_group_device *dev = find_xe_config_group_device(pdev);
>> + unsigned int max_vfs;
>> +
>> + if (!dev)
>> + return xe_modparam.max_vfs;
>> +
>> + scoped_guard(mutex, &dev->lock)
>> + max_vfs = dev->config.sriov.max_vfs;
>> +
>> + config_group_put(&dev->group);
>> +
>> + return max_vfs;
>> +}
>> +#endif
>> +
>> int __init xe_configfs_init(void)
>> {
>> int ret;
>> diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
>> index c61e0e47ed94..16a1f578e4fe 100644
>> --- a/drivers/gpu/drm/xe/xe_configfs.h
>> +++ b/drivers/gpu/drm/xe/xe_configfs.h
>> @@ -23,6 +23,9 @@ u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum xe_engine_clas
>> const u32 **cs);
>> u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
>> const u32 **cs);
>> +#ifdef CONFIG_PCI_IOV
>> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev);
>> +#endif
>> #else
>> static inline int xe_configfs_init(void) { return 0; }
>> static inline void xe_configfs_exit(void) { }
>> @@ -34,6 +37,7 @@ static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum
>> const u32 **cs) { return 0; }
>> static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
>> const u32 **cs) { return 0; }
>> +static inline unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev) { return UINT_MAX; }
>> #endif
>>
>> #endif
>> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf.c b/drivers/gpu/drm/xe/xe_sriov_pf.c
>> index 4698348c010a..428b1b62cf48 100644
>> --- a/drivers/gpu/drm/xe/xe_sriov_pf.c
>> +++ b/drivers/gpu/drm/xe/xe_sriov_pf.c
>> @@ -8,6 +8,7 @@
>> #include <drm/drm_managed.h>
>>
>> #include "xe_assert.h"
>> +#include "xe_configfs.h"
>> #include "xe_device.h"
>> #include "xe_gt_sriov_pf.h"
>> #include "xe_module.h"
>> @@ -19,6 +20,8 @@
>>
>> static unsigned int wanted_max_vfs(struct xe_device *xe)
>> {
>> + if (IS_ENABLED(CONFIG_CONFIGFS_FS))
>> + return xe_configfs_get_max_vfs(to_pci_dev(xe->drm.dev));
>> return xe_modparam.max_vfs;
>
> I like the idea of the configfs, but this here is strange.
> shouldn't be better to simply remove the modparam?
well, I just wasn't sure what will be our approach here, since all our
current configfs entries were just new options, never existed before as
modparams, while this max_vfs is the only new one config that previously
was defined as modparam, that some users may still rely on.
so my approach was to use modparam value as initial default configfs value
for all devices, or immediate fallback if configfs is not available
just need a clear statement
note that there are few other modparams that should be promoted to
configfs (like guc/huc firmwares) and I assume the same rule will apply
>
>> }
>>
>> --
>> 2.47.1
>>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-03 21:06 ` Michal Wajdeczko
@ 2025-10-06 19:58 ` Rodrigo Vivi
2025-10-07 20:48 ` Lucas De Marchi
0 siblings, 1 reply; 8+ messages in thread
From: Rodrigo Vivi @ 2025-10-06 19:58 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe, Lucas De Marchi
On Fri, Oct 03, 2025 at 11:06:21PM +0200, Michal Wajdeczko wrote:
>
>
> On 10/3/2025 10:48 PM, Rodrigo Vivi wrote:
> > On Fri, Oct 03, 2025 at 01:26:48AM +0200, Michal Wajdeczko wrote:
> >> In addition to existing max_vfs modparam, add max_vfs configfs
> >> attribute to allow PF configuration on the per-device level.
> >> Default config value is still based on the modparam value.
> >>
> >> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> >> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> >> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> >> ---
> >> drivers/gpu/drm/xe/xe_configfs.c | 139 +++++++++++++++++++++++++++++++
> >> drivers/gpu/drm/xe/xe_configfs.h | 4 +
> >> drivers/gpu/drm/xe/xe_sriov_pf.c | 3 +
> >> 3 files changed, 146 insertions(+)
> >>
> >> diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
> >> index 139663423185..464a79c2a903 100644
> >> --- a/drivers/gpu/drm/xe/xe_configfs.c
> >> +++ b/drivers/gpu/drm/xe/xe_configfs.c
> >> @@ -18,6 +18,7 @@
> >> #include "xe_hw_engine_types.h"
> >> #include "xe_module.h"
> >> #include "xe_pci_types.h"
> >> +#include "xe_sriov_types.h"
> >>
> >> /**
> >> * DOC: Xe Configfs
> >> @@ -169,6 +170,32 @@
> >> * Currently this is implemented only for post and mid context restore and
> >> * these attributes can only be set before binding to the device.
> >> *
> >> + * Max SR-IOV Virtual Functions
> >> + * ----------------------------
> >> + *
> >> + * This config allows to limit number of the Virtual Functions (VFs) that can
> >> + * be managed by the Physical Function (PF) driver, where value 0 disables the
> >> + * PF mode (no VFs).
> >> + *
> >> + * The default max_vfs config value is taken from the max_vfs modparam.
> >> + *
> >> + * How to enable PF with support with unlimited (up to HW limit) number of VFs::
> >> + *
> >> + * # echo unlimited > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> >> + *
> >> + * How to enable PF with support up to 3 VFs::
> >> + *
> >> + * # echo 3 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> >> + *
> >> + * How to disable PF mode and always run as native::
> >> + *
> >> + * # echo 0 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
> >> + *
> >> + * This setting only takes effect when probing the device.
> >> + *
> >> * Remove devices
> >> * ==============
> >> *
> >> @@ -185,6 +212,7 @@ struct wa_bb {
> >>
> >> struct xe_config_group_device {
> >> struct config_group group;
> >> + struct config_group sriov;
> >>
> >> struct xe_config_device {
> >> u64 engines_allowed;
> >> @@ -192,23 +220,34 @@ struct xe_config_group_device {
> >> struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
> >> bool survivability_mode;
> >> bool enable_psmi;
> >> + struct {
> >> + unsigned int max_vfs;
> >> + } sriov;
> >> } config;
> >>
> >> /* protects attributes */
> >> struct mutex lock;
> >> /* matching descriptor */
> >> const struct xe_device_desc *desc;
> >> + /* tentative SR-IOV mode */
> >> + enum xe_sriov_mode mode;
> >> };
> >>
> >> static const struct xe_config_device device_defaults = {
> >> .engines_allowed = U64_MAX,
> >> .survivability_mode = false,
> >> .enable_psmi = false,
> >> + .sriov = {
> >> + .max_vfs = UINT_MAX,
> >> + },
> >> };
> >>
> >> static void set_device_defaults(struct xe_config_device *config)
> >> {
> >> *config = device_defaults;
> >> +#ifdef CONFIG_PCI_IOV
> >> + config->sriov.max_vfs = xe_modparam.max_vfs;
> >> +#endif
> >> }
> >>
> >> struct engine_info {
> >> @@ -721,6 +760,68 @@ static const struct config_item_type xe_config_device_type = {
> >> .ct_owner = THIS_MODULE,
> >> };
> >>
> >> +static ssize_t sriov_max_vfs_show(struct config_item *item, char *page)
> >> +{
> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> >> +
> >> + guard(mutex)(&dev->lock);
> >> +
> >> + if (dev->config.sriov.max_vfs == UINT_MAX)
> >> + return sprintf(page, "%s\n", "unlimited");
> >> + else
> >> + return sprintf(page, "%u\n", dev->config.sriov.max_vfs);
> >> +}
> >> +
> >> +static ssize_t sriov_max_vfs_store(struct config_item *item, const char *page, size_t len)
> >> +{
> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> >> + unsigned int max_vfs;
> >> + int ret;
> >> +
> >> + guard(mutex)(&dev->lock);
> >> +
> >> + if (is_bound(dev))
> >> + return -EBUSY;
> >> +
> >> + ret = kstrtouint(page, 0, &max_vfs);
> >> + if (ret) {
> >> + if (!sysfs_streq(page, "unlimited"))
> >> + return ret;
> >> + max_vfs = UINT_MAX;
> >> + }
> >> +
> >> + dev->config.sriov.max_vfs = max_vfs;
> >> + return len;
> >> +}
> >> +
> >> +CONFIGFS_ATTR(sriov_, max_vfs);
> >> +
> >> +static struct configfs_attribute *xe_config_sriov_attrs[] = {
> >> + &sriov_attr_max_vfs,
> >> + NULL,
> >> +};
> >> +
> >> +static bool xe_config_sriov_is_visible(struct config_item *item,
> >> + struct configfs_attribute *attr, int n)
> >> +{
> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
> >> +
> >> + if (attr == &sriov_attr_max_vfs && dev->mode != XE_SRIOV_MODE_PF)
> >> + return false;
> >> +
> >> + return true;
> >> +}
> >> +
> >> +static struct configfs_group_operations xe_config_sriov_group_ops = {
> >> + .is_visible = xe_config_sriov_is_visible,
> >> +};
> >> +
> >> +static const struct config_item_type xe_config_sriov_type = {
> >> + .ct_owner = THIS_MODULE,
> >> + .ct_group_ops = &xe_config_sriov_group_ops,
> >> + .ct_attrs = xe_config_sriov_attrs,
> >> +};
> >> +
> >> static const struct xe_device_desc *xe_match_desc(struct pci_dev *pdev)
> >> {
> >> struct device_driver *driver = driver_find("xe", &pci_bus_type);
> >> @@ -746,6 +847,7 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> >> unsigned int domain, bus, slot, function;
> >> struct xe_config_group_device *dev;
> >> const struct xe_device_desc *match;
> >> + enum xe_sriov_mode mode;
> >> struct pci_dev *pdev;
> >> char canonical[16];
> >> int vfnumber = 0;
> >> @@ -762,6 +864,9 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> >> return ERR_PTR(-EINVAL);
> >>
> >> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
> >> + mode = pdev ? dev_is_pf(&pdev->dev) ?
> >> + XE_SRIOV_MODE_PF : XE_SRIOV_MODE_NONE : XE_SRIOV_MODE_VF;
> >> +
> >> if (!pdev && function)
> >> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, 0));
> >> if (!pdev && slot)
> >> @@ -796,9 +901,15 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
> >> return ERR_PTR(-ENOMEM);
> >>
> >> dev->desc = match;
> >> + dev->mode = match->has_sriov ? mode : XE_SRIOV_MODE_NONE;
> >> +
> >> set_device_defaults(&dev->config);
> >>
> >> config_group_init_type_name(&dev->group, name, &xe_config_device_type);
> >> + if (dev->mode != XE_SRIOV_MODE_NONE) {
> >> + config_group_init_type_name(&dev->sriov, "sriov", &xe_config_sriov_type);
> >> + configfs_add_default_group(&dev->sriov, &dev->group);
> >> + }
> >>
> >> mutex_init(&dev->lock);
> >>
> >> @@ -988,6 +1099,34 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
> >> return len;
> >> }
> >>
> >> +#ifdef CONFIG_PCI_IOV
> >> +/**
> >> + * xe_configfs_get_max_vfs() - Get number of VFs that could be managed
> >> + * @pdev: the &pci_dev device
> >> + *
> >> + * Find the configfs group that belongs to the PCI device and return maximum
> >> + * number of Virtual Functions (VFs) that could be managed by this device.
> >> + * If configfs group is not present, use value of max_vfs module parameter.
> >> + *
> >> + * Return: maximum number of VFs that could be managed.
> >> + */
> >> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev)
> >> +{
> >> + struct xe_config_group_device *dev = find_xe_config_group_device(pdev);
> >> + unsigned int max_vfs;
> >> +
> >> + if (!dev)
> >> + return xe_modparam.max_vfs;
> >> +
> >> + scoped_guard(mutex, &dev->lock)
> >> + max_vfs = dev->config.sriov.max_vfs;
> >> +
> >> + config_group_put(&dev->group);
> >> +
> >> + return max_vfs;
> >> +}
> >> +#endif
> >> +
> >> int __init xe_configfs_init(void)
> >> {
> >> int ret;
> >> diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
> >> index c61e0e47ed94..16a1f578e4fe 100644
> >> --- a/drivers/gpu/drm/xe/xe_configfs.h
> >> +++ b/drivers/gpu/drm/xe/xe_configfs.h
> >> @@ -23,6 +23,9 @@ u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum xe_engine_clas
> >> const u32 **cs);
> >> u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
> >> const u32 **cs);
> >> +#ifdef CONFIG_PCI_IOV
> >> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev);
> >> +#endif
> >> #else
> >> static inline int xe_configfs_init(void) { return 0; }
> >> static inline void xe_configfs_exit(void) { }
> >> @@ -34,6 +37,7 @@ static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum
> >> const u32 **cs) { return 0; }
> >> static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
> >> const u32 **cs) { return 0; }
> >> +static inline unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev) { return UINT_MAX; }
> >> #endif
> >>
> >> #endif
> >> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf.c b/drivers/gpu/drm/xe/xe_sriov_pf.c
> >> index 4698348c010a..428b1b62cf48 100644
> >> --- a/drivers/gpu/drm/xe/xe_sriov_pf.c
> >> +++ b/drivers/gpu/drm/xe/xe_sriov_pf.c
> >> @@ -8,6 +8,7 @@
> >> #include <drm/drm_managed.h>
> >>
> >> #include "xe_assert.h"
> >> +#include "xe_configfs.h"
> >> #include "xe_device.h"
> >> #include "xe_gt_sriov_pf.h"
> >> #include "xe_module.h"
> >> @@ -19,6 +20,8 @@
> >>
> >> static unsigned int wanted_max_vfs(struct xe_device *xe)
> >> {
> >> + if (IS_ENABLED(CONFIG_CONFIGFS_FS))
> >> + return xe_configfs_get_max_vfs(to_pci_dev(xe->drm.dev));
> >> return xe_modparam.max_vfs;
> >
> > I like the idea of the configfs, but this here is strange.
> > shouldn't be better to simply remove the modparam?
>
> well, I just wasn't sure what will be our approach here, since all our
> current configfs entries were just new options, never existed before as
> modparams, while this max_vfs is the only new one config that previously
> was defined as modparam, that some users may still rely on.
>
> so my approach was to use modparam value as initial default configfs value
> for all devices, or immediate fallback if configfs is not available
I had missunderstood the flow here. Thanks for the patience and all the
offline explanations.
>
> just need a clear statement
Well, I'm afraid we don't have a clear one-rule fits all.
In this case here, as you pointed offline, if we have desktop case like
igfx, admin might prefer to set on boot and not depend on unbind for
setting the configfs.
>
> note that there are few other modparams that should be promoted to
> configfs (like guc/huc firmwares) and I assume the same rule will apply
while on this case perhaps it is something that we want as a police for
the module and all devices, not a per device in the system.
So, let's move with this patch as is and we handle and evolve case by
case as needed and as it makes sense individually.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> >
> >> }
> >>
> >> --
> >> 2.47.1
> >>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode
2025-10-06 19:58 ` Rodrigo Vivi
@ 2025-10-07 20:48 ` Lucas De Marchi
0 siblings, 0 replies; 8+ messages in thread
From: Lucas De Marchi @ 2025-10-07 20:48 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: Michal Wajdeczko, intel-xe
On Mon, Oct 06, 2025 at 03:58:41PM -0400, Rodrigo Vivi wrote:
>On Fri, Oct 03, 2025 at 11:06:21PM +0200, Michal Wajdeczko wrote:
>>
>>
>> On 10/3/2025 10:48 PM, Rodrigo Vivi wrote:
>> > On Fri, Oct 03, 2025 at 01:26:48AM +0200, Michal Wajdeczko wrote:
>> >> In addition to existing max_vfs modparam, add max_vfs configfs
>> >> attribute to allow PF configuration on the per-device level.
>> >> Default config value is still based on the modparam value.
>> >>
>> >> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
>> >> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>> >> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> >> ---
>> >> drivers/gpu/drm/xe/xe_configfs.c | 139 +++++++++++++++++++++++++++++++
>> >> drivers/gpu/drm/xe/xe_configfs.h | 4 +
>> >> drivers/gpu/drm/xe/xe_sriov_pf.c | 3 +
>> >> 3 files changed, 146 insertions(+)
>> >>
>> >> diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
>> >> index 139663423185..464a79c2a903 100644
>> >> --- a/drivers/gpu/drm/xe/xe_configfs.c
>> >> +++ b/drivers/gpu/drm/xe/xe_configfs.c
>> >> @@ -18,6 +18,7 @@
>> >> #include "xe_hw_engine_types.h"
>> >> #include "xe_module.h"
>> >> #include "xe_pci_types.h"
>> >> +#include "xe_sriov_types.h"
>> >>
>> >> /**
>> >> * DOC: Xe Configfs
>> >> @@ -169,6 +170,32 @@
>> >> * Currently this is implemented only for post and mid context restore and
>> >> * these attributes can only be set before binding to the device.
>> >> *
>> >> + * Max SR-IOV Virtual Functions
>> >> + * ----------------------------
>> >> + *
>> >> + * This config allows to limit number of the Virtual Functions (VFs) that can
>> >> + * be managed by the Physical Function (PF) driver, where value 0 disables the
>> >> + * PF mode (no VFs).
>> >> + *
>> >> + * The default max_vfs config value is taken from the max_vfs modparam.
>> >> + *
>> >> + * How to enable PF with support with unlimited (up to HW limit) number of VFs::
>> >> + *
>> >> + * # echo unlimited > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> >> + *
>> >> + * How to enable PF with support up to 3 VFs::
>> >> + *
>> >> + * # echo 3 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> >> + *
>> >> + * How to disable PF mode and always run as native::
>> >> + *
>> >> + * # echo 0 > /sys/kernel/config/xe/0000:00:02.0/sriov/max_vfs
>> >> + * # echo 0000:00:02.0 > /sys/bus/pci/drivers/xe/bind
>> >> + *
>> >> + * This setting only takes effect when probing the device.
>> >> + *
>> >> * Remove devices
>> >> * ==============
>> >> *
>> >> @@ -185,6 +212,7 @@ struct wa_bb {
>> >>
>> >> struct xe_config_group_device {
>> >> struct config_group group;
>> >> + struct config_group sriov;
>> >>
>> >> struct xe_config_device {
>> >> u64 engines_allowed;
>> >> @@ -192,23 +220,34 @@ struct xe_config_group_device {
>> >> struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
>> >> bool survivability_mode;
>> >> bool enable_psmi;
>> >> + struct {
>> >> + unsigned int max_vfs;
>> >> + } sriov;
>> >> } config;
>> >>
>> >> /* protects attributes */
>> >> struct mutex lock;
>> >> /* matching descriptor */
>> >> const struct xe_device_desc *desc;
>> >> + /* tentative SR-IOV mode */
>> >> + enum xe_sriov_mode mode;
>> >> };
>> >>
>> >> static const struct xe_config_device device_defaults = {
>> >> .engines_allowed = U64_MAX,
>> >> .survivability_mode = false,
>> >> .enable_psmi = false,
>> >> + .sriov = {
>> >> + .max_vfs = UINT_MAX,
>> >> + },
>> >> };
>> >>
>> >> static void set_device_defaults(struct xe_config_device *config)
>> >> {
>> >> *config = device_defaults;
>> >> +#ifdef CONFIG_PCI_IOV
>> >> + config->sriov.max_vfs = xe_modparam.max_vfs;
>> >> +#endif
>> >> }
>> >>
>> >> struct engine_info {
>> >> @@ -721,6 +760,68 @@ static const struct config_item_type xe_config_device_type = {
>> >> .ct_owner = THIS_MODULE,
>> >> };
>> >>
>> >> +static ssize_t sriov_max_vfs_show(struct config_item *item, char *page)
>> >> +{
>> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> >> +
>> >> + guard(mutex)(&dev->lock);
>> >> +
>> >> + if (dev->config.sriov.max_vfs == UINT_MAX)
>> >> + return sprintf(page, "%s\n", "unlimited");
>> >> + else
>> >> + return sprintf(page, "%u\n", dev->config.sriov.max_vfs);
>> >> +}
>> >> +
>> >> +static ssize_t sriov_max_vfs_store(struct config_item *item, const char *page, size_t len)
>> >> +{
>> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> >> + unsigned int max_vfs;
>> >> + int ret;
>> >> +
>> >> + guard(mutex)(&dev->lock);
>> >> +
>> >> + if (is_bound(dev))
>> >> + return -EBUSY;
>> >> +
>> >> + ret = kstrtouint(page, 0, &max_vfs);
>> >> + if (ret) {
>> >> + if (!sysfs_streq(page, "unlimited"))
>> >> + return ret;
>> >> + max_vfs = UINT_MAX;
>> >> + }
>> >> +
>> >> + dev->config.sriov.max_vfs = max_vfs;
>> >> + return len;
>> >> +}
>> >> +
>> >> +CONFIGFS_ATTR(sriov_, max_vfs);
>> >> +
>> >> +static struct configfs_attribute *xe_config_sriov_attrs[] = {
>> >> + &sriov_attr_max_vfs,
>> >> + NULL,
>> >> +};
>> >> +
>> >> +static bool xe_config_sriov_is_visible(struct config_item *item,
>> >> + struct configfs_attribute *attr, int n)
>> >> +{
>> >> + struct xe_config_group_device *dev = to_xe_config_group_device(item->ci_parent);
>> >> +
>> >> + if (attr == &sriov_attr_max_vfs && dev->mode != XE_SRIOV_MODE_PF)
>> >> + return false;
>> >> +
>> >> + return true;
>> >> +}
>> >> +
>> >> +static struct configfs_group_operations xe_config_sriov_group_ops = {
>> >> + .is_visible = xe_config_sriov_is_visible,
>> >> +};
>> >> +
>> >> +static const struct config_item_type xe_config_sriov_type = {
>> >> + .ct_owner = THIS_MODULE,
>> >> + .ct_group_ops = &xe_config_sriov_group_ops,
>> >> + .ct_attrs = xe_config_sriov_attrs,
>> >> +};
>> >> +
>> >> static const struct xe_device_desc *xe_match_desc(struct pci_dev *pdev)
>> >> {
>> >> struct device_driver *driver = driver_find("xe", &pci_bus_type);
>> >> @@ -746,6 +847,7 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> >> unsigned int domain, bus, slot, function;
>> >> struct xe_config_group_device *dev;
>> >> const struct xe_device_desc *match;
>> >> + enum xe_sriov_mode mode;
>> >> struct pci_dev *pdev;
>> >> char canonical[16];
>> >> int vfnumber = 0;
>> >> @@ -762,6 +864,9 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> >> return ERR_PTR(-EINVAL);
>> >>
>> >> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
>> >> + mode = pdev ? dev_is_pf(&pdev->dev) ?
>> >> + XE_SRIOV_MODE_PF : XE_SRIOV_MODE_NONE : XE_SRIOV_MODE_VF;
>> >> +
>> >> if (!pdev && function)
>> >> pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, 0));
>> >> if (!pdev && slot)
>> >> @@ -796,9 +901,15 @@ static struct config_group *xe_config_make_device_group(struct config_group *gro
>> >> return ERR_PTR(-ENOMEM);
>> >>
>> >> dev->desc = match;
>> >> + dev->mode = match->has_sriov ? mode : XE_SRIOV_MODE_NONE;
>> >> +
>> >> set_device_defaults(&dev->config);
>> >>
>> >> config_group_init_type_name(&dev->group, name, &xe_config_device_type);
>> >> + if (dev->mode != XE_SRIOV_MODE_NONE) {
>> >> + config_group_init_type_name(&dev->sriov, "sriov", &xe_config_sriov_type);
>> >> + configfs_add_default_group(&dev->sriov, &dev->group);
>> >> + }
>> >>
>> >> mutex_init(&dev->lock);
>> >>
>> >> @@ -988,6 +1099,34 @@ u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev,
>> >> return len;
>> >> }
>> >>
>> >> +#ifdef CONFIG_PCI_IOV
>> >> +/**
>> >> + * xe_configfs_get_max_vfs() - Get number of VFs that could be managed
>> >> + * @pdev: the &pci_dev device
>> >> + *
>> >> + * Find the configfs group that belongs to the PCI device and return maximum
>> >> + * number of Virtual Functions (VFs) that could be managed by this device.
>> >> + * If configfs group is not present, use value of max_vfs module parameter.
>> >> + *
>> >> + * Return: maximum number of VFs that could be managed.
>> >> + */
>> >> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev)
>> >> +{
>> >> + struct xe_config_group_device *dev = find_xe_config_group_device(pdev);
>> >> + unsigned int max_vfs;
>> >> +
>> >> + if (!dev)
>> >> + return xe_modparam.max_vfs;
>> >> +
>> >> + scoped_guard(mutex, &dev->lock)
>> >> + max_vfs = dev->config.sriov.max_vfs;
>> >> +
>> >> + config_group_put(&dev->group);
>> >> +
>> >> + return max_vfs;
>> >> +}
>> >> +#endif
>> >> +
>> >> int __init xe_configfs_init(void)
>> >> {
>> >> int ret;
>> >> diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
>> >> index c61e0e47ed94..16a1f578e4fe 100644
>> >> --- a/drivers/gpu/drm/xe/xe_configfs.h
>> >> +++ b/drivers/gpu/drm/xe/xe_configfs.h
>> >> @@ -23,6 +23,9 @@ u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum xe_engine_clas
>> >> const u32 **cs);
>> >> u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
>> >> const u32 **cs);
>> >> +#ifdef CONFIG_PCI_IOV
>> >> +unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev);
>> >> +#endif
>> >> #else
>> >> static inline int xe_configfs_init(void) { return 0; }
>> >> static inline void xe_configfs_exit(void) { }
>> >> @@ -34,6 +37,7 @@ static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct pci_dev *pdev, enum
>> >> const u32 **cs) { return 0; }
>> >> static inline u32 xe_configfs_get_ctx_restore_post_bb(struct pci_dev *pdev, enum xe_engine_class,
>> >> const u32 **cs) { return 0; }
>> >> +static inline unsigned int xe_configfs_get_max_vfs(struct pci_dev *pdev) { return UINT_MAX; }
>> >> #endif
>> >>
>> >> #endif
>> >> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf.c b/drivers/gpu/drm/xe/xe_sriov_pf.c
>> >> index 4698348c010a..428b1b62cf48 100644
>> >> --- a/drivers/gpu/drm/xe/xe_sriov_pf.c
>> >> +++ b/drivers/gpu/drm/xe/xe_sriov_pf.c
>> >> @@ -8,6 +8,7 @@
>> >> #include <drm/drm_managed.h>
>> >>
>> >> #include "xe_assert.h"
>> >> +#include "xe_configfs.h"
>> >> #include "xe_device.h"
>> >> #include "xe_gt_sriov_pf.h"
>> >> #include "xe_module.h"
>> >> @@ -19,6 +20,8 @@
>> >>
>> >> static unsigned int wanted_max_vfs(struct xe_device *xe)
>> >> {
>> >> + if (IS_ENABLED(CONFIG_CONFIGFS_FS))
>> >> + return xe_configfs_get_max_vfs(to_pci_dev(xe->drm.dev));
>> >> return xe_modparam.max_vfs;
>> >
>> > I like the idea of the configfs, but this here is strange.
>> > shouldn't be better to simply remove the modparam?
>>
>> well, I just wasn't sure what will be our approach here, since all our
>> current configfs entries were just new options, never existed before as
>> modparams, while this max_vfs is the only new one config that previously
>> was defined as modparam, that some users may still rely on.
I think going forward the modparam may be useful to signify things the
module implements, that shouldn't be different from one device to
another. In future we maybe could replace max_vfs with sriov and default
it to 1.
We can do that later though. Let's keep the max_vfs for now as it's an
easy way to enable/disable the feature if passing =0 or =-1.
>>
>> so my approach was to use modparam value as initial default configfs value
>> for all devices, or immediate fallback if configfs is not available
>
>I had missunderstood the flow here. Thanks for the patience and all the
>offline explanations.
>
>>
>> just need a clear statement
>
>Well, I'm afraid we don't have a clear one-rule fits all.
>
>In this case here, as you pointed offline, if we have desktop case like
>igfx, admin might prefer to set on boot and not depend on unbind for
>setting the configfs.
I don't think we should document the unbind as the expected way to
handle things. It should rather be by separating the module load from
module bind phases.
>
>>
>> note that there are few other modparams that should be promoted to
>> configfs (like guc/huc firmwares) and I assume the same rule will apply
>
>while on this case perhaps it is something that we want as a police for
>the module and all devices, not a per device in the system.
>
>So, let's move with this patch as is and we handle and evolve case by
>case as needed and as it makes sense individually.
>
>Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Agreed,
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Lucas De Marchi
>
>>
>> >
>> >> }
>> >>
>> >> --
>> >> 2.47.1
>> >>
>>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-10-07 20:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 23:26 [PATCH] drm/xe/pf: Add max_vfs configfs attribute to control PF mode Michal Wajdeczko
2025-10-03 0:04 ` ✓ CI.KUnit: success for " Patchwork
2025-10-03 1:08 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-03 3:09 ` ✓ Xe.CI.Full: " Patchwork
2025-10-03 20:48 ` [PATCH] " Rodrigo Vivi
2025-10-03 21:06 ` Michal Wajdeczko
2025-10-06 19:58 ` Rodrigo Vivi
2025-10-07 20:48 ` Lucas De Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox